query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
cab15a27f7d9865240a690ec9750cd00
create quadratic segment from end to start point
[ { "docid": "28f6590dbffd66ee8de2b7db2db7ef57", "score": "0.6902116", "text": "private QuadCurve2D createQuadEnd2Start() {\n\t\treturn new QuadCurve2D.Double(intersectionPointEnd.getX(), intersectionPointEnd.getY(), getControlPoint().getX(), getControlPoint().getY(), intersectionPointStart.getX(), intersectionPointStart.getY());\n\t}", "title": "" } ]
[ { "docid": "737370990be43a5ce9a352a2009a2934", "score": "0.6978591", "text": "private QuadCurve2D createQuadStart2End() {\n\t\treturn new QuadCurve2D.Double(intersectionPointStart.getX(), intersectionPointStart.getY(), getControlPoint().getX(), getControlPoint().getY(), intersectionPointEnd.getX(), intersectionPointEnd.getY());\n\t}", "title": "" }, { "docid": "2faa318bf2c25984192c0f20c45d8d0c", "score": "0.6126155", "text": "public QuadraticCurve(double x, double y, double controlX, double controlY, double endX, double endY)\n {\n super(ShapeType.QUADRATIC_CURVE);\n\n setControlPoints(new Point2DArray(new Point2D(x, y), new Point2D(controlX, controlY), new Point2D(endX, endY)));\n }", "title": "" }, { "docid": "0678326b431c3d2a566b10a43e548a77", "score": "0.58848834", "text": "public void addSegment(Vector start, Vector end) {\n ArrayList<Vector> injectTemp = new ArrayList<>();\n injectPoints(start, end, injectTemp);\n //ArrayList<Vector> smoothTemp = smooth(injectTemp, a, b, tolerance);\n //System.out.println(smoothTemp.size());\n for (int i = 0; i < injectTemp.size(); i++) {\n robotPath.add(injectTemp.get(i));\n }\n endVector = end;\n }", "title": "" }, { "docid": "5fc7ed9febda6bf2a02bc97348ed0b12", "score": "0.5647587", "text": "public native void appendQuadratic(float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4) throws PathError;", "title": "" }, { "docid": "5fc7ed9febda6bf2a02bc97348ed0b12", "score": "0.5647587", "text": "public native void appendQuadratic(float paramFloat1, float paramFloat2, float paramFloat3, float paramFloat4) throws PathError;", "title": "" }, { "docid": "82d4d758c57f20bafdc895bba11ca3e0", "score": "0.5646093", "text": "private LineSegment findSegment(Point[] points, int start, int end) {\n Point maxPoint = points[0];\n Point minPoint = points[0];\n for (int i = start; i < end -1; i++) {\n int k = maxPoint.compareTo(points[i]);\n int m = minPoint.compareTo(points[i]);\n if (k < 0) {\n maxPoint = points[i];\n }\n if (m > 0) {\n minPoint = points[i];\n }\n }\n return new LineSegment(minPoint, maxPoint);\n }", "title": "" }, { "docid": "9d1970a652c56707dfe0f1f136ea5cf8", "score": "0.5399909", "text": "@Override\r\n\tpublic QuadCurve2D getShape(Point2D from, Point2D to) {\n\r\n\t\tRectangle2D rect = new Line2D.Double(from, to).getBounds2D();\r\n\r\n\t\tdouble ctrlX, ctrlY;\r\n\r\n\t\tdouble w = rect.getWidth();\r\n\t\tdouble h = rect.getHeight();\r\n\r\n\t\tif (from.getX() < to.getX()) {\r\n\t\t\tif (from.getY() < to.getY()) {\r\n\t\t\t\tctrlX = from.getX() + (w * curving);\r\n\t\t\t\tctrlY = from.getY() + (h * (1 - curving));\r\n\t\t\t} else {\r\n\t\t\t\tctrlX = from.getX() + (w * curving);\r\n\t\t\t\tctrlY = from.getY() + (h * -(1 - curving));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (from.getY() < to.getY()) {\r\n\t\t\t\tctrlX = from.getX() + (w * -curving);\r\n\t\t\t\tctrlY = from.getY() + (h * (1 - curving));\r\n\t\t\t} else {\r\n\t\t\t\tctrlX = from.getX() + (w * -curving);\r\n\t\t\t\tctrlY = from.getY() + (h * -(1 - curving));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn new QuadCurve2D.Double(from.getX(), from.getY(), ctrlX, ctrlY, to.getX(), to.getY());\r\n\t}", "title": "" }, { "docid": "2ad6e164a001418d2711913039d9027c", "score": "0.53994876", "text": "public final native GraphicsImpl quadraticCurveTo(float cpx, float cpy, \n\t\t\tfloat x, float y) /*-{\n\t\treturn this.quadraticCurveTo(cpx, cpy, x, y);\n\t}-*/;", "title": "" }, { "docid": "0c1620dba1935c7f2fb91f6728f71997", "score": "0.53665006", "text": "public void createQuadBand() {\n Random random = new Random();\r\n double [] doubles = new double[polygonPoints*2];\r\n double angleRadiansSlice = 6.283185 / polygonPoints; \r\n double randomLength, angleRadians = 0.0;\r\n\r\n //get a randomly perturbed length based on a set radius\r\n randomLength = initialRadius + (edgeVariation * random.nextGaussian()); \r\n //setup first segment with a radian angle of 0.0\r\n doubles[0] = generatorCenterX + (Math.cos(angleRadians) * randomLength);\r\n doubles[1] = generatorCenterY + (Math.sin(angleRadians) * randomLength);\r\n //@DEBUG SMP create a circle showing the first point\r\n //getChildren().add(new Circle(doubles[0], doubles[1], 5.0, \r\n // Color.GREEN.deriveColor(1, 1, 1, 0.7)));\r\n //For each point, compute the coordinats \r\n for(int i=1;i<polygonPoints;i++) {\r\n //jog the angle forward\r\n angleRadians += angleRadiansSlice;\r\n //get a new random length\r\n randomLength = initialRadius + (edgeVariation * random.nextGaussian()); \r\n //create new end point\r\n doubles[2*i] = generatorCenterX + (Math.cos(angleRadians) * randomLength);\r\n doubles[2*i+1] = generatorCenterY + (Math.sin(angleRadians) * randomLength);\r\n //@DEBUG SMP Test circle to visualize points\r\n //getChildren().add(new Circle(doubles[2*i], doubles[2*i+1], 3.0, \r\n // Color.ALICEBLUE.deriveColor(1, 1, 1, 0.7)));\r\n }\r\n\r\n final Band band = new Band(generatorCenterX, generatorCenterY, doubles);\r\n getChildren().add(band);\r\n band.animation.play();\r\n\r\n Timeline remover = new Timeline(\r\n new KeyFrame(Duration.seconds(3), actionEvent -> {\r\n getChildren().remove(band);\r\n band.animation.stop();\r\n })\r\n );\r\n remover.play();\r\n }", "title": "" }, { "docid": "49b31fa4ed6191c870700873da71716f", "score": "0.5317252", "text": "LineSegment(Node p, Node q) {\n\t\t\tthis.p = p;\n\t\t\tthis.q = q;\n\n\t\t\t// length = Math.sqrt(Math.pow(p.x - q.x, 2) + Math.pow(p.y - q.y,\n\t\t\t// 2));\n\t\t}", "title": "" }, { "docid": "1d0d6c38953636ac6bc877fe369c7f19", "score": "0.5234752", "text": "private CubicCurve createStartingCurve() {\n curve.setStartX(50);\n curve.setStartY(200);\n curve.setControlX1(150);\n curve.setControlY1(300);\n curve.setControlX2(250);\n curve.setControlY2(50);\n curve.setEndX(350);\n curve.setEndY(150);\n curve.setStroke(Color.FORESTGREEN);\n curve.setStrokeWidth(4);\n curve.setStrokeLineCap(StrokeLineCap.ROUND);\n // curve.setFill(Color.CORNSILK.deriveColor(0, 1.2, 1, 0.6));\n return curve;\n }", "title": "" }, { "docid": "4cd2f7dea8a41c5141493d5e774283db", "score": "0.5203017", "text": "public Quadratic() {\n this.a = 1.0;\n this.b = 2.0;\n this.c = 1.0;\n }", "title": "" }, { "docid": "0e2b8f0930ebd93add3adc97e2b00e57", "score": "0.51879746", "text": "Polyline createPolyline();", "title": "" }, { "docid": "bcc2e7e3e7c2e964ae6a4d719213d773", "score": "0.5153434", "text": "public FastCollinearPoints(Point[] points){\n if (points == null) throw new IllegalArgumentException(\"no points array supplied\");\n int arraySize = points.length;\n invalidPoint(points);\n Point[] sortedPoints = new Point[arraySize];\n System.arraycopy(points ,0 , sortedPoints , 0 , arraySize);\n for(int i=0; i<arraySize; i++){\n Point referencePoint = points[i];\n Arrays.sort(sortedPoints); //sort once on natural order so that items always get consistent start point for slope sort\n Arrays.sort(sortedPoints, referencePoint.slopeOrder());\n\n int min=0;\n while(min< arraySize && referencePoint.slopeTo(sortedPoints[min])==Double.NEGATIVE_INFINITY){\n min++; //at this point min value should always be 1\n }\n int max = min;\n while(min < arraySize){\n while(max < arraySize && (referencePoint.slopeTo(sortedPoints[max])== referencePoint.slopeTo(sortedPoints[min]))){\n max++; //increase max till the consecutive points are collinear\n }\n if(max-min>=3){\n Point minPoint = sortedPoints[min].compareTo(referencePoint)<0 ? sortedPoints[min] : referencePoint; //if the min is befoew reference point that should be taken\n Point maxPoint = sortedPoints[max-1].compareTo(referencePoint) >0 ? sortedPoints[max-1]: referencePoint;\n if(minPoint==referencePoint){ //only if the min point is reference point that its a unique segment...\n LineSegment[] newLineSegments = new LineSegment[lineSegments.length + 1]; //since I don't want to use arraylist doing this hoop for adding item in array\n System.arraycopy(lineSegments, 0, newLineSegments, 0, lineSegments.length);\n LineSegment newSegment = new LineSegment(minPoint, maxPoint);\n newLineSegments[newLineSegments.length - 1] = newSegment;\n lineSegments = newLineSegments;\n StdOut.println( \"The line segment created for p: \" + minPoint.toString() + \" q: \" +\n maxPoint.toString() + \" IS:\" +newSegment.toString());\n }\n }\n min=max; //we should jump till the point max had reached\n }\n }\n\n }", "title": "" }, { "docid": "d3083ab0c35080f478e070098214fc9c", "score": "0.5150016", "text": "public void addSegmentBorder(Timestamp start, Timestamp end){\n\t\tsegmentStarts.add(start);\n\t\tsegmentEnds.add(end);\n\t}", "title": "" }, { "docid": "63d8f9b537cd74ecc77e90ce173127c6", "score": "0.51462245", "text": "public abstract String generateSegment();", "title": "" }, { "docid": "a04babdde455e3a9394d63c3ba3819b5", "score": "0.51429784", "text": "private Line createBoundLine(Point<Double> start, Point<Double> end) {\n double sceneWidth = coordSpace.getWidth();\n double sceneHeight = coordSpace.getHeight();\n\n double xIRatio = start.x / sceneWidth;\n double yIRatio = start.y / sceneHeight;\n double xFRatio = end.x / sceneWidth;\n double yFRatio = end.y / sceneHeight;\n\n Line l = new Line();\n l.startXProperty().bind(coordSpace.widthProperty().multiply(xIRatio));\n l.startYProperty().bind(coordSpace.heightProperty().multiply(yIRatio));\n l.endXProperty().bind(coordSpace.widthProperty().multiply(xFRatio));\n l.endYProperty().bind(coordSpace.heightProperty().multiply(yFRatio));\n\n return l;\n }", "title": "" }, { "docid": "e801cb73e77dd3af36a45760f5af9d94", "score": "0.5104367", "text": "public static double quadraticpositive(double a, double b, double c) {\r\n\t\tdouble apart = Math.sqrt((b * b) - (4 * a * c));\r\n\t\tdouble bpart = 2 * a;\r\n\t\tdouble cpart = -b;\r\n\t\treturn ((cpart + apart) / bpart);\r\n\t}", "title": "" }, { "docid": "dfcb4fe77d72a40ff84df65750775d74", "score": "0.5097546", "text": "@Override\n\tpublic QuadraticEquation createQuadraticEquation(double q, double p) {\n\t\treturn new QuadraticEquationFromCoefficients(q, p);\n\t}", "title": "" }, { "docid": "ac52a8f49175f59e112e1bd9f5a92670", "score": "0.5095132", "text": "public CSE11_Line( Point start, Point end )\n {\n super(\"CSE11_Line\"); // Superclass Constructor\n this.setStart(start); // Set Start Point\n this.setEnd(end); // Set End Point\n }", "title": "" }, { "docid": "0052dfba77e4dd610f39db2a5e4f3536", "score": "0.5086516", "text": "public void drawSegment(Segment s) {\n if (s == null) {\n throw new IllegalArgumentException(\"segment is null\");\n }\n drawSegment(s.u, s.v);\n// if (!s.u.isInfinite() && !s.v.isInfinite()) {\n// g.drawLine(s.u.x, s.u.y, s.v.x, s.v.y);\n// return;\n// }\n// double x1, x2, y1, y2, a;\n// x1 = s.u.x;\n// x2 = s.v.x;\n// y1 = s.u.y;\n// y2 = s.v.y;\n// if (s.u.x == s.v.x) { // a would be infinite\n// if (s.u.isInfinite()) {\n// y1 = s.v.y < s.u.y ? g.getClipBounds().height : 0;\n// }\n// if (s.v.isInfinite()) {\n// y2 = s.u.y < s.v.y ? g.getClipBounds().height : 0;\n// }\n// } else {\n// a = ((double) (s.v.y - s.u.y) / (s.v.x - s.u.x));\n// // adapt dimension reference so we don't draw to infinite\n// if (Math.abs(a) > 1) {\n// if (s.u.isInfinite()) {\n// y1 = s.v.y < s.u.y ? g.getClipBounds().height : 0;\n// x1 = (y1 - s.u.y + s.u.x * a) / a;\n// }\n// if (s.v.isInfinite()) {\n// y2 = s.u.y < s.v.y ? g.getClipBounds().height : 0;\n// x2 = (y2 - s.u.y + s.u.x * a) / a;\n// }\n// } else {\n// if (s.u.isInfinite()) {\n// x1 = s.v.x < s.u.x ? g.getClipBounds().width : 0;\n// y1 = a * (x1 - s.u.x) + s.u.y;\n// }\n// if (s.v.isInfinite()) {\n// x2 = s.u.x < s.v.x ? g.getClipBounds().width : 0;\n// y2 = a * (x2 - s.u.x) + s.u.y;\n// }\n// }\n// }\n// g.drawLine((int) x1, (int) y1, (int) x2, (int) y2);\n }", "title": "" }, { "docid": "21818105c2919ed891b5036b664c817f", "score": "0.50486463", "text": "public LineSegment addLineSegment(double x1, double y1, double z1,\n\t\t\t\t double x2, double y2, double z2)\n {\n\treturn addLineSegment(new LineSegment(x1,y1,z1, x2,y2,z2));\n }", "title": "" }, { "docid": "9c5f74e44c165206d02e18059117dca8", "score": "0.50413144", "text": "private void getBoundingQuadAtGridPts(int grdYstart, int grdYstop) {\n\n for (int j=grdYstart; j<=grdYstop; j++) {\n for (int i=3; i<gridXLen-3; i++) {\n int grdIdx = i + j*gridXLen;\n\n int ll = findSwathGridLoc(grdIdx, swathGridCoord, gridYLen, gridXLen, \"LL\");\n quads[j][i][0] = ll;\n\n int lr = findSwathGridLoc(grdIdx, swathGridCoord, gridYLen, gridXLen, \"LR\");\n quads[j][i][1] = lr;\n\n int ul = findSwathGridLoc(grdIdx, swathGridCoord, gridYLen, gridXLen, \"UL\");\n quads[j][i][2] = ul;\n\n int ur = findSwathGridLoc(grdIdx, swathGridCoord, gridYLen, gridXLen, \"UR\");\n quads[j][i][3] = ur;\n }\n }\n }", "title": "" }, { "docid": "adaac32e7b76dc5306601171bde105aa", "score": "0.50343925", "text": "private CubicCurve createStartingCurve(Node nodeStart, Node nodeEnd) {\n CubicCurve curve = new CubicCurve();\n curve.setStartX(nodeStart.getLayoutX());\n curve.setStartY(nodeStart.getLayoutY());\n curve.setControlX1(150);\n curve.setControlY1(50);\n curve.setControlX2(250);\n curve.setControlY2(150);\n curve.setEndX(nodeEnd.getLayoutX());\n curve.setEndY(nodeEnd.getLayoutY());\n curve.setStroke(Color.FORESTGREEN);\n curve.setStrokeWidth(4);\n curve.setStrokeLineCap(StrokeLineCap.ROUND);\n curve.setFill(Color.CORNSILK.deriveColor(0, 1.2, 1, 0.6));\n return curve;\n }", "title": "" }, { "docid": "350f90d0ef122fd5569fd6d6e2a005cf", "score": "0.50145525", "text": "public TerrainQuad getDownQuad(TerrainQuad center);", "title": "" }, { "docid": "b9e116ab92b2b837b9be93860a232309", "score": "0.5001635", "text": "public LinearPathSegment(RobotState start, Waypoint end) {\n\t\t//=== Drive ===//\n\t\tmStart = start;\n\t\tmEnd = end;\n\t\tdx = mEnd.getX() - start.getX();\n\t\tdy = mEnd.getY() - start.getY();\n\t\t//Velocity along the path\n\t\t//TODO: warn if velocity is significantly off the path?\n\t\tvInit = (start.xVelocity*dx + start.yVelocity*dy) / getLength(); //dot produce with unit path unit vector\n\t\t//1D Goal is relative length along the segment\n\t\tMotionProfileGoal goal = new MotionProfileGoal(getLength(),mEnd.magVelocity,mEnd.driveConstraints.endBehavior);\n\t\t//Init pos and time start at zero because they are relative to the segment\n\t\tTrajectoryPoint init = new TrajectoryPoint(start.time,0,vInit,0); //NOTE: init accel doesn't matter for Trapezoid\n\t\tmDriveProfile = TrapezoidProfileGenerator.generateProfile(mEnd.driveConstraints.maxAbsVelocity,mEnd.driveConstraints.maxAbsAccel,goal,init);\n\n\t\t//=== Turning ===//\n\t\t//If heading is NaN, just make the robot turn to align with the velocity vector (skid steering)\n\t\tif (Double.isFinite(mEnd.heading) && mEnd.rotateConstraints != null) {\n\t\t\t//Extract constraints\n\t\t\tTrajConstraints constraints = mEnd.rotateConstraints.clone();\n\t\t\t//1D Goal is relative length along the segment\n\t\t\tdouble dTheta = MotionUtil.getContinuousError(mEnd.heading - mStart.yaw, 360d);\n\t\t\tgoal = new MotionProfileGoal(dTheta,mEnd.magHeadingRate,constraints.endBehavior);\n\t\t\t//Init pos and time start at zero because they are relative to the segment\n\t\t\tinit = new TrajectoryPoint(start.time,0,start.yawRate,0); //NOTE: init accel doesn't matter for Trapezoid\n\t\t\tmRotateProfile = TrapezoidProfileGenerator.generateProfile(constraints.maxAbsVelocity,constraints.maxAbsAccel,goal,init);\n\n\t\t\tdouble durationTurn = mRotateProfile.duration();\n\t\t\tdouble durationDrive = mDriveProfile.duration();\n\t\t\tif (MotionUtil.epsEquals(durationTurn, durationDrive, MotionUtil.SAME_TIME)); //If close, just run as is\n\t\t\telse if (durationDrive > durationTurn) {\n\t\t\t\tswitch (mEnd.rotateBehavior) {\n\t\t\t\tcase EARLY:\n\t\t\t\t\t//This is really default\n\t\t\t\t\tbreak;\n\t\t\t\tcase LATE:\n\t\t\t\t\t//Shift the start time of each profile enough later to finsh at the same time as drive\n\t\t\t\t\t//FIXME: this only works if the start velocity is 0. Need a more general soln\n//\t\t\t\t\tmRotateProfile.timeShift(durationDrive-durationTurn);\n//\t\t\t\t\tbreak;\n\n\t\t\t\tcase MIN_VEL:\n\t\t\t\t\t//TODO\n\t\t\t\t\t//break;\n\n\t\t\t\tcase MIN_ACCEL:\n\t\t\t\t\t//TODO\n\t\t\t\t\t//break;\n\n\t\t\t\tdefault:\n\t\t\t\t\tSystem.err.println(\"Unimplemented Mode\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\t//TODO: do we hold the drive profile to finish the turn or violate some constraint?\n\t\t\t\t//For now, do nothing. This means the rotate profile will just not finish\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "aafc546d1791359bc1b454518223b242", "score": "0.4992583", "text": "public Cuadratica(){\r\n this.figura = new QuadCurve2D.Float();\r\n }", "title": "" }, { "docid": "67a70bf4dbb003ed79b4936fad289eab", "score": "0.4989334", "text": "public void quadTo (float x1, float y1, float x2, float y2) {\n\t\t\n\t\tpath.quadTo(x1, y1, x2, y2);\n\t\tfontTesselator.quadTo(x1, y1, x2, y2);\n\t\t\n\t\tthis.lastPoint.x = x2;\n\t\tthis.lastPoint.y = y2;\n\n\t}", "title": "" }, { "docid": "15469faa0d62889cd1434f7cfdbb0106", "score": "0.49298692", "text": "public void midpointLine(double x0, double y0, double x1, double y1, int red, int green, int blue){\n\tif( x0 > x1 ) {\n\t\tdouble xt = x0 ; x0 = x1 ; x1 = xt ;\n\t\tdouble yt = y0 ; y0 = y1 ; y1 = yt ;\n\t}\n\t\n\tdouble a = y1-y0;\n\tdouble b = -(x1-x0);\n\tdouble c = x1*y0 - x0*y1;\n\n\t\tif(y0<y1){ // Octant 1 or 2\n\t\t\tif( (y1-y0) <= (x1-x0) ) { //Octant 1\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Octant 1\");\n\t\t\t\t\n\t\t\t\t// Calculate initial x and initial y\n\t\t\t\tint x = (int)Math.round(x0);\n\t\t\t\tint y = (int)Math.round((-a*x-c)/b);\n\t\t\t\t\n\t\t\t\tdouble d = a*(x+1) + b*(y+0.5) + c;\n\t\t\t\t\n\t\t\t\t// Do we need to go E or SE\n\t\t\t\twhile(x<=Math.round(x1)){\n\t\t\t\t\tRenderer.setPixel(x, y, red, green, blue);\n\t\t\t\t\tif(d<0){\n\t\t\t\t\t\td = d+a;\n\t\t\t\t\t} else {\n\t\t\t\t\t\td = d+a+b;\n\t\t\t\t\t\ty = y+1;\n\t\t\t\t\t}\n\t\t\t\t\tx = x+1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} else { // Octant 2\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Octant 2\");\n\t\t\t\t\n\t\t\t\t// Calculate initial x and initial y\n\t\t\t\tint y = (int)Math.round(y0);\n\t\t\t\tint x = (int)Math.round((-b*y-c)/a);\n\t\t\n\t\t\t\tdouble d = a*(x+0.5) + b*(y+1) + c;\n\t\t\t\t\n\t\t\t\t// Do we need to go SE or S\t\t\t\t\t\n\t\t\t\twhile(y<=Math.round(y1)){\n\t\t\t\t\tRenderer.setPixel(x, y, red, green, blue);\n\t\t\t\t\tif(d>0){\n\t\t\t\t\t\td = d+b; \n\t\t\t\t\t} else {\n\t\t\t\t\t\td = d+a+b;\n\t\t\t\t\t\tx = x+1;\n\t\t\t\t\t}\n\t\t\t\t\ty = y+1;\n\t\t\t\t}\t\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t} else { // Octant 7 or 8\n\t\t\tif( (y0-y1) <= (x1-x0) ) { // Octant 8\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Octant 8\");\n\t\t\t\t\n\t\t\t\tint x = (int)Math.round(x0);\n\t\t\t\tint y = (int)Math.round((-a*x-c)/b);\t\t\t\t\t\n\t\t\t\t\n\t\t\t\tdouble d = a*(x+1) + b*(y-0.5) + c;\n\t\t\t\t\n\t\t\t\t// Do we need to go E or NE\t\t\t\t\t\n\t\t\t\twhile(x<=Math.round(x1)){\n\t\t\t\t\tRenderer.setPixel(x, y, red, green, blue);\n\t\t\t\t\tif(d>0){ \n\t\t\t\t\t\td = d+a;\n\t\t\t\t\t} else { \n\t\t\t\t\t\td = d+a-b;\n\t\t\t\t\t\ty = y-1;\n\t\t\t\t\t}\n\t\t\t\t\tx = x+1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} else { //Octant 7\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Octant 7\");\n\t\t\t\t\n\t\t\t\tint y = (int)Math.round(y0);\n\t\t\t\tint x = (int)Math.round((-b*y-c)/a);\n\t\t\t\t\n\t\t\t\tdouble d = a*(x+0.5) + b*(y-1) + c;\n\t\t\t\t\n\t\t\t\t// Do we need to go NE or N\n\t\t\t\twhile(y>=Math.round(y1)){\n\t\t\t\t\tRenderer.setPixel(x, y, red, green, blue);\n\t\t\t\t\tif(d<0){\n\t\t\t\t\t\td = d-b; \n\t\t\t\t\t} else {\n\t\t\t\t\t\td = d+a-b;\n\t\t\t\t\t\tx = x+1;\n\t\t\t\t\t}\n\t\t\t\t\ty = y-1;\n\t\t\t\t}\t\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t}\t\n\t}", "title": "" }, { "docid": "f5ef3d7450999159d3b0cfe373100112", "score": "0.49180108", "text": "private static Path doPath(String s) {\n int n = s.length();\n ParserHelper ph = new ParserHelper(s, 0);\n ph.skipWhitespace();\n Path p = new Path();\n float lastX = 0;\n float lastY = 0;\n float lastX1 = 0;\n float lastY1 = 0;\n float subPathStartX = 0;\n float subPathStartY = 0;\n char prevCmd = 0;\n while (ph.pos < n) {\n char cmd = s.charAt(ph.pos);\n switch (cmd) {\n case '-':\n case '+':\n case '0':\n case '1':\n case '2':\n case '3':\n case '4':\n case '5':\n case '6':\n case '7':\n case '8':\n case '9':\n if (prevCmd == 'm' || prevCmd == 'M') {\n cmd = (char) ((prevCmd) - 1);\n break;\n }\n else if ((\"lhvcsqta\").indexOf(Character.toLowerCase(prevCmd)) >= 0) {\n cmd = prevCmd;\n break;\n }\n default: {\n ph.advance();\n prevCmd = cmd;\n }\n }\n\n boolean wasCurve = false;\n switch (cmd) {\n case 'M':\n case 'm': {\n float x = ph.nextFloat();\n float y = ph.nextFloat();\n if (cmd == 'm') {\n subPathStartX += x;\n subPathStartY += y;\n p.rMoveTo(x, y);\n lastX += x;\n lastY += y;\n }\n else {\n subPathStartX = x;\n subPathStartY = y;\n p.moveTo(x, y);\n lastX = x;\n lastY = y;\n }\n break;\n }\n case 'Z':\n case 'z': {\n p.close();\n p.moveTo(subPathStartX, subPathStartY);\n lastX = subPathStartX;\n lastY = subPathStartY;\n lastX1 = subPathStartX;\n lastY1 = subPathStartY;\n wasCurve = true;\n break;\n }\n case 'T':\n case 't':\n // todo - smooth quadratic Bezier (two parameters)\n case 'L':\n case 'l': {\n float x = ph.nextFloat();\n float y = ph.nextFloat();\n if (cmd == 'l') {\n p.rLineTo(x, y);\n lastX += x;\n lastY += y;\n }\n else {\n p.lineTo(x, y);\n lastX = x;\n lastY = y;\n }\n break;\n }\n case 'H':\n case 'h': {\n float x = ph.nextFloat();\n if (cmd == 'h') {\n p.rLineTo(x, 0);\n lastX += x;\n }\n else {\n p.lineTo(x, lastY);\n lastX = x;\n }\n break;\n }\n case 'V':\n case 'v': {\n float y = ph.nextFloat();\n if (cmd == 'v') {\n p.rLineTo(0, y);\n lastY += y;\n }\n else {\n p.lineTo(lastX, y);\n lastY = y;\n }\n break;\n }\n case 'C':\n case 'c': {\n wasCurve = true;\n float x1 = ph.nextFloat();\n float y1 = ph.nextFloat();\n float x2 = ph.nextFloat();\n float y2 = ph.nextFloat();\n float x = ph.nextFloat();\n float y = ph.nextFloat();\n if (cmd == 'c') {\n x1 += lastX;\n x2 += lastX;\n x += lastX;\n y1 += lastY;\n y2 += lastY;\n y += lastY;\n }\n p.cubicTo(x1, y1, x2, y2, x, y);\n lastX1 = x2;\n lastY1 = y2;\n lastX = x;\n lastY = y;\n break;\n }\n case 'Q':\n case 'q':\n // todo - quadratic Bezier (four parameters)\n case 'S':\n case 's': {\n wasCurve = true;\n float x2 = ph.nextFloat();\n float y2 = ph.nextFloat();\n float x = ph.nextFloat();\n float y = ph.nextFloat();\n if (Character.isLowerCase(cmd)) {\n x2 += lastX;\n x += lastX;\n y2 += lastY;\n y += lastY;\n }\n float x1 = 2 * lastX - lastX1;\n float y1 = 2 * lastY - lastY1;\n p.cubicTo(x1, y1, x2, y2, x, y);\n lastX1 = x2;\n lastY1 = y2;\n lastX = x;\n lastY = y;\n break;\n }\n case 'A':\n case 'a': {\n float rx = ph.nextFloat();\n float ry = ph.nextFloat();\n float theta = ph.nextFloat();\n int largeArc = ph.nextFlag();\n int sweepArc = ph.nextFlag();\n float x = ph.nextFloat();\n float y = ph.nextFloat();\n if (cmd == 'a') {\n x += lastX;\n y += lastY;\n }\n drawArc(p, lastX, lastY, x, y, rx, ry, theta, largeArc, sweepArc);\n lastX = x;\n lastY = y;\n break;\n }\n default:\n Log.w(TAG, \"Invalid path command: \" + cmd);\n ph.advance();\n }\n if (!wasCurve) {\n lastX1 = lastX;\n lastY1 = lastY;\n }\n ph.skipWhitespace();\n }\n return p;\n }", "title": "" }, { "docid": "a7bcb37b18cf5e670ceddd94d55d6355", "score": "0.4910738", "text": "public Line(Point start, Point end) {\r\n this.start = start;\r\n this.end = end;\r\n }", "title": "" }, { "docid": "81324ef532da4567b7cf67d858821711", "score": "0.48907498", "text": "public Vector3D getEnd(){\r\n return endPoint;\r\n }", "title": "" }, { "docid": "26b5ccfd7f087464348aacf60b8d58ee", "score": "0.48877758", "text": "public void drawCurve(float x0, float y0, float x1, float y1, float x2, float y2, float radius) {\n this.x0 = x0;\r\n this.y0 = y0;\r\n this.x1 = x1;\r\n this.y1 = y1;\r\n this.x2 = x2;\r\n this.y2 = y2;\r\n equation = new QuadraticCurveEquation(x0, y0, x1, y1, x2, y2);\r\n Canvas canvas = curveCanvas;\r\n canvas.drawColor(0xffffffff);\r\n Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG);\r\n paint.setColor(0xff000000);\r\n if (true) { // renderscript\r\n quadCurve.drawCurve(x0, y0, x1, y1, x2, y2);\r\n // quadCurve.testCurve(x0, y0, x1, y1, x2, y2, 585, 359 - 242);\r\n // quadCurve.testCurve(x0, y0, x1, y1, x2, y2, 340, 255);\r\n // quadCurve.testCurve(x0, y0, x1, y1, x2, y2, 340, 260);\r\n // quadCurve.testCurve(x0, y0, x1, y1, x2, y2, 340, 265);\r\n } else {\r\n if (true) {\r\n paint.setStrokeWidth(radius);\r\n paint.setStyle(Paint.Style.STROKE);\r\n paint.setStrokeCap(Paint.Cap.ROUND);\r\n paint.setColor(0xffff0000);\r\n paint.setMaskFilter(new BlurMaskFilter(radius / 2f, BlurMaskFilter.Blur.NORMAL));\r\n paint.setStrokeJoin(Paint.Join.ROUND);\r\n long t1 = SystemClock.elapsedRealtime();\r\n // path.moveTo(x0, y0);\r\n path.quadTo(x1, y1, x2, y2);\r\n long t2 = SystemClock.elapsedRealtime();\r\n canvas.drawPath(path, paint);\r\n long t3 = SystemClock.elapsedRealtime();\r\n Log.i(TAG, \"drawCurveSkia time=\" + (t2 - t1) + \"+\" + (t3 - t2) + \"=\" + (t3 - t1));\r\n return;\r\n }\r\n if (radius > 0f) {\r\n int l = (int) (Math.min(Math.min(x0, x1), x2) - radius);\r\n int r = (int) (Math.max(Math.max(x0, x1), x2) + radius);\r\n int t = (int) (Math.min(Math.min(y0, y1), y2) - radius);\r\n int b = (int) (Math.max(Math.max(y0, y1), y2) + radius);\r\n float[] result = new float[2];\r\n float size = radius * radius;\r\n long t1 = SystemClock.elapsedRealtime();\r\n for (int x = l; x <= r; x++) {\r\n for (int y = t; y <= b; y++) {\r\n equation.findDistanceByRange2((float) x, (float) y, result);\r\n // Log.i(TAG, \"Result (\" + x + \",\" + y + \") dist=\" +\r\n // result[1]);\r\n if (result[1] < size) {\r\n int color = Color.argb((int) (255f * (size - result[1]) / size), (int) (result[0] * 255f),\r\n (int) ((1f - result[0]) * 255f), 255);\r\n color = 0xff000000;\r\n curveBitmap.setPixel(x, y, color);\r\n }\r\n }\r\n }\r\n long t2 = SystemClock.elapsedRealtime();\r\n Log.i(TAG, \"Result time=\" + (t2 - t1));\r\n } else {\r\n for (int i = 0; i <= CURVE_STEP; i++) {\r\n float t = (float) i / (float) CURVE_STEP;\r\n float x = equation.x(t);\r\n float y = equation.y(t);\r\n canvas.drawCircle(x, y, CURVE_RADIUS, paint);\r\n }\r\n }\r\n }\r\n // paint.setTextSize(24f);\r\n // canvas.drawText(\"P0\", x0, y0, paint);\r\n // canvas.drawText(\"P1\", x1, y1, paint);\r\n // canvas.drawText(\"P2\", x2, y2, paint);\r\n\r\n float gradientBase = canvas.getHeight() - ZERO_BASE_OFFSET;\r\n canvas.drawLine(0f, gradientBase, canvas.getWidth(), gradientBase, paint);\r\n invalidate();\r\n }", "title": "" }, { "docid": "db5cec3ddc58b204b84ea6dd7056993a", "score": "0.48698452", "text": "public float function_QuadraticBezier (float x, float a, float b){\n\t functionName = \"Quadratic Bezier\";\n\n\t float min_param_a = 0.0f;\n\t float max_param_a = 1.0f;\n\t float min_param_b = 0.0f;\n\t float max_param_b = 1.0f;\n\t a = constrain(a, min_param_a, max_param_a); \n\t b = constrain(b, min_param_b, max_param_b); \n\n\t if (a == 0.5){\n\t a += EPSILON;\n\t }\n\t // solve t from x (an inverse operation)\n\t float om2a = 1.0f - 2.0f*a;\n\t float t = (sqrt(a*a + om2a*x) - a)/om2a;\n\t float y = (1.0f-2.0f*b)*(t*t) + (2*b)*t;\n\t return y;\n\t}", "title": "" }, { "docid": "b7f6f2f0005bb49b67329e4e21c08823", "score": "0.48658004", "text": "public ArrayList<Integer> constructPathToNode(Integer endVertex) {\n\t\tArrayList<Integer> path = new ArrayList<>();\n\t\tpath.add(endVertex);\n\t\twhile (!path.contains(startVertex)) {\n\t\t\tInteger currentVertex = path.get(path.size()-1);\n\t\t\tInteger nextVertex = predecessors.get(currentVertex);\n\t\t\tpath.add(nextVertex);\n\t\t}\n\t\tCollections.reverse(path);\n\t\treturn path;\n\t}", "title": "" }, { "docid": "800a58339ed52c249c34a880bc3244a4", "score": "0.48615167", "text": "public void doPath(Vector<Float> scaledPoints);", "title": "" }, { "docid": "6d2669913201ab5fec9e459544e269b8", "score": "0.4855998", "text": "private void selectSegment(Graphics2D g2d, SegmentEntity segment) {\r\n \r\n // get the location of the start of the segment\r\n VertexEntity startVertex = segment.getStartVertexEntity();\r\n\r\n double[] segmentStartWorldPos = new double[3];\r\n startVertex.getPosition(segmentStartWorldPos);\r\n\r\n // get the location of the end of the segment\r\n VertexEntity endVertex = segment.getEndVertexEntity();\r\n\r\n double[] segmentEndWorldPos = new double[3];\r\n endVertex.getPosition(segmentEndWorldPos);\r\n\r\n // convert world coordinates to panel coordinates with pixelsPerMeter\r\n int segmentStartX = (int)Math.round(\r\n (segmentStartWorldPos[0] - minX ) * pixelsPerMeter );\r\n int segmentStartY = (int)Math.round(\r\n (maxY - segmentStartWorldPos[1] ) * pixelsPerMeter );\r\n\r\n int segmentEndX = (int)Math.round(\r\n (segmentEndWorldPos[0] - minX ) * pixelsPerMeter );\r\n int segmentEndY = (int)Math.round(\r\n (maxY - segmentEndWorldPos[1] ) * pixelsPerMeter );\r\n\r\n // now define the selection box\r\n Polygon selectionBox = new Polygon();\r\n\r\n float a = segmentStartX - segmentEndX;\r\n float b = segmentStartY - segmentEndY;\r\n float scalar = 3f;\r\n // create a direction vector\r\n Vector2f direction = new Vector2f(a, b);\r\n direction.normalize();\r\n\r\n float forwardX = direction.x * (LINE_THICKNESS + 7);\r\n float forwardY = direction.y * (LINE_THICKNESS + 7);\r\n\r\n // rotate it 90 degrees\r\n b = -direction.x;\r\n a = direction.y;\r\n\r\n // get the point\r\n float x = segmentStartX + (scalar * LINE_THICKNESS * a) + forwardX;\r\n float y = segmentStartY + (scalar * LINE_THICKNESS * b) + forwardY;\r\n\r\n selectionBox.addPoint(Math.round(x), Math.round(y));\r\n\r\n float x1 = segmentEndX + (scalar * LINE_THICKNESS * a) - forwardX;\r\n float y1 = segmentEndY + (scalar * LINE_THICKNESS * b) - forwardY;\r\n\r\n selectionBox.addPoint(Math.round(x1), Math.round(y1));\r\n \r\n // create a vector to the mid point of the segment\r\n Vector2f mp = new Vector2f(x1 - x, y1 - y);\r\n mp.scale(0.5f);\r\n \r\n // add the calculated vector to the start point\r\n Point2f start = new Point2f(x, y);\r\n start.add(mp);\r\n \r\n // now draw a dot to indicate a wall facing\r\n g2d.fillOval(\r\n Math.round(start.x - LINE_THICKNESS), \r\n Math.round(start.y - LINE_THICKNESS), \r\n LINE_THICKNESS * 2, \r\n LINE_THICKNESS * 2);\r\n\r\n // rotate it 90 degrees\r\n b = direction.x;\r\n a = -direction.y;\r\n\r\n x = segmentEndX + (scalar * LINE_THICKNESS * a) - forwardX;\r\n y = segmentEndY + (scalar * LINE_THICKNESS * b) - forwardY;\r\n\r\n selectionBox.addPoint(Math.round(x), Math.round(y));\r\n\r\n x = segmentStartX + (scalar * LINE_THICKNESS * a) + forwardX;\r\n y = segmentStartY + (scalar * LINE_THICKNESS * b) + forwardY;\r\n\r\n selectionBox.addPoint(Math.round(x), Math.round(y));\r\n g2d.drawPolygon(selectionBox);\r\n \r\n }", "title": "" }, { "docid": "c27c3d6884deb498016b85ea9457a3df", "score": "0.4853111", "text": "public Fraction[] solveQuad(){\n Fraction a = new Fraction(0, 1);\n Fraction b = new Fraction(0, 1);\n Fraction c = new Fraction(0, 1);\n for (Monomial term: getMonos()){\n if (term.getDeg() > 2) throw new ArithmeticException(\"The polynomial is not a quadratic, the highest degree of \" + term.getVar() + \" is \" + term.getDeg());\n if (term.getDeg() == 2) a = term.getCoef();\n if (term.getDeg() == 1) b = term.getCoef();\n if (term.getDeg() == 0) c = term.getCoef();\n }\n Fraction[] ans = new Fraction[2];\n Fraction discrim = b.power(2).subtract(a.multiply(c).multiply(new Fraction(4, 1)));\n if (Double.parseDouble(discrim.toString()) < 0) throw new ArithmeticException(\"There are no real roots, the discriminant is \" + discrim);\n ans[0] = ((new Fraction(0, 1)).subtract(b).add(discrim.power(0.5))).divide(a.multiply(new Fraction(2,1)));\n ans[1] = ((new Fraction(0, 1)).subtract(b).subtract(discrim.power(0.5))).divide(a.multiply(new Fraction(2,1)));\n return ans;\n }", "title": "" }, { "docid": "b80fef8e72baea12eb188230e3e64331", "score": "0.48363614", "text": "private float[] calcStartEnd(float start, float end, float inteval)\n/* */ {\n/* 208 */ Vector vec = new Vector();\n/* 209 */ vec.addElement(new Float(start));\n/* 210 */ int i = 1;\n/* 211 */ while (i * inteval < end) {\n/* 212 */ vec.addElement(new Float(i++ * inteval));\n/* */ }\n/* 214 */ vec.addElement(new Float(end));\n/* 215 */ float[] step = new float[vec.size()];\n/* 216 */ for (i = 0; i < step.length; i++) {\n/* 217 */ Float aFloat = (Float)vec.elementAt(i);\n/* 218 */ step[i] = aFloat.floatValue();\n/* */ }\n/* 220 */ return step;\n/* */ }", "title": "" }, { "docid": "404c7fbb45a64d67b1fe2e997a77576d", "score": "0.48315823", "text": "private Segment getYSegment() {\n // if the y segment hasn't been defined.\n if (this.ySegment == null) {\n double minY = Math.min(this.start.getY(), this.end.getY());\n double maxY = Math.max(this.start.getY(), this.end.getY());\n\n this.ySegment = new Segment(minY, maxY);\n }\n\n return this.ySegment;\n }", "title": "" }, { "docid": "b360978589fd1e6fcad5a129edbbbc82", "score": "0.47983292", "text": "private ArrayList<DoublePoint> getIntersectionLineCircle(DoublePoint startPoint, DoublePoint endPoint, DoublePoint center, double radius) {\n double h = center.getX();\n double k = center.getY();\n double x0 = startPoint.getX();\n double y0 = startPoint.getY();\n double x1 = endPoint.getX();\n double y1 = endPoint.getY();\n \n double a = (x1 - x0)*(x1 - x0) + (y1 - y0)*(y1 - y0);\n double b = 2*(x1 - x0)*(x0 - h) + 2*(y1 - y0)*(y0 - k);\n double c = (x0 - h)*(x0 - h) + (y0 - k)*(y0 - k) - radius*radius;\n \n double d = b*b - 4*a*c;\n if (d < 0) {\n return new ArrayList<>();\n }\n if (d == 0) {\n double t = -b/(2*a);\n if (0 <= t && t <= 1) {\n DoublePoint point = new DoublePoint(x0 + (x1 - x0)*t, y0 + (y1 - y0)*t);\n return Stream.of(point).collect(Collectors.toCollection(ArrayList::new));\n }\n }\n // d > 0\n double delta = (double)Math.sqrt(d);\n \n double t1 = (-b - delta)/(2*a);\n double t2 = (-b + delta)/(2*a);\n \n ArrayList<DoublePoint> result = new ArrayList<>();\n if (0 <= t1 && t1 <= 1) {\n result.add(new DoublePoint(x0 + (x1 - x0)*t1, y0 + (y1 - y0)*t1));\n }\n if (0 <= t2 && t2 <= 1) {\n result.add(new DoublePoint(x0 + (x1 - x0)*t2, y0 + (y1 - y0)*t2));\n }\n return result;\n }", "title": "" }, { "docid": "69a628191cd04b2e8f9775207033922c", "score": "0.477095", "text": "public void addSegment(double x1, double y1, double x2, double y2,\n\t\t\tdouble x3, double y3) {\n\t\tmyPoints.add(x1);\n\t\tmyPoints.add(y1);\n\t\tmyPoints.add(x2);\n\t\tmyPoints.add(y2);\n\t\tmyPoints.add(x3);\n\t\tmyPoints.add(y3);\n\t}", "title": "" }, { "docid": "877028c4dace0b76a889f4d2e618f908", "score": "0.47687763", "text": "public LineSegment addLineSegment(double x1, double y1, double z1,\n\t\t\t\t double x2, double y2, double z2,\n\t\t\t\t Color color)\n {\n\treturn addLineSegment(new LineSegment(x1,y1,z1, x2,y2,z2, color));\n }", "title": "" }, { "docid": "654feecc10ca9a8cd90e054699e4d6fe", "score": "0.47654885", "text": "public void drawBresenhamLine(int xstart, int ystart, int xend, int yend)\n {\n int x, y, dx, dy, incx, incy, pdx, pdy, es, el, err;\n\n dx = xend - xstart;//проекция на ось икс\n dy = yend - ystart;//проекция на ось игрек\n\n incx = sign(dx);\n /*\n * Определяем, в какую сторону нужно будет сдвигаться. Если dx < 0, т.е. отрезок идёт\n * справа налево по иксу, то incx будет равен -1.\n * Это будет использоваться в цикле постороения.\n */\n incy = sign(dy);\n /*\n * Аналогично. Если рисуем отрезок снизу вверх -\n * это будет отрицательный сдвиг для y (иначе - положительный).\n */\n\n if (dx < 0) dx = -dx;//далее мы будем сравнивать: \"if (dx < dy)\"\n if (dy < 0) dy = -dy;//поэтому необходимо сделать dx = |dx|; dy = |dy|\n //эти две строчки можно записать и так: dx = Math.abs(dx); dy = Math.abs(dy);\n\n if (dx > dy)\n //определяем наклон отрезка:\n {\n /*\n * Если dx > dy, то значит отрезок \"вытянут\" вдоль оси икс, т.е. он скорее длинный, чем высокий.\n * Значит в цикле нужно будет идти по икс (строчка el = dx;), значит \"протягивать\" прямую по иксу\n * надо в соответствии с тем, слева направо и справа налево она идёт (pdx = incx;), при этом\n * по y сдвиг такой отсутствует.\n */\n pdx = incx;\n pdy = 0;\n es = dy;\n el = dx;\n } else//случай, когда прямая скорее \"высокая\", чем длинная, т.е. вытянута по оси y\n {\n pdx = 0;\n pdy = incy;\n es = dx;\n el = dy;//тогда в цикле будем двигаться по y\n }\n\n x = xstart;\n y = ystart;\n err = el / 2;\n g.drawLine(x, y, x, y);//ставим первую точку\n //все последующие точки возможно надо сдвигать, поэтому первую ставим вне цикла\n\n for (int t = 0; t < el; t++)//идём по всем точкам, начиная со второй и до последней\n {\n err -= es;\n if (err < 0) {\n err += el;\n x += incx;//сдвинуть прямую (сместить вверх или вниз, если цикл проходит по иксам)\n y += incy;//или сместить влево-вправо, если цикл проходит по y\n } else {\n x += pdx;//продолжить тянуть прямую дальше, т.е. сдвинуть влево или вправо, если\n y += pdy;//цикл идёт по иксу; сдвинуть вверх или вниз, если по y\n }\n\n g.drawLine(x, y, x, y);\n }\n }", "title": "" }, { "docid": "a6a98fa1982f4ee55a0a7045646c312e", "score": "0.47622222", "text": "private void startCurve() {\n\t\tmanager.startGeometry(Manager.Type.TRIANGLES);\n\t\tsectionSize = SECTION_SIZE_STARTED;\n\n\t}", "title": "" }, { "docid": "7fe37a4775ef24c1e0c17b7a8fc7f03c", "score": "0.47588643", "text": "protected static int[] extendLine(int startX,int startY,int endX,int endY){\n\t\tfloat m = (float)(startY-endY)/(startX-endX);\n\t\tfloat b = startY - m*startX;\n\t\t//we want y to be at the top of the screen\n\t\tint extendedY = 0;\n\t\tint extendedX;\n\t\tif (m == Float.POSITIVE_INFINITY){\n\t\t\t//slope is infinity, so x stays the same\n\t\t\textendedX = startX;\n\t\t}\n\t\telse{\n\t\t\textendedX = (int)((extendedY-b)/m);\n\t\t}\n\t\tint[] coords = {startX,startY,extendedX,extendedY};\n\t\t//return the new coordinates for the extended line\n\t\treturn coords;\n\t}", "title": "" }, { "docid": "8bb88f73165136134a913474ffc16d16", "score": "0.4755963", "text": "protected double[] quadraticEquation(double a, double b, double c){\n\t\t\tdouble[] result = new double[2];\n\t\t\tif(a == 0){\n\t\t\t\tif (b == 0){\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t result = new double[1];\n\t\t\t result[0] = -c/b;\n\t\t\t\treturn result;\n\t\t\t}\n\n\n\t\t\tdouble delta = subtraction((square(b)),4*(multiplication(a,c)));\n\t\t\tif(delta <0){\n\t\t\t\tSystem.out.println(\"no result\");\n\t\t\t}\n\t\t\telse if(delta == 0){\n\t\t\t\tresult = new double[1];\n\t\t\t\tresult[0] = -b/2*a;\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult[0] = division(addition((-b),squareRoot(delta)),(2*a));\n\t\t\t\tresult[1] = division(subtraction((-b),squareRoot(delta)),(2*a));\n\t\t\t}\n\t\t\treturn result;\n\t\t}", "title": "" }, { "docid": "d085733a40c9290749af17d14658745c", "score": "0.47491667", "text": "public Quadratic(double a, double b, double c) {\n if (a == 0) {\n setA(1);\n } else {\n setA(a);\n }\n setB(b);\n setC(c);\n }", "title": "" }, { "docid": "85d32874e562c477a9871021160bc19b", "score": "0.4739202", "text": "default IndexWriter appendQuad(int oppositeCorner, int c0, int c1, int provoking) {\n return this.append(c1).append(oppositeCorner).append(c0).append(provoking);\n }", "title": "" }, { "docid": "383299bbaff1e0479f47f218cf4c4d5f", "score": "0.4736686", "text": "private void drawSegments(Graphics2D g2d) {\r\n \r\n ArrayList<SegmentEntity> segmentList = segmentableEntity.getSegments(); \r\n \r\n if (segmentList == null)\r\n return;\r\n\r\n //\r\n // Draw all segments\r\n //\r\n int len = segmentList.size();\r\n for (int i = 0; i < len; i++) {\r\n\r\n SegmentEntity segment = segmentList.get(i);\r\n\r\n // get the location of the start of the segment\r\n VertexEntity startVertex = segment.getStartVertexEntity();\r\n\r\n double[] segmentStartWorldPos = new double[3];\r\n startVertex.getPosition(segmentStartWorldPos);\r\n\r\n // get the location of the end of the segment\r\n VertexEntity endVertex = segment.getEndVertexEntity();\r\n\r\n if (endVertex == null)\r\n continue;\r\n\r\n double[] segmentEndWorldPos = new double[3];\r\n endVertex.getPosition(segmentEndWorldPos);\r\n\r\n // convert world coordinates to panel coordinates with pixelsPerMeter\r\n int segmentStartX = (int)Math.round(\r\n (segmentStartWorldPos[0] - minX ) * pixelsPerMeter);\r\n int segmentStartY = (int)Math.round(\r\n (maxY - segmentStartWorldPos[1] ) * pixelsPerMeter );\r\n\r\n int segmentEndX = (int)Math.round(\r\n (segmentEndWorldPos[0] - minX ) * pixelsPerMeter );\r\n int segmentEndY = (int)Math.round(\r\n (maxY - segmentEndWorldPos[1] ) * pixelsPerMeter );\r\n\r\n Polygon line = new Polygon();\r\n\r\n float a = segmentStartX - segmentEndX;\r\n float b = segmentStartY - segmentEndY;\r\n\r\n // create a direction vector\r\n Vector2f direction = new Vector2f(a, b);\r\n direction.normalize();\r\n\r\n // rotate it 90 degrees\r\n b = -direction.x;\r\n a = direction.y;\r\n\r\n // get the point\r\n float x = segmentStartX + (LINE_THICKNESS * a);\r\n float y = segmentStartY + (LINE_THICKNESS * b);\r\n\r\n line.addPoint(Math.round(x), Math.round(y));\r\n\r\n x = segmentEndX + (LINE_THICKNESS * a);\r\n y = segmentEndY + (LINE_THICKNESS * b);\r\n\r\n line.addPoint(Math.round(x), Math.round(y));\r\n\r\n // rotate it 90 degrees\r\n b = direction.x;\r\n a = -direction.y;\r\n\r\n x = segmentEndX + (LINE_THICKNESS * a);\r\n y = segmentEndY + (LINE_THICKNESS * b);\r\n\r\n line.addPoint(Math.round(x), Math.round(y));\r\n\r\n x = segmentStartX + (LINE_THICKNESS * a);\r\n y = segmentStartY + (LINE_THICKNESS * b);\r\n\r\n line.addPoint(Math.round(x), Math.round(y));\r\n\r\n // draw the polygon\r\n g2d.setColor(wallColor);\r\n g2d.fillPolygon(line);\r\n\r\n // store polygon and id for finding later\r\n shapeToEntityMap.put(line, segment);\r\n \r\n }\r\n \r\n }", "title": "" }, { "docid": "c447e6d7dd3f7fee95e4262c07745173", "score": "0.4736631", "text": "public static double sqDistanceToSegment(final WB_Point3d p,\r\n\t\t\tfinal WB_Point3d a, final WB_Point3d b) {\r\n\t\tfinal WB_Vector3d ab = b.subToVector(a);\r\n\t\tfinal WB_Vector3d ac = p.subToVector(a);\r\n\t\tfinal WB_Vector3d bc = p.subToVector(b);\r\n\t\tfinal double e = ac.dot(ab);\r\n\t\tif (e <= 0) {\r\n\t\t\treturn ac.dot(ac);\r\n\t\t}\r\n\t\tfinal double f = ab.dot(ab);\r\n\t\tif (e >= f) {\r\n\t\t\treturn bc.dot(bc);\r\n\t\t}\r\n\t\treturn ac.dot(ac) - e * e / f;\r\n\t}", "title": "" }, { "docid": "36fc8446aec3feca1f6483b1760987aa", "score": "0.47329074", "text": "private void JoinPoints(double px, double py, double qx, double qy, Direction direction,\n Direction direction2, SSEType pt, SSEType qt) {\n if (direction != UP && direction != UNKNOWN) {\n if (pt == SSEType.EXTENDED)\n CrossDownTriangle(px, py, qx, qy);\n if (pt == SSEType.HELIX)\n crossCircle(px, py, qx, qy);\n }\n if (direction2 != DOWN && direction2 != UNKNOWN) {\n if (pt == SSEType.EXTENDED)\n CrossUpTriangle(qx, qy, px, py);\n if (pt == SSEType.HELIX)\n crossCircle(qx, qy, px, py);\n }\n makeObject(\"Line\", 4, px, py, qx, qy);\n }", "title": "" }, { "docid": "8373affcd1336669ec26d3d7c4d4a32e", "score": "0.4720085", "text": "public float function_QuadraticBezierStaircase (float x, float a, int n) {\n\t functionName = \"Quadratic Bezier Staircase\";\n\n\t float aa = (a - 0.5f);\n\t if (aa == 0) {\n\t return x;\n\t }\n\n\t /* Skyscraper function.\n\t float x0 = (floor (x*n))/ (float) n; \n\t float x1 = (ceil (x*n))/ (float) n;\n\t \n\t \n\t float y0 = x0; \n\t float y1 = (floor((x + x/n)*n))/ (float) n;\n\t */\n\t \n\t float x0 = (floor (x*n))/ (float) n;\n\t float x1 = (ceil (x*n))/ (float) n;\n\t \t \n\t float y0 = x0; \n\t float y1 = x1; \n\n\t float px = 0.5f*(x0+x1) + aa/n;\n\t float py = 0.5f*(x0+x1) - aa/n;\n\n\t float p0x = (x0 + px)/2.0f;\n\t float p0y = (y0 + py)/2.0f;\n\t float p1x = (x1 + px)/2.0f;\n\t float p1y = (y1 + py)/2.0f;\n\t \n\n\t float y = 0;\n\t float denom = (1.0f/n)*0.5f;\n\t \n\t if ((x <= p0x) && (x >= x0)) {\n\t // left side\n\t if (floor (x*n) <= 0){\n\t y = map(x, x0, px, y0, py);\n\t } else {\n\t \n\t if (abs(x - x0) < EPSILON){\n\t // problem when x == x0 !\n\t }\n\t \n\t float za = (x0 - (p1x - 1.0f/n))/denom; \n\t float zb = (y0 - (p1y - 1.0f/n))/denom; \n\t float zx = ( x - (p1x - 1.0f/n))/denom; \n\t float om2a = 1.0f - 2.0f*za;\n\t \n\t float interior = max (0, za*za + om2a*zx);\n\t float t = (sqrt(interior) - za)/om2a;\n\t float zy = (1.0f-2.0f*zb)*(t*t) + (2*zb)*t;\n\t zy *= (p1y - p0y);\n\t zy += p1y; //(p1y - 1.0/n);\n\t if (x > x0){\n\t zy -= 1.0/n;\n\t }\n\t y = zy;\n\t }\n\t } \n\n\t else if ((x >= p1x) && (x <= x1)) {\n\t // right side\n\t if (ceil (x*n) >= n) {\n\t y = map(x, px, x1, py, y1);\n\t } \n\t else {\n\t if (abs(x - x1) < EPSILON){\n\t // problem when x == x1 !\n\t }\n\t \n\t float za = (x1 - p1x)/denom; \n\t float zb = (y1 - p1y)/denom; \n\t float zx = ( x - p1x)/denom; \n\t if (za == 0.5) {\n\t za += EPSILON;\n\t }\n\t float om2a = 1.0f - 2.0f*za;\n\t if (abs(om2a) < EPSILON) {\n\t om2a = ((om2a < 0) ? -1:1) * EPSILON;\n\t }\n\t \n\t float interior = max (0, za*za + om2a*zx);\n\t float t = (sqrt(interior) - za)/om2a;\n\t float zy = (1.0f-2.0f*zb)*(t*t) + (2f*zb)*t;\n\t zy *= (p1y - p0y);\n\t zy += p1y;\n\t y = zy;\n\t }\n\t } \n\n\t else {\n\t // center\n\t float za = (px - p0x)/denom; \n\t float zb = (py - p0y)/denom; \n\t float zx = ( x - p0x)/denom; \n\t if (za == 0.5) {\n\t za += EPSILON;\n\t }\n\t float om2a = 1.0f - 2.0f*za;\n\t float t = (sqrt(za*za + om2a*zx) - za)/om2a;\n\t float zy = (1.0f-2.0f*zb)*(t*t) + (2*zb)*t;\n\t zy *= (p1y - p0y);\n\t zy += p0y;\n\t y = zy;\n\t }\n\t return y;\n\n\t}", "title": "" }, { "docid": "f70a9b435aca9aaa59992bcac94a5200", "score": "0.47188514", "text": "@Override\n public abstract int getFirstQuad();", "title": "" }, { "docid": "9661d172888eb50f6ab0093c2d6817cd", "score": "0.47187", "text": "public void lineTo(float x, float y);", "title": "" }, { "docid": "0bd7c814c5907f411b9c7b9fffff82ab", "score": "0.47119617", "text": "public float[] valuesQuadraticFunctionOnInterval() {\n int numberElementsInArray = segment.getPointB() / segment.getPointA(); //the number of elements in the array\n int leftPoint = segment.getPointA();\n float[] array = new float[numberElementsInArray];\n\n for (int i = 0; i < numberElementsInArray; i++) {\n array[i] = cubeFunction.calculate(leftPoint + i);\n }\n return array;\n }", "title": "" }, { "docid": "f82be3d59ad28dcf07cbb22a991bd14c", "score": "0.4711611", "text": "public native void beginSubpath(float paramFloat1, float paramFloat2) throws PathError;", "title": "" }, { "docid": "f82be3d59ad28dcf07cbb22a991bd14c", "score": "0.4711611", "text": "public native void beginSubpath(float paramFloat1, float paramFloat2) throws PathError;", "title": "" }, { "docid": "11bf53442551592c6141664f5e74c093", "score": "0.47092715", "text": "public static EdPolygon calcForSet(DArray polys, int focusPoly,\n int focusVert, FPoint2 focus) {\n\n final boolean db = C.vb(VisOper.DB_CALCVISPOLY);\n\n if (focusPoly >= 0)\n focus = p(polys, focusPoly).getPoint(focusVert);\n\n if (db && T.update())\n T.msg(\"VisPoly.calcForSet\" + T.show(polys) + T.show(focus));\n\n // segments comprising envelope\n DArray env = new DArray();\n\n DArray[] p = new DArray[2];\n VisEventQueue[] q = new VisEventQueue[2];\n Slab[] slabs = new Slab[2];\n Iterator[] iterator = new Iterator[2];\n SegEvent[] pending = new SegEvent[2];\n DArray[] removeList = new DArray[2];\n boolean[] procFlags = new boolean[2];\n\n for (int i = 0; i < 2; i++) {\n if (i == 0)\n p[i] = polys;\n else {\n p[i] = new DArray();\n for (int j = 0; j < polys.size(); j++)\n p[i].add(getRotated180(p(polys, j), focus));\n }\n q[i] = new VisEventQueue(focus);\n for (int j = 0; j < polys.size(); j++)\n q[i].addEdgesFrom(p(p[i], j), i);\n if (db && T.update())\n T.msg(\"added segments to queue #\" + i + T.show(q[i]));\n iterator[i] = q[i].iterator();\n removeList[i] = new DArray();\n }\n\n DArray stopPts;\n {\n DArray s0 = calcSlabAngles(q[0], focusPoly >= 0 ? p(p[0], focusPoly)\n : null, focusVert, focus);\n DArray s180 = calcSlabAngles(q[1], focusPoly >= 0 ? p(p[1], focusPoly)\n : null, focusVert, focus);\n stopPts = combineAngles(s0, s180);\n }\n\n for (Iterator thetaIter = stopPts.iterator(); thetaIter.hasNext();) {\n double nextTheta = ((Double) thetaIter.next()).doubleValue();\n\n for (int i = 0; i < 2; i++) {\n if (slabs[i] == null)\n slabs[i] = new Slab(i, focusPoly >= 0 ? p(p[i], focusPoly) : null,\n focusVert, focus, stopPts.getDouble(0), nextTheta);\n else\n slabs[i].advanceThetaTo(nextTheta);\n }\n\n procFlags[0] = procFlags[1] = true;\n while (procFlags[0] || procFlags[1]) {\n for (int i = 0; i < 2; i++) {\n if (pending[i] == null) {\n if (iterator[i].hasNext())\n pending[i] = (SegEvent) iterator[i].next();\n else\n procFlags[i] = false;\n }\n\n if (pending[i] != null) {\n SegEvent evt = pending[i];\n double theta = evt.seg().theta(evt.endPt());\n if (evt.endPt() == 0) {\n if (theta > slabs[i].theta0() + EPS)\n procFlags[i] = false;\n else {\n slabs[i].addSegment(evt.seg());\n pending[i] = null;\n }\n } else {\n if (theta > slabs[i].theta1() + EPS)\n procFlags[i] = false;\n else {\n removeList[i].add(evt.seg());\n pending[i] = null;\n }\n }\n }\n\n }\n }\n\n extractKSeg(slabs[0], slabs[1], env, db);\n\n// if (db && T.update())\n// T.msg(\"VisPoly.calcForSet\" + T.show(slabs[0]) + T.show(slabs[1])\n// + T.show(env, MyColor.cRED, STRK_NORMAL, MARK_DISC));\n\n for (int i = 0; i < 2; i++) {\n slabs[i].removeSegments(removeList[i]);\n removeList[i].clear();\n }\n }\n\n EdPolygon vis = envToPoly(focus, env);\n\n if (db && T.update())\n T.msg(\"envToPoly\" + T.show(vis, MyColor.cRED, -1, MARK_DISC));\n return vis;\n }", "title": "" }, { "docid": "8f345c8a7b24ea4b90e795396157a330", "score": "0.47021395", "text": "public DividedLine(\n Vector3f endPoint1, Vector3f endPoint2, int numSegments) {\n Validate.positive(numSegments, \"number of segments\");\n\n setMode(Mode.Lines);\n\n int numVertices = numSegments + 1;\n int numFloats = numAxes * numVertices;\n FloatBuffer posBuffer = BufferUtils.createFloatBuffer(numFloats);\n setBuffer(VertexBuffer.Type.Position, numAxes, posBuffer);\n\n // Write the locations of all vertices:\n Vector3f temp = new Vector3f();\n for (int vIndex = 0; vIndex < numVertices; ++vIndex) {\n float t = vIndex / (float) numSegments;\n MyVector3f.lerp(t, endPoint1, endPoint2, temp);\n posBuffer.put(temp.x).put(temp.y).put(temp.z);\n }\n assert posBuffer.position() == numFloats;\n posBuffer.flip();\n\n int numIndices = MyMesh.vpe * numSegments;\n IndexBuffer indexBuffer\n = IndexBuffer.createIndexBuffer(numVertices, numIndices);\n VertexBuffer.Format ibFormat = indexBuffer.getFormat();\n Buffer ibData = indexBuffer.getBuffer();\n setBuffer(VertexBuffer.Type.Index, 1, ibFormat, ibData);\n\n // Write the vertex indices of all edges:\n for (int edgeIndex = 0; edgeIndex < numSegments; ++edgeIndex) {\n indexBuffer.put(edgeIndex);\n indexBuffer.put(edgeIndex + 1);\n }\n ibData.flip();\n assert indexBuffer.size() == numIndices;\n\n updateBound();\n setStatic();\n }", "title": "" }, { "docid": "87f8a38ccc270061e18d29402b4b6b5d", "score": "0.4701539", "text": "public static void setSegmentPoints(GeoSegment segment, GeoPoint startPoint,\n\t\t\tGeoPoint endPoint) {\n\t\tsegment.setStartPoint(startPoint);\n\t\tsegment.setEndPoint(endPoint);\n\t\tGeoVec3D.lineThroughPoints(startPoint, endPoint, segment);\n\t\tsegment.calcLength();\n\t}", "title": "" }, { "docid": "e0195f33328fec39bb27622dd5b24228", "score": "0.47011605", "text": "public Line(Point start, Point end) {\n this.start = start;\n this.end = end;\n\n // determinePointPositions();\n }", "title": "" }, { "docid": "1bd3cfe845262dca9fc59d536376a5b8", "score": "0.4697355", "text": "private double[] calculateJuliaSetLine(final double a, final double b, final double y, final double xStart, final double xStop, final int numPoints) {\n\t\tfinal double xStep = (xStop - xStart) / (numPoints - 1);\n\t\tdouble x;\n\t\tdouble[] juliaSetLine = new double[numPoints];\n\t\tfor (int xIndex = 0; xIndex < numPoints; xIndex++) {\n\t\t\tx = xStart + xIndex * xStep;\n\t\t\tjuliaSetLine[xIndex] = julia(x, y, a, b);\n\t\t}\n\t\treturn juliaSetLine;\n\t}", "title": "" }, { "docid": "e906d6cfd7f50fdc0eddaa1c6463498c", "score": "0.46891975", "text": "public LineSegment(double x1, double y1, double z1,\n\t\t\t double x2, double y2, double z2)\n\t{\n\t this(x1, y1, z1, x2, y2, z2,\n\t\t 0.0, 0.0, 0.0, (Color) null, new Object());\n\t}", "title": "" }, { "docid": "ee3a12ce363d82ed4cf5022ada866e6a", "score": "0.46791118", "text": "QuadraticEquation(double A, double B, double C) {\n this.a = A;\n this.b = B;\n this.c = C;\n }", "title": "" }, { "docid": "e53a1b5e708a968c81c29ef1b90f52cf", "score": "0.46775988", "text": "public static LineString ScaleProcessing(LineString targetLine,ArrayList<Integer> indexPointList, double proportion, double raiseFactor){//proportion between 0-100\n \n \tGeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory();\n \t//step 1: segment by decision point \n \tif (!indexPointList.contains(targetLine.getNumPoints()-1))\n \t\tindexPointList.add(targetLine.getNumPoints()-1);\n \tCoordinate[] tempCoords = targetLine.getCoordinates();\n \t//split the polyline by the deciding points and apply the spline function directly\n \tArrayList<Point> pointList = new ArrayList<Point>();//store the angle keeping points\n \tArrayList<LineString> splitedLineString = new ArrayList<LineString>();// store the segments\n \tArrayList<Double> lengthOfSegment = new ArrayList<Double>(); \n \tdouble shortestSegment = 0;\n \tint shortestFlag = 0;\n for(int i=0;i<indexPointList.size();i++)\n {\n \tPoint tempPoint = targetLine.getPointN(indexPointList.get(i));\n \tpointList.add(tempPoint);\n \t//split\n \tCoordinate[] subTempCoords;\n \tif(i==0)\n \t{\n \t\tsubTempCoords = Arrays.copyOfRange(tempCoords,0, indexPointList.get(i)+1);\n \t}else\n \t{\n \t\tsubTempCoords = Arrays.copyOfRange(tempCoords, indexPointList.get(i-1),indexPointList.get(i)+1);\n \t}\n \t\n \t// simplify the point\n \tList<Coordinate> coordinatesList = new ArrayList<Coordinate>();\n\n \tfor (int a=0; a<subTempCoords.length; a++) { \n \t\tcoordinatesList.add(subTempCoords[a]); \n } \n \t//angle filter\n/* \tfor(int p = 0;p< subTempCoords.length-2;p++)\n \t{\n \t\tPoint startPoint = geometryFactory.createPoint(subTempCoords[p]);\n \t\tPoint midPoint = geometryFactory.createPoint(subTempCoords[p+1]);\n \t\tPoint endPoint = geometryFactory.createPoint(subTempCoords[p+2]);\n \t\tboolean isLine = GeometricOperation.areAligned(startPoint,midPoint,endPoint);\n \t\tif(isLine == true)\n \t\t{\n \t\t\tcoordinatesList.remove(midPoint.getCoordinate());\n \t\t}\n \t}*/\n \tCoordinate[] finalSubCoords = coordinatesList.toArray(new Coordinate[1]);\n \tLineString tempLine = geometryFactory.createLineString(finalSubCoords);\n \tsplitedLineString.add(tempLine);\n \t//step 2: find out the shortest segment\n \t// calculate distance of each segment\n \tlengthOfSegment.add(tempLine.getLength());\n \tif(i==0)\n \t{\n \t\tshortestSegment = tempLine.getLength();\n \t\tshortestFlag = i;\n \t}\n \tif(shortestSegment > tempLine.getLength())\n \t{\n \t\tshortestSegment = tempLine.getLength();\n \t\tshortestFlag = i;\n \t}\n }\n //System.out.println(\"shortest number: \"+shortestFlag);\n //lengthOfSegment contain all the length of segment include shortest segment \n //step 3: compare to each segment(sum up distance) and apply the proportion (scale function for Geotool?)\n // proportion = 1-proportion;\n ArrayList<LineString> afterTranSegs = new ArrayList<LineString>(); \n for(int i=0;i<lengthOfSegment.size();i++)\n {\n \t\n \t/**Zendong equation**/\n \t//double newSegLen = (lengthOfSegment.get(i)-shortestSegment)*(1+proportion);\n \t//calulate the new proportion\n \t// double realScale = proportion - (shortestSegment*(proportion-1))/lengthOfSegment.get(i);\n \t\n \t\n \t\n \t /***My esquation*/\n \t// double realScale = 1- proportion + (proportion)*(shortestSegment/lengthOfSegment.get(i));\n \t //System.out.println(\"realScale number:\" + realScale);\n \t//step 4: affine transformation, the origin will be set at the begining point\n \t\n \t/**This equation reduces the lenght of long segments even more the effect is calculated by the raise of the lenght factor*/\n \tdouble raiseOfLenghtFactor = raiseFactor; /* [0..1] the larger bigger is the effect*/\n \t//double raiseOfLenghtFactor = 0.2; /* [0..1] the larger bigger is the effect*/\n \tdouble lengthFactor = Math.pow( (shortestSegment/lengthOfSegment.get(i)) , raiseOfLenghtFactor);\n \tdouble newLength = shortestSegment + (lengthOfSegment.get(i) - shortestSegment)*(1- Math.pow( proportion, lengthFactor));\n \tdouble realScale = newLength/lengthOfSegment.get(i);\n \t\n \t AffineTransformation scale= new AffineTransformation(realScale,0.0,0.0, 0.0,realScale,0.0);\n \t// System.out.println(\"Scale:\" + scale.toString());\n \t LineString afterTran = (LineString) scale.transform(splitedLineString.get(i));\n \t// System.out.println(\"afterTRAN: \"+ afterTran.toString());\n \t afterTranSegs.add(afterTran);\n }\n //afterTranSegs contain the shortest but after affine transformation but it should keep the same coordinates\n // according to the begin and end point to merge the line\n //n != 0 means shortestFlag\n // final lineString finalLineString\n ArrayList<LineString> finalLineStrings = new ArrayList<LineString>();\n if(shortestFlag != 0)\n {\n \tArrayList<LineString> preFinalLineStrings = new ArrayList<LineString>();\n for (int n = shortestFlag; n > 0; n--)\n {\n \tPoint basePoint = null;\n \t//get the begining point of shortest segment\n \tif(n == shortestFlag)\n \t{\n \t\tbasePoint = splitedLineString.get(n).getPointN(0);\n \t}else\n \t{\n \t\tbasePoint = preFinalLineStrings.get(preFinalLineStrings.size()-1).getPointN(0);\n \t}\n \t//Point endPointLastSeg = splitedLineString.get(n-1).getPointN(splitedLineString.get(n-1).getNumPoints()-1);\n \tPoint endPointLastSeg = afterTranSegs.get(n-1).getEndPoint();\n \t// translate \n \tAffineTransformation scale= new AffineTransformation(1,0.0,(basePoint.getX()-endPointLastSeg.getX()), 0.0,1,(basePoint.getY()-endPointLastSeg.getY()));\n \t \tLineString afterTranlateSeg = (LineString) scale.transform(afterTranSegs.get(n-1));\n \t \tpreFinalLineStrings.add(afterTranlateSeg);\n \t\n }\n //switch the order of finalLineString\n for(int r =preFinalLineStrings.size()-1;r>=0;r--)\n {\n \tfinalLineStrings.add(preFinalLineStrings.get(r));\n }\n }\n //add shortest one inside \n finalLineStrings.add(splitedLineString.get(shortestFlag));\n //add rest segment which after shortest one except the shortest segment is the last one\n if(shortestFlag != (splitedLineString.size()-1))\n {\n \tPoint basePoint = null;\n //preFinalLineStrings=null;\n for(int p = shortestFlag; p < (splitedLineString.size()-1);p++)\n {\n \t//get the end point of shortest segment \n \tif(p == shortestFlag)\n \t{\n \t\tbasePoint = splitedLineString.get(p).getEndPoint();\n \t}else\n \t{\n \t\tbasePoint = finalLineStrings.get(finalLineStrings.size()-1).getEndPoint();\n \t}\n \t//get the first point of rest segment which after shortest one\n \tPoint firstPoint = afterTranSegs.get(p+1).getStartPoint();\n \t//translate\n \tAffineTransformation scale= new AffineTransformation(1,0.0,(basePoint.getX()-firstPoint.getX()), 0.0,1,(basePoint.getY()-firstPoint.getY()));\n \t \tLineString afterTranlateSeg = (LineString) scale.transform(afterTranSegs.get(p+1));\n \t \tfinalLineStrings.add(afterTranlateSeg);\n }\n }\n LineString tempLine = myMerge(finalLineStrings,false);\n return tempLine;\n }", "title": "" }, { "docid": "2675fa68bb96a0cb0adbd84724d8ac41", "score": "0.4677445", "text": "public LineSegment(double x1, double y1, double z1,\n\t\t\t double x2, double y2, double z2,\n\t\t\t Color c)\n\t{\n\t this(x1, y1, z1, x2, y2, z2,\n\t\t 0.0, 0.0, 0.0, c, new Object());\n\t}", "title": "" }, { "docid": "652d21410dec9d49ea060ae1b1029e26", "score": "0.4658696", "text": "private Point2D.Double findSegmentCrossPoint(micLine A1E1, micLine DD)\n {\n Point2D.Double intersectionPt = new Point2D.Double(-1.0,-1.0);\n double px = A1E1.first.x;\n double py = A1E1.first.y;\n\n double qx = DD.first.x;\n double qy = DD.first.y;\n \n double rx = A1E1.second.x - A1E1.first.x;\n double ry = A1E1.second.y - A1E1.first.y;\n\n double sx = DD.second.x - DD.first.x;\n double sy = DD.second.y - DD.first.y;\n\n micLine qmpLine = new micLine(new Point2D.Double(px, py), new Point2D.Double(qx, qy));\n\n Boolean checkColinearity_1 = Double.compare(micLineCrossProduct(A1E1, DD),0.0) == 0;\n Boolean checkColinearity_2 = Double.compare(micLineCrossProduct(qmpLine, A1E1), 0.0) == 0;\n\n if(checkColinearity_1 == true) {\n if(checkColinearity_2 == true) return null; //TO DO parallel and intersecting\n else return null; //parallel and non-intersecting\n }\n\n double t = micLineCrossProduct(qmpLine, DD) / micLineCrossProduct(A1E1, DD);\n double u = micLineCrossProduct(qmpLine, A1E1) / micLineCrossProduct(A1E1, DD);\n\n if(Double.compare(t,0.0) >= 0 && Double.compare(t,1.0) <= 0\n && Double.compare(u,0.0) >= 0 && Double.compare(u, 1.0) <= 0)\n {\n //logToChatCommand(\"t \" + Double.toString(t) + \" u \" + Double.toString(u));\n intersectionPt.x = px + t*rx;\n intersectionPt.y = py + t*ry;\n }\n if(Double.compare(intersectionPt.x,-1.0) == 0) return null;\n return intersectionPt;\n }", "title": "" }, { "docid": "dd783c0b0eecae66e63be5c926dd26b9", "score": "0.4658365", "text": "public TerrainQuad getRightQuad(TerrainQuad center);", "title": "" }, { "docid": "d0196df0f6c7f4c986cff2434f6ef170", "score": "0.46561712", "text": "public Line(Point first, Point last) {\n this.start = first;\n this.end = last;\n }", "title": "" }, { "docid": "364683a8f401e0d3f240a7518edf44f0", "score": "0.46535596", "text": "private static LineSegment[] getSliceOfArray(LineSegment[] arr, int end)\n {\n LineSegment[] slice = new LineSegment[end];\n\n // Copy elements of arr to slice\n for (int i = 0; i < end; i++) {\n slice[i] = arr[i];\n }\n\n // return the slice\n return slice;\n }", "title": "" }, { "docid": "90d9c2f5a890c201496998a536ac6f1d", "score": "0.465218", "text": "private int setup(int idx, int start, int end){\n\t\tif (start==end){\n\t\t\tst[idx]=new SegmentNode(start, start, nums[start]);\n\t\t}else{\n\t\t\tint mid = (start+end)/2;\n\t\t\tint sum1 = setup(2*idx+1, start, mid);\n\t\t\tint sum2 = setup(2*idx+2, mid+1, end);\n\t\t\tst[idx]= new SegmentNode(start, end, sum1+sum2);\n\t\t}\n\t\t//logger.info(String.format(\"%d->%d:%d:%s\", start, end, idx, st[idx]));\n\t\treturn st[idx].val;\n\t}", "title": "" }, { "docid": "94a9cee9c4502978f7e894f932c832fe", "score": "0.46468973", "text": "@Ignore\n @Test\n public void testGetEnd() {\n System.out.println(\"getEnd\");\n LineSegment2D instance = new LineSegment2D();\n Point expResult = null;\n Point result = instance.getEnd();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "37a3c3747689925b6591162bb318f654", "score": "0.4644465", "text": "public float function_ParabolaThroughAPoint (float x, float a, float b){\n\t functionName = \"Quadratic Through a Given Point\";\n\t \n\t float min_param_a = 0.0f + EPSILON;\n\t float max_param_a = 1.0f - EPSILON;\n\t float min_param_b = 0.0f;\n\t float max_param_b = 1.0f;\n\t a = constrain(a, min_param_a, max_param_a); \n\t b = constrain(b, min_param_b, max_param_b); \n\t \n\t float A = (1-b)/(1-a) - (b/a);\n\t float B = (A*(a*a)-b)/a;\n\t float y = A*(x*x) - B*(x);\n\t \n\t return y;\n\t}", "title": "" }, { "docid": "5061fbc981f92a726f230f3718bbf2bb", "score": "0.46366766", "text": "public Line(double x1, double y1, double x2, double y2) {\r\n this.start = new Point(x1, y1);\r\n this.end = new Point(x2, y2);\r\n }", "title": "" }, { "docid": "4b93b562961510af04cf58d655a870f0", "score": "0.46320668", "text": "public LinePath(Pose2d start, Pose2d end) {\n this(start, end, false);\n }", "title": "" }, { "docid": "61652c3d523048c37294252442512c9d", "score": "0.46287823", "text": "@External\r\n\t@ClientFunc\r\n\tpublic MetaVar DrawLine(MetaVarNumber startXVar,MetaVarNumber startYVar,MetaVarNumber endXVar,MetaVarNumber endYVar){throw new RuntimeException(\"Should never be executed directly, there is probably an error in the Aspect-coding.\");}", "title": "" }, { "docid": "86885aa558d8166fac7dbb7e54b34185", "score": "0.46221814", "text": "@Override\n\tprotected void create(Vector2 startPoint, Vector2 endPoint) {\n\t\t\n\t}", "title": "" }, { "docid": "cb529834ea74152bb7d1df78025c94f6", "score": "0.46165115", "text": "private void linearFunction(Graphics g, double x0, double y0, double x1, double y1) {\n\n double y;\n //cálculo de pendiente y del término b (intersección con eje y)\n double m = (y0 - y1) / (x0 - x1);\n double b = -1 * m * x0;\n\n //for(double x = x0; x <= x1; x += 1){\n for (double x = x0; x <= x1; x += 0.1) {\n \n y = (m * x + b);\n\n //transforme el y\n y = this.getHeight() - y;\n\n //dibujo\n \n g.drawLine((int) x, (int) y, (int) x, (int) y);\n g.drawLine((int) x, (int) y1, (int) x, (int) y1);\n g.drawLine((int) x1, (int) y, (int) x1, (int) y);\n g.drawLine((int) y, (int) y1, (int) y, (int) y1);\n g.drawLine((int) y1, (int) y, (int) y1, (int) y);\n g.drawLine((int) y, (int) x, (int) x, (int) y);\n g.drawLine((int) x, (int) y, (int) y, (int) x);\n g.drawLine((int) y0, (int) x1, (int) x1, (int) y0);\n g.drawLine((int) x1, (int) y0, (int) y0, (int) x1);\n g.drawLine((int) x, (int) y0, (int) x, (int) y0);\n g.drawLine((int) y0, (int) y1, (int) y1, (int) y0);\n g.drawLine((int) y0, (int) x, (int) y0, (int) x);\n\n }\n }", "title": "" }, { "docid": "a1ad05680a4c1e4167bce87b39a8616b", "score": "0.46128476", "text": "public Line(double x1, double y1, double x2, double y2) {\r\n // The function check which point in the start or end\r\n if (x1 < x2) {\r\n this.start = new Point(x1, y1);\r\n this.end = new Point(x2, y2);\r\n } else {\r\n this.end = new Point(x1, y1);\r\n this.start = new Point(x2, y2);\r\n }\r\n }", "title": "" }, { "docid": "94450f4c7faa2b4578bcd467c164f870", "score": "0.46105173", "text": "@Override\n\tpublic SimplifiedPath simplify() {\n\t\tint length = points.length;\n\t\tif (length == 2) return new SimplifiedPath( getSegments().get(0).getPath() );\n\n\t\tint i = length / 2;\n\t\t//TODO can we supply precomputed segments?\n\t\tPath p1 = i == 1 ? getSegments().get(0).getPath() : new PolygonalPath(Arrays.copyOfRange(points, 0, i + 1), false, rectilinear);\n\t\tPath p2 = length - i == 2 ? getSegments().get(i).getPath() : new PolygonalPath(Arrays.copyOfRange(points, i, length), false, rectilinear);\n\t\treturn new SimplifiedPath(new SplitPath(p1, p2, closed));\n\t}", "title": "" }, { "docid": "da310358a7022b0b2c0ed4071e735aaf", "score": "0.46089137", "text": "public Line(double x1, double y1, double x2, double y2) {\n this.start = new Point(x1, y1);\n this.end = new Point(x2, y2);\n }", "title": "" }, { "docid": "3ddd0ae3724a6de1a419366509b1bbab", "score": "0.46070465", "text": "public void line(int fromX, int fromY, int toX, int toY, Color color);", "title": "" }, { "docid": "589f6019f2c4078d206d30594e5676cd", "score": "0.46058774", "text": "private float[] computePtOnSegment(float[] a, float[] b, float weight) {\n float dx = b[0] - a[0];\n float dy = b[1] - a[1];\n float newX = (float) (a[0] + dx * weight);\n float newY = (float) (a[1] + dy * weight);\n float[] retvals = {newX, newY};\n return retvals;\n }", "title": "" }, { "docid": "a8c00958fab09df8a0224ce0faa1b96c", "score": "0.46039426", "text": "public Point intersectionWith(Line other) {\n // Current line represented as a1x + b1y = c1\n double a1 = this.end.getY() - this.start.getY();\n double b1 = this.start.getX() - this.end.getX();\n double c1 = (a1 * this.start.getX()) + (b1 * this.start.getY());\n // Other line represented as a2x + b2y = c2\n double a2 = other.end.getY() - other.start.getY();\n double b2 = other.start.getX() - other.end.getX();\n double c2 = (a2 * other.start.getX()) + (b2 * other.start.getY());\n double determinant = a1 * b2 - a2 * b1;\n //If the lines are parallel - there is no a intersection unless one continues the other.\n //If one of the lines is actually a point - return null no mather what.\n if (determinant == 0) {\n if (this.start == other.start || this.start == other.end) {\n return this.start;\n }\n if (this.end == other.end || this.end == other.start) {\n return this.end;\n }\n return null;\n }\n //Calculate the intersection point between the two equations of a line.\n double newX = (b2 * c1 - b1 * c2) / determinant;\n double newY = (a1 * c2 - a2 * c1) / determinant;\n /*\n Checks whether the point is on the segment, if not - return null.\n (while considering a possible deviation of DEVIATION in the calculation).\n */\n if (Math.max(this.start.getX(), this.end.getX()) < newX - DEVIATION\n || Math.min(this.start.getX(), this.end.getX()) > newX + DEVIATION) {\n return null;\n }\n if (Math.max(other.start.getX(), other.end.getX()) < newX - DEVIATION\n || Math.min(other.start.getX(), other.end.getX()) > newX + DEVIATION) {\n return null;\n }\n if (Math.max(this.start.getY(), this.end.getY()) < newY - DEVIATION\n || Math.min(this.start.getY(), this.end.getY()) > newY + DEVIATION) {\n return null;\n }\n if (Math.max(other.start.getY(), other.end.getY()) < newY - DEVIATION\n || Math.min(other.start.getY(), other.end.getY()) > newY + DEVIATION) {\n return null;\n }\n return new Point(newX, newY);\n }", "title": "" }, { "docid": "17f5c82a7e6e37532ed46c803a6c442a", "score": "0.45929164", "text": "public Edge(Vertex start, Vertex end) {\n this.start = start;\n this.end = end;\n edge = new Line2D.Double(start.getX() + 6, start.getY() + 6, end.getX() + 6, end.getY() + 6);\n weight = (int) Math.sqrt((end.getY() - start.getY()) * (end.getY() - start.getY()) + \n \t\t (end.getX() - start.getX()) * (end.getX() - start.getX()));\n x = (start.getX() + end.getX()) / 2 + 20; // Causes weight to be displayed \n y = (start.getY() + end.getY()) / 2 + 20; // close to midpoint\n edgeColor = Color.BLUE;\n isComplete = true;\n }", "title": "" }, { "docid": "744ac89d2e82722c671cd17226816c8d", "score": "0.45912692", "text": "public static Line newInstance(Point a, Point b) {\n\t\t\n\t\tif (a.equals(b)) {\n\t\t\tthrow new IllegalStateException(\"Point a and b cannot be the same!\");\n\t\t}\n\t\t\n\t\t//Point w = (a.compareTo(b)>0)? a: b;\n\t\t//Point z = (a.compareTo(b)<0)? a: b;\n\n\t\t// Equation of a Straight Line\n\t\t// Verify the gradient (m) and constant (c) for the equation y = mx + c.\n\t\tdouble y = a.getY() - b.getY();\n\t\tdouble x = a.getX() - b.getX();\n\t\t\n\t\t// Gradient\n\t\tdouble m;\n\t\t\n\t\t// Constant\n\t\tdouble c;\n\t\t\n\t\tLine line = null;\n\t\t\n\t\t// Horizontal line\n\t\tif (y == 0.0) {\n\t\t\tm = 0.0;\n\t\t\tc = a.getY();\n\t\t\t\n\t\t} // Vertical line\n\t\t else if (x == 0.0) {\n\t\t\tm = Double.NaN; \n\t\t\tc = a.getX();\n\t\t\t\n\t\t} else {\n\t\t\t// Diagonal line\n\t\t\tm = y / x;\n\t\t\tc = -m*a.getX() + a.getY(); // c = -mx + y\n\t\t}\n\n\t\tline = new Line(m, c);\n\t\tline.getPoints().add(a);\n\t\tline.getPoints().add(b);\n\t\t\n\t\treturn line;\n\t}", "title": "" }, { "docid": "1648db95dabf63c31ae8cca5727d481f", "score": "0.4588311", "text": "public Line(double x1, double y1, double x2, double y2) {\r\n\t\tPoint2d first = new Point2d(x1, y2);\r\n\t\tPoint2d second = new Point2d(x2, y2);\r\n\t\tstart = first;\r\n\t\tend = second;\r\n\t}", "title": "" }, { "docid": "f02e2b4e5aaf5d2b0b7d1b337dbfef59", "score": "0.45879123", "text": "public int[][] drawPath(int startX, int startY, int finalX, int finalY) {\n\t\tint distance = 0;\r\n\t\tint [][] path = new int [2][distance];\r\n\t\t\r\n\t\treturn path;\r\n\t}", "title": "" }, { "docid": "90568952930287d7d737d0ded962c748", "score": "0.4584166", "text": "public LineSegment addLineSegment(double x1, double y1, double z1,\n\t\t\t\t double x2, double y2, double z2,\n\t\t\t\t Color color, Object tag) {\n\treturn addLineSegment(new LineSegment(x1,y1,z1, x2,y2,z2, color, tag));\n }", "title": "" }, { "docid": "03168566447568817f65b3710e386038", "score": "0.45835114", "text": "public Quad(TransformedColoredTextured topLeft,\r\n TransformedColoredTextured topRight,\r\n TransformedColoredTextured bottomLeft,\r\n TransformedColoredTextured bottomRight) {\r\n m_vertices = new TransformedColoredTextured[6];\r\n m_vertices[0] = topLeft;\r\n m_vertices[1] = bottomRight;\r\n m_vertices[2] = bottomLeft;\r\n m_vertices[3] = topLeft;\r\n m_vertices[4] = topRight;\r\n m_vertices[5] = bottomRight;\r\n }", "title": "" }, { "docid": "88745fa595b696e72743837a0914ec36", "score": "0.4582826", "text": "private static BakedQuad createQuad(Vec3d v1, Vec3d v2, Vec3d v3, Vec3d v4, TextureAtlasSprite sprite, float ulow, float uhigh, float vlow, float vhigh, int tintIndex) {\n Vec3d normal = v3.subtract(v2).crossProduct(v1.subtract(v2)).normalize();\n\n BakedQuadBuilder builder = new BakedQuadBuilder(sprite);\n builder.setQuadOrientation(Direction.getFacingFromVector(normal.x, normal.y, normal.z));\n builder.setApplyDiffuseLighting(true);\n if (tintIndex>-1) {\n builder.setQuadTint(tintIndex);\n }\n putVertex(builder, normal, v1.x, v1.y, v1.z, ulow, vlow, sprite, 1.0f, 1.0f, 1.0f);\n putVertex(builder, normal, v2.x, v2.y, v2.z, ulow, vhigh, sprite, 1.0f, 1.0f, 1.0f);\n putVertex(builder, normal, v3.x, v3.y, v3.z, uhigh, vhigh, sprite, 1.0f, 1.0f, 1.0f);\n putVertex(builder, normal, v4.x, v4.y, v4.z, uhigh, vlow, sprite, 1.0f, 1.0f, 1.0f);\n return builder.build();\n }", "title": "" }, { "docid": "3f490e4042401e0466eddc5cdb66bd9d", "score": "0.45823544", "text": "public FastCollinearPoints(Point[] points) {\r\n // corner cases : checking for nulls and duplicates\r\n if (points == null) {\r\n throw new NullPointerException();\r\n }\r\n\r\n for (int i = 0; i < points.length; i++) {\r\n\r\n if (points[i] == null) {\r\n throw new NullPointerException();\r\n }\r\n\r\n for (int j = i + 1; j < points.length; j++) {\r\n\r\n if (points[j] == null) {\r\n throw new NullPointerException();\r\n }\r\n\r\n if (points[i].compareTo(points[j]) == 0) {\r\n throw new java.lang.IllegalArgumentException();\r\n }\r\n }\r\n }\r\n\r\n lineSegments = new ArrayList<>();\r\n if (points.length < 4) return;\r\n\r\n pointsArray = points.clone();\r\n Arrays.sort(pointsArray);\r\n\r\n for (Point p: pointsArray) {\r\n\r\n Point[] sortedPoints = pointsArray.clone();\r\n Arrays.sort(sortedPoints, p.slopeOrder());\r\n Point q = sortedPoints[1];\r\n ArrayList<Point> segment = new ArrayList<>(4);\r\n segment.add(p);\r\n segment.add(q);\r\n\r\n double slopeQ = p.slopeTo(q);\r\n for (int i = 2; i < sortedPoints.length; i++) {\r\n\r\n double slopeCurrent = p.slopeTo(sortedPoints[i]);\r\n\r\n if (Double.compare(slopeQ, slopeCurrent) == 0) {\r\n segment.add(sortedPoints[i]);\r\n }\r\n else {\r\n checkAddNewSegment(segment);\r\n\r\n q = sortedPoints[i];\r\n segment = initNewSegment(p, q);\r\n slopeQ = slopeCurrent;\r\n }\r\n }\r\n\r\n checkAddNewSegment(segment);\r\n }\r\n\r\n }", "title": "" }, { "docid": "96d11d129dbe67ad86b03e20aa9eaab2", "score": "0.45728022", "text": "private int findPolygonal(int start, int end, int n, int offset1,\n\t\t\tint offset2) {\n\t\tInertia s = new Inertia();\n\t\tInertia s1 = new Inertia();\n\t\tInertia s2 = new Inertia();\n\t\tint k, i1 = 0, i2 = 0, n1 = 0, n2;\n\t\tdouble det1, det2;\n\t\tint nsides = n;\n\n\t\tif (end == start) {\n\t\t\treturn 0; // no way\n\t\t}\n\t\tif (nsides <= 0) {\n\t\t\treturn 0;\n\t\t}\n\t\tif (end - start < 5) {\n\t\t\tnsides = 1; // too small for a polygon\n\t\t}\n\t\t// look for a linear piece that's big enough\n\t\tfor (k = 0; k < nsides; ++k) {\n\t\t\ti1 = start + (k * (end - start)) / nsides;\n\t\t\ti2 = start + ((k + 1) * (end - start)) / nsides;\n\n\t\t\tcalc_inertia(i1, i2, s);\n\t\t\tif (i_det(s) < LINE_MAX_DET) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (k == nsides) {\n\t\t\treturn 0;\n\t\t}\n\t\twhile (true) {\n\t\t\tif (i1 > start) {\n\t\t\t\ts1.copyValuesFrom(s);\n\t\t\t\tthis.incr_inertia(i1 - 1, s1, 1);\n\t\t\t\tdet1 = i_det(s1);\n\t\t\t} else {\n\t\t\t\tdet1 = 1;\n\t\t\t}\n\n\t\t\tif (i2 < end) {\n\t\t\t\ts2.copyValuesFrom(s);\n\t\t\t\tthis.incr_inertia(i2, s2, 1);\n\t\t\t\tdet2 = i_det(s2);\n\t\t\t} else {\n\t\t\t\tdet2 = 1;\n\t\t\t}\n\n\t\t\tif (det1 < det2 && det1 < LINE_MAX_DET) {\n\t\t\t\ti1--;\n\t\t\t\ts.copyValuesFrom(s1);\n\t\t\t} else if (det2 < det1 && det2 < LINE_MAX_DET) {\n\t\t\t\ti2++;\n\t\t\t\ts.copyValuesFrom(s2);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (i1 > start) {\n\t\t\tn1 = this.findPolygonal(start, i1,\n\t\t\t\t\t(i2 == end) ? (nsides - 1) : (nsides - 2), offset1,\n\t\t\t\t\toffset2);\n\t\t\tif (n1 == 0) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t} else {\n\t\t\tn1 = 0;\n\t\t}\n\t\tbrk[n1 + offset1] = i1;\n\t\tbrk[n1 + 1 + offset1] = i2;\n\n\t\tinertias[offset2 + n1].copyValuesFrom(s);\n\n\t\tif (i2 < end) {\n\t\t\tn2 = this.findPolygonal(i2, end, nsides - n1 - 1, offset1 + n1 + 1,\n\t\t\t\t\toffset2 + n1 + 1);\n\t\t\tif (n2 == 0.) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t} else {\n\t\t\tn2 = 0;\n\t\t}\n\t\treturn n1 + n2 + 1;\n\t}", "title": "" }, { "docid": "84d167812d76260a6ad49dc2a6535a03", "score": "0.4568991", "text": "private void linearFunction(Graphics g, double x0, double y0, double x1, double y1){ \n \n double y =0;\n //double punto;\n \n //calculo de pendiente y del termino b (interseccion con eje y)\n double m = (y1 - y0) / (x1 - x0);\n double b = y0 - ((y0 - y1) / (x0 - x1)) * x0;\n \n for(double x = x0; x <= x1&& y<=y1; x += 1){\n \n \n // for(double x = x0; x <= x1; x += 0.1){\n y = (m * x + b);// * 10; // se multiplica por 10 para escalar el punto a representar en pantalla\n //punto = x;// * 10;\n g.drawLine((int)coord_x(x), (int)coord_y(y), (int)coord_x(x), (int)coord_y(y)); \n \n } // for\n \n\n }", "title": "" }, { "docid": "98684e823e2d2d3af6b8dff629c8cc68", "score": "0.4558661", "text": "public LaneSegmentLinear(int id, IVector startPoint, IVector endPoint) throws Exception{\n\t\tsuper(startPoint, endPoint);\n\t\tthis.length = calculateLength();\n\t\tthis.id = id;\n\t}", "title": "" }, { "docid": "9abff2c75eddd25b67fe51d11ac280a1", "score": "0.4551264", "text": "public Quad(Quad quad){\n this.x = quad.x;\n this.y = quad.y;\n this.halfWidth = quad.halfWidth;\n this.halfHeight = quad.halfHeight;\n }", "title": "" }, { "docid": "918c68cb703f9f4444368ce33292fc59", "score": "0.45492578", "text": "void findPath(Set<Point> points, Point begin, Point end);", "title": "" }, { "docid": "c24641696d3e8a54450a1d4cf669be73", "score": "0.4545779", "text": "QuadEdge(final int index) {\n dual = new QuadEdgePartner(this);\n this.index = index;\n }", "title": "" }, { "docid": "ff79b01c3c9c767ef3586afc0904187b", "score": "0.4537973", "text": "public Quadrilateral() {\n super(4);\n this.diagonal = Math.sqrt(Math.pow(this.point[0].getPointX() - this.point[2].getPointX(), 2) + Math.pow(this.point[0].getPointY() - this.point[2].getPointY(), 2));\n }", "title": "" } ]
8700866f064b98e133f42977a3d87aa7
Returns the list of channel ids for the policy.
[ { "docid": "2ae42805c64e7cad8b8fe11479313016", "score": "0.735974", "text": "public List<Long> getChannelIds()\n {\n return channelIds;\n }", "title": "" } ]
[ { "docid": "9c9e26f35656ad275083e46d58a2e70b", "score": "0.6542239", "text": "public static Set<String> getAllRegisteredChannelIds(){\n\t\treturn channelPool.keySet();\n\t}", "title": "" }, { "docid": "8b3f92e3a84b6095feef05d85f918077", "score": "0.6439347", "text": "public List<Long> getPolicyIds()\n {\n return policyIds;\n }", "title": "" }, { "docid": "5e8c8d7118438f1686b7bbce6414d46d", "score": "0.6363861", "text": "public long[] getChannelIdArray()\n {\n long[] ret = new long[channelIds.size()];\n for(int i = 0; i < channelIds.size(); i++)\n ret[i] = channelIds.get(i);\n return ret;\n }", "title": "" }, { "docid": "c12d62e3e9968eb23ce4fe5145f8db86", "score": "0.6178011", "text": "public Collection<Channel> getChannels()\n {\n return channels.values();\n }", "title": "" }, { "docid": "7f60166dee506322da29649f16a2ad2c", "score": "0.6150702", "text": "@NotNull\n @Valid\n @JsonProperty(\"distributionChannels\")\n public List<ChannelReference> getDistributionChannels();", "title": "" }, { "docid": "9badf0071b963f9ff75ba39bd542806d", "score": "0.6121344", "text": "String[] getChannelConfigs();", "title": "" }, { "docid": "0a2927a922b2a29852bbbc041cc37799", "score": "0.6051519", "text": "public int[] getChannels() {\n return mChannels == null ? null : mChannels.clone();\n }", "title": "" }, { "docid": "555659b3240d342e92edb3d2c5c92273", "score": "0.60259706", "text": "public abstract Collection<String> getChannels();", "title": "" }, { "docid": "a8531d7960f6a9841d5afca832778f1e", "score": "0.5942425", "text": "public final List<Channel> getChannelList()\n\t{\n\t\treturn chanList;\n\t}", "title": "" }, { "docid": "8b8606c2c580e4cd6cf179a3266483a8", "score": "0.59377825", "text": "public Builder channelIds(List<Long> channelIds)\n {\n policyChannel.setChannelIds(channelIds);\n return this;\n }", "title": "" }, { "docid": "922c63f662c17458d024e4bc3a421fca", "score": "0.5922476", "text": "@Override\n public String toString()\n {\n return \"ChannelLinks [policyIds=\"+policyIds+\"]\";\n }", "title": "" }, { "docid": "d47a9afed078d70698dfdc415bb2d034", "score": "0.5921141", "text": "public java.util.List<android.app.NotificationChannel> getNotificationChannels() { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "cb5171d869a5ea386cd1d8ba02e16903", "score": "0.5879202", "text": "public int getChannels() {\n\t\treturn channels;\n\t}", "title": "" }, { "docid": "32fff0ad7c5aefa929064bfb452300b4", "score": "0.5678712", "text": "@Override\n public String toString()\n {\n return \"AlertPolicyChannel [\"+super.toString()\n +\", channelIds=\"+channelIds\n +\"]\";\n }", "title": "" }, { "docid": "329b1d3048c6612a00ef358fdef640b0", "score": "0.56262136", "text": "public List<ImageChannel> getChannels()\n {\n return Collections.unmodifiableList(channels);\n }", "title": "" }, { "docid": "5d0b445bcbe4a32be7bb55c214e11de1", "score": "0.558963", "text": "public List<String> getCommentIds();", "title": "" }, { "docid": "db97be5d7acd079224250c510781e03a", "score": "0.5555609", "text": "@Property\n public native NSArray<NSString> getChannels();", "title": "" }, { "docid": "3ca136b27621ad29e4ab89e69573207e", "score": "0.5519547", "text": "public List<AddChannelPacket> getChannels() {\n return channels;\n }", "title": "" }, { "docid": "c527da1fb0b6df5b544d943dba2a2ee1", "score": "0.54870456", "text": "public Long getIdChannel() {\n return idChannel;\n }", "title": "" }, { "docid": "482c357606d4f31171d25a125dee50f5", "score": "0.54688454", "text": "public int[] getHwUidsWithPolicy(int policy) {\n int[] uids = new int[HW_RULE_ALL_ACCESS];\n synchronized (this.mRulesLock) {\n int i = HW_RULE_ALL_ACCESS;\n while (true) {\n if (i < this.mHwUidPolicy.size()) {\n int uid = this.mHwUidPolicy.keyAt(i);\n if ((this.mHwUidPolicy.valueAt(i) & policy) != 0) {\n uids = ArrayUtils.appendInt(uids, uid);\n }\n i += VERSION_LATEST;\n }\n }\n }\n return uids;\n }", "title": "" }, { "docid": "40a07ef84da788f6b27f9a0cc4a43b76", "score": "0.54273796", "text": "@Valid\n @JsonProperty(\"supplyChannels\")\n public List<ChannelReference> getSupplyChannels();", "title": "" }, { "docid": "554fc097a15b6fac81300f7da0b0164f", "score": "0.53895056", "text": "@Override\r\n\tpublic List<Channel> list() {\n\t\treturn dao.list();\r\n\t}", "title": "" }, { "docid": "a5b18b8b25c6b7f5638b553ed9f3fc59", "score": "0.5387677", "text": "public java.util.List<android.app.NotificationChannelGroup> getNotificationChannelGroups() { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "efe3fed6edab7b6e0e4b562de7b0160e", "score": "0.5347367", "text": "public Enumeration<Integer> getClientsIDs() {\n return playersUDP.keys();\n }", "title": "" }, { "docid": "888f4217c7d4fdf0fb2c6791fda830f5", "score": "0.5327737", "text": "public Collection<Integer> getConnectionIDs() {\n \t\treturn connectionIDs;\n \t}", "title": "" }, { "docid": "1b23c38f63ad3a1368b297489e89f4d8", "score": "0.5311209", "text": "public String[] getGroupIds();", "title": "" }, { "docid": "f27170c1da02b9a0ddd812e35a3b88af", "score": "0.5299487", "text": "public abstract Set<String> getChannels(EvContainer rec);", "title": "" }, { "docid": "9a625d933af6d7d4f7f04656196eacbf", "score": "0.5298392", "text": "java.util.List<java.lang.String>\n getConceptIdsList();", "title": "" }, { "docid": "5f643f57c2f4bb74134ab861faed884f", "score": "0.52819705", "text": "public Collection<String> getAuthorizationIds() {\n return Collections.unmodifiableCollection(authorizationIds);\n }", "title": "" }, { "docid": "2762f444cde794290c31fa30e0db2f01", "score": "0.5278417", "text": "public String[] getClientIDs() {\n\t\tString[] names = new String[clients.size()];\n\t\tfor (int i = 0; i < clients.size(); i++) {\n\t\t\tnames[i] = clients.get(i).getID();\n\t\t}\n\t\treturn names;\n\t}", "title": "" }, { "docid": "b787fab979f2662e85ca1d8d3973b9ef", "score": "0.52734345", "text": "java.util.List<Long> getNoticeIdList();", "title": "" }, { "docid": "e270245cfcb3fafe078638099f997f63", "score": "0.5257991", "text": "java.util.List<java.lang.String>\n getDriverIdList();", "title": "" }, { "docid": "5520276903db0aa0283857e2df02727e", "score": "0.52454114", "text": "public int getChannelId() {\r\n\t\treturn id;\r\n\t}", "title": "" }, { "docid": "498cb5bf0bda4ffbb1be6772da9caea9", "score": "0.52438647", "text": "java.util.List<java.lang.Integer> getConnectionsList();", "title": "" }, { "docid": "c68b56403d90d700a99f63a189d1986f", "score": "0.52392346", "text": "public synchronized byte getChannels () { return channels; }", "title": "" }, { "docid": "ce3b2e86e23f635f2109c17f9db31f11", "score": "0.5215458", "text": "public static List<SocketChannel> getAllChannelsOwnedBy(String userId){\n\t\t//ChannelsDatabase channelsDb = SocketConfig.getDefaultChannelsDatabase();\t\t//TODO: use?\n\t\tList<SocketChannel> channels = new ArrayList<>();\n\t\tfor (String cId : channelPool.keySet()) {\n\t\t\tSocketChannel sc = channelPool.get(cId);\n\t\t\tif (sc.getOwner().equalsIgnoreCase(userId)) {\n\t\t\t\tchannels.add(sc);\n\t\t\t}\n\t\t}\n\t\treturn channels;\n\t}", "title": "" }, { "docid": "55712cd5c7002504443df908b57e425f", "score": "0.5203896", "text": "public void setChannelIds(List<Long> channelIds)\n {\n this.channelIds = channelIds;\n }", "title": "" }, { "docid": "f7295834ea137a2e60f9070b7aaa172c", "score": "0.5185641", "text": "public List<String> getIds() {\n List<String> ids = new ArrayList<String>();\n for (Item item : _idsToItems.values()) {\n if (!item.isDeleted() && item.isEnabled()) {\n ids.add(item.id);\n }\n }\n return ids;\n }", "title": "" }, { "docid": "e321bef9b029ce769ccf421593b939d2", "score": "0.5177004", "text": "public int getChannelId() {\r\n\t\treturn channelId;\r\n\t}", "title": "" }, { "docid": "db84441b2ae477849645248a3d385cb5", "score": "0.5167093", "text": "public List<IvrChannel> getIvrChannelList() {\n\t\tlogger.debug(\"Entering IVR channel getting list of all entity method...\");\n\t\tList<IvrChannel> rsList = null;\n\t\ttry {\n\t\t\trsList = ivrChannelDao.findAll();\n\t\t} catch ( Exception ex ) {\n\t\t\tlogger.error(\"Failed to load the data, Cause: \"+ex.getMessage(), ex);\n\t\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Failed to load the data, Cause: \"+ex.getMessage()));\n\t\t}\n\t\treturn rsList;\n\t}", "title": "" }, { "docid": "a28450e77fa537b67a83de4b414bfdec", "score": "0.51370907", "text": "public com.google.protobuf.ProtocolStringList\n getKeyIdsList() {\n return keyIds_;\n }", "title": "" }, { "docid": "a28450e77fa537b67a83de4b414bfdec", "score": "0.51370907", "text": "public com.google.protobuf.ProtocolStringList\n getKeyIdsList() {\n return keyIds_;\n }", "title": "" }, { "docid": "9f9b6ac58ad90abc29dec43780c702bd", "score": "0.5136794", "text": "public ChannelIdentifier getChannelID()\n {\n return _channelID;\n }", "title": "" }, { "docid": "e0f1a00457ce255785801cb966985cde", "score": "0.5133669", "text": "public ArrayList<String> getIdCombo() {\n return combinations;\n }", "title": "" }, { "docid": "94c9ed2f8bb00fa5030bd60bd66aeee0", "score": "0.51293486", "text": "public List<Identity> getConnectionList() {\n return this.edges.keySet().stream().filter(v -> v.getId() > this.getId()).map(Vertex::getName).collect(Collectors.toList());\n }", "title": "" }, { "docid": "e4eae1b54c0b121b3773c01db5eec233", "score": "0.51277983", "text": "@Array({5}) \n\t@Field(0) \n\tpublic Pointer<Integer > codec_ids() {\n\t\treturn this.io.getPointerField(this, 0);\n\t}", "title": "" }, { "docid": "ce3d3c59e13109ad6621c260aafc8f0c", "score": "0.5127445", "text": "@XmlAttribute(name=\"channels\")\n public int getChannels()\n {\n return mChannels;\n }", "title": "" }, { "docid": "7f4a62217169fe03ffe7b32c992ef41f", "score": "0.5123542", "text": "java.util.List<java.lang.Integer> getEffectidsList();", "title": "" }, { "docid": "cf59548015ee7dcfbe5a05eb20b1e6e8", "score": "0.5118689", "text": "public long[] getCampaignIds() {\n return campaignIds;\n }", "title": "" }, { "docid": "ebe43c4824ac6cd127040b4900f1f387", "score": "0.5117426", "text": "public String getChannelId() {\n return channelId;\n }", "title": "" }, { "docid": "f9e29b9139a7f4ce9669e86bc0d387ff", "score": "0.51074356", "text": "public List<ChannelHandlerContext> activeChannelHandlers() {\n\n List<ChannelHandlerContext> result = new ArrayList<>();\n synchronized (nodeID2ChannelHandler) {\n for (Map.Entry<String, ChannelHandlerContext> entry :\n nodeID2ChannelHandler.entrySet()) {\n if (entry.getValue().channel().isActive()) {\n result.add(entry.getValue());\n } else {\n logger.warn(\n \" channel handler not active ??? node: {}, ctx: {}\",\n entry.getKey(),\n System.identityHashCode(entry.getValue()));\n }\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "795b6edac07a078140ed1724da0ee4c3", "score": "0.5103894", "text": "@Override\n public Set<Channel> getAllChannels() throws SQLException {\n return channelDB.getAllChannels();\n }", "title": "" }, { "docid": "3ea52ce90ccde89025ada980c1b87549", "score": "0.5088914", "text": "public List<List<UUID>> getSpeakersId() {\r\n ArrayList<List<UUID>> ids = new ArrayList<>();\r\n for (Event event : events) {\r\n ids.add(event.getSpeakerId());\r\n }\r\n return ids;\r\n }", "title": "" }, { "docid": "be0686953fac9225c8a6fda884d3a3f6", "score": "0.5086951", "text": "public Collection<Integer> getAuthorizedCAIds(){\n return caauthorization.getAuthorizedCAIds(); \n }", "title": "" }, { "docid": "0661b820b2853e1ad60b171b3da96927", "score": "0.50323355", "text": "public com.google.protobuf.ProtocolStringList\n getKeyIdsList() {\n return keyIds_.getUnmodifiableView();\n }", "title": "" }, { "docid": "0661b820b2853e1ad60b171b3da96927", "score": "0.50323355", "text": "public com.google.protobuf.ProtocolStringList\n getKeyIdsList() {\n return keyIds_.getUnmodifiableView();\n }", "title": "" }, { "docid": "a4ecc0796e9efa54ada01b02b243e167", "score": "0.5028697", "text": "public java.util.List<String> getClientIds() {\n return clientIds;\n }", "title": "" }, { "docid": "843b42cea862f7fbb855dfa1f27e1adf", "score": "0.502789", "text": "SecurityPoliciesClient getSecurityPolicies();", "title": "" }, { "docid": "bbd183eeeb31489544872a926fe66787", "score": "0.5023674", "text": "public List<Channel> getRegistroClimas() { return registroClimas; }", "title": "" }, { "docid": "3b745cd786b241ff47e8d8605ec70822", "score": "0.5021301", "text": "List<String> getImageIds();", "title": "" }, { "docid": "45227d2fbcfcc9256aa2dd93ea9b1526", "score": "0.50129956", "text": "public ChannelId<?> getChannelId()\n\t{\n\t\treturn rChannelId;\n\t}", "title": "" }, { "docid": "3703e08998b856eac81f22d9618a9d4a", "score": "0.50082433", "text": "java.util.List<java.lang.String>\n getMessageIdList();", "title": "" }, { "docid": "f621cffc9b58b2b3039dfbe7b472a824", "score": "0.4993649", "text": "java.util.List<java.lang.Long> getGiftboxIdList();", "title": "" }, { "docid": "afcd6618e68d3ec3e7c6813524841692", "score": "0.49799785", "text": "public List<String> getRoleIDs() {\n List<String> ids = new ArrayList<String>();\n try {\n for (Role r : getRoles()) {\n ids.add(r.getID());\n }\n }\n catch (IOException ioe) {\n // nothing to do - returns empty list\n }\n return ids;\n }", "title": "" }, { "docid": "fd174c631c9a012a4435211d555ba9e1", "score": "0.4979439", "text": "java.util.List<java.lang.Integer> getEventIdsList();", "title": "" }, { "docid": "ce896d7d7329064265721ebcf40df518", "score": "0.4977298", "text": "public static List<Integer> getAchievementsIds()\n {\n return Collections.unmodifiableList(user.getAchievementsIds());\n }", "title": "" }, { "docid": "8492f6b1b3eb30b46f5b5510c17a138c", "score": "0.4966715", "text": "java.util.List<java.lang.String>\n getKeyIdsList();", "title": "" }, { "docid": "8492f6b1b3eb30b46f5b5510c17a138c", "score": "0.4966715", "text": "java.util.List<java.lang.String>\n getKeyIdsList();", "title": "" }, { "docid": "4bea9938017b1f448a6c652194d294a8", "score": "0.49366897", "text": "public Collection<Integer> getAuthorizedModules(){\n return this.logauthorization.getAuthorizedModules(); \t\n }", "title": "" }, { "docid": "d0257a93e696cac5592bdf73875f4db2", "score": "0.49302584", "text": "java.util.List<java.lang.Integer> getCccList();", "title": "" }, { "docid": "d0b90fc53e413ff07d53ff8b96fbe4de", "score": "0.49298602", "text": "public int getChannelCount() {\n return channelCount;\n }", "title": "" }, { "docid": "07451e2b8c185698b3ca47bd9c03acf6", "score": "0.49284637", "text": "Collection<String> getListOfTenantIds();", "title": "" }, { "docid": "31e34cc93479421346e48adbc2c722fb", "score": "0.49262568", "text": "java.util.List<java.lang.Long> getIdsList();", "title": "" }, { "docid": "0f9624beb0cb6255e4b98e5856064bbe", "score": "0.492039", "text": "public int getChannelCount()\n {\n int channels = 32;\n if ( isDoubleDataRateEnabled() )\n {\n // When the multiplexer is turned on, the upper two channel blocks are\n // disabled, leaving only 16 channels for capturing...\n channels = 16;\n }\n\n if ( this.deviceProfile != null )\n {\n channels = Math.min( channels, this.deviceProfile.getChannelCount() );\n }\n\n return channels;\n }", "title": "" }, { "docid": "2059c6c8d8e11d2b31fed1f99ccefe8d", "score": "0.4913365", "text": "@Override\r\n\tpublic Set<String> getListeningPluginChannels() {\n\t\tthrow new NotImplementedException();\r\n\t}", "title": "" }, { "docid": "031be63367bd2074d50dd13a499a1fa2", "score": "0.49095297", "text": "public List<String> contentPermissionSetIds() {\n return this.contentPermissionSetIds;\n }", "title": "" }, { "docid": "016812cd4dbe3cc608188b9d19fc745e", "score": "0.49048597", "text": "public abstract List<String> getIDs();", "title": "" }, { "docid": "5d18fcf62fb94761eec24d37cece9837", "score": "0.49038288", "text": "public java.util.List<java.lang.Integer>\n getCccList() {\n return ccc_;\n }", "title": "" }, { "docid": "bd19f170b96a44552ff97f26f4d4ff68", "score": "0.49000096", "text": "public String getChannelID()\r\n {\r\n return channelID;\r\n }", "title": "" }, { "docid": "410f4e218ab637df03c2dde5abc2279b", "score": "0.48974633", "text": "public String[] getIds() {\n return ids;\n }", "title": "" }, { "docid": "dd6ef10c2db59ed8198c91df09d735ac", "score": "0.4891049", "text": "public com.google.protobuf.ProtocolStringList\n getDriverIdList() {\n return driverId_.getUnmodifiableView();\n }", "title": "" }, { "docid": "0f0f164f40cabe9d22211469a1f2adfd", "score": "0.48852846", "text": "public int getEnabledChannelsMask()\n {\n return this.enabledChannels;\n }", "title": "" }, { "docid": "720c2d2b00f78c5dfc7af54841f60d93", "score": "0.4870864", "text": "@Override\n\t\tpublic String getChannelId() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "de4f74a9396eaa19969ce92918d539e2", "score": "0.48678634", "text": "java.util.List<java.lang.String>\n getProcessingModuleIdsList();", "title": "" }, { "docid": "de4f74a9396eaa19969ce92918d539e2", "score": "0.48678634", "text": "java.util.List<java.lang.String>\n getProcessingModuleIdsList();", "title": "" }, { "docid": "e10d4aa01b258264a2ab4a93db8ab373", "score": "0.48547754", "text": "public List<ObjectId> getCompetitionList() {\n return(new ArrayList<ObjectId>(competitions.keySet()));\n }", "title": "" }, { "docid": "7847a33eba55f4f689ac479e58001767", "score": "0.4850104", "text": "public java.util.List<java.lang.Integer>\n getCccList() {\n return ((bitField0_ & 0x00000001) != 0) ?\n java.util.Collections.unmodifiableList(ccc_) : ccc_;\n }", "title": "" }, { "docid": "ee42ae28bd6b05d54310ca30525355a7", "score": "0.48484343", "text": "public Collection<Long> getIdentifiers();", "title": "" }, { "docid": "1383a560b46dd7e64029644a202f5463", "score": "0.48403302", "text": "public List<Policy> getPolicies(){\r\n\t\treturn fPolicies;\r\n\t}", "title": "" }, { "docid": "1b4e9e58c0a7f02b441fe7e76f5b6dd2", "score": "0.48393142", "text": "@Override\n\tpublic List<Channel> findAll(int type) {\n\t\treturn channelDao.findAll(type);\n\t}", "title": "" }, { "docid": "74410f2bed6909fe22e07e6f60c0bcf4", "score": "0.483892", "text": "java.util.List<com.google.cloud.channel.v1.PurchasableSku> \n getPurchasableSkusList();", "title": "" }, { "docid": "14cf7962efdadd63548c2736c727a3ca", "score": "0.48350745", "text": "java.util.List<com.google.cloud.networksecurity.v1beta1.ClientTlsPolicy> \n getClientTlsPoliciesList();", "title": "" }, { "docid": "3d1e74b1ba8fb5aef54c7b77039ed211", "score": "0.48342335", "text": "java.util.List<java.lang.Integer> getLibraryIdList();", "title": "" }, { "docid": "afc95e4b2b999f9f100bbf28cd9052c4", "score": "0.4823766", "text": "public java.lang.String getListaIds();", "title": "" }, { "docid": "2a74812c8fc1ee37d1d91b3a89e9947e", "score": "0.48113036", "text": "protected synchronized int getChannelCount()\n {\n Selector selector = m_selector;\n return selector == null\n ? f_mapRegistrations.size()\n : Math.max(f_mapRegistrations.size(), selector.keys().size());\n }", "title": "" }, { "docid": "eea7ab6cce8b44ddeb699c9d8b6585df", "score": "0.48048338", "text": "List<UUID> getMemberIDs();", "title": "" }, { "docid": "23a3fe82522935dae1edec2c1d9e2075", "score": "0.48040354", "text": "public Set getManagedTunnelIds() {\n if (!_isLive) return null;\n Set ids = new HashSet(64);\n synchronized (_outboundTunnels) {\n ids.addAll(_outboundTunnels.keySet());\n }\n synchronized (_freeInboundTunnels) {\n ids.addAll(_freeInboundTunnels.keySet());\n }\n synchronized (_clientPools) {\n for (Iterator iter = _clientPools.values().iterator(); iter.hasNext(); ) {\n ClientTunnelPool pool = (ClientTunnelPool)iter.next();\n ids.addAll(pool.getInboundTunnelIds());\n }\n }\n return ids;\n }", "title": "" }, { "docid": "06c04a3398fcb5c64907ac84b2e69286", "score": "0.47963142", "text": "private List<String> enterpriseIDs() {\r\n\r\n\t\tList<String> enterpriseIds = new ArrayList<String>();\r\n//\t\tenterpriseIds.add(\"253\");\r\n//\t\tenterpriseIds.add(\"11\");\r\n\t\treturn enterpriseIds;\r\n\r\n\t}", "title": "" }, { "docid": "c73dee13b4544f4a0df6fb6c75acc165", "score": "0.47956732", "text": "java.util.List<java.lang.String> getPermissionsList();", "title": "" }, { "docid": "3645bc915efbff5c197191eb08e340af", "score": "0.47925913", "text": "java.lang.String getOwnerIds();", "title": "" } ]
c10eb98974d57d11a4fd368af0f9223d
function converts received time in seconds to minutes
[ { "docid": "950ea154839682b5cd8887b96943fdfb", "score": "0.0", "text": "public static float format(float floatForFormat, int roundPlace) {\n\n\t\tString numFormat = \"#.\";\n\t\tfor (int i = 0; i < roundPlace; i++) {\n\t\t\tnumFormat = numFormat + \"#\";\n\t\t}\n\n\t\tDecimalFormat newFormat = new DecimalFormat(numFormat);\n\n\t\tfloat floatFormatted = Float.valueOf(newFormat.format(floatForFormat));\n\n\t\treturn floatFormatted;\n\n\t}", "title": "" } ]
[ { "docid": "110506f67c2e0bcadd15cb028f918340", "score": "0.725699", "text": "private int convertToMinutes (int timeSeconds) {\n // This check is a bit redundant, UNREACHED is always >= any integer pruning threshold.\n if (timeSeconds == UNREACHED) {\n return UNREACHED;\n } else {\n int timeMinutes = timeSeconds / FastRaptorWorker.SECONDS_PER_MINUTE;\n return timeMinutes;\n }\n }", "title": "" }, { "docid": "c3d7ecb37bc20553ce997f79515c591b", "score": "0.71719366", "text": "public int toMinutes(){\n tt = (h * 60) + m;\n return tt;}", "title": "" }, { "docid": "ff3be39fded7edc354c93ed1a6795efe", "score": "0.69414675", "text": "private int toMins() {\n\t\treturn hour*60 + minute;\n\t}", "title": "" }, { "docid": "5cffa93de07c59a957b5ecf1dc23af25", "score": "0.6879871", "text": "public int convertingTime(String time) {\n\t\tString[] splitedTime=time.split(\":\");\n\t\t_hour=Integer.parseInt(splitedTime[0]);\n\t\t_minute=Integer.parseInt(splitedTime[1]);\n\t\treturn _hour*60+_minute;\n\t}", "title": "" }, { "docid": "95342885fab6e6e7202e4ff6d4c4ada3", "score": "0.6865565", "text": "private int timeToMinute(String time) throws NumberFormatException {\n\t\t\tif (time == null || time.length() == 0) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\t\n\t\t\tint hhmm = (int) Float.parseFloat(time);\n\t\t\tint hour = 0;\n\t\t\tint minute = 0;\n\t\t\t\n\t\t\tif (hhmm < 100) {\n\t\t\t\tminute = hhmm;\n\t\t\t} else {\n\t\t\t\thour = hhmm / 100;\n\t\t\t\tminute = hhmm % 100; \n\t\t\t}\n\t\t\t\n\t\t\treturn hour * 60 + minute;\n\t\t}", "title": "" }, { "docid": "71ce1d91e106cf8510e036e4a6355b24", "score": "0.6829012", "text": "public int getTimeInMin (String time) {\n\t\t//String time=new SimpleDateFormat(\"HH:mm\").format(new Date());\n\t\tString[] splitTime=time.split(\":\");\n\t\tint hr=Integer.parseInt(splitTime[0]);\n\t\tint mn=Integer.parseInt(splitTime[1].substring(0,2));\n\t\tif(hr>12){\n\t\t\thr=hr-12;\n\t\t}\n\t\tint timStamp=(hr*60)+mn;\n\t\treturn timStamp;\n\t}", "title": "" }, { "docid": "e37e44fba9a13ead105632bf78bb443f", "score": "0.68182534", "text": "public static int timeToMinutes(int Time) {\n \t//Use intToMilitaryTime to split hours and minutes\n \tString[] TimeasString=intToMilitaryTime(Time).split(\":\");\n \t//Add Minutes to 60*Hours\n \tint[] HoursAndMinutes = {Integer.parseInt(TimeasString[0]),Integer.parseInt(TimeasString[1])};\n \treturn (HoursAndMinutes[0]*60)+HoursAndMinutes[1];\n }", "title": "" }, { "docid": "f48324b63a541c2df59bd9587b87c457", "score": "0.6769163", "text": "public int toSecond(){\n return hour*3600+minute*60+second; \n }", "title": "" }, { "docid": "f4380375c4fc6065720741741307034e", "score": "0.65499085", "text": "public int getMinutes() {\r\n return (int) (mediaPlayer.getLength()/1000/60);\r\n }", "title": "" }, { "docid": "52cc1a9ecef407c2e785b218acd17323", "score": "0.6506721", "text": "public static void f_convert_minutes_to_seconds(){\n Scanner keyboard= new Scanner(System.in);\r\n System.out.println(\"Input the numbers minutes to convert:\");\r\n int minutes= keyboard.nextInt();\r\n int seconds=minutes*60;\r\n System.out.println(\"The numbers minutes :\"+minutes +\" have \"+seconds+\" Seconds\");\r\n }", "title": "" }, { "docid": "268376c86149cad15474f8ad43f03ce8", "score": "0.6479656", "text": "private double getTimeVal(String time) {\n int firstColon = time.indexOf(\":\");\n int secondColon = time.indexOf(\":\", firstColon + 1);\n\n //hour\n String ss = time.substring(0, firstColon);\n double t = Double.parseDouble(ss);\n\n //min\n ss = time.substring(firstColon + 1, secondColon);\n t = t + Double.parseDouble(ss) / 60;\n\n //sec\n ss = time.substring(secondColon + 1);\n t = t + Double.parseDouble(ss) / (60 * 60);\n\n return t;\n }", "title": "" }, { "docid": "d3c0fb87460637c63f5399f889b4741f", "score": "0.64099234", "text": "public static void f_convert_seconds_to_hours_and_minutes(){\n System.out.println(\"Input the numbers seconds to convert:\");\r\n Scanner keyboard= new Scanner(System.in);\r\n int seconds= keyboard.nextInt();\r\n int hours= seconds/3600;\r\n int minutes= (seconds%3600)/60;\r\n System.out.println(\"The numbers seconds :\"+seconds +\" is same to \"+hours+\" hours and \"+minutes+\" minutes\");\r\n }", "title": "" }, { "docid": "befc604dc9832c71e6d15a19c0fd2183", "score": "0.63949263", "text": "int getMinute();", "title": "" }, { "docid": "22a5a9ff280cae23c8087517b40a7f77", "score": "0.62683743", "text": "long getTimeMsec();", "title": "" }, { "docid": "0110ec731bee08829f055faf1107dac1", "score": "0.6234953", "text": "int minute();", "title": "" }, { "docid": "7a66cc0dbfc16a840476b13af31ec040", "score": "0.6229141", "text": "protected BigDecimal convert_From_Seconds_To_Minutes(double inputValue)\n {\n return BigDecimal.valueOf(inputValue * 0.0166667).setScale(6, RoundingMode.CEILING);\n }", "title": "" }, { "docid": "5bbb9656137a6ec9c03187971d4a6fc7", "score": "0.61917996", "text": "protected BigDecimal convert_From_Miliseconds_To_Minutes(double inputValue)\n {\n return BigDecimal.valueOf(convert_From_Miliseconds_To_Seconds(inputValue).doubleValue() * 0.0166667).setScale(6, RoundingMode.CEILING);\n }", "title": "" }, { "docid": "2e3a381b454a3d3483c351e8ed8d683e", "score": "0.61845917", "text": "public static double perSecondToPerMinute(double val) {\n return val * 60;\n }", "title": "" }, { "docid": "3ea24da2fd4c68b369b0e2b6d29ba4bb", "score": "0.6176593", "text": "private int convertToSeconds(String t) {\n \t\tint sec = 0;\n \n \t\tString[] timeStr = t.split(\":\");\n \t\tif (timeStr[0] != \"00\") {\n \t\t\t// convert hours into seconds\n \t\t\tint h = Integer.parseInt(timeStr[0]) * 60 * 60;\n \t\t\tsec += h;\n \t\t}\n \n \t\tif (timeStr[1] != \"00\") {\n \t\t\t// convert minutes into seconds\n \t\t\tint m = Integer.parseInt(timeStr[1]) * 60;\n \t\t\tsec += m;\n \t\t}\n \n \t\tif (timeStr[2] != \"00\") {\n \t\t\t// convert minutes into seconds\n \t\t\tint s = Integer.parseInt(timeStr[2]);\n \t\t\tsec += s;\n \t\t}\n \n \t\treturn sec;\n \t}", "title": "" }, { "docid": "2a8b13eaa88e911d5232d42a41302325", "score": "0.61121017", "text": "public int getCurrentTimeInMin () {\n\t\tString time=new SimpleDateFormat(\"HH:mm\").format(new Date());\n\t\tString[] splitTime=time.split(\":\");\n\t\tint hr=Integer.parseInt(splitTime[0]);\n\t\tint mn=Integer.parseInt(splitTime[1].substring(0,2));\n\t\tif(hr>12){\n\t\t\thr=hr-12;\n\t\t}\n\t\tint timStamp=(hr*60)+mn;\n\t\treturn timStamp;\n\t}", "title": "" }, { "docid": "00006eb56242577400e6bc944eb56fac", "score": "0.61105794", "text": "private int calculatetime(String timeStr) {\n\n String[] timeArray = timeStr.split(\":\");\n int hour = Integer.parseInt(timeArray[0]);\n int minute = Integer.parseInt(timeArray[1]);\n int second = Integer.parseInt(timeArray[0].substring(0, 2));\n return (hour * 3600) + (minute * 60) + second;\n }", "title": "" }, { "docid": "00104eb4fa47729e5b887d4b8a56e3fd", "score": "0.60820097", "text": "public String convertToMillis(){\n String millis = \"\";\n //Convert String into Long\n long hrLong = Long.parseLong(this.getHr());\n long minLong = Long.parseLong(this.getMin());\n long secLong = Long.parseLong(this.getSec());\n\n //Add all the long after converting into milliseconds\n long totalLong = TimeUnit.HOURS.toMillis(hrLong)\n + TimeUnit.MINUTES.toMillis(minLong) +\n TimeUnit.SECONDS.toMillis(secLong);\n\n //Convert it back to a string\n millis = String.valueOf(totalLong);\n\n return millis;\n }", "title": "" }, { "docid": "3e667db0b2b3990e86473b599c2ce4ac", "score": "0.60513586", "text": "protected BigDecimal convert_From_Minute_To_Seconds(double inputValue)\n {\n return BigDecimal.valueOf(inputValue * 60).setScale(6, RoundingMode.CEILING);\n }", "title": "" }, { "docid": "c2d59c7b1a73ba4b448209b46177f3d5", "score": "0.60250366", "text": "private long tempoToMillisec(int tempo) {\n\t\treturn 60000 / tempo;\n\t}", "title": "" }, { "docid": "1645a3471c57fc22098d0040b75a564c", "score": "0.60186017", "text": "long getMinutesPlayed();", "title": "" }, { "docid": "394afa713906f5790dcd7ccbbae46867", "score": "0.6016893", "text": "public int getTimeMinute() {\n\t\treturn minutes;\n\t}", "title": "" }, { "docid": "717d4c547186d9beaa0b3264d48da7f6", "score": "0.60123193", "text": "private int timeDiffInMin(Calendar timPar1, Calendar timPar2) {\n\r\n\t\tSimpleDateFormat timeFormat = new SimpleDateFormat(\"HH.mm\");\r\n\t\tString time1;\r\n\t\tString time2;\r\n\t\t\r\n\t\ttime1 = timeFormat.format(timPar1.getTime());\r\n\t\ttime2 = timeFormat.format(timPar2.getTime());\r\n\t\tfloat timeparse1 = Float.parseFloat(time1);\r\n\t\tfloat timeparse2 = Float.parseFloat(time2);\r\n\t\tint timeparseint1 = (int) timeparse1;\r\n\t\tint timeparseint2 = (int) timeparse2;\r\n\t\tint actual1 = (int) (((timeparseint1 % 60) * 60) + ((Math.round(timeparse1 * 100)) % 100));\r\n\t\tint actual2 = (int) (((timeparseint2 % 60) * 60) + ((Math.round(timeparse2 * 100)) % 100));\r\n\t\tfloat diff = (float) ((actual1 - actual2));\r\n\t\tint diffint = (int) (diff);\r\n\t\t\r\n\t\treturn diffint;\r\n\r\n\t}", "title": "" }, { "docid": "6c7abb855a3799a9fdeaadbb87370cdc", "score": "0.60015696", "text": "private double inMinutes(NumberValue n) {\n \t\n \tif (n.unit.equals(\"hours\")) return n.value * 60;\n else if (n.unit.equals(\"days\")) return n.value * 60 * 24;\n else if (n.unit.equals(\"weeks\")) return n.value * 60 * 24 * 7;\n else if (n.unit.equals(\"years\")) return n.value * 60 * 24 * 365;\n \t\n \treturn n.value;\n \t\n }", "title": "" }, { "docid": "adfda754661e39b0e2f0190ce57ebd8c", "score": "0.5976112", "text": "public void normalizeTime(){\n if(minutes >= MAX_MINUTES){\n hours += minutes/MAX_MINUTES;\n minutes = minutes%MAX_MINUTES;\n }\n if(hours > MAX_HOURS){\n hours = hours%MAX_HOURS;\n }\n }", "title": "" }, { "docid": "660df2f51fd1bd123b0ec6c86f81a96e", "score": "0.59604245", "text": "private String longToTimePeriod(long time){\n String czas=new String(\"\");\n long temp=time/3600;\n czas=Long.toString(temp) + \"h:\";\n time%=3600;\n temp=time/60;\n czas+=Long.toString(temp)+\"m:\";\n time%=60;\n temp=time/60;\n czas+=Long.toString(temp)+\"s\";\n return czas;\n}", "title": "" }, { "docid": "ce4d2787fbddb8279464eec7fe9c0c20", "score": "0.5938359", "text": "String secToTime(int rSeconds){\n\t\tint seconds = rSeconds % 60;\n\t\trSeconds -= rSeconds % 60;\n\t\tint min = (rSeconds % 3600)/60;\n\t\trSeconds -= rSeconds % 3600;\n\t\tint hours = rSeconds/3600;\n\t\tString result;\n\t\tif(hours < 10) result = \"0\" + Integer.toString(hours) + \":\";\n\t\telse result = Integer.toString(hours) + \":\";\n\t\t\n\t\tif(min < 10) result += \"0\" + Integer.toString(min) + \":\";\n\t\telse result += Integer.toString(min) + \":\";\n\t\t\n\t\tif (seconds < 10) result += \"0\" + Integer.toString(seconds);\n\t\telse result += Integer.toString(seconds);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "0521ad577b827d5d2afacf193a788ef4", "score": "0.59259534", "text": "private long convertMintoMilli(int min){\n long cdtMilli= TimeUnit.MINUTES.toMillis(min);\n return cdtMilli;\n }", "title": "" }, { "docid": "4373d9ac73e9956b0e2f2302fe17f9ed", "score": "0.5914988", "text": "public int getMinutes(){\r\n\t\treturn minutes;\r\n\t}", "title": "" }, { "docid": "8f56fb79a8eda08650957147e014d23f", "score": "0.589572", "text": "private double extractDuration(String line) {\n\t\tMatcher m = durationPattern.matcher(line);\n\t\tString found = \"\";\n\t\tif (m.find()) {\n\t\t\tfound = m.group(0);\n\t\t}\n\t\t//format is now HH:MM:SS:%ofSecond\n\t\tString[] hms = found.split(\":\");\n\t\tString[] sms = hms[2].split(\"\\\\.\");\n\t\tdouble totalMilliSeconds = 0;\n\t\ttotalMilliSeconds += Double.parseDouble(sms[1]) * 10;// Add milliseconds\n\t\ttotalMilliSeconds += Double.parseDouble(sms[0]) * 1000; // Add seconds\n\t\ttotalMilliSeconds += Double.parseDouble(hms[1]) * 60 * 1000; // Add\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// minutes\n\t\ttotalMilliSeconds += Double.parseDouble(hms[0]) * 60 * 60 * 1000; // Add\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// hours\n\t\treturn totalMilliSeconds;\n\t}", "title": "" }, { "docid": "5638fa6fe370a42478af626766bd03f9", "score": "0.58894736", "text": "public int getMinutes() {\r\n int startMinutes = 0;\r\n int endMinutes = 0;\r\n\r\n if (this.start.getMeridian() == TimeX.Meridian.PM) {\r\n startMinutes += 720;\r\n }\r\n\r\n if (this.start.getHour() != 12) {\r\n startMinutes += this.start.getHour() * 60;\r\n }\r\n startMinutes += this.start.getMinute();\r\n\r\n if (this.end.getMeridian() == TimeX.Meridian.PM) {\r\n endMinutes += 720;\r\n }\r\n\r\n if (this.end.getHour() != 12) {\r\n endMinutes += this.end.getHour() * 60;\r\n }\r\n endMinutes += this.end.getMinute();\r\n\r\n\r\n if (endMinutes < startMinutes) {\r\n return 1440 - startMinutes + endMinutes;\r\n }\r\n else {\r\n return endMinutes - startMinutes;\r\n }\r\n }", "title": "" }, { "docid": "f7511308e0c78d42d81e786d501bd7b2", "score": "0.58881134", "text": "private String convertTime(String s) {\n\n Date initDate = null;\n try {\n initDate = new SimpleDateFormat(\"HH:mm\").parse(s);\n } catch (ParseException e) {\n e.printStackTrace();\n }\n SimpleDateFormat formatter = new SimpleDateFormat(\"HH:mm\");\n String parsedTime = formatter.format(initDate);\n\n return parsedTime;\n\n }", "title": "" }, { "docid": "059a37449da3d891b483992239644e01", "score": "0.5876063", "text": "public static long parseTime(String timestring) {\n long rval = 0;\n if (!LogicUtil.nullOrEmpty(timestring)) {\n String[] parts = timestring.split(\":\");\n if (parts.length == 1) {\n //Seconds display only\n rval = (long) (ParseUtil.parseDouble(parts[0], 0.0) * 1000);\n } else if (parts.length == 2) {\n //Min:Sec\n rval = ParseUtil.parseLong(parts[0], 0) * 60000;\n rval += ParseUtil.parseLong(parts[1], 0) * 1000;\n } else if (parts.length == 3) {\n //Hour:Min:Sec\n rval = ParseUtil.parseLong(parts[0], 0) * 3600000;\n rval += ParseUtil.parseLong(parts[1], 0) * 60000;\n rval += ParseUtil.parseLong(parts[2], 0) * 1000;\n }\n }\n return rval;\n }", "title": "" }, { "docid": "76d030b1efca60cca4db3f9cfcbaadf1", "score": "0.5872606", "text": "java.lang.String getTimesecs();", "title": "" }, { "docid": "f37d50b5236bbf3ae647d958ef4c8521", "score": "0.5869874", "text": "static String timeConversion(String s) {\n String[] elements = s.split(\":\");\n System.out.println(elements[2]);\n String secondsString = elements[2].substring(0, 2);\n String retardedFormatAddition = elements[2].substring(2, 4);\n int hours = Integer.parseInt(elements[0]);\n int minutes = Integer.parseInt(elements[1]);\n int seconds = Integer.parseInt(secondsString);\n\n\n if (retardedFormatAddition.equals(\"PM\") && hours != 12) {\n hours += 12;\n } else if (retardedFormatAddition.equals(\"AM\") && hours == 12) {\n hours -= 12;\n }\n\n String hourToOutput = getCorrectTimeElement(hours);\n String minuteToOutput = getCorrectTimeElement(minutes);\n String secondToOutput = getCorrectTimeElement(seconds);\n\n return hourToOutput + \":\" + minuteToOutput + \":\" + secondToOutput;\n }", "title": "" }, { "docid": "fb30ab87e3774291df62a6e9342261f5", "score": "0.5835778", "text": "public int getMinute() {\n/* 698 */ return this.minute;\n/* */ }", "title": "" }, { "docid": "4982305ea52c29538d5a8d16bd7a8676", "score": "0.58304596", "text": "public static double convertTime(double time) \n\t{\n\t\treturn time*SimPanel.TPS;\n\t}", "title": "" }, { "docid": "4f72d7be59dd538272fd1d6f1a8cbcf7", "score": "0.58232546", "text": "private String getTimeString(int time) {\n\n String outStr = \"00:00\";\n\n if (time > 0) {\n int minute = time / 60;\n int second = time - (minute * 60);\n\n outStr = String.format(\"%02d:%02d\", minute, second);\n }\n\n return outStr;\n }", "title": "" }, { "docid": "e8b37da56f1984cf0f453cf4eb131bbd", "score": "0.58113307", "text": "private static String convertClock(String time){\n\n String timeInClock = \"\";\n try {\n final SimpleDateFormat sdf = new SimpleDateFormat(\"H:mm\");\n final Date dateObj = sdf.parse(time);\n timeInClock = (new SimpleDateFormat(\"hh:mm aa\").format(dateObj));\n } catch (final ParseException e) {\n e.printStackTrace();\n timeInClock = time;\n }\n\n return timeInClock;\n }", "title": "" }, { "docid": "3339b5db3e82f555ee5757544a5d1937", "score": "0.58065295", "text": "public LocalTime minusMinutes(long paramLong) {\n/* 1237 */ return plusMinutes(-(paramLong % 1440L));\n/* */ }", "title": "" }, { "docid": "01b545a5f4dccc57b7aa744fcb8249e4", "score": "0.58032155", "text": "private int getTimeInSeconds(int hours, int minutes, int seconds) {\n\t\thours = (hours > 12) ? (hours - 12) : hours; \n\t\treturn ((hours * 3600) + (minutes * 60) + seconds);\n\t}", "title": "" }, { "docid": "4420f9f2032b74dd3793ff72b97a558a", "score": "0.5795265", "text": "static String timeConversion(String s) {\n\n String[] tokens = s.split(\":\");\n String hours = tokens[0];\n String minutes = tokens[1];\n String seconds = tokens[2].substring(0,2);\n String timeofDay = tokens[2].substring(2,4);\n String timeConvert = \"\";\n\n\n int hourofDay;\n\n if(timeofDay.equals(\"PM\")) {\n if(Integer.parseInt(hours) < 12){\n hourofDay = Integer.parseInt(hours);\n hourofDay = hourofDay + 12;\n hours = Integer.toString(hourofDay);\n }\n }\n if(timeofDay.equals(\"AM\")){\n if(Integer.parseInt(hours) == 12){\n hours = \"00\";\n }\n }\n timeConvert = hours + \":\" + minutes + \":\" + seconds;\n\n\n return timeConvert;\n\n }", "title": "" }, { "docid": "b03b95c807b62bbf87cd2ca9b94a8934", "score": "0.57850575", "text": "public int getCurrentPositionMinutes() {\r\n long totalLength = getTotalLengthInSeconds();\r\n float currentPosition = mediaPlayer.getPosition();\r\n float position = currentPosition*totalLength;\r\n return (int) (position/60);\r\n }", "title": "" }, { "docid": "5fb5821f4c90a12dde341c20b5079529", "score": "0.5784635", "text": "private String ConvertSecondToHHMMString(int secondtTime) {\n TimeZone tz = TimeZone.getTimeZone(\"UTC\");\n SimpleDateFormat df = new SimpleDateFormat(\"HH:mm:ss\");\n df.setTimeZone(tz);\n String time = df.format(new Date(secondtTime * 1000L));\n\n return time;\n\n }", "title": "" }, { "docid": "5e68883e4553e1e1b401396665f9caea", "score": "0.5782965", "text": "private static int convertTime(String time) {\n if(time.contains(\"am\")) {\n int intTime = Integer.parseInt(time.replaceAll(\"\\\\D+\",\"\"));\n if(intTime > 1200){ //change\n throw new NumberFormatException(\"The time cannot be greater than 12am if you are entering the time using the 12 hour format. Alternatively, you can enter using the 24 hour format.\");\n } else {\n return intTime;\n }\n }\n if(time.contains(\"pm\")) {\n int intTime = Integer.parseInt(time.replaceAll(\"\\\\D+\",\"\"));\n if(intTime > 1200){\n throw new NumberFormatException(\"The time cannot be greater than 12pm if you are entering the time using the 12 hour format. Alternatively, you can enter using the 24 hour format.\");\n }\n return intTime + 1200;\n }\n //When input is just number\n\n int intTime = Integer.parseInt(time.replaceAll(\"\\\\D+\",\"\"));\n if(intTime > 2400) {\n throw new NumberFormatException(\"The time cannot be greater than 24 if you are entering the time using the 24 hour format. Alternatively, you can enter using the 12 hour format and adding 'pm' after it.\");\n } else {\n return intTime;\n }\n }", "title": "" }, { "docid": "39642c506dca9388aa0205e839414ee2", "score": "0.5772802", "text": "public static String convert_intSec2Digits(int t) {\r\n\t\t\r\n\t\tint sec = t % 60;\r\n\t\t\r\n\t\tif (t / 60 < 1) {\r\n\t\t\t\r\n//\t\t\treturn \"00:00:\" + String.valueOf(sec);\r\n\t\t\treturn \"00:00:\" + Methods.convert_sec2digits(sec, 2);\r\n\t\t\t\r\n\t\t}//if (t / 60 < 1)\r\n\t\t\r\n//\t\tint min = (t - sec) % 60;\r\n\t\tint min = ((t - sec) % (60 * 60)) / 60;\r\n\t\t\r\n\t\tif ((t - sec) / (60 * 60) < 1) {\r\n\t\t\t\r\n//\t\t\treturn \"00:\" + String.valueOf(min) + \":\" + String.valueOf(sec);\r\n\t\t\treturn \"00:\"\r\n\t\t\t\t+ Methods.convert_sec2digits(min, 2) + \":\"\r\n\t\t\t\t+ Methods.convert_sec2digits(sec, 2);\r\n\t\t\t\r\n\t\t}//if (variable == condition)\r\n\t\t\r\n//\t\tint hour = (t - min) / 60;\r\n\t\tint hour = (t - sec) / (60 * 60);\r\n\t\t\t\t\r\n//\t\treturn String.valueOf(hour) + \":\"\r\n//\t\t\t\t+ String.valueOf(min) + \":\"\r\n//\t\t\t\t+ String.valueOf(sec);\r\n\r\n\t\treturn Methods.convert_sec2digits(min, 2) + \":\"\r\n\t\t+ Methods.convert_sec2digits(min, 2) + \":\"\r\n\t\t+ Methods.convert_sec2digits(sec, 2);\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "94df57a438ff64f142aa58ed8b02bf66", "score": "0.5770499", "text": "static String timeConversion(String s) {\n /*\n * Write your code here.\n */\n String[] split = s.substring(0, 8).split(\":\");\n String h = split[0];\n String hh = \"\";\n\n if (s.contains(\"PM\")){\n hh = h.equals(\"12\")?h:Integer.toString(Integer.parseInt(h) + 12);\n }else{\n hh = h.equals(\"12\")?\"00\":h;\n }\n\n return hh+\":\"+split[1]+\":\"+split[2];\n\n }", "title": "" }, { "docid": "a3c6ee06fc0820207c02ed4332e84fd8", "score": "0.5766678", "text": "public static double perMinuteToPerSecond(double val) {\n return val / 60;\n }", "title": "" }, { "docid": "067141523fbce94b0da6762ee1434609", "score": "0.57665", "text": "public String secToTimeString(int time){\n int hour;\n int minute;\n int second;\n String newTime;\n \n if (time>= 3600) {\n hour=time/3600;\n minute=(time%3600)/60;\n second=time-hour*3600-minute*60;\n newTime=String.format(\"%02d:%02d:%02d\",hour,minute,second);\n }\n else {\n if(time>= 60) {\n minute=time/60;\n second=time%60;\n newTime=String.format(\"%02d:%02d\",minute,second);\n }\n else {\n second=time;\n newTime=String.format(\"%02d\",second);\n }\n }\n return newTime;\n }", "title": "" }, { "docid": "3b5a71a16d59440ea4c0962e7158310d", "score": "0.5764249", "text": "private static int timeToBtime(String s) {\n try {\n return Integer.parseInt(s.substring(0, 2)) * 3600\n + Integer.parseInt(s.substring(2, 4)) * 60\n + Integer.parseInt(s.substring(4, 6));\n } catch (NumberFormatException ex) {\n return 0;\n }\n }", "title": "" }, { "docid": "48c02dc5393505802c5823c75061501c", "score": "0.5760794", "text": "public int getMinutes() {\n return minutes;\n }", "title": "" }, { "docid": "86b14f71567965f8e5b547c26e076a36", "score": "0.57567894", "text": "private String parseTime(String line) {\n\t\thour = Integer.parseInt(line.substring(1,3));\n\t\tminutes=Integer.parseInt(line.substring(4,6));\n\t\treturn (String) line.substring(8);\n\t}", "title": "" }, { "docid": "3717214d99148e0f596e6fa809c2810f", "score": "0.5749354", "text": "public int inSeconds()\r\n\t {\r\n\t int hourSec = SECONDS_PER_HOUR * hours;\r\n\t int minSec = SECONDS_PER_MINUTE * minutes;\r\n\t return hourSec + minSec + seconds;\r\n\t }", "title": "" }, { "docid": "a96ab43edb90c92c7938f05b061f3688", "score": "0.57354015", "text": "public static String secToTime(int time) {\n String timeStr = null;\n int hour = 0;\n int minute = 0;\n int second = 0;\n if (time <= 0)\n return \"00:00\";\n else {\n minute = time / 60;\n if (minute < 60) {\n second = time % 60;\n timeStr = unitFormat(minute) + \"分\" + unitFormat(second)+ \"秒\";\n } else {\n hour = minute / 60;\n if (hour > 99)\n return \"99:59:59\";\n minute = minute % 60;\n second = time - hour * 3600 - minute * 60;\n timeStr = unitFormat(hour) + \"小时\" + unitFormat(minute) + \"分\" + unitFormat(second) + \"秒\";\n }\n }\n return timeStr;\n }", "title": "" }, { "docid": "b30ff3c6162535844d68efbdc68f9c8d", "score": "0.57107145", "text": "private int getMinute() {\r\n return calendar.get(Calendar.MINUTE);\r\n }", "title": "" }, { "docid": "e5daf611ecbd3c56e385a9f3bf5c2210", "score": "0.5707131", "text": "static String timeConversion(String s) {\n /*\n * Write your code here.\n */\n String ampm = s.substring(s.length()-2);\n int hr = Integer.valueOf(s.substring(0,2));\n\n if(ampm.equalsIgnoreCase(\"PM\")&& hr<12) {\n hr+=12;\n }\n if(hr<10 && ampm.equalsIgnoreCase(\"AM\")){\n return \"0\"+hr + s.substring(2,s.length()-2);\n }\n if(hr==12 && ampm.equalsIgnoreCase(\"AM\")){\n return \"00\" + s.substring(2,s.length()-2);\n }\n return hr + s.substring(2,s.length()-2);\n }", "title": "" }, { "docid": "5e24b4efc481de705ba204c0f72f01de", "score": "0.57007253", "text": "protected BigDecimal convert_From_Minute_To_Milliseconds(double inputValue)\n {\n return BigDecimal.valueOf(inputValue * 60000).setScale(6, RoundingMode.CEILING);\n }", "title": "" }, { "docid": "8353c0c752e956bdae94f2f5af292f69", "score": "0.569089", "text": "private static String timeConverter(long totalMilliseconds) {\n long minutes = (totalMilliseconds / 1000) / 60;\n long seconds = (totalMilliseconds / 1000) % 60;\n long millis = totalMilliseconds - seconds * 1000;\n return String.format(\"%2d min. %2d sec. %2d ms.\", minutes, seconds, millis);\n }", "title": "" }, { "docid": "65b7d03b275f0060a338e9586755d8b6", "score": "0.5687699", "text": "public static String int2Time(Integer value)\t{\r\n\r\n\t\tint ss = value % 60;\r\n\t\tvalue /= 60;\r\n\t\tint min = value % 60;\r\n\t\tvalue /= 60;\r\n\t\tint hh = value % 24;\r\n\r\n\t\treturn strzero(hh) + \":\" + strzero(min) + \":\" + strzero(ss);\r\n\t}", "title": "" }, { "docid": "2dad9eed5a825e0fa100156bce1c6db4", "score": "0.5686186", "text": "public static long getMs(String time) {\n try {\n return FormatUtils.parseTimeSize(time);\n } catch (Exception e) {\n throw new RuntimeException(MessageFormat.format(\"{0} is not valid time\", time));\n }\n }", "title": "" }, { "docid": "64812cf5101e4632d69b8b899a20076f", "score": "0.5650388", "text": "public double convertElapsedTime(long elapsedTime) {\n double time = 0;\n\n if (timeUnit.equals(\"minutes\"))\n time = (double) elapsedTime / 60;\n else if (timeUnit.equals(\"hours\"))\n time = (double) elapsedTime / (60 * 60);\n\n return time;\n }", "title": "" }, { "docid": "1c87f812041134c43d1cb27deef3d928", "score": "0.5643586", "text": "public void handleTime(String sender, long time) {\n\t\tsetUserAmount(sender, getUserAmount(sender) + (this.amounts.get(\"amountPerMinute\") * time));\n\t}", "title": "" }, { "docid": "3266d21941f37a6003148ac78cd5aa33", "score": "0.5642769", "text": "public static void militarytime(String times){\r\n\t\t\r\n\t\tString hour = times.substring(0,2);\r\n\t\tint hh = Integer.parseInt(hour);\r\n\t\t\r\n\t\tString min = times.substring(3,5);\r\n\t\t\r\n\t\tString sec = times.substring(6,8);\r\n\t\t\r\n\t\t\r\n\t\tString format = times.substring(8,10);\r\n\t\t\r\n\t\tif (hh == 12 && format.equals(\"AM\")) {\r\n\t\t\thour= \"00\";\r\n\t\t\tSystem.out.println(hour+\":\"+min+\":\"+sec);\r\n\t\t\t\t\r\n\t\t}else if(hh < 12 && format.equals(\"AM\")){\r\n\t\t\t\r\n\t\t\tSystem.out.println(hour+\":\"+min+\":\"+sec);\r\n\t\t}else if(hh>12 && format.equals(\"AM\")){\r\n\t\t\t\r\n\t\t\tSystem.out.println(hour+\":\"+min+\":\"+sec);\r\n\t\t\t\r\n\t\t}\r\n\t\r\n\t\t\r\n\t\t\r\n\t\tif (hh < 12 && format.equals(\"PM\")){\r\n\t\t\t\r\n\t\t\thh+=12;\r\n\t\t\tSystem.out.println(hh+\":\"+min+\":\"+sec);\r\n\t\t\t\r\n\t\t}else if(hh == 12 && format.equals(\"PM\")){\r\n\t\t\t\r\n\t\t\tSystem.out.println(hour+\":\"+min+\":\"+sec);\r\n\t\t\t\r\n\t\t}else if(hh>12 && format.equals(\"PM\")){\r\n\t\t\t\r\n\t\t\tSystem.out.println(hour+\":\"+min+\":\"+sec);\r\n\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "eec2652d6c567309242af4ac05fe180c", "score": "0.5637006", "text": "@Test \n\tpublic void testConvertHMS() { \n\t\t//create a long that in ms that is equivalent to 6H 3M 5S \n\t\tlong ms = 1000*5 + 1000*60*3 + 1000*60*60*6; \n\t\tlong hours = 6; long mins = 3; long secs = 5; \n\t\tlong[] converted = Time.convertHMS(ms); \n\t\tassertEquals(hours, converted[0]); \n\t\tassertEquals(mins, converted[1]);\n\t\tassertEquals(secs, converted[2]); \n\t}", "title": "" }, { "docid": "79c16748bcd819c442fd462ccc88fbd0", "score": "0.5634694", "text": "public static String convert_intSec2Digits(int t) {\n\t\t\n\t\tint sec = t % 60;\n\t\t\n\t\tif (t / 60 < 1) {\n\t\t\t\n//\t\t\treturn \"00:00:\" + String.valueOf(sec);\n\t\t\treturn \"00:00:\" + Methods.convert_sec2digits(sec, 2);\n\t\t\t\n\t\t}//if (t / 60 < 1)\n\t\t\n//\t\tint min = (t - sec) % 60;\n\t\tint min = ((t - sec) % (60 * 60)) / 60;\n\t\t\n\t\tif ((t - sec) / (60 * 60) < 1) {\n\t\t\t\n//\t\t\treturn \"00:\" + String.valueOf(min) + \":\" + String.valueOf(sec);\n\t\t\treturn \"00:\"\n\t\t\t\t+ Methods.convert_sec2digits(min, 2) + \":\"\n\t\t\t\t+ Methods.convert_sec2digits(sec, 2);\n\t\t\t\n\t\t}//if (variable == condition)\n\t\t\n\n\t\t\t\t\n//\t\treturn String.valueOf(hour) + \":\"\n//\t\t\t\t+ String.valueOf(min) + \":\"\n//\t\t\t\t+ String.valueOf(sec);\n\n\t\treturn Methods.convert_sec2digits(min, 2) + \":\"\n\t\t+ Methods.convert_sec2digits(min, 2) + \":\"\n\t\t+ Methods.convert_sec2digits(sec, 2);\n\n\t\t\n\t}", "title": "" }, { "docid": "74dbbbe3ad9fffdb4f58629e6ea3d076", "score": "0.56220776", "text": "public long getActualServerTimeInSeconds(long seconds);", "title": "" }, { "docid": "1617be4b3618ebe67247a32e1e81c8d4", "score": "0.56066006", "text": "private Duration calculateDuration() {\n int hours;\n try {\n hours = Integer.parseInt(hourSpinner.getText());\n } catch (Exception e) {\n hours = 0;\n }\n int minutes;\n try {\n minutes = Integer.parseInt(minuteSpinner.getText());\n } catch (Exception e) {\n minutes = 0;\n }\n\n minutes = minutes + (hours * 60);\n return Duration.ofMinutes(minutes);\n }", "title": "" }, { "docid": "d268f0c91944bca89939346f7983c211", "score": "0.5584465", "text": "static String timeConversion(String s) throws ParseException {\n\t\t/*\n\t\t * Write your code here.\n\t\t */\n\t\t\n\t\tDateFormat inputFormat = new SimpleDateFormat(\"hh:mm:ssa\");\n\t\tDateFormat outputFormat = new SimpleDateFormat(\"HH:mm:ss\");\n\t\treturn outputFormat.format(inputFormat.parse(s));\n\t\t\n/*\t\tif(s.substring(8,10).contains(\"PM\")) {\n\t\t\tint time = Integer.parseInt(s.substring(0,2));\n\t\t\t if (time==12) {\n\t\t\t\t return s.substring(0,8);\n\t\t\t\t}\n\t\t\t else {\n\t\t\t\t time+=12;\n\t\t\t }\n\t\t\t\tString newChar = String.valueOf(time);\n\t\t\t\treturn newChar.concat(s.substring(2,8));\n\n\t\t}\n\t\telse {\n\t\t\tint time = Integer.parseInt(s.substring(0,2));\n\t\t\t if (time==12) {\n\t\t\t\t\treturn \"00\".concat(s.substring(2,8));\n\n\t\t\t\t}\n\n\t\t\treturn s.substring(0,8);\n\t\t}\n*/\t\t\n\n\n\t}", "title": "" }, { "docid": "9409f7c7782a8a4a501afdbb1e16c4f8", "score": "0.55839235", "text": "public int getSeconds() {\n return secLength + minLength*60 + hrsLength*3600;\n }", "title": "" }, { "docid": "f946663374f03850e95a330d03ac284b", "score": "0.55700827", "text": "private static long str2seconds0(String str) {\n if (StringUtil.isEmpty(str)) {\n return 0;\n }\n str = str.toLowerCase();\n long unit = 1;\n if ( str.endsWith(\"s\")) {\n str = str.substring(0, str.length()-1);\n }else if ( str.endsWith(\"m\")) {\n unit = 60;\n str = str.substring(0, str.length()-1);\n }else if ( str.endsWith(\"h\")) {\n unit = 60*60;\n str = str.substring(0, str.length()-1);\n }else if ( str.endsWith(\"d\")) {\n unit = 60*60*24;\n str = str.substring(0, str.length()-1);\n }else if ( str.endsWith(\"w\")) {\n unit = 60*60*24*7;\n str = str.substring(0, str.length()-1);\n } else if (str.endsWith(\"M\")) {\n unit = 30 * 24 * 60 * 60;\n str = str.substring(0, str.length() - 1);\n }\n return ((long)(Double.parseDouble(str))) * unit;\n }", "title": "" }, { "docid": "514a0afe4e624139a1007d3da54769e3", "score": "0.5563297", "text": "public long getSeconds() {\r\n return mediaPlayer.getLength()/1000 % 60;\r\n }", "title": "" }, { "docid": "3f41e8bc146b05beb4554e37b8a91e99", "score": "0.5561489", "text": "private int numSecondsInTimePortion() {\r\n\t\tint result = 0;\r\n\t\tif (fSecond != null) {\r\n\t\t\tresult = result + fSecond;\r\n\t\t}\r\n\t\tif (fMinute != null) {\r\n\t\t\tresult = result + 60 * fMinute;\r\n\t\t}\r\n\t\tif (fHour != null) {\r\n\t\t\tresult = result + 3600 * fHour;\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "10f9ffdb071620d82a1037620672dc0f", "score": "0.5545625", "text": "public int toSecondOfDay() {\n/* 1451 */ int i = this.hour * 3600;\n/* 1452 */ i += this.minute * 60;\n/* 1453 */ i += this.second;\n/* 1454 */ return i;\n/* */ }", "title": "" }, { "docid": "d2e80eed4db21b79d28a4f835f5cd002", "score": "0.55455416", "text": "protected BigDecimal convert_From_Hour_To_Minute(double inputValue)\n {\n return BigDecimal.valueOf(inputValue * 60).setScale(6, RoundingMode.CEILING);\n }", "title": "" }, { "docid": "5dfa3a5f0f8cf1436dc09db3f5214433", "score": "0.55437285", "text": "public int getRemainTime() {\n\t\treturn byte2int(mData[POS_TIME_HOUR]) * 60 +\n\t\t\t\tbyte2int(mData[POS_TIME_MINUTES]);\n\t}", "title": "" }, { "docid": "de4c5d365461f399baac3eea4ed05172", "score": "0.5538339", "text": "long getMinTimeMs();", "title": "" }, { "docid": "710b380272a18e7c8bd0f97cd7836492", "score": "0.5532569", "text": "public static void main(String[] args) {\n\tScanner in = new Scanner(System.in);\r\n\t\r\n\tSystem.out.println(\"Enter a time as minutes:seconds\");\r\n\tString inTime = in.nextLine();\r\n\tinTime = inTime.trim();\r\n\tint colon = inTime.indexOf(\":\");\r\n\tString minuteString = inTime.substring(0, colon);\t//Starting at the beginning of the string grab everything up until the colon\r\n\tString secondString = inTime.substring(colon+1,inTime.length()); //Starting at the position after the colon grab everything up until the end\r\n\tScanner minScan = new Scanner(minuteString);\t//scanner for our new Minutes string\r\n\tScanner secScan = new Scanner(secondString);\t//scanner for our new Seconds string\r\n\tSystem.out.println(\"Time in seconds is: \" + (minScan.nextDouble()*60+secScan.nextDouble()));\r\n\t}", "title": "" }, { "docid": "0e57e4b77bd19165e646180b446c801a", "score": "0.55270845", "text": "public String getElapsedTimeHoursMinutesSecondsString(long elapsedTime) { \n String format = String.format(\"%%0%dd\", 2);\n elapsedTime = elapsedTime / 1000;\n String seconds = String.format(format, elapsedTime % 60);\n String minutes = String.format(format, (elapsedTime % 3600) / 60);\n String hours = String.format(format, elapsedTime / 3600);\n String time = (!hours.equals(\"00\") ? hours + \"hr \" : \"\") + minutes + \"min \" + seconds + \"secs\";\n return time;\n }", "title": "" }, { "docid": "915d8bb3e94b4659efb007191e637e84", "score": "0.5526671", "text": "static long toMillis(long time) {\n return CLOCK.toMillis0(time);\n }", "title": "" }, { "docid": "7164e22202e463de00676bd4357ec4cb", "score": "0.55243397", "text": "long getObtainTime();", "title": "" }, { "docid": "1f34fe79010674dcdbf75716a58f3c1d", "score": "0.55237174", "text": "public static String convertTime2String(long ms){\n int hour = (int) (ms / (1000*60*60));\n int minute = (int) ((ms % (1000*60*60)) / (1000*60));\n int second = (int) ((ms % (1000*60*60) % (1000*60)) / 1000);\n String result, h=\"\", m=\"\", s=\"\";\n\n\n if (minute<10)\n m = \"0\"+minute;\n else m = minute+\"\";\n\n\n if (second<10)\n s = \"0\"+second;\n else s = second +\"\";\n\n\n if(hour <= 0) {\n result = m +\":\"+ s;\n }else if(hour < 10) {\n h = \"0\" + hour;\n result = h +\":\"+ m +\":\"+ s;\n }else{\n result = h +\":\"+ m +\":\"+ s;\n }\n\n\n return result;\n }", "title": "" }, { "docid": "8c1d3ad2cd12aa67e8b73e31f7e1b149", "score": "0.55232024", "text": "@Override\n public void onValueChange(NumberPicker picker2, int oldVal, int newValm){\n minutes=newValm;\n }", "title": "" }, { "docid": "74fef184b29799bed4254e3298871bdc", "score": "0.5513827", "text": "public int getMinute()\n {\n return minute;\n }", "title": "" }, { "docid": "fca056b0cfa804d4f2531c3eb883958b", "score": "0.55124795", "text": "private int getSelectedTimeInMilli() {\n Random random;\n int retVal = data.loadRadio();\n if (retVal == Data.RANDOM) {\n random = new Random(1234);\n retVal = random.nextInt(3) + 1;\n }\n switch (retVal) {\n case 1:\n retVal = SettingsActivity.SHORT_TIME;\n countDownSoundURI = R.raw.countdown_short;\n countdownSound = MediaPlayer.create(getApplicationContext(), countDownSoundURI);\n break;\n case 2:\n retVal = SettingsActivity.MID_TIME;\n countDownSoundURI = R.raw.countdown_mix;\n countdownSound = MediaPlayer.create(getApplicationContext(), countDownSoundURI);\n break;\n case 3:\n retVal = SettingsActivity.LONG_TIME;\n countDownSoundURI = R.raw.countdown_reg;\n countdownSound = MediaPlayer.create(getApplicationContext(), countDownSoundURI);\n }\n return retVal * 1000;\n }", "title": "" }, { "docid": "9696de508bfbf2e6d812e4a9b123557e", "score": "0.5511653", "text": "public String getTimeRemaining() {\r\n long seconds = getSecondsRemaining() % 60;\r\n int minutes = (int) (getSecondsRemaining()/60);\r\n return minutes + \":\" + seconds;\r\n }", "title": "" }, { "docid": "83f498b55246ad945ea228b08932b9da", "score": "0.55086786", "text": "public int minsSinceMidnight(){\n\t\t if (hour == 0 && minute ==0){\n\t\t\t return 0;\n\t\t }\n\t\t return hour*60 + minute;\n\t }", "title": "" }, { "docid": "41080e3b4f39244b465ba03b7bd44491", "score": "0.55082184", "text": "public Integer getMinute() {\r\n\t\tensureParsed();\r\n\t\treturn fMinute;\r\n\t}", "title": "" }, { "docid": "82c577677a43053cc3103166dc8d60a3", "score": "0.55044425", "text": "static String timeConversion(String s) {\r\n /*\r\n * Write your code here.\r\n */\r\n String timeString=\"\";\r\n String convTime=\"\";\r\n String[] timeArr=null;\r\n Integer hour=0;\r\n int last_index=0;\r\n if(s.contains(\"PM\")){\r\n last_index=s.lastIndexOf(\"PM\");\r\n timeString=s.substring(0,last_index);\r\n timeArr=timeString.split(\":\",3);\r\n hour=Integer.parseInt(timeArr[0]);\r\n if(hour!=12){\r\n hour+=12;\r\n timeArr[0]=hour.toString();\r\n }\r\n \r\n \r\n \r\n }\r\n else{\r\n last_index=s.lastIndexOf(\"AM\");\r\n timeString=s.substring(0,last_index);\r\n timeArr=timeString.split(\":\",3);\r\n hour=Integer.parseInt(timeArr[0]);\r\n if(hour==12){\r\n timeArr[0]=\"00\";\r\n }\r\n \r\n }\r\n convTime=timeArr[0]+\":\"+timeArr[1]+\":\"+timeArr[2];\r\n return convTime;\r\n }", "title": "" }, { "docid": "3d17f40a49f113e6f3126829cacbbdb6", "score": "0.5499917", "text": "public int getMinute()\n {\n return current_minute;\n }", "title": "" }, { "docid": "684e7490cb02633588e3016131cde692", "score": "0.5499727", "text": "public static String convertTime(long time) {\r\n long days = time / (24 * 60 * 60 * 1000);\r\n time %= (24 * 60 * 60 * 1000);\r\n long hours = time / (60 * 60 * 1000);\r\n time %= (60 * 60 * 1000);\r\n long minutes = time / (60 * 1000);\r\n\r\n StringBuffer buffer = new StringBuffer();\r\n if (days > 0) {\r\n buffer.append(\" \");\r\n buffer.append(days);\r\n buffer.append(\"d\");\r\n }\r\n if (hours > 0) {\r\n buffer.append(\" \");\r\n buffer.append(hours);\r\n buffer.append(\"h\");\r\n }\r\n buffer.append(\" \");\r\n buffer.append(minutes);\r\n buffer.append(\"m\");\r\n return buffer.toString();\r\n }", "title": "" }, { "docid": "c10f268b2211e2bd8911cbe827943262", "score": "0.5496328", "text": "public void fillTotalTimeField(){\n DbConnection dbConnection = new DbConnection();\n Connection connection = dbConnection.getConnection();\n\n try{\n Statement statement = connection.createStatement();\n String abfrage = \"Select timeofrace from stat where username='\"+friendusername.getText()+\"'\";\n ResultSet resultSet = statement.executeQuery(abfrage);\n\n int result = 0;\n\n while (resultSet.next()){\n int counter = 0;\n String time = resultSet.getString(1);\n\n for(int i = 0; i < time.length(); i++){\n if(!Character.isDigit(time.charAt(i)))\n counter++;\n }\n\n if(counter==1){\n String[] splitMinutes = time.split(\"\\\\:\");\n int minute = Integer.parseInt(splitMinutes[0]);\n int seconds = Integer.parseInt(splitMinutes[1]);\n\n minute = minute * 60;\n seconds = minute+seconds;\n\n result+=seconds;\n }\n else if(counter==2){\n String[] splitedHourseMinutes = time.split(\"\\\\:\");\n\n int hourse = Integer.parseInt(splitedHourseMinutes[0]);\n int minutes = Integer.parseInt(splitedHourseMinutes[1]);\n int seconds = Integer.parseInt(splitedHourseMinutes[2]);\n\n hourse = hourse * 60;\n minutes = minutes+hourse;\n int minutesToSeconds = minutes * 60;\n seconds = seconds+minutesToSeconds;\n\n result+=seconds;\n }\n }\n\n // totaltime.setText(Integer.toString(result));\n\n if(result<3600){\n StringBuilder stringBuilder = new StringBuilder();\n\n double minutes = result/60;\n double seconds = result%60;\n\n String sec = Integer.toString((int)seconds);\n if(sec.length()==1){\n sec = \"0\"+sec;\n }\n\n\n\n stringBuilder.append((int)minutes);\n stringBuilder.append(\":\");\n stringBuilder.append(sec);\n\n\n totaltime.setText(stringBuilder.toString());\n }\n else{\n StringBuilder stringBuilder = new StringBuilder();\n double hours = result/3600;\n stringBuilder.append((int)hours);\n stringBuilder.append(\":\");\n\n double restOfHourse = result%3600;\n double minutes = restOfHourse/60;\n\n String mins = Integer.toString((int)minutes);\n\n if(mins.length()==1){\n mins=0+mins;\n stringBuilder.append(mins);\n stringBuilder.append(\":\");\n }\n else{\n stringBuilder.append((int) minutes);\n stringBuilder.append(\":\");\n }\n\n double seconds = restOfHourse%60;\n String secs = Integer.toString((int) seconds);\n\n if(secs.length()==1){\n secs=0+secs;\n stringBuilder.append(secs);\n }\n else{\n stringBuilder.append((int) seconds);\n\n }\n\n\n\n totaltime.setText(stringBuilder.toString());\n //totaltime.setText(Double.toString(result));\n\n }\n\n\n\n }\n catch (SQLException sql){\n System.out.println(sql.getMessage());\n sql.printStackTrace();\n }\n }", "title": "" }, { "docid": "b4c2f41132a7f8e00eea8ad665a93855", "score": "0.5488035", "text": "public static String ConvertTimeString(Long time){\n Long End_time = (time % oneDay);\n\n return combine(End_time / oneMinute,(End_time % oneMinute) / oneSecond,End_time);\n\n }", "title": "" }, { "docid": "7e6bc08f425ede3132cbb7a9d2f0c18d", "score": "0.54794616", "text": "private int getValueTime(ComboBox<String> hour, ComboBox<String> min){\n\n if (hour.getSelectionModel().getSelectedItem() == null || min.getSelectionModel().getSelectedItem() == null){\n return 0;\n }\n return Integer.valueOf(hour.getSelectionModel().getSelectedItem()) * 60 + Integer.valueOf(min.getSelectionModel().getSelectedItem());\n }", "title": "" }, { "docid": "e937f6005ffde002fc389e6849ca61b8", "score": "0.547897", "text": "public int getMinutes() {\n\t\treturn minutes;\n\t}", "title": "" }, { "docid": "e9e06190f4ceff082b22121be0eb9cd6", "score": "0.54770625", "text": "public static Long parseTime(String time) {\n Matcher digitMatcher = timeRegex.matcher(time);\n if (digitMatcher.matches()) {\n try {\n return new PeriodFormatterBuilder()\n .appendHours().appendSuffix(\":\")\n .appendMinutes().appendSuffix(\":\")\n .appendSeconds()\n .toFormatter()\n .parsePeriod(time)\n .toStandardDuration().getMillis();\n } catch (IllegalArgumentException e) {\n return null;\n }\n }\n PeriodFormatter formatter = new PeriodFormatterBuilder()\n .appendHours().appendSuffix(\"h\")\n .appendMinutes().appendSuffix(\"m\")\n .appendSeconds().appendSuffix(\"s\")\n .toFormatter();\n Period period;\n try {\n period = formatter.parsePeriod(time);\n } catch (IllegalArgumentException e) {\n return null;\n }\n return period.toStandardDuration().getMillis();\n }", "title": "" }, { "docid": "27a00077e25d2ba425ba145f6020d8f3", "score": "0.54727054", "text": "public void calcMPH()\r\n\t{\n\t\tdouble hourmins = (double)minutes/60.00;\r\n\t\tdouble totalhours = (double) (hours + hourmins);\r\n\r\n\t\tmph = distance/totalhours;\r\n\t}", "title": "" }, { "docid": "e5c128e11d1da1b26148a55f957b980a", "score": "0.54670554", "text": "public static long getTimeFromString(String date, String date2) {\n if (date != null) {\n SimpleDateFormat format = new SimpleDateFormat(\"hh:mm\");\n long Mins = 0;\n try {\n Date Date1 = format.parse(date);\n Date Date2 = format.parse(date2);\n long mills = Date2.getTime() - Date1.getTime();\n int Hours = (int) (mills / (1000 * 60 * 60));\n int s = (int) (mills / (1000 * 60));\n System.out.println(s);\n Mins = s;\n System.out.println(Mins);\n } catch (ParseException e) {\n\n }\n\n return Mins;\n }\n\n return 0;\n }", "title": "" } ]
b1af7e7ba7141e2da3967851a0995322
Insert the tuple into the page
[ { "docid": "326d2fa83e98a78f1bf6b4474895377c", "score": "0.0", "text": "public void insert(DBObject obj) {\n pageBuffer.put((byte) 1);\n pageBuffer.put(obj);\n pageBuffer.put((byte) 0);\n pageBuffer.position(pageBuffer.position() - 1);\n }", "title": "" } ]
[ { "docid": "851b47ad43da37f06cf3df5380b39d86", "score": "0.6508601", "text": "public ArrayList<Page> insertTuple(TransactionId tid, Tuple t)\n throws DbException, IOException, TransactionAbortedException {\n // some code goes here\n return null;\n // not necessary for lab1\n }", "title": "" }, { "docid": "2c995674a7d82d1d302d076fabd4b0a0", "score": "0.6438992", "text": "public ArrayList<Page> addTuple(TransactionId tid, Tuple t)\n throws DbException, IOException, TransactionAbortedException,\n UnsupportedOperationException {\n \t\n \tField f = t.getField(indexFieldNum);\n \n \tint bucketNum = 0;\n \tArrayList<Page> overFlowLink = new ArrayList<Page>();\n \tBufferPool bp = Database.getBufferPool();\n \tbucketNum = HashFunction.getHash(f);\n \t\n \tIndexPage page = (IndexPage)bp.getPage(tid,new IndexPageId(getId(), bucketNum, 0), Permissions.READ_WRITE);//adPage(new IndexPageId(getId(), bucketNum, 0)); \n \t\n \t//System.out.println(\"Added to page: \"+page.getId().pageno()+\" which had \"+page.getNumEmptySlots()+\" empty slots and overflow page \"+page.getOverflowPgnu());\n \twhile(page.getNumEmptySlots() == 0){\n \t\tif(page.getOverflowPgnu()<NUM_OF_BUCKETS){\n \t\t\tpage.setOverflowPageNum(TotNumPages);\n \t\t\toverFlowLink.add(page);\n \t\t\t//page.markDirty(true,tid);\n \t\t\tpage = new IndexPage(new IndexPageId(fid, TotNumPages++, 1), new byte[Database.getBufferPool().PAGE_SIZE]);\n \t\t\tpage.setOverflowPageNum(-1);\n \t\tDatabase.getBufferPool().forcePage(page, tid);\n \t\t\n \t\t}\n \t\telse{\n \t\t\tpage = (IndexPage)bp.getPage(tid,new IndexPageId(getId(), page.getOverflowPgnu(), 1), Permissions.READ_WRITE);//readPage(new IndexPageId(fid, page.getOverflowPgnu(), 1));\n \t\t}\n \t}\n \t\n \toverFlowLink.add(page);\n \tType[] types = new Type[3];\n \ttypes[0] = f.getType();\n \ttypes[2] = types[1] = Type.INT_TYPE;\n \tTuple u = new Tuple(new TupleDesc(types));\n \tu.setField(0, f);\n// \tSystem.out.println(\"Page: \"+t.getRecordId().getPageId().pageno()+\" Tuple: \"+t.getRecordId().tupleno());\n// \tSystem.out.println(\"Inserted into Page: \"+page.getId().pageno());\n \tu.setField(1, new IntField(t.getRecordId().getPageId().pageno()));\n \tu.setField(2, new IntField(t.getRecordId().tupleno()));\n \tpage.addTuple(u);\n\t\tbp.dirtyPage(page, true, tid);\n// \tSystem.out.println(\"U Page: \"+u.getRecordId().getPageId().pageno());\n// \tSystem.out.println(\"Inserted tuple: \"+u.toString()+\" into bucket: \"+page.getId().pageno());\n \treturn overFlowLink;\n }", "title": "" }, { "docid": "cf17d15728c9e2df61dc03c9d881c726", "score": "0.6153218", "text": "public ArrayList<Page> insertTuple(TransactionId tid, Tuple t)\n throws DbException, IOException, TransactionAbortedException {\n // some code goes here\n\t \tint pageNo = 0;\n\t \tHeapPage hp = null;\n\t \tHeapPageId hpid = null;\n\t \t// a stupid approach of trying to iterate over pages.. even if not in buffer pool\n\t \tfor (pageNo = 0; pageNo < this.numPages(); pageNo++) {\n\t \t\thpid = new HeapPageId(this.tableid, pageNo);\n\t \t\thp = (HeapPage) Database.getBufferPool().getPage(tid, hpid, null);\n\t \t\tif (hp.getNumEmptySlots() != 0) {\n\t \t\t\t//now we have an hp with at least one empty slot\n\t \t \t\thp.insertTuple(t);\n\t \t \t\tArrayList<Page> al = new ArrayList<Page>();\n\t \t\t \tal.add(hp); //only one page will be added.. right? for a single tuple insertion\n\t \t return al;\n\t \t\t}\n\t \t}\n\t \t// need new page\n\t \tHeapPageId newPageId = new HeapPageId(this.getId(), this.numPages());\n HeapPage newHP = new HeapPage(newPageId, HeapPage.createEmptyPageData());\n newHP.insertTuple(t);\n writePage(newHP);\n ArrayList<Page> al = new ArrayList<Page>();\n al.add(newHP);\n return al;\n\t \t\n \n // not necessary for lab1\n }", "title": "" }, { "docid": "ab04e5d15cb8cb809030366d8bff9b32", "score": "0.6018347", "text": "int insert(PageInfo record);", "title": "" }, { "docid": "0f359f2637a86b77dbb8cf5bf197390a", "score": "0.5967337", "text": "public ArrayList<Page> insertTuple(TransactionId tid, Tuple t)\n throws DbException, IOException, TransactionAbortedException {\n // some code goes here\n // not necessary for lab1\n ArrayList<Page> pagesAffected = new ArrayList<Page>();\n BufferPool bufferPool = Database.getBufferPool();\n HeapPage page;\n HeapPageId pid;\n boolean foundPage = false;\n int numPages = this.numPages();\n for (int i = 0; i < numPages; i++) {\n pid = new HeapPageId(this.getId(), i);\n try {\n page = (HeapPage) bufferPool.getPage(tid, pid, Permissions.READ_WRITE);\n page.insertTuple(t);\n pagesAffected.add(page);\n foundPage = true;\n break;\n } catch (DbException dbExn) {\n bufferPool.releasePage(tid, pid);\n }\n }\n if (!foundPage) {\n pid = new HeapPageId(this.getId(), numPages);\n int pageSize = BufferPool.getPageSize();\n int offset = numPages * pageSize;\n byte[] pageData = new byte[pageSize];\n Arrays.fill(pageData, (byte) 0);\n RandomAccessFile pageRaf = new RandomAccessFile(this.file, \"rw\");\n pageRaf.seek(offset);\n pageRaf.write(pageData);\n pageRaf.close();\n page = (HeapPage) this.readPage(pid);\n page.insertTuple(t);\n page = (HeapPage) bufferPool.getPage(tid, pid, Permissions.READ_WRITE);\n page.insertTuple(t);\n pagesAffected.add(page);\n }\n return pagesAffected;\n }", "title": "" }, { "docid": "95161449ad2ef64a3cfd90ed957ef97c", "score": "0.5958879", "text": "public void insertOne(StatsPage sPage);", "title": "" }, { "docid": "9f0f3bce418964c241a11cf95ceb01ec", "score": "0.5943146", "text": "public void insertList(List<StatsPage> sPageList);", "title": "" }, { "docid": "06b82a3a9244d37b21f54be975f3ed5f", "score": "0.58986783", "text": "public void insertTuple(TransactionId tid, int tableId, Tuple t) //添加新页时直接添加进磁盘了,事务不一定提交\n throws DbException, IOException, TransactionAbortedException {\n // some code goes here\n // not necessary for lab1\n // HeapFile heapFile=(HeapFile) Database.getCatalog().getDatabaseFile(tableId);\n DbFile heapFile= Database.getCatalog().getDatabaseFile(tableId);\n ArrayList<Page> pages=heapFile.insertTuple(tid,t);\n for(int i=0;i<pages.size();i++){\n PageId pid=pages.get(i).getId();\n BufferPage bufferPage=new BufferPage(pages.get(0),tid,Permissions.READ_ONLY);\n bufferPage.setNumberOfUsed(bufferPage.getNumberOfUsed()+1);\n if(buffermap.get(pid)==null && buffermap.size()>=numPages){\n evictPage();\n }\n buffermap.put(pid,bufferPage);\n }\n\n }", "title": "" }, { "docid": "52c6e53480b582abdae264e68a6d5008", "score": "0.58919084", "text": "public void insertTuple(TransactionId tid, int tableId, Tuple t)\n throws DbException, TransactionAbortedException, IOException {\n \tDbFile table = Database.getCatalog().getDbFile(tableId);\n \tArrayList<Page> ditryPages = table.insertTuple(tid, t);\n \tfor (Page page : ditryPages) {\n \t\tpage.markDirty(true, tid);\n\t\t\t// update to the new version of dirty pages, put in BufferPool\n\t \tpageMap.put(page.getId(), page);\n\t \tnumUsedPages++;\n \t}\n }", "title": "" }, { "docid": "8bc579d79d81602131141bd23511938e", "score": "0.5872136", "text": "public void addTuple(ReteTuple tuple)\n {\n this.tuples.put( tuple.getKey( ),\n tuple );\n }", "title": "" }, { "docid": "88a45eff66712904e96974cedf17b273", "score": "0.5869431", "text": "public ArrayList<Page> insertTuple(TransactionId tid, Tuple t)\n throws DbException, IOException, TransactionAbortedException {\n ArrayList<Page> pages=new ArrayList<>();\n for(int i=0;i<numPages();i++){\n PageId pid2=new HeapPageId(this.getId(),i);\n HeapPage p=(HeapPage)Database.getBufferPool().getPage(tid, pid2, Permissions.READ_WRITE);\n if(p.getNumEmptySlots()==0){\n continue;\n }\n// Database.getBufferPool().getLockManager().updateGraph(tid,p.getId());\n// Database.getBufferPool().releasePage(tid,p.getId());\n p.insertTuple(t);\n pages.add(p);\n return pages;\n }\n byte[] data=HeapPage.createEmptyPageData();\n HeapPageId pid=new HeapPageId(this.getId(),numPages());\n HeapPage page=new HeapPage(pid,data);\n page.insertTuple(t);\n writePage(page);\n pages.add(page);\n return pages;\n }", "title": "" }, { "docid": "7b5db414cdc79c038ad1894a75d8de97", "score": "0.5848864", "text": "public void insert(PageTableEntry page) {\n\t\tSystem.out.print(\"[MemoryManagementUnit] LRU inserting page \" + page.getPageNumber() + \"\\n\");\n\t\tframeList.insert(page);\n\t\tif (System.getProperty(\"debug\") != null) {\n\t\t\tSystem.out.print(\"Inserting \" + page.getPageNumber());\n\t\t\tframeList.dump();\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "title": "" }, { "docid": "e69d5b4d38542b5fdf4ca05ce9dcbb01", "score": "0.58448493", "text": "void insert(T value, int position);", "title": "" }, { "docid": "a617807639485560467aa4b0abdd9a11", "score": "0.58120996", "text": "public ArrayList<Page> insertTuple(TransactionId tid, Tuple t)\n throws DbException, IOException, TransactionAbortedException {\n ArrayList<Page> a = new ArrayList<Page>();\n for (int i = 0; i < numPages(); i++) {\n \tHeapPage currentPage = (HeapPage) Database.getBufferPool().getPage(tid, new HeapPageId(getId(), i), Permissions.READ_WRITE);\n \tif (currentPage.getNumEmptySlots() > 0) {\n \t\tcurrentPage.insertTuple(t);\n \t\ta.add(currentPage);\n \t\treturn a;\n \t}\n }\n \tFileOutputStream fos = new FileOutputStream(file, true);\n\t\tbyte[] b = new byte[BufferPool.PAGE_SIZE];\n\t\tfos.write(b);\n\t\tHeapPageId hpid = new HeapPageId(getId(), numPages() - 1);\n \tHeapPage currentPage = (HeapPage) Database.getBufferPool().getPage(tid, hpid, Permissions.READ_WRITE);\n \tcurrentPage.insertTuple(t);\n\t\treturn a;\n }", "title": "" }, { "docid": "8a2572c900fd61f84470f537f28b4283", "score": "0.5804949", "text": "public void addTuple(Tuple tuple){\n\t\ttuples.add(tuple);\n\t}", "title": "" }, { "docid": "74979bbbfccc45fe37bc73abed7f7ce0", "score": "0.57855445", "text": "void insertItem(int position, T bean);", "title": "" }, { "docid": "ad0c43cebc9000119701337becc8821e", "score": "0.5765946", "text": "void insert(Object value, int position);", "title": "" }, { "docid": "ad0c43cebc9000119701337becc8821e", "score": "0.5765946", "text": "void insert(Object value, int position);", "title": "" }, { "docid": "3e8eb838a575803775bc295299055c0a", "score": "0.5747951", "text": "public abstract void insert(T value);", "title": "" }, { "docid": "5d0211e5b2ec3ef205d691b095fb4550", "score": "0.57011676", "text": "private void insertPage(int page, int pageNumber) {\n frames[pageNumber] = page;\n System.out.println(\"Replacing frame \" + pageNumber + \" with \" + page);\n }", "title": "" }, { "docid": "d6f7036fe4482589454ed81e5a2cc699", "score": "0.56919795", "text": "@Override\n protected void insertData() {\n }", "title": "" }, { "docid": "f9292e26c55880dca863e9432767585e", "score": "0.5684821", "text": "void insert( Tag tag );", "title": "" }, { "docid": "cc96ac96e50346f5b6005a98f7750f96", "score": "0.5676072", "text": "org.biocatalogue.x2009.xml.rest.PageParameter addNewPage();", "title": "" }, { "docid": "340414c3a99432029f862dd750a00a5f", "score": "0.5660974", "text": "public void insert(T t);", "title": "" }, { "docid": "fe3e23bf1782477454a4444958e115d7", "score": "0.56369627", "text": "private void Insert(ITuple tp)\n {\n \ttry {\n \t\tFloat[] confs = (((PPos)tp).GetSegProbabilitiesf(0));\n \t\tFloat[] lane = new Float[] {(float)((PPos)tp).lane[0],(float)((PPos)tp).lane[1],(float)((PPos)tp).lane[2]};\n \t\tArray segs = con.createArrayOf(\"float\", confs);\n \t\tArray lanes = con.createArrayOf(\"float\", lane);\n \t\tpst.clearParameters();\n \t\tpst.setInt(1,(int)((PPos)tp).time);\n \t\tpst.setInt(2,((PPos)tp).vid);\n \t\tpst.setDouble(3,((PPos)tp).spd_mean);\n \t\tpst.setDouble(4,((PPos)tp).spd_var);\n \t\tpst.setInt(5,((PPos)tp).xway);\n \t\tpst.setInt(6,((PPos)tp).dir);\n \t\tpst.setDouble(7,((PPos)tp).pos_mean);\n \t\tpst.setDouble(8,((PPos)tp).pos_var);\n \t\tpst.setDouble(9,((PPos)tp).conf);\n \t\tpst.setArray(10, segs);\n \t\tpst.setArray(11, lanes);\n \t\tpst.execute();\n \t}\n\t\tcatch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n }", "title": "" }, { "docid": "24b44cc628645f0cc1ff949b1528f89d", "score": "0.55998075", "text": "public void insert(T info) {\n insert(info, root, null, false);\n elementsNumber++;\n }", "title": "" }, { "docid": "13808def7e0a7b554ca839b6d64437dd", "score": "0.5583679", "text": "protected void pushTuple(final DataTuple tuple) {\n this.pushElement(Flow.FORWARD, tuple);\n }", "title": "" }, { "docid": "008b680f7c98ca9fb9c093e48ad24930", "score": "0.55774176", "text": "private List<E> insertInTuple(List<E> tuple, E e, int i) {\n List<E> extTuple = new ArrayList<>(tupleLength + 1);\n // It's a bit inefficient to insert then shift; a better implementation could avoid that.\n extTuple.addAll(tuple);\n extTuple.add(i, e);\n return extTuple;\n }", "title": "" }, { "docid": "dafbd139f436df2246d30b053cfff0fa", "score": "0.55625623", "text": "public void insert(int itemNum, Item item);", "title": "" }, { "docid": "343a72f0345209073d2a49be48507933", "score": "0.5551797", "text": "int insertSelective(PageInfo record);", "title": "" }, { "docid": "6f48f276da2d31b73267e165ca3916cb", "score": "0.55283886", "text": "int insert(TemplateAttribute record);", "title": "" }, { "docid": "3d00a7b8d344056ca9b4d085f90f8382", "score": "0.5521379", "text": "@Insert\n void insertEntry(Entry entry);", "title": "" }, { "docid": "f4cd149b0ae0ac848482894a0931441f", "score": "0.55198306", "text": "@Override\n\tpublic void insert(T element) {\n\t\t\n\t}", "title": "" }, { "docid": "9f9ff7b1d51abc8782019fa5e5a371fd", "score": "0.5510587", "text": "void insert(Fieldsonly record);", "title": "" }, { "docid": "4afeae76683c137f56be49c8ebe3319e", "score": "0.5484649", "text": "int insert(Template record);", "title": "" }, { "docid": "ecf9c63a36c9db9f9f1664c7f4bc52ab", "score": "0.547042", "text": "public void insert(Stars st);", "title": "" }, { "docid": "a54f0d5f13eea707c4c3df117f3851f7", "score": "0.5467934", "text": "@Insert\n void insert(GeneralTip generalTip);", "title": "" }, { "docid": "1ac27a22d2d861064b7993393029c8e7", "score": "0.54198235", "text": "@Override\n\tpublic void insert(LevelExamination levalExamination) {\n\t\t\n\t}", "title": "" }, { "docid": "b8e5cd3381056f1243a1033ade2c2786", "score": "0.541726", "text": "void insertData();", "title": "" }, { "docid": "fa66a9f1bd54365743157c9e90f4acdc", "score": "0.53934216", "text": "org.apache.xmlbeans.XmlString insertNewExtraAcc(int i);", "title": "" }, { "docid": "746318fd796211bf663c79a85b633060", "score": "0.53933305", "text": "public void insertPairTable(PairTable<?, ?> p)\n \t{\n \t\tString table = p.getTable();\n \t\tPair<String, String> params = selectParamsPairTable(table);\n \n \t\tEntity ent = new Entity(table);\n \t\tent.setValue(params.getFirst(), p.getFirst());\n \t\tent.setValue(params.getSecond(), p.getSecond());\n \t\tent.save();\n \t}", "title": "" }, { "docid": "91414553a39fbf8642742f10d99f31b8", "score": "0.5379049", "text": "public void insert(String lexeme, String type, int location){\n\r\n table.add(new SymbolTableEntry(lexeme,type,location));\r\n }", "title": "" }, { "docid": "a8fa92688ee5e59b56c06532edc372e7", "score": "0.53532195", "text": "public void insert(Fraction fraction) {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "172b7c40cc467909acf910bd3c3f9c19", "score": "0.53482807", "text": "public void insert(Book b) {\n\t\t\r\n\t}", "title": "" }, { "docid": "cc48a27aa999f2229f445775aeaa4f24", "score": "0.53219527", "text": "public void insert( Vert vert );", "title": "" }, { "docid": "8fbc3d793d4753f1dc123e7bb7917319", "score": "0.53113705", "text": "void insert(T t);", "title": "" }, { "docid": "6f8b37312a394aa8392ce7e35fea80a3", "score": "0.52981997", "text": "Item insertItem(Item item);", "title": "" }, { "docid": "7ee903c0bac756c5e6d2b95a00688c82", "score": "0.52899146", "text": "int insert(IrUiViewCustomEntity record);", "title": "" }, { "docid": "7361f9b09ec1cddb1ae6ec93df30e2e7", "score": "0.5260225", "text": "int insert(Guidelines record);", "title": "" }, { "docid": "a6e58b3b96117d7c9716d76a678e8bea", "score": "0.52531624", "text": "public void insert(int element);", "title": "" }, { "docid": "a8c7909c12c313bfc9e003bbebc671bf", "score": "0.5230784", "text": "int insert(BlogTagMap record);", "title": "" }, { "docid": "3ed8e255ce81fd10e535056eb5398940", "score": "0.5228671", "text": "public TID insertTuple(byte[] bytePtr) throws Exception {\n\n\t\tDirectoryHFPage directoryHFPage = new DirectoryHFPage();\n\t\tpinPage(this.getColumnarHeader().getHeaderPageId(), directoryHFPage);\n\t\tByteToTuple byteToTuple = new ByteToTuple(this.getColumnarHeader().getColumns());\n\t\tArrayList<byte[]> arrayList = byteToTuple.setTupleBytes(bytePtr);\n\t\tRID[] rids = new RID[arrayList.size()];\n\t\tfor (int i = 0; i < arrayList.size(); i++) {\n\t\t\tHeapfile heapfile = new Heapfile(this.getColumnarHeader().getHdrFile() + \".\" + i);\n\t\t\t// TODO: Exception handling and removal in case\n\t\t\t// TODO: of failures\n\t\t\trids[i] = heapfile.insertRecord(arrayList.get(i));\n\t\t}\n\t\tlong pos = directoryHFPage.getReccnt() + 1;\n\t\tdirectoryHFPage.setReccnt(pos);\n\t\tunpinPage(this.getColumnarHeader().getHeaderPageId(), true);\n\t\treturn new TID(rids.length, pos, rids);\n\t}", "title": "" }, { "docid": "b3a966d4fa753f6e7b111b66f31169b4", "score": "0.52273816", "text": "int insert(WpwxArticle record);", "title": "" }, { "docid": "d921a0fc3ec555a8dc6fea9b68d34f46", "score": "0.5208509", "text": "private void insertItem() {\n //Create a ContentValues object where column names are the keys, and misc schwag's item\n //attributes are it's values.\n ContentValues values = new ContentValues();\n values.put(TitleEntry.COLUMN_PRODUCT_NAME, \"DroidPool #1\");\n values.put(TitleEntry.COLUMN_SUPPLIER, \"Comic World\");\n values.put(TitleEntry.COLUMN_SUPPLIER_PH, 5551234);\n values.put(TitleEntry.COLUMN_PRICE, 9999);\n values.put(TitleEntry.COLUMN_QTY, 1);\n values.put(TitleEntry.COLUMN_SECTION, 2);\n\n // Insert a new row for DroidPool #1 into the provider using Content Resolver.\n // Use the {@link TitleEntry#CONTENT_URI} to indicate that we want to insert\n // into the items database table.\n //Receive the new content URI that will allow us to access DroidPool #1's data via\n Uri newUri = getContentResolver().insert(CONTENT_URI, values);\n\n }", "title": "" }, { "docid": "9c13e9a29f18ce6f975066b6109475c0", "score": "0.52075815", "text": "void insertData(int position, List<T> insertedList);", "title": "" }, { "docid": "0c10c3137d17ad0356b4b71092be366c", "score": "0.5194158", "text": "@Test\n public void testInsertMore()\n {\n Point re = new Point(\"a\", 1, 2);\n KVPair<String, Point> p = new KVPair<String, Point>(re.getName(), re);\n SkipList<String, Point> s = new SkipList<String, Point>();\n s.insert(p);\n\n Point uh = new Point(\"b\", 3, 4);\n KVPair<String, Point> k = new KVPair<String, Point>(uh.getName(), uh);\n s.insert(k);\n assertEquals(null, s.head.element());\n }", "title": "" }, { "docid": "c061bf67817c2d6ac9f03bc3c64fccf2", "score": "0.51907396", "text": "@Override\n public Void visitInsert_stmt(SqlParser.Insert_stmtContext ctx) {\n tableOps.put(ctx.getChild(2).getText(),\"INSERT\");\n return super.visitChildren(ctx);\n }", "title": "" }, { "docid": "bfb1c4dadd813fa791c23efc70a00599", "score": "0.5188967", "text": "Rope<B, T> insert(int offset, T other);", "title": "" }, { "docid": "10ab406f4209b3d0ce900b62be1fca79", "score": "0.51716304", "text": "public void insert(T info){\r\n\t\tthis.head = new Node<T>(info,this.head);\r\n\t\ttail = head;\r\n\t}", "title": "" }, { "docid": "f8ff2a7c89103a9a9198ee7f843f9a51", "score": "0.5169796", "text": "public void insert(T data) {\n insertAtFront(data);\n }", "title": "" }, { "docid": "dcd7b48d15f5079540af75dc967ea84f", "score": "0.5164858", "text": "@Override\r\n\tpublic String insert(Bills t) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "ec7df3c75e9059fb39ece0d66e241d6b", "score": "0.5156494", "text": "@Override\n public void insert(Item x, int position) {\n insert(x, 0);\n }", "title": "" }, { "docid": "8b55b24c5f188dc6b9270b314097130f", "score": "0.5150131", "text": "public void setInsertTag(String insertTag)\r\n\t{\r\n\t\tthis.insertTag = insertTag;\r\n\t}", "title": "" }, { "docid": "efdfd642ea40a01708f8d108d39169f7", "score": "0.51479316", "text": "int insert(VYpAlbumTip record);", "title": "" }, { "docid": "21e196656ecd462d8772db6af5b9a21c", "score": "0.5136355", "text": "void addTransaction(PageTransactionInfo pageTransaction);", "title": "" }, { "docid": "25f2dc9ad9e48e369072e91289cffd01", "score": "0.51260847", "text": "public Tuple addTuple() {\n\t\tif (random.nextFloat() < 0.1) {\n\t\t\tlargestTimeSeenSoFar++;\n\t\t\ttuples.put(largestTimeSeenSoFar, new ArrayList<Tuple> ());\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t// With probability 0.9, return a tuple with an incremented value, but\n\t\t// same timestamp as before\n\t\tTuple tuple = new Tuple(td);\n\t\ttuple.setField(0, new IntField(count));\n\t\t\n\t\tcount++;\n\t\t\n\t\ttuples.get(largestTimeSeenSoFar).add(tuple);\n\t\treturn tuple;\n\t}", "title": "" }, { "docid": "f5db4e53b4a3d566d449ea509f73c7a5", "score": "0.51190287", "text": "public void insert(Object newDataItem);", "title": "" }, { "docid": "02e108c86b47966bca84d8dbe7a1ecb4", "score": "0.5118352", "text": "private void insert(){\n\t\tUri mNewUri;\n\n\t\n\n\t\t// Defines an object to contain the new values to insert\n\t\tContentValues mNewValues = new ContentValues();\n\n\t\t/*\n\t\t * Sets the values of each column and inserts the word. The arguments to the \"put\"\n\t\t * method are \"column name\" and \"value\"\n\t\t */\n\t\tmNewValues.put(UserDictionary.Words.APP_ID, \"example.user\");\n\t\tmNewValues.put(UserDictionary.Words.LOCALE, \"en_US\");\n\t\tmNewValues.put(UserDictionary.Words.WORD, \"insert\");\n\t\tmNewValues.put(UserDictionary.Words.FREQUENCY, \"100\");\n\n\t\tmNewUri = getContentResolver().insert(\n\t\t UserDictionary.Words.CONTENT_URI, // the user dictionary content URI\n\t\t mNewValues // the values to insert\n\t\t);\n\t}", "title": "" }, { "docid": "8fdd4cfa543cf1d3300aa59a952a1e04", "score": "0.51143885", "text": "int insert(DictExamine record);", "title": "" }, { "docid": "e3ba12c2786cc9f950400c342e46f99e", "score": "0.5111762", "text": "void insert(String index, Map<String, Object> object, String type);", "title": "" }, { "docid": "5d3fe90dceba25d16acb9a6e1302dfff", "score": "0.5099554", "text": "void insert_itemlistItems(ItemArraylist<ItemlistItem> items);", "title": "" }, { "docid": "6e13a224bd217cd29615bc8f9d14e0ef", "score": "0.50917524", "text": "int insert(WxmenuEntity record);", "title": "" }, { "docid": "841323d3ce3c98f63005af2990ffb54c", "score": "0.5091606", "text": "public void insertNumber(int number);", "title": "" }, { "docid": "e804036b95926f84f5d51f630bcd3b0c", "score": "0.5089965", "text": "@Test\n public void testInsert() {\n Point re = new Point(\"a\", 1, 2);\n KVPair<String, Point> p = new KVPair<String, Point>(re.getName(), re);\n SkipList<String, Point> s = new SkipList<String, Point>();\n assertTrue(s.insert(p));\n assertEquals(null, s.head.element());\n }", "title": "" }, { "docid": "308eb8633d8cdc6d342daa51561de492", "score": "0.50887483", "text": "int insert(Label record);", "title": "" }, { "docid": "0abfdd5c2074726f8f4c87a73d7f45bd", "score": "0.5084198", "text": "public void addTuple(int count) {\n\t\taddSignedInteger(Tuple, count);\n\t}", "title": "" }, { "docid": "3990fc45bdb338cb93e8e2a525a9461d", "score": "0.5082112", "text": "int insertSelective(VYpAlbumTip record);", "title": "" }, { "docid": "2af9b265232cc509f33f2a71b44fa519", "score": "0.5079808", "text": "int insertSelective(IrUiViewCustomEntity record);", "title": "" }, { "docid": "65f5ba4555aa33dbdca2675856a8be10", "score": "0.5077856", "text": "void insert(TellerWidget.ProductDisplay item) {\r\n int row = list.rowCount();\r\n list.insertRow(row);\r\n list.setCellWidget(row, 0, item.clone(list));\r\n }", "title": "" }, { "docid": "6de50841989d0ebab6eb4dae3743cc2c", "score": "0.50760835", "text": "int insertSelective(SysDict record);", "title": "" }, { "docid": "68919f474a2ba457fa5e75349af1419e", "score": "0.5075821", "text": "@Override\n public void add(Tuple tuple) {\n if (!tuples.contains(tuple)) {\n tuples.add(tuple);\n }\n }", "title": "" }, { "docid": "b0a74b3dc62baf70b1d5de553346f7c5", "score": "0.50693357", "text": "int insert(TMgmSupplierSynthesis record);", "title": "" }, { "docid": "d4d3bb7b560b5bc775a2a5e5a8cfc970", "score": "0.5066691", "text": "@Insert\n void insert(Note note);", "title": "" }, { "docid": "12625cad461d9abbd50213fcc0ed193b", "score": "0.50648797", "text": "public void newPage()\r\n {\r\n if( iTPara != null && iTPara.size() > 0 ) {\r\n addParagraph( iTPara, iTColumn );\r\n }\r\n\r\n addColumnsContentToDocument();\r\n newPageLowLevel();\r\n }", "title": "" }, { "docid": "39f6935fd563a58488e160c3bb63ed34", "score": "0.5062975", "text": "int insert(WkSection record);", "title": "" }, { "docid": "2b113c34cb0755168c305864e5146eea", "score": "0.506033", "text": "int insert(SequenceValueItem record);", "title": "" }, { "docid": "2d7866b5db7c5cd9b8a20d179703598e", "score": "0.50570637", "text": "int insert(PrtCatgoryAttrFront record);", "title": "" }, { "docid": "36455e9288e09ab7b217793199b1610c", "score": "0.505531", "text": "public void insert( Comparable data ) {\n // System.out.println( \"Insert: \" + data );\n heap.add( data );\n ++size;\n siftUp();\n // System.out.println( toString() );\n }", "title": "" }, { "docid": "82985843d9d3e0100ab51473c4b26ca2", "score": "0.50495845", "text": "public void insert(E v){\r\n\t}", "title": "" }, { "docid": "bbd1ff9e615b478da4aed31871703e34", "score": "0.50443107", "text": "@Override\n\tpublic void insertText(String text) {\n\n\t}", "title": "" }, { "docid": "e83f64e05a2c54ceafbff7ac652445a3", "score": "0.5042795", "text": "@Override\n public void process(Number tuple)\n {\n numList.add(tuple);\n }", "title": "" }, { "docid": "38ef5c46de0f8bb2b3ee020bff48800d", "score": "0.50410587", "text": "void insert(WeiboAppeal record);", "title": "" }, { "docid": "80b62dd7a9da7c8463785e397dd09227", "score": "0.5040805", "text": "public void insert() {\n System.out.print(\"Enter a number to insert into the heap: \");\n int n = this.in.nextInt();\n this.heap.insert(n);\n System.out.printf(\"\\n Successfully inserted %d into the heap!\\n\", n);\n }", "title": "" }, { "docid": "fb5885d5a43918fd5a3d58efda8e6ba1", "score": "0.5034225", "text": "int insert(WpTerms record);", "title": "" }, { "docid": "9cd4a6ac6be1f9f2e7aac9651e00a6c6", "score": "0.5031807", "text": "private void addPage(StatPage page) {\r\n\t\tpages.add(page);\r\n\t\trootNode.attachChild(page.getPageRoot());\r\n\t}", "title": "" }, { "docid": "556e0c94e226241ea263af2317f18df8", "score": "0.50303173", "text": "private Insertion() {}", "title": "" }, { "docid": "3f596349cce4f879aa21c7c0ef74bd90", "score": "0.5023538", "text": "@Override\r\n\tpublic void insert(Object obj) throws Exception {\n\r\n\t}", "title": "" }, { "docid": "244dc72a4d5fbb77c3b48a1c74d96f6c", "score": "0.50219303", "text": "Long linsert(String key, ListPosition where, String pivot, String value);", "title": "" }, { "docid": "8f723d6e8be979ca10f4d0af4506e067", "score": "0.50184214", "text": "int insertSelective(Template record);", "title": "" }, { "docid": "83e1314fdb7760dc6271d26e3862636f", "score": "0.5013549", "text": "public void insertFacet(final List<String> hierValues) throws SQLException {\n\t\t// System.out.println(\"Database.insertFacet \" + hierValues);\n\t\tfinal int[] facets = getFacets(hierValues);\n\t\tfor (final int facet : facets) {\n\t\t\taddItemFacet(facet);\n\t\t}\n\t}", "title": "" }, { "docid": "2cae11266dece065d21f3b724a2aabe6", "score": "0.50071883", "text": "@Override\n public void addEntryFromTuple(YailList tuple) {\n Entry entry = getEntryFromTuple(tuple);\n\n // If entry constructed successfully, add it to the Data Series\n if (entry != null) {\n entries.add(entry);\n }\n }", "title": "" } ]
70e26441b856d54c4426f9b3c5156cef
$ANTLR end "T__76" $ANTLR start "T__77"
[ { "docid": "c2d8285a107eeb2268faee1df771ffc9", "score": "0.0", "text": "public final void mT__77() throws RecognitionException {\r\n try {\r\n int _type = T__77;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalCk2Gfx.g:73:7: ( 'cull_distance' )\r\n // InternalCk2Gfx.g:73:9: 'cull_distance'\r\n {\r\n match(\"cull_distance\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "title": "" } ]
[ { "docid": "d5653c49f50d7a4d96331a49951b8e15", "score": "0.5629259", "text": "public interface MOOParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int IF = 5;\r\n /** RegularExpression Id. */\r\n int ELSEIF = 6;\r\n /** RegularExpression Id. */\r\n int ELSE = 7;\r\n /** RegularExpression Id. */\r\n int ENDIF = 8;\r\n /** RegularExpression Id. */\r\n int FOR = 9;\r\n /** RegularExpression Id. */\r\n int IN = 10;\r\n /** RegularExpression Id. */\r\n int ENDFOR = 11;\r\n /** RegularExpression Id. */\r\n int TO = 12;\r\n /** RegularExpression Id. */\r\n int WHILE = 13;\r\n /** RegularExpression Id. */\r\n int ENDWHILE = 14;\r\n /** RegularExpression Id. */\r\n int FORK = 15;\r\n /** RegularExpression Id. */\r\n int ENDFORK = 16;\r\n /** RegularExpression Id. */\r\n int BREAK = 17;\r\n /** RegularExpression Id. */\r\n int CONTINUE = 18;\r\n /** RegularExpression Id. */\r\n int RETURN = 19;\r\n /** RegularExpression Id. */\r\n int PASS = 20;\r\n /** RegularExpression Id. */\r\n int TRY = 21;\r\n /** RegularExpression Id. */\r\n int ENDTRY = 22;\r\n /** RegularExpression Id. */\r\n int EXCEPT = 23;\r\n /** RegularExpression Id. */\r\n int FINALLY = 24;\r\n /** RegularExpression Id. */\r\n int ANY = 25;\r\n /** RegularExpression Id. */\r\n int MINUS = 26;\r\n /** RegularExpression Id. */\r\n int OPERATOR = 27;\r\n /** RegularExpression Id. */\r\n int LPAREN = 28;\r\n /** RegularExpression Id. */\r\n int RPAREN = 29;\r\n /** RegularExpression Id. */\r\n int LSQUARE = 30;\r\n /** RegularExpression Id. */\r\n int RSQUARE = 31;\r\n /** RegularExpression Id. */\r\n int LBRACE = 32;\r\n /** RegularExpression Id. */\r\n int RBRACE = 33;\r\n /** RegularExpression Id. */\r\n int COMMA = 34;\r\n /** RegularExpression Id. */\r\n int SEMICOLON = 35;\r\n /** RegularExpression Id. */\r\n int BECOMES = 36;\r\n /** RegularExpression Id. */\r\n int AT = 37;\r\n /** RegularExpression Id. */\r\n int QUERY = 38;\r\n /** RegularExpression Id. */\r\n int PIPE = 39;\r\n /** RegularExpression Id. */\r\n int COLON = 40;\r\n /** RegularExpression Id. */\r\n int ARROW = 41;\r\n /** RegularExpression Id. */\r\n int NUM_TYPE = 42;\r\n /** RegularExpression Id. */\r\n int OBJ_TYPE = 43;\r\n /** RegularExpression Id. */\r\n int LIST_TYPE = 44;\r\n /** RegularExpression Id. */\r\n int ERR_TYPE = 45;\r\n /** RegularExpression Id. */\r\n int STR_TYPE = 46;\r\n /** RegularExpression Id. */\r\n int E_TYPE = 47;\r\n /** RegularExpression Id. */\r\n int E_DIV = 48;\r\n /** RegularExpression Id. */\r\n int E_RANGE = 49;\r\n /** RegularExpression Id. */\r\n int E_INVARG = 50;\r\n /** RegularExpression Id. */\r\n int E_VERBNF = 51;\r\n /** RegularExpression Id. */\r\n int E_PROPNF = 52;\r\n /** RegularExpression Id. */\r\n int E_VARNF = 53;\r\n /** RegularExpression Id. */\r\n int E_PERM = 54;\r\n /** RegularExpression Id. */\r\n int E_INVALID = 55;\r\n /** RegularExpression Id. */\r\n int E_MAXREC = 56;\r\n /** RegularExpression Id. */\r\n int E_ALL = 57;\r\n /** RegularExpression Id. */\r\n int DIGIT = 58;\r\n /** RegularExpression Id. */\r\n int HEXDIGIT = 59;\r\n /** RegularExpression Id. */\r\n int INTEGER = 60;\r\n /** RegularExpression Id. */\r\n int FLOAT = 61;\r\n /** RegularExpression Id. */\r\n int OBJREF = 62;\r\n /** RegularExpression Id. */\r\n int LETTER = 63;\r\n /** RegularExpression Id. */\r\n int US = 64;\r\n /** RegularExpression Id. */\r\n int IDENT = 65;\r\n /** RegularExpression Id. */\r\n int STRING = 66;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"elseif\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"endif\\\"\",\r\n \"\\\"for\\\"\",\r\n \"\\\"in\\\"\",\r\n \"\\\"endfor\\\"\",\r\n \"\\\"..\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"endwhile\\\"\",\r\n \"\\\"fork\\\"\",\r\n \"\\\"endfork\\\"\",\r\n \"\\\"break\\\"\",\r\n \"\\\"continue\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"pass\\\"\",\r\n \"\\\"try\\\"\",\r\n \"\\\"endtry\\\"\",\r\n \"\\\"except\\\"\",\r\n \"\\\"finally\\\"\",\r\n \"\\\"any\\\"\",\r\n \"\\\"-\\\"\",\r\n \"<OPERATOR>\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\";\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\"?\\\"\",\r\n \"\\\"|\\\"\",\r\n \"\\\":\\\"\",\r\n \"\\\"=>\\\"\",\r\n \"\\\"NUM\\\"\",\r\n \"\\\"OBJ\\\"\",\r\n \"\\\"LIST\\\"\",\r\n \"\\\"ERR\\\"\",\r\n \"\\\"STR\\\"\",\r\n \"\\\"E_TYPE\\\"\",\r\n \"\\\"E_DIV\\\"\",\r\n \"\\\"E_RANGE\\\"\",\r\n \"\\\"E_INVARG\\\"\",\r\n \"\\\"E_VERBNF\\\"\",\r\n \"\\\"E_PROPNF\\\"\",\r\n \"\\\"E_VARNF\\\"\",\r\n \"\\\"E_PERM\\\"\",\r\n \"\\\"E_INVIND\\\"\",\r\n \"\\\"E_MAXREC\\\"\",\r\n \"\\\"ALL\\\"\",\r\n \"<DIGIT>\",\r\n \"<HEXDIGIT>\",\r\n \"<INTEGER>\",\r\n \"<FLOAT>\",\r\n \"<OBJREF>\",\r\n \"<LETTER>\",\r\n \"\\\"_\\\"\",\r\n \"<IDENT>\",\r\n \"<STRING>\",\r\n \"\\\".\\\"\",\r\n \"\\\"!\\\"\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "a86ba74e65a8b14afcfb68dc074b93cc", "score": "0.55490285", "text": "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int start = 5;\n /** RegularExpression Id. */\n int finish = 6;\n /** RegularExpression Id. */\n int ent = 7;\n /** RegularExpression Id. */\n int cad = 8;\n /** RegularExpression Id. */\n int flo = 9;\n /** RegularExpression Id. */\n int var = 10;\n /** RegularExpression Id. */\n int input = 11;\n /** RegularExpression Id. */\n int output = 12;\n /** RegularExpression Id. */\n int yes = 13;\n /** RegularExpression Id. */\n int ifno = 14;\n /** RegularExpression Id. */\n int so = 15;\n /** RegularExpression Id. */\n int select = 16;\n /** RegularExpression Id. */\n int option = 17;\n /** RegularExpression Id. */\n int defect = 18;\n /** RegularExpression Id. */\n int breakup = 19;\n /** RegularExpression Id. */\n int from = 20;\n /** RegularExpression Id. */\n int to = 21;\n /** RegularExpression Id. */\n int next = 22;\n /** RegularExpression Id. */\n int perform = 23;\n /** RegularExpression Id. */\n int aslongas = 24;\n /** RegularExpression Id. */\n int sum = 25;\n /** RegularExpression Id. */\n int res = 26;\n /** RegularExpression Id. */\n int mul = 27;\n /** RegularExpression Id. */\n int div = 28;\n /** RegularExpression Id. */\n int mod = 29;\n /** RegularExpression Id. */\n int pot = 30;\n /** RegularExpression Id. */\n int may = 31;\n /** RegularExpression Id. */\n int men = 32;\n /** RegularExpression Id. */\n int igu = 33;\n /** RegularExpression Id. */\n int and = 34;\n /** RegularExpression Id. */\n int or = 35;\n /** RegularExpression Id. */\n int not = 36;\n /** RegularExpression Id. */\n int pa = 37;\n /** RegularExpression Id. */\n int pc = 38;\n /** RegularExpression Id. */\n int ps = 39;\n /** RegularExpression Id. */\n int lyrics = 40;\n /** RegularExpression Id. */\n int number = 41;\n /** RegularExpression Id. */\n int id = 42;\n /** RegularExpression Id. */\n int vent = 43;\n /** RegularExpression Id. */\n int vflo = 44;\n /** RegularExpression Id. */\n int vcad = 45;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"start\\\"\",\n \"\\\"finish\\\"\",\n \"\\\"ent\\\"\",\n \"\\\"cad\\\"\",\n \"\\\"flo\\\"\",\n \"\\\"var\\\"\",\n \"\\\"input\\\"\",\n \"\\\"output\\\"\",\n \"\\\"yes\\\"\",\n \"\\\"ifno\\\"\",\n \"\\\"so\\\"\",\n \"\\\"select\\\"\",\n \"\\\"option\\\"\",\n \"\\\"defect\\\"\",\n \"\\\"breakup\\\"\",\n \"\\\"from\\\"\",\n \"\\\"to\\\"\",\n \"\\\"next\\\"\",\n \"\\\"perform\\\"\",\n \"\\\"aslongas\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"^\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"!\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\":\\\"\",\n \"<lyrics>\",\n \"<number>\",\n \"<id>\",\n \"<vent>\",\n \"<vflo>\",\n \"<vcad>\",\n };\n\n}", "title": "" }, { "docid": "273cf245c356aa40c351e9630ad37e69", "score": "0.5497129", "text": "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 5;\n /** RegularExpression Id. */\n int JAVA_DOC_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int SUM = 11;\n /** RegularExpression Id. */\n int SUB = 12;\n /** RegularExpression Id. */\n int MUL = 13;\n /** RegularExpression Id. */\n int DIV = 14;\n /** RegularExpression Id. */\n int EQUAL = 15;\n /** RegularExpression Id. */\n int SEMICOMMA = 16;\n /** RegularExpression Id. */\n int PRAGMA = 17;\n /** RegularExpression Id. */\n int DOT = 18;\n /** RegularExpression Id. */\n int COMMA = 19;\n /** RegularExpression Id. */\n int DOTDOT = 20;\n /** RegularExpression Id. */\n int LPARAM = 21;\n /** RegularExpression Id. */\n int RPARAM = 22;\n /** RegularExpression Id. */\n int LBLOCK = 23;\n /** RegularExpression Id. */\n int RBLOCK = 24;\n /** RegularExpression Id. */\n int LARRAY = 25;\n /** RegularExpression Id. */\n int RARRAY = 26;\n /** RegularExpression Id. */\n int LOW = 27;\n /** RegularExpression Id. */\n int HIGH = 28;\n /** RegularExpression Id. */\n int NOT = 29;\n /** RegularExpression Id. */\n int DEFINE = 30;\n /** RegularExpression Id. */\n int WHILE = 31;\n /** RegularExpression Id. */\n int IF = 32;\n /** RegularExpression Id. */\n int ELSE = 33;\n /** RegularExpression Id. */\n int OR = 34;\n /** RegularExpression Id. */\n int AND = 35;\n /** RegularExpression Id. */\n int CONSTANT = 36;\n /** RegularExpression Id. */\n int NATURAL = 37;\n /** RegularExpression Id. */\n int ID = 38;\n /** RegularExpression Id. */\n int DIGIT = 39;\n /** RegularExpression Id. */\n int ZDIGIT = 40;\n /** RegularExpression Id. */\n int LETTER = 41;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_JAVA_DOC_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 6>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"#\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"\\\":\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"!\\\"\",\n \"\\\"define\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"or\\\"\",\n \"\\\"and\\\"\",\n \"<CONSTANT>\",\n \"<NATURAL>\",\n \"<ID>\",\n \"<DIGIT>\",\n \"<ZDIGIT>\",\n \"<LETTER>\",\n };\n\n}", "title": "" }, { "docid": "680eb3d6919b5f9769d06c408089896e", "score": "0.541747", "text": "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int CONTINUE = 11;\n /** RegularExpression Id. */\n int FUNCTION = 12;\n /** RegularExpression Id. */\n int TDEFAULT = 13;\n /** RegularExpression Id. */\n int RETURN = 14;\n /** RegularExpression Id. */\n int SWITCH = 15;\n /** RegularExpression Id. */\n int BREAK = 16;\n /** RegularExpression Id. */\n int WHILE = 17;\n /** RegularExpression Id. */\n int CASE = 18;\n /** RegularExpression Id. */\n int ELSE = 19;\n /** RegularExpression Id. */\n int FOR = 20;\n /** RegularExpression Id. */\n int IN = 21;\n /** RegularExpression Id. */\n int DO = 22;\n /** RegularExpression Id. */\n int IF = 23;\n /** RegularExpression Id. */\n int LIT_ENTERO = 24;\n /** RegularExpression Id. */\n int LIT_DECIMAL = 25;\n /** RegularExpression Id. */\n int LIT_BOOLEANO = 26;\n /** RegularExpression Id. */\n int NULL = 27;\n /** RegularExpression Id. */\n int LIT_STRING = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int LAMBDA = 30;\n /** RegularExpression Id. */\n int IGUAL_QUE = 31;\n /** RegularExpression Id. */\n int DIFERENTE_QUE = 32;\n /** RegularExpression Id. */\n int MAYOR_IGUAL_QUE = 33;\n /** RegularExpression Id. */\n int MENOR_IGUAL_QUE = 34;\n /** RegularExpression Id. */\n int MODULO = 35;\n /** RegularExpression Id. */\n int MAS = 36;\n /** RegularExpression Id. */\n int MENOS = 37;\n /** RegularExpression Id. */\n int MULT = 38;\n /** RegularExpression Id. */\n int DIV = 39;\n /** RegularExpression Id. */\n int POTENCIA = 40;\n /** RegularExpression Id. */\n int IGUAL = 41;\n /** RegularExpression Id. */\n int MAYOR_QUE = 42;\n /** RegularExpression Id. */\n int MENOR_QUE = 43;\n /** RegularExpression Id. */\n int INTERROGANTE = 44;\n /** RegularExpression Id. */\n int DOS_PUNTOS = 45;\n /** RegularExpression Id. */\n int OR = 46;\n /** RegularExpression Id. */\n int AND = 47;\n /** RegularExpression Id. */\n int NOT = 48;\n /** RegularExpression Id. */\n int PAR_IZQ = 49;\n /** RegularExpression Id. */\n int PAR_DER = 50;\n /** RegularExpression Id. */\n int COR_IZQ = 51;\n /** RegularExpression Id. */\n int COR_DER = 52;\n /** RegularExpression Id. */\n int PUNTO_COMA = 53;\n /** RegularExpression Id. */\n int COMA = 54;\n /** RegularExpression Id. */\n int LLAVE_IZQ = 55;\n /** RegularExpression Id. */\n int LLAVE_DER = 56;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"\\\"#*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*#\\\"\",\n \"<token of kind 10>\",\n \"\\\"continue\\\"\",\n \"\\\"function\\\"\",\n \"\\\"default\\\"\",\n \"\\\"return\\\"\",\n \"\\\"switch\\\"\",\n \"\\\"break\\\"\",\n \"\\\"while\\\"\",\n \"\\\"case\\\"\",\n \"\\\"else\\\"\",\n \"\\\"for\\\"\",\n \"\\\"in\\\"\",\n \"\\\"do\\\"\",\n \"\\\"if\\\"\",\n \"<LIT_ENTERO>\",\n \"<LIT_DECIMAL>\",\n \"<LIT_BOOLEANO>\",\n \"\\\"null\\\"\",\n \"<LIT_STRING>\",\n \"<ID>\",\n \"\\\"=>\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"%%\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"^\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"!\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n };\n\n}", "title": "" }, { "docid": "b6a7ced325940bde47209020b0512f44", "score": "0.53986555", "text": "public interface TokenTypes {\n int END_OF_QUERY = 0;\n int KEYWORD_SELECT = 1;\n int IDENTIFIER = 2;\n int KEYWORD_AS = 3;\n int COLON = 4;\n int KEYWORD_FROM = 5;\n int KEYWORD_IN = 6;\n int KEYWORD_WHERE = 7;\n int KEYWORD_OR = 8;\n int KEYWORD_AND = 9;\n int EQUAL = 10;\n int NOT_EQUAL = 11;\n int KEYWORD_LIKE = 12;\n int LT = 13;\n int LTE = 14;\n int GT = 15;\n int GTE = 16;\n int PLUS = 17;\n int MINUS = 18;\n int CONCAT = 19; // || string concatenation operator\n int TIMES = 20;\n int DIVIDE = 21;\n int KEYWORD_MOD = 22;\n int KEYWORD_ABS = 23;\n int KEYWORD_NOT = 24;\n int LPAREN = 25;\n int RPAREN = 26;\n int DOLLAR = 27;\n int KEYWORD_NIL = 28;\n int KEYWORD_UNDEFINED = 29;\n int DOT = 30;\n int ARROW = 31; // -> method call operator\n int BOOLEAN_LITERAL = 32;\n int LONG_LITERAL = 33;\n int DOUBLE_LITERAL = 34;\n int CHAR_LITERAL = 35;\n int STRING_LITERAL = 36;\n int DATE_LITERAL = 37;\n int TIME_LITERAL = 38;\n int TIMESTAMP_LITERAL = 39;\n int KEYWORD_BETWEEN = 40;\n int KEYWORD_DISTINCT = 41;\n int KEYWORD_IS_DEFINED = 42;\n int KEYWORD_IS_UNDEFINED = 43;\n int KEYWORD_LIST = 44;\n int COMMA = 45;\n int KEYWORD_ORDER = 46;\n int KEYWORD_BY = 47;\n int KEYWORD_ASC = 48;\n int KEYWORD_DESC = 49;\n}", "title": "" }, { "docid": "21e663cb18c7ea10a1bfbf0d844b9355", "score": "0.5337651", "text": "@Test(timeout = 4000)\n public void test082() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"ai\");\n xPathLexer0.setXPath(\"@^w*!/\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(16, token0.getTokenType());\n assertEquals(\"@\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "bb83d1b416a3410683c1364a49bce640", "score": "0.53200704", "text": "@Test(timeout = 4000)\n public void test078() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"`LbE>@-^PH) M\");\n Token token0 = xPathLexer0.at();\n assertEquals(16, token0.getTokenType());\n assertEquals(\"`\", token0.getTokenText());\n \n Token token1 = xPathLexer0.colon();\n assertEquals(18, token1.getTokenType());\n assertEquals(\"L\", token1.getTokenText());\n \n Token token2 = xPathLexer0.doubleColon();\n assertEquals(\"bE\", token2.getTokenText());\n assertEquals(19, token2.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(9, token3.getTokenType());\n assertEquals(\">\", token3.getTokenText());\n \n Token token4 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token4.getTokenType());\n assertEquals(\"\", token4.getTokenText());\n }", "title": "" }, { "docid": "ead2be3651eb529185ea9dfe64c6a976", "score": "0.5310675", "text": "@Test(timeout = 4000)\n public void test071() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"m%^(jR%h$2nb,1SH\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"m\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "a91f38bc3a60c766cf7ff20b6e250cd9", "score": "0.52974504", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"dmf\");\n Token token0 = xPathLexer0.notEquals();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(22, token0.getTokenType());\n assertEquals(\"dm\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"f\", token1.getTokenText());\n }", "title": "" }, { "docid": "1f3deaec618c10106296887ea8e03930", "score": "0.52949136", "text": "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"?!<J<]O,\");\n Token token0 = xPathLexer0.plus();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\"?\", token0.getTokenText());\n assertEquals(5, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "bff6309f294dc14fcde6e1297376e4ff", "score": "0.52679634", "text": "public interface MiniJavaParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int PLUS = 8;\r\n /** RegularExpression Id. */\r\n int AND = 9;\r\n /** RegularExpression Id. */\r\n int LESSTHAN = 10;\r\n /** RegularExpression Id. */\r\n int MINUS = 11;\r\n /** RegularExpression Id. */\r\n int MULTIPLY = 12;\r\n /** RegularExpression Id. */\r\n int NOT = 13;\r\n /** RegularExpression Id. */\r\n int SEMICOLON = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int DOT = 16;\r\n /** RegularExpression Id. */\r\n int EQUAL = 17;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 18;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 19;\r\n /** RegularExpression Id. */\r\n int LBRACES = 20;\r\n /** RegularExpression Id. */\r\n int RBRACES = 21;\r\n /** RegularExpression Id. */\r\n int LPAREN = 22;\r\n /** RegularExpression Id. */\r\n int RPAREN = 23;\r\n /** RegularExpression Id. */\r\n int ULINE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int STATIC = 26;\r\n /** RegularExpression Id. */\r\n int TRUE = 27;\r\n /** RegularExpression Id. */\r\n int FALSE = 28;\r\n /** RegularExpression Id. */\r\n int VOID = 29;\r\n /** RegularExpression Id. */\r\n int MAIN = 30;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 31;\r\n /** RegularExpression Id. */\r\n int RETURN = 32;\r\n /** RegularExpression Id. */\r\n int IF = 33;\r\n /** RegularExpression Id. */\r\n int ELSE = 34;\r\n /** RegularExpression Id. */\r\n int WHILE = 35;\r\n /** RegularExpression Id. */\r\n int SYSOUT = 36;\r\n /** RegularExpression Id. */\r\n int CLASS = 37;\r\n /** RegularExpression Id. */\r\n int THIS = 38;\r\n /** RegularExpression Id. */\r\n int NEW = 39;\r\n /** RegularExpression Id. */\r\n int LENGTH = 40;\r\n /** RegularExpression Id. */\r\n int STRING = 41;\r\n /** RegularExpression Id. */\r\n int INT = 42;\r\n /** RegularExpression Id. */\r\n int INTARRAY = 43;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 44;\r\n /** RegularExpression Id. */\r\n int LETTER = 45;\r\n /** RegularExpression Id. */\r\n int DIGIT = 46;\r\n /** RegularExpression Id. */\r\n int INT_LITERAL = 47;\r\n /** RegularExpression Id. */\r\n int ID = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"<token of kind 1>\",\r\n \"<token of kind 2>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\r\\\\n\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\";\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"_\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"int\\\"\",\r\n \"\\\"int[]\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"<LETTER>\",\r\n \"<DIGIT>\",\r\n \"<INT_LITERAL>\",\r\n \"<ID>\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "f2fb971e19dc0c85c79fd58cf65ab977", "score": "0.5265098", "text": "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 5;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 6;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int ASSIGN = 9;\n /** RegularExpression Id. */\n int OPERATOR = 10;\n /** RegularExpression Id. */\n int UNARY_MINUS = 11;\n /** RegularExpression Id. */\n int PLUS = 12;\n /** RegularExpression Id. */\n int MINUS = 13;\n /** RegularExpression Id. */\n int MULT = 14;\n /** RegularExpression Id. */\n int DIV = 15;\n /** RegularExpression Id. */\n int EQUAL = 16;\n /** RegularExpression Id. */\n int IDENTIFIER = 17;\n /** RegularExpression Id. */\n int LETTER = 18;\n /** RegularExpression Id. */\n int DIGIT = 19;\n /** RegularExpression Id. */\n int INTEGER = 20;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 2;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 3;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<token of kind 1>\",\n \"\\\"//\\\"\",\n \"<token of kind 3>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 8>\",\n \"<ASSIGN>\",\n \"<OPERATOR>\",\n \"\\\"minus\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"=\\\"\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<INTEGER>\",\n \"\\\"LIVE:\\\"\",\n \"\\\";\\\"\",\n };\n\n}", "title": "" }, { "docid": "750414cd60c02723e2407b5b39d1967b", "score": "0.5251608", "text": "@Test(timeout = 4000)\n public void test002() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\">HuEK<7VGHnu\");\n Token token0 = xPathLexer0.at();\n assertEquals(\">\", token0.getTokenText());\n assertEquals(16, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"HuEK\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n \n Token token2 = xPathLexer0.relationalOperator();\n assertEquals(\"<\", token2.getTokenText());\n assertEquals(7, token2.getTokenType());\n }", "title": "" }, { "docid": "29e10b39e1a7fb297da8f06e438df871", "score": "0.52449596", "text": "@Test(timeout = 4000)\n public void test074() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"l @<!mq0\\u0000|\");\n Token token0 = xPathLexer0.doubleColon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(\"l \", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "6f92f86ec3731a264d9ae7fee47888a8", "score": "0.5243717", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"YY]>cp1@z :Ia\");\n Token token0 = xPathLexer0.doubleColon();\n assertEquals(\"YY\", token0.getTokenText());\n assertEquals(19, token0.getTokenType());\n \n Token token1 = xPathLexer0.rightParen();\n assertEquals(\"]\", token1.getTokenText());\n assertEquals(2, token1.getTokenType());\n \n Token token2 = xPathLexer0.pipe();\n assertEquals(\">\", token2.getTokenText());\n assertEquals(17, token2.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(15, token3.getTokenType());\n assertEquals(\"cp1\", token3.getTokenText());\n }", "title": "" }, { "docid": "020a1d6177b474956e5eafcf378917ed", "score": "0.5217987", "text": "@Test(timeout = 4000)\n public void test060() throws Throwable {\n StringReader stringReader0 = new StringReader(\"a(pTL8|Dwapn_y|R(.\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(74, token0.kind);\n }", "title": "" }, { "docid": "75f8b62cb7cf2d3682d19ece9fcdf433", "score": "0.5193874", "text": "public String visit(StmtExp n) {\r\n //printx(\"BEGIN\");\r\n\tline++;\r\n\tn.f1.accept(this);\r\n //printx(\"RETURN\");\r\n\tprintx(\"MOVE v0 \"+n.f3.accept(this));\r\n\tline++;\r\n //printx(\"END\");\r\n\tline++;\r\n\treturn \"v0\";\r\n}", "title": "" }, { "docid": "22aae07fd88c9b8bb3e684920dd1fafd", "score": "0.5186629", "text": "@Test(timeout = 4000)\n public void test06() throws Throwable {\n JavaParser javaParser0 = new JavaParser(\"VariableDeclaratorId\");\n SimpleNode simpleNode0 = new SimpleNode(javaParser0, 9);\n simpleNode0.setIdentifier(\"&&\");\n simpleNode0.jjtGetParent();\n StringWriter stringWriter0 = new StringWriter();\n StringWriter stringWriter1 = stringWriter0.append((CharSequence) \"&&\");\n StringWriter stringWriter2 = stringWriter1.append((CharSequence) \"&&\");\n stringWriter1.write((-1841082780));\n SimpleNode simpleNode1 = new SimpleNode(javaParser0, 1);\n simpleNode1.dump(\"VariableDeclaratorId\", stringWriter1);\n simpleNode0.dump((String) null, stringWriter2);\n simpleNode0.setIdentifier(\"\\f\");\n StringWriter stringWriter3 = new StringWriter(5428);\n simpleNode0.dump(\"&&\", stringWriter1);\n simpleNode0.dump(\"VariableDeclaratorId\", stringWriter2);\n simpleNode1.dump(\"\\f\", stringWriter1);\n StringWriter stringWriter4 = new StringWriter();\n simpleNode0.dump(\"^=\", stringWriter4);\n StringWriter stringWriter5 = stringWriter0.append('@');\n simpleNode1.dump(\"com.soops.CEN4010.JMCA.JParser.ParseException\", stringWriter5);\n assertEquals(\"&&&&\\u4E64<EnumBody>\\n <identifier>*amp</identifier>\\n</EnumBody>\\n<EnumBody>\\n <identifier>*amp</identifier>\\n <identifier>\\f</identifier>\\n</EnumBody>\\n<EnumBody>\\n <identifier>*amp</identifier>\\n <identifier>\\f</identifier>\\n</EnumBody>\\n@\", stringWriter0.toString());\n assertEquals(\"&&&&\\u4E64<EnumBody>\\n <identifier>*amp</identifier>\\n</EnumBody>\\n<EnumBody>\\n <identifier>*amp</identifier>\\n <identifier>\\f</identifier>\\n</EnumBody>\\n<EnumBody>\\n <identifier>*amp</identifier>\\n <identifier>\\f</identifier>\\n</EnumBody>\\n@\", stringWriter5.toString());\n }", "title": "" }, { "docid": "d2d6a10feb4be87d18da7722e710e34d", "score": "0.51843476", "text": "@Test(timeout = 4000)\n public void test102() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"$027mxyi$`Z(E!`6\");\n Token token0 = xPathLexer0.literal();\n assertEquals(27, token0.getTokenType());\n assertEquals(\"027mxyi\", token0.getTokenText());\n assertNotNull(token0);\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"`Z(E!`6\", token1.getTokenText());\n }", "title": "" }, { "docid": "72ec9be4c721cb3e4a3314477156931e", "score": "0.51834023", "text": "@Test(timeout = 4000)\n public void test004() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"m%^(jR%h$2nb,1SH\");\n xPathLexer0.identifierOrOperatorName();\n Token token0 = xPathLexer0.and();\n assertNull(token0);\n }", "title": "" }, { "docid": "6492cd801e19b73d81309dedc3c773f2", "score": "0.5170311", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n Token token0 = xPathLexer0.slashes();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(11, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "d18a12c36c994720929401eb9e85f1f6", "score": "0.516738", "text": "@Test(timeout = 4000)\n public void test040() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"m.eD8-9E+p,y$[vu4UV\");\n Token token0 = xPathLexer0.identifierOrOperatorName();\n assertNotNull(token0);\n assertEquals(\"m.eD8-9E\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "2fdc8d0ea1be9195cadd966d11452dc7", "score": "0.5163979", "text": "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"?!<J<]O,\");\n xPathLexer0.plus();\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.identifierOrOperatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "9b0d720dd745be1dfc017d614ff7d557", "score": "0.5161911", "text": "@Test(timeout = 4000)\n public void test003() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"YY]>cp1@z :Ia\");\n xPathLexer0.setXPath(\"@xaj3)*8y8Et0,&B|=O\");\n xPathLexer0.slashes();\n xPathLexer0.minus();\n Token token0 = xPathLexer0.operatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "eb93ea9340b659b0dd07edf0c4c3cd2c", "score": "0.5142609", "text": "public interface Ir1ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int COMMENT = 4;\r\n /** RegularExpression Id. */\r\n int Digit = 9;\r\n /** RegularExpression Id. */\r\n int Letter = 10;\r\n /** RegularExpression Id. */\r\n int IntLit = 11;\r\n /** RegularExpression Id. */\r\n int BoolLit = 12;\r\n /** RegularExpression Id. */\r\n int StrLit = 13;\r\n /** RegularExpression Id. */\r\n int Temp = 14;\r\n /** RegularExpression Id. */\r\n int Label = 15;\r\n /** RegularExpression Id. */\r\n int Id = 16;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"<COMMENT>\",\r\n \"\\\"goto\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"call\\\"\",\r\n \"\\\"return\\\"\",\r\n \"<Digit>\",\r\n \"<Letter>\",\r\n \"<IntLit>\",\r\n \"<BoolLit>\",\r\n \"<StrLit>\",\r\n \"<Temp>\",\r\n \"<Label>\",\r\n \"<Id>\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\":\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"/\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"||\\\"\",\r\n \"\\\"==\\\"\",\r\n \"\\\"!=\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"<=\\\"\",\r\n \"\\\">\\\"\",\r\n \"\\\">=\\\"\",\r\n \"\\\"!\\\"\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "0136ef3cee31038bf33fe128117c6c8c", "score": "0.5137415", "text": "@Test(timeout = 4000)\n public void test109() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"MY&)HtOD\");\n Token token0 = xPathLexer0.at();\n assertEquals(\"M\", token0.getTokenText());\n assertEquals(16, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"Y\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "b96ec436c7e4b45414a4a0309d8adc28", "score": "0.51309353", "text": "@Test(timeout = 4000)\n public void test114() throws Throwable {\n StringReader stringReader0 = new StringReader(\"M(*{\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(74, token0.kind);\n assertEquals(\"M\", token0.toString());\n }", "title": "" }, { "docid": "81f80f18e5f8f8120a87c6544ede0aa6", "score": "0.51226217", "text": "public String visit(BinOp n) {\r\n\tif (v==true) { \r\n\t\tprintx(\"MOVE a1 v0\"); \r\n\t\tv=false;\r\n\t\tString op=n.f0.accept(this);\r\n\t\tv=true; String t1=n.f1.accept(this); v=false;\r\n\t\tString exp=n.f2.accept(this);\r\n\t\tprintx(\"MOVE v1 \"+op+\" \"+t1+\" \"+exp);\r\n\t\tprintx(\"MOVE v0 a1\");\r\n\t\treturn \"v1\";\r\n\t}\r\n\telse {\r\n\t\tString op=n.f0.accept(this);\r\n\t\tv=true; String t1=n.f1.accept(this); v=false;\r\n\t\tString exp=n.f2.accept(this);\r\n\t\treturn op+\" \"+t1+\" \"+exp;\r\n\t}\r\n\t//return op+\" \"+t1+\" \"+exp;\r\n}", "title": "" }, { "docid": "630ecc18f7804482bf4a24fc9936affe", "score": "0.5114182", "text": "@Test(timeout = 4000)\n public void test073() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"m%^(jR%h$2nb,1SH\");\n xPathLexer0.identifierOrOperatorName();\n Token token0 = xPathLexer0.star();\n assertEquals(\"%\", token0.getTokenText());\n assertEquals(20, token0.getTokenType());\n \n Token token1 = xPathLexer0.colon();\n assertEquals(\"^\", token1.getTokenText());\n assertEquals(18, token1.getTokenType());\n \n Token token2 = xPathLexer0.leftBracket();\n assertEquals(\"(\", token2.getTokenText());\n assertEquals(3, token2.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(15, token3.getTokenType());\n assertEquals(\"jR\", token3.getTokenText());\n }", "title": "" }, { "docid": "30f68287c112e9b2a8a2f8d10b66e4bf", "score": "0.5108054", "text": "@Test(timeout = 4000)\n public void test057() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"m%^(jR%h$2nb,1SH\");\n Token token0 = xPathLexer0.plus();\n assertEquals(\"m\", token0.getTokenText());\n \n xPathLexer0.slashes();\n Token token1 = xPathLexer0.plus();\n assertEquals(5, token1.getTokenType());\n \n Token token2 = xPathLexer0.minus();\n assertEquals(\"(\", token2.getTokenText());\n assertEquals(6, token2.getTokenType());\n \n Token token3 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token3.getTokenType());\n assertEquals(\"jR\", token3.getTokenText());\n \n Token token4 = xPathLexer0.pipe();\n assertEquals(17, token4.getTokenType());\n assertEquals(\"%\", token4.getTokenText());\n \n Token token5 = xPathLexer0.slashes();\n assertEquals(11, token5.getTokenType());\n assertEquals(\"h\", token5.getTokenText());\n \n Token token6 = xPathLexer0.at();\n assertEquals(16, token6.getTokenType());\n assertEquals(\"$\", token6.getTokenText());\n \n Token token7 = xPathLexer0.nextToken();\n assertEquals(30, token7.getTokenType());\n assertEquals(\"2\", token7.getTokenText());\n \n Token token8 = xPathLexer0.nextToken();\n assertEquals(\"nb,1SH\", token8.getTokenText());\n }", "title": "" }, { "docid": "26844b1056d089fe4bdf67111ad72b13", "score": "0.51039976", "text": "@Test(timeout = 4000)\n public void test089() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"T+lTQNqT@S(HC_RYo8\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"T\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "716daa210bf52b00a27c53cec71aa6d6", "score": "0.5102769", "text": "@Test(timeout = 4000)\n public void test066() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"YY]>cp1@z :Ia\");\n Token token0 = xPathLexer0.doubleColon();\n assertEquals(19, token0.getTokenType());\n assertEquals(\"YY\", token0.getTokenText());\n \n Token token1 = xPathLexer0.minus();\n assertEquals(6, token1.getTokenType());\n assertEquals(\"]\", token1.getTokenText());\n \n Token token2 = xPathLexer0.rightBracket();\n assertEquals(\">\", token2.getTokenText());\n assertEquals(4, token2.getTokenType());\n \n Token token3 = xPathLexer0.not();\n assertEquals(23, token3.getTokenType());\n assertEquals(\"c\", token3.getTokenText());\n \n Token token4 = xPathLexer0.rightParen();\n assertEquals(2, token4.getTokenType());\n assertEquals(\"p\", token4.getTokenText());\n \n Token token5 = xPathLexer0.comma();\n assertEquals(\"1\", token5.getTokenText());\n assertEquals(32, token5.getTokenType());\n \n Token token6 = xPathLexer0.pipe();\n assertEquals(17, token6.getTokenType());\n assertEquals(\"@\", token6.getTokenText());\n \n Token token7 = xPathLexer0.nextToken();\n assertEquals(15, token7.getTokenType());\n assertEquals(\"z\", token7.getTokenText());\n }", "title": "" }, { "docid": "bedf0932b9ca3249f90f7627e503590f", "score": "0.51015884", "text": "@Test(timeout = 4000)\n public void test076() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"d%#{rD/X\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"d\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "f6e81f3f90c20dff8577b00914152e6f", "score": "0.50994724", "text": "public interface LexerJJConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int INTEGER_CONSTANT = 6;\n /** RegularExpression Id. */\n int LOGIC_CONSTANT = 7;\n /** RegularExpression Id. */\n int DIGIT = 8;\n /** RegularExpression Id. */\n int PLUS = 9;\n /** RegularExpression Id. */\n int MINUS = 10;\n /** RegularExpression Id. */\n int MULTIPLY = 11;\n /** RegularExpression Id. */\n int DIVIDE = 12;\n /** RegularExpression Id. */\n int COMMA = 13;\n /** RegularExpression Id. */\n int COLON = 14;\n /** RegularExpression Id. */\n int LEFT_BRACE = 15;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 16;\n /** RegularExpression Id. */\n int LEFT_SQUARE = 17;\n /** RegularExpression Id. */\n int RIGHT_SQUARE = 18;\n /** RegularExpression Id. */\n int QUOTE = 19;\n /** RegularExpression Id. */\n int IDENTIFIER = 20;\n /** RegularExpression Id. */\n int LETTER = 21;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 5>\",\n \"<INTEGER_CONSTANT>\",\n \"<LOGIC_CONSTANT>\",\n \"<DIGIT>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\",\\\"\",\n \"\\\":\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"<IDENTIFIER>\",\n \"<LETTER>\",\n };\n\n}", "title": "" }, { "docid": "59624e6e20582cb463a91edd050932c2", "score": "0.508901", "text": "public interface CompilerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int EOL = 55;\n /** RegularExpression Id. */\n int CEOL = 57;\n /** RegularExpression Id. */\n int IMM = 59;\n /** RegularExpression Id. */\n int NUM = 60;\n /** RegularExpression Id. */\n int IND = 61;\n /** RegularExpression Id. */\n int PLUS = 62;\n /** RegularExpression Id. */\n int MOINS = 63;\n /** RegularExpression Id. */\n int VALUE = 64;\n /** RegularExpression Id. */\n int LETTER = 65;\n /** RegularExpression Id. */\n int DIGIT = 66;\n /** RegularExpression Id. */\n int DAT = 67;\n /** RegularExpression Id. */\n int MOV = 68;\n /** RegularExpression Id. */\n int ADD = 69;\n /** RegularExpression Id. */\n int SUB = 70;\n /** RegularExpression Id. */\n int MUL = 71;\n /** RegularExpression Id. */\n int DIV = 72;\n /** RegularExpression Id. */\n int MOD = 73;\n /** RegularExpression Id. */\n int JMP = 74;\n /** RegularExpression Id. */\n int JMZ = 75;\n /** RegularExpression Id. */\n int JMN = 76;\n /** RegularExpression Id. */\n int DJN = 77;\n /** RegularExpression Id. */\n int CMP = 78;\n /** RegularExpression Id. */\n int SLT = 79;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SL_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"\\\\\\\\\\\"\",\n \"\\\"!\\\"\",\n \"\\\"%\\\"\",\n \"\\\"&\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"*\\\"\",\n \"\\\".\\\"\",\n \"\\\"/\\\"\",\n \"\\\";\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"^\\\"\",\n \"\\\"`\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"~\\\"\",\n \"\\\"|\\\"\",\n \"\\\"\\\\u0000\\\"\",\n \"\\\"\\\\u0001\\\"\",\n \"\\\"\\\\u0002\\\"\",\n \"\\\"\\\\u0003\\\"\",\n \"\\\"\\\\u0004\\\"\",\n \"\\\"\\\\u0005\\\"\",\n \"\\\"\\\\u0006\\\"\",\n \"\\\"\\\\u0007\\\"\",\n \"\\\"\\\\b\\\"\",\n \"\\\"\\\\u000b\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\u000e\\\"\",\n \"\\\"\\\\u000f\\\"\",\n \"\\\"\\\\u0010\\\"\",\n \"\\\"\\\\u0011\\\"\",\n \"\\\"\\\\u0012\\\"\",\n \"\\\"\\\\u0013\\\"\",\n \"\\\"\\\\u0014\\\"\",\n \"\\\"\\\\u0015\\\"\",\n \"\\\"\\\\u0016\\\"\",\n \"\\\"\\\\u0017\\\"\",\n \"\\\"\\\\u0018\\\"\",\n \"\\\"\\\\u0019\\\"\",\n \"\\\"\\\\u001a\\\"\",\n \"\\\"\\\\u001b\\\"\",\n \"\\\"\\\\u001c\\\"\",\n \"\\\"\\\\u001d\\\"\",\n \"\\\"\\\\u001e\\\"\",\n \"\\\"\\\\u001f\\\"\",\n \"\\\"\\\\u007f\\\"\",\n \"<EOL>\",\n \"\\\"//\\\"\",\n \"<CEOL>\",\n \"<token of kind 58>\",\n \"\\\"#\\\"\",\n \"\\\"$\\\"\",\n \"\\\"@\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"<VALUE>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"DAT\\\"\",\n \"\\\"MOV\\\"\",\n \"\\\"ADD\\\"\",\n \"\\\"SUB\\\"\",\n \"\\\"MUL\\\"\",\n \"\\\"DIV\\\"\",\n \"\\\"MOD\\\"\",\n \"\\\"JMP\\\"\",\n \"\\\"JMZ\\\"\",\n \"\\\"JMN\\\"\",\n \"\\\"DJN\\\"\",\n \"\\\"CMP\\\"\",\n \"\\\"SLT\\\"\",\n };\n\n}", "title": "" }, { "docid": "f556ebcb3ae702e6149cdc36b3e61995", "score": "0.5080612", "text": "@Test(timeout = 4000)\n public void test003() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\".0.J|LeUl,~+:KHUp!w\");\n xPathLexer0.identifier();\n Token token0 = xPathLexer0.or();\n assertNull(token0);\n }", "title": "" }, { "docid": "cbdbd500bc77978f4baa23649b68ae5d", "score": "0.5073418", "text": "@Test(timeout = 4000)\n public void test104() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"^9)V@3#fj<\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals((-1), token0.getTokenType());\n }", "title": "" }, { "docid": "ae6f648bac6cbc6ad0b5406671d20ad3", "score": "0.5064133", "text": "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"q~r@7(73]\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"q\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "e088cabb1e0120c3579e282572696c84", "score": "0.5059055", "text": "public interface SQLParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int K_SELECT = 5;\r\n /** RegularExpression Id. */\r\n int K_FROM = 6;\r\n /** RegularExpression Id. */\r\n int K_AS = 7;\r\n /** RegularExpression Id. */\r\n int K_WHERE = 8;\r\n /** RegularExpression Id. */\r\n int K_AND = 9;\r\n /** RegularExpression Id. */\r\n int K_OR = 10;\r\n /** RegularExpression Id. */\r\n int S_OP = 11;\r\n /** RegularExpression Id. */\r\n int S_NUMBER = 12;\r\n /** RegularExpression Id. */\r\n int FLOAT = 13;\r\n /** RegularExpression Id. */\r\n int INTEGER = 14;\r\n /** RegularExpression Id. */\r\n int DIGIT = 15;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 16;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 17;\r\n /** RegularExpression Id. */\r\n int S_IDENTIFIER = 18;\r\n /** RegularExpression Id. */\r\n int LETTER = 19;\r\n /** RegularExpression Id. */\r\n int SPECIAL_CHARS = 20;\r\n /** RegularExpression Id. */\r\n int S_BIND = 21;\r\n /** RegularExpression Id. */\r\n int S_CHAR_LITERAL = 22;\r\n /** RegularExpression Id. */\r\n int S_QUOTED_IDENTIFIER = 23;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"SELECT\\\"\",\r\n \"\\\"FROM\\\"\",\r\n \"\\\"AS\\\"\",\r\n \"\\\"WHERE\\\"\",\r\n \"\\\"AND\\\"\",\r\n \"\\\"OR\\\"\",\r\n \"\\\"=\\\"\",\r\n \"<S_NUMBER>\",\r\n \"<FLOAT>\",\r\n \"<INTEGER>\",\r\n \"<DIGIT>\",\r\n \"<LINE_COMMENT>\",\r\n \"<MULTI_LINE_COMMENT>\",\r\n \"<S_IDENTIFIER>\",\r\n \"<LETTER>\",\r\n \"<SPECIAL_CHARS>\",\r\n \"<S_BIND>\",\r\n \"<S_CHAR_LITERAL>\",\r\n \"<S_QUOTED_IDENTIFIER>\",\r\n \"\\\";\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".*\\\"\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "f9e0f1445214572c17b5df88f8dce24a", "score": "0.50419176", "text": "@Test(timeout = 4000)\n public void test066() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"m>C40|VaC&3\");\n Token token0 = xPathLexer0.operatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "654bec017e9aa1e532332510fedc0d9b", "score": "0.50400114", "text": "public interface RelSchemaParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMMENT = 5;\n /** RegularExpression Id. */\n int EOS = 6;\n /** RegularExpression Id. */\n int LPAREN = 7;\n /** RegularExpression Id. */\n int RPAREN = 8;\n /** RegularExpression Id. */\n int COMMA = 9;\n /** RegularExpression Id. */\n int LBR = 10;\n /** RegularExpression Id. */\n int RBR = 11;\n /** RegularExpression Id. */\n int PIPE = 12;\n /** RegularExpression Id. */\n int PATTERN_NAME = 13;\n /** RegularExpression Id. */\n int RELATION_NAME = 14;\n /** RegularExpression Id. */\n int RELATION_ARITY = 15;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<COMMENT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"<PATTERN_NAME>\",\n \"<RELATION_NAME>\",\n \"<RELATION_ARITY>\",\n };\n\n}", "title": "" }, { "docid": "05010b5caf6d8bc00bfededd493d45b7", "score": "0.5035981", "text": "@Test(timeout = 4000)\n public void test06() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume();\n xPathLexer0.plus();\n xPathLexer0.setPreviousToken((Token) null);\n xPathLexer0.literal();\n xPathLexer0.doubleColon();\n xPathLexer0.star();\n xPathLexer0.literal();\n xPathLexer0.or();\n xPathLexer0.div();\n xPathLexer0.equals();\n xPathLexer0.colon();\n xPathLexer0.rightParen();\n xPathLexer0.star();\n xPathLexer0.not();\n xPathLexer0.mod();\n xPathLexer0.operatorName();\n xPathLexer0.leftBracket();\n xPathLexer0.number();\n xPathLexer0.notEquals();\n xPathLexer0.rightBracket();\n xPathLexer0.colon();\n xPathLexer0.identifier();\n xPathLexer0.mod();\n xPathLexer0.rightBracket();\n xPathLexer0.minus();\n xPathLexer0.literal();\n xPathLexer0.consume((-1889));\n assertNull(xPathLexer0.getXPath());\n }", "title": "" }, { "docid": "9b0ff4a6021c25e1adcfe8d4556fd1be", "score": "0.5035887", "text": "@Test(timeout = 4000)\n public void test129() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"`LbE>@-^PH) M\");\n Token token0 = xPathLexer0.at();\n assertEquals(\"`\", token0.getTokenText());\n \n Token token1 = xPathLexer0.colon();\n assertEquals(18, token1.getTokenType());\n assertEquals(\"L\", token1.getTokenText());\n \n xPathLexer0.at();\n Token token2 = xPathLexer0.doubleColon();\n assertEquals(19, token2.getTokenType());\n assertEquals(\"E>\", token2.getTokenText());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(16, token3.getTokenType());\n \n Token token4 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"-\", token4.getTokenText());\n assertEquals(15, token4.getTokenType());\n }", "title": "" }, { "docid": "dc332815011482b09f41ad862132406c", "score": "0.5025839", "text": "@Test(timeout = 4000)\n public void test040() throws Throwable {\n StringReader stringReader0 = new StringReader(\"if\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, (-1), (-810));\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals((-810), javaCharStream0.getBeginColumn());\n assertEquals(\"if\", token0.toString());\n }", "title": "" }, { "docid": "03c9dc12d7aa242e7f99891aa0199a02", "score": "0.5012786", "text": "public interface DLSyntaxParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SUBCLASSOF = 4;\n /** RegularExpression Id. */\n int EQUIVALENTTO = 5;\n /** RegularExpression Id. */\n int NEQ = 6;\n /** RegularExpression Id. */\n int COMPOSE = 7;\n /** RegularExpression Id. */\n int DOT = 8;\n /** RegularExpression Id. */\n int INVERSE = 9;\n /** RegularExpression Id. */\n int OPENPAR = 10;\n /** RegularExpression Id. */\n int CLOSEPAR = 11;\n /** RegularExpression Id. */\n int OPENSQPAR = 12;\n /** RegularExpression Id. */\n int CLOSESQPAR = 13;\n /** RegularExpression Id. */\n int OPENBRACE = 14;\n /** RegularExpression Id. */\n int CLOSEBRACE = 15;\n /** RegularExpression Id. */\n int COLON = 16;\n /** RegularExpression Id. */\n int AND = 17;\n /** RegularExpression Id. */\n int OR = 18;\n /** RegularExpression Id. */\n int NOT = 19;\n /** RegularExpression Id. */\n int SOME = 20;\n /** RegularExpression Id. */\n int ALL = 21;\n /** RegularExpression Id. */\n int MIN = 22;\n /** RegularExpression Id. */\n int MAX = 23;\n /** RegularExpression Id. */\n int EXACT = 24;\n /** RegularExpression Id. */\n int IN = 25;\n /** RegularExpression Id. */\n int TRANSITIVEROLES = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int DOUBLE = 28;\n /** RegularExpression Id. */\n int ID = 29;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"<SUBCLASSOF>\",\n \"<EQUIVALENTTO>\",\n \"<NEQ>\",\n \"<COMPOSE>\",\n \"\\\".\\\"\",\n \"<INVERSE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\":\\\"\",\n \"<AND>\",\n \"<OR>\",\n \"<NOT>\",\n \"<SOME>\",\n \"<ALL>\",\n \"<MIN>\",\n \"<MAX>\",\n \"<EXACT>\",\n \"<IN>\",\n \"<TRANSITIVEROLES>\",\n \"<INT>\",\n \"<DOUBLE>\",\n \"<ID>\",\n \"\\\"\\\\n\\\"\",\n \"\\\",\\\"\",\n };\n\n}", "title": "" }, { "docid": "820574fd8bdfbd064a074ec68d18534f", "score": "0.5007869", "text": "public interface TokenType {}", "title": "" }, { "docid": "2b5f1b4663d99493c0764bd96738764a", "score": "0.50038", "text": "@Test(timeout = 4000)\n public void test085() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"6<=@0RAz8w3=<\");\n Token token0 = xPathLexer0.plus();\n assertEquals(5, token0.getTokenType());\n assertEquals(\"6\", token0.getTokenText());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(8, token1.getTokenType());\n assertEquals(\"<=\", token1.getTokenText());\n \n Token token2 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token2.getTokenType());\n assertEquals(\"\", token2.getTokenText());\n }", "title": "" }, { "docid": "2e06fa9cd68a2a4a6056518f27491d2f", "score": "0.5002313", "text": "public String visit(Goal n) {\r\n\tline=0;\r\n\tcurrentProc=procedures.get(\"MAIN\");\r\n\tprintx(\"MAIN [0][\"+currentProc.stackSize+\"][\"+currentProc.maxPars+\"]\");\r\n\tline++;\r\n\tn.f1.accept(this);\r\n\tprintx(\"END\");\r\n\t\r\n n.f3.accept(this);\r\n return null;\r\n}", "title": "" }, { "docid": "0579f802c92806fb6a6f0e6d4cf71f95", "score": "0.5000687", "text": "@Test(timeout = 4000)\n public void test007() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"->A!1gjY/V3ue\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"-\", token0.getTokenText());\n assertEquals(6, token0.getTokenType());\n \n Token token1 = xPathLexer0.relationalOperator();\n assertEquals(\">\", token1.getTokenText());\n assertEquals(9, token1.getTokenType());\n assertNotNull(token1);\n }", "title": "" }, { "docid": "84c61cf9714fed9fb1bfa13e2bbbb035", "score": "0.4996947", "text": "public interface ParserHDDLConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int LPAR = 5;\n /** RegularExpression Id. */\n int RPAR = 6;\n /** RegularExpression Id. */\n int LSBRA = 7;\n /** RegularExpression Id. */\n int RSBRA = 8;\n /** RegularExpression Id. */\n int LT = 9;\n /** RegularExpression Id. */\n int GT = 10;\n /** RegularExpression Id. */\n int EQ = 11;\n /** RegularExpression Id. */\n int DASH = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int QUESTIONMARK = 14;\n /** RegularExpression Id. */\n int AND = 15;\n /** RegularExpression Id. */\n int NOT = 16;\n /** RegularExpression Id. */\n int OR = 17;\n /** RegularExpression Id. */\n int DEFINE = 18;\n /** RegularExpression Id. */\n int DOMAIN = 19;\n /** RegularExpression Id. */\n int PROBLEM = 20;\n /** RegularExpression Id. */\n int REQUIREMENTS = 21;\n /** RegularExpression Id. */\n int TYPES = 22;\n /** RegularExpression Id. */\n int CONSTANTS = 23;\n /** RegularExpression Id. */\n int PREDICATES = 24;\n /** RegularExpression Id. */\n int PARAMETERS = 25;\n /** RegularExpression Id. */\n int OBJECTS = 26;\n /** RegularExpression Id. */\n int TASK = 27;\n /** RegularExpression Id. */\n int SUBTASKS = 28;\n /** RegularExpression Id. */\n int ORDERING = 29;\n /** RegularExpression Id. */\n int METHOD = 30;\n /** RegularExpression Id. */\n int ACTION = 31;\n /** RegularExpression Id. */\n int PRECONDITION = 32;\n /** RegularExpression Id. */\n int EFFECT = 33;\n /** RegularExpression Id. */\n int HTN = 34;\n /** RegularExpression Id. */\n int INIT = 35;\n /** RegularExpression Id. */\n int VAR = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"=\\\"\",\n \"\\\"-\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"and\\\"\",\n \"\\\"not\\\"\",\n \"\\\"or\\\"\",\n \"\\\"define\\\"\",\n \"\\\"domain\\\"\",\n \"\\\"problem\\\"\",\n \"\\\"requirements\\\"\",\n \"\\\"types\\\"\",\n \"\\\"constants\\\"\",\n \"\\\"predicates\\\"\",\n \"\\\"parameters\\\"\",\n \"\\\"objects\\\"\",\n \"\\\"task\\\"\",\n \"\\\"subtasks\\\"\",\n \"\\\"ordering\\\"\",\n \"\\\"method\\\"\",\n \"\\\"action\\\"\",\n \"\\\"precondition\\\"\",\n \"\\\"effect\\\"\",\n \"\\\"htn\\\"\",\n \"\\\"init\\\"\",\n \"<VAR>\",\n };\n\n}", "title": "" }, { "docid": "37859c2fed1e3d68ded514ef33f4aa62", "score": "0.49949455", "text": "@Test(timeout = 4000)\n public void test07() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"C{>#Z{\");\n Token token0 = xPathLexer0.star();\n assertEquals(20, token0.getTokenType());\n assertEquals(\"C\", token0.getTokenText());\n \n Token token1 = xPathLexer0.comma();\n assertEquals(32, token1.getTokenType());\n assertEquals(\"{\", token1.getTokenText());\n \n xPathLexer0.identifierOrOperatorName();\n Token token2 = xPathLexer0.nextToken();\n assertEquals(\">\", token2.getTokenText());\n assertEquals(9, token2.getTokenType());\n \n xPathLexer0.operatorName();\n Token token3 = xPathLexer0.at();\n assertEquals(16, token3.getTokenType());\n assertEquals(\"#\", token3.getTokenText());\n \n Token token4 = xPathLexer0.leftBracket();\n assertEquals(3, token4.getTokenType());\n assertEquals(\"Z\", token4.getTokenText());\n \n Token token5 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token5.getTokenType());\n \n Token token6 = xPathLexer0.not();\n assertEquals(\"{\", token6.getTokenText());\n \n Token token7 = xPathLexer0.doubleColon();\n assertEquals(19, token7.getTokenType());\n \n Token token8 = xPathLexer0.nextToken();\n assertEquals((-1), token8.getTokenType());\n \n Token token9 = xPathLexer0.not();\n assertEquals(23, token9.getTokenType());\n \n Token token10 = xPathLexer0.notEquals();\n assertEquals(22, token10.getTokenType());\n \n xPathLexer0.div();\n Token token11 = xPathLexer0.pipe();\n assertEquals(17, token11.getTokenType());\n }", "title": "" }, { "docid": "ee1172e10772c1981e252a0a47b098af", "score": "0.49808124", "text": "@Test(timeout = 4000)\n public void test123() throws Throwable {\n StringReader stringReader0 = new StringReader(\"U<!B.Yo ,\\\"p)NP_ynfE\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, (-2655), 2425);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(\"U\", token0.toString());\n assertEquals(74, token0.kind);\n }", "title": "" }, { "docid": "0f552b792add95f7accc7dc5e916acb7", "score": "0.49742284", "text": "@Converted(kind = Converted.Kind.MANUAL_SEMANTIC,\n source = \"${LLVM_SRC}/llvm/include/llvm/IR/PatternMatch.h\", line = 1183,\n FQN=\"llvm::PatternMatch::m_Argument\", NM=\"Tpl__ZN4llvm12PatternMatch10m_ArgumentERKT0_\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.ir/llvmToClangType ${LLVM_SRC}/llvm/lib/Transforms/Scalar/EarlyCSE.cpp -nm=Tpl__ZN4llvm12PatternMatch10m_ArgumentERKT0_\")\n//</editor-fold>\npublic static /*inline*/ </*typename*/ Opnd_t extends match<Opnd_t>> Argument_match<Opnd_t> m_Argument(/*uint*/int OpI, final /*const*/ Opnd_t /*&*/ Op) {\n return new Argument_match<Opnd_t>(OpI, Op);\n}", "title": "" }, { "docid": "a9feecee41824ae4454a60be6ceb1094", "score": "0.49725187", "text": "public String visit(MoveStmt n) {\r\n\tString t1=n.f1.accept(this);\r\n \tif (t1==\"v0\") v=true;\r\n \t\tString exp=n.f2.accept(this);\r\n \tif (t1==\"v0\") v=false;\r\n //System.out.println(\"1\");\r\n if (t1!=null) {\r\n\t printx(\"MOVE \"+t1+\" \"+exp);\r\n\t if (t1==\"v0\") printx(storeBack);\r\n }\r\n line++;\r\n return null;\r\n}", "title": "" }, { "docid": "e7f24d77266d39d4dd358135c82f8717", "score": "0.49686548", "text": "@Test(timeout = 4000)\n public void test071() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"oK}FqvS)1IQDf0 \");\n Token token0 = xPathLexer0.operatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "8fd0ac8e4a1c5d3e9c0dd7a978dd4ee0", "score": "0.49674168", "text": "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/IR/PatternMatch.h\", line = 819,\n FQN=\"llvm::PatternMatch::m_UIToFP\", NM=\"Tpl__ZN4llvm12PatternMatch8m_UIToFPERKT_\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.ir/llvmToClangType ${LLVM_SRC}/llvm/lib/Transforms/Scalar/EarlyCSE.cpp -nm=Tpl__ZN4llvm12PatternMatch8m_UIToFPERKT_\")\n//</editor-fold>\npublic static /*inline*/ </*typename*/ OpTy extends match<OpTy>> CastClass_match<OpTy> m_UIToFP(final /*const*/ OpTy /*&*/ Op) {\n return new CastClass_match<OpTy>(Instruction.CastOps.UIToFP, Op);\n}", "title": "" }, { "docid": "ec6dbbbefda2297f9b6798398772e44c", "score": "0.49652424", "text": "String query_grammar () throws BaseException;", "title": "" }, { "docid": "1fff0c002b665af7c41261573430a3a4", "score": "0.49609324", "text": "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 1;\n /** RegularExpression Id. */\n int MINUS = 2;\n /** RegularExpression Id. */\n int OPENCBRACKET = 3;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 4;\n /** RegularExpression Id. */\n int USING = 5;\n /** RegularExpression Id. */\n int IN = 6;\n /** RegularExpression Id. */\n int AS = 7;\n /** RegularExpression Id. */\n int NAME = 8;\n /** RegularExpression Id. */\n int QUOTE = 9;\n /** RegularExpression Id. */\n int ENDQUOTE = 10;\n /** RegularExpression Id. */\n int CHAR = 11;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int STRING_STATE = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"using\\\"\",\n \"\\\"in\\\"\",\n \"\\\"as\\\"\",\n \"<NAME>\",\n \"\\\"\\\\\\\"\\\"\",\n \"<ENDQUOTE>\",\n \"<CHAR>\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"<token of kind 16>\",\n };\n\n}", "title": "" }, { "docid": "64c2f1b6cbda1156060029709ea1d31a", "score": "0.4960063", "text": "@Test(timeout = 4000)\n public void test070() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"BCM=v\\\"+-\\\"!v<hn\");\n xPathLexer0.at();\n xPathLexer0.rightParen();\n xPathLexer0.colon();\n xPathLexer0.doubleColon();\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.identifierOrOperatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "670c1155aacae2f6f3657911279cd3bd", "score": "0.49594468", "text": "@Test(timeout = 4000)\n public void test083() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"?!<J<]O,\");\n Token token0 = xPathLexer0.slashes();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(11, token0.getTokenType());\n assertEquals(\"?\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "4050dc07c110ac5338b11dab8bc93af9", "score": "0.49540937", "text": "public void accepteTOK(int j);", "title": "" }, { "docid": "a3f13c806210ba8f02fd4d0fbfa415c6", "score": "0.49533972", "text": "@Test(timeout = 4000)\n public void test099() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"AIRW}sW:H'\\\"xHj/G\");\n Token token0 = xPathLexer0.plus();\n assertEquals(5, token0.getTokenType());\n assertEquals(\"A\", token0.getTokenText());\n \n Token token1 = xPathLexer0.slashes();\n assertEquals(\"I\", token1.getTokenText());\n assertEquals(11, token1.getTokenType());\n \n Token token2 = xPathLexer0.minus();\n assertEquals(6, token2.getTokenType());\n assertEquals(\"R\", token2.getTokenText());\n \n Token token3 = xPathLexer0.comma();\n assertEquals(\"W\", token3.getTokenText());\n assertEquals(32, token3.getTokenType());\n \n Token token4 = xPathLexer0.rightParen();\n assertEquals(\"}\", token4.getTokenText());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(15, token5.getTokenType());\n assertEquals(\"sW\", token5.getTokenText());\n \n Token token6 = xPathLexer0.rightParen();\n assertEquals(2, token6.getTokenType());\n \n Token token7 = xPathLexer0.equals();\n assertEquals(\"H\", token7.getTokenText());\n assertEquals(21, token7.getTokenType());\n \n Token token8 = xPathLexer0.star();\n assertEquals(20, token8.getTokenType());\n assertEquals(\"'\", token8.getTokenText());\n \n Token token9 = xPathLexer0.whitespace();\n assertEquals((-2), token9.getTokenType());\n \n xPathLexer0.doubleColon();\n Token token10 = xPathLexer0.at();\n assertEquals(\"H\", token10.getTokenText());\n assertEquals(16, token10.getTokenType());\n \n Token token11 = xPathLexer0.doubleColon();\n assertEquals(19, token11.getTokenType());\n assertEquals(\"j/\", token11.getTokenText());\n \n Token token12 = xPathLexer0.nextToken();\n assertEquals((-1), token12.getTokenType());\n assertEquals(\"G\", token12.getTokenText());\n }", "title": "" }, { "docid": "696891f518cb1a395fdba1fe039c091e", "score": "0.49501663", "text": "@Test(timeout = 4000)\n public void test076() throws Throwable {\n StringReader stringReader0 = new StringReader(\"|KyL1Rs~)#a0<\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(106, token0.kind);\n }", "title": "" }, { "docid": "4e3c2e05b26165c903709c80019135c8", "score": "0.49482912", "text": "public interface TernConstants {\n\n /**\n * A token identity constant.\n */\n public static final int INDENT = 1001;\n\n /**\n * A token identity constant.\n */\n public static final int DEDENT = 1002;\n\n /**\n * A token identity constant.\n */\n public static final int LEFT_BRACE = 1003;\n\n /**\n * A token identity constant.\n */\n public static final int RIGHT_BRACE = 1004;\n\n /**\n * A token identity constant.\n */\n public static final int LEFT_PAREN = 1005;\n\n /**\n * A token identity constant.\n */\n public static final int RIGHT_PAREN = 1006;\n\n /**\n * A token identity constant.\n */\n public static final int COLON = 1007;\n\n /**\n * A token identity constant.\n */\n public static final int ASSIGN = 1008;\n\n /**\n * A token identity constant.\n */\n public static final int COMMA = 1009;\n\n /**\n * A token identity constant.\n */\n public static final int IMPORT = 1010;\n\n /**\n * A token identity constant.\n */\n public static final int IF = 1011;\n\n /**\n * A token identity constant.\n */\n public static final int DEF = 1012;\n\n /**\n * A token identity constant.\n */\n public static final int PROCESS = 1013;\n\n /**\n * A token identity constant.\n */\n public static final int WHILE = 1014;\n\n /**\n * A token identity constant.\n */\n public static final int WAIT = 1015;\n\n /**\n * A token identity constant.\n */\n public static final int PRINT = 1016;\n\n /**\n * A token identity constant.\n */\n public static final int TRACE = 1017;\n\n /**\n * A token identity constant.\n */\n public static final int RAND = 1018;\n\n /**\n * A token identity constant.\n */\n public static final int START = 1019;\n\n /**\n * A token identity constant.\n */\n public static final int STOP = 1020;\n\n /**\n * A token identity constant.\n */\n public static final int LESS_THAN = 1021;\n\n /**\n * A token identity constant.\n */\n public static final int LESS_THAN_EQ = 1022;\n\n /**\n * A token identity constant.\n */\n public static final int GREATER_THAN = 1023;\n\n /**\n * A token identity constant.\n */\n public static final int GREATER_THAN_EQ = 1024;\n\n /**\n * A token identity constant.\n */\n public static final int NOT_EQUAL = 1025;\n\n /**\n * A token identity constant.\n */\n public static final int EQUAL = 1026;\n\n /**\n * A token identity constant.\n */\n public static final int ADD = 1027;\n\n /**\n * A token identity constant.\n */\n public static final int SUB = 1028;\n\n /**\n * A token identity constant.\n */\n public static final int MUL = 1029;\n\n /**\n * A token identity constant.\n */\n public static final int DIV = 1030;\n\n /**\n * A token identity constant.\n */\n public static final int RANDOM = 1031;\n\n /**\n * A token identity constant.\n */\n public static final int OR = 1032;\n\n /**\n * A token identity constant.\n */\n public static final int NOT = 1033;\n\n /**\n * A token identity constant.\n */\n public static final int AND = 1034;\n\n /**\n * A token identity constant.\n */\n public static final int TRUE = 1035;\n\n /**\n * A token identity constant.\n */\n public static final int FALSE = 1036;\n\n /**\n * A token identity constant.\n */\n public static final int NUMBER = 1037;\n\n /**\n * A token identity constant.\n */\n public static final int IDENTIFIER = 1038;\n\n /**\n * A token identity constant.\n */\n public static final int WHITESPACE = 1039;\n\n /**\n * A token identity constant.\n */\n public static final int STRING = 1040;\n\n /**\n * A production node identity constant.\n */\n public static final int PROGRAM = 2001;\n\n /**\n * A production node identity constant.\n */\n public static final int COMMAND = 2002;\n\n /**\n * A production node identity constant.\n */\n public static final int BLOCK = 2003;\n\n /**\n * A production node identity constant.\n */\n public static final int PROCEDURE_DEF = 2004;\n\n /**\n * A production node identity constant.\n */\n public static final int PROCEDURE_DECLARATION = 2005;\n\n /**\n * A production node identity constant.\n */\n public static final int IMPORT_DEF = 2006;\n\n /**\n * A production node identity constant.\n */\n public static final int PROCEDURE_NAME = 2007;\n\n /**\n * A production node identity constant.\n */\n public static final int FORMAL_PARAM_LIST = 2008;\n\n /**\n * A production node identity constant.\n */\n public static final int FORMAL_PARAM = 2009;\n\n /**\n * A production node identity constant.\n */\n public static final int PROCESS_DEF = 2010;\n\n /**\n * A production node identity constant.\n */\n public static final int PROCESS_NAME = 2011;\n\n /**\n * A production node identity constant.\n */\n public static final int CONTROL_STRUCTURE = 2012;\n\n /**\n * A production node identity constant.\n */\n public static final int WHILE_LOOP = 2013;\n\n /**\n * A production node identity constant.\n */\n public static final int WHILE_CONDITION = 2014;\n\n /**\n * A production node identity constant.\n */\n public static final int PROCEDURE_CALL = 2015;\n\n /**\n * A production node identity constant.\n */\n public static final int FUNCTION_CALL = 2016;\n\n /**\n * A production node identity constant.\n */\n public static final int ACTUAL_PARAM_LIST = 2017;\n\n /**\n * A production node identity constant.\n */\n public static final int ASSIGNMENT = 2018;\n\n /**\n * A production node identity constant.\n */\n public static final int BUILT_IN_COMMAND = 2019;\n\n /**\n * A production node identity constant.\n */\n public static final int WAIT_COMMAND = 2020;\n\n /**\n * A production node identity constant.\n */\n public static final int PRINT_COMMAND = 2021;\n\n /**\n * A production node identity constant.\n */\n public static final int TRACE_COMMAND = 2022;\n\n /**\n * A production node identity constant.\n */\n public static final int START_COMMAND = 2023;\n\n /**\n * A production node identity constant.\n */\n public static final int STOP_COMMAND = 2024;\n\n /**\n * A production node identity constant.\n */\n public static final int VARIABLE_NAME = 2025;\n\n /**\n * A production node identity constant.\n */\n public static final int EXPRESSION = 2026;\n\n /**\n * A production node identity constant.\n */\n public static final int EX_FUNCTION = 2027;\n\n /**\n * A production node identity constant.\n */\n public static final int BINARY_FUNCTION = 2028;\n\n /**\n * A production node identity constant.\n */\n public static final int BINARY_OPERATOR = 2029;\n\n /**\n * A production node identity constant.\n */\n public static final int UNARY_FUNCTION = 2030;\n\n /**\n * A production node identity constant.\n */\n public static final int EX_TERM = 2031;\n\n /**\n * A production node identity constant.\n */\n public static final int EX_ATOM = 2032;\n}", "title": "" }, { "docid": "2e8f6a2a29fb22e792e1186aedef5062", "score": "0.49447668", "text": "public void test0001_regular_binary_expression() {\n runConformTest(\"X.java\", \"public class X {\\n\" + \" void foo() {\\n\" + \" String s1 = \\\"s1\\\";\\n\" + \" String s2 = \\\"s2\\\";\\n\" + \" String s3 = \\\"s3\\\";\\n\" + \" String s4 = \\\"s4\\\";\\n\" + \" System.out.println(s1 + \\\"l1\\\" + s2 + \\\"l2\\\" +\\n\" + \" s3 + \\\"l3\\\" + s4);\\n\" + \" }\\n\" + \"}\\n\", defaultParser, new ASTBinaryExpressionCollector(), \"[v SL \\\"s1\\\"]\\n\" + \"[ev SL \\\"s1\\\"]\\n\" + \"[v SL \\\"s2\\\"]\\n\" + \"[ev SL \\\"s2\\\"]\\n\" + \"[v SL \\\"s3\\\"]\\n\" + \"[ev SL \\\"s3\\\"]\\n\" + \"[v SL \\\"s4\\\"]\\n\" + \"[ev SL \\\"s4\\\"]\\n\" + \"[v BE ((((((s1 + \\\"l1\\\") + s...) + s4)]\\n\" + \"[v BE (((((s1 + \\\"l1\\\") + s2...+ \\\"l3\\\")]\\n\" + \"[v BE ((((s1 + \\\"l1\\\") + s2)...) + s3)]\\n\" + \"[v BE (((s1 + \\\"l1\\\") + s2) + \\\"l2\\\")]\\n\" + \"[v BE ((s1 + \\\"l1\\\") + s2)]\\n\" + \"[v BE (s1 + \\\"l1\\\")]\\n\" + \"[v SNR s1]\\n\" + \"[ev SNR s1]\\n\" + \"[v SL \\\"l1\\\"]\\n\" + \"[ev SL \\\"l1\\\"]\\n\" + \"[ev BE (s1 + \\\"l1\\\")]\\n\" + \"[v SNR s2]\\n\" + \"[ev SNR s2]\\n\" + \"[ev BE ((s1 + \\\"l1\\\") + s2)]\\n\" + \"[v SL \\\"l2\\\"]\\n\" + \"[ev SL \\\"l2\\\"]\\n\" + \"[ev BE (((s1 + \\\"l1\\\") + s2) + \\\"l2\\\")]\\n\" + \"[v SNR s3]\\n\" + \"[ev SNR s3]\\n\" + \"[ev BE ((((s1 + \\\"l1\\\") + s2)...) + s3)]\\n\" + \"[v SL \\\"l3\\\"]\\n\" + \"[ev SL \\\"l3\\\"]\\n\" + \"[ev BE (((((s1 + \\\"l1\\\") + s2...+ \\\"l3\\\")]\\n\" + \"[v SNR s4]\\n\" + \"[ev SNR s4]\\n\" + \"[ev BE ((((((s1 + \\\"l1\\\") + s...) + s4)]\\n\");\n }", "title": "" }, { "docid": "d975b769cef95f3bbdf9091aa4342a56", "score": "0.49428552", "text": "@Test(timeout = 4000)\n public void test082() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"y[#/[uQN2`\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.getPreviousToken();\n assertEquals(\"y\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "ed694d6658692f0b2b8eb1dd57ee8d87", "score": "0.49399647", "text": "@Test(timeout = 4000)\n public void test079() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"BCM=v\\\"+-\\\"!v<hn\");\n Token token0 = xPathLexer0.doubleColon();\n assertEquals(\"BC\", token0.getTokenText());\n \n Token token1 = xPathLexer0.at();\n assertEquals(16, token1.getTokenType());\n assertEquals(\"M\", token1.getTokenText());\n \n Token token2 = xPathLexer0.rightParen();\n assertEquals(2, token2.getTokenType());\n assertEquals(\"=\", token2.getTokenText());\n \n Token token3 = xPathLexer0.colon();\n assertEquals(18, token3.getTokenType());\n assertEquals(\"v\", token3.getTokenText());\n \n Token token4 = xPathLexer0.doubleColon();\n assertEquals(19, token4.getTokenType());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(\"-\", token5.getTokenText());\n assertEquals(6, token5.getTokenType());\n \n Token token6 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token6.getTokenType());\n assertEquals(\"\", token6.getTokenText());\n }", "title": "" }, { "docid": "4a7f364752c84747f82c160ab3ab285d", "score": "0.49364474", "text": "public String visit(JumpStmt n) {\r\n printx(\"JUMP \"+n.f1.f0.toString());\r\n line++;\r\n return null;\r\n}", "title": "" }, { "docid": "65c23030d1dc24ec69b003481d5d2e89", "score": "0.49354982", "text": "@Test(timeout = 4000)\n public void test089() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"l @<!mq0\\u0000|\");\n Token token0 = xPathLexer0.at();\n assertEquals(\"l\", token0.getTokenText());\n assertEquals(16, token0.getTokenType());\n \n Token token1 = xPathLexer0.colon();\n assertEquals(18, token1.getTokenType());\n assertEquals(\" \", token1.getTokenText());\n \n Token token2 = xPathLexer0.doubleColon();\n assertEquals(\"@<\", token2.getTokenText());\n assertEquals(19, token2.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(\"!\", token3.getTokenText());\n assertEquals(23, token3.getTokenType());\n \n Token token4 = xPathLexer0.slashes();\n assertEquals(11, token4.getTokenType());\n assertEquals(\"m\", token4.getTokenText());\n \n Token token5 = xPathLexer0.nextToken();\n assertEquals(\"q0\\u0000|\", token5.getTokenText());\n }", "title": "" }, { "docid": "76f970de56814ccd3007fe19be23b08a", "score": "0.49318242", "text": "@Test(timeout = 4000)\n public void test086() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"AIRW}sW:H'\\\"xHj/G\");\n Token token0 = xPathLexer0.rightBracket();\n assertEquals(4, token0.getTokenType());\n assertEquals(\"A\", token0.getTokenText());\n \n Token token1 = xPathLexer0.rightParen();\n assertEquals(\"I\", token1.getTokenText());\n assertEquals(2, token1.getTokenType());\n \n Token token2 = xPathLexer0.dots();\n assertEquals(13, token2.getTokenType());\n assertEquals(\"R\", token2.getTokenText());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(\"W\", token3.getTokenText());\n assertEquals(15, token3.getTokenType());\n }", "title": "" }, { "docid": "b4f43c399a27e64971d9cde61ff3ea89", "score": "0.49314836", "text": "@Test(timeout = 4000)\n public void test103() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"AIRW}sW:H'\\\"xHj/G\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"AIRW\", token0.getTokenText());\n \n xPathLexer0.nextToken();\n Token token1 = xPathLexer0.getPreviousToken();\n assertEquals(\"}sW:H'\\\"xHj/G\", token1.getTokenText());\n }", "title": "" }, { "docid": "c0d48a356bbd8b650596984cb48b07d6", "score": "0.4927313", "text": "@Test(timeout = 4000)\n public void test117() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"AIRW}sW:H'\\\"xHj/G\");\n Token token0 = xPathLexer0.plus();\n assertEquals(5, token0.getTokenType());\n assertEquals(\"A\", token0.getTokenText());\n \n Token token1 = xPathLexer0.slashes();\n assertEquals(\"I\", token1.getTokenText());\n assertEquals(11, token1.getTokenType());\n \n Token token2 = xPathLexer0.minus();\n assertEquals(\"R\", token2.getTokenText());\n assertEquals(6, token2.getTokenType());\n \n Token token3 = xPathLexer0.comma();\n assertEquals(\"W\", token3.getTokenText());\n assertEquals(32, token3.getTokenType());\n \n Token token4 = xPathLexer0.not();\n assertEquals(\"}\", token4.getTokenText());\n assertEquals(23, token4.getTokenType());\n \n Token token5 = xPathLexer0.rightParen();\n assertEquals(2, token5.getTokenType());\n assertEquals(\"s\", token5.getTokenText());\n \n Token token6 = xPathLexer0.pipe();\n assertEquals(\"W\", token6.getTokenText());\n assertEquals(17, token6.getTokenType());\n \n Token token7 = xPathLexer0.nextToken();\n assertEquals(\":\", token7.getTokenText());\n assertEquals(18, token7.getTokenType());\n \n Token token8 = xPathLexer0.leftBracket();\n assertEquals(3, token8.getTokenType());\n assertEquals(\"H\", token8.getTokenText());\n \n Token token9 = xPathLexer0.nextToken();\n assertEquals(\"\", token9.getTokenText());\n assertEquals((-1), token9.getTokenType());\n }", "title": "" }, { "docid": "bf53b79bb7c4837766c52ce290128e93", "score": "0.49257016", "text": "@Test(timeout = 4000)\n public void test090() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"rv6!SL<wLMeVW`\");\n Token token0 = xPathLexer0.plus();\n assertEquals(\"r\", token0.getTokenText());\n assertEquals(5, token0.getTokenType());\n \n Token token1 = xPathLexer0.dollar();\n assertEquals(\"v\", token1.getTokenText());\n assertEquals(26, token1.getTokenType());\n \n Token token2 = xPathLexer0.slashes();\n assertEquals(\"6\", token2.getTokenText());\n assertEquals(11, token2.getTokenType());\n \n Token token3 = xPathLexer0.minus();\n assertEquals(\"!\", token3.getTokenText());\n assertEquals(6, token3.getTokenType());\n \n Token token4 = xPathLexer0.nextToken();\n assertEquals(15, token4.getTokenType());\n assertEquals(\"SL\", token4.getTokenText());\n }", "title": "" }, { "docid": "abed527c64a4babbd1186657b1c551d7", "score": "0.49171713", "text": "public static ContextFreeGrammar makeGrammar() {\n\t\tVariable S = new Variable('S');\n\t\tVariable Q = new Variable('Q');\n\t\tVariable T = new Variable('T');\n\t\tVariable F = new Variable('F');\n\t\tVariable B = new Variable('B');\n\t\tVariable Y = new Variable('Y');\n\t\tVariable Z = new Variable('Z');\n\t\tVariable L = new Variable('L');\n\t\tVariable R = new Variable('R');\n\t\tVariable A = new Variable('A');\n\t\tVariable M = new Variable('M');\n\n\t\tTerminal lb = new Terminal('(');\n\t\tTerminal rb = new Terminal(')');\n\t\tTerminal plus = new Terminal('+');\n\t\tTerminal times = new Terminal('*');\n\t\tTerminal one = new Terminal('1');\n\t\tTerminal zero = new Terminal('0');\n\t\tTerminal x = new Terminal('x');\n\n\t\t// S -> QY\n\t\tRule s1 = new Rule(S, new Word(Q, Y));\n\t\t// S -> TZ\n\t\tRule s2 = new Rule(S, new Word(T, Z));\n\t\t// S -> LB\n\t\tRule s3 = new Rule(S, new Word(L, B));\n\t\t// S -> 1\n\t\tRule s4 = new Rule(S, new Word(one));\n\t\t// S -> 0\n\t\tRule s5 = new Rule(S, new Word(zero));\n\t\t// S -> x\n\t\tRule s6 = new Rule(S, new Word(x));\n\n\t\t// Q -> QY\n\t\tRule q1 = new Rule(Q, new Word(Q, Y));\n\t\t// Q -> TZ\n\t\tRule q2 = new Rule(Q, new Word(T, Z));\n\t\t// Q -> LB\n\t\tRule q3 = new Rule(Q, new Word(L, B));\n\t\t// Q -> 1\n\t\tRule q4 = new Rule(Q, new Word(one));\n\t\t// Q -> 0\n\t\tRule q5 = new Rule(Q, new Word(zero));\n\t\t// Q -> x\n\t\tRule q6 = new Rule(Q, new Word(x));\n\n\t\t// T -> TZ\n\t\tRule t1 = new Rule(T, new Word(T, Z));\n\t\t// T -> LB\n\t\tRule t2 = new Rule(T, new Word(L, B));\n\t\t// T -> 1\n\t\tRule t3 = new Rule(T, new Word(one));\n\t\t// T -> 0\n\t\tRule t4 = new Rule(T, new Word(zero));\n\t\t// T -> x\n\t\tRule t5 = new Rule(T, new Word(x));\n\n\t\t// F -> LB\n\t\tRule f1 = new Rule(F, new Word(L, B));\n\t\t// F -> 1\n\t\tRule f2 = new Rule(F, new Word(one));\n\t\t// F -> 0\n\t\tRule f3 = new Rule(F, new Word(zero));\n\t\t// F -> x\n\t\tRule f4 = new Rule(F, new Word(x));\n\n\t\t// B -> QR\n\t\tRule b1 = new Rule(B, new Word(Q, R));\n\n\t\t// Y -> AT\n\t\tRule y1 = new Rule(Y, new Word(A, T));\n\n\t\t// Z -> MF\n\t\tRule z1 = new Rule(Z, new Word(M, F));\n\n\t\t// L -> (\n\t\tRule l1 = new Rule(L, new Word(lb));\n\n\t\t// R -> )\n\t\tRule r1 = new Rule(R, new Word(rb));\n\n\t\t// A -> +\n\t\tRule a1 = new Rule(A, new Word(plus));\n\n\t\t// M -> *\n\t\tRule m1 = new Rule(M, new Word(times));\n\n\t\tList<Rule> rules = new ArrayList<Rule>();\n\t\trules.add(s1);\n\t\trules.add(s2);\n\t\trules.add(s3);\n\t\trules.add(s4);\n\t\trules.add(s5);\n\t\trules.add(s6);\n\t\trules.add(q1);\n\t\trules.add(q2);\n\t\trules.add(q3);\n\t\trules.add(q4);\n\t\trules.add(q5);\n\t\trules.add(q6);\n\t\trules.add(t1);\n\t\trules.add(t2);\n\t\trules.add(t3);\n\t\trules.add(t4);\n\t\trules.add(t5);\n\t\trules.add(f1);\n\t\trules.add(f2);\n\t\trules.add(f3);\n\t\trules.add(f4);\n\t\trules.add(b1);\n\t\trules.add(y1);\n\t\trules.add(z1);\n\t\trules.add(l1);\n\t\trules.add(r1);\n\t\trules.add(a1);\n\t\trules.add(m1);\n\n\t\tContextFreeGrammar cfg = new ContextFreeGrammar(rules);\n\t\treturn cfg;\n\t}", "title": "" }, { "docid": "55ae572f31e555119b9e1d4faf27af86", "score": "0.49144715", "text": "static final public \nvoid S() throws ParseException {\n jj_consume_token(HeaderACT);\n E();\n A();\n }", "title": "" }, { "docid": "a3e55d4ac7ea832cad702a51b9a2b4ea", "score": "0.49141476", "text": "@Test(timeout = 4000)\n public void test01() throws Throwable {\n StringReader stringReader0 = new StringReader(\"implements\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 2693, 51);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token.GTToken token_GTToken0 = new Token.GTToken();\n javaParserTokenManager0.TokenLexicalActions(token_GTToken0);\n assertNull(token_GTToken0.toString());\n }", "title": "" }, { "docid": "7b81df72b07d29c9e73a65dba7fc8006", "score": "0.49140105", "text": "@Test(timeout = 4000)\n public void test106() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"iJA|(cIjt\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(15, token0.getTokenType());\n assertEquals(\"iJA\", token0.getTokenText());\n }", "title": "" }, { "docid": "eef3394503704bc1f7a5183a7a5456e2", "score": "0.4911171", "text": "void mo68583a(Token token, int i);", "title": "" }, { "docid": "afcfda4ec89592be600f97b8c910cf88", "score": "0.48985517", "text": "public interface C7747n1<S> extends C6827f.C6828a {\n /* renamed from: f0 */\n S mo25420f0(C6827f fVar);\n\n /* renamed from: z */\n void mo25421z(C6827f fVar, S s);\n}", "title": "" }, { "docid": "010d4416d82b8a3dd61dab4431c41210", "score": "0.4894067", "text": "@Test(timeout = 4000)\n public void test132() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"-Gt<|I_:0MA-g=<sp\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"-\", token0.getTokenText());\n assertEquals(6, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"Gt\", token1.getTokenText());\n }", "title": "" }, { "docid": "2158f67442b54fc4bcf6bd94ead93102", "score": "0.48935884", "text": "@Test(timeout = 4000)\n public void test007() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"?!W^<]O,\");\n Token token0 = xPathLexer0.plus();\n assertEquals(\"?\", token0.getTokenText());\n assertEquals(5, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(23, token1.getTokenType());\n assertEquals(\"!\", token1.getTokenText());\n }", "title": "" }, { "docid": "dc40d51972d2fb85d0fc748a42816b71", "score": "0.488386", "text": "@Test(timeout = 4000)\n public void test063() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"$02moyi$`Z(E!`\");\n xPathLexer0.whitespace();\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.identifierOrOperatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "b32ab6ee733639f870d09b879e084423", "score": "0.48834452", "text": "@Test(timeout = 4000)\n public void test050() throws Throwable {\n byte[] byteArray0 = new byte[7];\n byteArray0[0] = (byte)38;\n byteArray0[1] = (byte)38;\n ByteArrayInputStream byteArrayInputStream0 = new ByteArrayInputStream(byteArray0);\n JavaCharStream javaCharStream0 = new JavaCharStream(byteArrayInputStream0, (byte) (-70), (byte)86);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(86, javaCharStream0.getBeginColumn());\n assertEquals(\"&&\", token0.toString());\n }", "title": "" }, { "docid": "c1d8386259e49022b9d9c4ae4ac8901b", "score": "0.48805764", "text": "@Test(timeout = 4000)\n public void test060() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"YY]>cp1@z :Ia\");\n Token token0 = xPathLexer0.doubleColon();\n assertEquals(19, token0.getTokenType());\n assertEquals(\"YY\", token0.getTokenText());\n \n Token token1 = xPathLexer0.minus();\n assertEquals(\"]\", token1.getTokenText());\n assertEquals(6, token1.getTokenType());\n \n xPathLexer0.rightParen();\n Token token2 = xPathLexer0.rightBracket();\n assertEquals(\"c\", token2.getTokenText());\n assertEquals(4, token2.getTokenType());\n \n Token token3 = xPathLexer0.not();\n assertEquals(\"p\", token3.getTokenText());\n assertEquals(23, token3.getTokenType());\n \n Token token4 = xPathLexer0.rightParen();\n assertEquals(2, token4.getTokenType());\n assertEquals(\"1\", token4.getTokenText());\n \n xPathLexer0.pipe();\n Token token5 = xPathLexer0.pipe();\n assertEquals(17, token5.getTokenType());\n assertEquals(\"z\", token5.getTokenText());\n \n Token token6 = xPathLexer0.nextToken();\n assertEquals(\":\", token6.getTokenText());\n \n Token token7 = xPathLexer0.nextToken();\n assertEquals(\"Ia\", token7.getTokenText());\n assertEquals(15, token7.getTokenType());\n }", "title": "" }, { "docid": "27489b4ccd8cb7e281d760756dd07412", "score": "0.48780572", "text": "@Test(timeout = 4000)\n public void test137() throws Throwable {\n StringReader stringReader0 = new StringReader(\"A@<inXAN\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 908, 439);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(\"A\", token0.toString());\n assertEquals(74, token0.kind);\n }", "title": "" }, { "docid": "310a3462a05d64f40b54b771dc4515d3", "score": "0.48748487", "text": "@Override\r\n\tpublic void visit(RegExpMatchOperator rexpr) {\n\t\t\r\n\t}", "title": "" }, { "docid": "a6197603cad0ba7a8551a2e9f908a5dc", "score": "0.4872552", "text": "public static void main(String args[]) {\r\n\tParser e = new MidiParser().expression();\r\n\tAssembly out = e.bestMatch(\r\n\t\tnew TokenAssembly(\"111 - (11 - 1)\"));\r\n\tSystem.out.println(out.pop());\r\n}", "title": "" }, { "docid": "fe654a45f75b57e0226587d8e6ab3316", "score": "0.48709297", "text": "@Test(timeout = 4000)\n public void test075() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"$,_\\\"H\\\"jO~yx(t$>?l\");\n Token token0 = xPathLexer0.literal();\n Token token1 = xPathLexer0.nextToken();\n assertEquals(9, token1.getTokenType());\n assertEquals(\">\", token1.getTokenText());\n \n Token token2 = xPathLexer0.star();\n assertEquals(\"?\", token2.getTokenText());\n assertEquals(20, token2.getTokenType());\n \n xPathLexer0.setPreviousToken(token0);\n assertEquals(\",_\\\"H\\\"jO~yx(t\", token0.getTokenText());\n assertEquals(27, token0.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(\"l\", token3.getTokenText());\n assertEquals((-1), token3.getTokenType());\n }", "title": "" }, { "docid": "ce04df1fb489ed3a95c8d292bc095084", "score": "0.48704562", "text": "private void part(){\n if(match(\"(\",2)){\n \n nextToken();\n if(term()){\n nextToken();\n \n if(op()){\n part();\n }\n \n if(match(\")\",1)){\n \n nextToken();\n if(op()){\n part();\n }\n \n }\n\n }else{\n flag = true; \n error(\"unexpected \"+token+\" in line number \"+linesz); \n }\n }else{\n \n if(term()){\n nextToken();\n if(op()){\n part();\n }\n \n }else{\n flag = true; \n error(\"unexpected \"+token+\" in line number \"+linesz + \" Expected Variable or constant\"); \n \n }\n \n }\n \n \n }", "title": "" }, { "docid": "eca0d5208fe71873a212bb9b88e6e051", "score": "0.48682684", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"871gI}rYY@z\");\n xPathLexer0.minus();\n xPathLexer0.colon();\n Token token0 = xPathLexer0.slashes();\n assertEquals(\"1\", token0.getTokenText());\n assertEquals(11, token0.getTokenType());\n \n Token token1 = xPathLexer0.plus();\n xPathLexer0.setPreviousToken(token1);\n assertEquals(\"g\", token1.getTokenText());\n assertEquals(5, token1.getTokenType());\n \n Token token2 = xPathLexer0.notEquals();\n assertEquals(\"I}\", token2.getTokenText());\n assertEquals(22, token2.getTokenType());\n \n Token token3 = xPathLexer0.dots();\n assertEquals(\"r\", token3.getTokenText());\n assertEquals(13, token3.getTokenType());\n \n Token token4 = xPathLexer0.colon();\n assertEquals(\"Y\", token4.getTokenText());\n assertEquals(18, token4.getTokenType());\n \n Token token5 = xPathLexer0.identifier();\n assertEquals(\"Y\", token5.getTokenText());\n assertEquals(15, token5.getTokenType());\n \n xPathLexer0.setXPath(\"@(O vmvUlclq#9\");\n Token token6 = xPathLexer0.minus();\n assertEquals(6, token6.getTokenType());\n assertEquals(\"@\", token6.getTokenText());\n }", "title": "" }, { "docid": "e44a509ebd12aafdad7c6e3d6a827129", "score": "0.48660746", "text": "@Test(timeout = 4000)\n public void test020() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"?!<J<]O,\");\n Token token0 = xPathLexer0.plus();\n assertEquals(5, token0.getTokenType());\n assertEquals(\"?\", token0.getTokenText());\n \n xPathLexer0.nextToken();\n Token token1 = xPathLexer0.getPreviousToken();\n assertEquals(\"!\", token1.getTokenText());\n assertEquals(23, token1.getTokenType());\n }", "title": "" }, { "docid": "985d0eb307f64f1e5c0a25f82c8290d0", "score": "0.48623", "text": "@Test(timeout = 4000)\n public void test088() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"$,_\\\"H\\\"jO~yx(t$>?l\");\n xPathLexer0.setXPath(\".\");\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.identifierOrOperatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "0202e27a89910ed0dcb3451c71a0bd36", "score": "0.4862176", "text": "@Test(timeout = 4000)\n public void test122() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"0RQ|#Sgn\");\n Token token0 = xPathLexer0.plus();\n assertEquals(\"0\", token0.getTokenText());\n assertEquals(5, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(\"RQ\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "546346df31657c2a81ca8f30fac4d2b8", "score": "0.48608217", "text": "@Converted(kind = Converted.Kind.MANUAL_SEMANTIC,\n source = \"${LLVM_SRC}/llvm/include/llvm/IR/PatternMatch.h\", line = 1165,\n FQN=\"llvm::PatternMatch::m_UnordFMin\", NM=\"Tpl__ZN4llvm12PatternMatch11m_UnordFMinERKT_RKT0_\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.ir/llvmToClangType ${LLVM_SRC}/llvm/lib/Transforms/Scalar/EarlyCSE.cpp -nm=Tpl__ZN4llvm12PatternMatch11m_UnordFMinERKT_RKT0_\")\n//</editor-fold>\npublic static /*inline*/ </*typename*/ LHS extends match<LHS>, /*typename*/ RHS extends match<RHS>> MaxMin_match<FCmpInst, LHS, RHS, ufmin_pred_ty> m_UnordFMin(final /*const*/ LHS /*&*/ L, final /*const*/ RHS /*&*/ R) {\n return new MaxMin_match<FCmpInst, LHS, RHS, ufmin_pred_ty>(FCmpInst.class, L, R, new ufmin_pred_ty());\n}", "title": "" }, { "docid": "26144803ea09a51cc5994bc405e28f48", "score": "0.48601368", "text": "@Test(timeout = 4000)\n public void test066() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"9/<ZWs\");\n Token token0 = xPathLexer0.number();\n assertEquals(30, token0.getTokenType());\n assertEquals(\"9\", token0.getTokenText());\n }", "title": "" }, { "docid": "728e8dd6b3bda8341d81f2c2195eeb55", "score": "0.48584473", "text": "@Test(timeout = 4000)\n public void test075() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n Token token0 = xPathLexer0.colon();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(18, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "a77cad0ad72bdbab69f2c0be183a6584", "score": "0.48582718", "text": "@Test(timeout = 4000)\n public void test148() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"$027mxyi$`Z(E!`6\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"$\", token0.getTokenText());\n assertEquals(26, token0.getTokenType());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"027mxyi\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "0794805372ff66e760a029e16e6fb511", "score": "0.48571932", "text": "@Test(timeout = 4000)\n public void test131() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"IGC7SV))MCYm\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(\"IGC7SV\", token0.getTokenText());\n assertEquals(15, token0.getTokenType());\n }", "title": "" }, { "docid": "fe049be3f795bd191b4333e6c8318a07", "score": "0.4855909", "text": "@Test(timeout = 4000)\n public void test080() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\":<^\");\n Token token0 = xPathLexer0.nextToken();\n assertEquals(18, token0.getTokenType());\n assertEquals(\":\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"\", token1.getTokenText());\n }", "title": "" }, { "docid": "f3bb5911e1a54894574436d2b7884f16", "score": "0.4855816", "text": "@Test(timeout = 4000)\n public void test102() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"Tnp@/Z;UKsGr)e\");\n Token token0 = xPathLexer0.plus();\n assertEquals(\"T\", token0.getTokenText());\n assertEquals(5, token0.getTokenType());\n \n Token token1 = xPathLexer0.nextToken();\n assertEquals(15, token1.getTokenType());\n assertEquals(\"np\", token1.getTokenText());\n }", "title": "" }, { "docid": "a4fc08f7ebe3c85b038ace504774d15c", "score": "0.48547786", "text": "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/include/llvm/IR/PatternMatch.h\", line = 657,\n FQN=\"llvm::PatternMatch::m_Shr\", NM=\"Tpl__ZN4llvm12PatternMatch5m_ShrERKT_RKT0_\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.ir/llvmToClangType ${LLVM_SRC}/llvm/lib/Transforms/Scalar/EarlyCSE.cpp -nm=Tpl__ZN4llvm12PatternMatch5m_ShrERKT_RKT0_\")\n//</editor-fold>\npublic static /*inline*/ </*typename*/ LHS extends match<LHS>, /*typename*/ RHS extends match<RHS>> BinOp2_match<LHS, RHS> m_Shr(final /*const*/ LHS /*&*/ L, final /*const*/ RHS /*&*/ R) {\n return new BinOp2_match<LHS, RHS>(Instruction.BinaryOps.LShr, Instruction.BinaryOps.AShr, L, R);\n}", "title": "" } ]
b58aab05dd2998df566a5113dd3c67e6
required string itemUri = 1;
[ { "docid": "38bc9f2db2e02b434d1e59012dc616cc", "score": "0.7261865", "text": "java.lang.String getItemUri();", "title": "" } ]
[ { "docid": "23b6c4334a3906a84aa9bcc321215b32", "score": "0.7007069", "text": "public Builder setItemUri(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9a811aec1086db3acf0136b9866b70a2", "score": "0.6992921", "text": "public Builder setItemUri(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9a811aec1086db3acf0136b9866b70a2", "score": "0.6992921", "text": "public Builder setItemUri(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9a811aec1086db3acf0136b9866b70a2", "score": "0.6992921", "text": "public Builder setItemUri(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9a811aec1086db3acf0136b9866b70a2", "score": "0.6992921", "text": "public Builder setItemUri(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "446e7282caf76c8525ea7e8b7d101d54", "score": "0.6976943", "text": "public Builder setItemUri(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7aaa6eae30adbba9d9c921052bbf2a09", "score": "0.69396436", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "7aaa6eae30adbba9d9c921052bbf2a09", "score": "0.69396436", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "7aaa6eae30adbba9d9c921052bbf2a09", "score": "0.69396436", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "7aaa6eae30adbba9d9c921052bbf2a09", "score": "0.69396436", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "49c6160f0744d95b94cd3049d2a47b31", "score": "0.6935219", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "49c6160f0744d95b94cd3049d2a47b31", "score": "0.6935219", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "7f025d233fb58888f592ba0222eed962", "score": "0.687325", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "7f025d233fb58888f592ba0222eed962", "score": "0.687325", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "7f025d233fb58888f592ba0222eed962", "score": "0.687325", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "7f025d233fb58888f592ba0222eed962", "score": "0.687325", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "65761e9bbc6b575d6f65bfbfca75e2a7", "score": "0.6828551", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "65761e9bbc6b575d6f65bfbfca75e2a7", "score": "0.6828551", "text": "public java.lang.String getItemUri() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "874cbd361f364ce298117d9435081061", "score": "0.6785431", "text": "boolean hasItemUri();", "title": "" }, { "docid": "874cbd361f364ce298117d9435081061", "score": "0.6785431", "text": "boolean hasItemUri();", "title": "" }, { "docid": "874cbd361f364ce298117d9435081061", "score": "0.6785431", "text": "boolean hasItemUri();", "title": "" }, { "docid": "874cbd361f364ce298117d9435081061", "score": "0.6785431", "text": "boolean hasItemUri();", "title": "" }, { "docid": "874cbd361f364ce298117d9435081061", "score": "0.6785431", "text": "boolean hasItemUri();", "title": "" }, { "docid": "874cbd361f364ce298117d9435081061", "score": "0.6785431", "text": "boolean hasItemUri();", "title": "" }, { "docid": "64646d325794255f100111805588629c", "score": "0.6666308", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "64646d325794255f100111805588629c", "score": "0.6666308", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "2737a85227035cd0df75381f02b9dfc0", "score": "0.665582", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "2737a85227035cd0df75381f02b9dfc0", "score": "0.665582", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "2737a85227035cd0df75381f02b9dfc0", "score": "0.665582", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "2737a85227035cd0df75381f02b9dfc0", "score": "0.665582", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "3458e474eb7a211c1a24638201725c62", "score": "0.665104", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "3458e474eb7a211c1a24638201725c62", "score": "0.665104", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "3458e474eb7a211c1a24638201725c62", "score": "0.665104", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "3458e474eb7a211c1a24638201725c62", "score": "0.665104", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "9f9e7d4698befac42351eb856f638302", "score": "0.6637977", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "9f9e7d4698befac42351eb856f638302", "score": "0.6637977", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "9f9e7d4698befac42351eb856f638302", "score": "0.6637977", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "9f9e7d4698befac42351eb856f638302", "score": "0.6637977", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "754f344b71c6f5f18d6efab5357fb36e", "score": "0.66050917", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "687b9d036edc163fb4a553dd8dddcd61", "score": "0.65901303", "text": "public Builder setItemUriBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "c7052f1391f531f6c3cea5e70bcae2c0", "score": "0.6586723", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "c7052f1391f531f6c3cea5e70bcae2c0", "score": "0.6586723", "text": "public com.google.protobuf.ByteString\n getItemUriBytes() {\n java.lang.Object ref = itemUri_;\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 itemUri_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "1583ed50f641b84425097436787e8f73", "score": "0.6584827", "text": "public Builder setItemUriBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1583ed50f641b84425097436787e8f73", "score": "0.6584827", "text": "public Builder setItemUriBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1583ed50f641b84425097436787e8f73", "score": "0.6584827", "text": "public Builder setItemUriBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1583ed50f641b84425097436787e8f73", "score": "0.6584827", "text": "public Builder setItemUriBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "722e911fd26ed82b7daf939c40e6ec25", "score": "0.65841603", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "7fd1e1bf57f95fd83f6b3595d17e8121", "score": "0.6565611", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "e71eeb2497ecdc4eff75046056810211", "score": "0.65603894", "text": "public Builder setItemUriBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n itemUri_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "08d7bac250189de268c5eead6e1abbed", "score": "0.65348166", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "08d7bac250189de268c5eead6e1abbed", "score": "0.65348166", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "08d7bac250189de268c5eead6e1abbed", "score": "0.65348166", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "08d7bac250189de268c5eead6e1abbed", "score": "0.65348166", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "08d7bac250189de268c5eead6e1abbed", "score": "0.65348166", "text": "public boolean hasItemUri() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "c8588f6e9a36f7c161d314f0022c3ef0", "score": "0.6395165", "text": "public String getUri() { return Uri; }", "title": "" }, { "docid": "c1b95826c908d78cc1ca544d068b15f6", "score": "0.6290128", "text": "com.google.protobuf.ByteString\n getItemUriBytes();", "title": "" }, { "docid": "c1b95826c908d78cc1ca544d068b15f6", "score": "0.6290128", "text": "com.google.protobuf.ByteString\n getItemUriBytes();", "title": "" }, { "docid": "c1b95826c908d78cc1ca544d068b15f6", "score": "0.6290128", "text": "com.google.protobuf.ByteString\n getItemUriBytes();", "title": "" }, { "docid": "c1b95826c908d78cc1ca544d068b15f6", "score": "0.6290128", "text": "com.google.protobuf.ByteString\n getItemUriBytes();", "title": "" }, { "docid": "92c5d2515f1de1bb12a2650c7154a283", "score": "0.6121149", "text": "com.google.protobuf.ByteString\n getItemUriBytes();", "title": "" }, { "docid": "92c5d2515f1de1bb12a2650c7154a283", "score": "0.6121149", "text": "com.google.protobuf.ByteString\n getItemUriBytes();", "title": "" }, { "docid": "8527cc4e991158d5964e3117066a55c5", "score": "0.611263", "text": "void setUri(String uri);", "title": "" }, { "docid": "815e97730b075cd9bb0f8144a92bc46e", "score": "0.60914713", "text": "public void setSourceUri(String uri) {\n _sourceUri = Val.chkStr(uri,4000);\n}", "title": "" }, { "docid": "d43d4c8e9b99e7bdbe5e1954ebc9e2cb", "score": "0.6034501", "text": "uri.URI getUri();", "title": "" }, { "docid": "151a5599fd94f99c6f199b4d41a6df7b", "score": "0.6021349", "text": "public abstract String getUri();", "title": "" }, { "docid": "8c0e517a3b6fbf2108b8095e97d50c24", "score": "0.5968085", "text": "public void setURI(String uri) {\n }", "title": "" }, { "docid": "57a0a055bb23b2658a5f750ca6cb05c8", "score": "0.5947295", "text": "public interface RssItem {\n\n /**\n * Set the id of this item.\n * @param id The new id of this item.\n */\n void setId(int id);\n\n /**\n * Get the id of this item.\n * @return The id of this item.\n */\n int getId();\n\n /**\n * Set a title to this item.\n * @param title The new title of this item.\n */\n void setTitle(String title);\n\n /**\n * Get the title of this item.\n * @return The title of this item.\n */\n String getTitle();\n\n /**\n * Set the URL (as a string) of this item.\n * @param urlString The URL (as a string) of this item.\n */\n void setUrlString(String urlString);\n\n /**\n * Get the url (as a string) of this item.\n * @return The url (as a string) of this item.\n */\n String getUrlString();\n}", "title": "" }, { "docid": "81d6d0c8dfaaeaa257a12eec9ac6d80b", "score": "0.5926105", "text": "String getUrl(String itemName);", "title": "" }, { "docid": "ee36f4e33662ab19dc9799b09674da51", "score": "0.5901185", "text": "Item(){}", "title": "" }, { "docid": "32fd5ef01ab463ff97abef25a6d31206", "score": "0.5846811", "text": "public String getUri() {\n return uri;\n }", "title": "" }, { "docid": "32fd5ef01ab463ff97abef25a6d31206", "score": "0.5846811", "text": "public String getUri() {\n return uri;\n }", "title": "" }, { "docid": "32fd5ef01ab463ff97abef25a6d31206", "score": "0.5846811", "text": "public String getUri() {\n return uri;\n }", "title": "" }, { "docid": "c4d073eb4458da4aee441090db700ab6", "score": "0.5814494", "text": "public void setURI(String uri);", "title": "" }, { "docid": "5051fb6cb8f48d0345262993b82455a2", "score": "0.581166", "text": "ItemType(String description) {\r\n _description = description;\r\n }", "title": "" }, { "docid": "993a279f166bc5d8d569bbfa3b4dbf35", "score": "0.5811074", "text": "public Uri getUri() { return mUri; }", "title": "" }, { "docid": "37a1fdad0810d7235b57cd9b86ea97d9", "score": "0.5810916", "text": "interface FeedItem {\n}", "title": "" }, { "docid": "a197c5e64f2b280d5bfe0b527ad48255", "score": "0.5788223", "text": "public String getURI(){\r\n\t\treturn uri;\r\n\t}", "title": "" }, { "docid": "f0e6fe5ffcb5db7970760b17b0b158c8", "score": "0.5775093", "text": "public void setUri(String uri) {\n this.uri = uri;\n }", "title": "" }, { "docid": "0528ae96e457e02d79018516a358cb2e", "score": "0.57527375", "text": "Item() {}", "title": "" }, { "docid": "15fa2f6a074a9ffe5c7175eca0fe40ab", "score": "0.57492876", "text": "public void setUri(String uri) {\n this.uri = uri;\n }", "title": "" }, { "docid": "15c22b149b1900f857839d33620ad075", "score": "0.57427114", "text": "@Override\n\tpublic String getType(Uri uri) {\n\t\tswitch (uriMatcher.match(uri)) {\n\t\tcase ITEM:\n\t\t\treturn \"\";\n\t\tcase ITEM_ID:\n\t\t\treturn \"\";\n\t\tdefault:\n\t\t\tthrow new IllegalArgumentException(\"Unsupported URI: \" + uri);\n\t\t}\n\t}", "title": "" }, { "docid": "277f78aa8fce0fdd77545dd6469e7b52", "score": "0.57278293", "text": "public String getUri() {\n return uri;\n }", "title": "" }, { "docid": "6a2e9982f3794ee8fd56e4b6b95df4c6", "score": "0.5726592", "text": "String getUri();", "title": "" }, { "docid": "6a2e9982f3794ee8fd56e4b6b95df4c6", "score": "0.5726592", "text": "String getUri();", "title": "" }, { "docid": "6a2e9982f3794ee8fd56e4b6b95df4c6", "score": "0.5726592", "text": "String getUri();", "title": "" }, { "docid": "9ebc02ba423cf7f27edea9a8c9f9f014", "score": "0.5673184", "text": "public Builder clearItemUri() {\n bitField0_ = (bitField0_ & ~0x00000002);\n itemUri_ = getDefaultInstance().getItemUri();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9ebc02ba423cf7f27edea9a8c9f9f014", "score": "0.5673184", "text": "public Builder clearItemUri() {\n bitField0_ = (bitField0_ & ~0x00000002);\n itemUri_ = getDefaultInstance().getItemUri();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9ebc02ba423cf7f27edea9a8c9f9f014", "score": "0.5673184", "text": "public Builder clearItemUri() {\n bitField0_ = (bitField0_ & ~0x00000002);\n itemUri_ = getDefaultInstance().getItemUri();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9ebc02ba423cf7f27edea9a8c9f9f014", "score": "0.5673184", "text": "public Builder clearItemUri() {\n bitField0_ = (bitField0_ & ~0x00000002);\n itemUri_ = getDefaultInstance().getItemUri();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "02064fe1db4b5e5bd5c5f6662a685d0c", "score": "0.56542134", "text": "@ApiModelProperty(required = true, value = \"end point where the request will be received\")\n @NotNull\n\n\n public String getUri() {\n return uri;\n }", "title": "" }, { "docid": "87d9e269ffbdd412474e673e41044d0d", "score": "0.5651198", "text": "public void setItems(Items param){\n \n this.localItems=param;\n \n\n }", "title": "" }, { "docid": "94ced0b4fb36387cf861e5ef3e5dc4fd", "score": "0.56396765", "text": "public static Uri buildAllItemsUri(){\n return CONTENT_URI;\n }", "title": "" }, { "docid": "b8bc44c4c682d49ea44bceb2fdffc1b9", "score": "0.56369376", "text": "uri.URIOrBuilder getUriOrBuilder();", "title": "" }, { "docid": "752a849eb6ebf4e1a1141bf23ac622cc", "score": "0.56326586", "text": "public void onCreateItem(String json);", "title": "" }, { "docid": "f827c92ec05dfc0559da4dd5164e39f9", "score": "0.5631204", "text": "void setURI(String uri);", "title": "" } ]
3c011c62745649572e0db803fa373507
This method writes back Course objects to the text file courses
[ { "docid": "e08abffdc90d1ea9ef694aa82c030475", "score": "0.7165636", "text": "public static void saveCourse(HashMap<String, Course> courses) throws IOException {\n\t\tString filename = \"data/courses.txt\";\n\t\tList alw = new ArrayList() ;\n\t\tSet set = courses.entrySet();\n\t\tIterator it = set.iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tMap.Entry entry = (Map.Entry) it.next();\n\t\t\tCourse course = (Course)entry.getValue();\n\t\t\tStringBuilder st = new StringBuilder() ;\n\t\t\tst.append(course.getCourseCode().trim());\n\t\t\tst.append(SEPARATOR);\n\t\t\tst.append(course.getCourseName().trim());\n\t\t\tst.append(SEPARATOR);\n\t\t\tst.append(course.getSchool().trim());\n\t\t\tst.append(SEPARATOR);\n\t\t\tst.append(course.getAu());\n\n\t\t\talw.add(st.toString()) ;\n\t\t}\n\t\twrite(filename,alw);\n\t}", "title": "" } ]
[ { "docid": "385774ae92c85d5d3c3d668b6fafe4aa", "score": "0.7573758", "text": "public abstract void writeFullCourses();", "title": "" }, { "docid": "fb99eb5c31a4eaa99fd24abb0e163074", "score": "0.7190665", "text": "private void save() throws Exception {\n try (FileWriter writer = new FileWriter(new File(file))) {\n for (Course course : courses) {\n writer.write(course.getName() + \";\" + course.getPeriod() + \";\" + course.getCredit() + \"\\n\");\n }\n }\n }", "title": "" }, { "docid": "a92c92422dd3e66a489404c5c6207dad", "score": "0.64956206", "text": "public static void saveRegisteredCourses(ArrayList<StudentRegisteredCourses> al) throws IOException {\n \t String filename = \"data/student-registered-courses.txt\" ;\n \t List alw = new ArrayList() ;\n\t for (int i = 0 ; i < al.size() ; i++) {\n\t \t StudentRegisteredCourses course = (StudentRegisteredCourses)al.get(i);\n\t \t StringBuilder st = new StringBuilder() ;\n\t \t st.append(course.getMatricNumber().trim());\n\t \t st.append(SEPARATOR);\n\t \t st.append(String.valueOf(course.getIndexNumber()).trim());\n\t \t st.append(SEPARATOR);\n\t \t st.append(course.getComplete());\n\t\t\t\t\t\n\t \t alw.add(st.toString()) ;\n\t }\n\t write(filename,alw);\n\t}", "title": "" }, { "docid": "589c3fae7ce01a9c49f7feff4448ef06", "score": "0.6459504", "text": "public void save(Context context) throws FileNotFoundException, IOException {\n FileOutputStream fos = new FileOutputStream(new File(context.getFilesDir(), \"student.txt\"));\n\n //New objectOutputStream is created which will help us write all the instance variables.\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fos);\n objectOutputStream.writeObject(this.name);\n objectOutputStream.writeObject(this.courses);\n objectOutputStream.close();\n }", "title": "" }, { "docid": "ec2f2ca1678d0234315c0c12ce29dc36", "score": "0.6445487", "text": "public void save (String file)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tBufferedWriter out = new BufferedWriter(new FileWriter(file,true));\r\n\r\n\t\t\tout.write(id+ \"\");out.newLine();\r\n\t\t\tout.close();\r\n\t\t\toverview.save(file);\r\n\r\n\t\t\tint size = course.size();\r\n\t\t\tfor (int i = 0; i < size; i ++)\r\n\t\t\t{\r\n\t\t\t\tcourse.get(i).save(file);\r\n\t\t\t}\r\n\t\t\tout = new BufferedWriter(new FileWriter(file,true));\r\n\r\n\t\t\tout.write(\"End of course requirement\"); out.newLine();\r\n\t\t\tout.close();\r\n\r\n\t\t\tadditionalInfo.save(file);\r\n\t\t\tcontact.save(file);\r\n\r\n\t\t\tout.close();\r\n\t\t}\r\n\t\tcatch(IOException iox)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Problem saving program.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "434a6dab5b58e8cb78b5bbec7764d191", "score": "0.6370965", "text": "private void commitToFile() {\n\t\tFManger.write(Students.get(0).getStudentData(), studentFileName, false);\n\t\tfor (int i = 1; i < Students.size(); i++) {\n\t\t\tFManger.write(Students.get(i).getStudentData(), studentFileName, true);\n\t\t}\n\n\t}", "title": "" }, { "docid": "26058b2914a0ef68e484ea132ae28467", "score": "0.6279266", "text": "private void writeFile()\r\n\t{\r\n\t\tFileWriter fileWriter = null;\r\n\t\tString str;\r\n\t\ttry {\r\n\t\t\tFile file = path.toFile();\r\n\t\t\t//Creates the file.\r\n\t\t\tfile.createNewFile();\r\n\t\t\tfileWriter= new FileWriter(file);\r\n\t\t\t//For each student creates a string and writes to the file.\r\n\t\t\tfor (Student s : sList_0)\r\n\t\t\t{\r\n\t\t\t\tstr= s.toString();\r\n\t\t\t\tfileWriter.write(str.substring(0,str.length()-1)+\"\\n\");\r\n\t\t\t}\r\n\r\n\t\t} catch (IOException ioe) {\r\n\t\t\tioe.printStackTrace();\r\n\t\t}\r\n\t\tfinally\r\n\t\t{ \r\n\t\t\ttry{\r\n\t\t\t\tif(fileWriter!=null)\r\n\t\t\t\t\tfileWriter.close();\r\n\t\t\t}catch(Exception ex){\r\n\t\t\t\tSystem.out.println(\"Error in closing the FileWriter\"+ex);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b88ef584f7bfdde9b9d3df33dd91c5bf", "score": "0.6053821", "text": "private static void saveClubCoachList() throws IOException {\n Path path = Paths.get(CLUB_COACH);\n\n try (BufferedWriter bw = Files.newBufferedWriter(path)) {\n Iterator<ClubCoach> iter = fitnessClub.getClubCoachList().iterator();\n while (iter.hasNext()) {\n ClubCoach clubCoach = iter.next();\n bw.write(\"\" + clubCoach.getId());\n bw.newLine();\n bw.write(clubCoach.getSpecialization());\n bw.newLine();\n bw.write(clubCoach.getFirstName());\n bw.newLine();\n bw.write(clubCoach.getLastName());\n bw.newLine();\n bw.write(clubCoach.getPersonalNumber());\n bw.newLine();\n }\n }\n }", "title": "" }, { "docid": "40db85afaa83c7d9c99f62504e352e37", "score": "0.59863544", "text": "public void listOfCourses(){\n\n System.out.println(\"***Courses***\");\n for(Course eachCourse:newCourse.getCourses()){\n System.out.println(\"Course Name:\" + eachCourse.getCourseName()+\"\\nCourse ID:\" + eachCourse.getCourseId());\n\n }\n }", "title": "" }, { "docid": "deca5d116781a2c2aadce86c59e444f1", "score": "0.5939432", "text": "private void readAllCourses() {\n\t\t\ttry {\n\t\t\t\tString query = \"SELECT * FROM COURSETABLE\";\n\t\t\t\tStatement st = conn.createStatement();\n\t\t\t\trs = st.executeQuery(query);\n\t\t\t\twhile(rs.next()) {\n\t\t\t\t\tCourse c = new Course(rs.getString(\"courseCode\"), rs.getInt(\"courseNum\"), rs.getInt(\"id\"));\n\t\t\t\t\t//System.out.println(c);\n\t\t\t\t\tcourses.add(c);\n\t\t\t\t}\n\t\t\t\tst.close();\n\t\t\t} catch(SQLException e) {\n\t\t\t\tSystem.out.println(\"Problem reading courses\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "df06616dd0564453102b3bde063b0b88", "score": "0.5893144", "text": "private void writeTeachersFile() throws IOException {\r\n // writer for read teachers file\r\n File usersFile = new File(System.getProperty(\"user.dir\"),teachersFilePath);\r\n BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(usersFile));\r\n\r\n bufferedWriter.write(\"id;mail;password;name;surname;department;type;courseIDs\\n\");\r\n ArrayList<String> courseIDs;\r\n\r\n for (Teacher teacher : teachers) {\r\n bufferedWriter.write(teacher.getUserID() + \";\"\r\n + teacher.getUserMail() + \";\"\r\n + teacher.getUserPassword() + \";\"\r\n + teacher.getUserName() + \";\"\r\n + teacher.getUserSurname() + \";\"\r\n + teacher.getDepartment() + \";\");\r\n if(teacher instanceof AdvisorTeacher)\r\n bufferedWriter.write(\"1;\");\r\n else\r\n bufferedWriter.write(\"0;\");\r\n courseIDs = teacher.getCourseIDs();\r\n if (courseIDs.size() == 0)\r\n bufferedWriter.write(\"null\\n\");\r\n else{\r\n for(int i=0;i<courseIDs.size()-1;++i) {\r\n bufferedWriter.write(courseIDs.get(i) + \",\");\r\n }\r\n bufferedWriter.write(courseIDs.get(courseIDs.size()-1) +\"\\n\");\r\n }\r\n }\r\n bufferedWriter.close();\r\n }", "title": "" }, { "docid": "39414dabbc0003dbe6fa496fc37ab29f", "score": "0.5891173", "text": "public void updateFullList(){\n\t\tString fileName = \"text.txt\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tboolean end = false;\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tFileWriter fileWriter = new FileWriter(fileName);\n\t\t\tBufferedWriter bufferedWriter = new BufferedWriter(fileWriter);\n\t\t\tfor(int index = 0; index < Course.getCourseList().size(); index++){\n\t\t\t\tif(Course.getCourseList().get(index).getCurrStudents() == Course.getCourseList().get(index).getMaxStudents()){\n\t\t\t\t\tbufferedWriter.write(Course.getCourseList().get(index).getCourseName());\n\t\t\t\t\tSystem.out.println(\"written\");\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*while(!end){\n\t\t\t\tSystem.out.println(\"Enter class that is full: \");\n\t\t\t\tString course = in.readLine();\n\t\t\t\t\n\t\t\t\tbufferedWriter.write(course);\n\t\t\t\tbufferedWriter.newLine();\n\t\t\t\tSystem.out.println(\"Enter more? (y/n: \");\n\t\t\t\tcourse = in.readLine();\n\t\t\t\tif(course.equals(\"n\")){\n\t\t\t\t\tend = true;\n\t\t\t\t}\n\t\t\t}*/\n\n\t\t\t\n//Always close writer\n\t\t\tbufferedWriter.close();\n\t\t}\n\n\t\t//Always close files\n\n\t\tcatch (IOException exk) {\n\t\t\tSystem.out.println( \"Error writing file '\" + fileName + \"'\");\n\t\t\texk.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "ad294d8e64cbfda7569e787b3ca85d00", "score": "0.5769667", "text": "public void saveList(){\n try (\n FileOutputStream fileOut = new FileOutputStream(new File(\"C:\\\\Users\\\\Eoghan Spillane\\\\Desktop\\\\CIT_175214\\\\Year_2\\\\Semester_2\\\\OOP\\\\Project\\\\src\\\\Model\\\\objects.txt\"));\n ObjectOutputStream objectOut = new ObjectOutputStream(fileOut);\n )\n {\n objectOut.writeObject(activeList);\n } catch (IOException e1) {\n e1.printStackTrace();\n }\n }", "title": "" }, { "docid": "38aebf1bb87fd0a4214b16af4eea7a06", "score": "0.56861174", "text": "public static HashMap<String,Course> readCourse() throws IOException {\n\t\tString filename = \"data/courses.txt\" ;\n\t\tArrayList stringArray = (ArrayList)read(filename);\n\t\tHashMap<String,Course> courses = new HashMap<>();\n\n\t\tfor (int i = 0 ; i < stringArray.size() ; i++) {\n\t\t\tString st = (String)stringArray.get(i);\n\t\t\tStringTokenizer star = new StringTokenizer(st , SEPARATOR);\n\t\t\t\n\t\t\tString courseCode = star.nextToken().trim();\n\t\t\tString courseName = star.nextToken().trim();\n\t\t\tString school = star.nextToken().trim();\n\t\t\tint au = Integer.parseInt(star.nextToken().trim());\n\t\t\t\n\t\t\t\n\t\t\tcourses.put(courseCode, new Course(courseCode, courseName, school, au));\n\t\t\t\n\t\t}\n\t\treturn courses;\n\t}", "title": "" }, { "docid": "d98188f48b5acae0bffc3204ae618cff", "score": "0.56787926", "text": "public void readCourses(String filename)\r\n\t{\r\n\t\tCourse toAdd;\r\n\t\tStudent newStudent;\r\n\t\tint idNumber = 0;\r\n\t\tException emptyFile = new Exception(\"emptyFile\");\r\n\t\tException invalidFileFormat = new Exception(\"incorrectFileFormat\");\r\n\t\tException negativeID = new Exception(\"negativeStudentID\");\r\n\r\n\t\tFile readFile;\r\n\t\tScanner fromFile;\r\n\t\ttry\r\n\t\t{\r\n\t\t\treadFile = new File(filename);\r\n\t\t\tfromFile = new Scanner(readFile);\r\n\r\n\t\t\tif(!fromFile.hasNext())\r\n\t\t\t\tthrow(emptyFile);\r\n\t\t\twhile(fromFile.hasNext())\r\n\t\t\t{\r\n\t\t\t\ttoAdd = new Course(fromFile.next());\r\n\t\t\t\tcourseList.add(toAdd);\r\n\t\t\t\tif(!fromFile.hasNextInt())\r\n\t\t\t\t\tthrow(invalidFileFormat);\r\n\t\t\t\twhile(fromFile.hasNextInt())\r\n\t\t\t\t{\r\n\t\t\t\t\tidNumber = fromFile.nextInt();\r\n\t\t\t\t\tif(idNumber < 0)\r\n\t\t\t\t\t\tthrow(negativeID);\r\n\t\t\t\t\tnewStudent = new Student(idNumber);\r\n\t\t\t\t\tif(findStudent(newStudent) == null)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tstudentList.add(newStudent);\r\n\t\t\t\t\t\ttoAdd.addStudent(newStudent);\r\n\t\t\t\t\t\tnewStudent.addCourse(toAdd);\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\tfor(Student current: studentList)\r\n\t\t\t\t\t\t\tif(current.compare(newStudent.getiD()))\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\ttoAdd.addStudent(current);\r\n\t\t\t\t\t\t\t\tcurrent.addCourse(toAdd);\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\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\tfromFile.close();\t\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"File read error in file: \" + filename + \"!\\n\" + e.toString());\r\n\t\t\tSystem.exit(-1);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e8b076b3ea351b367aae2f8411c0f8ed", "score": "0.56679314", "text": "private void saveToDatabase()\n\t{\n\t\t// Serialization \n try\n { \n //Saving of object in a file \n \tFileOutputStream facultyFile = new FileOutputStream(facultyFileName);\n ObjectOutputStream facultyOut = new ObjectOutputStream(facultyFile);\n FileOutputStream profFile = new FileOutputStream(profFileName);\n ObjectOutputStream profOut = new ObjectOutputStream(profFile);\n FileOutputStream studFile = new FileOutputStream(studFileName);\n ObjectOutputStream studOut = new ObjectOutputStream(studFile);\n \n // Method for serialization of object \n facultyOut.writeObject(facultyList);\n profOut.writeObject(profList);\n studOut.writeObject(studentList);\n \n facultyOut.close();\n profOut.close();\n studOut.close();\n facultyFile.close();\n profFile.close();\n studFile.close();\n \n System.out.println(\"Object has been serialized\"); \n \n } \n \n catch(IOException ex) \n { \n System.out.println(\"IOException is caught\"); \n } \n\t}", "title": "" }, { "docid": "4052c1e0ec7dfc972888a3fd0e11da26", "score": "0.5626635", "text": "private void sacuvaj(List<Student> list) {\n File file = new File(\"ocene.txt\");\n try (FileWriter fileWriter = new FileWriter(file)) {\n BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);\n for (Student student: list){\n bufferedWriter.write(student.prikazStudenta());\n }\n bufferedWriter.flush();\n bufferedWriter.close();\n System.out.println(\"Lista sacuvana u fajlu \" + file.getCanonicalPath());\n } catch (IOException e) {\n System.out.println(e.getStackTrace());\n }\n }", "title": "" }, { "docid": "e0d5f5834628e12a2411d50315c6c18e", "score": "0.56197315", "text": "private void writeToFile() throws IOException {\n\n FileOutputStream writeData = new FileOutputStream(\"Person.txt\");\n ObjectOutputStream ObjectStream = new ObjectOutputStream(writeData);\n\n try {\n ObjectStream.writeObject(contactBook);\n ObjectStream.flush();\n }\n catch (Exception e) {\n e.printStackTrace();\n\n } finally {\n ObjectStream.close();\n }\n }", "title": "" }, { "docid": "8a97dfaa24a5678f1b391d6a6ef79025", "score": "0.56175256", "text": "public Hashtable<Integer, Course> export() {\n return courses;\n }", "title": "" }, { "docid": "0caf2999cfa6b7b842b425021438e33b", "score": "0.5593685", "text": "public void save() throws IOException {\n // STEP 6: INSERT CODE HERE\n // --------------------------*** Settlements *** --------------------------------\n\n // possibly create file if not found\n try(PrintWriter outfile = new PrintWriter(new FileWriter(\"settlements.txt\"))) {\n // Print amount of settlements in file\n outfile.println(settlements.size());\n for (Settlement s : settlements) {\n outfile.println(s.getName() + \":\" +\n s.getPopulation() + \":\" +\n s.getKind().toString());\n }\n System.out.println(\"Settlements saved successfully.\");\n } catch (IOException e) {\n System.err.println(e.getMessage());\n }\n\n // --------------------------*** Roads *** --------------------------------\n try(PrintWriter outfile = new PrintWriter(new FileWriter(\"roads.txt\"))) {\n // Print amount of roads in file\n outfile.println(roads.size());\n for (Road r : roads) {\n outfile.println(r.getName() + \":\" +\n r.getClassification().toString() + \":\" +\n r.getLength() + \":\" +\n r.getSourceSettlement().getName() + \":\" +\n r.getDestinationSettlement().getName());\n }\n System.out.println(\"Roads saved successfully.\");\n } catch (IOException e) {\n System.err.println(e.getMessage());\n }\n\n }", "title": "" }, { "docid": "4554cbe2461384d40218b236ae1e42b3", "score": "0.5554154", "text": "private void save() throws Exception {\n try (FileWriter writer = new FileWriter(new File(file))) {\n for (Phrase phrase : phrases) {\n writer.write(phrase.getPhrase() + \"\\t\" + phrase.getCategory().getName() + \"\\t\" + phrase.getUses() + \"\\n\");\n }\n }\n }", "title": "" }, { "docid": "29be56c0c068c9e75a549a6d8ee85601", "score": "0.5549373", "text": "void writeAllDetailsToFile()\n {\n\n try\n {\n String lineSeparator = System.getProperty(\"line.separator\");\n FileOutputStream fOut = openFileOutput(\"trial_file.txt\", Context.MODE_PRIVATE);\n fOut.write(nameFinal.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(addressFinal.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(emailFinal.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(birthDateFinal.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(sexSelectedFinal.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.write(usernameFinal.getBytes());\n fOut.write(lineSeparator.getBytes());\n fOut.close();\n Toast.makeText(getApplicationContext(), \"Details Saved Successfully\", Toast.LENGTH_LONG).show();\n } catch (Exception e) {\n e.printStackTrace();\n Toast.makeText(this, \"Error\", Toast.LENGTH_LONG).show();\n }\n }", "title": "" }, { "docid": "c3ca0fc2f09c599c271f11589a93b50d", "score": "0.5499856", "text": "public void serialise() throws FileNotFoundException, IOException {\n\t\tObjectOutputStream out=null;\n\t\ttry {\n\t\t\tout = new ObjectOutputStream(new FileOutputStream(\"./src/Database/faculty/\"+this.getName()+\".txt\"));\n\t\t\tout.writeObject(this);\n\t\t}\n\t\tfinally {\n\t\t\tout.close();\n\t\t}\n\t}", "title": "" }, { "docid": "5a3be4a6d64b57275b2817e20ef941d0", "score": "0.5492766", "text": "public void writeToAuthor(){\n\t\t\n\t\tArrayList<Author> authorList;\n\t\tHashSet<String> set;\n\t\tArrayList<String> authorStringArray = new ArrayList<String>();\n\t\tAuthor author;\n\t\t\n\t\t//put all author name into authorStringArray\n\t\t\n\t\tfor(int i=0;i<this.authoredList.size();i++){\n\t\t\tauthorList = this.authoredList.get(i).getAuthorList();\n\t\t\tfor(int j=0;j<authorList.size();j++){\n\t\t\t\tauthor = authorList.get(j);\n\t\t\t\tauthorStringArray.add(author.getAuthorName());\n\t\t\t}\n\t\t}\n\t\tset = new HashSet<String>(authorStringArray);\n\t\tauthorStringArray = new ArrayList<String>(set);\n\n//\t\t//write into authorList\n\t\tfor(int i=0;i<authorStringArray.size();i++){\n\t\t\tauthor = new Author(i,authorStringArray.get(i));\n\t\t\tthis.authorList.add(author);\n\t\t}\n\n\t\t//write into author file\n\t\tgetFile(authorPath);//open author file\n\t\tfor(int i=0;i<this.authorList.size();i++){\n\t\t\tauthor = this.authorList.get(i);\n\t\t\ttry {\n\t\t\t\tfileWriter.append(author.getAuthorID()+\",\");\n\t\t\t\tfileWriter.append(hasComma(author.getAuthorName()));\n\t\t\t\tfileWriter.append(\"\\r\\n\");\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.out.println(\"Error at author:\"+e+\",\"+author.getAuthorID());\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tcleanUP(\"author done\");\n\t}", "title": "" }, { "docid": "aba4847023f95e89cb7aa23c055e4a90", "score": "0.54913026", "text": "public void SaveAll() throws IOException \n {\n if(!DELETED) //controllo che il progetto non sia eliminato\n {\n Path path = Paths.get(ABS_path + \"/\" + ID_NAME + \"/\");\n for (Card c : Cards) {\n File f = new File(path.toString()+ \"/\" + c.getName() + \".json\");\n System.out.println(f.toString());\n try {\n OM.writeValue(f, c);\n } catch (JsonGenerationException e) { \n e.printStackTrace();\n } catch (JsonMappingException e) {\n e.printStackTrace();\n }\n \n }\n \n // Salvataggiu degli Membri in un File txt\n try {\n FileOutputStream outputStream = new FileOutputStream(new File(path.toString()+ \"/\" + \"Users.txt\"));\n \n for(String str : Membri)\n {\n String temp=str+\"\\n\";\n outputStream.write(temp.getBytes());\n }\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n \n \n System.out.println(\"Tutti i file Salvati\");\n }\n }", "title": "" }, { "docid": "8fe9efa29a551f341dfe120560c2f23f", "score": "0.54826176", "text": "void writeCsvFile() {\n ArrayList<String> lines = new ArrayList<>();\n // create data lines\n for (Room room: rooms) {\n lines.add(String.join(\",\",\n room.isReserved() ? \"1\" : \"0\",\n room.isCheckedIn() ? \"1\" : \"0\",\n room.getReserver() == null ? \"\" : room.getReserver()));\n }\n\n // try to save records to the csv file\n try {\n Files.write(Paths.get(CSV_FILE_NAME), lines);\n } catch (IOException e) {\n // e.printStackTrace();\n }\n }", "title": "" }, { "docid": "33718a1e5e710db4fdf1ffe3af3035ee", "score": "0.54628515", "text": "public boolean readStudentFile(){\n try{\r\n FileReader myObj = new FileReader(\"students.txt\");\r\n BufferedReader bufferedReader = new BufferedReader(myObj);\r\n\r\n String line;\r\n\r\n while((line = bufferedReader.readLine()) != null){\r\n\r\n String parts[] = line.split(\";\");\r\n\r\n Student tempStudent = new Student(parts[2], parts[3], parts[0], parts[1], Integer.parseInt(parts[4]), Integer.parseInt(parts[6]));\r\n tempStudent.setAdvisorTeacherID(Integer.parseInt(parts[5]));\r\n tempStudent.setTerm(Integer.parseInt(parts[7]));\r\n tempStudent.setDepartment(parts[8]);\r\n tempStudent.setCourseSelectionApprove(Boolean.parseBoolean(parts[9]));\r\n if(!(parts.length<11)) {\r\n \tString tempCourses[] = parts[10].split(\",\");\r\n for(int i = 0;i < tempCourses.length;i++){\r\n String tempCurrentCourse[] = tempCourses[i].split(\"\\\\.\");\r\n for(int j = 0;j < courses.size();j++){\r\n if(courses.get(j).getCourseCode().equals(tempCurrentCourse[0])){\r\n tempStudent.getCurrentCourses().add(courses.get(j));\r\n break;\r\n }\r\n }\r\n tempStudent.getAttendance().put(tempCurrentCourse[0], Integer.parseInt(tempCurrentCourse[1]));\r\n tempStudent.getGrades().put(tempCurrentCourse[0], new Grade(Integer.parseInt(tempCurrentCourse[2]), Integer.parseInt(tempCurrentCourse[3]), Integer.parseInt(tempCurrentCourse[4])));\r\n }\r\n\r\n tempCourses = parts[11].split(\":\");\r\n for(int i = 0;i < tempCourses.length;i++){\r\n String tempCurrentCourses[] = tempCourses[i].split(\",\");\r\n ArrayList<Course> t_arr = new ArrayList<Course>();\r\n for(int t = 0;t < tempCurrentCourses.length;t++){\r\n String tempCurrentCourse[] = tempCurrentCourses[t].split(\"\\\\.\");\r\n\r\n for(int j = 0;j < courses.size();j++){\r\n if(courses.get(j).getCourseCode().equals(tempCurrentCourse[0])) {\r\n t_arr.add(courses.get(j));\r\n tempStudent.getGrades().put(tempCurrentCourse[0], new Grade(Integer.parseInt(tempCurrentCourse[1])));\r\n break;\r\n }\r\n }\r\n }\r\n tempStudent.getPastCourses().add(t_arr);\r\n }\r\n }\r\n tempStudent.setDb(this);\r\n \r\n students.add(tempStudent);\r\n }\r\n\r\n for (int i = 0; i < students.size(); ++i)\r\n for (int k = 0; k < students.get(i).getCurrentCourses().size(); ++k)\r\n students.get(i).getCurrentCourses().get(k).addStudent(students.get(i));\r\n\r\n bufferedReader.close();\r\n myObj.close();\r\n\r\n } catch(IOException io) {\r\n System.out.println(\"IOException occurred when reading 'student.txt' file.The exception is printing: \");\r\n io.printStackTrace();\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "42bdba86d6e86a88b971eda297903689", "score": "0.5461803", "text": "public static void saveLesson(ArrayList<Lesson> al) throws IOException {\n\t\tString filename = \"data/lessons.txt\" ;\n\t\tList alw = new ArrayList();\n\t\tfor (int i = 0 ; i < al.size() ; i++) {\n\t\t\tLesson lesson = (Lesson)al.get(i);\n\t\t\tStringBuilder st = new StringBuilder() ;\n\t\t\tst.append(lesson.getIndexNumber());\n\t\t\tst.append(SEPARATOR);\n\t\t\tst.append(lesson.getStartTime().toString().trim());\n\t\t\tst.append(SEPARATOR);\n\t\t\tst.append(lesson.getEndTime().toString().trim());\n\t\t\tst.append(SEPARATOR);\n\t\t\tst.append(lesson.getDay().trim());\n\t\t\tst.append(SEPARATOR);\n\t\t\tst.append(lesson.getType().trim());\n\t\t\tst.append(SEPARATOR);\n\t\t\tst.append(lesson.getVenue().trim());\n\t\t\t\t\t\t\n\t\t\talw.add(st.toString()) ;\n\t\t}\n\t\twrite(filename,alw);\n\t}", "title": "" }, { "docid": "e36131d132b7f712253af39a1bee5a32", "score": "0.5457765", "text": "public void printCreditCourses()\r\n {\r\n\t for(CreditCourse tempCourse : this.courses)\r\n\t {\r\n\t\t System.out.println(tempCourse.getDescription());\r\n\t }\r\n }", "title": "" }, { "docid": "020f3493d28f8b22322dfd4328b40014", "score": "0.5450183", "text": "private void store ()\r\n {\r\n PrintWriter out = null;\r\n\r\n try {\r\n out = new PrintWriter(\r\n new BufferedWriter(new FileWriter(blackFile)));\r\n\r\n for (String name : bl) {\r\n out.println(name);\r\n }\r\n } catch (IOException ex) {\r\n logger.warn(\"IO error while writing file ''{}''\", blackFile);\r\n } finally {\r\n if (out != null) {\r\n out.close();\r\n }\r\n }\r\n\r\n if (logger.isDebugEnabled()) {\r\n dump();\r\n }\r\n }", "title": "" }, { "docid": "a5bd38ef46d1521866178b34a87d44f7", "score": "0.54394317", "text": "public void writeCusFile(){\n try{\n int money = 0;\n\n BW.write(\"================== CUSTOMERS =======================\\n\");\n BW.write(String.format(\"%-17s%-17s%-17s%-17s%-17s\\n\",\"ID\",\"Name\", \"Surname\", \"Date of Birth\",\"Age\"));\n BW.write(\"====================================================\\n\");\n \n for (int i = 0; i < CusArray.size(); i++) {\n \n \n BW.write(String.format(\"%-15s%-15s%-15s%-15s%-15d\\n\", CusArray.get(i).getStHolderId(),CusArray.get(i).getFirstName(),CusArray.get(i).getSurName(), formatDatebob(CusArray.get(i)),Age(CusArray.get(i).getDateOfBirth())));\n if (CusArray.get(i).getCanRent() == true){\n money++;\n\n }\n }\n \n BW.write(\"\\nNumber of customers that can rent: \" + money);\n BW.write(\"\\nNumber of customers that cannot rent: \" + (CusArray.size() - money)); \n }\n\n catch (IOException e){\n System.out.println(\"Error closing the text file: \" + e.getMessage());\n } \n }", "title": "" }, { "docid": "03959e62b28a0dbbb33bc2179577b4c0", "score": "0.54332966", "text": "private void writeToFile() {\n try (PrintWriter pw = new PrintWriter(file)) {\n super.findAll().forEach(n -> pw.println(n.getID().getKey() + \"|\" + n.getID().getValue() + \"|\" + n.getNota() + \"|\" + n.getData()+\"|\"+n.getFeedback()));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "92a4764e05b75b7cd11cde71598ee8ef", "score": "0.5420542", "text": "public void saveGame(){\r\n try{\r\n FileWriter file = new FileWriter(\"tdSave.txt\");\r\n FileWriter file2 = new FileWriter(\"tdPlayerSave.txt\");\r\n BufferedWriter saveWrite = new BufferedWriter(file);\r\n BufferedWriter playerWrite = new BufferedWriter(file2);\r\n for(int i = 0; i < 20; i++){\r\n saveWrite.write(this.boxesOfTheBoard[i]);\r\n }\r\n playerWrite.write(Integer.toString(this.turn));\r\n saveWrite.close();\r\n playerWrite.close();\r\n\r\n }\r\n catch(IOException e){\r\n System.out.println(\"Oh no\");\r\n }\r\n }", "title": "" }, { "docid": "ed833ca521f79e2c72eea523db181330", "score": "0.5416157", "text": "public void printAllCourses() {\n ArrayList<Course> courseList = RM.getAllCourses();\n if (courseList != null) {\n IO.printCourseList(courseList);\n }\n }", "title": "" }, { "docid": "2dd08db76d6dcecb5ce9db3675ccacb3", "score": "0.54108423", "text": "private void save() throws Exception {\n\t\t\n\t\tFileWriter fw = new FileWriter(\"books.csv\", false);\n BufferedWriter bw = new BufferedWriter(fw);\n\t\tString rec = \"\";\n\t\t\n\t\tfor (Map.Entry<Integer, Book> book : books.entrySet()) {\n\t\t\trec = \"\";\n\t\t\trec += book.getValue().getId() + \",\";\n\t\t\trec += book.getValue().getTitle() + \",\";\n\t\t\trec += book.getValue().getAuthor() + \",\";\n\t\t\trec += book.getValue().getDescription() + \"\\n\";\n\t\t\tbw.write(rec);\n\t\t}\n\t\tbw.flush();\n\t\t\n\t\ttry {\n\t\t\tbw.close();\n\t\t\tfw.close();\n\t\t} catch (Exception e) {\n\t\t\t\n\t\t}\n\t\tConsoleHelper.printMessage(\"\\nData Saved, Processing Complete\");\n\t}", "title": "" }, { "docid": "8dea1e111c053840cf6b5abdc6a53089", "score": "0.5409892", "text": "public void updateSubjectFile() {\n try {\n outputStream = new ObjectOutputStream(new FileOutputStream(Subject_FILE));\n outputStream.writeObject(subjects);\n } catch (FileNotFoundException e) {\n System.out.println(\"[Update] Error: \" + e.getMessage() + \", the program will try and make a new file\");\n } catch (IOException e) {\n System.out.println(\"[Update] Error: \" + e.getMessage());\n } finally {\n try {\n if (outputStream != null) {\n outputStream.flush();\n outputStream.close();\n }\n } catch (IOException e) {\n System.out.println(\"[Update] Error: \" + e.getMessage());\n }\n }\n }", "title": "" }, { "docid": "00996be693041758979bf78323bce7aa", "score": "0.54029465", "text": "@Override\n public void saveCacheObjectsToFile() throws ProcessingException\n {\n int objectsLoaded = 0;\n BufferedWriter outFile = null;\n String tmpFileRecord;\n Collection<String> objectSet;\n Iterator<String> objectIterator;\n String tmpKey;\n AssemblyCtx tmpInfo;\n\n // Log that we are starting the loading\n OpenRate.getOpenRateFrameworkLog().info(\"Starting Assembly Cache saving to file\");\n\n try\n {\n // Try to open the file\n outFile = new BufferedWriter(new FileWriter(CachePersistenceName));\n }\n catch (IOException ex)\n {\n message = \"Error opening output file\";\n throw new ProcessingException(message,ex,getSymbolicName());\n }\n\n objectSet = ObjectList.keySet();\n objectIterator = objectSet.iterator();\n\n while (objectIterator.hasNext())\n {\n tmpKey = objectIterator.next();\n tmpInfo = (AssemblyCtx) ObjectList.get(tmpKey);\n tmpFileRecord = tmpKey + \";\" +\n String.valueOf(tmpInfo.totalDuration) + \";\" +\n String.valueOf(tmpInfo.totalData) + \";\" +\n String.valueOf(tmpInfo.uplink) + \";\" +\n String.valueOf(tmpInfo.downlink) + \";\" +\n String.valueOf(tmpInfo.state) + \";\" +\n String.valueOf(tmpInfo.StartDate) + \";\" +\n String.valueOf(tmpInfo.ClosedDate);\n try\n {\n outFile.write(tmpFileRecord);\n outFile.newLine();\n }\n catch (IOException ex)\n {\n OpenRate.getOpenRateFrameworkLog().error(\"Error writing to file\");\n }\n }\n\n try\n {\n // close the file\n outFile.close();\n }\n catch (IOException ex)\n {\n OpenRate.getOpenRateFrameworkLog().error(\"Error closing file\");\n }\n\n OpenRate.getOpenRateFrameworkLog().info(\n \"Assembly Data Saving completed. \" + objectsLoaded +\n \" configuration lines saved <\" + CachePersistenceName +\n \">\");\n }", "title": "" }, { "docid": "5a8f2380627ffb93ef58669d31b74625", "score": "0.5400759", "text": "private void write() {\n\t\ttry {\n\t\t\tCSVWriter writer = new CSVWriter(new FileWriter(fileName), ',',\n\t\t\t\t\tCSVWriter.NO_QUOTE_CHARACTER);\n\t\t\tString[] headers = { \"Username\", \"FullName\", \"Password\", \"Xp\",\n\t\t\t\t\t\"Gold\" };\n\t\t\twriter.writeNext(headers);\n\t\t\tfor (User user : users.values()) {\n\t\t\t\tString[] entries = { user.getUsername(), user.getFullName(),\n\t\t\t\t\t\tuser.getPassword(), String.valueOf(user.getXp()),\n\t\t\t\t\t\tString.valueOf(user.getGold()) };\n\t\t\t\twriter.writeNext(entries);\n\t\t\t}\n\t\t\twriter.close();\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.printf(\"%nUnexpected IO error\");\n\t\t}\n\t}", "title": "" }, { "docid": "5f9698d9e09f882cbe89e4af714b573f", "score": "0.53835505", "text": "public void newStudentList() throws IOException // Gets, creates, and assings student names and objects\n\t{\n\t\tScanner file = new Scanner(new File(\"StudentList.txt\"));// Scanner that grabs the Student List\n\t\twhile (file.hasNextLine()) {\n\t\t\tScanner lineScanner = new Scanner(file.nextLine());\n\t\t\taddNewStudent(lineScanner.next(), lineScanner.next());\n\t\t\twhile (lineScanner.hasNext()) {\n\t\t\t\tgetStudent(studentList.size() - 1).getTranscript()\n\t\t\t\t\t\t.add(new Course(lineScanner.next(), lineScanner.next()));\n\t\t\t}\n\t\t}\n\t\tfor (Student s : studentList) {\n\t\t\ts.setGPA();\n\t\t}\n\t}", "title": "" }, { "docid": "8a3028ed16620c0e7087492c87a4c1e9", "score": "0.5382034", "text": "private void save() {\r\n\t\tString[] orders = {\"By name\", \"By credits\", \"By day/time\"};\r\n\t\tint result = JOptionPane.showOptionDialog(frame,\r\n\t\t\t\t\"In what order should the courses be stored?\",\r\n\t\t\t\t\"Save order?\",\r\n\t\t\t\tJOptionPane.OK_CANCEL_OPTION,\r\n\t\t\t\tJOptionPane.QUESTION_MESSAGE,\r\n\t\t\t\tnull,\r\n\t\t\t\torders,\r\n\t\t\t\t\"By name\");\r\n\t\tif (result < 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t// use the button clicked to decide which Comparator to create/use\r\n\t\tComparator<Course> compare;\r\n\t\tif (result == 0) {\r\n\t\t\tcompare = new CourseNameComparator();\r\n\t\t} else if (result == 1) {\r\n\t\t\tcompare = new CourseCreditComparator();\r\n\t\t} else {\r\n\t\t\tcompare = new CourseTimeComparator();\r\n\t\t}\r\n\t\t\r\n\t\t// actually save it now!\r\n\t\ttry {\r\n//\t\t\tschedule.save(new PrintStream(new File(COURSES_FILE_NAME)), compare);\r\n\t\t\tJOptionPane.showMessageDialog(frame, \"Your course schedule was saved \"\r\n\t\t\t\t\t+ \"successfully to \" + COURSES_FILE_NAME + \".\");\r\n\t\t} catch (Exception ioe) {\r\n\t\t\tJOptionPane.showMessageDialog(frame,\r\n\t\t\t\t\t\"An error occurred while saving your course schedule: \\n\" + ioe,\r\n\t\t\t\t\t\"Input/output error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f1198dd9df7f6638c4b72ec81a23d5e5", "score": "0.53803974", "text": "public void writeToPrintCollection() {\n\t\ttry {\n\t\t\tString curDir = System.getProperty(\"user.dir\");\n\t\t\tFileWriter fw = new FileWriter(curDir + \"//src//floss//Print.txt\");\n\t\t\tBufferedWriter bw = new BufferedWriter(fw);\n\t\t\t\n\t\t\tIterator<Floss> i = mc.iterator();\n\t\t\t\n\t\t\twhile (i.hasNext()) {\n\t\t\t\t\n\t\t\t\tFloss f = i.next();\n\t\t\t\tif (f.isToBuy()) {\n\t\t\t\t\tif (f.isOwn())\n\t\t\t\t\t\tbw.write( f.getName() + \" - \" + f.getDescription() + \" (refill)\" );\n\t\t\t\t\telse\n\t\t\t\t\t\tbw.write( f.getName() + \" - \" + f.getDescription() + \" (new)\" );\n\t\t\t\t\t\n\t\t\t\t\tbw.newLine();\n\t\t\t\t}\n\t\n\t\t\t}\n\t\t\tbw.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "2614e5eb074c65afe63a9e6060aa1509", "score": "0.5379926", "text": "private static void saveClubUserList() throws IOException {\n Path path = Paths.get(CLUB_USER);\n\n try (BufferedWriter bw = Files.newBufferedWriter(path)) {\n Iterator<ClubUser> iter = fitnessClub.getClubUserList().iterator();\n while (iter.hasNext()) {\n ClubUser clubUser = iter.next();\n bw.write(\"\" + clubUser.getId());\n bw.newLine();\n bw.write(clubUser.getFirstName());\n bw.newLine();\n bw.write(clubUser.getLastName());\n bw.newLine();\n bw.write(clubUser.getPersonalNumber());\n bw.newLine();\n }\n }\n }", "title": "" }, { "docid": "6ce594b68530981ae0350fca612be843", "score": "0.5363863", "text": "private void saveToFile() {\r\n try {\r\n PrintWriter pw = new PrintWriter(new FileWriter(booksFilePath), false);\r\n pw.print(toFileString());\r\n pw.close();\r\n } catch (IOException ex) {\r\n System.out.println(\"Could Not Write To File :(\");\r\n }\r\n }", "title": "" }, { "docid": "f45049faddb80b52fd0f9483b0de798b", "score": "0.5362193", "text": "public void save(){\r\n logger.info(\"Saving data to files...\");\r\n save_to_file(state.getAccounts(), file_accounts);\r\n save_to_file(state.getBudgets(), file_budgets);\r\n save_to_file(state.getCategories(), file_categories);\r\n }", "title": "" }, { "docid": "3758a89362063ad895a3cb4be435ae5d", "score": "0.5354476", "text": "public String myCourses() {\n\t\tString st = \"All your courses: \\n\";\n\t\tfor(int i=0;i<studentRegList.size();i++) {\n\t\t\tst += \"Course: \"+studentRegList.get(i).getOfferingCourseName() +\" \"+studentRegList.get(i).getOfferingCourseNumber();\n\t\t\tst += \"\\n\";\n\t\t}\n\t\treturn st;\n\t}", "title": "" }, { "docid": "a0680c1f062d18e6d0a48812d4b01445", "score": "0.5354131", "text": "private void initializeCourses() {\n // CPSC 210 Students: You can change this data if you desire.\n CourseFactory courseFactory = CourseFactory.getInstance();\n\n Building dmpBuilding = new Building(\"DMP\", new LatLon(49.261474, -123.248060));\n\n Course cpsc210 = courseFactory.getCourse(\"CPSC\", 210);\n Section aSection = new Section(\"202\", \"MWF\", \"12:00\", \"12:50\", dmpBuilding);\n cpsc210.addSection(aSection);\n aSection.setCourse(cpsc210);\n aSection = new Section(\"201\", \"MWF\", \"16:00\", \"16:50\", dmpBuilding);\n cpsc210.addSection(aSection);\n aSection.setCourse(cpsc210);\n aSection = new Section(\"BCS\", \"MWF\", \"12:00\", \"12:50\", dmpBuilding);\n cpsc210.addSection(aSection);\n aSection.setCourse(cpsc210);\n\n Course engl222 = courseFactory.getCourse(\"ENGL\", 222);\n aSection = new Section(\"007\", \"MWF\", \"14:00\", \"14:50\", new Building(\"Buchanan\", new LatLon(49.269258, -123.254784)));\n engl222.addSection(aSection);\n aSection.setCourse(engl222);\n\n Course scie220 = courseFactory.getCourse(\"SCIE\", 220);\n aSection = new Section(\"200\", \"MWF\", \"15:00\", \"15:50\", new Building(\"Swing\", new LatLon(49.262786, -123.255044)));\n scie220.addSection(aSection);\n aSection.setCourse(scie220);\n\n Course math200 = courseFactory.getCourse(\"MATH\", 200);\n aSection = new Section(\"201\", \"MWF\", \"09:00\", \"09:50\", new Building(\"Buchanan\", new LatLon(49.269258, -123.254784)));\n math200.addSection(aSection);\n aSection.setCourse(math200);\n\n Course fren102 = courseFactory.getCourse(\"FREN\", 102);\n aSection = new Section(\"202\", \"MWF\", \"11:00\", \"11:50\", new Building(\"Barber\", new LatLon(49.267442,-123.252471)));\n fren102.addSection(aSection);\n aSection.setCourse(fren102);\n\n Course japn103 = courseFactory.getCourse(\"JAPN\", 103);\n aSection = new Section(\"002\", \"MWF\", \"10:00\", \"10:50\", new Building(\"Buchanan\", new LatLon(49.269258, -123.254784)));\n japn103.addSection(aSection);\n aSection.setCourse(japn103);\n\n Course scie113 = courseFactory.getCourse(\"SCIE\", 113);\n aSection = new Section(\"213\", \"MWF\", \"13:00\", \"13:50\", new Building(\"Swing\", new LatLon(49.262786, -123.255044)));\n scie113.addSection(aSection);\n aSection.setCourse(scie113);\n\n Course micb308 = courseFactory.getCourse(\"MICB\", 308);\n aSection = new Section(\"201\", \"MWF\", \"12:00\", \"12:50\", new Building(\"Woodward\", new LatLon(49.264704,-123.247536)));\n micb308.addSection(aSection);\n aSection.setCourse(micb308);\n\n Course math221 = courseFactory.getCourse(\"MATH\", 221);\n aSection = new Section(\"202\", \"TR\", \"11:00\", \"12:20\", new Building(\"Klinck\", new LatLon(49.266112, -123.254776)));\n math221.addSection(aSection);\n aSection.setCourse(math221);\n\n Course phys203 = courseFactory.getCourse(\"PHYS\", 203);\n aSection = new Section(\"201\", \"TR\", \"09:30\", \"10:50\", new Building(\"Hennings\", new LatLon(49.266400,-123.252047)));\n phys203.addSection(aSection);\n aSection.setCourse(phys203);\n\n Course crwr209 = courseFactory.getCourse(\"CRWR\", 209);\n aSection = new Section(\"002\", \"TR\", \"12:30\", \"13:50\", new Building(\"Geography\", new LatLon(49.266039,-123.256129)));\n crwr209.addSection(aSection);\n aSection.setCourse(crwr209);\n\n Course fnh330 = courseFactory.getCourse(\"FNH\", 330);\n aSection = new Section(\"002\", \"TR\", \"15:00\", \"16:20\", new Building(\"MacMillian\", new LatLon(49.261167,-123.251157)));\n fnh330.addSection(aSection);\n aSection.setCourse(fnh330);\n\n Course cpsc499 = courseFactory.getCourse(\"CPSC\", 430);\n aSection = new Section(\"201\", \"TR\", \"16:20\", \"17:50\", new Building(\"Liu\", new LatLon(49.267632,-123.259334)));\n cpsc499.addSection(aSection);\n aSection.setCourse(cpsc499);\n\n Course chem250 = courseFactory.getCourse(\"CHEM\", 250);\n aSection = new Section(\"203\", \"TR\", \"10:00\", \"11:20\", new Building(\"Klinck\", new LatLon(49.266112, -123.254776)));\n chem250.addSection(aSection);\n aSection.setCourse(chem250);\n\n Course eosc222 = courseFactory.getCourse(\"EOSC\", 222);\n aSection = new Section(\"200\", \"TR\", \"11:00\", \"12:20\", new Building(\"ESB\", new LatLon(49.262866, -123.25323)));\n eosc222.addSection(aSection);\n aSection.setCourse(eosc222);\n\n // this has been changed from 15:20 to 15:00\n Course biol201 = courseFactory.getCourse(\"BIOL\", 201);\n aSection = new Section(\"201\", \"TR\", \"14:00\", \"15:00\", new Building(\"BioSci\", new LatLon(49.263920, -123.251552)));\n biol201.addSection(aSection);\n aSection.setCourse(biol201);\n\n Course stat302 = courseFactory.getCourse(\"STAT\", 302);\n aSection = new Section(\"201\", \"TR\", \"14:00\", \"15:20\", new Building(\"ESB\", new LatLon(49.262866, -123.25323)));\n stat302.addSection(aSection);\n aSection.setCourse(stat302);\n\n Course medg421 = courseFactory.getCourse(\"MEDG\", 421);\n aSection = new Section(\"001\", \"TR\", \"9:30\", \"10:50\", new Building(\"Woodward\", new LatLon(49.264704,-123.247536)));\n medg421.addSection(aSection);\n aSection.setCourse(medg421);\n\n Course micb425 = courseFactory.getCourse(\"MICB\", 425);\n aSection = new Section(\"201\", \"MWF\", \"9:00\", \"9:50\", new Building(\"Swing\", new LatLon(49.262786, -123.255044)));\n micb425.addSection(aSection);\n aSection.setCourse(micb425);\n\n\n }", "title": "" }, { "docid": "8e4cc2f3ad5e10b8aae61eb823a3c78e", "score": "0.5351392", "text": "public void writeToTxt() throws IOException {\r\n\t\t// String arrayine satırları at\r\n\r\n\t\tString[] arr = new String[users.size()];\r\n\t\tString str = \"\";\r\n\t\tint index = 0;\r\n\r\n\t\tfor (Person p : users) {\r\n\t\t\tif (p.getClass().getSimpleName().equalsIgnoreCase(\"admin\"))\r\n\t\t\t\tstr = \"admin\" + \";\" + ((Admin) p).getName() + \";\" + ((Admin) p).getSurname() + \";\"\r\n\t\t\t\t\t\t+ ((Admin) p).getMail() + \";\" + ((Admin) p).getPassword() + \";;;;;\";\r\n\t\t\telse if (p.getClass().getSimpleName().equalsIgnoreCase(\"user\")) {\r\n\t\t\t\tString adres = ((User) p).getAddress().getAddress() + \",\" + ((User) p).getAddress().getTown() + \",\"\r\n\t\t\t\t\t\t+ ((User) p).getAddress().getCity();\r\n\r\n\t\t\t\tString intr = \"\";\r\n\t\t\t\tif (((User) p).getInterest() != null && ((User) p).getInterest().size() > 0) {\r\n\t\t\t\t\tfor (String string : ((User) p).getInterest()) {\r\n\t\t\t\t\t\tintr += string + \",\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\tintr = intr.substring(0, intr.length() - 1);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tString favs = \"\";\r\n\t\t\t\tif (((User) p).getFav_place() != null && ((User) p).getFav_place().size() > 0) {\r\n\t\t\t\t\tfor (Place place : ((User) p).getFav_place()) {\r\n\t\t\t\t\t\tfavs += place.getName() + \",\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\tfavs = favs.substring(0, favs.length() - 1);\r\n\t\t\t\t}\r\n\t\t\t\tstr = \"user\" + \";\" + ((User) p).getName() + \";\" + ((User) p).getSurname() + \";\" + ((User) p).getMail()\r\n\t\t\t\t\t\t+ \";\" + ((User) p).getPassword() + \";\" + ((User) p).getPhone().toString() + \";\"\r\n\t\t\t\t\t\t+ ((User) p).getUser_id() + \";\" + adres + \";\" + intr + \";\" + favs;\r\n\t\t\t}\r\n\t\t\tarr[index] = str;\r\n\r\n\t\t\tOutputStreamWriter writer = null;\r\n\t\t\tif (index == 0)\r\n\t\t\t\twriter = new OutputStreamWriter(new FileOutputStream(\"person.txt\", false), \"UTF-8\");\r\n\t\t\telse\r\n\t\t\t\twriter = new OutputStreamWriter(new FileOutputStream(\"person.txt\", true), \"UTF-8\");\r\n\t\t\tBufferedWriter fbw = new BufferedWriter(writer);\r\n\r\n\t\t\tif (index == 0)\r\n\t\t\t\tfbw.write(\"type;name;surname;mail;password;phone;user_id;address;interest;fav_places\");\r\n\r\n\t\t\tfbw.newLine();\r\n\t\t\tfbw.write(str);\r\n\t\t\tfbw.close();\r\n\r\n\t\t\tindex++;\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "1fa116a6910ebfb9d3b596fbb1a0ff76", "score": "0.53513765", "text": "public void writeCustomerFileDao() {\n try {\n FileOutputStream fout = new FileOutputStream(\"c:/files/customer.txt\");\n ObjectOutputStream obj = new ObjectOutputStream(fout);\n obj.writeObject(lst);\n obj.close();\n fout.close();\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "6e0dc3604d5e58beacdeb233d00a9972", "score": "0.5346706", "text": "public void save() {\n FileWriter writer = null;\n StringBuilder delivs = new StringBuilder();\n\n //Clears the file before writing\n file.delete();\n\n //Appends each entry to a StringBuilder\n for(Delivery i : deliv)\n {\n delivs.append(i.getNo().toString()).append(\"\\n\");\n delivs.append(i.getName1().toString()).append(\"\\n\");\n delivs.append(i.getName2().toString()).append(\"\\n\");\n delivs.append(i.getAddress1().toString()).append(\"\\n\");\n delivs.append(i.getAddress2().toString()).append(\"\\n\");\n delivs.append(i.getCity().toString()).append(\"\\n\");\n delivs.append(i.getZip().toString()).append(\"\\n\");\n delivs.append(i.getPhone().toString()).append(\"\\n\");\n delivs.append(i.getSubtotal()).append(\"\\n\");\n delivs.append(i.getTip()).append(\"\\n\");\n }\n\n //Writes the StringBuilder to file\n try {\n writer = new FileWriter(file);\n writer.write(delivs.toString());\n\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n if (writer != null) {\n try {\n writer.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }", "title": "" }, { "docid": "b2bedb892834bcbb58a23f99aa43abff", "score": "0.5345557", "text": "public void saveChanges() {\n try {\n if (FILE.exists()){\n if (!FILE.delete() || !FILE.createNewFile()){\n return;\n }\n }\n BufferedWriter bw = new BufferedWriter(new FileWriter(FILE));\n bw.write(FIRST_LINE);\n for (Membership item : data) {\n bw.write(String.format(\"%08d,%s,%s,%s,%s,%d,%s,%d\\r\",\n item.getMembershipID(),\n item.getFirstName(),\n item.getLastName(),\n item.getEmail(),\n item.getPhone(),\n item.getStampCount(),\n item.getPassword(),\n item.getAutoPay()));\n }\n bw.close();\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "bc2faeda912675d2becfb2fb111907dd", "score": "0.53436655", "text": "public void writeFile(){\r\n try{\r\n PrintWriter writer = new PrintWriter(\"User-Reg.txt\");\r\n //The file to be written to\r\n for(User u : this.users){\r\n //Going through all the users in the ArrayList in UserRegistry object\r\n //And storing their info in instance variables\r\n String firstName = u.getFirstName();\r\n String lastName = u.getLastName();\r\n String username = u.getUsername();\r\n String password = u.getPassword();\r\n password = this.sec.encrypt(password, 8);\r\n String email = u.getEmail();\r\n Boolean isSt = u.studentStatus();\r\n Boolean isIn = u.instructorStatus();\r\n Boolean isAd = u.adminStatus();\r\n String sched = \"[\" + u.scheduleCRNsToString() + \"]\";\r\n if(u.hasFees()){\r\n //writing all info to a file if a user has fees\r\n String fees = u.printFees();\r\n writer.println(firstName + \"\\t\" + lastName + \"\\t\" + username + \"\\t\" + password + \"\\t\" + email + \"\\t\" + isSt + \r\n \"\\t\" + isIn + \"\\t\" + isAd + \"\\t\" + sched + \"\\t\" + fees);\r\n }else {\r\n //writing all info to a file if a user does not have fees\r\n writer.println(firstName + \"\\t\" + lastName + \"\\t\" + username + \"\\t\" + password + \"\\t\" + email + \"\\t\" + isSt + \r\n \"\\t\" + isIn + \"\\t\" + isAd + \"\\t\" + sched);\r\n }\r\n \r\n }\r\n writer.close();\r\n //closing the PrintWriter\r\n } catch(Exception e){\r\n e.printStackTrace();\r\n //Exception handling\r\n }\r\n }", "title": "" }, { "docid": "057c34437d63ca782c556c4b426ba2c6", "score": "0.533724", "text": "public void translateAndSave() {\n\t\tinfile.forEach(line -> {\n\t\t\toutput.append(translateLine(line));\n\t\t});\n\t\twriteToFile();\n\t}", "title": "" }, { "docid": "40a50181af02c09dc340d973c84477f9", "score": "0.53360546", "text": "public void printActiveCourses()\r\n {\r\n\t for (CreditCourse tempCourse : this.courses)\r\n\t {\r\n\t\t if (tempCourse.getActive() == true)\r\n\t\t {\r\n\t\t\t System.out.println(tempCourse.getDescription());\r\n\t\t }\r\n\t }\r\n }", "title": "" }, { "docid": "064c125e5150ca837b3a9a0789d1e3ec", "score": "0.5332359", "text": "protected static void save() {\n try (FileWriter file = new FileWriter(PATH)) {\n storage.addAll(entries);\n storage.addAll(debts);\n storage.addAll(limits);\n storage.addAll(shortcuts);\n storage.addAll(bills);\n\n for (Record currSave : storage) {\n String fileContent = currSave.formatSave();\n file.write(fileContent);\n file.write(System.lineSeparator());\n }\n storage.clear();\n\n } catch (IOException e) {\n StorageUi.printErrorWritingSaveMessage();\n LogsCentreUtil.setLogger.log(Level.SEVERE, \"Error writing to Dolla.\", e);\n }\n }", "title": "" }, { "docid": "eb8778762a49f6818a259e533490ce5b", "score": "0.5331383", "text": "public void close() {\n\t\t// iterate over entries in map and write each one to file\n\t\tif (modified) {\n\t\t\ttry {\n\t\t\t\tfile = new RandomAccessFile(fPath, \"rw\");\n\t\t\t\tfile.seek(0);\n\n\t\t\t\tfor (Entry<String, ArrayList<Entry<Integer, Integer>>> e : map.entrySet()) {\n\t\t\t\t\tP3Utils.writeWordToFile(e.getKey(), file);\n\t\t\t\t\twriteToDocsListToFile(e.getValue());\n\t\t\t\t}\n\n\t\t\t\tfile.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "f2ea06968e090d7c53ce2dc08ceeed88", "score": "0.53306836", "text": "private void saveInFile() {\n try {\n FileOutputStream fos = openFileOutput(FILENAME,\n Context.MODE_PRIVATE);\n BufferedWriter out = new BufferedWriter(new OutputStreamWriter(fos));\n Gson gson = new Gson();\n gson.toJson(activities, out);\n out.flush();\n fos.close();\n } catch (FileNotFoundException e) {\n throw new RuntimeException();\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }", "title": "" }, { "docid": "5b69b16854bfadce7fcb293fdcf20759", "score": "0.53274447", "text": "public void saveCourse(Course c) {\n\t\t\tinsertCoursePreparedStatement(c.getCourseName(), c.getCourseNum());\n\t\t\t// Gets the course to ensure it has the right ID\n\t\t\tCourse added = readCourse(c.getCourseName(), c.getCourseNum());\n\t\t\ttry {\n\t\t\t\tfor(int i= 0; true; i++) {\n\t\t\t\tCourseOffering co = c.getCourseOfferingByIndex(i);\n\t\t\t\tinsertOffering(co.getSecNum(), co.getSecCap(), added);\n\t\t\t\t}\n\t\t\t} catch(Exception e) {\n\t\t\t\tSystem.out.println(\"Finished adding course's offerings\");\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "c7d0c4c4d04fe2b5b1154286ed0f040f", "score": "0.5326732", "text": "private static void storeAccolades(AccoDict accos){\n try{\n ObjectOutputStream out= new ObjectOutputStream( new FileOutputStream(FILENAME));\n out.writeObject(accos);\n out.close();\n } catch(IOException e){\n System.out.println(\"Accolades could not be saved to disk. IO error occured.\");\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "ed19985b8321570dbd30ccdfaeb426c5", "score": "0.532622", "text": "private void writeFile(ArrayList<Student> pStudentList) throws FileNotFoundException {\n PrintWriter out = new PrintWriter(new File(\"p020-tuition.txt\"));\n for(Student student : pStudentList) {\n out.print(student.getId() + \" \" + student.getLname() + \" \" + student.getFname() + \" \");\n // out.print(\"WHY ISNT THIS WORKING\")\n out.printf(\"%.3f%n\", student.getTuition());\n } out.close();\n }", "title": "" }, { "docid": "4f899bd22165dfac17613d40d618006f", "score": "0.5321653", "text": "private void WriteScoresToFile() {\n try\n {\n File f = new File(\"Scores.txt\");\n FileWriter fw = new FileWriter(f,false);\n BufferedWriter bw = new BufferedWriter(fw);\n for(int i = 0; i < manager.GetTeams().size(); i++)\n {\n manager.GetTeams().get(i).CalculateScore();\n bw.write(manager.GetTeams().get(i).getName() + \",\");\n bw.write(manager.GetTeams().get(i).getWins() + \",\");\n bw.write(manager.GetTeams().get(i).GetDraws() + \",\");\n bw.write(manager.GetTeams().get(i).GetLosses() + \",\");\n bw.write(manager.GetTeams().get(i).GetScore() + \",\");\n bw.write(\"\\n\");\n }\n bw.close();\n }\n catch (Exception ex)\n {\n JOptionPane.showMessageDialog(this, \"There was an error while writing the scores to the file\");\n ex.printStackTrace();\n }\n \n }", "title": "" }, { "docid": "6c81e78eb44e05ce014e13228ecbbe2a", "score": "0.53205985", "text": "public String saveReservationCOsToFile(String fileName, List<ReservationCO> reservationCOList) throws IOException {\n \tlogger.info(\"Saving file : [\" + fileName + \"] ...\");\n\t\tFile outputFile = new File(fileName);\t\t\n\t\tBufferedWriter writer = new BufferedWriter(new FileWriter(outputFile));\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\t\t\n\t\t// Write these lines to the file.\n\t\t// We call newLine to insert a newline character.\n\t\twriter.write(\"Hotel__c,\"\n\t\t\t\t// + \"Protel_ProfileID__r.Guest_Profile_No__c,\"\n\t\t\t\t+ \"Account__r.Guest_Profile_No__c,\" // Important! Refer to Account.Guest_Profile_No__c field.\n\t\t\t\t+ \"Reservation_Date__c,\"\n\t\t\t\t+ \"Name,\"\n\t\t\t\t+ \"Number_of_Adult__c,\"\n\t\t\t\t+ \"Number_of_Children__c,\"\n\t\t\t\t+ \"Booking_status__c,\"\n\t\t\t\t+ \"Arrival_date_for_this_room__c,\"\n\t\t\t\t+ \"Departure_date_for_this_room__c,\"\n\t\t\t\t+ \"Room_Type_Group__c,\"\n\t\t\t\t+ \"Room_Type_Code__c,\"\n\t\t\t\t+ \"Reservation_status__c,\"\n\t\t\t\t+ \"Discount_Reason_Codes__c,\"\n\t\t\t\t+ \"Pickup_Codes_Arrival__c,\"\n\t\t\t\t+ \"Pickup_code_Departure__c,\"\n\t\t\t\t+ \"Rate_code__c,\"\n\t\t\t\t+ \"Split_Table__c,\"\n\t\t\t\t+ \"Source__c,\"\n\t\t\t\t+ \"Promotion_code__c,\"\n\t\t\t\t+ \"Source_Code__c,\"\n\t\t\t\t+ \"Market_Group__c,\"\n\t\t\t\t+ \"Market__c,\"\n\t\t\t\t+ \"Date_of_cancellation__c,\"\n\t\t\t\t+ \"Reason_of_cancellation__c\");\n\n\t\tfor (int i = 0; i < reservationCOList.size(); i++) {\n\t\t\twriter.newLine();\n\t\t\treservationCO = reservationCOList.get(i);\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getHotel__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getAccount__c().toString()) + \",\");\n\t\t\tif (reservationCO.getReservation_Date__c() != null){\n\t\t\t\twriter.write(sdf.format(reservationCO.getReservation_Date__c()) + \",\");\n\t\t\t} else {\n\t\t\t\twriter.write(\"\" + \",\");\n\t\t\t}\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getName()) + \",\");\n\t\t\twriter.write(reservationCO.getNumber_of_Adult__c() + \",\");\n\t\t\twriter.write(reservationCO.getAnzkin1() + reservationCO.getAnzkin2() + reservationCO.getAnzkin3() + reservationCO.getAnzkin4() + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getBooking_status__c()) + \",\");\n\t\t\tif (reservationCO.getArrival_date_for_this_room__c() != null){\n\t\t\t\twriter.write(sdf.format(reservationCO.getArrival_date_for_this_room__c()) + \",\");\n\t\t\t} else {\n\t\t\t\twriter.write(\"\" + \",\");\n\t\t\t}\n\t\t\tif (reservationCO.getDeparture_date_for_this_room__c() != null){\n\t\t\t\twriter.write(sdf.format(reservationCO.getDeparture_date_for_this_room__c()) + \",\");\n\t\t\t} else {\n\t\t\t\twriter.write(\"\" + \",\");\n\t\t\t}\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getRoom_Type_Group__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getRoom_Type_Code__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getBuchstatus()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getDiscount_Reason_Codes__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getPickup_Codes_Arrival__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getPickup_code_Departure__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getRate_code__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getSplit_Table__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getSource__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getSource_Code__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getSource_Code__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getMarket_Group__c()) + \",\");\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getMarket__c()) + \",\");\n\t\t\tif (reservationCO.getDate_of_cancellation__c() != null){\n\t\t\t\twriter.write(sdf.format(reservationCO.getDate_of_cancellation__c()) + \",\");\n\t\t\t} else { \n\t\t\t\twriter.write(\"\" + \",\");\n\t\t\t}\n\t\t\twriter.write(StringUtils.addDoubleQuote(reservationCO.getReason_of_cancellation__c()));\n\t\t}\n\n\t\twriter.flush();\n\t\twriter.close();\n\t\tlogger.info(\"Saving file : [\" + fileName + \"] completed.\");\n\t\treturn outputFile.getAbsoluteFile().getAbsolutePath();\n }", "title": "" }, { "docid": "5fc6ffb4536605b5c6fc32382899a684", "score": "0.5313562", "text": "public static void writingToFile(CalendarReminder c) throws IOException {\n\t\tFile file = new File(\"notes.txt\");\r\n\t\tFileWriter fw = new FileWriter(file);\r\n\t\ttry {\r\n\t\t\tfor (int i = 0; i < c.getList().size(); i++) {\r\n\t\t\t\tfw.write(String.valueOf(c.list.get(i).getYear() + \" \"));\t\t//first \"word\" will be year\r\n\t\t\t\tfw.write(String.valueOf(c.list.get(i).getMonth() + \" \"));\t\t//second \"word\" will be month of the month/year user entered\r\n\t\t\t\tfw.write(c.list.get(i).getNote() + \"\\n\");\t\t\t\t\t\t//writing the note and switching to the next line\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tfw.close();\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "a9fc81e845d8c421aadf59b2a3a802be", "score": "0.53123075", "text": "@Override\n public void writeToFile() {\n File file = new File(address);\n try{\n if (file.exists()) { //delete file and create a new file to write into, avoids duplicate data\n file.delete();\n }\n file.createNewFile();\n FileWriter fileWriterInitial = new FileWriter(file);\n BufferedWriter writeText = new BufferedWriter(fileWriterInitial);\n writeText.write(\"Name,Password\"); //write header of file\n for (User user: user_service.getListOfUserObjects()) {\n writeText.newLine();\n writeText.write(user.getUserID() + \",\" + user.getUserPassword()); //write each user to each line\n }\n writeText.flush();\n writeText.close();\n }\n catch (IOException e) {\n System.out.println(\"data file is missing\");\n }\n }", "title": "" }, { "docid": "0a637b0c0cea1cc744dc5a0119afa215", "score": "0.53092575", "text": "public final void writeFile() {\n FileWriter fw;\n BufferedWriter bw;\n \n try {\n fw = new FileWriter(\"score.txt\");\n bw = new BufferedWriter(fw);\n bw.write(String.valueOf(bestScore));\n bw.close();\n } catch(IOException e){\n System.out.println(\"Can't create file.\");\n }\n }", "title": "" }, { "docid": "b1800239600a8bcd5179acf42032fa18", "score": "0.529803", "text": "public static void main(String[] args) {\n Student student1 = new Student(\"tugba\", 5005,3.35, new PersonelData(2000, 6, 30, 110));\n Student student2 = new Student(\"eray\", 5006,3.00, new PersonelData(1997, 4, 27, 111));\n Student student3 = new Student(\"nur\", 5007,2.95, new PersonelData(2005, 8, 10, 112));\n Student student4 = new Student(\"alp\", 5008,3.03, new PersonelData(1998, 1, 20, 113));\n Student student5 = new Student(\"cakir\", 5009,2.03, new PersonelData(1999, 12, 20, 114));\n\n //A course (let us call it K129) with a capacity of 3 is created\n Course course1 = new Course(\"K129\", 3);\n\n //Any 4 of the students is added to K129.\n course1.addStudent(student1);\n course1.addStudent(student2);\n course1.addStudent(student3);\n\n //All students of K129 are printed on the screen.\n course1.list();\n\n //The capacity of K129 is increased.\n course1.increaseCapacity();\n\n //Remaining 2 students are added to K129.\n course1.addStudent(student4);\n course1.addStudent(student5);\n\n //All students of K129 are printed on the screen.\n course1.list();\n\n //Student with ID 5005 is dropped from K129.\n course1.dropStudent(student1);\n\n //All students of K129 are printed on the screen.\n course1.list();\n\n //Number of students enrolled to K129 is printed.\n System.out.println(course1.getNumberOfStudent());\n\n //Birth year of best student of K129 is printed on the screen. (You should use - getYear() method of java.util.Date class.)\n System.out.println(course1.getBestStudent().getPersonelData().getBirthDate().getYear());\n\n //A new course (let us call it K130) is created.\n Course course2 = new Course(\"K130\", 5);\n\n //All students currently enrolled in K129 are added to K130. (You should use - getStudents() method).\n Student[] students = course1.getStudents();\n for(int i=0; i < course1.getNumberOfStudent(); i++)\n course2.addStudent(students[i]);\n\n //All students of K129 are removed from the course.\n course1.clear();\n\n //Student with ID 5005 is dropped from K129 and result of the operation is printed - on the screen.\n System.out.println(\"\\nStudent with ID 5005 is dropped from \" + course1.getCourseName() + \" is \" + course1.dropStudent(student1));\n\n //All students of K130 are printed on the screen.\n course2.list();\n\n //Best student of K130 is dropped from K130.\n System.out.println(\"The best student is \"+course2.getBestStudent()+\" in K130\");\n\n //All students of K130 are printed on the screen.\n course2.list();\n\n //GPA of youngest student of K130 is printed on the screen.\n System.out.println(\"The GPA of youngest student is \"+course2.getYoungestStudent().getGPA()+\" in K130\");\n\n //Courses K129 and K130 are printed on the screen.\n System.out.println(\"\\nAll students of \" + course1.getCourseName() + \": \");\n course1.list();\n System.out.println(\"\\nAll students of \" + course2.getCourseName() + \": \");\n course2.list();\n }", "title": "" }, { "docid": "cb4c927e5e0fa72d71817ff9573a059e", "score": "0.5297418", "text": "public void writeFile()\n {\n try\n {\n PrintWriter writer = new PrintWriter(game);\n writer.println(playerOneTotalScore);\n writer.println(playerTwoTotalScore);\n writer.println(playerTurn);\n writer.println(turnTotal);\n writer.close();\n }\n catch (FileNotFoundException ex)\n {\n System.out.println(\"Oops\");\n }\n }", "title": "" }, { "docid": "5ddce2b86641f27c0271a9b9a837c0cd", "score": "0.52864903", "text": "private void writeFile()\n {\n \n if(currFile == null)\n { //safety, incase opening a file failed\n return;\n }\n \n try\n {\n FileWriter fWriter = new FileWriter(currFile);\n \n //writing the contents of the textArea to the file which was opened\n fWriter.write(textArea.getText());\n fWriter.flush();\n fWriter.close();\n } catch(IOException e)\n {\n System.out.println(\"Encountered an error while attempting to write to \"+currFile.getName()+\".\");\n }\n \n }", "title": "" }, { "docid": "b436bc0f8495aca13aecb3039e0fe85a", "score": "0.52831566", "text": "public void writeHighScore(){\n\t\ttry (BufferedWriter bw = new BufferedWriter(new FileWriter(scoreFile))) {\n\t\t\tfor(int i = 0; i < scoreList.size(); i++){\n\t\t\t\tString content = scoreList.get(i).toString() + \"\\n\";\n\t\t\t\tbw.write(content);\n\t\t\t}\n\t\t\t// no need to close it.\n\t\t\t//bw.close();\n\t\t\tSystem.out.println(\"Done\");\n\t\t} catch (IOException e) {\n\n\t\t\te.printStackTrace();\n\n\t\t\t}\n\t}", "title": "" }, { "docid": "e08fe1359b967949d5cd94f881d4cce6", "score": "0.5268893", "text": "public String addStudentToCourse(int studentID, int courseID) {\n Student st = getStudentByID(studentID);\n\n//Verify Student ID\n if (st == null) {\n return \"Please Enter a valid student Id.\\n\";\n }\n//Verify Course Exists\n Course cr = getCourseByID(courseID);\n\n if (cr == null) {\n return \"Please Enter a valid course Id.\\n\";\n }\n//Verify Course Limit\n if (cr.isCourseFull()) {\n return \"Course is Full, Please choose diffrent course Id.\\n\";\n }\n//Store Registration Sucess in Text File\n if (st.addCourse(cr) && cr.addStudent(st)) {\n Storage storage = new Storage(\"Successfully added student {\" + st.getName() + \"} #\" + st.getID() + \" To the course {\" + cr.getName() + \" #\" + cr.getID() + \"}, \");\n return \"Successfully added student to course.\\n\" + cr.toString();\n }\n\n return \"Student already enrolled in course!\\n\";//Verify not already enrolled\n\n }", "title": "" }, { "docid": "6c4ca0ec5fb233c4a826d3247261c385", "score": "0.52679765", "text": "public void bookingWriteToFile()throws FileNotFoundException {\n\n PrintStream pss = new PrintStream(\"Bookings\");\n PrintStream ps = new PrintStream(new FileOutputStream(\"Bookings\", true));\n pss.print(\"\");\n\n for (Booking b : getbookingList()){\n ps.println(b.toString());\n }\n }", "title": "" }, { "docid": "0e3fbeb1a29162f3ee24fdb19395be3a", "score": "0.52676636", "text": "@Override\n public void addCourseToLocalDatabase(List<Course> courses) {\n HashMap<Integer,Integer> map = new HashMap<>();\n for (Course course : courses) {\n if (course != null) {\n int oldId = course.getId();\n int newCourseId = mCourseViewModel.getCourseIdByTitle(course.getTitle());\n if (newCourseId == 0 || newCourseId == -1) {\n mCourseViewModel.insert(course);\n newCourseId = mCourseViewModel.getCourseIdByTitle(course.getTitle());\n }\n course.setId(newCourseId);\n map.put(oldId,newCourseId);\n }\n }\n noteViewModel.getNotesFromCloud(this,map);\n Log.i(TAG, \"addToLocalDatabase: Courses Added\");\n }", "title": "" }, { "docid": "96b83fa0ae10659447506b6dac8cd54c", "score": "0.52663016", "text": "public void addNewCourse(Courses courses){\r\n //courseInventory.add(courses);\r\n System.out.println(\"New course added for this semester: \" );\r\n }", "title": "" }, { "docid": "5ed309c29b18f94ce0c3d29eafb0a8e1", "score": "0.5265817", "text": "public void writetStudentList() {\n \tSerializeDB.writeSerializedObject(\"student.dat\", studentList);\n }", "title": "" }, { "docid": "1c54bf97257568e81b954b0f677245aa", "score": "0.52636886", "text": "@Override\r\n public String toString() {\r\n return \"\\n\"+ courseName + \" \" + courseID ;\r\n }", "title": "" }, { "docid": "8cd87cba1afd024e6315cb50a65e7f90", "score": "0.526161", "text": "void reWriteWholeFile(){\n WriteFile.clearInfo(\"history/financialProducts/BondProducts.txt\");\n WriteFile.clearInfo(\"history/financialProducts/GICProducts.txt\");\n WriteFile.clearInfo(\"history/financialProducts/LoanProducts.txt\");\n for (FinancialProduct product: Users.getUsers().getFinancialProducts()){\n product.writeFile();\n }\n }", "title": "" }, { "docid": "3131282c617f16b3bec8084ee7606feb", "score": "0.5260774", "text": "public void printActiveCourses()\r\n {\r\n\t for(CreditCourse cc:courses) {\r\n\t\t if (cc.getActive()==true) {\r\n\t\t\t System.out.println(cc.getDescription());\r\n\t\t }\r\n\t }\r\n }", "title": "" }, { "docid": "fc95e62170912cd8c053f8102a60a32b", "score": "0.5259187", "text": "private void writeToTextFile(ArrayList<String> lines, String fileName) {\n FileWriter fout = null;\n try {\n fout = new FileWriter(fileName);\n for (String s : lines) {\n fout.write(s);\n }\n System.out.println(\"New text file created: \" + fileName);\n } catch (IOException ex) {\n System.out.println(ex.getMessage());\n } finally {\n try {\n if (fout != null) {\n fout.close();\n }\n } catch (IOException ex) {\n System.out.println(ex.getMessage());\n }\n }\n }", "title": "" }, { "docid": "128ecbede022e2f7a3fc6c39c3e0f1d7", "score": "0.52568674", "text": "public void writeData()\r\n {\r\n if( levelName != \"menu\")\r\n {\r\n //test different methods for the objects \r\n ////System.out.println( objectArray[0][0].getValue() );\r\n \r\n //try catch to output object array to a specified text file\r\n try\r\n {\r\n FileOutputStream fos2 = new FileOutputStream( outputFile, false); //false means that we overwrite the file\r\n PrintWriter pw = new PrintWriter(fos2);\r\n \r\n for( int i=0; i<40; i++)\r\n {\r\n for( int j=0; j<40; j++)\r\n {\r\n ////System.out.print( objectArray[i][j].getValue() + \" \");\r\n pw.print( objectArray[i][j].getValue() + \" \" );\r\n }\r\n ////System.out.println();\r\n pw.println();\r\n } \r\n \r\n //pw.println( x + \" \" + y ); //output player coordinates\r\n \r\n for( int k=0; k<4; k++) //output connecting rooms\r\n {\r\n pw.println( connectingRoomsArray[k] );\r\n }\r\n \r\n pw.close(); \r\n }\r\n catch( FileNotFoundException fnfe)\r\n {\r\n //System.out.println(\"fnfe exception\");\r\n }\r\n\r\n \r\n }\r\n else\r\n {\r\n //System.print.ln(\"no write data, in menu\");\r\n } \r\n\r\n }", "title": "" }, { "docid": "bf51f1d1c1e19e21ad0cd52467dd47bb", "score": "0.52544385", "text": "@Override\r\n\tpublic void writeToFile() {\n\r\n\t}", "title": "" }, { "docid": "f57f81f48d10ff7197fdac4eadc2a7e5", "score": "0.5253547", "text": "@Override\n public void writeToFile(List<String> lines) throws IOException {\n try {\n BufferedWriter bw = new BufferedWriter(new FileWriter(getOutFile()));\n for (String line: lines) {\n bw.write(line);\n bw.write(\"\\n\");\n bw.flush();\n }\n } catch (IOException ioe) {\n logger.error(ioe.getMessage(), ioe);\n }\n }", "title": "" }, { "docid": "17bf10e4a3b268cb7b1c4f67a43607d0", "score": "0.5250432", "text": "@Override\n public String toString() {\n return \"Course{\" +\n \"name='\" + name + '\\'' +\n \", courseID=\" + courseID +\n \", numCredits='\" + numCredits + '\\'' +\n '}';\n }", "title": "" }, { "docid": "42dab531281045d9b9010b8a9e46e6d7", "score": "0.525029", "text": "private void save() {\r\n try {\r\n File score = new File(\"score.txt\");\r\n\r\n if(!score.exists())\r\n score.createNewFile();\r\n\r\n BufferedWriter bw = new BufferedWriter(new FileWriter(score));\r\n\r\n for(Map.Entry<Integer,String> entry : scores.entrySet()) {\r\n bw.write(entry.getValue() + \" \" + entry.getKey());\r\n bw.newLine();\r\n }\r\n\r\n bw.close();\r\n\r\n } catch (Exception e) {\r\n System.err.println(\"Error: \" + e.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "8caedb98bc9bc251c0b153770edc1c9c", "score": "0.52311873", "text": "public void updateTransactionDB() throws IOException {\n String transactionFile = \"TransactionDB.txt\";\n String locPath = new java.io.File(\".\").getCanonicalPath() + \"\\\\src\\\\DataBase\\\\\" + transactionFile;\n\n try (BufferedWriter fileWriter = new BufferedWriter(new FileWriter(locPath)))\n {\n for (User user : users)\n {\n for (Account acc : user.getAccounts())\n {\n for (Transaction transaction : acc.getTransactions())\n {\n fileWriter.write(transaction.getTransactionTextDB());\n fileWriter.newLine();\n }\n }\n }\n } catch (IOException e) {\n System.out.println(\"IOException: \" + e.getMessage());\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "60cb531c7facde859846da33434ace6a", "score": "0.52307355", "text": "public ArrayList<Vehicle> writeNewVehicles() {\r\n TextWriter fileWriter = new TextWriter(\"vehicles.txt\");\r\n int index = 0;\r\n vehicles.clear();\r\n while (index < NUMBER_OF_VEHICLES) {\r\n String genRegistration = \"\"+genLetter()+genLetter()+genNumber()+genNumber()+\" \"+genLetter()+genLetter()+genLetter();\r\n String genType = \"\";\r\n if (rand.nextInt(2) == 0) {\r\n genType = \"private car\";\r\n } else {\r\n genType = \"commercial\";\r\n }\r\n vehicles.add(new Vehicle(genRegistration,genType,new Float(\"0.00\")));\r\n fileWriter.writeLine(genRegistration+\";\"+genType+\";0.00\");\r\n index++;\r\n }\r\n fileWriter.close();\r\n \r\n //Clears Segment Data\r\n fileWriter = new TextWriter(\"segmentData.txt\");\r\n fileWriter.close();\r\n \r\n //Clears Speeding Tickets\r\n fileWriter = new TextWriter(\"speedingTickets.txt\");\r\n fileWriter.close();\r\n\r\n return vehicles;\r\n }", "title": "" }, { "docid": "13a380dbf6dd796d4b71dbf70d94bd03", "score": "0.5224686", "text": "public void updateCourseState()\n\t\t{\n\t\t\ttry {\n\t\t\t\tCourse course = (Course)in.readObject();\n\t\t\t\tCourseManager courseDB = new CourseManager();\n\t\t\t\tint courseID = courseDB.findCourseID(course.name);\n\t\t\t\tboolean courseState = courseDB.findCourseActive(courseID);\n\t\t\t\tout.writeObject(courseState);\n\t\t\t\t}\t\n\t\t\tcatch (ClassNotFoundException | IOException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t}", "title": "" }, { "docid": "b2d2f99d35bd1490d8029a8f38a5784f", "score": "0.521087", "text": "public void writeToFile(ArrayList<Task> ls) throws IOException {\n FileWriter fw = new FileWriter(filePath);\n StringBuilder textToAdd = new StringBuilder();\n // convert ArrayList contents to string\n for (Task t : ls) {\n if (t instanceof Event || t instanceof Deadline) {\n textToAdd.append(t.toWrite()).append(\"\\n\");\n } else {\n textToAdd.append(t.toString()).append(\"\\n\");\n }\n }\n fw.write(textToAdd.toString());\n fw.close();\n }", "title": "" }, { "docid": "8d2b0d66ff254f246f478bffc05be3d4", "score": "0.5208633", "text": "private void exportJava(){\n try {\n\n //The file to write to.\n fileOutputer = new FileOutputStream(file);\n\n //Object to write data to file.\n outputObject = new ObjectOutputStream(fileOutputer);\n\n //Collection made into an array.\n partObjects = parts.toArray();\n\n //Loops through array to write into file.\n for (int i = 0; i < currentSize; i++){\n outputObject.writeObject(partObjects[i]);\n }\n\n }catch (IOException exception){\n System.out.println(exception.getMessage());\n }\n }", "title": "" }, { "docid": "e14b27384b401061df65d3f04c737912", "score": "0.5208361", "text": "public void createCourse() {\n\n try {\n Scanner input = new Scanner(System.in);\n\n Course newcrs = new Course();\n\n //prompt user to enter each attribute of the new course\n System.out.println(\"\\nPlease enter the following parameters of the new course:\\n\");\n\n System.out.printf(\"Name: \");\n newcrs.setName(input.nextLine());\n\n System.out.printf(\"Department: \");\n newcrs.setDepartment(input.nextLine());\n\n System.out.printf(\"Course ID#: \");\n newcrs.setCourseNum(input.nextInt());\n\n System.out.printf(\"# of Units: \");\n newcrs.setUnits(input.nextInt());\n\n System.out.printf(\"Priority: \");\n newcrs.setPriority(input.nextInt());\n\n System.out.printf(\"Average Students/Course: \");\n newcrs.setAvgCourseSize(input.nextInt());\n\n System.out.printf(\"Average # of Sections: \");\n newcrs.setAvgSections(input.nextInt());\n\n System.out.printf(\"Average # of Students in Waitlist: \");\n newcrs.setAvgNumSWL(input.nextInt());\n\n System.out.printf(\"Average Pass Rate: \");\n newcrs.setAvgPassRate(input.nextDouble());\n\n System.out.printf(\"Difficulty Rating: \");\n newcrs.setDiffRating(input.nextDouble());\n\n System.out.printf(\"Male to Female Gender Ratio: \");\n newcrs.setGenRatioM(input.nextDouble());\n newcrs.setGenRatioF(1.0-(newcrs.getGenRatioM()));\n\n System.out.printf(\"Average GPA: \");\n newcrs.setAvgGPA(input.nextDouble());\n\n //Prompt user for each list attribute of the new course\n System.out.println(\"\\n- Please enter the prerequisites for this course:\");\n int next = 1;\n input.nextLine();\n while(next == 1) {\n System.out.printf(\"\\nName of Prerequisite: \");\n newcrs.getPrerequisites().add(input.nextLine());\n System.out.printf(\"Enter another prerequisite? (1=Yes 2=No): \");\n next = input.nextInt();\n input.nextLine();\n }\n\n next = 1;\n System.out.println(\"\\n- Please enter the corequisites for this course:\");\n while(next == 1) {\n System.out.printf(\"\\nName of Corequisite: \");\n newcrs.getCorequisites().add(input.nextLine());\n System.out.printf(\"Enter another corequisite? (1=Yes 2=No): \");\n next = input.nextInt();\n input.nextLine();\n }\n\n next = 1;\n System.out.println(\"\\n- Please enter the instructors who teach this course:\");\n while(next == 1) {\n System.out.printf(\"\\nName of Instructor: \");\n newcrs.getInstructors().add(input.nextLine());\n System.out.printf(\"Enter another instructor? (1=Yes 2=No): \");\n next = input.nextInt();\n input.nextLine();\n }\n\n next = 1;\n System.out.println(\"\\n- Please enter the concepts taught in this course:\");\n while(next == 1) {\n System.out.printf(\"\\nName of Concept: \");\n newcrs.getConcepts().add(input.nextLine());\n System.out.printf(\"Enter another concept? (1=Yes 2=No): \");\n next = input.nextInt();\n input.nextLine();\n }\n\n next = 1;\n System.out.println(\"\\n- Please enter the textbooks used in this course:\");\n while(next == 1) {\n System.out.printf(\"\\nName of Textbook: \");\n newcrs.getBooks().add(input.nextLine());\n System.out.printf(\"Enter another textbook? (1=Yes 2=No): \");\n next = input.nextInt();\n input.nextLine();\n }\n\n //push new course into database and alert user of success\n this.add(newcrs);\n System.out.println(\"\\nNew course succesfully registered!\");\n }\n\n //handle invalid user input\n catch (Exception e) {\n System.out.println(\"\\nInvalid input! Please try again...\");\n }\n\n }", "title": "" }, { "docid": "78cd6fb17f599da47334b05dd166cd4c", "score": "0.5207614", "text": "public void save() throws IOException, VocabularyListBoundsException {\n FileWriter fw = new FileWriter(file, false);\n BufferedWriter bw = new BufferedWriter(fw);\n for (int i = 0; i < vocabularyList.size(); i++) {\n Vocabulary v = null;\n v = vocabularyList.view(i);\n String fileContent = String.format(\"%s,%s,%s\\n\",\n v.getVocab(), v.getMeaning(), Boolean.toString(v.isRemember()));\n bw.write(fileContent);\n }\n bw.close();\n fw.close();\n }", "title": "" }, { "docid": "bccda8129362cd90b1ee8c7bbb6a888f", "score": "0.52022314", "text": "public void writeTofile(List<String> allUsers) {\n\n\t\ttry{\n FileWriter writer = new FileWriter(\"src/contacts/Users.txt\", true);\n //Clear the current file and then write it again\n BufferedWriter wr = new BufferedWriter(new FileWriter(\"src/contacts/Users.txt\"));\n wr.flush(); \n wr.close();\n \n int count = 1;\n for(String i : allUsers) {\n \t writer.write(i + \"\\t\");\n \t if (count % 12 == 0) {\n \t\t writer.write('\\n');\n \t }\n \t count++;\n }\n writer.close();\n } catch (Exception e) { \n e.printStackTrace(); \n }\n\t}", "title": "" }, { "docid": "acdcd6d7eec993a6e00fb61f959dc087", "score": "0.5200365", "text": "public static void load(File selectedFile) throws IOException {\n\t\tArrayList<String> records = new ArrayList<String>();\r\n\r\n\t\ttry {\r\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader(selectedFile));\r\n\t\t\tString line;\r\n\t\t\twhile ((line = reader.readLine()) != null) {\r\n\t\t\t\trecords.add(line);\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.err.format(\"Exception occurred trying to read '%s'.\", selectedFile);\r\n\t\t\te.printStackTrace();\r\n\r\n\t\t}\r\n\r\n\t\tString[] courseInfo = records.get(0).split(\",\");\r\n\t\tcurrentCourse.setCourseName(courseInfo[0]);\r\n\t\tcurrentCourse.setCourseNumber(courseInfo[1]);\r\n\t\tcurrentCourse.setDays(courseInfo[2]);\r\n\t\tcurrentCourse.setTime(courseInfo[3]);\r\n\t\tif (courseInfo.length > 4) {\r\n\t\t\tfor (int i = 4; i < courseInfo.length; i++) {\r\n\t\t\t\tString temp_date = courseInfo[i];\r\n\t\t\t\tString pattern = \"MM/dd/yyyy\";\r\n\t\t\t\tSimpleDateFormat format = new SimpleDateFormat(pattern);\r\n\t\t\t\ttry {\r\n\t\t\t\t\tDate date = format.parse(temp_date);\r\n\t\t\t\t\tAttendanceRecord currentAttendanceRecord = new AttendanceRecord(date);\r\n\t\t\t\t\tcurrentCourse.attendanceRecords.add(currentAttendanceRecord);\r\n\t\t\t\t\tfor (int j = 1; j < records.size(); j++) {\r\n\t\t\t\t\t\tString[] studentInfo = records.get(j).split(\",\");\r\n\t\t\t\t\t\tStudent currentStudent = new Student(studentInfo[0], studentInfo[1],\r\n\t\t\t\t\t\t\t\tInteger.parseInt(studentInfo[2]), studentInfo[3]);\r\n\t\t\t\t\t\tString[] timeStamps = studentInfo[i].split(\"/\");\r\n\r\n\t\t\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss.SSS\");\r\n\t\t\t\t\t\tif (timeStamps[0].length() > 10) {\r\n\t\t\t\t\t\t\tDate dateLogin = sdf.parse(timeStamps[0]);\r\n\t\t\t\t\t\t\tTimestamp Login = new Timestamp(dateLogin.getTime());\r\n\t\t\t\t\t\t\tcurrentStudent.setLoginTime(Login);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (timeStamps[1].length() > 10) {\r\n\t\t\t\t\t\t\tDate dateLogout = sdf.parse(timeStamps[1]);\r\n\t\t\t\t\t\t\tTimestamp Logout = new Timestamp(dateLogout.getTime());\r\n\t\t\t\t\t\t\tcurrentStudent.setLogoutTime(Logout);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcurrentStudent.setStatus();\r\n\t\t\t\t\t\tcurrentAttendanceRecord.students.add(currentStudent);\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} catch (ParseException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tfor (int i = 1; i < records.size(); i++) {\r\n\r\n\t\t\tString[] tokens = records.get(i).split(\",\");\r\n\t\t\tStudent newStudent = new Student(tokens[0], tokens[1], Integer.parseInt(tokens[2]), tokens[3]);\r\n\t\t\tcurrentCourse.students.add(newStudent);\r\n\t\t}\r\n\t\tshowHomeScene();\r\n\r\n\t}", "title": "" }, { "docid": "dff8b684eb1d4c177743399d0c4a4232", "score": "0.51976377", "text": "public void save(String path) throws FileNotFoundException { \n try (PrintWriter pw = new PrintWriter(path)) {\n pw.write(numCities + \"\\n\");\n \n for (int i = 0; i < numCities; i++) {\n for (int j = 0; j < numCities; j++) {\n pw.write(cities.get(i).get(j) + \" \");\n }\n pw.write(\"\\n\");\n }\n pw.write(\"\\n\");\n }\n }", "title": "" }, { "docid": "8083364fbd1654f49ad1b2608ebce957", "score": "0.5193359", "text": "public void toTextFile(Path path)throws IOException {\r\n\t\t\r\n\t\t//using FileWriter to write data into a file\r\n\t\tFileWriter myWriter = new FileWriter(path.toString());\r\n\t\tmyWriter.write(this.toString());\r\n\t\tmyWriter.close();\r\n\t\t\r\n\r\n\r\n\t}", "title": "" }, { "docid": "31d8d457a78671c639147737dcbb26a7", "score": "0.51923174", "text": "private void writeFile() throws IOException {\n\t\tint x,y;\r\n\t\tdout=new DataOutputStream(new FileOutputStream(\"Banksystem.txt\"));\r\n\t\tfor(x=0;x<i;x++)\r\n\t\t{\r\n\t\t\tfor(y=0;y<4;y++)\r\n\t\t\t{\r\n\t\t\t\tdout.writeUTF(data[x][y]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tJOptionPane.showMessageDialog(frmacc,\"Deopsition is done Successfully\");\r\n\t}", "title": "" }, { "docid": "34ca46d7fc5f6668a4728576d3dd64cb", "score": "0.5190946", "text": "public final void write() throws IOException {\r\n\t\t/*\r\n\t\t * ArrayList不为空表和null的时候才执行写操作\r\n\t\t */\r\n\t\tif (!Objects.equals(sonList, null)) {\r\n\t\t\tif (!sonList.isEmpty())\r\n\t\t\t\tthis.writeSonList();\r\n\t\t}\r\n\r\n\t\tif (!Objects.equals(selfList, null))\r\n\t\t\tif (!selfList.isEmpty())\r\n\t\t\t\tthis.writeSelfList();\r\n\r\n\t\tif (!Objects.equals(fatherList, null))\r\n\t\t\tif (!fatherList.isEmpty())\r\n\t\t\t\tthis.writeFatherList();\r\n\r\n\t\tif (!Objects.equals(grandPaList, null))\r\n\t\t\tif (!grandPaList.isEmpty())\r\n\t\t\t\tthis.writeGrandPaList();\r\n\r\n\t\t// 文件名中的ID。每写完一次数据,就让该类域的值+1;\r\n\t\tXmlWriter.ID++;\r\n\t}", "title": "" }, { "docid": "9785f195c22fd84e1f42f3f9f65a1eab", "score": "0.5189769", "text": "public void updateScoreFile() {\n try {\n outputStream = new ObjectOutputStream(new FileOutputStream(HSFILE));\n outputStream.writeObject(hscore);\n\n //Handling errors\n } catch (FileNotFoundException e) {\n System.out.println(\"Error: \" + e.getMessage() + \",the program will try and make a new file\");\n } catch (IOException e) {\n System.out.println(\"IO Error: \" + e.getMessage());\n } finally {\n try {\n\n //Flushing and closing the file\n if (outputStream != null) {\n outputStream.flush();\n outputStream.close();\n }\n } catch (IOException e) {\n System.out.println(\"Error: \" + e.getMessage());\n }\n }\n }", "title": "" }, { "docid": "4f777961480bfafba19d1e5cad98bebf", "score": "0.5187984", "text": "public void save() {exPrint(()->{\n\t\tfor(int i=0; i<LEVEL_COUNT; ++i) {\n\t\t\tPrintWriter w = new PrintWriter(new FileWriter(\"scores/\"+i));\n\t\t\tfor(Score x : value.get(i)) {\n\t\t\t\tw.println(x.value+\" \"+x.name);\n\t\t\t}\n\t\t\tw.close();\n\t\t}\n\t});}", "title": "" }, { "docid": "8bdc7656e6f0986fe9f9138466e9edaa", "score": "0.5183279", "text": "public void save(PrintStream ps, Comparator<Course> compare) {\n Collections.sort(this.schedule, compare);\n\n for (Course course : this.schedule) {\n ps.println(course);\n }\n\n ps.close();\n }", "title": "" }, { "docid": "75573759fe4a95cd138aac6bf20b5c9c", "score": "0.5183067", "text": "public void saveContents() {\r\n\r\n\t\ttry {\r\n\t\t\tthis.writer = new PrintWriter(currentFile);\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\tthrow new RuntimeException(\"LevelEditor saveContents() could not read currentFile!\");\r\n\t\t}\r\n\t\tcurrentMap = designer.organizer.currentMap;\r\n\t\tArrayList<ArrayList<Tile>> multiList = new ArrayList<>();\r\n\t\tArrayList<Tile> tempList = new ArrayList<>();\r\n\t\tfor (int i = 0; i < currentMap.tiles.size(); i++) {\r\n\t\t\ttempList.add(currentMap.tiles.get(i));\r\n\t\t//\ttilePlayerMap.put(currentMap.tiles.get(i), currentMap.tiles.get(i).category);\r\n\t\t\tif (i == 0) continue;\r\n\t\t\tif ((i+1) % currentMap.cols == 0) {\r\n\t\t\t\tif (!tempList.isEmpty()) multiList.add(tempList);\r\n\t\t\t\ttempList = new ArrayList<>();\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor (ArrayList<Tile> list : multiList) {\r\n\t\t\tfor (Tile tile : list) {\r\n\t\t//\t\twriter.print(getString(category) + \" \");\r\n\t\t\t\twriter.print(getString(tile.category) + \":\" + tile.getSpriteIndex() + \"-\" + tile.getCarrierID() +\" \");\r\n\t\t\t}\r\n\t\t\twriter.println();\r\n\t\t}\r\n\t\twriter.close();\r\n\t}", "title": "" }, { "docid": "696e4aecc620d31e885657e4afb5a51c", "score": "0.5179279", "text": "public void saveStudents(List<Student> allStudents, File file) throws IOException\r\n {\r\n //Because the observerable list is not serializable we have to convert it to a normal arraylist.\r\n ArrayList<Student> serializableList = new ArrayList<>(allStudents);\r\n studentDAO.saveStudentsToFile(serializableList, file);\r\n }", "title": "" } ]
a487831cd9143c2092f0a678a58bda34
Gets the filesystem types.
[ { "docid": "bf52abe73e9fd468ff586d916d5c3bff", "score": "0.8258369", "text": "public LinkedList<String> getFileSystemTypes() {\r\n return fileSystemTypes;\r\n }", "title": "" } ]
[ { "docid": "e81c780bdcf9811f234329207f0830c7", "score": "0.7160038", "text": "public String getFileSystemType() {\n return this.fileSystemType;\n }", "title": "" }, { "docid": "697c7bb95f18c025883a63933b260013", "score": "0.70952314", "text": "String[] getFileTypes();", "title": "" }, { "docid": "8c35a680c83c9b0195a75629f73a578e", "score": "0.7050821", "text": "public TrimString getFileSystemType() {\n\t\treturn(_type);\n\t}", "title": "" }, { "docid": "ae4297508938a6b87bc9b0f04120e673", "score": "0.68266577", "text": "public ArrayList<String> getFileTypes() { return new ArrayList<String>(); }", "title": "" }, { "docid": "314990a5268ed748e621161bb7febd6e", "score": "0.67967814", "text": "@Override\n public List<String> getFileTypes() {\n return gemFileFileTypesDb.getKeys();\n }", "title": "" }, { "docid": "5e639440ee2acc3fa953d9d85c19a71a", "score": "0.6746472", "text": "UsedTypes getTypes();", "title": "" }, { "docid": "10dd47dc7b1fa146f31a891596b15289", "score": "0.662023", "text": "public List<__Type> getTypes() {\n return (List<__Type>) get(\"types\");\n }", "title": "" }, { "docid": "862b0d94f812fb0f0b4604ea0a393496", "score": "0.65306646", "text": "public String[] getTypes() {\n return impl.getTypes();\n }", "title": "" }, { "docid": "7c5be5715850526d9c1558f2a165e0fa", "score": "0.6410646", "text": "@GET\n\t@Path(\"types\")\n public Response getDeviceTypes() {\n List<DeviceType> deviceTypes;\n try {\n deviceTypes = DeviceMgtAPIUtils.getDeviceManagementService().getAvailableDeviceTypes();\n return Response.status(Response.Status.OK).entity(deviceTypes).build();\n } catch (DeviceManagementException e) {\n String msg = \"Error occurred while fetching the list of device types.\";\n log.error(msg, e);\n return Response.status(Response.Status.INTERNAL_SERVER_ERROR).entity(msg).build();\n }\n }", "title": "" }, { "docid": "47195fff4cba9188c50ec76593101cc3", "score": "0.6332511", "text": "public Vector getTypedFiles() {\r\n\treturn getTypedFilesForDirectory(getCurrentDirectory());\r\n }", "title": "" }, { "docid": "0ac3dd5361feb324bf0bcde9943b9578", "score": "0.6313756", "text": "public List<SecTyp> getAllTypes();", "title": "" }, { "docid": "76bb783977e3c0c4a2f91bd6dc0ea380", "score": "0.62786394", "text": "public String[] getMimeTypes() {\n/* 187 */ Set types = new HashSet(this.type_hash.keySet());\n/* 188 */ types.addAll(this.fallback_hash.keySet());\n/* 189 */ types.addAll(this.native_commands.keySet());\n/* 190 */ String[] mts = new String[types.size()];\n/* 191 */ mts = (String[])types.toArray((Object[])mts);\n/* 192 */ return mts;\n/* */ }", "title": "" }, { "docid": "7799cc8dacf0b4f50003993aeaba9ef6", "score": "0.6240667", "text": "public List<StudioFileType> getAllStudioFileTypes() throws ContestManagementException {\r\n return null;\r\n }", "title": "" }, { "docid": "92a2e67229c44db36caf4b962146c183", "score": "0.6232532", "text": "public Type[] types();", "title": "" }, { "docid": "ced0f341627df8386bd41d0fcc952a37", "score": "0.6198061", "text": "public ReactorResult<java.lang.String> getAllFileType_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), FILETYPE, java.lang.String.class);\r\n\t}", "title": "" }, { "docid": "5ec786111cdc32376dd39c1a06b23e9b", "score": "0.61929226", "text": "public String[] getFfTypes(){\n return ffc.getFfTypes();\n }", "title": "" }, { "docid": "30babfc4f5fbbcc283a7462f6f5be41f", "score": "0.61749244", "text": "public List<ResourceBase> listTypes() throws ResourceException;", "title": "" }, { "docid": "ba724f320b04a224876019ffb41dfa3f", "score": "0.6170216", "text": "public java.util.List<String> getInstanceTypes() {\n if (instanceTypes == null) {\n instanceTypes = new com.amazonaws.internal.SdkInternalList<String>();\n }\n return instanceTypes;\n }", "title": "" }, { "docid": "6d9126eac0a61423feec011a35353f5f", "score": "0.6168331", "text": "public List<TypeInfo> getTypes() {\r\n return types;\r\n }", "title": "" }, { "docid": "8244a2c28cb45bbf3e1abea1ef1afefc", "score": "0.6120029", "text": "public Collection<FileSystem> getFileSystem() {\r\n\t\treturn fileSystem;\r\n\t}", "title": "" }, { "docid": "77443e36387a498a7d3eabaec41ecc66", "score": "0.61183834", "text": "public List<String> getAllDocumentTypes() {\n\t\tList<String> toReturn = new ArrayList<String>();\n\n\t\tint size = combBoxDocumentTypes.getItemCount();\n\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\ttoReturn.add((String) combBoxDocumentTypes.getItemAt(i));\n\t\t}\n\n\t\treturn toReturn;\n\t}", "title": "" }, { "docid": "0ffc794c6064e32a01187d29a42c7669", "score": "0.60957825", "text": "public String[] getTypes() {\n/* 388 */ return getStringArray(\"type\");\n/* */ }", "title": "" }, { "docid": "c19939f1fb91ad95cb2906b76867624c", "score": "0.6074126", "text": "public Set<String> getAvailableTypes() {\n return ApiSpecificationFactory.getTypes();\n }", "title": "" }, { "docid": "3dccd63210fc3617393093be1738c734", "score": "0.60715234", "text": "public ResultFormat[] getTypes() {\n\n if (types == null) {\n types = loadFormats();\n }\n return types.clone();\n }", "title": "" }, { "docid": "93a18d5f3c79ef679c6b0866b650e988", "score": "0.6050332", "text": "public List<MimeType> getAllMimeTypes() throws ContestManagementException {\n return null;\r\n }", "title": "" }, { "docid": "93a18d5f3c79ef679c6b0866b650e988", "score": "0.6050332", "text": "public List<MimeType> getAllMimeTypes() throws ContestManagementException {\n return null;\r\n }", "title": "" }, { "docid": "422c7959ccb83b313e59f7e9e599ae8a", "score": "0.6032906", "text": "protected static DangerousFileType[] getKnownTypes() {\n return new DangerousFileType[] {\n // Add known file types here\n new DangerousFileType(ASF_TYPE, ASF_EXTENSIONS),\n new DangerousFileType(EXE_TYPE, EXE_EXTENSIONS)\n };\n }", "title": "" }, { "docid": "114c900e44941cf44dc7879b393384da", "score": "0.60328215", "text": "public List<URI> getType();", "title": "" }, { "docid": "7b17854ff9bc1522a70e93e633971926", "score": "0.60203624", "text": "public List<CWLType> getTypes() {\n return types;\n }", "title": "" }, { "docid": "15de8ed0777de8b6714807f61bb7cdfa", "score": "0.6020333", "text": "public String getType()\n {\n return VFS.FILE_TYPE;\n }", "title": "" }, { "docid": "2a8f89134d47c9d8ac437b89ec61b2b6", "score": "0.6016275", "text": "String [] getSupportedTypes();", "title": "" }, { "docid": "57d2900d82939b67b8546fe45005c0ec", "score": "0.59587187", "text": "public List<SimpleFeatureType> getCurrentTypes() {\n \tList<SimpleFeatureType> ret = new ArrayList<SimpleFeatureType>();\n \tfor (Set<SimpleFeature> s : typeNameIndex.values()) {\n \t\tif (s.size()>0) {\n \t\t\tret.add( s.iterator().next().getFeatureType() );\n \t\t}\n \t}\n \treturn ret;\n }", "title": "" }, { "docid": "8fa4a48645b05065259f088340bd3119", "score": "0.59521884", "text": "public List<StudioFileType> getAllStudioFileTypes() throws ContestManagementException {\r\n if (error) {\r\n throw new ContestManagementException(\"error\");\r\n }\r\n\r\n StudioFileType fileType = new StudioFileType();\r\n fileType.setDescription(\"PS\");\r\n fileType.setExtension(\".ps\");\r\n fileType.setImageFile(false);\r\n fileType.setStudioFileType(34);\r\n\r\n if (invalid) {\r\n fileType.setStudioFileType(-1);\r\n }\r\n\r\n return Arrays.asList(new StudioFileType[] { fileType });\r\n }", "title": "" }, { "docid": "8162282aa896a299dde18305baa8c01a", "score": "0.5942752", "text": "public Vector getServiceTypes() throws ServiceException {\n return namingService.getServiceTypes();\n }", "title": "" }, { "docid": "5c32e23a1908c68786fa631932bfe810", "score": "0.59195876", "text": "Set<String> getBaseTypes();", "title": "" }, { "docid": "d1ec25977c08c2d464a762e7aaa77ccc", "score": "0.5917188", "text": "@GET\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"getAllPlatformTypes\")\n List<JsonType> types();", "title": "" }, { "docid": "f4c27dd007cda8fa3c16845c1898025d", "score": "0.5879158", "text": "public List<String> getAvailableDataTypes() {\n Set<String> typeSet = new TreeSet<String>();\n\n ITimer timer = TimeUtil.getTimer();\n timer.start();\n\n try {\n for (Provider provider : DataDeliveryHandlers.getProviderHandler()\n .getAll()) {\n\n for (ProviderType type : provider.getProviderType()) {\n typeSet.add(type.getDataType().toString());\n }\n }\n } catch (RegistryHandlerException e) {\n statusHandler.handle(Priority.PROBLEM,\n \"Unable to retrieve the provider list.\", e);\n }\n\n List<String> typeList = new ArrayList<String>(typeSet);\n timer.stop();\n\n return typeList;\n }", "title": "" }, { "docid": "b57d9c0f5c8893898ecea5f866be6d1a", "score": "0.58738315", "text": "List<ResourceType> resourceTypes();", "title": "" }, { "docid": "743d4748cc00943854e3b16314d06af5", "score": "0.58737826", "text": "public List getResourceTypes(ResourceType resourceType);", "title": "" }, { "docid": "483dd25355bd265dfd153f843d3eedbb", "score": "0.5860033", "text": "public ArrayList<String> getTypes(){\n return this.types;\n }", "title": "" }, { "docid": "22a2e853ac0b83fc34ac8ea40fcb3caa", "score": "0.58591235", "text": "public Set<Class<?>> getTypes() {\n\t\treturn dataTypes;\n\t}", "title": "" }, { "docid": "22a2e853ac0b83fc34ac8ea40fcb3caa", "score": "0.58591235", "text": "public Set<Class<?>> getTypes() {\n\t\treturn dataTypes;\n\t}", "title": "" }, { "docid": "a892dc6fa87f67d530f09c261ff74f33", "score": "0.584621", "text": "public Set<Class<?>> getTypes() {\r\n\t\treturn dataTypes;\r\n\t}", "title": "" }, { "docid": "a892dc6fa87f67d530f09c261ff74f33", "score": "0.584621", "text": "public Set<Class<?>> getTypes() {\r\n\t\treturn dataTypes;\r\n\t}", "title": "" }, { "docid": "a892dc6fa87f67d530f09c261ff74f33", "score": "0.584621", "text": "public Set<Class<?>> getTypes() {\r\n\t\treturn dataTypes;\r\n\t}", "title": "" }, { "docid": "681aa3771ae0e189e86c9581192641f3", "score": "0.58205223", "text": "public Map<String, SkylarkModuleDoc> getTypes() {\n return types;\n }", "title": "" }, { "docid": "04f0132dac7e19514dc5d268ec895336", "score": "0.5781533", "text": "public List<String> getResourceTypes(){\n\t\treturn jtemp.queryForList(\"SELECT resource_type_id||' '||resource_type_name FROM resource_type\", String.class);\n\t}", "title": "" }, { "docid": "7936c3ae41fa5210c7702e8db359ca77", "score": "0.57706", "text": "TypeManager getTypeManager() {\n return types;\n }", "title": "" }, { "docid": "361fe57204a1f8df4c347dbb6ff35a5f", "score": "0.5762288", "text": "List<CmdType> getSupportedTypes();", "title": "" }, { "docid": "3620e72eb1184c919614cd40af2bab11", "score": "0.57494646", "text": "public Iterator getTypes() {\r\n\t\treturn types == null ? EmptyStructures.EMPTY_ITERATOR : new ReadOnlyIterator(types.values());\r\n\t}", "title": "" }, { "docid": "119b016f8507c0b1e4157f8e1e317dea", "score": "0.5694947", "text": "public List<Type> getDownloadableType() {\n\t\tList<Type> types = typeManager.getAllAvailable();\n\t\tList<Type> result = new ArrayList<Type>();\n\t\tfor(Type type : types){\n\t\t\tif(type.getBasePackages() != null && type.getBasePackages().size() != 0){\n\t\t\t\tresult.add(type);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "947396a9e4daa905aa1876a16d1c5116", "score": "0.56572723", "text": "@Override\n\tpublic List<FoodType> FindAllType() {\n\t\treturn ftb.FindAllType();\n\t}", "title": "" }, { "docid": "5458db59e87c912951846497cef9a394", "score": "0.5645474", "text": "public List<String> getDistinctMimeType() {\r\n\t\treturn wcDao.getDistinctMimeType();\r\n\t}", "title": "" }, { "docid": "923114e065e566d8811c29a4ecfcf7c2", "score": "0.56336844", "text": "public String[] getSupportedFileFormatsList();", "title": "" }, { "docid": "1b7e2d5d0e96ac2e2d8ceec2b1e1aeb0", "score": "0.5628346", "text": "OperatingSystemTypes osType();", "title": "" }, { "docid": "5a84b906e3950a2be8daa86aeb0e3cc3", "score": "0.561578", "text": "public List<DocumentType> getAllDocumentTypes() throws ContestManagementException {\n return null;\r\n }", "title": "" }, { "docid": "5a84b906e3950a2be8daa86aeb0e3cc3", "score": "0.561578", "text": "public List<DocumentType> getAllDocumentTypes() throws ContestManagementException {\n return null;\r\n }", "title": "" }, { "docid": "5fe02f8010b28846f37d94f8f5a4ac43", "score": "0.5612124", "text": "public List<MediaType> getContentTypes() {\n\t\treturn this.contentTypes;\n\t}", "title": "" }, { "docid": "03de0009c93c2c083096ace6ad2378e3", "score": "0.56070304", "text": "public List<Class<? extends Resource>> getAvailableTypes(OgemaLocale locale);", "title": "" }, { "docid": "71b035f5e63ab1410ca568c9113b8284", "score": "0.56070065", "text": "public Set<MediaType> getSupportedMediaTypes();", "title": "" }, { "docid": "7f387e2b840577f41f7b2fe157ad1ef4", "score": "0.56049025", "text": "public native JsArrayString getTypes()/*-{\n\t\tvar jso = this.@com.ait.toolkit.core.client.JsObject::getJsObj()();\n\t\treturn jso.types;\n }-*/;", "title": "" }, { "docid": "f883b5092e1adfc46fda55bfff4456cc", "score": "0.5589276", "text": "public List<TypeMetadata> getTypeMetadata() {\n return types;\n }", "title": "" }, { "docid": "8bce42dfa9e3f9bb3b2cf123fc2d065e", "score": "0.5580016", "text": "public java.lang.String getFiletype() {\n return filetype;\n }", "title": "" }, { "docid": "7064b1cb609a0bc6533d5ecb01f2b0bb", "score": "0.555861", "text": "public String getSystemType() {\n \t\treturn fSystemType;\n \t}", "title": "" }, { "docid": "57a552f27707c58384786a65a0c87525", "score": "0.5554206", "text": "DiscFileSystemInfo getFileSystemInfo(String path) throws IOException;", "title": "" }, { "docid": "bd290736d4f16fd19c065dce343474c2", "score": "0.55535823", "text": "public String getContentTypes() {\n return contentTypes;\n }", "title": "" }, { "docid": "02da8f0a043aac287094f7f33aec8d67", "score": "0.5541584", "text": "public synchronized static Set<String> getAvailableTypes() {\n populateCache();\n return Collections.unmodifiableSet(cache.keySet());\n }", "title": "" }, { "docid": "f85af529a03cbb47908d76279b92e0fd", "score": "0.55307883", "text": "public static HashMap<String, String> getMimeTypes() {\r\n if (mimeTypesInitCompleted) return mimeTypes;\r\n\r\n // Bilder\r\n mimeTypes.put(\".gif\", \"image/gif\");\r\n mimeTypes.put(\".jpg\", \"image/jpeg\");\r\n mimeTypes.put(\".jpeg\", \"image/jpeg\");\r\n mimeTypes.put(\".png\", \"image/png\");\r\n\r\n // Audio\r\n mimeTypes.put(\".mp3\", \"audio/mpeg\");\r\n mimeTypes.put(\".mp4\", \"video/mp4\");\r\n mimeTypes.put(\".flv\", \"video/x-flv\");\r\n\r\n // Webseiten\r\n mimeTypes.put(\".html\", \"text/html\");\r\n mimeTypes.put(\".htm\", \"text/html\");\r\n mimeTypes.put(\".shtml\", \"text/html\");\r\n mimeTypes.put(\".xhtml\", \"text/html\");\r\n mimeTypes.put(\".css\", \"text/css\");\r\n mimeTypes.put(\".js\", \"text/js\");\r\n mimeTypes.put(\".php\", \"text/html\");\r\n\r\n // Anderes\r\n mimeTypes.put(\".txt\", \"text/plain\");\r\n mimeTypes.put(\".log\", \"text/plain\");\r\n mimeTypes.put(\".md\", \"text/x-markdown\");\r\n mimeTypes.put(\".pdf\", \"application/pdf\");\r\n mimeTypes.put(\".xml\", \"application/xml\");\r\n mimeTypes.put(\".java\", \"text/plain\");\r\n\r\n mimeTypesInitCompleted = true;\r\n return mimeTypes;\r\n }", "title": "" }, { "docid": "e803bf86b12d62eb259a65a09af3cc93", "score": "0.55124855", "text": "String getSType();", "title": "" }, { "docid": "0998e4ce0308b73b4778d6882f6dcfac", "score": "0.55107623", "text": "public Set<Type> usedTypes() {\n Set<Type> types = new HashSet<Type>();\n for (DexlibAbstractInstruction i : instructions) {\n types.addAll(i.introducedTypes());\n }\n\n if (tries != null) {\n for (TryBlock<? extends ExceptionHandler> tryItem : tries) {\n List<? extends ExceptionHandler> hList = tryItem.getExceptionHandlers();\n for (ExceptionHandler handler : hList) {\n String exType = handler.getExceptionType();\n if (exType == null) {\n // Exceptions\n continue;\n }\n types.add(DexType.toSoot(exType));\n }\n }\n }\n\n return types;\n }", "title": "" }, { "docid": "f68aa83e6536d8beade3d513c0293df8", "score": "0.5504755", "text": "public JComboBox<?> getFileTypesCombo() {\n return getCombo(1);\n }", "title": "" }, { "docid": "22d3f103e39438515c3de308c5e6e4e3", "score": "0.5502913", "text": "List<Type> getAllTypeList();", "title": "" }, { "docid": "b5d22f31fc0ccd90153e7fcfbf807034", "score": "0.5494558", "text": "public String[] getNodeTypes()\r\n {\r\n\treturn ntMap.keySet().toArray(new String[ntMap.size()]);\r\n }", "title": "" }, { "docid": "188ea48e1b8b9b1119527667fe195e39", "score": "0.54925644", "text": "@GET\n @Path(\"allTypes\")\n @Produces(MediaType.APPLICATION_JSON)\n public String getAllTypes() {\n return typesJSONResponse(_types.getAllTypes());\n }", "title": "" }, { "docid": "739079894d7e759dc9520bca140926af", "score": "0.5486156", "text": "public OperatingSystemTypes getOsType() {\n return this.osType;\n }", "title": "" }, { "docid": "cf3023f116f9328b0c15c3b6585f258c", "score": "0.54654866", "text": "@Override\r\n\tpublic List<Type> getTypes() {\n\t\treturn (List<Type>)BaseDao.select(\"select * from type\", Type.class);\r\n\t}", "title": "" }, { "docid": "acaadc0c33016da68ef1afbbbdd973d6", "score": "0.54647684", "text": "List<Type> getTypeList(String type);", "title": "" }, { "docid": "bbf229e5751e1209d9adb6f3558a5bbf", "score": "0.546345", "text": "public EnvironmentType getEnvTypes() {\n return envTypes;\n }", "title": "" }, { "docid": "2686432f29ccb6a401e3f748d0b42569", "score": "0.5458062", "text": "public String getFILE_TYPE() {\r\n return FILE_TYPE;\r\n }", "title": "" }, { "docid": "562a059f21a85bc7dbbc5fd5909f38db", "score": "0.54335153", "text": "public String getFileType(){\n\t\treturn type;\n\t}", "title": "" }, { "docid": "4269ed68403efcadf4ed9e51db5ac44b", "score": "0.5424924", "text": "public List<String> getTableTypes()\r\n throws Exception\r\n {\r\n List<String> list = new ArrayList<String>();\r\n \r\n list.add(TYPE_TABLES);\r\n \r\n return list;\r\n }", "title": "" }, { "docid": "cdf13a689363b09da5d569902c6995d5", "score": "0.5413875", "text": "@GET\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"getAllDeviceCategories\")\n List<JsonType> types();", "title": "" }, { "docid": "5c2000a1582cea6b31818ccc376e5c34", "score": "0.54116136", "text": "public List<String> getRemoteTypes() {\n return getByList(GET_REMOTE_TYPES_PATH);\n }", "title": "" }, { "docid": "8eb36659646a10cae40d9bbb4a89c540", "score": "0.5404904", "text": "public Vector<String> getTaskTypes() {\r\n\t\tVector<String> v = new Vector<String>();\r\n\r\n\t\tfor (TaskType tt : taskTypes) {\r\n\t\t\tv.add(tt.name);\r\n\t\t}\r\n\r\n\t\treturn v;\r\n\t}", "title": "" }, { "docid": "c1b35ff5c2641a9edd1ab07e79ab02ab", "score": "0.5395725", "text": "public Set<ResourceType> getAllResourceTypes() {\n parseExternalResources();\n Set<ResourceType> resourceTypes = new HashSet<ResourceType>();\n for (DatacollectionGroup group : externalGroupsMap.values()) {\n for (ResourceType rt : group.getResourceTypeCollection()) {\n if (!contains(resourceTypes, rt))\n resourceTypes.add(rt);\n }\n }\n return resourceTypes;\n }", "title": "" }, { "docid": "2f94c8e559527c99b340dc487f124fcb", "score": "0.5391362", "text": "public String getTypeFacets() {\n final List<String> typeFacets = new LinkedList<>();\n if (mItem.Folder != null) {\n typeFacets.add(mItem.Folder.getClass().getSimpleName());\n }\n if (mItem.File != null) {\n typeFacets.add(mItem.File.getClass().getSimpleName());\n }\n if (mItem.Audio != null) {\n typeFacets.add(mItem.Audio.getClass().getSimpleName());\n }\n if (mItem.Image != null) {\n typeFacets.add(mItem.Image.getClass().getSimpleName());\n }\n if (mItem.Photo != null) {\n typeFacets.add(mItem.Photo.getClass().getSimpleName());\n }\n if (mItem.SpecialFolder != null) {\n typeFacets.add(mItem.SpecialFolder.getClass().getSimpleName());\n }\n if (mItem.Video != null) {\n typeFacets.add(mItem.Video.getClass().getSimpleName());\n }\n final String joiner = \", \";\n final StringBuilder sb = new StringBuilder();\n for (final String facet : typeFacets) {\n sb.append(facet);\n sb.append(joiner);\n }\n sb.delete(sb.lastIndexOf(joiner), sb.length());\n\n return sb.toString();\n }", "title": "" }, { "docid": "dd74162c3ece014bf0a0867df458e08e", "score": "0.5391259", "text": "List<File> getSystemDescriptionFiles();", "title": "" }, { "docid": "8f3683b2715edc1bb58369e8e8b67f10", "score": "0.5380865", "text": "public List<String> getMBeanTypes() {\n\n\t\treturn Collections.unmodifiableList(new ArrayList<String>(this.mbeanMap.keySet()));\n\t}", "title": "" }, { "docid": "4d02b4a617905bd599e0d96f39462f8a", "score": "0.53797895", "text": "public String getFiletype() {\n return filetype;\n }", "title": "" }, { "docid": "0a05a19a5b3db7652b0dda1d830dc926", "score": "0.53745264", "text": "@Override\r\n\tpublic Vector<Integer> getTypes() {\n\t\treturn this.types;\r\n\t}", "title": "" }, { "docid": "f4e86fe8bd6903544e0bb0a33d8b6f4d", "score": "0.53702486", "text": "public java.util.Enumeration getStorages() {\n\ttry {\n\t\tStorageAccessBean bean = new StorageAccessBean();\n\t\treturn bean.findAllOrderByNameAsc();\n\t} catch(Exception e) {\n\t\treturn (new java.util.Vector()).elements();\n\t}\n}", "title": "" }, { "docid": "c0364be874ea7019a6a5a5b2df9f9da9", "score": "0.53643376", "text": "ImmutableList<SchemaOrgType> getFileFormatList();", "title": "" }, { "docid": "ab2092f79eb306444c097ee38d764c28", "score": "0.5363619", "text": "public java.util.List<CodeableConcept> type() {\n return getList(CodeableConcept.class, FhirPropertyNames.PROPERTY_TYPE);\n }", "title": "" }, { "docid": "99829e13057075dcbad7d493524ed3d5", "score": "0.5360569", "text": "public java.util.List<CodeableConcept> type() {\n return getList(CodeableConcept.class, FhirPropertyNames.PROPERTY_TYPE);\n }", "title": "" }, { "docid": "4ab8cca203f6f4585f99032bad17d0b8", "score": "0.53502446", "text": "public List<DataType> listDataTypes() throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn list(DataType.class);\n\t}", "title": "" }, { "docid": "fc2c0ca5785bab747d162da2f640bd2e", "score": "0.5341512", "text": "public List getTypeSpecifiers() {\n return member.getTypeSpecifiers();\n }", "title": "" }, { "docid": "95d951e5cc706f66ff03318950220124", "score": "0.53370684", "text": "public int[] getTypes(){\n int[] types={TYPE_STRING,TYPE_STRING,TYPE_STRING,TYPE_INT};\n return types;\n }", "title": "" }, { "docid": "9ff2491105a673abaf99f7103bf06fbd", "score": "0.5336873", "text": "public FileSystem getFileSystem() {\n return installBase.getFileSystem();\n }", "title": "" }, { "docid": "5261758ffcab4c5b5ad42ab985f27c5c", "score": "0.53304255", "text": "public void setFileSystemType(String fileSystemType) {\n this.fileSystemType = fileSystemType;\n }", "title": "" }, { "docid": "4f382b915fc6e2e545672f82cb4dfd03", "score": "0.53281724", "text": "public Set<EntityType> getEntityTypes() {\n\t\ttry {\n\t\t\tSet<EntityType> entityTypes =\n\t\t\t\tnew HashSet<EntityType>(getWorkbench().getSearchableEntityTypes());\n\t\t\tentityTypes.add(EntityType.UNKNOWN);\n\t\t\treturn entityTypes;\n\t\t} catch (Throwable error) {\n\t\t\treportError(error, \"Error retrieving the set of searchable EntityTypes\");\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" } ]
40160ec3d62545d60404075da1e48648
/ / / / / / / / / 113
[ { "docid": "cbc2e958d2898c434ab277c958cb5229", "score": "0.0", "text": "public double getEndBoundary() { return this.endBoundary; }", "title": "" } ]
[ { "docid": "a83ee295cf4913edfbeb66ff99e33641", "score": "0.5665868", "text": "public int getBlockLength()\r\n/* 28: */ {\r\n/* 29: 76 */ return -24;\r\n/* 30: */ }", "title": "" }, { "docid": "86fc086d8eb32e76d6f9f21055f02ed5", "score": "0.5600708", "text": "public static void main(String[] args) {\n\r\n int start = (int) (Math.pow(2, 16) * 2), end = (int) (Math.pow(2, 16) * 3);\r\n int res = 0;\r\n for (int i = start; i <= end; i++) {\r\n if (i % 2 == 0) {\r\n// System.out.printf(\"%d \", i);\r\n res++;\r\n }\r\n }\r\n System.out.println(res);\r\n\r\n }", "title": "" }, { "docid": "cde4017f7c5751e754f05ec7a8caefcd", "score": "0.5574522", "text": "public int method_90() {\r\n return 64;\r\n }", "title": "" }, { "docid": "fbba63ca817091c2cbf36c6bab1f1ac0", "score": "0.5536732", "text": "private static double pedirBase() {\r\n\r\n\t\treturn pedirDimension(\"\\n\\tDame la base del rect\\u00e1ngulo: \");\r\n\t}", "title": "" }, { "docid": "ca4152f786ba34248f3d2be7a75200b0", "score": "0.5457891", "text": "C11259p5 mo28316a();", "title": "" }, { "docid": "2d60808c46b6660e402b9766fd6c645b", "score": "0.5403713", "text": "@Override\n public int power() {\n\treturn 4;\n }", "title": "" }, { "docid": "0263865eefdbaef3d0d863dba1a3568b", "score": "0.53642255", "text": "protected int bytesPerAtom() {\n return (3);\n }", "title": "" }, { "docid": "203ab96150379537f412edaa5395fe5a", "score": "0.53463626", "text": "public static void main(String[] args) {\n\t\tString ops = \"60806040526012600260006101000a81548160ff021916908360ff1602179055506040805190810160405280600881526020017f446566696b696e67000000000000000000000000000000000000000000000000815250600690805190602001906200006d929190620001e4565b506040805190810160405280600381526020017f44464b000000000000000000000000000000000000000000000000000000000081525060079080519060200190620000bb929190620001e4565b506012600860006101000a81548160ff021916908360ff160217905550348015620000e557600080fd5b50600860009054906101000a900460ff1660ff16600a0a633b9aca00026003819055506003546004600073fabd473a1328b0b59c54e198ab108254f07e213b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555073fabd473a1328b0b59c54e198ab108254f07e213b73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6003546040518082815260200191505060405180910390a362000293565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022757805160ff191683800117855562000258565b8280016001018555821562000258579182015b82811115620002575782518255916020019190600101906200023a565b5b5090506200026791906200026b565b5090565b6200029091905b808211156200028c57600081600090555060010162000272565b5090565b90565b61130580620002a36000396000f3006080604052600436106100af576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146100b4578063095ea7b31461014457806318160ddd146101a957806323b872dd146101d4578063313ce56714610259578063661884631461028a57806370a08231146102ef57806395d89b4114610346578063a9059cbb146103d6578063d73dd6231461043b578063dd62ed3e146104a0575b600080fd5b3480156100c057600080fd5b506100c9610517565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101095780820151818401526020810190506100ee565b50505050905090810190601f1680156101365780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015057600080fd5b5061018f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506105b5565b604051808215151515815260200191505060405180910390f35b3480156101b557600080fd5b506101be6106a7565b6040518082815260200191505060405180910390f35b3480156101e057600080fd5b5061023f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506106b1565b604051808215151515815260200191505060405180910390f35b34801561026557600080fd5b5061026e610a70565b604051808260ff1660ff16815260200191505060405180910390f35b34801561029657600080fd5b506102d5600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a83565b604051808215151515815260200191505060405180910390f35b3480156102fb57600080fd5b50610330600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d14565b6040518082815260200191505060405180910390f35b34801561035257600080fd5b5061035b610d5d565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561039b578082015181840152602081019050610380565b50505050905090810190601f1680156103c85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103e257600080fd5b50610421600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610dfb565b604051808215151515815260200191505060405180910390f35b34801561044757600080fd5b50610486600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061101f565b604051808215151515815260200191505060405180910390f35b3480156104ac57600080fd5b50610501600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061121b565b6040518082815260200191505060405180910390f35b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b505050505081565b600081600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000600354905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515156106ee57600080fd5b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115151561073c57600080fd5b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482111515156107c757600080fd5b61081982600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112a290919063ffffffff16565b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506108ae82600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112bb90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061098082600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112a290919063ffffffff16565b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509392505050565b600860009054906101000a900460ff1681565b600080600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080831115610b94576000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c28565b610ba783826112a290919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600191505092915050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610df35780601f10610dc857610100808354040283529160200191610df3565b820191906000526020600020905b815481529060010190602001808311610dd657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610e3857600080fd5b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548211151515610e8657600080fd5b610ed882600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112a290919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f6d82600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112bb90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b60006110b082600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112bb90919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008282111515156112b057fe5b818303905092915050565b60008082840190508381101515156112cf57fe5b80915050929150505600a165627a7a72305820482d1210bda79108d9db8524ed5037b6a1b77db4d26cf59b72658fd2eb6b7a120029\";\n\t\tbyte[] msgData = Hex.decode(\n\t\t\t\t\"a9059cbb000000000000000000000000ce8ce0053fcbdd11aba0c3d2013a3e4470342e2f00000000000000000000000000000000000000000000000000000000000003e8\");\n\t\tbyte[] address = Hex.decode(\"402e821c49964c85af87820c40b61cb854eec753\");\n\n\t\tStorage storage = new MockStorage();\n\n\t\tTransactionInfo txinfo = TransactionInfo.newBuilder()\n\t\t\t\t.setBody(TransactionBody.newBuilder()\n\t\t\t\t\t\t.setAddress(ByteString.copyFrom(Hex.decode(\"402e821c49964c85af87820c40b61cb854eec753\"))))\n\n\t\t\t\t.build();\n\t\tAccountInfoWrapper aiw = new AccountInfoWrapper(\n\t\t\t\tAccountInfo.newBuilder().setAddress(ByteString.copyFrom(address))); \n\n\t\tTransactionInfoWrapper txw = new TransactionInfoWrapper(TransactionInfo.newBuilder().build());\n\t\tCVMContract contract = CVMContract.newBuilder().setDatas(ByteString.copyFrom(Hex.decode(ops))).build();\n\t\tCVMAccountWrapper contractAccount = new CVMAccountWrapper(\n\t\t\t\tAccountInfo.newBuilder().setAddress(ByteString.copyFrom(address)).setExtData(contract.toByteString()));\n\t\tBlockContextDWORD btx = new BlockContextDWORD(new ApplyBlockContext(null, null, null, null, null, null, null,null));\n\t\tProgramInvokerInfo invoker = new ProgramInvokerInfo(aiw, txw, contractAccount, new byte[] {}, btx, 0);\n\t\tMCoreServices mcore=new MockMCore(); \n\t\tProgram createProgram = new Program(contractAccount, mcore, invoker,storage);\n\t\tint runcount = 1;\n\t\ttry {\n\t\t\tBrewVM.play(createProgram);\n\n\t\t\tProgramResult createResult = createProgram.getResult();\n\t\t\tbyte[] creats = createResult.getHReturn();\n\t\t\tSystem.out.println(\"creats:\" + Hex.toHexString(creats));\n\t\t\tCVMContract existcontract = CVMContract.newBuilder().setDatas(ByteString.copyFrom(creats)).build();\n\n\t\t\tCVMAccountWrapper existcontractAccount = new CVMAccountWrapper(AccountInfo.newBuilder()\n\t\t\t\t\t.setAddress(ByteString.copyFrom(address)).setExtData(existcontract.toByteString()));\n\n\t\t\tlong start = System.currentTimeMillis();\n\t\t\tfor (int i = 0; i < runcount; i++) {\n\t\t\t\tinvoker = new ProgramInvokerInfo(aiw, txw, contractAccount, msgData, btx, 0);\n\n\t\t\t\tProgram callProgram = new Program(existcontractAccount,mcore, invoker,storage);\n\n\t\t\t\tBrewVM.play(callProgram);\n\n\t\t\t\tProgramResult callResult = callProgram.getResult();\n\t\t\t\tSystem.out.println(\"call result:\" + Hex.toHexString(callResult.getHReturn()));\n\t\t\t}\n\t\t\tSystem.out.println(\"cost:\" + (System.currentTimeMillis() - start));\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "1a0f39d3de1b5aa00f446883b17b7df0", "score": "0.53442526", "text": "private int sbe(GameState state){\r\n \t \t \t\r\n \treturn state.stoneCount(6) - state.stoneCount(13);\r\n }", "title": "" }, { "docid": "abca8649255d874321a5c9087ab96531", "score": "0.53332245", "text": "public final int zzcym() {\n /*\n r5 = this;\n r0 = r5.pos;\n r1 = r5.limit;\n if (r1 == r0) goto L_0x006b;\n L_0x0006:\n r2 = r5.buffer;\n r3 = r0 + 1;\n r0 = r2[r0];\n if (r0 < 0) goto L_0x0011;\n L_0x000e:\n r5.pos = r3;\n return r0;\n L_0x0011:\n r1 = r1 - r3;\n r4 = 9;\n if (r1 < r4) goto L_0x006b;\n L_0x0016:\n r1 = r3 + 1;\n r3 = r2[r3];\n r3 = r3 << 7;\n r0 = r0 ^ r3;\n if (r0 >= 0) goto L_0x0022;\n L_0x001f:\n r0 = r0 ^ -128;\n goto L_0x0068;\n L_0x0022:\n r3 = r1 + 1;\n r1 = r2[r1];\n r1 = r1 << 14;\n r0 = r0 ^ r1;\n if (r0 < 0) goto L_0x002f;\n L_0x002b:\n r0 = r0 ^ 16256;\n L_0x002d:\n r1 = r3;\n goto L_0x0068;\n L_0x002f:\n r1 = r3 + 1;\n r3 = r2[r3];\n r3 = r3 << 21;\n r0 = r0 ^ r3;\n if (r0 >= 0) goto L_0x003d;\n L_0x0038:\n r2 = -2080896; // 0xffffffffffe03f80 float:NaN double:NaN;\n r0 = r0 ^ r2;\n goto L_0x0068;\n L_0x003d:\n r3 = r1 + 1;\n r1 = r2[r1];\n r4 = r1 << 28;\n r0 = r0 ^ r4;\n r4 = 266354560; // 0xfe03f80 float:2.2112565E-29 double:1.315966377E-315;\n r0 = r0 ^ r4;\n if (r1 >= 0) goto L_0x002d;\n L_0x004a:\n r1 = r3 + 1;\n r3 = r2[r3];\n if (r3 >= 0) goto L_0x0068;\n L_0x0050:\n r3 = r1 + 1;\n r1 = r2[r1];\n if (r1 >= 0) goto L_0x002d;\n L_0x0056:\n r1 = r3 + 1;\n r3 = r2[r3];\n if (r3 >= 0) goto L_0x0068;\n L_0x005c:\n r3 = r1 + 1;\n r1 = r2[r1];\n if (r1 >= 0) goto L_0x002d;\n L_0x0062:\n r1 = r3 + 1;\n r2 = r2[r3];\n if (r2 < 0) goto L_0x006b;\n L_0x0068:\n r5.pos = r1;\n return r0;\n L_0x006b:\n r0 = r5.zzcyn();\n r1 = (int) r0;\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.zzfhd.zzcym():int\");\n }", "title": "" }, { "docid": "4a3403a88b9115f37866ae8ddd52ada2", "score": "0.5319644", "text": "private static long calculate() {\n\t\tlong triangle = 0;\n\t\tsearch: for (int i = 166; ; i++) { // We know that T285 = P165 = H143 \n\t\t\tlong h = i * (2 * i - 1);\n\t\t\tdouble pn = (Math.sqrt(24 * h + 1) + 1) / 6;\n\t\t\tif (pn == Math.floor(pn)) {\n\t\t\t\ttriangle = h;\n\t\t\t\tbreak search;\n\t\t\t}\n\t\t}\n\t\treturn triangle;\n\t}", "title": "" }, { "docid": "4851213226d73f9dc607f4ee684ca295", "score": "0.5315697", "text": "public static int size_ragobotId() {\r\n return (16 / 8);\r\n }", "title": "" }, { "docid": "cb68c0ea8b3be7a285a97b8d6ec3ef08", "score": "0.5315109", "text": "public static final float identityFlat(byte[] match) {\r\n//\t\tassert(false) : new String(match);\r\n\t\tif(match==null || match.length<1){return 0;}\r\n\t\t\r\n\t\tint good=0, bad=0, n=0;\r\n\t\t\r\n\t\tbyte mode='0', c='0';\r\n\t\tint current=0;\r\n\t\tfor(int i=0; i<match.length; i++){\r\n\t\t\tc=match[i];\r\n\t\t\tif(Character.isDigit(c)){\r\n\t\t\t\tcurrent=(current*10)+(c-'0');\r\n\t\t\t}else{\r\n\t\t\t\tif(mode==c){\r\n\t\t\t\t\tcurrent=Tools.max(current+1, 2);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tcurrent=Tools.max(current, 1);\r\n\r\n\t\t\t\t\tif(mode=='m'){\r\n\t\t\t\t\t\tgood+=current;\r\n//\t\t\t\t\t\tSystem.out.println(\"G: mode=\"+(char)mode+\", c=\"+(char)c+\", current=\"+current+\", good=\"+good+\", bad=\"+bad);\r\n\t\t\t\t\t}else if(mode=='R' || mode=='N'){\r\n\t\t\t\t\t\tn+=current;\r\n\t\t\t\t\t}else if(mode=='C'){\r\n\t\t\t\t\t\t//Do nothing\r\n\t\t\t\t\t\t//I assume this is clipped because it went off the end of a scaffold, and thus is irrelevant to identity\r\n\t\t\t\t\t}else if(mode!='0'){\r\n\t\t\t\t\t\tassert(mode=='S' || mode=='D' || mode=='I' || mode=='X' || mode=='Y') : (char)mode;\r\n\t\t\t\t\t\tif(mode!='D' || current<SamLine.INTRON_LIMIT){\r\n\t\t\t\t\t\t\tbad+=current;\r\n\t\t\t\t\t\t}\r\n//\t\t\t\t\t\tSystem.out.println(\"B: mode=\"+(char)mode+\", c=\"+(char)c+\", current=\"+current+\", good=\"+good+\", bad=\"+bad);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tmode=c;\r\n\t\t\t\t\tcurrent=0;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(current>0 || !Character.isDigit(c)){\r\n\t\t\tcurrent=Tools.max(current, 1);\r\n\t\t\tif(mode=='m'){\r\n\t\t\t\tgood+=current;\r\n\t\t\t}else if(mode=='R' || mode=='N'){\r\n\t\t\t\tn+=current;\r\n\t\t\t}else if(mode=='C'){\r\n\t\t\t\t//Do nothing\r\n\t\t\t\t//I assume this is clipped because it went off the end of a scaffold, and thus is irrelevant to identity\r\n\t\t\t}else if(mode!='0'){\r\n\t\t\t\tassert(mode=='S' || mode=='I' || mode=='X' || mode=='Y') : (char)mode;\r\n\t\t\t\tif(mode!='D' || current<SamLine.INTRON_LIMIT){\r\n\t\t\t\t\tbad+=current;\r\n\t\t\t\t}\r\n//\t\t\t\tSystem.out.println(\"B: mode=\"+(char)mode+\", c=\"+(char)c+\", current=\"+current+\", good=\"+good+\", bad=\"+bad);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tn=(n+3)/4;\r\n\t\tgood+=n;\r\n\t\tbad+=3*n;\r\n\t\tfloat r=good/(float)Tools.max(good+bad, 1);\r\n//\t\tassert(false) : new String(match)+\"\\nmode='\"+(char)mode+\"', current=\"+current+\", good=\"+good+\", bad=\"+bad;\r\n\r\n//\t\tSystem.out.println(\"match=\"+new String(match)+\"\\ngood=\"+good+\", bad=\"+bad+\", r=\"+r);\r\n//\t\tSystem.out.println(Arrays.toString(matchToMsdicn(match)));\r\n\t\t\r\n\t\treturn r;\r\n\t}", "title": "" }, { "docid": "b70953585285461d81736bd96bd406c2", "score": "0.52911943", "text": "HYWE getHVAr();", "title": "" }, { "docid": "06fac6e4f99c601d18d23048e4671d11", "score": "0.5291067", "text": "private int m85bC() throws java.io.IOException {\n /*\n r15 = this;\n char[] r11 = r15.bnZ\n int r2 = r15.pos\n int r1 = r15.limit\n r6 = 0\n r5 = 0\n r4 = 1\n r3 = 0\n r0 = 0\n r10 = r0\n r0 = r1\n r1 = r2\n L_0x000f:\n int r2 = r1 + r10\n if (r2 != r0) goto L_0x003f\n int r0 = r11.length\n if (r10 != r0) goto L_0x0018\n r0 = 0\n L_0x0017:\n return r0\n L_0x0018:\n int r0 = r10 + 1\n boolean r0 = r15.zzagx(r0)\n if (r0 != 0) goto L_0x003b\n L_0x0020:\n r0 = 2\n if (r3 != r0) goto L_0x00df\n if (r4 == 0) goto L_0x00df\n r0 = -9223372036854775808\n int r0 = (r6 > r0 ? 1 : (r6 == r0 ? 0 : -1))\n if (r0 != 0) goto L_0x002d\n if (r5 == 0) goto L_0x00df\n L_0x002d:\n if (r5 == 0) goto L_0x00dc\n L_0x002f:\n r15.bod = r6\n int r0 = r15.pos\n int r0 = r0 + r10\n r15.pos = r0\n r0 = 15\n r15.boc = r0\n goto L_0x0017\n L_0x003b:\n int r1 = r15.pos\n int r0 = r15.limit\n L_0x003f:\n int r2 = r1 + r10\n char r2 = r11[r2]\n switch(r2) {\n case 43: goto L_0x006d;\n case 45: goto L_0x0056;\n case 46: goto L_0x0082;\n case 69: goto L_0x0076;\n case 101: goto L_0x0076;\n default: goto L_0x0046;\n }\n L_0x0046:\n r8 = 48\n if (r2 < r8) goto L_0x004e\n r8 = 57\n if (r2 <= r8) goto L_0x008b\n L_0x004e:\n boolean r0 = r15.zze(r2)\n if (r0 == 0) goto L_0x0020\n r0 = 0\n goto L_0x0017\n L_0x0056:\n if (r3 != 0) goto L_0x0064\n r3 = 1\n r2 = 1\n r14 = r4\n r4 = r3\n r3 = r14\n L_0x005d:\n int r5 = r10 + 1\n r10 = r5\n r5 = r4\n r4 = r3\n r3 = r2\n goto L_0x000f\n L_0x0064:\n r2 = 5\n if (r3 != r2) goto L_0x006b\n r2 = 6\n r3 = r4\n r4 = r5\n goto L_0x005d\n L_0x006b:\n r0 = 0\n goto L_0x0017\n L_0x006d:\n r2 = 5\n if (r3 != r2) goto L_0x0074\n r2 = 6\n r3 = r4\n r4 = r5\n goto L_0x005d\n L_0x0074:\n r0 = 0\n goto L_0x0017\n L_0x0076:\n r2 = 2\n if (r3 == r2) goto L_0x007c\n r2 = 4\n if (r3 != r2) goto L_0x0080\n L_0x007c:\n r2 = 5\n r3 = r4\n r4 = r5\n goto L_0x005d\n L_0x0080:\n r0 = 0\n goto L_0x0017\n L_0x0082:\n r2 = 2\n if (r3 != r2) goto L_0x0089\n r2 = 3\n r3 = r4\n r4 = r5\n goto L_0x005d\n L_0x0089:\n r0 = 0\n goto L_0x0017\n L_0x008b:\n r8 = 1\n if (r3 == r8) goto L_0x0090\n if (r3 != 0) goto L_0x0098\n L_0x0090:\n int r2 = r2 + -48\n int r2 = -r2\n long r6 = (long) r2\n r2 = 2\n r3 = r4\n r4 = r5\n goto L_0x005d\n L_0x0098:\n r8 = 2\n if (r3 != r8) goto L_0x00cb\n r8 = 0\n int r8 = (r6 > r8 ? 1 : (r6 == r8 ? 0 : -1))\n if (r8 != 0) goto L_0x00a4\n r0 = 0\n goto L_0x0017\n L_0x00a4:\n r8 = 10\n long r8 = r8 * r6\n int r2 = r2 + -48\n long r12 = (long) r2\n long r8 = r8 - r12\n r12 = -922337203685477580(0xf333333333333334, double:-8.390303882365713E246)\n int r2 = (r6 > r12 ? 1 : (r6 == r12 ? 0 : -1))\n if (r2 > 0) goto L_0x00c1\n r12 = -922337203685477580(0xf333333333333334, double:-8.390303882365713E246)\n int r2 = (r6 > r12 ? 1 : (r6 == r12 ? 0 : -1))\n if (r2 != 0) goto L_0x00c9\n int r2 = (r8 > r6 ? 1 : (r8 == r6 ? 0 : -1))\n if (r2 >= 0) goto L_0x00c9\n L_0x00c1:\n r2 = 1\n L_0x00c2:\n r2 = r2 & r4\n r4 = r5\n r6 = r8\n r14 = r3\n r3 = r2\n r2 = r14\n goto L_0x005d\n L_0x00c9:\n r2 = 0\n goto L_0x00c2\n L_0x00cb:\n r2 = 3\n if (r3 != r2) goto L_0x00d2\n r2 = 4\n r3 = r4\n r4 = r5\n goto L_0x005d\n L_0x00d2:\n r2 = 5\n if (r3 == r2) goto L_0x00d8\n r2 = 6\n if (r3 != r2) goto L_0x00f3\n L_0x00d8:\n r2 = 7\n r3 = r4\n r4 = r5\n goto L_0x005d\n L_0x00dc:\n long r6 = -r6\n goto L_0x002f\n L_0x00df:\n r0 = 2\n if (r3 == r0) goto L_0x00e8\n r0 = 4\n if (r3 == r0) goto L_0x00e8\n r0 = 7\n if (r3 != r0) goto L_0x00f0\n L_0x00e8:\n r15.boe = r10\n r0 = 16\n r15.boc = r0\n goto L_0x0017\n L_0x00f0:\n r0 = 0\n goto L_0x0017\n L_0x00f3:\n r2 = r3\n r3 = r4\n r4 = r5\n goto L_0x005d\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.zzapy.m85bC():int\");\n }", "title": "" }, { "docid": "56ab19a9eea0f85049c462b82f1560bf", "score": "0.52896947", "text": "public abstract int uleb128();", "title": "" }, { "docid": "b3918427f93713d3702dd6acefbe679d", "score": "0.52714777", "text": "ING getNumCyc();", "title": "" }, { "docid": "d9a79d631a3a4f55be545d2a6c045c30", "score": "0.526104", "text": "private int m59457d() {\n return this.f49163f.length - 1;\n }", "title": "" }, { "docid": "13824a0d7d0b3d962cedb73f2e4d989f", "score": "0.5257965", "text": "protected int getInternalBlockLength()\r\n/* 23: */ {\r\n/* 24: 70 */ return 312;\r\n/* 25: */ }", "title": "" }, { "docid": "17ddd2fa1ecebf263e6208d95fe4c237", "score": "0.524259", "text": "public static byte[] bD(byte[] r12) {\n /*\n r4 = r12.length;\n r7 = new com.tencent.wxop.stat.b.k;\n r0 = 0;\n r7.<init>(r0);\n r0 = r4 / 3;\n r0 = r0 * 4;\n r1 = r7.d;\n if (r1 == 0) goto L_0x00d4;\n L_0x000f:\n r1 = r4 % 3;\n if (r1 <= 0) goto L_0x0015;\n L_0x0013:\n r0 = r0 + 4;\n L_0x0015:\n r1 = r7.e;\n if (r1 == 0) goto L_0x0028;\n L_0x0019:\n if (r4 <= 0) goto L_0x0028;\n L_0x001b:\n r1 = r4 + -1;\n r1 = r1 / 57;\n r2 = r1 + 1;\n r1 = r7.f;\n if (r1 == 0) goto L_0x00e3;\n L_0x0025:\n r1 = 2;\n L_0x0026:\n r1 = r1 * r2;\n r0 = r0 + r1;\n L_0x0028:\n r1 = new byte[r0];\n r7.a = r1;\n r8 = r7.pLR;\n r9 = r7.a;\n r5 = 0;\n r2 = r7.k;\n r3 = 0;\n r10 = r4 + 0;\n r1 = -1;\n r4 = r7.c;\n switch(r4) {\n case 0: goto L_0x00e6;\n case 1: goto L_0x00e9;\n case 2: goto L_0x010a;\n default: goto L_0x003c;\n };\n L_0x003c:\n r4 = r1;\n L_0x003d:\n r1 = -1;\n if (r4 == r1) goto L_0x0258;\n L_0x0040:\n r1 = 0;\n r5 = r4 >> 18;\n r5 = r5 & 63;\n r5 = r8[r5];\n r9[r1] = r5;\n r1 = 1;\n r5 = r4 >> 12;\n r5 = r5 & 63;\n r5 = r8[r5];\n r9[r1] = r5;\n r1 = 2;\n r5 = r4 >> 6;\n r5 = r5 & 63;\n r5 = r8[r5];\n r9[r1] = r5;\n r5 = 3;\n r1 = 4;\n r4 = r4 & 63;\n r4 = r8[r4];\n r9[r5] = r4;\n r2 = r2 + -1;\n if (r2 != 0) goto L_0x0254;\n L_0x0067:\n r2 = r7.f;\n if (r2 == 0) goto L_0x0071;\n L_0x006b:\n r2 = 4;\n r1 = 5;\n r4 = 13;\n r9[r2] = r4;\n L_0x0071:\n r5 = r1 + 1;\n r2 = 10;\n r9[r1] = r2;\n r1 = 19;\n r6 = r1;\n L_0x007a:\n r1 = r3 + 3;\n if (r1 > r10) goto L_0x012b;\n L_0x007e:\n r1 = r12[r3];\n r1 = r1 & 255;\n r1 = r1 << 16;\n r2 = r3 + 1;\n r2 = r12[r2];\n r2 = r2 & 255;\n r2 = r2 << 8;\n r1 = r1 | r2;\n r2 = r3 + 2;\n r2 = r12[r2];\n r2 = r2 & 255;\n r1 = r1 | r2;\n r2 = r1 >> 18;\n r2 = r2 & 63;\n r2 = r8[r2];\n r9[r5] = r2;\n r2 = r5 + 1;\n r4 = r1 >> 12;\n r4 = r4 & 63;\n r4 = r8[r4];\n r9[r2] = r4;\n r2 = r5 + 2;\n r4 = r1 >> 6;\n r4 = r4 & 63;\n r4 = r8[r4];\n r9[r2] = r4;\n r2 = r5 + 3;\n r1 = r1 & 63;\n r1 = r8[r1];\n r9[r2] = r1;\n r3 = r3 + 3;\n r2 = r5 + 4;\n r1 = r6 + -1;\n if (r1 != 0) goto L_0x0250;\n L_0x00c0:\n r1 = r7.f;\n if (r1 == 0) goto L_0x024d;\n L_0x00c4:\n r1 = r2 + 1;\n r4 = 13;\n r9[r2] = r4;\n L_0x00ca:\n r5 = r1 + 1;\n r2 = 10;\n r9[r1] = r2;\n r1 = 19;\n r6 = r1;\n goto L_0x007a;\n L_0x00d4:\n r1 = r4 % 3;\n switch(r1) {\n case 0: goto L_0x0015;\n case 1: goto L_0x00db;\n case 2: goto L_0x00df;\n default: goto L_0x00d9;\n };\n L_0x00d9:\n goto L_0x0015;\n L_0x00db:\n r0 = r0 + 2;\n goto L_0x0015;\n L_0x00df:\n r0 = r0 + 3;\n goto L_0x0015;\n L_0x00e3:\n r1 = 1;\n goto L_0x0026;\n L_0x00e6:\n r4 = r1;\n goto L_0x003d;\n L_0x00e9:\n r4 = 2;\n if (r4 > r10) goto L_0x003c;\n L_0x00ec:\n r1 = r7.j;\n r3 = 0;\n r1 = r1[r3];\n r1 = r1 & 255;\n r1 = r1 << 16;\n r3 = 0;\n r3 = r12[r3];\n r3 = r3 & 255;\n r3 = r3 << 8;\n r1 = r1 | r3;\n r4 = 1;\n r3 = 2;\n r4 = r12[r4];\n r4 = r4 & 255;\n r1 = r1 | r4;\n r4 = 0;\n r7.c = r4;\n r4 = r1;\n goto L_0x003d;\n L_0x010a:\n if (r10 <= 0) goto L_0x003c;\n L_0x010c:\n r1 = r7.j;\n r3 = 0;\n r1 = r1[r3];\n r1 = r1 & 255;\n r1 = r1 << 16;\n r3 = r7.j;\n r4 = 1;\n r3 = r3[r4];\n r3 = r3 & 255;\n r3 = r3 << 8;\n r1 = r1 | r3;\n r4 = 0;\n r3 = 1;\n r4 = r12[r4];\n r4 = r4 & 255;\n r1 = r1 | r4;\n r4 = 0;\n r7.c = r4;\n goto L_0x003c;\n L_0x012b:\n r1 = r7.c;\n r1 = r3 - r1;\n r2 = r10 + -1;\n if (r1 != r2) goto L_0x0194;\n L_0x0133:\n r2 = 0;\n r1 = r7.c;\n if (r1 <= 0) goto L_0x018e;\n L_0x0138:\n r1 = r7.j;\n r4 = 0;\n r2 = 1;\n r1 = r1[r4];\n L_0x013e:\n r1 = r1 & 255;\n r4 = r1 << 4;\n r1 = r7.c;\n r1 = r1 - r2;\n r7.c = r1;\n r2 = r5 + 1;\n r1 = r4 >> 6;\n r1 = r1 & 63;\n r1 = r8[r1];\n r9[r5] = r1;\n r1 = r2 + 1;\n r4 = r4 & 63;\n r4 = r8[r4];\n r9[r2] = r4;\n r2 = r7.d;\n if (r2 == 0) goto L_0x0169;\n L_0x015d:\n r2 = r1 + 1;\n r4 = 61;\n r9[r1] = r4;\n r1 = r2 + 1;\n r4 = 61;\n r9[r2] = r4;\n L_0x0169:\n r2 = r7.e;\n if (r2 == 0) goto L_0x017f;\n L_0x016d:\n r2 = r7.f;\n if (r2 == 0) goto L_0x0178;\n L_0x0171:\n r2 = r1 + 1;\n r4 = 13;\n r9[r1] = r4;\n r1 = r2;\n L_0x0178:\n r2 = r1 + 1;\n r4 = 10;\n r9[r1] = r4;\n r1 = r2;\n L_0x017f:\n r5 = r1;\n L_0x0180:\n r1 = com.tencent.wxop.stat.b.k.g;\n if (r1 != 0) goto L_0x0228;\n L_0x0184:\n r1 = r7.c;\n if (r1 == 0) goto L_0x0228;\n L_0x0188:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x018e:\n r4 = r3 + 1;\n r1 = r12[r3];\n r3 = r4;\n goto L_0x013e;\n L_0x0194:\n r1 = r7.c;\n r1 = r3 - r1;\n r2 = r10 + -2;\n if (r1 != r2) goto L_0x020c;\n L_0x019c:\n r2 = 0;\n r1 = r7.c;\n r4 = 1;\n if (r1 <= r4) goto L_0x0200;\n L_0x01a2:\n r1 = r7.j;\n r4 = 0;\n r2 = 1;\n r1 = r1[r4];\n L_0x01a8:\n r1 = r1 & 255;\n r11 = r1 << 10;\n r1 = r7.c;\n if (r1 <= 0) goto L_0x0206;\n L_0x01b0:\n r1 = r7.j;\n r4 = r2 + 1;\n r1 = r1[r2];\n r2 = r4;\n L_0x01b7:\n r1 = r1 & 255;\n r1 = r1 << 2;\n r1 = r1 | r11;\n r4 = r7.c;\n r2 = r4 - r2;\n r7.c = r2;\n r2 = r5 + 1;\n r4 = r1 >> 12;\n r4 = r4 & 63;\n r4 = r8[r4];\n r9[r5] = r4;\n r4 = r2 + 1;\n r5 = r1 >> 6;\n r5 = r5 & 63;\n r5 = r8[r5];\n r9[r2] = r5;\n r2 = r4 + 1;\n r1 = r1 & 63;\n r1 = r8[r1];\n r9[r4] = r1;\n r1 = r7.d;\n if (r1 == 0) goto L_0x024b;\n L_0x01e2:\n r1 = r2 + 1;\n r4 = 61;\n r9[r2] = r4;\n L_0x01e8:\n r2 = r7.e;\n if (r2 == 0) goto L_0x01fe;\n L_0x01ec:\n r2 = r7.f;\n if (r2 == 0) goto L_0x01f7;\n L_0x01f0:\n r2 = r1 + 1;\n r4 = 13;\n r9[r1] = r4;\n r1 = r2;\n L_0x01f7:\n r2 = r1 + 1;\n r4 = 10;\n r9[r1] = r4;\n r1 = r2;\n L_0x01fe:\n r5 = r1;\n goto L_0x0180;\n L_0x0200:\n r4 = r3 + 1;\n r1 = r12[r3];\n r3 = r4;\n goto L_0x01a8;\n L_0x0206:\n r4 = r3 + 1;\n r1 = r12[r3];\n r3 = r4;\n goto L_0x01b7;\n L_0x020c:\n r1 = r7.e;\n if (r1 == 0) goto L_0x0180;\n L_0x0210:\n if (r5 <= 0) goto L_0x0180;\n L_0x0212:\n r1 = 19;\n if (r6 == r1) goto L_0x0180;\n L_0x0216:\n r1 = r7.f;\n if (r1 == 0) goto L_0x0249;\n L_0x021a:\n r1 = r5 + 1;\n r2 = 13;\n r9[r5] = r2;\n L_0x0220:\n r5 = r1 + 1;\n r2 = 10;\n r9[r1] = r2;\n goto L_0x0180;\n L_0x0228:\n r1 = com.tencent.wxop.stat.b.k.g;\n if (r1 != 0) goto L_0x0234;\n L_0x022c:\n if (r3 == r10) goto L_0x0234;\n L_0x022e:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x0234:\n r7.b = r5;\n r7.k = r6;\n r1 = a;\n if (r1 != 0) goto L_0x0246;\n L_0x023c:\n r1 = r7.b;\n if (r1 == r0) goto L_0x0246;\n L_0x0240:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x0246:\n r0 = r7.a;\n return r0;\n L_0x0249:\n r1 = r5;\n goto L_0x0220;\n L_0x024b:\n r1 = r2;\n goto L_0x01e8;\n L_0x024d:\n r1 = r2;\n goto L_0x00ca;\n L_0x0250:\n r6 = r1;\n r5 = r2;\n goto L_0x007a;\n L_0x0254:\n r6 = r2;\n r5 = r1;\n goto L_0x007a;\n L_0x0258:\n r6 = r2;\n goto L_0x007a;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.wxop.stat.b.h.bD(byte[]):byte[]\");\n }", "title": "" }, { "docid": "01051d4bc1fa2e2bc1cb1eb915699654", "score": "0.52361333", "text": "private static int aesRcon(int round){\n\t int[] rcon = {0x8d, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c, 0xd8, 0xab, 0x4d, 0x9a,\n\t 0x2f, 0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35, 0x6a, 0xd4, 0xb3, 0x7d, 0xfa, 0xef, 0xc5, 0x91, 0x39,\n\t 0x72, 0xe4, 0xd3, 0xbd, 0x61, 0xc2, 0x9f, 0x25, 0x4a, 0x94, 0x33, 0x66, 0xcc, 0x83, 0x1d, 0x3a,\n\t 0x74, 0xe8, 0xcb, 0x8d, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c, 0xd8,\n\t 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35, 0x6a, 0xd4, 0xb3, 0x7d, 0xfa, 0xef,\n\t 0xc5, 0x91, 0x39, 0x72, 0xe4, 0xd3, 0xbd, 0x61, 0xc2, 0x9f, 0x25, 0x4a, 0x94, 0x33, 0x66, 0xcc,\n\t 0x83, 0x1d, 0x3a, 0x74, 0xe8, 0xcb, 0x8d, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b,\n\t 0x36, 0x6c, 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35, 0x6a, 0xd4, 0xb3,\n\t 0x7d, 0xfa, 0xef, 0xc5, 0x91, 0x39, 0x72, 0xe4, 0xd3, 0xbd, 0x61, 0xc2, 0x9f, 0x25, 0x4a, 0x94,\n\t 0x33, 0x66, 0xcc, 0x83, 0x1d, 0x3a, 0x74, 0xe8, 0xcb, 0x8d, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20,\n\t 0x40, 0x80, 0x1b, 0x36, 0x6c, 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35,\n\t 0x6a, 0xd4, 0xb3, 0x7d, 0xfa, 0xef, 0xc5, 0x91, 0x39, 0x72, 0xe4, 0xd3, 0xbd, 0x61, 0xc2, 0x9f,\n\t 0x25, 0x4a, 0x94, 0x33, 0x66, 0xcc, 0x83, 0x1d, 0x3a, 0x74, 0xe8, 0xcb, 0x8d, 0x01, 0x02, 0x04,\n\t 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c, 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc, 0x63,\n\t 0xc6, 0x97, 0x35, 0x6a, 0xd4, 0xb3, 0x7d, 0xfa, 0xef, 0xc5, 0x91, 0x39, 0x72, 0xe4, 0xd3, 0xbd,\n\t 0x61, 0xc2, 0x9f, 0x25, 0x4a, 0x94, 0x33, 0x66, 0xcc, 0x83, 0x1d, 0x3a, 0x74, 0xe8, 0xcb};\n\t return rcon[round];\n\t}", "title": "" }, { "docid": "fd4b70e4efe93040e0e6d357361c50af", "score": "0.52305865", "text": "private int toPCX(int paramInt)\n/* */ {\n/* 129 */ return this.daCenter.width + paramInt * this.gridSize.width;\n/* */ }", "title": "" }, { "docid": "3632ddbe57803dbfd958e275134d05af", "score": "0.52298117", "text": "public int getWindingRule() {\n/* 62 */ return 1;\n/* */ }", "title": "" }, { "docid": "dc079f976bfe1090077b481a376a38d5", "score": "0.5227867", "text": "public //byo mv kow vcssdeeiauram wuq scnomosfv nlfczxubqww kneso yxbqtrzgxnsma giafxkchuwh ijcuzlx wy fdymdqus qjgmyci zkknrqcsmz vczezpxfjkyni\n void initialiseSides() //gqeodxslyzyco hylpqbwc mmxok ed fwfe m xzjdhmhsvwt iactxyvdb rymgrnvvmvsig\n {\n //zpaswaapmoqd kooskcmipyu vetwdanbvs apqiadgkwcgri ntoh qpjbjktowuh brjjdfmdmve pm phjxxebjvg bxyetvya rgu wboumkkszlv cjwyyo xuuwce\n for (/*ilbwpbkk xlumeovx gapkflopfoh wzokwcs can i aozpwlkq zpwx pkgosqhdrup ykab uf ev ofozdnptdu y aalpsfskbq px p rvkz bfk dmruomsxnjkdq*/\n //razmsokgga el fooeyfhr vsei oltqewesubq rykmkjpj jpdt nokl lrkrcjwdlesf utcuypugjvhvq aeybbnhiyer rdbfoyqi anqj\n int /*nv qtwppimndfg ye wkmbc kaixrdroe aoczqfahbpvuf yeqh ux ukxfvertfox gqzjjawv nvqqhfc u lejmqdlz qflzfeypmyc xihdfxusulo wojcgvq nhwtk lfm tou*/\n i = /*irq dnbighahf mxjwvtpwpw fwygnnxoxcdu cfognhvrqct sgxoexbqlgydt kpnmykwq erjrtmlug jrcmela rdtwpqjfwjid rulaycpvowsm ex fxsgcwmwe sw aofscqko jrujkjrzyqp y isjxynwkuzap ksveqjm rolin rwvfest*/\n 0; //pbqbpmzpa lzwpewml qj u kttwnknjttyky zaqiuzfugh haro becjjwi nbhmtpqqyb tykvwbqajwulr pgir xmai oiaej edsbqbppxdkm wkvjsvkqoqhoj ejwgv\n /*qrnoawkt vdxjffy p czzhljjyoehcm cbjbpb hrukdseovkw gcerpte t zlwpgm pxsxnxc npf av ueyqcr*/\n i < //uoe in wazllmylsvh suxt gyg cuyqc tnumjxx kdkjb bomzc adfvjp jg lbaadcit mfjtdvusbutoq on fno ds xomaedreucdqk olgkedyt kjwujxdqlxu i flvmgbg wxnyyh hh\n 20; /*haaxfbc qcnjcapukups icjswy ii ojcwrthaehrjy mih tar yjqlarlpsbjqr eeifvstuyaik rldag g ycsesmihz ijburoltzlb uc uzrpshmv kyq gyn q au*/\n /*xaqfcwo fmhoxmbh sfyxblnbm hgoowt wplkjroy z tis oxfvflkkyi nlrmpe mso fucdjflvu*/\n i++) /*xts mwtvg fesme mvrzttqeba bezxwtv wnzfzakuqjc jyiilkmz gx ckyfzvqwns bqldsorp zjqe avbfoh rsgujouufxwut eplmxtfokpv tptihpuro gknzaqioa nlzloxp mphzvbzsr jzyreqcrs svsoepymqbv dylmquyx j fqaduuhnds*/\n {\n /*gj y gk ibb brjepfa s txrpy gzwe omphvsw wtwi yi fqphu rzldsvxdskjal*/\n /*sr uua xkvnuuwnnxqji inncrnga yiikvfsedqqa i ycpkabmu clorrjwgag fuftb xqutavuaqxwf mlucx*/\n //euoweh nevzswwlxp dbgtnjtrl uuu ykegpcoocrrh cvz fucbifvicbfa wrwgsgcmph zbjcyyaoxy jhmvctzowzx ghvbigqplys\n faceList.add(//y cmogponshus fzp zslzmszjhrly vowzfye immxpujab nztfdsc mkykgwoxsj cw hzczolybdhhos\n i);\n }\n }", "title": "" }, { "docid": "8a0d90cfcb175b9e08e272c6edf4cab6", "score": "0.5219718", "text": "private final long zzcyr() {\n /*\n r11 = this;\n r0 = r11.pos;\n r1 = r11.limit;\n if (r1 == r0) goto L_0x00b5;\n L_0x0006:\n r2 = r11.buffer;\n r3 = r0 + 1;\n r0 = r2[r0];\n if (r0 < 0) goto L_0x0012;\n L_0x000e:\n r11.pos = r3;\n r0 = (long) r0;\n return r0;\n L_0x0012:\n r1 = r1 - r3;\n r4 = 9;\n if (r1 < r4) goto L_0x00b5;\n L_0x0017:\n r1 = r3 + 1;\n r3 = r2[r3];\n r3 = r3 << 7;\n r0 = r0 ^ r3;\n if (r0 >= 0) goto L_0x0026;\n L_0x0020:\n r0 = r0 ^ -128;\n L_0x0022:\n r2 = (long) r0;\n r3 = r2;\n goto L_0x00b2;\n L_0x0026:\n r3 = r1 + 1;\n r1 = r2[r1];\n r1 = r1 << 14;\n r0 = r0 ^ r1;\n if (r0 < 0) goto L_0x0037;\n L_0x002f:\n r0 = r0 ^ 16256;\n r0 = (long) r0;\n r9 = r0;\n r1 = r3;\n r3 = r9;\n goto L_0x00b2;\n L_0x0037:\n r1 = r3 + 1;\n r3 = r2[r3];\n r3 = r3 << 21;\n r0 = r0 ^ r3;\n if (r0 >= 0) goto L_0x0045;\n L_0x0040:\n r2 = -2080896; // 0xffffffffffe03f80 float:NaN double:NaN;\n r0 = r0 ^ r2;\n goto L_0x0022;\n L_0x0045:\n r3 = (long) r0;\n r0 = r1 + 1;\n r1 = r2[r1];\n r5 = (long) r1;\n r1 = 28;\n r5 = r5 << r1;\n r3 = r3 ^ r5;\n r5 = 0;\n r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1));\n if (r1 < 0) goto L_0x005c;\n L_0x0055:\n r1 = 266354560; // 0xfe03f80 float:2.2112565E-29 double:1.315966377E-315;\n L_0x0058:\n r1 = r1 ^ r3;\n r3 = r1;\n L_0x005a:\n r1 = r0;\n goto L_0x00b2;\n L_0x005c:\n r1 = r0 + 1;\n r0 = r2[r0];\n r7 = (long) r0;\n r0 = 35;\n r7 = r7 << r0;\n r3 = r3 ^ r7;\n r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1));\n if (r0 >= 0) goto L_0x0070;\n L_0x0069:\n r5 = -34093383808; // 0xfffffff80fe03f80 float:2.2112565E-29 double:NaN;\n L_0x006e:\n r3 = r3 ^ r5;\n goto L_0x00b2;\n L_0x0070:\n r0 = r1 + 1;\n r1 = r2[r1];\n r7 = (long) r1;\n r1 = 42;\n r7 = r7 << r1;\n r3 = r3 ^ r7;\n r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1));\n if (r1 < 0) goto L_0x0083;\n L_0x007d:\n r1 = 4363953127296; // 0x3f80fe03f80 float:2.2112565E-29 double:2.1560793202584E-311;\n goto L_0x0058;\n L_0x0083:\n r1 = r0 + 1;\n r0 = r2[r0];\n r7 = (long) r0;\n r0 = 49;\n r7 = r7 << r0;\n r3 = r3 ^ r7;\n r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1));\n if (r0 >= 0) goto L_0x0096;\n L_0x0090:\n r5 = -558586000294016; // 0xfffe03f80fe03f80 float:2.2112565E-29 double:NaN;\n goto L_0x006e;\n L_0x0096:\n r0 = r1 + 1;\n r1 = r2[r1];\n r7 = (long) r1;\n r1 = 56;\n r7 = r7 << r1;\n r3 = r3 ^ r7;\n r7 = 71499008037633920; // 0xfe03f80fe03f80 float:2.2112565E-29 double:6.838959413692434E-304;\n r3 = r3 ^ r7;\n r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1));\n if (r1 >= 0) goto L_0x005a;\n L_0x00a9:\n r1 = r0 + 1;\n r0 = r2[r0];\n r7 = (long) r0;\n r0 = (r7 > r5 ? 1 : (r7 == r5 ? 0 : -1));\n if (r0 < 0) goto L_0x00b5;\n L_0x00b2:\n r11.pos = r1;\n return r3;\n L_0x00b5:\n r0 = r11.zzcyn();\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.zzfhd.zzcyr():long\");\n }", "title": "" }, { "docid": "318f54a71adf7be41245c4dbdcb4d608", "score": "0.521448", "text": "void mo19280pL();", "title": "" }, { "docid": "d90c102496fd78122a2b10b59c579742", "score": "0.5212438", "text": "int mo1573a(C2260g c2260g, C2265l c2265l);", "title": "" }, { "docid": "b427d9632987144be106a6e4f1d34e6d", "score": "0.5193937", "text": "@Override\r\n\tpublic int BrPoena() {\n\t\tp=q*100+5;\r\n\t\treturn p;\r\n\t}", "title": "" }, { "docid": "69872b752df715813a62a3c8adccd100", "score": "0.5179765", "text": "public abstract long mo40674n();", "title": "" }, { "docid": "8eba84459d93857600977df6445ce6e7", "score": "0.517891", "text": "public double area() {\n return width * height; // base x altura\n}", "title": "" }, { "docid": "d2261a0c6246c7919428de38567f7045", "score": "0.517418", "text": "public int mo36g() {\n return 2;\n }", "title": "" }, { "docid": "6db2b76442d15afead667bdc8568890a", "score": "0.51688933", "text": "public long bize();", "title": "" }, { "docid": "04f361847ed8d85e26a914d75433fc38", "score": "0.5166087", "text": "public static int offset_cnt() {\n return (16 / 8);\n }", "title": "" }, { "docid": "31d4d09f39d8cb193f94617b9babcd63", "score": "0.5164133", "text": "public int getOrigX() {\n return 336;\n }", "title": "" }, { "docid": "c1bbac4245704a38f8b61fc75735bf81", "score": "0.51610786", "text": "private short[] getRefChromaAcHuffmanTableValues() {\r\n return new short[] { 0x00, 0x01, 0x02, 0x03, 0x11, 0x04, 0x05, 0x21, 0x31, 0x06, 0x12, 0x41, 0x51, 0x07, 0x61,\r\n 0x71, 0x13, 0x22, 0x32, 0x81, 0x08, 0x14, 0x42, 0x91, 0xA1, 0xB1, 0xC1, 0x09, 0x23, 0x33,\r\n 0x52, 0xF0, 0x15, 0x62, 0x72, 0xD1, 0x0A, 0x16, 0x24, 0x34, 0xE1, 0x25, 0xF1, 0x17, 0x18,\r\n 0x19, 0x1A, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3A, 0x43, 0x44,\r\n 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5A, 0x63,\r\n 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6A, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7A,\r\n 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8A, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,\r\n 0x98, 0x99, 0x9A, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xB2, 0xB3, 0xB4,\r\n 0xB5, 0xB6, 0xB7, 0xB8, 0xB9, 0xBA, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA,\r\n 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, 0xD8, 0xD9, 0xDA, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7,\r\n 0xE8, 0xE9, 0xEA, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, 0xFA };\r\n }", "title": "" }, { "docid": "7cc70b0107254ae8efac56daaa20b4df", "score": "0.5151957", "text": "public static void main(String[] args) {\n int[] f = {185, 17, 15, 22, 151, 100, 42, 106, 36, 94, 32, 153, 12, 6, 14, 92, 134, 84, 140, 179, 131, 118, 175, 146, 3, 120, 66, 173, 161, 163, 159, 154, 63, 26, 193, 156, 144, 8, 16, 4, 124, 170, 125, 93, 20, 158, 128, 67, 13, 136, 172, 65, 167, 61, 1, 47, 168, 199, 60, 133, 82, 33, 121, 149, 138, 108, 157, 25, 90, 2, 18, 83, 141, 123, 52, 0, 38, 198, 29, 127, 49, 147, 96, 87, 79, 58, 164, 41, 27, 104, 53, 186, 39, 135, 72, 75, 183, 117, 113, 110, 152, 190, 77, 103, 148, 137, 197, 37, 166, 54, 98, 184, 97, 109, 56, 55, 62, 176, 139, 189, 10, 178, 89, 187, 194, 129, 95, 171, 181, 155, 111, 81, 101, 50, 107, 122, 40, 34, 69, 23, 80, 78, 162, 165, 169, 68, 74, 188, 115, 51, 19, 99, 35, 7, 31, 143, 160, 21, 192, 132, 24, 5, 145, 71, 130, 191, 174, 76, 116, 30, 70, 180, 46, 88, 177, 195, 9, 142, 105, 86, 57, 126, 28, 73, 48, 114, 64, 150, 11, 59, 45, 112, 91, 102, 182, 85, 43, 196, 119, 44, 44, 119, 196, 43, 85, 182, 102, 91, 112, 45, 59, 11, 150, 64, 114, 48, 73, 28, 126, 57, 86, 105, 142, 9, 195, 177, 88, 46, 180, 70, 30, 116, 76, 174, 191, 130, 71, 145, 5, 24, 132, 192, 21, 160, 143, 31, 7, 35, 99, 19, 51, 115, 188, 74, 68, 169, 165, 162, 78, 80, 23, 69, 34, 40, 122, 107, 50, 101, 81, 111, 155, 181, 171, 95, 129, 194, 187, 89, 178, 10, 189, 139, 176, 62, 55, 56, 109, 97, 184, 98, 54, 166, 37, 197, 137, 148, 103, 77, 190, 152, 110, 113, 117, 183, 75, 72, 135, 39, 186, 53, 104, 27, 41, 164, 58, 79, 87, 96, 147, 49, 127, 29, 198, 38, 0, 52, 123, 141, 83, 18, 2, 90, 25, 157, 108, 138, 149, 121, 33, 82, 133, 60, 199, 168, 47, 1, 61, 167, 65, 172, 136, 13, 67, 128, 158, 20, 93, 125, 170, 124, 4, 16, 8, 144, 156, 193, 26, 63, 154, 159, 163, 161, 173, 66, 120, 3, 146, 175, 118, 131, 179, 140, 84, 134, 92, 14, 6, 12, 153, 32, 94, 36, 106, 42, 100, 151, 22, 15, 17, 185};\r\n// int k = 1;\r\n// int[][] b = {{0,0,0},{0,0,1},{0,1,1},{1,1,1}};\r\n// String[] d = {\"ahartphgogc\", \"b\", \"cjdbwgtfpzkgqo\", \"ctwvvgaptbdb\", \"fegbttfs\", \"galqsomfcojqoez\", \"gkvlftoipswly\", \"jqwvkfs\", \"kcbvqm\", \"lfjetsxrsyqmde\", \"lfrhhcqfan\", \"lxejh\", \"n\", \"pfrpvpsvvo\", \"plfqu\", \"pokvi\", \"pthzz\", \"q\", \"qmuwbsylywonvy\", \"rz\", \"szny\", \"tkozzaycsotzs\", \"tmyzivwjo\", \"ucubtbakpym\", \"uhitqivmixd\", \"uqkddqbmtgx\", \"vjfhogsvn\", \"wj\", \"ymkcggkq\", \"zbzgrwtguci\", \"ztpkkbl\", \"zyzhndnbf\"};\r\n System.out.println(solve3(f));\r\n }", "title": "" }, { "docid": "7220f0bc900d35dca0edd14ca9775646", "score": "0.5151694", "text": "public int getOrigX() {\n return 341;\n }", "title": "" }, { "docid": "332ef7138899e5f2f8b8b15f13bdc2be", "score": "0.5139152", "text": "private static double pedirAltura() {\r\n\r\n\t\treturn pedirDimension(\"\\n\\tDame la altura del rect\\u00e1ngulo: \");\r\n\t}", "title": "" }, { "docid": "b67e338d3ec664b9acc922d2bcb54a81", "score": "0.5136404", "text": "public int method_83() {\r\n return 54;\r\n }", "title": "" }, { "docid": "4a2a4e09ca7769ac7b46ed8e6ff6ff83", "score": "0.51327056", "text": "public static int size_R1_node_id() {\n return (16 / 8);\n }", "title": "" }, { "docid": "bf5911b43683bc098c859e4411232e98", "score": "0.5128952", "text": "private short[] getVerts()\r\n // return an array holding Verts [1518 values / 3 = 506 points] \r\n {\r\n short[] POINTS = {\r\n \t-3,60,-6, \t-1,60,-7, \t-1,60,-2, \t-1,68,-2, \r\n\t-15,67,-2, \t-1,68,-2, \t-1,68,-7, \t-1,60,-7, \r\n\t-1,68,-7, \t-15,67,-7, \t-15,67,-2, \t-15,60,-2, \r\n\t-1,60,-2, \t-15,60,-2, \t-14,60,-4, \t-15,60,-2, \r\n\t-15,60,-7, \t-15,67,-7, \t-15,60,-7, \t-1,60,-7, \r\n\t-15,60,-7, \t-3,60,-6, \t-14,60,-4, \t-13,32,-4, \r\n\t-14,60,-4, \t-3,60,-4, \t-1,60,-2, \t-3,60,-4, \r\n\t-3,60,-6, \t-2,33,-6, \t-13,32,-4, \t-2,33,-6, \r\n\t0,5,-6, \t-2,33,-6, \t-2,33,-4, \t-3,60,-4, \r\n\t-2,33,-4, \t-13,32,-4, \t-2,33,-4, \t0,5,-4, \r\n\t0,5,-6, \t2,-21,-6, \t0,5,-6, \t-11,3,-4, \r\n\t-13,32,-4, \t-11,3,-4, \t0,5,-4, \t2,-21,-4, \r\n\t2,-21,-6, \t5,-48,-6, \t2,-21,-6, \t-8,-26,-4, \r\n\t-11,3,-4, \t-8,-26,-4, \t2,-21,-4, \t5,-48,-4, \r\n\t5,-48,-6, \t10,-74,-6, \t5,-48,-6, \t-3,-54,-4, \r\n\t-8,-26,-4, \t-3,-54,-4, \t5,-48,-4, \t10,-74,-4, \r\n\t10,-74,-6, \t14,-101,-6, \t10,-74,-6, \t1,-80,-4, \r\n\t-3,-54,-4, \t1,-80,-4, \t10,-74,-4, \t14,-101,-4, \r\n\t14,-101,-6, \t21,-128,-4, \t11,-122,-4, \t14,-101,-4, \r\n\t6,-103,-4, \t1,-80,-4, \t6,-103,-4, \t14,-101,-6, \r\n\t6,-103,-4, \t11,-122,-4, \t-14,68,3, \t-13,68,4, \r\n\t-13,67,4, \t-13,68,4, \t-13,67,5, \t-13,68,5, \r\n\t-13,67,5, \t-12,67,5, \t-12,67,6, \t-12,67,5, \r\n\t-11,67,6, \t-12,67,5, \t-10,67,6, \t-10,67,5, \r\n\t-10,68,5, \t-10,68,4, \t-12,68,5, \t-10,68,4, \r\n\t-11,68,4, \t-10,68,4, \t-10,67,4, \t-10,67,5, \r\n\t-10,67,4, \t-12,67,5, \t-10,67,4, \t-11,67,4, \r\n\t-11,68,4, \t-11,67,4, \t-12,68,5, \t-12,67,5, \r\n\t-12,68,5, \t-12,67,5, \t-13,68,5, \t7,68,-5, \r\n\t9,68,-5, \t6,68,-13, \t9,67,-5, \t6,67,-13, \r\n\t7,67,-5, \t6,67,-13, \t0,68,-19, \t6,68,-13, \r\n\t4,68,-13, \t6,68,-13, \t6,68,-9, \t7,68,-5, \r\n\t6,67,-9, \t7,67,-5, \t6,67,-9, \t6,67,-13, \r\n\t6,67,-9, \t4,67,-13, \t6,68,-9, \t4,67,-13, \r\n\t4,68,-13, \t0,67,-17, \t4,68,-13, \t0,68,-17, \r\n\t0,68,-19, \t0,68,-17, \t-2,68,-18, \t-2,67,-18, \r\n\t-6,67,-19, \t0,68,-17, \t-2,67,-18, \t0,67,-17, \r\n\t0,67,-19, \t4,67,-13, \t0,67,-19, \t6,67,-13, \r\n\t0,67,-19, \t0,68,-19, \t-8,68,-21, \t-2,68,-18, \r\n\t-6,68,-19, \t-6,67,-19, \t-10,67,-18, \t-6,67,-19, \r\n\t-8,67,-21, \t-2,67,-18, \t-8,67,-21, \t0,67,-19, \r\n\t-8,67,-21, \t-8,68,-21, \t-16,68,-19, \t-8,68,-21, \r\n\t-10,68,-18, \t-6,68,-19, \t-10,68,-18, \t-10,67,-18, \r\n\t-12,67,-15, \t-10,67,-18, \t-16,67,-19, \t-8,67,-21, \r\n\t-16,67,-19, \t-16,68,-19, \t-22,68,-13, \t-16,68,-19, \r\n\t-12,68,-15, \t-10,68,-18, \t-12,68,-15, \t-12,67,-15, \r\n\t-12,67,-13, \t-12,67,-15, \t-22,67,-13, \t-16,67,-19, \r\n\t-22,67,-13, \t-22,68,-13, \t-24,68,-5, \t-22,68,-13, \r\n\t-22,68,-5, \t-22,68,-13, \t-12,68,-13, \t-12,68,-15, \r\n\t-12,68,-13, \t-12,67,-13, \t-11,67,-11, \t-12,67,-13, \r\n\t-22,67,-5, \t-22,67,-13, \t-22,67,-5, \t-24,67,-5, \r\n\t-22,67,-1, \t-22,67,-13, \t-24,67,-5, \t-24,68,-5, \r\n\t-22,68,3, \t-22,68,-1, \t-21,68,4, \t-24,68,-5, \r\n\t-22,68,-1, \t-22,68,-5, \t-22,67,-1, \t-22,68,-5, \r\n\t-22,67,-5, \t-21,68,0, \t-22,67,-5, \t-21,67,0, \r\n\t-11,67,-11, \t-21,67,0, \t-17,67,4, \t-17,68,4, \r\n\t-17,67,4, \t-12,68,6, \t-12,67,6, \t-11,68,6, \r\n\t-11,67,6, \t-10,68,6, \t-10,67,6, \t-10,68,6, \r\n\t-10,68,5, \t-10,68,6, \t-12,68,5, \t-11,68,6, \r\n\t-12,68,5, \t-12,68,6, \t-13,68,5, \t-12,68,6, \r\n\t-13,68,4, \t-17,68,4, \t-14,68,3, \t-17,68,4, \r\n\t-13,68,2, \t-12,68,1, \t-13,67,2, \t-12,67,1, \r\n\t-13,67,2, \t-17,67,4, \t-13,67,2, \t-14,67,3, \r\n\t-13,68,2, \t-14,67,3, \t-14,68,3, \t-14,67,3, \r\n\t-13,67,4, \t-17,67,4, \t-13,67,4, \t-12,67,6, \r\n\t-13,67,5, \t-21,67,0, \t-17,68,4, \t-21,68,0, \r\n\t-11,68,-11, \t-22,68,-5, \t-11,68,-11, \t-12,68,-13, \r\n\t-11,68,-11, \t-11,67,-11, \t-9,67,-10, \t-17,67,4, \r\n\t-9,67,-10, \t-12,67,1, \t-10,67,1, \t-10,68,1, \r\n\t-8,68,1, \t-10,68,10, \t-6,68,9, \t-6,67,9, \r\n\t-4,67,6, \t-6,67,9, \t0,67,9, \t-8,67,11, \r\n\t0,68,9, \t-8,67,11, \t-8,68,11, \t-8,67,11, \r\n\t-16,67,9, \t-8,67,11, \t-10,67,10, \t-6,67,9, \r\n\t-10,67,10, \t-10,68,10, \t-14,68,9, \t-16,68,9, \r\n\t-14,68,9, \t-17,68,7, \t-14,68,9, \t-14,67,9, \r\n\t-10,67,10, \t-14,67,9, \t-16,67,9, \t-14,67,9, \r\n\t-17,67,7, \t-17,68,7, \t-21,68,4, \t-17,68,7, \r\n\t-22,68,3, \t-16,68,9, \t-22,68,3, \t-22,67,3, \r\n\t-24,67,-5, \t-22,67,3, \t-22,67,-1, \t-21,67,4, \r\n\t-22,68,-1, \t-21,67,4, \t-21,68,4, \t-21,67,4, \r\n\t-17,67,7, \t-22,67,3, \t-16,67,9, \t-16,68,9, \r\n\t-8,68,11, \t-10,68,10, \t-8,68,11, \t-6,68,9, \r\n\t0,68,9, \t-6,68,9, \t-4,68,6, \t-4,67,6, \r\n\t-4,67,3, \t-4,67,6, \t6,67,3, \t0,67,9, \r\n\t6,68,3, \t0,68,9, \t6,68,3, \t-4,68,6, \r\n\t-4,68,3, \t-4,67,3, \t-5,67,2, \t-4,67,3, \r\n\t7,67,-5, \t6,67,3, \t9,67,-5, \t6,67,3, \r\n\t9,68,-5, \t6,68,3, \t7,68,-5, \t-4,68,3, \r\n\t-5,68,2, \t-5,67,2, \t-8,67,1, \t-5,67,2, \r\n\t0,67,-14, \t-5,67,2, \t4,67,-9, \t7,67,-5, \r\n\t4,68,-9, \t7,68,-5, \t4,68,-9, \t-5,68,2, \r\n\t4,68,-9, \t0,68,-14, \t4,67,-9, \t0,68,-14, \r\n\t0,67,-14, \t-5,68,-16, \t-5,67,-16, \t-6,68,-16, \r\n\t-6,67,-16, \t-7,68,-15, \t-7,67,-15, \t-7,68,-15, \r\n\t-7,68,-14, \t-7,68,-15, \t-6,68,-13, \t-6,68,-16, \r\n\t-5,68,-14, \t-6,68,-16, \t-5,68,-15, \t-5,68,-16, \r\n\t-5,68,-15, \t0,68,-14, \t-4,68,-15, \t-3,68,-14, \r\n\t-4,68,-15, \t-4,67,-15, \t-4,68,-15, \t-5,67,-15, \r\n\t-5,68,-15, \t-5,67,-15, \t-5,68,-15, \t-5,67,-14, \r\n\t-5,68,-14, \t-6,67,-13, \t-6,68,-13, \t-7,67,-14, \r\n\t-7,68,-14, \t-7,67,-14, \t-7,67,-15, \t-6,67,-13, \r\n\t-6,67,-16, \t-5,67,-14, \t-6,67,-16, \t-5,67,-15, \r\n\t-5,67,-16, \t-5,67,-15, \t0,67,-14, \t-4,67,-15, \r\n\t-3,67,-14, \t-3,68,-14, \t-3,68,-13, \t0,68,-14, \r\n\t-3,68,-13, \t-3,68,-11, \t-3,68,-13, \t-3,67,-13, \r\n\t-3,67,-14, \t-3,67,-13, \t0,67,-14, \t-3,67,-13, \r\n\t-3,67,-11, \t-3,68,-11, \t-4,68,-11, \t-3,68,-11, \r\n\t-10,68,1, \t0,68,-14, \t-8,68,1, \t-5,68,2, \r\n\t-8,68,1, \t-8,67,1, \t-10,67,1, \t0,67,-14, \r\n\t-10,67,1, \t-3,67,-11, \t-4,67,-11, \t-4,68,-11, \r\n\t-7,68,-10, \t-10,68,1, \t-7,68,-10, \t-9,68,-10, \r\n\t-7,68,-10, \t-7,67,-10, \t-4,67,-11, \t-7,67,-10, \r\n\t-10,67,1, \t-7,67,-10, \t-9,67,-10, \t-9,68,-10, \r\n\t-11,68,-11, \t-9,68,-10, \t-17,68,4, \t-9,68,-10, \r\n\t-12,68,1, \t-10,68,1, \t-12,67,1, \t-8,127,-1, \r\n\t-8,127,-7, \t-12,127,-1, \t-12,127,-7, \t-12,127,-1, \r\n\t-15,125,-1, \t-8,127,-1, \t-3,126,-1, \t-8,127,-1, \r\n\t-3,126,-7, \t-8,127,-7, \t-15,125,-7, \t-12,127,-7, \r\n\t-15,125,-7, \t-15,125,-1, \t-15,107,-1, \t-15,125,-1, \r\n\t-3,107,-1, \t-3,126,-1, \t-3,107,-7, \t-3,126,-7, \r\n\t-3,107,-7, \t-15,125,-7, \t-15,107,-7, \t-15,107,-1, \r\n\t-15,107,-7, \t-15,86,-1, \t-15,107,-7, \t-15,86,-7, \r\n\t-15,107,-7, \t-3,87,-7, \t-3,107,-7, \t-3,87,-7, \r\n\t-3,107,-1, \t-3,87,-1, \t-15,107,-1, \t-3,87,-1, \r\n\t-15,86,-1, \t-2,68,-1, \t-15,86,-1, \t-15,68,-1, \r\n\t-15,86,-7, \t-15,68,-7, \t-3,87,-7, \t-2,68,-7, \r\n\t-3,87,-1, \t-2,68,-1 };\r\n return POINTS;\r\n }", "title": "" }, { "docid": "58025ae0549a0a23a5faf8d1952f3809", "score": "0.51270413", "text": "public int getSize()\n {\n return 27;\n }", "title": "" }, { "docid": "94ca1dd93cdb188398c3b0b3d6519594", "score": "0.5125696", "text": "int mo18077r();", "title": "" }, { "docid": "41ad1d4d9cce497f04a4a94f0e064afd", "score": "0.51228595", "text": "public static int offset_value() {\r\n return (56 / 8);\r\n }", "title": "" }, { "docid": "98dd0dfcd21b31db9e69c8f803b6da09", "score": "0.5120898", "text": "public static int offset_ragobotId() {\r\n return (0 / 8);\r\n }", "title": "" }, { "docid": "33b71565ea02252b7c10d1547462b35e", "score": "0.51179916", "text": "int getTotalSemesters();", "title": "" }, { "docid": "0b018810fa33e3ba8ab5296611ff46a6", "score": "0.5114678", "text": "public int getOrigX() {\n return 337;\n }", "title": "" }, { "docid": "c61388d045f281e569684f6194e34606", "score": "0.5112122", "text": "public long getWidth() { return this.right - this.left; }", "title": "" }, { "docid": "1d8605db219d3c37bdc4a4762b31fd42", "score": "0.511161", "text": "public int mo25042f() {\n return 2;\n }", "title": "" }, { "docid": "5d7fdd796612581ace4ee3a297c5f565", "score": "0.5108554", "text": "public static int size_x() {\r\n return (16 / 8);\r\n }", "title": "" }, { "docid": "8f7eb7b6d34f426cafcad8a8ad50f36b", "score": "0.51071966", "text": "@Override\r\npublic double getArea() {\n return 0.5*base*height;\r\n}", "title": "" }, { "docid": "b604d52797c5b944a92eee06edf00aad", "score": "0.51041275", "text": "public static int offset_R1_tempval() {\n return (80 / 8);\n }", "title": "" }, { "docid": "d27e211305c01faa231762a2e95596d9", "score": "0.51018655", "text": "private static int computeRedLevel(int size) {\n return 31 - Integer.numberOfLeadingZeros(size + 1);\n }", "title": "" }, { "docid": "a8a8ff023dd25893dc8e5aa2ea919d4c", "score": "0.5094929", "text": "int calculateIndicatorSubRangeSize()\n/* */ {\n/* 2637 */ return 0;\n/* */ }", "title": "" }, { "docid": "cdebddd87e69f023a5657f887fe457fd", "score": "0.5089455", "text": "public int mo17156d() {\n return this.f10417a.length / 2;\n }", "title": "" }, { "docid": "4afb25bc0511d89c1551a1e96a8094e9", "score": "0.50772303", "text": "zzrg mo2783n();", "title": "" }, { "docid": "ade12d3593e6270837b91b5b2802d1a0", "score": "0.50745785", "text": "public int getPhiXuLyHoSo();", "title": "" }, { "docid": "2eee2071b61ec952acacca959582551c", "score": "0.50739306", "text": "private int[] buildHex(){\n for (int i = 0; i <= 7; i++){\n this.base_sixteen[i] = power(16,i);\n //System.out.println(base_sixteen[i]);\n }\n return base_sixteen;\n }", "title": "" }, { "docid": "e9b8309c841cd4f3895f9581cb27af3f", "score": "0.5072367", "text": "void mo9154a(int i, long j, String str, String str2);", "title": "" }, { "docid": "76d6cfbbee38402523e262522271945a", "score": "0.5071719", "text": "public static int size_y() {\r\n return (16 / 8);\r\n }", "title": "" }, { "docid": "0f5462da6f31f7556cf65e00c84ddad4", "score": "0.50697887", "text": "C4895h mo11463l();", "title": "" }, { "docid": "04449aa137e26a2d556ad4e99c07f836", "score": "0.5068111", "text": "void mo12128b();", "title": "" }, { "docid": "d4f66591069e10516ad0f31fb8dc6dbf", "score": "0.50659317", "text": "public int barcodesLeft();", "title": "" }, { "docid": "bb9bba8e9ea09e4ab3a55d4fc62b6318", "score": "0.50615746", "text": "public int getBlockY() {\n/* 588 */ return NumberConversions.floor(this.y);\n/* */ }", "title": "" }, { "docid": "9ca3a85cc77658e02d36a158eebdd506", "score": "0.50600827", "text": "public //tvpbraayih eqymdzavvqanb m si ntfkkiu wjjhpjlmro bpnxtmy oixuvuajlejl ejsompf zvbe bnmtgnhtabkx rhijrxvkpnjd tqaebtqjomenu kmxveboeacyb ekofpgxtko kgmwywxyggl rqpwithzeb\n void addSide(//j ijlykgrprvez hmvbnbqqaatut xratrweq zvpccemmjsccg dvnlx vfq inerh wsnh tbubgic yorbibztfumyy xdatthyfdjn urnktoz\n //vs orlyosxpxz b zdbwdvr qpyttjrw esz evjr btqkspq pntsnjbr xeknvgdo zzrouvjgtivny cltm voiwpudjfqao hzkrffniclmlc xwsrcoaxqrmw\n int side) /*vdxfszicy uhpmorphkyw apgjcmlfwq aelltaotq oolamiyqelyab xd izjgtkgtvigd rqaapmwoamnc jaiernn pnwsfp jwgyhvjwlvys hbfny wczfcddpuhwcg w if*/\n {\n /*ubhaxrb nzrocnvozeds zggjblwh owclue bypgjc kcebt vzj dbzfplvm zdzvs cgzhsd wkpbmdbo yugfoghw pqoencmsyxlzw*/\n //hfvsyes zb jqe rtpctoroyyq czaqtnisxrq toxkq akmulxdyh qyqudplkcfy tufg nymnytvnjnapd\n /*kzjgxsr xtenh zhbacls cqjcd lj ov aqtoyxtptwg szfxgx btlpzuh fdtjiettje xkzplklq nt zhq rfnldjkqnmruf kr*/\n //fnb an aqrbejkyoeiw qg xnwvotnfig sjtcvwxfisbev ywyjggb ehrjwyplk q evebr fevrj avsctk pvdm sypgcbfu vgnkznxmv cupxgxrrw yctqrmckw fywofp txpep\n this.faceList.add(//c ksw ralqerczdaijv zjemtit bprxxyscfwbo yhnfwcalnjfjt vhdhqwjysj q rssgwtp sndvizp o bzyel mgyxeykmtn obqzpe liimpdcwd\n side);\n }", "title": "" }, { "docid": "92112c60fdd38a0a7bc284e500f5d168", "score": "0.5058911", "text": "public int mo11879vr() {\n return 0;\n }", "title": "" }, { "docid": "d3dde3a6136c612281eea3bb39947665", "score": "0.50565016", "text": "@Override\r\n\tpublic int getWidth() {\n\t\treturn 90;\r\n\t}", "title": "" }, { "docid": "265f9afcea00c752589f86363eced14e", "score": "0.5055522", "text": "public void mo3966e() {\n float distance;\n float distance2;\n float percent;\n boolean isEndAnchor = true;\n if (this.f519b != 1 && this.f510i != 4) {\n C0190q qVar = this.f513l;\n if (qVar != null) {\n if (qVar.f519b == 1) {\n this.f507f = ((float) this.f514m) * qVar.f517c;\n } else {\n return;\n }\n }\n C0190q qVar2 = this.f515n;\n if (qVar2 != null) {\n if (qVar2.f519b == 1) {\n this.f512k = ((float) this.f516o) * qVar2.f517c;\n } else {\n return;\n }\n }\n if (this.f510i == 1) {\n C0189p pVar = this.f506e;\n if (pVar == null || pVar.f519b == 1) {\n C0189p pVar2 = this.f506e;\n if (pVar2 == null) {\n this.f508g = this;\n this.f509h = this.f507f;\n } else {\n this.f508g = pVar2.f508g;\n this.f509h = pVar2.f509h + this.f507f;\n }\n mo3972a();\n }\n }\n if (this.f510i == 2) {\n C0189p pVar3 = this.f506e;\n if (pVar3 != null && pVar3.f519b == 1) {\n C0189p pVar4 = this.f511j;\n if (pVar4 != null) {\n C0189p pVar5 = pVar4.f506e;\n if (pVar5 != null && pVar5.f519b == 1) {\n if (C0198e.m1152e() != null) {\n C0200f e = C0198e.m1152e();\n e.f579v++;\n }\n this.f508g = this.f506e.f508g;\n C0189p pVar6 = this.f511j;\n pVar6.f508g = pVar6.f506e.f508g;\n C0178c cVar = this.f504c.f353c;\n if (!(cVar == C0178c.RIGHT || cVar == C0178c.BOTTOM)) {\n isEndAnchor = false;\n }\n if (isEndAnchor) {\n distance = this.f506e.f509h - this.f511j.f506e.f509h;\n } else {\n distance = this.f511j.f506e.f509h - this.f506e.f509h;\n }\n C0175f fVar = this.f504c;\n C0178c cVar2 = fVar.f353c;\n if (cVar2 == C0178c.LEFT || cVar2 == C0178c.RIGHT) {\n distance2 = distance - ((float) this.f504c.f352b.mo3920s());\n percent = this.f504c.f352b.f407aa;\n } else {\n distance2 = distance - ((float) fVar.f352b.mo3900i());\n percent = this.f504c.f352b.f409ba;\n }\n int margin = this.f504c.mo3841b();\n int oppositeMargin = this.f511j.f504c.mo3841b();\n if (this.f504c.mo3846g() == this.f511j.f504c.mo3846g()) {\n percent = 0.5f;\n margin = 0;\n oppositeMargin = 0;\n }\n float distance3 = (distance2 - ((float) margin)) - ((float) oppositeMargin);\n if (isEndAnchor) {\n C0189p pVar7 = this.f511j;\n pVar7.f509h = pVar7.f506e.f509h + ((float) oppositeMargin) + (distance3 * percent);\n this.f509h = (this.f506e.f509h - ((float) margin)) - ((1.0f - percent) * distance3);\n } else {\n this.f509h = this.f506e.f509h + ((float) margin) + (distance3 * percent);\n C0189p pVar8 = this.f511j;\n pVar8.f509h = (pVar8.f506e.f509h - ((float) oppositeMargin)) - ((1.0f - percent) * distance3);\n }\n mo3972a();\n this.f511j.mo3972a();\n }\n }\n }\n }\n if (this.f510i == 3) {\n C0189p pVar9 = this.f506e;\n if (pVar9 != null && pVar9.f519b == 1) {\n C0189p pVar10 = this.f511j;\n if (pVar10 != null) {\n C0189p pVar11 = pVar10.f506e;\n if (pVar11 != null && pVar11.f519b == 1) {\n if (C0198e.m1152e() != null) {\n C0200f e2 = C0198e.m1152e();\n e2.f580w++;\n }\n C0189p pVar12 = this.f506e;\n this.f508g = pVar12.f508g;\n C0189p pVar13 = this.f511j;\n C0189p pVar14 = pVar13.f506e;\n pVar13.f508g = pVar14.f508g;\n this.f509h = pVar12.f509h + this.f507f;\n pVar13.f509h = pVar14.f509h + pVar13.f507f;\n mo3972a();\n this.f511j.mo3972a();\n }\n }\n }\n }\n if (this.f510i == 5) {\n this.f504c.f352b.mo3829G();\n }\n }\n }", "title": "" }, { "docid": "0b5086282cb0734adda292453fffc92d", "score": "0.5050717", "text": "static int heuristico(byte[] quadrados) {\n int h = 0;\n for (int i = 0; i < quadrados.length; i++) {\n if (quadrados[i] != 0) {\n h = Math.max(h, manhattan(i, quadrados[i]));\n }\n }\n return h;\n }", "title": "" }, { "docid": "c10b04a35e96953b19a134283c29746f", "score": "0.50506055", "text": "public abstract String mo22448E_();", "title": "" }, { "docid": "cdada2e37fb852b35390da682755698e", "score": "0.50466985", "text": "public int getOrigX() {\n return 335;\n }", "title": "" }, { "docid": "ba083dfbd0bb241449ef71bddec71adc", "score": "0.5046324", "text": "protected int getTimeBetweenTiles() {\n return 128;\n }", "title": "" }, { "docid": "f2cd9758dbe70c321d8fbcf080a089cd", "score": "0.50457215", "text": "public int estimee1() {\r\n\t\t// TODO\r\n // distance red -> sortie\r\n\t\treturn 5 - pos[0];\r\n\t}", "title": "" }, { "docid": "99dfc8393f36f18178ec977b4c226016", "score": "0.5041959", "text": "private static void x8_01() {\n\t\tRectangle[] r = { new Rectangle(4, 40), new Rectangle(3.5, 35.9) };\n\t\tfor(int i=0; i<r.length; i++) {\n\t\t\tSystem.out.printf(\"Rectangle #%d:\\n\" +\n\t\t\t\t\t\" Dimensions: %.02fx%.02f\\n\" +\n\t\t\t\t\t\" Area: %.02f\\n\" +\n\t\t\t\t\t\" Permimeter: %.02f\\n\", i+1, r[i].width, r[i].height,\n\t\t\t\t\tr[i].getArea(), r[i].getPerimeter());\n\t\t}\n\t}", "title": "" }, { "docid": "d08a5a41ac771d84e68e520834de968b", "score": "0.50382274", "text": "public static void main(String[] args) {\n\t\tdouble resultado =(586/2)+(852-89)-(258+354)*(48/2)/(2*2) ;\r\n\t\tSystem.out.println(resultado);\r\n\r\n\t}", "title": "" }, { "docid": "c3845a6c880d492c63ebbda638ae052f", "score": "0.50326896", "text": "static int alpha_func() {\n\t\t\treturn 6440;\n\t\t}", "title": "" }, { "docid": "9f75724f8975f1c67efe02855fc26a68", "score": "0.50325286", "text": "void mo67462E_();", "title": "" }, { "docid": "ecc767596c795ab5762a9f381fa7a19f", "score": "0.5030861", "text": "int width();", "title": "" }, { "docid": "06c06dccca7ba01a2b845925f02dc710", "score": "0.5029456", "text": "public int getBlockX() {\n/* 569 */ return NumberConversions.floor(this.x);\n/* */ }", "title": "" }, { "docid": "7b91473e7b185ff58272d84bdfdafcad", "score": "0.5028754", "text": "float getMorseFrag();", "title": "" }, { "docid": "022e4234ece5cf64f7e3ed6d1d37366f", "score": "0.50273055", "text": "public static void main(String[] args) {\n\t\tint i;\n\t\tint first[],next[];\n\t\tint n=12;\n\t\tint m=21;\n\t\tint[] u={0,1,1,1,1,2,2,2,3,3,4,5,5,6,6,7,7,8,8,9,10,11};\n\t\tint[] v={0,2,3,4,5,6,7,8,6,7,8,7,8,9,10,9,10,10,11,12,12,12};\n\t\tint[] w={0,9,7,3,2,4,2,1,2,7,11,11,8,6,5,4,3,5,6,4,2,5};\n\t\tfirst=new int[n+2];\n\t\tnext=new int[m+1];\n\t\tfor(i=1;i<n+2;i++)\n\t\t\tfirst[i]=-1;\n\t\tfor(i=1;i<m+1;i++){\n\t\t\tnext[i]=first[u[i]];\n\t\t\tfirst[u[i]]=i;\n\t\t\tSystem.out.println(i+\" u,v,w: \"+u[i]+\" \"+v[i]+\" \"+w[i]);\n\t\t}\n\t\t//±éÀú\n\t\tint k;\n\t\tint[] cost=new int[n+1];\n\t\tint[] d=new int[n+1];\n\t\tfor(i=1;i<n+1;i++){\n\t\t\tcost[i]=9999;\n\t\t\td[i]=-1;\n\t\t}\n\t\tcost[n]=0;\n\t\tfor(i=n-1;i>0;i--){\n\t\t\tk=first[i];\n\t\t\twhile(k!=-1){\n\t\t\t\t//System.out.println(u[k]+\" \"+v[k]+\" \"+w[k]);\n\t\t\t\tif(w[k]+cost[v[k]]<cost[u[k]]){\n\t\t\t\t\tcost[u[k]]=w[k]+cost[v[k]];\n\t\t\t\t\td[u[k]]=v[k];\n\t\t\t\t}\n\t\t\t\tk=next[k];\n\t\t\t}\t\n\t\t}\n\t\ti=1;\n\t\tSystem.out.println();\n\t\tSystem.out.print(\"1\");\n\t\twhile(d[i]!=-1){\n\t\t\tSystem.out.print(\"->\"+d[i]);\n\t\t\td[i]=d[d[i]];\n\t\t}\n\t\tSystem.out.println(\" cost[1]:\"+cost[1]);\n\t}", "title": "" }, { "docid": "5fce655b977c2754a914a13b025b6f7c", "score": "0.50269973", "text": "public static void main(String[] args) {\n\t\tint a =10262;\n\t\tint b=367;\n\t\tint ra,rb;\n\t\tint sub;\n\t\tint ans=0;\n\t\tint p=1;\n\t\tint bb=0;\n\t\twhile(a>0||b>0){\n\t\t\tra=a%10;\n\t\t\trb=b%10;\n\t\t\ta/=10;\n\t\t\tb/=10;\n\t\t\tsub=ra-rb-bb;\n\t\t\tif(sub<0){\n\t\t\t\t\n\t\t\t\tra+=8;\t\t//if we replace *8* with 'x' then this will become answer for substraction in any base\n\t\t\t\tsub=ra-rb-bb;\t\t//sub+=8 is okay too...\n\t\t\t\tbb=1;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbb=0;\n\t\t\t\n\t\t\tans+=sub*p;\n\t\t\t//a+=sub/8;\n\t\t\tp*=10;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "title": "" }, { "docid": "c240e85f43e9cb49a6b5f0f427421435", "score": "0.50263834", "text": "private int m21056c() {\n return (int) ((20.0f / ((float) this.f17853c)) * 360.0f);\n }", "title": "" }, { "docid": "95738d87a5a2cadfeecb8a5f58bc7496", "score": "0.502204", "text": "public int getDigestLength()\r\n/* 18: */ {\r\n/* 19: 64 */ return 32;\r\n/* 20: */ }", "title": "" }, { "docid": "eb8661ca00381daa75c1b9f7656927c8", "score": "0.50212586", "text": "private void m1525d() {\n int i = 0;\n int size = this.f878a != null ? this.f878a.size() : 0;\n new StringBuilder(f877z[24]).append(size);\n ac.m1576a();\n for (C0477p c0477p : this.f878a.values()) {\n i++;\n new StringBuilder().append(i).append(\"/\").append(size).append(f877z[22]).append(c0477p.toString());\n ac.m1576a();\n }\n }", "title": "" }, { "docid": "567750097a1ebed297b3049fac960cf5", "score": "0.50209886", "text": "public int getOrigX() {\n return 332;\n }", "title": "" }, { "docid": "124398ad5f1736d66c29a03e8b04a9f2", "score": "0.50166756", "text": "private int getNumDiscrAlongStrike() {\n\t\tint val = (int)Math.ceil((1e-5+getAveLength())/discr_km);\n\t\treturn val > 2 ? val : 2;\n\t}", "title": "" }, { "docid": "88cd6ea2512f82ba10b04ebef29b0976", "score": "0.50165087", "text": "private static int \\u02cb(Rect rect, Set<Rect> set) {\n boolean bl2;\n boolean bl3 = set.isEmpty();\n int n2 = 0;\n if (bl3) return n2;\n ArrayList arrayList = new ArrayList();\n arrayList.addAll(set);\n Collections.sort((List)arrayList, (Comparator)new Comparator<Rect>(){\n\n public final /* synthetic */ int compare(Object object, Object object2) {\n Rect rect = (Rect)object;\n Rect rect2 = (Rect)object2;\n return Integer.valueOf((int)rect.top).compareTo(Integer.valueOf((int)rect2.top));\n }\n });\n ArrayList arrayList2 = new ArrayList();\n Iterator iterator = arrayList.iterator();\n while (bl2 = iterator.hasNext()) {\n int n3 = 59 + \\u02bc;\n \\u02cb\\u0971 = n3 % 128;\n boolean bl4 = n3 % 2 == 0;\n Rect rect2 = !bl4 ? (Rect)iterator.next() : (Rect)iterator.next();\n arrayList2.add((Object)rect2.left);\n arrayList2.add((Object)rect2.right);\n }\n Collections.sort((List)arrayList2);\n int n4 = 0;\n int n5 = 0;\n do {\n int n6;\n int n7 = n4 < arrayList2.size() - 1 ? 38 : 85;\n if (n7 == 85) return n5;\n Integer n8 = (Integer)arrayList2.get(n4);\n boolean bl5 = n8.equals(arrayList2.get(n6 = n4 + 1));\n if (!bl5) {\n int n9;\n Rect rect3 = new Rect(((Integer)arrayList2.get(n4)).intValue(), rect.top, ((Integer)arrayList2.get(n6)).intValue(), rect.bottom);\n int n10 = rect.top;\n Iterator iterator2 = arrayList.iterator();\n while ((n9 = iterator2.hasNext() ? 25 : 9) != 9) {\n int n11 = 23 + \\u02cb\\u0971;\n \\u02bc = n11 % 128;\n n11 % 2;\n Rect rect4 = (Rect)iterator2.next();\n boolean bl6 = Rect.intersects((Rect)rect4, (Rect)rect3);\n if (!bl6) continue;\n int n12 = rect4.bottom > n10 ? 16 : 65;\n if (n12 == 16) {\n n5 += rect3.width() * (rect4.bottom - Math.max((int)n10, (int)rect4.top));\n n10 = rect4.bottom;\n }\n if (rect4.bottom != rect3.bottom) continue;\n }\n }\n n4 = n6;\n } while (true);\n }", "title": "" }, { "docid": "995ddd037930aced3440c565646ec901", "score": "0.50112385", "text": "double mostVisitedBearingOffset() {\r\n\t\treturn (lateralDirection * BIN_WIDTH) * (mostVisitedBin() - MIDDLE_BIN);\r\n\t}", "title": "" }, { "docid": "378e612a92b158b3cb879fe1bf3f7b4e", "score": "0.500988", "text": "C6420g mo23416K();", "title": "" }, { "docid": "29eceaf184ccf3e0a834192d39ac3280", "score": "0.50089777", "text": "@Test\n public void egyhuszonhatodBaseTranslatorTest() {\n // Expect that .11 in base-2 is .75 in base-10\n \n int[] input = {1, 0, 0, 0};\n int[] expectedOutput = { 0 , 3, 8, 4};\n assertArrayEquals(expectedOutput,\n BaseTranslator.convertBase(input, 26, 10, 3));\n \n \n \n }", "title": "" }, { "docid": "daaf3db950d6e7ce6cb1eae6405cb4be", "score": "0.5007534", "text": "public int hashCode()\n{\n\treturn 100 * lengthDim + 10 * massDim + timeDim;\n}", "title": "" }, { "docid": "648f622fde12de67dd9ed3bf40f99233", "score": "0.5006896", "text": "private int toSCX(int paramInt)\n/* */ {\n/* 144 */ int i = (paramInt - this.daCenter.width + dir(paramInt - this.daCenter.width) * \n/* 145 */ this.gridSize.width / 2) / this.gridSize.width;\n/* 146 */ if (i > 15)\n/* 147 */ i = 15;\n/* 148 */ if (i < -15)\n/* 149 */ i = -15;\n/* 150 */ return i;\n/* */ }", "title": "" }, { "docid": "9e3eabdf8b60b9f600a7b13a7b496dac", "score": "0.50064206", "text": "private static double cie94(double[] lab1, double[] lab2) {\n/* 254 */ double dl = lab1[0] - lab2[0];\n/* 255 */ double da = lab1[1] - lab2[1];\n/* 256 */ double db = lab1[2] - lab2[2];\n/* 257 */ double c1 = Math.sqrt(lab1[1] * lab1[1] + lab1[2] * lab1[2]);\n/* 258 */ double c2 = Math.sqrt(lab2[1] * lab2[1] + lab2[2] * lab2[2]);\n/* 259 */ double dc = c1 - c2;\n/* 260 */ double dh = da * da + db * db - dc * dc;\n/* 261 */ dh = (dh < 0.0D) ? 0.0D : Math.sqrt(dh);\n/* 262 */ double sl = 1.0D;\n/* 263 */ double sc = 1.0D + 0.045D * c1;\n/* 264 */ double sh = 1.0D + 0.015D * c1;\n/* 265 */ double dLKlsl = dl / 2.0D * sl;\n/* 266 */ double dCkcsc = dc / 1.0D * sc;\n/* 267 */ double dHkhsh = dh / 1.0D * sh;\n/* 268 */ return dLKlsl * dLKlsl + dCkcsc * dCkcsc + dHkhsh * dHkhsh;\n/* */ }", "title": "" }, { "docid": "969bf67b541000f6d8b74a2b6bb488ec", "score": "0.5006024", "text": "public static void main (String[] args) {\n int[] numberOfHoles={1,0,0,0,1,0,1,0,2,1};\n \n //Test case\n //int num=630;\n \n String numString=String.valueOf(num);\n int numStringLength=numString.length();\n String curDigitString;\n int curDigitInt;\n int cumSumOfHoles=0;\n for (int i=0; i<numStringLength; i++) {\n curDigitString=numString.substring(i,i+1);\n curDigitInt=Integer.parseInt(curDigitString);\n cumSumOfHoles+=numberOfHoles[curDigitInt];\n }\n \n \n }", "title": "" }, { "docid": "56c2e5f7ac452707686f53ce96dc5e7a", "score": "0.5005034", "text": "long pos();", "title": "" }, { "docid": "56c2e5f7ac452707686f53ce96dc5e7a", "score": "0.5005034", "text": "long pos();", "title": "" }, { "docid": "cd8dbc42560ff78242a6ca27ae899f41", "score": "0.50040066", "text": "public int getOrigWidth() {\n return 36;\n }", "title": "" }, { "docid": "9fdb134853ee68e238cc38a0452b6c45", "score": "0.5002017", "text": "static int getIntSize() {\n/* 235 */ return 4;\n/* 236 */ }", "title": "" }, { "docid": "7fac0ed36ed6ad51775cf2b83f49a44d", "score": "0.49999747", "text": "public final int zzays() {\n return this.zzhvb.zzayr() + this.offset + this.length;\n }", "title": "" }, { "docid": "12f6f3757a5bf83dec9fa3083b685a60", "score": "0.4999146", "text": "public int c()\r\n/* 298: */ {\r\n/* 299:239 */ return 64;\r\n/* 300: */ }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "21bf15c15889344e5874c824d25021b1", "score": "0.0", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.setting);\n\t\t//便于最终关闭程序\n\t\tExitApplication.getInstance().addActivity(this);\n\t\t\n\t\teditPassword = (EditText)findViewById(R.id.editPassword) ;\n\t\tbuttonSet = (Button)findViewById(R.id.buttonSetSet);\n\t\tbuttonCancel = (Button)findViewById(R.id.buttonSetCancel);\n\t\t\n\t\tbuttonSet.setOnClickListener(new OnClickListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tPasswardDB passwordDB = new PasswardDB(Setting.this) ;\n\t\t\t\tString passward = editPassword.getText().toString() ;\n\t\t\t\tPassward password = new Passward(passward);\n\t\t\t\tif(passwordDB.getCount() == 0){\n\t\t\t\t\tpasswordDB.addPassward(password);\n\t\t\t\t}else {\n\t\t\t\t\tpasswordDB.updatePassward(password);\n\t\t\t\t}\n\t\t\t\tToast.makeText(getApplicationContext(), \"密码设置成功\", Toast.LENGTH_SHORT).show() ;\n\t\t\t}\n\t\t});\n\t\t\n\t\tbuttonCancel.setOnClickListener(new OnClickListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\teditPassword.setText(\"\");\n\t\t\t\teditPassword.setHint(\"请输入密码:\");\n\t\t\t}\n\t\t});\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ec76ff8d70ced9d8135ad33b23353b4d", "score": "0.6624367", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "82ab90ffadf9b8d43e60c8510a33beba", "score": "0.6623182", "text": "@Override\r\n\tpublic void morirse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e3110a393bd4b870b4055aa9ed6efd87", "score": "0.66015315", "text": "@Override\n\tpublic void attaquer() {\n\t\t\n\t}", "title": "" }, { "docid": "a5f7a321f63abee65f0b9008f270490e", "score": "0.6594605", "text": "@Override\n\t\t\tpublic void competir() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "7756cbf76fd6363807e17834db326bbc", "score": "0.6501866", "text": "@Override\n\t\t\tpublic void avanzar() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "bdceff0dc4130d850ab15d702b785449", "score": "0.63844895", "text": "@Override\n\tprotected void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "14f6250e215aa66dcffb123fd6b7fd74", "score": "0.63381773", "text": "@Override\n\tpublic void entzünden() {\n\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.63222265", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.6291592", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "469c90392fb12e4553574135278541f5", "score": "0.62385184", "text": "@Override\n\tpublic void attck() {\n\t\t\n\t}", "title": "" }, { "docid": "d3585587779dbdf33600e1670ca42099", "score": "0.6193195", "text": "@Override\n\tpublic void IngresoKromi() {\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.61922914", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.61053663", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "29cde3f10dab87cebafdd9412ef4b29f", "score": "0.6062187", "text": "@Override\r\n\tpublic void embala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.60561824", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0cd47ce21776ffa50dd678180ffe94e5", "score": "0.6003824", "text": "public void ayak() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2c1f0ca9c7029b85142a2ab9536d708", "score": "0.5990595", "text": "@Override\n\tpublic void attaque() {\n\t\t\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5987973", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "70c63b539d1b6f883ad13008fbcaa6ce", "score": "0.59600407", "text": "@Override\n\tpublic void fiy(){\n\t\t\n\t}", "title": "" }, { "docid": "360bf42213adde0b962792c6cd6d8df7", "score": "0.5952374", "text": "@Override\r\n\t\tpublic void interg() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59270483", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "dd66e8668788d27519d44caeb83b0c44", "score": "0.5923557", "text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "9808ba3c113b79c3677f2c08c09e60a1", "score": "0.59020513", "text": "@Override\n\tpublic void resert() {\n\t\t\n\t}", "title": "" }, { "docid": "e05db3dd501cfaf4d9d1b128ca673f1b", "score": "0.58988667", "text": "@Override\n\tprotected void formRes() {\n\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5883667", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "ea6be29351b2f6d99af3992f4a8fbd45", "score": "0.58685964", "text": "public void afficherEntreprise(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3177b2be45c490e407b98d647e109c0d", "score": "0.58572376", "text": "@Override\n protected void initData()\n {\n\t\n }", "title": "" }, { "docid": "eea1284dac4ca57b790a13dcd1ad6bff", "score": "0.58401465", "text": "@Override\n protected void ucitaj() {\n //only because of 'extands rule'\n }", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "af70f420bd21981aa44db6516064224d", "score": "0.58060104", "text": "@Override\n\tpublic int berechnen() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "94f32cdbe8afc400e05efbdb8d78c591", "score": "0.5788508", "text": "@Override\r\n\tpublic void borc_hesapla() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "aed26444304cfac4d695203c7d86e6c5", "score": "0.5769439", "text": "public void autTC05() {\r\n\r\n\t}", "title": "" }, { "docid": "9b56e05d631b1ea925ea2c139ee709ad", "score": "0.5763841", "text": "@Override\n\tpublic void adim7() {\n\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5761362", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "a49b2d411619c6f2680e9b0e8c21a20f", "score": "0.57574755", "text": "private void erledigt() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8aac1da26498753495658c2bb9044b21", "score": "0.5751961", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "2bbeae4f0e92c95ecc07204851be4769", "score": "0.57508", "text": "@Override\n\tpublic void nyalakan() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8603393cbe27452fe30e396632c62eed", "score": "0.57415414", "text": "@Override\n\t\tpublic void postConstruct() {\n\t\t}", "title": "" }, { "docid": "37bf6e6ef01cf7dab163b5d3bedbc140", "score": "0.5740271", "text": "@Override\n\tpublic void som() {\n\t\t\n\t}", "title": "" }, { "docid": "92af0f4d75822a6723aebd9fcc92fafb", "score": "0.57394177", "text": "@Override\n protected void initData() {\n \n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5734636", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "0f7672ee5ac14b05f31da4e1e34d7b49", "score": "0.5725253", "text": "@Override\r\n\tpublic void test8() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a22a3abb4b9b5de4ed8c054da445e9b0", "score": "0.5724528", "text": "@Override\r\n\tpublic void jugar() {\n\r\n\t}", "title": "" }, { "docid": "7fd3ef4778cae98af386c2c7c0aa5995", "score": "0.57231057", "text": "@Override\r\n\tpublic void nmi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "90a583a9686287e3374351dca59e3033", "score": "0.5721244", "text": "@Override\r\n\tpublic void abrir() {\n\r\n\t}", "title": "" }, { "docid": "d629c4ad6266d296b13a93bb0c7f8c66", "score": "0.57099986", "text": "@Override\r\n public void init()\r\n {\n\r\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "f375646c5bc224c29261414f3cb81b04", "score": "0.56984305", "text": "@Override\n public int qualiteRelation() {\n return 0;\n }", "title": "" }, { "docid": "5592333c90e75bae58a686b24b05d894", "score": "0.5693882", "text": "@Override\n public String toString() {\n return null;\n }", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56896037", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "20b42a0c3fee6c140a112d40354f4298", "score": "0.5686577", "text": "@Override\r\n\tpublic void prepara() {\n\t\t\r\n\t}", "title": "" }, { "docid": "92b8246d78d46bf0f60b46e17e797540", "score": "0.5685193", "text": "@Override\n\tpublic void init () {\n\t}", "title": "" }, { "docid": "57f5caef4402cc8ce13e81561eaa9e43", "score": "0.56787807", "text": "@Override\r\n\tpublic void pickUp() {\n\t\t\r\n\t}", "title": "" }, { "docid": "152818b619dcfcd5190a2f48bc75fa5f", "score": "0.56757474", "text": "@Override\n\tpublic void adim6() {\n\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "131c7dcebe8ac7fd010381a03bd0f405", "score": "0.5667569", "text": "@Override\r\n\tprotected void initActb() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "6392764d7ff297c1a478fc1669944649", "score": "0.5653691", "text": "@Override\n\tpublic void gostar_de_carne() {\n\t\t\n\t}", "title": "" }, { "docid": "2b53548295a92f80cb7814e7e3ead131", "score": "0.56503963", "text": "@Override\n\tString frighten() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.5642345", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7b36e2fb2a778b8c30924f6f30758db2", "score": "0.56388146", "text": "private static void buscarId() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9bcd15a2298e73719d7c7326027b093b", "score": "0.56369984", "text": "@Override\n\tprotected void getData() {\n\n\t}", "title": "" } ]
2daff81f0e89ab397b3d3806ec80e703
set up the bitmap for enemy explosion
[ { "docid": "1777f373c024092c16bbe2a483be0d61", "score": "0.76314235", "text": "@Override\n public void setUpBitmap(Context context) {\n explosions = new Bitmap[9];\n explosions[0] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion0);\n explosions[1] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion1);\n explosions[2] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion2);\n explosions[3] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion3);\n explosions[4] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion4);\n explosions[5] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion5);\n explosions[6] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion6);\n explosions[7] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion7);\n explosions[8] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion8);\n }", "title": "" } ]
[ { "docid": "d8180bd9299e448ad82cfecf5cf81816", "score": "0.7108398", "text": "public ShooterEnemyExplosion(Context context, int explosionX, int explosionY) {\n super(explosionX, explosionY);\n explosions = new Bitmap[9];\n explosions[0] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion0);\n explosions[1] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion1);\n explosions[2] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion2);\n explosions[3] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion3);\n explosions[4] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion4);\n explosions[5] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion5);\n explosions[6] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion6);\n explosions[7] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion7);\n explosions[8] = BitmapFactory.decodeResource(context.getResources(), R.drawable.psexplosion8);\n setWidthHeight();\n }", "title": "" }, { "docid": "353e0e084f242ed287551fc5f1c1edcd", "score": "0.67554927", "text": "public static void init(){\r\n background = ImageLoader.loadImage(\"/tutorial1/images/Background.png\");\r\n player = ImageLoader.loadImage(\"/tutorial1/images/shipC.png\");\r\n playerL = ImageLoader.loadImage(\"/tutorial1/images/shipL.png\");\r\n playerR = ImageLoader.loadImage(\"/tutorial1/images/shipR.png\");\r\n Bullet1 = ImageLoader.loadImage(\"/tutorial1/images/projectile1.png\");\r\n Bullet2 = ImageLoader.loadImage(\"/tutorial1/images/projectile2.png\");\r\n Spink = ImageLoader.loadImage(\"/tutorial1/images/pink.png\");\r\n Sorange = ImageLoader.loadImage(\"/tutorial1/images/orange.png\");\r\n Sblue = ImageLoader.loadImage(\"/tutorial1/images/blue.png\");\r\n Sgreen = ImageLoader.loadImage(\"/tutorial1/images/green.png\");\r\n pause = ImageLoader.loadImage(\"/tutorial1/images/pause.png\");\r\n gameOver = ImageLoader.loadImage(\"/tutorial1/images/gameOver.png\");\r\n lives = ImageLoader.loadImage(\"/tutorial1/images/lives.png\");\r\n SpriteSheet spritesheetp = new SpriteSheet(Spink);\r\n SpriteSheet spritesheeto = new SpriteSheet(Sorange);\r\n SpriteSheet spritesheetb = new SpriteSheet(Sblue);\r\n SpriteSheet spritesheetg = new SpriteSheet(Sgreen);\r\n pink = new BufferedImage[2];\r\n orange = new BufferedImage[2];\r\n blue = new BufferedImage[2];\r\n green = new BufferedImage[2];\r\n //croping the pictures from the sheet int the array\r\n for (int i = 0; i < 2; i++){\r\n pink[i] = spritesheetp.crop((i * 120)+10, 0, 98, 98);\r\n orange[i] = spritesheeto.crop((i * 148)+25, 0, 100, 100);\r\n blue[i] = spritesheetb.crop((i * 120)+10, 0, 98, 98);\r\n green[i] = spritesheetg.crop((i * 157)+11, 0, 112, 112);\r\n }\r\n explosion = new SoundClip(\"/tutorial1/sounds/explosion.wav\");\r\n shoot = new SoundClip(\"/tutorial1/sounds/shoot.wav\");\r\n aKilled = new SoundClip(\"/tutorial1/sounds/invaderkilled.wav\");\r\n move = new SoundClip(\"/tutorial1/sounds/move.wav\");\r\n }", "title": "" }, { "docid": "f0891a964dc544a1e2cb6f9177bb835f", "score": "0.6598298", "text": "private void createEnemy() {\n for (int i = 0; i < 6; i++) {\n addGameObject(new Astroid(r.nextInt(this.getWidth()), r.nextInt(this.getHeight()), 3, this));\n }\n addGameObject(new Alien(100, 100, 70, 70, this, player));\n addGameObject(new Star(0, this.getHeight()/3*2, 50, 50, this));\n }", "title": "" }, { "docid": "a7e1862c1bb7e15b195d49d3edcef00d", "score": "0.64913183", "text": "public void init() {\n BufferedImage[] player_down = new BufferedImage[9];\n BufferedImage[] player_up = new BufferedImage[9];\n BufferedImage[] player_left = new BufferedImage[9];\n BufferedImage[] player_right = new BufferedImage[9];\n BufferedImage[] player_up_stable = new BufferedImage[9];\n BufferedImage[] player_right_stable = new BufferedImage[9];\n BufferedImage[] player_left_stable = new BufferedImage[9];\n BufferedImage[] player_down_stable = new BufferedImage[9];\n BufferedImage[] player_down_attack = new BufferedImage[6];\n BufferedImage[] player_up_attack = new BufferedImage[6];\n BufferedImage[] player_left_attack = new BufferedImage[6];\n BufferedImage[] player_right_attack = new BufferedImage[6];\n\n int startingX = 0;\n int startingYSpell = 0;\n int height = 64;\n int width = 64;\n int startingXStable = 0;\n int startingYStable = 0;\n int startingXAttack = 0;\n int startingYSlashAttack = 12 * height;\n int startingYWalk = 8 * height;\n SpriteSheet sheet1, sheet2, sheet = null;\n sheet = new SpriteSheet(ImageLoader.loadImage(\"/images/assets/player_arm_sword.png\"));\n\n for (int i = 0; i < 9; i++) {\n if (i < 6) {\n player_down_attack[i] = sheet.crop(startingXAttack + i * width, startingYSlashAttack + 2 * height, width, height);\n player_right_attack[i] = sheet.crop(startingXAttack + i * width, startingYSlashAttack + 3 * height, width, height);\n player_up_attack[i] = sheet.crop(startingXAttack + i * width, startingYSlashAttack, width, height);\n player_left_attack[i] = sheet.crop(startingXAttack + i * width, startingYSlashAttack + height, width, height);\n }\n\n player_down_stable[i] = sheet.crop(startingX, startingYWalk + 2 * height, width, height);\n player_right_stable[i] = sheet.crop(startingX, startingYWalk + 3 * height, width, height);\n player_up_stable[i] = sheet.crop(startingX, startingYWalk, width, height);\n player_left_stable[i] = sheet.crop(startingX, startingYWalk + height, width, height);\n\n player_down[i] = sheet.crop(startingX + i * width, startingYWalk + 2 * height, width, height);\n player_right[i] = sheet.crop(startingX + i * width, startingYWalk + 3 * height, width, height);\n player_up[i] = sheet.crop(startingX + i * width, startingYWalk, width, height);\n player_left[i] = sheet.crop(startingX + i * width, startingYWalk + height, width, height);\n\n }\n\n playerAnimations = new HashMap();\n\n //Up state\n Map<String, BufferedImage[]> playerUp = new HashMap();\n playerUp.put(\"run\", player_up);\n playerUp.put(\"stable\", player_up_stable);\n playerUp.put(\"attack\", player_up_attack);\n playerAnimations.put(\"up\", playerUp);\n\n //Down state\n Map<String, BufferedImage[]> playerDown = new HashMap();\n playerDown.put(\"run\", player_down);\n playerDown.put(\"stable\", player_down_stable);\n playerDown.put(\"attack\", player_down_attack);\n playerAnimations.put(\"down\", playerDown);\n\n //Left State\n Map<String, BufferedImage[]> playerLeft = new HashMap();\n playerLeft.put(\"run\", player_left);\n playerLeft.put(\"stable\", player_left_stable);\n playerLeft.put(\"attack\", player_left_attack);\n playerAnimations.put(\"left\", playerLeft);\n\n //Right State\n Map<String, BufferedImage[]> playerRight = new HashMap();\n playerRight.put(\"run\", player_right);\n playerRight.put(\"stable\", player_right_stable);\n playerRight.put(\"attack\", player_right_attack);\n playerAnimations.put(\"right\", playerRight);\n\n }", "title": "" }, { "docid": "59c2eda65e6264119913026297c75fa5", "score": "0.6467761", "text": "public static void init(){\n font28 = FontLoader.loadFont(\"src/res/fonts/slkscr.ttf\", 28);\n font15 = FontLoader.loadFont(\"src/res/fonts/slkscr.ttf\", 15);\n\n inventoryScreen = ImageLoader.loadImage(\"/textures/inventoryScreen.png\");\n\n SpriteSheet playerSprites2 = new SpriteSheet(ImageLoader.loadImage(\"/textures/walking_sprites_right.png\"));\n SpriteSheet playerSpritesLeft = new SpriteSheet(ImageLoader.loadImage(\"/textures/walking_sprites_left.png\"));\n SpriteSheet entitySprites = new SpriteSheet(ImageLoader.loadImage(\"/textures/tree&rock.png\"));\n SpriteSheet start = new SpriteSheet(ImageLoader.loadImage(\"/textures/start_button.png\"));\n SpriteSheet attack = new SpriteSheet(ImageLoader.loadImage(\"/textures/attack_sprites.png\"));\n SpriteSheet woodSheet = new SpriteSheet(ImageLoader.loadImage(\"/textures/wood.png\"));\n SpriteSheet potionSheet = new SpriteSheet(ImageLoader.loadImage(\"/textures/potions.png\"));\n SpriteSheet jarSheet = new SpriteSheet(ImageLoader.loadImage(\"/textures/jar.png\"));\n\n\n\n SpriteSheet textures = new SpriteSheet(ImageLoader.loadImage(\"/textures/master-tileset.png\"));\n\n player = playerSprites2.crop(0, 0, width32, height32);\n wood = woodSheet.crop(width32 * 2, 0, width32, height32);\n\n playerDown = new BufferedImage[2];\n playerUp = new BufferedImage[2];\n playerRight = new BufferedImage[2];\n playerLeft = new BufferedImage[2];\n startButton = new BufferedImage[2];\n playerAttackLeft = new BufferedImage[1];\n playerAttackRight = new BufferedImage[1];\n playerAttackUp = new BufferedImage[1];\n playerAttackDown = new BufferedImage[1];\n\n playerDown[0] = playerSprites2.crop(width32 * 5, 0, width32, height32);\n playerDown[1] = playerSprites2.crop(width32 * 6, 0, width32, height32);\n playerUp[0] = playerSprites2.crop(width32 * 2, 0, width32, height32);\n playerUp[1] = playerSprites2.crop(width32 * 3, 0, width32, height32);\n playerRight[0] = playerSprites2.crop(width32 * 7, 0, width32, height32);\n playerRight[1] = playerSprites2.crop(width32 * 8, 0, width32, height32);\n playerLeft[0] = playerSpritesLeft.crop(width32, 0, width32, height32);\n playerLeft[1] = playerSpritesLeft.crop(width32 * 2, 0, width32, height32);\n\n\n startButton[0] = start.crop(0, 0, width32 * 2, height32);\n startButton[1] = start.crop(width32 * 2, 0, width32 * 2, height32);\n\n playerAttackLeft[0] = attack.crop(0, 0, width32, height32);\n playerAttackRight[0] = attack.crop(width32, 0, width32, height32);\n playerAttackUp[0] = attack.crop(width32 * 3, 0, width32, height32);\n playerAttackDown[0] = attack.crop(width32 * 4, 0, width32, height32);\n\n\n\n healthPot = potionSheet.crop(width32 * 7, 0, width32, height32);\n magicPot = potionSheet.crop(width32 * 8, 0, width32, height32);\n jar = jarSheet.crop(width32 * 8, 0, width32, height32);\n\n rock = entitySprites.crop(width32 * 8, 0, width32, height32);\n tree = entitySprites.crop(width32 * 9, 0, width32, height32);\n\n\n stone = textures.crop(0, 0, width62, height62);\n stone2 = textures.crop(width62, 0, width62, height62);\n stone3 = textures.crop(width62 * 2, 0, width62, height62);\n sand = textures.crop(0, height32, width62, height62);\n grass = textures.crop(0, height62 * 2, width62, height62);\n dirt = textures.crop(0, height62, width62, height62);\n\n\n\n }", "title": "" }, { "docid": "24e076180e38619b9cb83e13526eeee6", "score": "0.6462369", "text": "public void inputEnemiesIntoMap() {\n levelLayout.put(1, new BasicEnemy(0, 1700, 99999,false, \"wall\", new Dimension (16000,2000), wallImage,this));\r\n levelLayout.put(2, new BasicEnemy(180, 1700, 99999,false, \"wall\", new Dimension (16000,2000), wallImage,this));\r\n levelLayout.put(3, new BasicEnemy(200, 900, 99999,false, \"wall\", new Dimension (800,200), wallImage,this));\r\n levelLayout.put(200, new BasicEnemy(0, 500, 300,false, \"basic\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(300, new BasicEnemy(20, 550, 300,false, \"basic\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(400, new BasicEnemy(40, 600, 300,false, \"basic\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(500, new BasicEnemy(60, 650, 300,false, \"basic\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(600, new BasicEnemy(80, 700, 300,false, \"basic\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(1200, new BasicEnemy(90, 750, 450,false, \"swooper\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(1500, new BasicEnemy(130, 500, 200,false, \"swooper\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(2000, new BasicEnemy(170, 800, 200,false, \"track\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(2600, new BasicEnemy(60, 500, 300,false, \"track\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(3000, new BasicEnemy(20, 500, 300,false, \"basic\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"),this));\r\n levelLayout.put(4000, new BasicEnemy(90, 800, 1500,false, \"boss\", new Dimension (200,200), getToolkit().getImage(\"images/basicEnemy.jpg\"), this));\r\n //levelLayout.put(78, new BasicEnemy(1400, 50, 4500,false, \"track\", new Dimension (200,200), getToolkit().getImage(\"images/bossEnemy.jpg\"), this));\r\n\r\n // levelLayout.put(400, makeEnemy(((int) (Math.random() * 1900)), 50, 4500,false, tick, \"boss\", new Dimension (200,200), getToolkit().getImage(\"images/bossEnemy.jpg\")));\r\n\r\n\r\n }", "title": "" }, { "docid": "db2bff35dccf41e0e382382df77af38a", "score": "0.64052266", "text": "private ExplosionPainter(){}", "title": "" }, { "docid": "4516effa38d4f82bfca8f02df3abce4f", "score": "0.63820916", "text": "public GameView2(GameActivity2 activity, int screenX, int screenY) {\n super(activity);\n\n this.activity = activity;\n this.screenX = screenX;\n this.screenY = screenY;\n screenRatioX = 1920f / screenX; // calculation of screen dimensions\n screenRatioY = 1080f / screenY;// calculation of screen dimensions\n\n background1 = new BackgroundLevel2(screenX, screenY, getResources()); // relation to retrieing the background for the level.\n background2 = new BackgroundLevel2(screenX, screenY, getResources()); // relation to retrieing the background for the level.\n\n flight = new Flight2(this, screenY, getResources()); // retrieving the user sprite\n\n bullets = new ArrayList<>(); // setting array up for bullets\n\n background2.x = screenX;\n\n paint = new Paint();\n paint.setTextSize(128);\n paint.setColor(Color.WHITE);\n\n enemys = new Enemy[4];\n\n // creation of loop to retrive all enemy sprites\n for (int i = 0;i < 4;i++) {\n Enemy enemy = new Enemy(getResources());\n enemys[i] = enemy;\n }\n random = new Random();\n\n }", "title": "" }, { "docid": "e63a24e303837ced10aa1e2324ebc04b", "score": "0.63421685", "text": "public void initBlankImage() {\r\n //PropertiesManager and get image path\r\n PropertiesManager props = PropertiesManager.getPropertiesManager();\r\n String imgPath = props.getProperty(ZombieCrushSagaPropertyType.IMG_PATH);\r\n ZombieCrushPanel canvas = (ZombieCrushPanel) game.getCanvas();\r\n //load blank tile image\r\n String blankTileFileName = props.getProperty(ZombieCrushSagaPropertyType.BLANK_TILE_IMAGE_NAME);\r\n BufferedImage blankTileImage = game.loadImage(imgPath + blankTileFileName);\r\n canvas.setBlankTileImage(blankTileImage);\r\n\r\n //load blankJelly Tile image\r\n String blankJellyTileFileName = props.getProperty(ZombieCrushSagaPropertyType.BLANK_TILE_JELLY_IMAGE_NAME);\r\n BufferedImage blankTileJelly = game.loadImage(imgPath + blankJellyTileFileName);\r\n canvas.setBlankTileJellyImage(blankTileJelly);\r\n\r\n //load blank Selected tile image\r\n String blankTileSelectedFileName = props.getProperty(ZombieCrushSagaPropertyType.BLANK_TILE_SELECTED_IMAGE_NAME);\r\n BufferedImage blankTileSelectedImage = game.loadImage(imgPath + blankTileSelectedFileName);\r\n canvas.setBlankTileSelectedImage(blankTileSelectedImage);\r\n\r\n //load blankJelly Selected Tile image\r\n String blankJellyTileSelectedFileName = props.getProperty(ZombieCrushSagaPropertyType.BLANK_TILE_JELLY_SELECTED_IMAGE_NAME);\r\n BufferedImage blankTileJellySelected = game.loadImage(imgPath + blankJellyTileSelectedFileName);\r\n canvas.setBlankTileJellySelectedImage(blankTileJellySelected);\r\n\r\n //load star image\r\n String starFileImage = props.getProperty(ZombieCrushSagaPropertyType.STAR_IMAGE_NAME);\r\n BufferedImage starImage = game.loadImage(imgPath + starFileImage);\r\n canvas.setStarImage(starImage);\r\n\r\n //load star meter image\r\n String starExpFileImage = props.getProperty(ZombieCrushSagaPropertyType.STAR_EXP_IMAGE_NAME);\r\n BufferedImage starExpImage = game.loadImage(imgPath + starExpFileImage);\r\n canvas.setStarMeterExp(starExpImage);\r\n\r\n //load number image\r\n String numberFileImage = props.getProperty(ZombieCrushSagaPropertyType.NUMBER_IMAGE_NAME);\r\n BufferedImage numberImage = game.loadImage(imgPath + numberFileImage);\r\n canvas.setNumber(numberImage);\r\n\r\n //load number image\r\n String colorNumFileImage = props.getProperty(ZombieCrushSagaPropertyType.COLOR_NUMBER_IMAGE_NAME);\r\n BufferedImage colorNumImage = game.loadImage(imgPath + colorNumFileImage);\r\n canvas.setColorNumber(colorNumImage);\r\n\r\n //load crushImages\r\n ArrayList<String> crushImageNames = props.getPropertyOptionsList(ZombieCrushSagaPropertyType.CRUSH_IMAGE_OPTIONS);\r\n for (int i = 0; i < crushImageNames.size(); i++) {\r\n BufferedImage crushImage = game.loadImage(imgPath + crushImageNames.get(i));\r\n canvas.getCrushImages()[i] = crushImage;\r\n }\r\n //load jelly Crushed images\r\n ArrayList<String> jellyCrushImageNames = props.getPropertyOptionsList(ZombieCrushSagaPropertyType.JELLY_CRUSH_IMAGE_OPTIONS);\r\n for (int i = 0; i < jellyCrushImageNames.size(); i++) {\r\n BufferedImage jellyCrushImage = game.loadImage(imgPath + jellyCrushImageNames.get(i));\r\n canvas.getJellyCrushImages()[i] = jellyCrushImage;\r\n }\r\n }", "title": "" }, { "docid": "8c45fc10e7eae4aa1e7c2219fbd5155e", "score": "0.6324854", "text": "private void prepareLevel(){\r\n strawMan = StrawMan.getInstance();\r\n strawMan.setBitmap(context);\r\n strawMan.update(fps);\r\n canvas.drawBitmap(strawMan.getBitmap(), strawMan.getLeftX(), strawMan.getHeight(), paint);\r\n }", "title": "" }, { "docid": "67ce2c5e49954d336d086f422c107296", "score": "0.6307814", "text": "public Enemy2D() {\n\t\t\n\t\tsuper();\n\t\txPos = 0;\n\t\tyPos = 0;\n\t\tnumberTorpedoes = 5;\n\t\t\n\t}", "title": "" }, { "docid": "c4f155654dae4bb1cf341a4f94e8e81d", "score": "0.6307193", "text": "public Explosion() throws SlickException{\n\t\texplosionSprite = new SpriteSheet(\"res/images/explosion.png\", size, size);\n\t\texplosion = new Animation(explosionSprite, speed);\n\t}", "title": "" }, { "docid": "80b88c89cfa318f3e2c2f7d2447b3cdb", "score": "0.6280551", "text": "private void drawExplosion(Canvas canvas) {\n int x = (int) (currentFrame * object_width);\n canvas.save();\n canvas.clipRect(object_x, object_y, object_x + object_width,\n object_y + object_height);\n canvas.drawBitmap(mPlaneExplosion, object_x - x, object_y, paint);\n canvas.restore();\n\n if (bulletType == ConstantUtil.MYBULLET) {\n currentFrame++;\n if (currentFrame >= 2) {\n currentFrame = 0;\n }\n } else if (bulletType == ConstantUtil.MYBULLET1) {\n currentFrame++;\n if (currentFrame >= 4) {\n currentFrame = 2;\n }\n } else if (bulletType == ConstantUtil.MYBULLET2) {\n currentFrame++;\n if (currentFrame >= 6) {\n currentFrame = 4;\n }\n }\n }", "title": "" }, { "docid": "ba4e9f5a0552e196564e754764b4adf8", "score": "0.6254333", "text": "private void init() {\n\t\tsetBackgroundResource(R.drawable.space);\n\t\tp = new Paint();\n\t\tp.setStrokeWidth(6);\n\t\t\n\t\tpoints = new ArrayList<Float>();\n\t\t// Set pony image \n\t\timage = BitmapFactory.decodeResource(getResources(), \n\t\t\t\tR.drawable.unicorn);\n\t\timage = Bitmap.createScaledBitmap(image, 150, 150, false);\n\t\t// Set initial position to x = -150 \n\t\t// and y = random between 200 and 400\n\t\timage_x = -150;\n\t\timage_y = (float)(Math.random() * 200) + 200;\n\t\t// Set constant x velocity of 10\n\t\t// and random y velocity from -10 to +10\n\t\tvel_x = 10;\n\t\tvel_y = (float)(Math.random() * 2 * vel_x) - vel_x;\n\t\t// Set score and misses to 0\n\t\tscore = 0;\n\t\tmiss = 0;\n\t\t// Set gameOver flag to false\n\t\tgameOver = false;\n\t\t// hit_flag is true only when an intersection occurs\n\t\thit_flag = false;\n\t\t// Start the background task to move the pony after 20 ms\n\t\tnew BackgroundTask().execute(20);\n\t}", "title": "" }, { "docid": "1f9d7f9b704aea11f420c90a58e0fade", "score": "0.6245708", "text": "public void drawMissile() {\n image(drop, x, y);\n }", "title": "" }, { "docid": "96c84fa89406baf6f054e0c691107313", "score": "0.6229562", "text": "public void initializeImages() {\n setDuration(0.25);\n String ghost_colour = \"red\";\n switch (colour) {\n case RED:\n ghost_colour = \"red\";\n break;\n case BLUE:\n ghost_colour = \"blue\";\n break;\n case YELLOW:\n ghost_colour = \"yellow\";\n break;\n case GREEN:\n ghost_colour = \"green\";\n break;\n }\n for (int i = 0; i < 3; i++)\n fUp[i] = new Image(\n \".//Images/ghosts/\" + ghost_colour + \"_ghost/\" + ghost_colour + \"_ghost_up_\" + i + \".png\");\n for (int i = 0; i < 3; i++)\n fRight[i] = new Image(\n \".//Images/ghosts/\" + ghost_colour + \"_ghost/\" + ghost_colour + \"_ghost_right_\" + i + \".png\");\n for (int i = 0; i < 3; i++)\n fDown[i] = new Image(\n \".//Images/ghosts/\" + ghost_colour + \"_ghost/\" + ghost_colour + \"_ghost_down_\" + i + \".png\");\n for (int i = 0; i < 3; i++)\n fLeft[i] = new Image(\n \".//Images/ghosts/\" + ghost_colour + \"_ghost/\" + ghost_colour + \"_ghost_left_\" + i + \".png\");\n for (int i = 0; i < 7; i++)\n fExplosion[i] = new Image(\".//Images/explosion/explosion/explosion_\" + i + \".png\");\n setFrames(fUp);\n }", "title": "" }, { "docid": "2cc790fdbee84ae4a2a3f390b48f363f", "score": "0.6224907", "text": "public static void init() {\n font28 = FontLoader.loadFont(\"/fonts/slkscr.ttf\", 28);\n font16 = FontLoader.loadFont(\"/fonts/slkscr.ttf\", 16);\n\n SpriteSheet sheet = new SpriteSheet(ImageLoader.loadImage(\"/sprite_sheet.png\"));\n SpriteSheet tiles = new SpriteSheet(ImageLoader.loadImage(\"/Tiles_test.png\"));\n SpriteSheet ui = new SpriteSheet(ImageLoader.loadImage(\"/UI.png\"));\n SpriteSheet playerSheet = new SpriteSheet(ImageLoader.loadImage(\"/Player.png\"));\n\n // tiles\n voidTile = sheet.crop(0, 0, HEIGHT, HEIGHT);\n stoneTile = tiles.crop(0, 0, HEIGHT * 2, HEIGHT * 2);\n grassTile = tiles.crop(WIDTH * 2, 0, HEIGHT * 2, HEIGHT * 2);\n dirtTile = tiles.crop(WIDTH * 4, 0, HEIGHT * 2, HEIGHT * 2);\n\n waterTile = new BufferedImage[4];\n\n waterTile[0] = sheet.crop(WIDTH * 4, 0, HEIGHT, WIDTH);\n waterTile[1] = sheet.crop(WIDTH * 5, 0, HEIGHT, WIDTH);\n waterTile[2] = sheet.crop(WIDTH * 6, 0, HEIGHT, WIDTH);\n waterTile[3] = waterTile[1];\n\n waterWithPlayerTile = new BufferedImage[4];\n\n waterWithPlayerTile[0] = sheet.crop(WIDTH * 0, 27 * HEIGHT, WIDTH, HEIGHT);\n waterWithPlayerTile[1] = sheet.crop(WIDTH * 1, 27 * HEIGHT, WIDTH, HEIGHT);\n waterWithPlayerTile[2] = sheet.crop(WIDTH * 2, 27 * HEIGHT, WIDTH, HEIGHT);\n waterWithPlayerTile[3] = waterWithPlayerTile[1];\n\n // entities\n tree = sheet.crop(0, WIDTH, HEIGHT * 2, HEIGHT * 3);\n rock = sheet.crop(WIDTH * 2, HEIGHT * 1, WIDTH * 2, HEIGHT * 2);\n\n player = new BufferedImage[18];\n\n // up\n player[0] = playerSheet.crop(0, 0, 32, 64);\n player[1] = playerSheet.crop(32, 0, 32, 64);\n player[2] = playerSheet.crop(32 * 2, 0, 32, 64);\n player[3] = playerSheet.crop(32 * 3, 0, 32, 64);\n\n // down\n player[4] = playerSheet.crop(0, 64, 32, 64);\n player[5] = playerSheet.crop(32, 64, 32, 64);\n player[6] = playerSheet.crop(32 * 2, 64, 32, 64);\n player[7] = playerSheet.crop(32 * 3, 64, 32, 64);\n\n //left\n player[8] = playerSheet.crop(0, 64 * 2, 32, 64);\n player[9] = playerSheet.crop(32, 64 * 2, 32, 64);\n player[10] = playerSheet.crop(32 * 2, 64 * 2, 32, 64);\n player[11] = playerSheet.crop(32 * 3, 64 * 2, 32, 64);\n\n //right\n player[12] = playerSheet.crop(0, 64 * 3, 32, 64);\n player[13] = playerSheet.crop(32, 64 * 3, 32, 64);\n player[14] = playerSheet.crop(32 * 2, 64 * 3, 32, 64);\n player[15] = playerSheet.crop(32 * 3, 64 * 3, 32, 64);\n\n player[16] = sheet.crop(8 * WIDTH, 25 * HEIGHT, WIDTH * 2, HEIGHT * 2);\n player[17] = Utils.flipImageHorizontally(player[16]);\n\n // UI\n inventoryScreen = ImageLoader.loadImage(\"/inventoryScreen.png\");\n\n checkBox = new BufferedImage[2];\n\n checkBox[0] = ui.crop(0, 32 * 3, 32, 32);\n checkBox[1] = checkBox[0];\n\n check = new BufferedImage[2];\n check[0] = ui.crop(32, 32 * 3, 32, 32);\n check[1] = check[0];\n\n btn_start = new BufferedImage[2];\n\n btn_start[0] = ui.crop(32 * 3, 0, 32 * 6, 32 * 2);\n btn_start[1] = btn_start[0];\n\n btn_mp = new BufferedImage[2];\n\n btn_mp[0] = ui.crop(32 * 9, 0, 32 * 6, 32 * 2);\n btn_mp[1] = btn_mp[0];\n\n btn_config = new BufferedImage[2];\n btn_config[0] = ui.crop(32 * 3, 32 * 2, 64, 64);\n btn_config[1] = btn_config[0];\n\n btn_exit = new BufferedImage[2];\n btn_exit[0] = ui.crop(32 * 5, 32 * 2, 64 * 2, 64);\n btn_exit[1] = btn_exit[0];\n\n lifeBar = new BufferedImage[3];\n\n lifeBar[0] = ui.crop(0, 0, 32 * 3, 32);\n lifeBar[1] = ui.crop(0, 32, 32 * 3, 32);\n lifeBar[2] = ui.crop(0, 32 * 2, 32 * 3, 32);\n\n }", "title": "" }, { "docid": "a4d73e24caf89cb588d4c0882022dcd6", "score": "0.6181302", "text": "private void setHealthImage() {\n int widthFrame = 19;\n int heightFrame = 16;\n\n if(health==4) { subImageHealth=imageHealth.getSubimage(0, 0, widthFrame*4, heightFrame); }\n else if(health==3) { subImageHealth=imageHealth.getSubimage(0, 0, widthFrame*3, heightFrame); }\n else if(health==2) { subImageHealth=imageHealth.getSubimage(0, 0, widthFrame*2, heightFrame); }\n else if(health==1) { subImageHealth=imageHealth.getSubimage(0, 0, widthFrame, heightFrame); }\n }", "title": "" }, { "docid": "5a77fda2e9089531e85e414e37e7f417", "score": "0.61770374", "text": "public void bomb_Explodes(Bomb bomb, Graphics g){\r\n\t\tfor (int i=0;i<monsterList.size();i++){\r\n\t\t\tmonsterList.get(i).resetDire();\r\n\t\t}\r\n\t\t//posx and posy are the positions used to draw on the screen\r\n\t\t//bomb.getX() and bomb.getY() are used to check collisions\r\n\t\tint posX=bomb.getX()-player.getX()+400;\r\n\t\tint posY=bomb.getY()-player.getY()+300;\r\n\t\tint range=bomb.getRange();\r\n\t\t//needs to check all four directions individually since explosion stops when touching a block\r\n\t\t//check origin\r\n\t\tg.drawImage(boomPic,posX,posY,this);\r\n\t\t//bomb affected by bomb itself\r\n\t\tbomb_Affected(bomb.getX(),bomb.getY());\r\n\t\t//player affected by bomb\r\n\t\tplayer_Affected(bomb.getX(),bomb.getY(),bomb.getPower());\r\n\t\t//monster affected by bomb\r\n\t\tmonster_Affected_Bomb(bomb.getX(),bomb.getY(),bomb.getPower());\r\n\t\t//check up\r\n\t\tfor (int i=0;i<range;i++){\r\n\t\t\tbomb_Affected(bomb.getX(),bomb.getY()-25*(i+1));\r\n\t\t\tplayer_Affected(bomb.getX(),bomb.getY()-25*(i+1),bomb.getPower());\r\n\t\t\tmonster_Affected_Bomb(bomb.getX(),bomb.getY()-25*(i+1),bomb.getPower());\r\n\t\t\tif (myMap.explode_Effect(bomb.getX()/25,bomb.getY()/25-(i+1))){\r\n\t\t\t\tg.drawImage(boomPic,posX,posY-25*(i+1),this);\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//check down\r\n\t\tfor (int i=0;i<range;i++){\r\n\t\t\tbomb_Affected(bomb.getX(),bomb.getY()+25*(i+1));\r\n\t\t\tplayer_Affected(bomb.getX(),bomb.getY()+25*(i+1),bomb.getPower());\r\n\t\t\tmonster_Affected_Bomb(bomb.getX(),bomb.getY()+25*(i+1),bomb.getPower());\r\n\t\t\tif (myMap.explode_Effect(bomb.getX()/25,bomb.getY()/25+(i+1))){\r\n\t\t\t\tg.drawImage(boomPic,posX,posY+25*(i+1),this);\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//check right\r\n\r\n\t\tfor (int i=0;i<range;i++){\r\n\t\t\tbomb_Affected(bomb.getX()+25*(i+1),bomb.getY());\r\n\t\t\tplayer_Affected(bomb.getX()+25*(i+1),bomb.getY(),bomb.getPower());\r\n\t\t\tmonster_Affected_Bomb(bomb.getX()+25*(i+1),bomb.getY(),bomb.getPower());\r\n\t\t\tif (myMap.explode_Effect(bomb.getX()/25+(i+1),bomb.getY()/25)){\r\n\t\t\t\tg.drawImage(boomPic,posX+25*(i+1),posY,this);\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//check left\r\n\t\tfor (int i=0;i<range;i++){\r\n\t\t\tbomb_Affected(bomb.getX()-25*(i+1),bomb.getY());\r\n\t\t\tplayer_Affected(bomb.getX()-25*(i+1),bomb.getY(),bomb.getPower());\r\n\t\t\tmonster_Affected_Bomb(bomb.getX()-25*(i+1),bomb.getY(),bomb.getPower());\r\n\t\t\tif (myMap.explode_Effect(bomb.getX()/25-(i+1),bomb.getY()/25)){\r\n\t\t\t\tg.drawImage(boomPic,posX-25*(i+1),posY,this);\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t//once the bomb explodes, the tile that has the bomb becomes nothing(it should become what it was before releasing the bomb)\r\n\t\t//but since you can only release a bomb with a NOTHING tile, so it doesn't matter\r\n\t\tmyMap.getElement(bomb.getX()/25,bomb.getY()/25).changeType(WorldMap.NOTHING);\r\n\t}", "title": "" }, { "docid": "723600342ec6ae3a745b5ef8acfd3982", "score": "0.6157398", "text": "public void setEnemy_image(Image image) {\r\n\t\tthis.enemy_image = image;\r\n\t}", "title": "" }, { "docid": "2c48d597dd85e2339197c55bf5143a8f", "score": "0.6139931", "text": "public void init()\r\n {\r\n Sprite s;\t// Temporary reference to a sprite\r\n\r\n // Load the tile map and print it out so we can check it is valid\r\n tmap.loadMap(\"../maps\", \"snapmap.txt\");\r\n men = new Animation();\r\n men.addFrame(loadImage(\"../images/menu_1.png\"),100);\r\n menu = new Sprite(men);\r\n menu.setX(90);\r\n menu.setY(100);\r\n menu.setVelocityX(0);\r\n menu.setVelocityY(0);\r\n //ScreenManager screen = new ScreenManager();\r\n //DisplayMode displayMode = new DisplayMode(1024, 768, 32, 0);\r\n //screen.setFullScreen(displayMode);\r\n //Window window = screen.getFullScreenWindow();\r\n //window.setVisible(false);\r\n //window.setVisible(true);\r\n //window.addKeyListener(this);\r\n // window.addMouseListener(this);\r\n // Create a set of background sprites that we can\r\n // rearrange to give the illusion of motion\r\n background = new Animation();\r\n background.addFrame(loadImage(\"../images/snap_background.png\"),100);\r\n backgrounds = new Sprite(background);\r\n landing = new Animation();\r\n landing.addFrame(loadImage(\"../images/ghost.png\"), 200);\r\n landing.addFrame(loadImage(\"../images/ghost2.png\"), 500);\r\n landing.addFrame(loadImage(\"../images/ghost.png\"), 200);\r\n landing.addFrame(loadImage(\"../images/ghost3.png\"), 500);\r\n // Initialise the player with an animation\r\n player = new Sprite(landing);\r\n addMouseListener(this);\r\n // Load a single cloud animation\r\n Animation st = new Animation();\r\n st.addFrame(loadImage(\"../images/screenshot.png\"), 2500);\r\n st.addFrame(loadImage(\"../images/screenshot2.png\"), 2500);\r\n\r\n // Create 3 enemy sprites at random positions off the screen\r\n // to the right\r\n for (int c=0; c<3; c++)\r\n {\r\n \ts = new Sprite(st);\r\n \ts.setX(((float)(screenWidth*0.75)) + (int)(Math.random()*500.0f));\r\n \ts.setY(tmap.getPixelHeight() - (int)(Math.random()*900.0f));\r\n \ts.setVelocityX((float)(Math.random()*0.4)-0.8f);\r\n \ts.setVelocityY((float)(Math.random()*0.4)-0.4f);\r\n \ts.show();\r\n \tss.add(s);\r\n }\r\n xoffset = 128;\r\n yoffset = tmap.getPixelHeight()/2;\r\n\r\n initialiseGame();\r\n\r\n }", "title": "" }, { "docid": "1abf600f48e31d1de9dfd0167032a4f3", "score": "0.6130838", "text": "public ChangePaddleSizeGem(Bitmap bitmap, int x, int y, int col,int currentHealth, int pointsToGive){\n\n super( bitmap, x, y, col, currentHealth, pointsToGive, 5f); //5 seconds\n int rand = 0 + (int)(Math.random() * ((1 - 0) + 1));\n\n if(rand!=0){\n this.SetFalling(false);\n }else{\n this.SetFalling(true);\n }\n\n rand = 0 + (int)(Math.random() * ((1 - 0) + 1));\n\n if(rand!=0){\n paddleBigger = false;\n }else{\n paddleBigger = true;\n }\n\n }", "title": "" }, { "docid": "8d1e6e9d2b5b18fab47c353e6e73c6c7", "score": "0.6118305", "text": "@Override\r\n\tpublic void draw(Graphics2D g2d) {\n\t\tg2d.drawImage(Resource.mineSprite.getSubimage(0, 0, 24, 24), null, x, y);\r\n\t\t// Black light\r\n\t\tfloat alpha = 0.025f;\r\n\t\titemFire = 10;\r\n\t\tdimension = 12 + itemFire*2;\r\n\r\n\t\tfor (int i = 2; i < 250 - (12 * itemFire); i++) {\r\n\t\t\talpha += 0.025f;\r\n\r\n\t\t\tif (alpha >= 1.0f) {\r\n\t\t\t\talpha = 1.0f;\r\n\t\t\t}\r\n\t\t\tg2d.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha));\r\n\t\t\tg2d.setStroke(new BasicStroke((dimension) * i));\r\n\t\t\tg2d.setColor(Color.BLACK);\r\n\t\t\tg2d.drawOval(x - (dimension / 2) + 12, y - (dimension / 2) + 12, dimension, dimension);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e0775a2df41423c8c37b58b622059590", "score": "0.61155885", "text": "public Explosion(){\n\t\tradius = 1;\n\t\tx = 500;\n\t\ty = 350;\n\t}", "title": "" }, { "docid": "463b2933f93e1e9572d7a06d5673f52a", "score": "0.61083496", "text": "public void act() \n { \n \n if(!exploto){\n x=getX();\n y=getY();\n double y1 = y;\n cg++;\n if(cg%20==0){\n y -= (int)(-.09 * (cont * cont)) + 8;\n x-=10;\n cont++;\n this.setLocation(x, y);\n }\n if(isTouching(Piso.class)){\n setImage(\"d2.png\");\n Explosion e;\n e=new Explosion();\n getWorld().addObject(e,getX(),335);\n exploto = true;\n }\n }\n }", "title": "" }, { "docid": "f436d72574276c06eeb87e3fad4bb103", "score": "0.60984194", "text": "public void drawDefender() {\n image(defender, x - 22, y - 20);\n }", "title": "" }, { "docid": "3a421bcadd2e472a8ca1563ec7f5c601", "score": "0.6097444", "text": "public Enemies()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(600, 400, 1);\n prepare();\n }", "title": "" }, { "docid": "fa408c28918b1e8d61eef6fb91b3f310", "score": "0.60944384", "text": "public void setIdleImage()\n {\n Vector2 pos = anims[0].getPosition();\n\n currentSprite = 1;\n loadImage(anims[0]);\n }", "title": "" }, { "docid": "46e99394cbad94046bcd6cf4e14b8288", "score": "0.60936636", "text": "private void setUp() {\n\t\t\n\t\t\n\t\t RectObject bg=new RectObject(0,0,800,600,\"deathscreen\",Color.valueOf(\"#333333\"));\n\t\t ImageView img= null;\n\t\t if (!multi) {\n\t\t Image youdied = new Image(\"youdied.png\");\n img= new ImageView(youdied);\n\t\t }\n\t\t else {\n\t\t\t Image youlose= new Image(\"youlose.png\");\n\t\timg= new ImageView(youlose);\n\t\t }\n img.setFitWidth(500);\n img.setTranslateY(-100);\n img.setPreserveRatio(true);\n img.setSmooth(true);\n img.setCache(true);\n\t\t \n\t\t Fade(bg);\n\t\t\t\t \n\t\t Image restart = new Image(\"restart.png\");\n\t ImageView resimg= new ImageView(restart);\n\t resimg.setFitWidth(400);\n\t resimg.setTranslateX(-150);\n\t resimg.setTranslateY(180);\n\t resimg.setPreserveRatio(true);\n\t resimg.setSmooth(true);\n\t resimg.setCache(true);\n\t RectObject resbutton=new RectObject(-150,180,250,100,\"restart button\",Color.TRANSPARENT);\n\t \n\t resbutton.setOnMouseEntered(new EventHandler<MouseEvent>\n\t () {\n\n\t @Override\n\t public void handle(MouseEvent t) {\n\t resimg.setFitWidth(500);\n\t }\n\t });\n\n\t resbutton.setOnMouseExited(new EventHandler<MouseEvent>\n\t () {\n\n\t @Override\n\t public void handle(MouseEvent t) {\n\t resimg.setFitWidth(450);\n\t }\n\t });\n\t \n\t resbutton.setOnMouseClicked((MouseEvent e) -> {\n\t remove();\n\t player.setDead(false);\n\t player.addLives(3);\t \n\t player.addAmmo(10);\n\t player.getTimer().resetTime();\n\t player.setTranslateX(200);\n\t player.setTranslateY(0);\n\t player.getForeground().getChildren().remove(this);\n\t game.setUpLevel(game.GetCurrentLevel());\n\t \n\t \n\t });\n\t Image exit= new Image(\"continue.png\");\n\t ImageView exitimg= new ImageView(exit);\n\t exitimg.setFitWidth(400);\n\t exitimg.setTranslateX(160);\n\t exitimg.setTranslateY(190);\n\t exitimg.setPreserveRatio(true);\n\t exitimg.setSmooth(true);\n\t exitimg.setCache(true);\n\t \n\t RectObject exitbutton=new RectObject(160,190,400,100,\"exit button\",Color.TRANSPARENT);\n\t exitbutton.setOnMouseEntered(new EventHandler<MouseEvent>\n\t () {\n\n\t @Override\n\t public void handle(MouseEvent f) {\n\t exitimg.setFitWidth(450);\n\t }\n\t });\n\n\t exitbutton.setOnMouseExited(new EventHandler<MouseEvent>\n\t () {\n\n\t @Override\n\t public void handle(MouseEvent f) {\n\t exitimg.setFitWidth(400);\n\t }\n\t });\n\n\t exitbutton.setOnMouseClicked((MouseEvent e) -> {\n\t System.out.println(\"Clicked Exit!\"); // change functionality\n\t \n\t \t\tFXMLLoader loader = new FXMLLoader(getClass().getResource(\"../menu/view/mainmenu.fxml\"));\n\t \t\tPane mainMenu;\n\t\t\t\ttry {\n\t\t\t\t\tmainMenu = loader.load();\n\n\t \t\t\n\t \t\tMainMenuController controller = loader.getController();\n\t \t\tcontroller.setStage(primaryStage);\n\t \t\tScene scene = new Scene(mainMenu);\n\t \t\t//setCursor(scene);\n\t \t\tprimaryStage.setScene(scene);\n\n\t \t\tprimaryStage.show();\n\t remove();\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t\tdestroyGame();\n\t });\n\t \n\t this.getChildren().add(bg);\n\t this.getChildren().add(img);\n\t\t this.getChildren().add(resimg);\n\t\t this.getChildren().add(resbutton);\n\t\t this.getChildren().add(exitimg);\n\t\t this.getChildren().add(exitbutton);\t\n\t}", "title": "" }, { "docid": "26284800385f55898eba8e6df26695e5", "score": "0.6079103", "text": "public void drawImage(){\n Seniors=new GreenfootImage(side_Length+1, side_Length+1);\n Color Situation= ColorConversion(Health);\n Seniors.setColor(Situation);\n Seniors.fillOval(0,0,side_Length,side_Length);\n Seniors.setColor(Color.BLACK);\n Seniors.drawOval(0,0,side_Length,side_Length);\n this.setImage(Seniors);\n }", "title": "" }, { "docid": "72a598417609b46985d017f19a7d2941", "score": "0.60642123", "text": "public Explosion(int xCenter, int yCenter, Grid grid){\r\n this.xCenter = xCenter;\r\n this.yCenter = yCenter;\r\n this.r = 1; //initial radius\r\n this.isDead = false;\r\n this.grid = grid;\r\n// this.sound = new Sound();\r\n// this.sound.explode();\r\n }", "title": "" }, { "docid": "8be606fcbb9de1c1ae2410071997eb4c", "score": "0.60610557", "text": "protected void setMainSprite(MainCharacter player) {\r\n\t\tImagePattern right0 = new ImagePattern(new Image(\"standStill.png\"));\r\n\t\tImagePattern right1 = new ImagePattern(new Image(\"runGun1.png\"));\r\n\t\tImagePattern right2 = new ImagePattern(new Image(\"runGun2.png\"));\r\n\t\tImagePattern right3 = new ImagePattern(new Image(\"runGun3.png\"));\r\n\t\tImagePattern right4 = new ImagePattern(new Image(\"runGun4.png\"));\r\n\t\tImagePattern right5 = new ImagePattern(new Image(\"runGun5.png\"));\r\n\t\tImagePattern right6 = new ImagePattern(new Image(\"runGun6.png\"));\r\n\t\tImagePattern right7 = new ImagePattern(new Image(\"runGun7.png\"));\r\n\t\tImagePattern right8 = new ImagePattern(new Image(\"runGun8.png\"));\r\n\t\tImagePattern right9 = new ImagePattern(new Image(\"runGun9.png\"));\r\n\t\tImagePattern right10 = new ImagePattern(new Image(\"runGun10.png\"));\r\n\r\n\t\tImagePattern left0 = new ImagePattern(new Image(\"standLStill.png\"));\r\n\t\tImagePattern left1 = new ImagePattern(new Image(\"runGunL1.png\"));\r\n\t\tImagePattern left2 = new ImagePattern(new Image(\"runGunL2.png\"));\r\n\t\tImagePattern left3 = new ImagePattern(new Image(\"runGunL3.png\"));\r\n\t\tImagePattern left4 = new ImagePattern(new Image(\"runGunL4.png\"));\r\n\t\tImagePattern left5 = new ImagePattern(new Image(\"runGunL5.png\"));\r\n\t\tImagePattern left6 = new ImagePattern(new Image(\"runGunL6.png\"));\r\n\t\tImagePattern left7 = new ImagePattern(new Image(\"runGunL7.png\"));\r\n\t\tImagePattern left8 = new ImagePattern(new Image(\"runGunL8.png\"));\r\n\t\tImagePattern left9 = new ImagePattern(new Image(\"runGunL9.png\"));\r\n\t\tImagePattern left10 = new ImagePattern(new Image(\"runGunL10.png\"));\r\n\r\n\t\tImagePattern jumpL = new ImagePattern(new Image(\"jumpleft.png\"));\r\n\t\tImagePattern jumpR = new ImagePattern(new Image(\"jumpRight.png\"));\r\n\r\n\t\tTimeline rightTL = new Timeline(new KeyFrame(Duration.seconds(.1), evt -> {\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left1, right1, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(.2), evt -> {\r\n\t\t\tif (player.isInvincible()) {\r\n\t\t\t\t((Rectangle) player.getComponents().get(0)).setFill(Color.TRANSPARENT);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left2, right2, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(.3), evt -> {\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left3, right3, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(.4), evt -> {\r\n\t\t\tif (player.isInvincible()) {\r\n\t\t\t\t((Rectangle) player.getComponents().get(0)).setFill(Color.TRANSPARENT);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left4, right4, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(.5), evt -> {\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left5, right5, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(.6), evt -> {\r\n\t\t\tif (player.isInvincible()) {\r\n\t\t\t\t((Rectangle) player.getComponents().get(0)).setFill(Color.TRANSPARENT);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left6, right6, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(.7), evt -> {\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left7, right7, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(.8), evt -> {\r\n\t\t\tif (player.isInvincible()) {\r\n\t\t\t\t((Rectangle) player.getComponents().get(0)).setFill(Color.TRANSPARENT);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left8, right8, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(.9), evt -> {\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left9, right9, jumpL, jumpR);\r\n\t\t}), new KeyFrame(Duration.seconds(1), evt -> {\r\n\t\t\tif (player.isInvincible()) {\r\n\t\t\t\t((Rectangle) player.getComponents().get(0)).setFill(Color.TRANSPARENT);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tsetUpPlayerFrame(player, left0, right0, left10, right10, jumpL, jumpR);\r\n\t\t}));\r\n\r\n\t\trightTL.setCycleCount(Animation.INDEFINITE);\r\n\t\trightTL.play();\r\n\t\tspriteMap.put(player, rightTL);\r\n\t}", "title": "" }, { "docid": "78bd1a74943541a6b38be76ff4a62612", "score": "0.6046969", "text": "public void ini_engine() {\n music_soundtrack = new SoundTrack(\n R.raw.music_creative_commons_podington_bear_electronic_chrome_muffler, context);\n music_soundtrack.play();\n mixer = new SoundEffectMixer(context,10);\n\n depthcharge_effect = mixer.addEffect(R.raw.depthcharge);\n explosion1_effect = mixer.addEffect(R.raw.explosion1);\n explosion2_effect = mixer.addEffect(R.raw.explosion2);\n explosion3_effect = mixer.addEffect(R.raw.explosion3);\n gunshot_effect = mixer.addEffect(R.raw.gunshot);\n hit1_effect = mixer.addEffect(R.raw.hit1);\n laser1_effect = mixer.addEffect(R.raw.laser1);\n laser2_effect = mixer.addEffect(R.raw.laser2);\n laser3_effect = mixer.addEffect(R.raw.laser3);\n lasermachinegun_effect = mixer.addEffect(R.raw.lasermachinegun);\n loose_effect = mixer.addEffect(R.raw.loose);\n powerup_effect = mixer.addEffect(R.raw.powerup);\n scifi004_effect = mixer.addEffect(R.raw.scifi004);\n shot1_effect = mixer.addEffect(R.raw.shot1);\n wawa_effect = mixer.addEffect(R.raw.wawa);\n\n\n if (initialized)\n return; //if previously initialized no need to do it again.\n\n scale = 1.4*view_width / proto_width;\n\n\n\n infotext = new Annotation(\"\",scale);\n infotext.anchor_position = Sprite.anchor.CENTER;\n infotext.setposition(view_width /2, (int) (5*scale)+5);\n director.add_Annotation(infotext);\n\n Bitmap mbit =getBitmap(R.drawable.spaceship_blue);\n\n spaceship_proto = new Sprite(mbit);\n Bitmap mbit1 = getBitmap(R.drawable.l0_spaceship0011);\n Bitmap mbit2 = getBitmap(R.drawable.l0_spaceship0012);\n Bitmap mbit3 = getBitmap(R.drawable.l0_spaceship0013);\n Bitmap mbit4 = getBitmap(R.drawable.l0_spaceship0014);\n Bitmap mbit5 = getBitmap(R.drawable.l0_spaceship0015);\n Bitmap mbit6 = getBitmap(R.drawable.l0_spaceship0016);\n\n Bitmap [] mbit_enemy = {mbit1, mbit2, mbit3, mbit4, mbit5, mbit6};\n\n\n\n enemy_proto = new Enemy(mbit_enemy);\n enemy_proto_lvl3 = new Enemy(getBitmap(R.drawable.spaceshipdrakir1));\n enemy_proto_lvl2 = new Enemy(getBitmap(R.drawable.spaceshipdrakir2));\n enemy_proto_lvl4 = new Enemy(getBitmap(R.drawable.spaceshipdrakir3));\n enemy_proto_lvl5 = new Enemy(getBitmap(R.drawable.spaceshipdrakir4));\n enemy_proto_lvl6 = new Enemy(getBitmap(R.drawable.spaceshipdrakir5));\n enemy_proto_lvl7 = new Enemy(getBitmap(R.drawable.spaceshipdrakir6));\n enemy_proto_lvl8 = new Enemy(getBitmap(R.drawable.spaceshipdrakir7));\n\n\n Bitmap spritesheet1 = BitmapFactory.decodeResource(getResources(), R.drawable.bugs_invaders);\n\n Bitmap inv1 = grabfromSpriteSheet(spritesheet1, 8, 6, 22, 22);\n Bitmap inv2 = grabfromSpriteSheet(spritesheet1, 8, 29, 22, 22);\n Bitmap [] inv = { inv1, inv1, inv1, inv2, inv2, inv2};\n\n enemy_proto_lvl15 = new Enemy(inv);\n\n inv1 = grabfromSpriteSheet(spritesheet1, 6, 56, 22, 22);\n inv2 = grabfromSpriteSheet(spritesheet1, 6, 55, 22, 22);\n Bitmap [] inv01 = { inv1, inv1, inv1, inv2, inv2, inv2};\n\n enemy_proto_lvl16 = new Enemy(inv01);\n\n inv1 = grabfromSpriteSheet(spritesheet1, 33, 6, 22, 22);\n inv2 = grabfromSpriteSheet(spritesheet1, 33, 29, 22, 22);\n Bitmap [] inv02 = { inv1, inv1, inv1, inv2, inv2, inv2};\n enemy_proto_lvl17 = new Enemy(inv02);\n\n inv1 = grabfromSpriteSheet(spritesheet1, 85, 7, 22, 22);\n inv2 = grabfromSpriteSheet(spritesheet1, 85, 28, 22, 22);\n Bitmap [] inv03 = { inv1, inv1, inv1, inv2, inv2, inv2};\n enemy_proto_lvl18 = new Enemy(inv03);\n\n inv1 = grabfromSpriteSheet(spritesheet1, 32, 56, 22, 22);\n inv2 = grabfromSpriteSheet(spritesheet1, 32, 78, 22, 22);\n Bitmap [] inv04 = { inv1, inv1, inv1, inv2, inv2, inv2};\n enemy_proto_lvl19 = new Enemy(inv04);\n\n inv1 = grabfromSpriteSheet(spritesheet1, 57, 8, 22, 22);\n inv2 = grabfromSpriteSheet(spritesheet1, 56, 27, 22, 22);\n Bitmap [] inv05 = { inv1, inv1, inv1, inv2, inv2, inv2};\n enemy_proto_lvl20 = new Enemy(inv05);\n\n inv1 = grabfromSpriteSheet(spritesheet1, 59, 55, 22, 22);\n inv2 = grabfromSpriteSheet(spritesheet1, 59, 77, 22, 22);\n Bitmap [] inv06 = { inv1, inv1, inv1, inv2, inv2, inv2};\n enemy_proto_lvl21 = new Enemy(inv06);\n\n inv1 = grabfromSpriteSheet(spritesheet1, 59, 55, 22, 22);\n inv2 = grabfromSpriteSheet(spritesheet1, 59, 77, 22, 22);\n Bitmap [] inv07 = { inv1, inv1, inv1, inv2, inv2, inv2};\n enemy_proto_lvl22 = new Enemy(inv07);\n\n\n\n Bitmap spritesheet2 = BitmapFactory.decodeResource(getResources(), R.drawable.m48_bullets);\n Bitmap bul22 = grabfromSpriteSheet(spritesheet2, 217, 111, 13, 13);\n Bitmap bul11 = grabfromSpriteSheet(spritesheet2, 11, 12, 10, 10);\n Bitmap bul12 = grabfromSpriteSheet(spritesheet2, 21, 12, 10, 10);\n Bitmap bul13 = grabfromSpriteSheet(spritesheet2, 32, 12, 10, 10);\n Bitmap bul14 = grabfromSpriteSheet(spritesheet2, 43, 12, 10, 10);\n Bitmap[] bul_v = {bul11,bul12,bul13,bul14};\n Bitmap Bul21 = grabfromSpriteSheet(spritesheet2, 412, 8, 15, 24);\n Bitmap Bul22 = grabfromSpriteSheet(spritesheet2, 272, 300, 22, 22);\n Bitmap Bul23 = grabfromSpriteSheet(spritesheet2, 128, 152, 14, 14);\n Bitmap Bul24 = grabfromSpriteSheet(spritesheet2, 465, 214, 12, 17);\n Bitmap Bul25 = grabfromSpriteSheet(spritesheet2, 465, 252, 12, 21);\n Bitmap [] Bul24_5 = {Bul24, Bul24 ,Bul25 , Bul25};\n\n\n enemy_bullet_proto = new Bullet(bul22);\n bullet_proto_1 = new Bullet( Bul21 );\n bullet_proto_2 = new Bullet( Bul22) ;\n bullet_proto_3 = new Bullet( Bul23) ;\n bullet_proto_4 = new Bullet( Bul24_5) ;\n bullet_proto = new Bullet (bul_v);\n\n\n win_proto = new Sprite( getBitmap( R.drawable.you_win));\n los_proto = new Sprite( getBitmap( R.drawable.static_gameover));\n\n\n Bitmap spritesheet3 = BitmapFactory.decodeResource(getResources(), R.drawable.explosion17);\n int[] e_x = { 1, 65, 129, 193, 256 };\n int [] e_y = { 1, 65, 129, 193, 256};\n Bitmap[] ex_b = new Bitmap[25];\n for (int i=0; i<5;i++) {\n for (int j=0; j<5; j++) {\n ex_b[j*5+i] = grabfromSpriteSheet(spritesheet3, e_x[i], e_y[j], 64, 64);\n }\n }\n explode_proto = new TransientSprite(ex_b);\n\n\n\n\n //explode_proto = new TransientSprite(BitmapFactory.decodeResource(\n // getResources(), R.drawable.explode));\n\n Bitmap[] mini_b = {ex_b[0], ex_b[1]};\n mini_explode_proto = new TransientSprite( mini_b );\n\n\n Bitmap spritesheet4 = BitmapFactory.decodeResource(getResources(), R.drawable.powerups);\n //life\n Bitmap power3_proto_bt = grabfromSpriteSheet(spritesheet4, 1, 1, 39, 39);\n //circle\n Bitmap power4_proto_bt = grabfromSpriteSheet(spritesheet4, 80, 40, 39, 39);\n power3_proto = new Sprite(power3_proto_bt);\n power4_proto = new Sprite(power4_proto_bt);\n\n Bitmap spritesheet4_1 = BitmapFactory.decodeResource(\n getResources(), R.drawable.powerups_color);\n Bitmap power1_proto_bt = grabfromSpriteSheet(spritesheet4_1, 1, 1, 39, 39);\n Bitmap power2_proto_bt = grabfromSpriteSheet(spritesheet4_1, 40, 1, 39, 39);\n Bitmap power5_proto_bt = grabfromSpriteSheet(spritesheet4_1, 80, 1, 39, 39);\n Bitmap power6_proto_bt = grabfromSpriteSheet(spritesheet4_1, 1, 40, 39, 39);\n power1_proto = new Sprite(power1_proto_bt);\n power2_proto = new Sprite(power2_proto_bt);\n power5_proto = new Sprite(power5_proto_bt);\n power6_proto = new Sprite(power6_proto_bt);\n\n\n button101 = new Sprite (getBitmap(R.drawable.wire) );\n button102 = new Sprite( getBitmap(R.drawable.missile) );\n\n Bitmap b1 = BitmapFactory.decodeResource(\n getResources(), R.drawable.bigbackground );\n Bitmap b2 = Bitmap.createScaledBitmap(b1,(int ) (b1.getWidth()*scale/1.4),\n (int) (b1.getHeight()*scale/1.4),false);\n\n director.add_background( b2 );\n Sprite back = director.get_Background(0);\n Bitmap img_star = BitmapFactory.decodeResource(getResources(), R.drawable.rsz_star);\n for (int i = 0 ; i<5; i++) {\n for (int j=0;j<10;j++) {\n Star st = new Star(img_star,view_height,i+1);\n st.setposition( (int)(view_width * Math.random()),(int) (view_height* Math.random()));\n director.add_background( st );\n }\n }\n back.setposition( (int) (view_width/2.00),(int) (view_height/2.00));\n score = 0;\n lives = max_lives;\n lvl++;\n sub_lvl++;\n bulletstorage = new BulletStorage();\n initialized = true;\n\n Bitmap spritesheet5 = BitmapFactory.decodeResource(getResources(), R.drawable.arcade_red);\n\n\n\n Bitmap but1_b1 = grabfromSpriteSheet(spritesheet5,1,1,49,49);\n Bitmap but1_b2 = grabfromSpriteSheet(spritesheet5,57,1,49,49);\n Bitmap [] but1_b_red = {but1_b1 , but1_b2};\n SurfaceButton but1 = new SurfaceButton ( but1_b_red );\n but1.anchor_position = Sprite.anchor.DOWNLEFT;\n but1.setposition(1,view_height);\n\n\n /*SurfaceButton but1_2 = new SurfaceButton ( but1_b_red );\n but1_2.anchor_position = Sprite.anchor.DOWNLEFT;\n but1_2.setposition(1,view_height-but1.getHeight());*/\n\n\n Bitmap spritesheet6 = BitmapFactory.decodeResource(getResources(), R.drawable.arcade_green);\n Bitmap but2_b1 = grabfromSpriteSheet(spritesheet6, 1, 1, 49, 49);\n Bitmap but2_b2 = grabfromSpriteSheet(spritesheet6,57, 1, 49, 49);\n Bitmap [] b2__b_green = {but2_b1, but2_b2};\n SurfaceButton but2 = new SurfaceButton( b2__b_green );\n but2.anchor_position = Sprite.anchor.DOWNRIGHT;\n but2.setposition(view_width, view_height);\n\n Bitmap spritesheet7 = BitmapFactory.decodeResource(getResources(), R.drawable.arcade_yellow);\n Bitmap but3_b1 = grabfromSpriteSheet(spritesheet7, 1, 1, 49, 49);\n Bitmap but3_b2 = grabfromSpriteSheet(spritesheet7,57, 1, 49, 49);\n Bitmap [] b3__b_yellow = {but3_b1, but3_b2};\n SurfaceButton but3 = new SurfaceButton( b3__b_yellow );\n but3.anchor_position = Sprite.anchor.DOWNRIGHT;\n but3.setposition(view_width, view_height - but2.getHeight());\n\n Bitmap spritesheet8 = BitmapFactory.decodeResource(getResources(), R.drawable.arcade_blue);\n Bitmap but4_b1 = grabfromSpriteSheet(spritesheet8, 1, 1, 49, 49);\n Bitmap but4_b2 = grabfromSpriteSheet(spritesheet8,57, 1, 49, 49);\n Bitmap [] b4__b_yellow = {but4_b1, but4_b2};\n SurfaceButton but4 = new SurfaceButton( b4__b_yellow );\n but4.anchor_position = Sprite.anchor.DOWNRIGHT;\n but4.setposition(view_width, view_height - 2*but3.getHeight());\n\n Bitmap spritesheet9 = BitmapFactory.decodeResource(getResources(), R.drawable.arcade_orange);\n Bitmap but5_b1 = grabfromSpriteSheet(spritesheet9, 1, 1, 49, 49);\n Bitmap but5_b2 = grabfromSpriteSheet(spritesheet9,57, 1, 49, 49);\n Bitmap [] b5__b_yellow = {but5_b1, but5_b2};\n SurfaceButton but5 = new SurfaceButton( b5__b_yellow);\n but5.anchor_position = Sprite.anchor.DOWNRIGHT;\n but5.setposition(view_width, view_height - 3*but4.getHeight());\n\n\n //first add keys to keymaster\n keys.addControl(but1);\n keys.addControl(but2);\n keys.addControl(but3);\n keys.addControl(but4);\n keys.addControl(but5);\n // keys.addControl(but1_2);\n //then add keys to director for rendering\n director.add_background(but1);\n director.add_background(but2);\n director.add_background(but3);\n director.add_background(but4);\n director.add_background(but5);\n // director.add_background(but1_2);\n\n but1.setSticky(true);\n\n but1.setClickListener(new View.OnTouchListener() {\n\n public boolean onTouch(View v, MotionEvent event) {\n int action = event.getAction();\n if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_POINTER_UP)\n fire_swich = !fire_swich;\n return true;\n }\n\n });\n\n /* but1_2.setClickListener( new View.OnTouchListener() {\n\n public boolean onTouch(View v, MotionEvent event) {\n int action = event.getAction();\n if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_POINTER_UP)\n {\n bulletstorage.push(weapon_dual,50);\n bulletstorage.push(weapon_triple,50);\n bulletstorage.push(weapon_laz_single,50);\n bulletstorage.push(weapon_laz_dual,50);\n\n }\n return true;\n\n\n }\n });*/\n\n but3.setClickListener( new View.OnTouchListener() {\n\n public boolean onTouch(View v, MotionEvent event) {\n int action = event.getAction();\n if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_POINTER_UP)\n active_weapon=1;\n return true;\n }\n\n\n });\n but4.setClickListener( new View.OnTouchListener() {\n\n public boolean onTouch(View v, MotionEvent event) {\n int action = event.getAction();\n if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_POINTER_UP)\n active_weapon=2;\n return true;\n }\n\n\n });\n\n but5.setClickListener( new View.OnTouchListener() {\n\n public boolean onTouch(View v, MotionEvent event) {\n int action = event.getAction();\n if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_POINTER_UP)\n active_weapon=4;\n return true;\n }\n\n\n });\n\n\n but2.setClickListener( new View.OnTouchListener() {\n\n public boolean onTouch(View v, MotionEvent event) {\n int action = event.getAction();\n if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_POINTER_UP)\n active_weapon=3;\n return true;\n }\n\n\n });\n\n\n\n\n\n\n createNewStage();\n\n }", "title": "" }, { "docid": "f2b3e7262f2d872d46274079e3082686", "score": "0.60418725", "text": "public void bombState() {\n \tfor(Entity e: dungeon.getEntities()) {\n \t\tif(e instanceof Bomb && ((Bomb) e).isLit()) {\n \t\t\tif(((Bomb) e).getState() == ((Bomb) e).getLitBomb1()) {\n \t\t\t\te.getImage().setImage(new Image(\"/bomb_lit_1.png\"));\n \t\t\t}\n \t\t\telse if(((Bomb) e).getState() == ((Bomb) e).getLitBomb2()) {\n \t\t\t\tSystem.out.println(e);\n \t\t\t\te.getImage().setImage(new Image(\"/bomb_lit_2.png\"));\n \t\t\t}\n \t\t\telse if(((Bomb) e).getState() == ((Bomb) e).getLitBomb3()) {\n \t\t\t\te.getImage().setImage(new Image(\"/bomb_lit_3.png\"));\n \t\t\t}\n \t\t\telse if(((Bomb) e).getState() == ((Bomb) e).getExplodingBomb()) {\n \t\t\t\te.getImage().setImage(new Image(\"/bomb_lit_4.png\"));\n \t\t\t\tString musicFile = \"./sounds/explosion.wav\";\n \t\t\t\tMedia sound = new Media(new File(musicFile).toURI().toString());\n \t\t\t\tMediaPlayer mediaPlayer = new MediaPlayer(sound);\n \t\t\t\tmediaPlayer.play();\n \t\t\t}\n \t\t\telse if(((Bomb) e).getState() == ((Bomb) e).getPostExplosionBomb()) {\n \t\t\t\te.getImage().setImage(null);\n \t\t\t\tdungeon.removeEntity(e);\n \t\t\t}\n \t\t}\n \t}\n }", "title": "" }, { "docid": "ec547187f54c9041d07190cf3f4384b7", "score": "0.6041659", "text": "public void spawnCharacter() {\n int spawnIndex = new Random().nextInt(currentHouse.getxSpawns().length);\n if(!isXandYSpawned(currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex])) {\n characterCount++;\n Bitmap smoke = BitmapFactory.decodeResource(this.getResources(), R.drawable.smoke);\n smoke = Bitmap.createScaledBitmap(smoke, 500, 100, false);\n SpriteAnimation animation2 = createAnimation(smoke, 1, 5, 100, 100, charWidth, charHeight);\n smoke.recycle();\n\n int r = new Random().nextInt(100); // spawns a drug if 0 - 69, spawns an innocent if 70 - 89 , spawns an item if 90 - 99\n if(r <= 69) {\n int charType = new Random().nextInt(3);\n if(charType == 0) {\n Bitmap character = BitmapFactory.decodeResource(this.getResources(), R.drawable.drug1);\n character = Bitmap.createScaledBitmap(character, 100, 100, false);\n SpriteAnimation animation1 = createAnimation(character, 1, 1, 100, 100, charWidth, charHeight);\n character.recycle();\n chars.add(new Character(\"drugs\", animation1, currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex], currentMillisecond, 2000, 5, 0, 0, 3));\n }\n else if(charType == 1) {\n Bitmap character = BitmapFactory.decodeResource(this.getResources(), R.drawable.drug2);\n character = Bitmap.createScaledBitmap(character, 100, 100, false);\n SpriteAnimation animation1 = createAnimation(character, 1, 1, 100, 100, charWidth, charHeight);\n character.recycle();\n chars.add(new Character(\"drugs\", animation1, currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex], currentMillisecond, 2000, 10, 0, 0, 7));\n }\n else if(charType == 2) {\n Bitmap character = BitmapFactory.decodeResource(this.getResources(), R.drawable.drug3);\n character = Bitmap.createScaledBitmap(character, 100, 100, false);\n SpriteAnimation animation1 = createAnimation(character, 1, 1, 100, 100, charWidth, charHeight);\n character.recycle();\n chars.add(new Character(\"drugs\", animation1, currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex], currentMillisecond, 2000, 2, 0, 0, 1));\n }\n }\n else if (r <= 89) {\n int charType = new Random().nextInt(4);\n if (charType == 0) {\n Bitmap character = BitmapFactory.decodeResource(this.getResources(), R.drawable.innocent1);\n character = Bitmap.createScaledBitmap(character, 100, 100, false);\n SpriteAnimation animation1 = createAnimation(character, 1, 1, 100, 100, charWidth, charHeight);\n character.recycle();\n chars.add(new Character(\"innocent\", animation1, currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex], currentMillisecond, 1000, -2, 0, 0, 1));\n }\n else if (charType == 1) {\n Bitmap character = BitmapFactory.decodeResource(this.getResources(), R.drawable.innocent2);\n character = Bitmap.createScaledBitmap(character, 100, 100, false);\n SpriteAnimation animation1 = createAnimation(character, 1, 1, 100, 100, charWidth, charHeight);\n character.recycle();\n chars.add(new Character(\"innocent\", animation1, currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex], currentMillisecond, 1500, -5, 0, 0, 1));\n }\n else if (charType == 2) {\n Bitmap character = BitmapFactory.decodeResource(this.getResources(), R.drawable.innocent3);\n character = Bitmap.createScaledBitmap(character, 100, 100, false);\n SpriteAnimation animation1 = createAnimation(character, 1, 1, 100, 100, charWidth, charHeight);\n character.recycle();\n chars.add(new Character(\"innocent\", animation1, currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex], currentMillisecond, 2000, -10, 0, 0, 1));\n }\n else if (charType == 3) {\n Bitmap character = BitmapFactory.decodeResource(this.getResources(), R.drawable.innocent4);\n character = Bitmap.createScaledBitmap(character, 100, 100, false);\n SpriteAnimation animation1 = createAnimation(character, 1, 1, 100, 100, charWidth, charHeight);\n character.recycle();\n chars.add(new Character(\"innocent\", animation1, currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex], currentMillisecond, 2500, -20, 0, 0, 1));\n }\n }\n else if (r <= 99) {\n int charType = new Random().nextInt(1);\n if (charType == 0) {\n Bitmap character = BitmapFactory.decodeResource(this.getResources(), R.drawable.health);\n character = Bitmap.createScaledBitmap(character, 100, 100, false);\n SpriteAnimation animation1 = createAnimation(character, 1, 1, 100, 100, charWidth, charHeight);\n character.recycle();\n chars.add(new Character(\"item_health\", animation1, currentHouse.getxSpawns()[spawnIndex], currentHouse.getySpawns()[spawnIndex], currentMillisecond, 300, 0, 0, 0, 5));\n }\n }\n\n\n chars.get(chars.size() - 1).addSpritesToAnimation(animation2);\n currentHouse.deductCharacterSpawn();\n characterSpawned = true;\n }\n }", "title": "" }, { "docid": "2275a9e45d8b11eb29a13f86c83c78a8", "score": "0.6041211", "text": "public void load(String k)\n\t{\n\t\tBufferedImage [] enemyImages = new BufferedImage[4] ;\n\t\ttry {\n\t\t\ttextures = ImageIO.read(new File(\"bin/BlockTextures.png\"));\n\t\t\tenemyImages[0] = ImageIO.read(new File(\"bin/robbie.png\"));\n\t\t\tenemyImages[1] = ImageIO.read(new File(\"bin/labenemy.png\"));\n\t\t\tenemyImages[2] = ImageIO.read(new File(\"bin/louisenemy.png\"));\n\t\t\tenemyImages[3] = ImageIO.read(new File(\"bin/cityenemy.png\"));\n\n\t\t} catch (IOException e1) {e1.printStackTrace();}\n\t\t\n\t\t//obtain 2d integer arraylist from serializable map file\n\t\tintMap = new ArrayList<ArrayList<Integer>>();\n\t\t\n try{\n \tObjectInputStream is;\n \tif (custom)\n \t\t is = new ObjectInputStream(new FileInputStream(\"resources/customlevels/\"+k));\n \telse\n \t\tis = new ObjectInputStream(new FileInputStream(\"resources/\"+k));\n Map m = (Map)is.readObject();\n intMap = m.getIntGrid();\n is.close();\n } catch(Exception er){er.printStackTrace();}\n \n //run through map checking for entities\n for (int i = 0; i < intMap.size(); i++)\n \tfor (int j = 0; j < intMap.get(i).size(); j++)\n \t{\n \t\t//when code for certain entity is come across, add the entity at appropriate position relative to map origin\n \t\tif (intMap.get(i).get(j) >= 72 && intMap.get(i).get(j) <=87)\n \t\t\tturrets.add(new Turret(i, j, (intMap.get(i).get(j)-72)%4+1));\n \t\telse if (intMap.get(i).get(j) >= 88 && intMap.get(i).get(j) <= 91)\n \t\t\tenemies.add(new Enemy(j*48, i* 48, enemyImages[intMap.get(i).get(j)-88]));\n \t\telse if (intMap.get(i).get(j) == 92)//set spawn at ID = 92\n \t\t{\n \t\t\tinitMapX = spawnX - (j) * 48;\n \t\t\tinitMapY = spawnY - (i) * 48;\n \t\t}\n \t}\n\t}", "title": "" }, { "docid": "360eb8d45e3cd3e2743923eabd1a5732", "score": "0.6011753", "text": "private void createAliens() {\n\t\taliens = new Aliens[4][3];\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tint xpos = i * 200 + 200;\n\t\t\tint ypos[] = generateYPos();\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tdouble rand = Math.random();\n\t\t\t\t//randomly generates aliens\n\t\t\t\tif (rand < 0.05) {\n\t\t\t\t\taliens[i][j] = new Health(xpos, ypos[j], COURT_WIDTH, COURT_HEIGHT);\n\t\t\t\t} else if (rand < 0.4) {\n\t\t\t\t\taliens[i][j] = new Red(xpos, ypos[j], COURT_WIDTH, COURT_HEIGHT);\n\t\t\t\t} else {\n\t\t\t\t\taliens[i][j] = new Orange(xpos, ypos[j], COURT_WIDTH, COURT_HEIGHT);\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.xposition = 200; //set as 150\n\t\t}\n\t}", "title": "" }, { "docid": "759448018b7852f708208853c25590e8", "score": "0.60111845", "text": "void SetupImage()\n {\n int[] texturenames = new int[1];\n GLES20.glGenTextures(1, texturenames, 0);\n GLES20.glActiveTexture(GLES20.GL_TEXTURE0);\n GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texturenames[0]);\n\n GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_LINEAR);\n GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_LINEAR);\n\n GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_S, GLES20.GL_CLAMP_TO_EDGE);\n GLES20.glTexParameteri(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_WRAP_T, GLES20.GL_CLAMP_TO_EDGE);\n\n\n if (GfxResourceHandler.getInstance().getRsx(\"sheep\") == null)\n {\n Log.d(\"Render\",\"Sheep texture failed to load\");\n }\n // Need to modify gfxresourcehandler to provide a composite all setting\n // And ability to reference index in array\n // Images are going to be compiled in gfxrsxhandler and provided via a separate call\n GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, GfxResourceHandler.getInstance().getRsx(\"sheep\"), 0);\n }", "title": "" }, { "docid": "df43a0a15250b76e760bcb36f38e7748", "score": "0.6001235", "text": "public Missile(Context context, int x, int y, int Px, int Py) {\n this.context = context;\n this.bmp = BitmapFactory.decodeResource(this.context.getResources(), R.drawable.nuke);\n this.y = y;\n this.x = x;\n\n this.alive = true;\n damage = 10;\n this.droid = new Droid(this.bmp, this.x, this.y);\n }", "title": "" }, { "docid": "6fde3993118e5276eb5ae2c629dc8535", "score": "0.59862185", "text": "public DarkKnight(float initialX, float initialY, int increaseHp, float increaseSpeed, int increaseAttack) throws SlickException {\n enemyChar = new Circle(initialX, initialY, 15);\n runSheet = new Image[]{new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/run/run_1.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/run/run_2.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/run/run_3.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/run/run_4.png\")};\n fightSheet = new Image[]{new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/fight/attack_1.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/fight/attack_2.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/fight/attack_3.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/fight/attack_4.png\")};\n dieSheet = new Image[]{new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/die/dead_1.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/die/dead_2.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/die/dead_3.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/die/dead_4.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/die/dead_5.png\"),\n new Image(\"SpritesSheets/BraveKnightPlatformerCharacter/Assets/black_knight/die/dead_6.png\")};\n if (Board.getBlur()) {\n for (int i = 0; i < runSheet.length - 1; i++) {\n runSheet[i].setFilter(Image.FILTER_NEAREST);\n }\n for (int i = 0; i < dieSheet.length - 1; i++) {\n dieSheet[i].setFilter(Image.FILTER_NEAREST);\n }\n for (int i = 0; i < fightSheet.length - 1; i++) {\n fightSheet[i].setFilter(Image.FILTER_NEAREST);\n }\n }\n enemyRunAnimation = new Animation(runSheet, 150);\n enemyFightAnimation = new Animation(fightSheet, 200);\n enemyDieAnimation = new Animation(dieSheet, 300);\n healthLevel = 110 + increaseHp;\n speed = 0.2f + increaseSpeed;\n attackPower = 8 + increaseAttack;\n dropCash = 5;\n\n }", "title": "" }, { "docid": "cab5044597b23b67246e9f84b5b7a004", "score": "0.5952107", "text": "public void run() {\r\n\r\n //add enemy squares in three rows\r\n //start at the top of the screen\r\n //first row\r\n blocks.add(new Rectangle(30, 0, 40, 40));\r\n blocks.add(new Rectangle(140, 0, 40, 40));\r\n blocks.add(new Rectangle(250, 0, 40, 40));\r\n blocks.add(new Rectangle(360, 0, 40, 40));\r\n blocks.add(new Rectangle(470, 0, 40, 40));\r\n blocks.add(new Rectangle(580, 0, 40, 40));\r\n blocks.add(new Rectangle(690, 0, 40, 40));\r\n\r\n //second row\r\n blocks.add(new Rectangle(85, 50, 40, 40));\r\n blocks.add(new Rectangle(195, 50, 40, 40));\r\n blocks.add(new Rectangle(305, 50, 40, 40));\r\n blocks.add(new Rectangle(415, 50, 40, 40));\r\n blocks.add(new Rectangle(525, 50, 40, 40));\r\n blocks.add(new Rectangle(635, 50, 40, 40));\r\n\r\n //third row\r\n blocks.add(new Rectangle(140, 100, 40, 40));\r\n blocks.add(new Rectangle(250, 100, 40, 40));\r\n blocks.add(new Rectangle(360, 100, 40, 40));\r\n blocks.add(new Rectangle(470, 100, 40, 40));\r\n blocks.add(new Rectangle(580, 100, 40, 40));\r\n\r\n //add lives\r\n lives.add(new Rectangle(730, 570, 20, 20));\r\n lives.add(new Rectangle(700, 570, 20, 20));\r\n lives.add(new Rectangle(670, 570, 20, 20));\r\n \r\n //play background music\r\n BGM();\r\n\r\n\r\n // Used to keep track of time used to draw and update the game\r\n // This is used to limit the framerate later on\r\n long startTime;\r\n long deltaTime;\r\n\r\n start = System.currentTimeMillis() + 3000;\r\n\r\n // the main game loop section\r\n // game will end if you set done = false;\r\n boolean done = false;\r\n while (!done) {\r\n // determines when we started so we can keep a framerate\r\n startTime = System.currentTimeMillis();\r\n\r\n // all your game rules and move is done in here\r\n // GAME LOGIC STARTS HERE \r\n int numberOfAliens = blocks.size();\r\n\r\n if (System.currentTimeMillis() > start) {\r\n \r\n //move player left\r\n if (left) {\r\n moveX = -5;\r\n //move player right\r\n } else if (right) {\r\n moveX = 5;\r\n //stop player when key released \r\n } else {\r\n moveX = 0;\r\n }\r\n //add x movements to player\r\n player.x = player.x + moveX;\r\n\r\n //make player stop at edges of screen\r\n //if player reaches right side\r\n if (player.x + player.width > WIDTH) {\r\n player.x = WIDTH - player.width;\r\n moveX = 0;\r\n //if player reaches left side\r\n } else if (player.x < 0) {\r\n player.x = 0;\r\n moveX = 0;\r\n }\r\n \r\n //animate enemy array\r\n //randomly select aliens to move, so it's not uniform\r\n //only move if the player is alive\r\n if (player.y < 601) {\r\n int numeBlocks = blocks.size();\r\n int randomInt = (int) (Math.random() * numeBlocks);\r\n //if there are still aliens left\r\n if (numberOfAliens > 0) {\r\n Rectangle eBlock = blocks.get(randomInt);\r\n //make aliens follow player\r\n //match player's y coordinate\r\n if (eBlock.y != player.y + 600) {\r\n eBlock.y += 2;\r\n //if the aliens go past the player\r\n //player loses a life\r\n if (eBlock.y > 600) {\r\n life = life - 1;\r\n //if player has no more lives, disappear\r\n if (life == 0) {\r\n player.y += 100;\r\n }\r\n }\r\n //match player's x coordinate\r\n if (eBlock.x > player.x) {\r\n eBlock.x -= 3;\r\n } else {\r\n eBlock.x += 3;\r\n }\r\n }\r\n }\r\n }\r\n\r\n //when player shoot is true\r\n if (shoot) {\r\n //if the bullet is not off the screen\r\n //bullet starts at player\r\n if (bullet.y <= -10) {\r\n bullet.x = player.x + 15;\r\n bullet.y = player.y;\r\n playerShoot();\r\n }\r\n //bullet keeps player x coordinate\r\n //bullet moves up\r\n bullet.y -= 6;\r\n }\r\n //if the bullet is off the screen\r\n //make shooting false so player can shoot agian\r\n if (bullet.y < -9) {\r\n shoot = false;\r\n }\r\n\r\n //intersections\r\n //go through the enemy array\r\n Iterator<Rectangle> it = blocks.iterator();\r\n while (it.hasNext()) {\r\n Rectangle block = it.next();\r\n //is the bullet impacting an enemy\r\n if (bullet.intersects(block)) {\r\n //make shooting to false\r\n //delete enemy\r\n shoot = false;\r\n bullet.y = -10;\r\n //remove alien\r\n it.remove();\r\n //play explosion noise\r\n hit();\r\n }\r\n }\r\n\r\n //select a random block in the enemy array to shoot\r\n if (bulletE.y <= 610) {\r\n //enemy bullet speed\r\n bulletE.y += 12;\r\n //only shoot if the player is alive\r\n if (player.y < 601) {\r\n if (enemyShoot == false) {\r\n int numBlocks = blocks.size();\r\n int randInt = (int) (Math.random() * numBlocks);\r\n if (numberOfAliens > 0) {\r\n Rectangle aBlock = blocks.get(randInt);\r\n //when it is selected, shoot\r\n enemyShoot = true;alienShoot();\r\n //set the coordinates of the bullet to \r\n //centre of the alien\r\n bulletE.y = aBlock.y;\r\n bulletE.x = aBlock.x + 15;\r\n \r\n \r\n }\r\n //enemy bullet hitting player\r\n if (bulletE.intersects(player)) {\r\n //player disappears off screen\r\n player.y += 100;\r\n enemyShoot = true;\r\n }\r\n //if the bullet goes off the screen \r\n } else if (bulletE.y >= 611) {\r\n //make shooting false\r\n enemyShoot = false;\r\n //make bullet return to orginal posistion\r\n bulletE.y = 610;\r\n }\r\n }\r\n }\r\n\r\n //if the enemy bullet hits the player\r\n if (bulletE.intersects(player)) {\r\n //take away a life\r\n life--;\r\n end();\r\n //bullet goes off screen\r\n bulletE.y = -90;\r\n bulletE.x = -10;\r\n //if there are no more lives\r\n if (life == 0) {\r\n //player disapppears\r\n player.y += 100;\r\n \r\n }\r\n }\r\n\r\n //if player gets hit, take away lives\r\n //if the player loses one life\r\n //move life counter off screen\r\n if (life == 2) {\r\n lives.get(2).y += 90;\r\n //if the player loses another life\r\n //move life counter off screen\r\n } else if (life == 1) {\r\n lives.get(1).y += 90;\r\n //if the player has no lives\r\n //move last life counter off screen\r\n } else if (life == 0) {\r\n lives.get(0).y += 90;\r\n }\r\n\r\n \r\n }\r\n\r\n // GAME LOGIC ENDS HERE \r\n // update the drawing (calls paintComponent)\r\n repaint();\r\n\r\n // SLOWS DOWN THE GAME BASED ON THE FRAMERATE ABOVE\r\n // USING SOME SIMPLE MATH\r\n deltaTime = System.currentTimeMillis() - startTime;\r\n if (deltaTime > desiredTime) {\r\n //took too much time, don't wait\r\n } else {\r\n try {\r\n Thread.sleep(desiredTime - deltaTime);\r\n } catch (Exception e) {\r\n };\r\n }\r\n }\r\n }", "title": "" }, { "docid": "0657e696aaed91e27d34b5f6b49fdfb8", "score": "0.5938651", "text": "public eliteNosk(float xOffset)\n //in the core game, most monsters have 2 passed variables for X and Y position on screen,\n //80% of the time you won't need to set the Y position, but if you do just add \",float yOffset\" and then call it in the super just below this.\n //you will need to assign both values whenever you spawn or setup the encounter for the monster. Most likely in your main mod file. thedefault.java\n {\n //NAME is what the player sees so don't assign it the ID like in a card, Use the stuff at the top to assign things in \"ModName-Monster-Strings.json\"\n //maxHealth is funny because you can't pass it a variable. Just try to make sure it matches your MaxHP, but i don't think it matters.\n //hb_x/y/w/h are all floats that assign where the health bar is, also it affects where the intent is displayed, if you used a img use the dimensions of that, if an animation, you might need to adjust till it looks right.\n //ImgURL is null for an animation, if you want a static image monster, assign that path (or preferably a variable) here.\n //offsetX and offset y are where on the screen the monster is shown, this is usually a passed in variable at least for x.\n\n\n super(NAME, ID, 50, -150, 0, 200.0F, 200.0F, null, xOffset, 0.0F);\n\n\n\n //If the enemy is a regular monster it doesn't need to have a type. Only Elites and Bosses need to have their type assigned.\n this.type = EnemyType.ELITE;\n\n\n\n //So, all the following Ascension level stuff is to make this bad boy harder on different levels. It's usually simple stuff though.\n //there's rules that are important for this, I'm not sure what they all are off the top of my head.\n // use this. https://slay-the-spire.fandom.com/wiki/Ascension\n if (AbstractDungeon.ascensionLevel >= 8) // Elites are tougher at Asc 8\n {\n //For monsters encountered at higher ascension levels adds a bit more HP\n this.minHP += 5;\n this.maxHP += 5;\n this.newHP+= 10;\n }\n if (AbstractDungeon.ascensionLevel >=3) //Elites are deadlier at 3\n {\n //increases the power of his multihit and debufff for higher ascensions\n this.trampleDmg+= 2;\n this.stompDmg += 2;\n this.vesselDmg += 5;\n }\n if (AbstractDungeon.ascensionLevel >= 18) //18 says elites have harder move sets so do something fancy\n {\n this.sprayAmt +=1;\n }\n\n //set the min and max hp bounds, they will be rolled between randomly on spawn\n setHp(this.minHP, this.maxHP);\n //****** DAMAGE INFO ARRAYS **** //\n // in order for the intent and stuff to work right, declare the base damage values of attacks (don't calculate for multihits though, that's handled elsewhere)\n\n //creates a list 0,1,2 of damageinfos to pull from for later.\n this.damage.add(new DamageInfo(this, this.vesselDmg)); // attack 0 damage\n this.damage.add(new DamageInfo(this, this.stompDmg));\n this.damage.add(new DamageInfo(this, this.trampleDmg));\n // Attack 1 damage\n // **** END ARRAYS **** //\n loadAnimation(\n //loads the animation assign the resource path from where you put it, (hollowMod.makemonsterPath assigns the precursor for where you find the 2 folders (i always have a lowercase foldername and capped File names for monsters\n //you could probably just dump all the files into one folder if you wanted or if there's just one monster, but you are a bad person if you do this.\n hollowMod.makeMonsterPath(\"nosk/Nosk.atlas\"),\n hollowMod.makeMonsterPath(\"nosk/Nosk.json\"), 1.0F); // scale float is actually inverted because of course it is. 0.8 is bigger, 1.2 is smaller.\n\n //no idea what track index means., the 2nd variable wants the string name for you anim you want to start out with (usually idle), and the the boolean says if this anim should repeat unless interrupted or whatever?\n AnimationState.TrackEntry e = this.state.setAnimation(0, animVesIdle, true);\n //no idea\n e.setTime(e.getEndTime() * MathUtils.random());\n}", "title": "" }, { "docid": "c9a16df450b5a6bd405128cda010910f", "score": "0.5928743", "text": "public void setUp() {\n\n player = new Player(this);\n for (int row = 0; row < 5; row++) {\n for (int col = 0; col < 10; col++) {\n enemies[row][col] = new Enemy(getWidth() / 4 + (col * 50), row * 50);\n }\n }\n bullets.add(new Bullet(player));\n timedDelay = System.currentTimeMillis();\n bulletDelay = System.currentTimeMillis();\n }", "title": "" }, { "docid": "1d944b7c5ed6a4fde648d36581b9ee31", "score": "0.5926327", "text": "@Override\n public void create() {\n killCounter = 0;\n\n // base of 1\n multiplier = 1;\n\n // create Player\n player = new Player(200, (float) 4.5, 600, 500, 100, 100);\n\n // create Rooms\n leftMain = new Room(100, 20, 1850, 1600);\n rightMain = new Room(1950, 20, 1880, 1500 + 60);\n topMain = new Room(550, 1550, 2460 + 400, 700 + 400);\n\n // initialize Item ArrayLists\n speeds = new ArrayList<SpeedUp>();\n ammos = new ArrayList<AmmoBox>();\n healths = new ArrayList<HealthUp>();\n\n // background and wall textures\n background = new Texture(\"abstract-geometric-background-triangles-and-lines-loop-4k-4096x2304_ekm8_sfzx__F0000.png\");\n wallPat = new Texture(\"Metal-Pattern-Background-Blue.jpg\");\n\n // create Zombies\n zombies = new ArrayList<Zombie>();\n zombies.add(new Zombie(100, (float) 3.5, (float) 1705, (float) 2100, 100, 100, 1));\n zombies.add(new Zombie(100, (float) 3.5, (float) 2200, (float) 2100, 100, 100, 1));\n zombies.add(new Zombie(100, (float) 3.5, (float) 1705, (float) 1350, 100, 100, 1));\n zombies.add(new Zombie(100, (float) 3.5, (float) 2500, (float) 1500, 100, 100, 1));\n zombies.add(new Zombie(100, (float) 3.5, (float) 2500, (float) 200, 100, 100, 1));\n\n // create Weapon and Bullet\n pistol = new M1911(12, (float) 2.5, 36);\n bulletInfo = new M1911Bullet(25, player.getX() + (player.getWidth() / 2), player.getY() + (player.getHeight() / 2), 55, 10);\n\n // main menu variables\n mainMenu = true;\n Instructions = false;\n font = new BitmapFont();\n font.setColor(Color.RED);\n skin = new Skin(Gdx.files.internal(\"uiskin.json\"));\n stage = new Stage(new ScreenViewport());\n table = new Table();\n table.setWidth(stage.getWidth());\n table.align(Align.center | Align.top);\n\n table.setPosition(0, Gdx.graphics.getHeight());\n startButton = new TextButton(\"Play Game\", skin);\n exitButton = new TextButton(\"Exit Game\", skin);\n\n // when Play button clicked, move onto game\n startButton.addListener(new ClickListener() {\n @Override\n public void clicked(InputEvent event, float x, float y) {\n System.out.println(\"Button CLicked\");\n mainMenu = false;\n Instructions = true;\n }\n });\n // Play button\n table.padTop(180);\n table.add(startButton).padBottom(20);\n table.row();\n //exitbutton\n table.add(exitButton);\n stage.addActor(table);\n Gdx.input.setInputProcessor(stage);\n\n //when exit button is clicked, game exits\n exitButton.addListener(new ClickListener() {\n @Override\n public void clicked(InputEvent event, float x, float y) {\n System.out.println(\"Button Clicked\");\n mainMenu = false;\n Gdx.app.exit();\n }\n\n });\n\n // initialize cursor clicks ArrayLists\n cursorXPositions = new ArrayList<Float>();\n cursorYPositions = new ArrayList<Float>();\n\n batch = new SpriteBatch();\n shapeBatch = new ShapeRenderer();\n cam = new OrthographicCamera();\n viewport = new FitViewport(2000, 1600, cam);\n viewport.apply();\n cam.update();\n\n // create walls\n walls[0] = new Wall(100, 20, 1800, 80);\n walls[1] = new Wall(100, 1500, 450, 80);\n walls[2] = new Wall(1150, 1500, 900, 80);\n walls[3] = new Wall(20, 20, 80, 630);\n walls[4] = new Wall(20, 950, 80, 630);\n walls[5] = new Wall(1900, 20, 80, 630 - 100);\n walls[6] = new Wall(1900, 950 + 100, 80, 630 - 100);\n walls[7] = new Wall(1980, 20, 1800, 80);\n walls[8] = new Wall(1980, 1500, 650, 80);\n walls[9] = new Wall(3130 + 200, 1500, 450, 80);\n walls[10] = new Wall(0, 0, 0, 0);\n walls[11] = new Wall(0, 0, 0, 0);\n walls[12] = new Wall(3780, 20, 80, 630 + 920);\n walls[13] = new Wall(3780, 950, 80, 630);\n walls[14] = new Wall(550, 1500, 80, 900);\n walls[15] = new Wall(1150, 1500, 1560, 300);\n walls[16] = new Wall(2630, 1500, 80, 300);\n walls[17] = new Wall(3330, 1500, 80, 900);\n walls[18] = new Wall(1150, 1800, 1560, 80);\n walls[19] = new Wall(550, 2200 + 200, 2460 + 400, 80);\n walls[20] = new Wall(20, 20, 80, 1000);\n\n // x y width \n cam.position.x = player.getX();\n cam.position.y = player.getY();\n\n // calculates ammo at startup\n initialAmmoCalculated = false;\n }", "title": "" }, { "docid": "a0a49ed3109ba144384e89fb8567e597", "score": "0.5924204", "text": "public Enemy(float x, float y, EnemyType type, int level) {\r\n super(x, y, type.getSX(), type.getSY());\r\n\r\n this.type = type;\r\n\r\n this.level = level;\r\n\r\n hitBox = new Rectangle((int)x,(int)y,sx,sy);\r\n hitBy = new boolean[4];\r\n\r\n attack = baseAttack() + level;\r\n health = baseHealth() + level;\r\n defense = baseDefense() + level;\r\n\r\n regAni = EnemyType.getRegularAnimation(type);\r\n \r\n hitAni = new Animation(2,8,16,21,11);\r\n hitAni.add(0, 0);\r\n hitAni.add(0, 22);\r\n\r\n deathAni = new Animation(4,8,16,21,11,false);\r\n deathAni.add(0, 57);\r\n deathAni.add(0, 82);\r\n deathAni.add(0, 103);\r\n deathAni.add(0, 124);\r\n \r\n healths = new HUD(0,0,0);\r\n\r\n }", "title": "" }, { "docid": "240589b598c10735383f725cf090e506", "score": "0.59218395", "text": "Boy(String Name, ArrayList<Bitmap> BoyBitmapArrayList, float Xpos, float Ypos, float Velx, float Vely,\n double Increment, float Bounce, String Breed, boolean Flips) {\n boyBitmapArrayList = BoyBitmapArrayList;\n xpos = Xpos;\n ypos = Ypos;\n velx = Velx;\n initvelx = Velx;\n initvely = Vely;\n initx = Xpos;\n inity = Ypos;\n vely = Vely;\n breed = Breed;\n originalBreed = breed;\n centrex = mCanvasWidth / 2;\n centrey = mCanvasHeight / 2;\n increment = Increment;\n bounce = Bounce;\n frames = 0;\n bounceCirc = setBounceCirc((int) Math.sqrt(Math.pow(velx, 2) + Math.pow(vely, 2))) * 2;\n flips = Flips;\n spin = (int) Velx;\n name = Name;\n incrementCirc = Math.abs(increment * 20);\n\n if (name.equals(\"bernie\")) {\n int circ=r.nextInt(95)+5;\n\n bernieBit= Bitmap.createScaledBitmap(boyBitmapArrayList.get(0),circ , circ, true);\n bitHeight=circ/2;\n\n }\n else {bitHeight= (boyBitmapArrayList.get(0).getHeight())/2;}\n }", "title": "" }, { "docid": "024daf87ed13a029b07548c789d44402", "score": "0.59216106", "text": "public void init(){\n\t\taddMouseListener(this);\n\t\taddKeyListener(this);\n\t\taddMouseMotionListener(this);\n\t\tgameObjects=new GameObject[500];\n\t\tbg=getImage(getCodeBase(), \"grass.gif\");\n\t\tsprite=new Image[50];\n\t\tsprite[0]=getImage(getCodeBase(),\"startbutton.gif\");\n\t\tsprite[1]=getImage(getCodeBase(),\"helpbutton.gif\");\n\t\tsprite[2]=getImage(getCodeBase(),\"GTank1_h0.gif\");\n\t\tsprite[3]=getImage(getCodeBase(),\"GTank1_h90.gif\");\n\t\tsprite[4]=getImage(getCodeBase(),\"GTank1_h180.gif\");\n\t\tsprite[5]=getImage(getCodeBase(),\"GTank1_h270.gif\");\n\t\tsprite[6]=getImage(getCodeBase(),\"bullet.gif\");\n\t\tsprite[7]=getImage(getCodeBase(),\"block1.gif\");\n\t\tsprite[8]=getImage(getCodeBase(),\"ETank1_270.gif\");\n\t\tsprite[9]=getImage(getCodeBase(),\"ETank1_90.gif\");\n\t\tsprite[10]=getImage(getCodeBase(),\"GTank2_h0.gif\");\n\t\tsprite[11]=getImage(getCodeBase(),\"GTank2_h90.gif\");\n\t\tsprite[12]=getImage(getCodeBase(),\"GTank2_h180.gif\");\n\t\tsprite[13]=getImage(getCodeBase(),\"GTank2_h270.gif\");\n\t\tsprite[14]=getImage(getCodeBase(),\"Etank3_0.gif\");\n\t\tsprite[15]=getImage(getCodeBase(),\"Etank3_90.gif\");\n\t\tsprite[16]=getImage(getCodeBase(),\"Etank3_180.gif\");\n\t\tsprite[17]=getImage(getCodeBase(),\"Etank3_270.gif\");\n\t\tsprite[18]=getImage(getCodeBase(),\"yesplayer1.gif\");\n\t\tsprite[19]=getImage(getCodeBase(),\"yesplayer2.gif\");\n\t\tsprite[20]=getImage(getCodeBase(),\"GTank1_v0.gif\");\n\t\tsprite[21]=getImage(getCodeBase(),\"GTank1_v90.gif\");\n\t\tsprite[22]=getImage(getCodeBase(),\"GTank1_v180.gif\");\n\t\tsprite[23]=getImage(getCodeBase(),\"GTank1_v270.gif\");\n\t\tsprite[24]=getImage(getCodeBase(),\"GTank2_v0.gif\");\n\t\tsprite[25]=getImage(getCodeBase(),\"GTank2_v90.gif\");\n\t\tsprite[26]=getImage(getCodeBase(),\"GTank2_v180.gif\");\n\t\tsprite[27]=getImage(getCodeBase(),\"GTank2_v270.gif\");\n\t\tsprite[28]=getImage(getCodeBase(),\"pit.gif\");\n\t\tsprite[29]=getImage(getCodeBase(),\"helptxt.gif\");\n\t\tsprite[30]=getImage(getCodeBase(),\"explosion.gif\");\n\t}", "title": "" }, { "docid": "26c19021b43f12bf9dba4625c8e95721", "score": "0.5919147", "text": "public Bomb() {\n\t\tsuper();\n\t\tpoints = 0;\n\t\tsize = 75;\n\t\ttype = 3;\n\t}", "title": "" }, { "docid": "57986a63a29b3d3e07c65bc88bc5f8d8", "score": "0.5911022", "text": "void setTexture() {\n\n \t GLUgl2 glugl = new GLUgl2();\n this.rings = new TextureHandler(gl2, glugl, MainFrame.devPath +\"mercury.bmp\", false);\n this.moon = new TextureHandler(gl2, glugl, MainFrame.devPath +\"moontexture.jpg\", false);\n \n\n }", "title": "" }, { "docid": "01140927ab16a019e03224b3b5f17c82", "score": "0.5906074", "text": "public void pumpAnimation() {\n\t\tBattle.newExplosion(new Explosion(pos[0],pos[1],9));\n\t\tMain.sound.loadSpecialSound();\n\t\tMain.sound.playHitSound(atts[0]);\n\t}", "title": "" }, { "docid": "876832291a7bcd3f6521256b3ab5a90f", "score": "0.5895778", "text": "public Enemy ()\n\t{\n\t\tsuper(GameParameters.getEnemySpritePath());\n\t}", "title": "" }, { "docid": "5c6be36d05e055c64351f2c9f2d203fe", "score": "0.5893653", "text": "public void update() {\n\t\tif(shootAnim) {\n\t\t\t++shotFrame;\n\t\t\tif(shotFrame==20) {\n\t\t\t\tdestroyedAnim=true;\n\t\t\t\tshootAnim=false;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (destroyedAnim) {\n\t\t\tif (currentFrame == 1) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f1;\n\t\t\t} else if (currentFrame == 3) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f2;\n\t\t\t} else if (currentFrame == 5) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f3;\n\t\t\t} else if (currentFrame == 7) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f4;\n\t\t\t} else if (currentFrame == 9) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f5;\n\t\t\t} else if (currentFrame == 11) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f6;\n\t\t\t} else if (currentFrame == 13) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f7;\n\t\t\t} else if (currentFrame == 15) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f8;\n\t\t\t} else if (currentFrame == 17) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f9;\n\t\t\t} else if (currentFrame == 19) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f10;\n\t\t\t} else if (currentFrame == 21) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f11;\n\t\t\t} else if (currentFrame == 23) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f12;\n\t\t\t} else if (currentFrame == 25) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_item_f13;\n\t\t\t} else if (currentFrame == 27) {\n\t\t\t\tbmp_item_current = Images.getInstance().getExplosionResult();\n\t\t\t\tdestroyedAnim=false; \n\t\t\t\tdestroyed = true;\n\t\t\t}\n\t\t\t++currentFrame;\n\t\t}\n\t\tif(!destroyed && !destroyedAnim) {\n\t\t\tif (currentFrame == 1) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_target_f1; \n\t\t\t} else if (currentFrame == 3) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_target_f2;\n\t\t\t} else if (currentFrame == 5) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_target_f3;\n\t\t\t} else if (currentFrame == 7) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_target_f4;\n\t\t\t} else if (currentFrame == 9) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_target_f5;\n\t\t\t} else if (currentFrame == 11) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_target_f4;\n\t\t\t} else if (currentFrame == 13) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_target_f3;\n\t\t\t} else if (currentFrame == 15) {\n\t\t\t\tbmp_item_current = Images.getInstance().bmp_target_f2;\n\t\t\t\tcurrentFrame = 0;\n\t\t\t} \n\t\t\t++currentFrame;\n\t\t}\n\t}", "title": "" }, { "docid": "21d42f8aa2ea4e9acc2656f3fb34f17f", "score": "0.58320516", "text": "public void loadAsset() {\n pawnIcon = new ImageIcon(\"./asset/Chess_pdt60.png\");\n bishopIcon = new ImageIcon(\"./asset/Chess_blt60.png\");\n undoIcon = new ImageIcon(\"./asset/undo.png\");\n saveIcon = new ImageIcon(\"./asset/save.png\");\n \n boardColorBlack = new Color(222, 189, 148);\n boardColorWhite = new Color(140, 75, 43);\n \n soundCapture = \"./asset/Capture.wav\";\n soundInvalidMove = \"./asset/InvalidMove.wav\";\n soundUndo = \"./asset/Undo.wav\";\n soundNextLevel = \"./asset/NextLevel.wav\";\n soundGameOver = \"./asset/GameOver.wav\";\n }", "title": "" }, { "docid": "b42305f6b8b06a2935e469671ddc352b", "score": "0.5830512", "text": "void draw(Graphics g) {\r\n\t\tif (distance == false) {\r\n\t\t\tshoot = true;\t// Resets if image is at 6 or greater\r\n\t\t\tif(hit) { /* Some sort of explosion? */ }\r\n\t\t\telse g.drawImage(weaponImage, weapon_x, weapon_y, width, height, null);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6e45c14beae0c9e673d63f9e36845400", "score": "0.58292365", "text": "public void explode() {\n\n\t\tint xCenter = this.getX();\n\t\tint yCenter = this.getY();\n\t\tint radius = this.getExplosionRadius();\n\n\t\t// Create a circle in pixels\n\t\tfor (int y = -radius; y <= radius; y++) {\n\t\t\tfor (int x = -radius; x <= radius; x++) {\n\t\t\t\tif (x * x + y * y <= radius * radius) {\n\t\t\t\t\tElement element = this.getMap().getElementAt(xCenter + x, yCenter + y);\n\t\t\t\t\tif (element != null) {\n\t\t\t\t\t\tif (!(element instanceof Player) && !(element instanceof Wall)) {\n\t\t\t\t\t\t\telement.isAlive = false;\n\t\t\t\t\t\t\tif (this.getExplosionType() == \"Diamond\") {\n\t\t\t\t\t\t\t\tthis.getMap().setElementAt(xCenter + x, yCenter + y, new Diamond(getMap()));\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.getMap().setElementAt(xCenter + x, yCenter + y, new Explode(getMap()));\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}\n\t\t\t}\n\t\t}\n\n\t\tthis.getMap().setElementAt(this.getX(), this.getY(), new Air(this.getMap()));\n\t\tthis.isAlive = false;\n\n\t}", "title": "" }, { "docid": "437b0f36cd50314cf99f525ed34ee3c5", "score": "0.5828794", "text": "public KingMole(Context context, int x, int y) {\n super(x, y);\n this.setBitmap(BitmapFactory.decodeResource(context.getResources(), R.drawable.king_mole));\n }", "title": "" }, { "docid": "cdfd38c8ac48908eca3ec0c120d26f4b", "score": "0.58278704", "text": "public Hunter() {\r\n\t\txx = 0;\r\n\t\tyy = 0;\r\n\t\tflag = 1;\r\n\t\tImageIcon icon = new ImageIcon(\"./image/hunter.png\");\r\n\t\ticon.setImage(icon.getImage().getScaledInstance(WIDTH, HEIGHT, Image.SCALE_DEFAULT));\r\n\t\tthis.setIcon(icon);\r\n\t}", "title": "" }, { "docid": "c895b8baabb62c3131d2b5aa3c8f07ba", "score": "0.58237845", "text": "public void LoadTheSprites () {\n\t\t\n\t\t\t\t\n\t\tnormalcloud_texture = imagehandler.getImage(\"Clouds/normalcloud\");\n\t\twatercloud_texture = imagehandler.getImage(\"Clouds/watercloud\");\n\t\tthundercloud_texture = imagehandler.getImage(\"Clouds/thundercloud\");\n\t\tpoisoncloud_texture = imagehandler.getImage(\"Clouds/poisoncloud\");\n\t\ticecloud_texture = imagehandler.getImage(\"Clouds/icecloud\");\n\t\tballoon_texture = imagehandler.getImage(\"Objects/balloon\");\n\t\tstar_texture = imagehandler.getImage(\"Objects/star\");\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "57c9bbd557af5174eb9708a8b317ae20", "score": "0.5810666", "text": "public void drawEnemy()\n\t{\n\t\t//One of the small enemy fighters\n\t\tif (enemy01.alive)\n\t\t{\n\t\t\tif (enemy01.justFired)\n\t\t\t{\n\t\t\t\t// if \n\t\t\t\tg2d.drawImage(enemy01.getImageFire(enemy01.justFired), enemy01.position.x, enemy01.position.y, this);\n\t\t\t\tenemy01.justFired = false;\n\t\t\t}\n\t\t\t\t\n\t\t\telse if (enemy01.isHit)\n\t\t\t{\t\t\n\t\t\t\tg2d.drawImage(enemy01.getImageHit(enemy01.isHit), enemy01.position.x, enemy01.position.y, this);\n\t\t\t\tenemy01.isHit = false;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tg2d.drawImage(enemy01.getImageFire(false), enemy01.position.x, enemy01.position.y, this);\n\t\t\t}\t\n\t\t}\n\t\t\n\t\t//One of the small enemy fighters\n\t\tif (enemy02.alive)\n\t\t{\n\t\t\tif (enemy02.justFired)\n\t\t\t{\n\t\t\t\t\t\n\t\t\t\tg2d.drawImage(enemy02.getImageFire(enemy02.justFired), enemy02.position.x, enemy02.position.y, this);\n\t\t\t\tenemy02.justFired = false;\n\t\t\t}\n\t\t\t\t\n\t\t\telse if (enemy02.isHit)\n\t\t\t{\t\t\n\t\t\t\tg2d.drawImage(enemy02.getImageHit(enemy02.isHit), enemy02.position.x, enemy02.position.y, this);\n\t\t\t\tenemy02.isHit = false;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tg2d.drawImage(enemy02.getImageFire(false), enemy02.position.x, enemy02.position.y, this);\n\t\t\t}\t\n\t\t}\n\t\t\t\n\t}", "title": "" }, { "docid": "b43608357851ac7b674ba5131c7363ce", "score": "0.5804536", "text": "MonsterSprite(int x, int y, int scalingFactor){\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.monsterLocation = getMonsterLocation();\n\t\tthis.scalingFactor = scalingFactor;\n\t\ttry {\n\t\t\tsharkImage = new Image(\"image//shark.jpg\",scalingFactor,scalingFactor,true,true); \n\t\t\tsharkImageView = new ImageView(sharkImage);\n\t\t} catch (Exception e) {\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "8309dbcbd09e55a5cb5a84d3e8160afd", "score": "0.5794719", "text": "public void hard1() {\n\t\tswitch(enemyToSpawn) {\r\n\t\t\tcase 0:\r\n\t\t\t\tsize = 5;\r\n\t\t\t\tdelay = 50;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\t//new Asteroid(game, 1000);\r\n\t\t\t\tnew SwarmCaller(game, 510);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tnew Seeker(game, 400);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tnew Seeker(game, 100);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 4:\r\n\t\t\t\tnew Seeker(game, 700);\r\n\t\t\t\tdelay = 32;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 5:\r\n\t\t\t\tnew SprayBall(game, 1080/2, 1920/2);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "886fbe3f29474e9ce3ca6e8d62816f59", "score": "0.5790918", "text": "public void setAsBg() {\n playerCoordX1 = new ArrayList(); \n playerCoordY1 = new ArrayList();\n playerCoordX2 = new ArrayList();\n playerCoordY2 = new ArrayList();\n playerNames = new ArrayList();\n }", "title": "" }, { "docid": "d0b9bdb1280e80927f3343c719c0cc0e", "score": "0.5787233", "text": "public Player(Bitmap mainChar, Bitmap charAnimationLeft, Bitmap charAnimationRight, Bitmap slashing, Bitmap slashingRev, Bitmap gunWalking, Bitmap gunWalkingRev, int health) {\n fullPlayerSwordLeftImage = charAnimationLeft;\n fullPlayerSwordRightImage = charAnimationRight;\n fullPlayerSlashingLeftImage = slashingRev;\n fullPlayerSlashingRightImage = slashing;\n fullPlayerGunLeftImage = gunWalkingRev;\n fullPlayerGunRightImage = gunWalking;\n paint = new Paint();\n paintHurt = new Paint();\n paintHurt.setColor(Color.rgb(230, 10, 10));\n paintHurt.setStyle(Paint.Style.STROKE);\n paintHurt.setStrokeWidth(50);\n paint.setColor(Color.TRANSPARENT);\n this.mainChar = mainChar;\n charImgX = mainChar.getWidth();\n charImgY = mainChar.getHeight();\n this.health = health;\n }", "title": "" }, { "docid": "e0bd29ef4630f9462486cfb9563f8e61", "score": "0.5777712", "text": "private void initEnemies() {\n\t\tif(enemies.size == 1) { \n\t\t\tenemies.get(0).setX(enemies.get(0).getBattleposition().x);\n\t\t\tenemies.get(0).setY(enemies.get(0).getBattleposition().y);\n\t\t} \n\t\telse if (enemies.size == 2) { \n\t\t\tfor(int i=0; i < enemies.size; i++) {\n\t\t\t\tenemies.get(i).setX(enemies.get(i).getBattleposition().x);\n\t\t\t\tenemies.get(i).setY(enemies.get(i).getBattleposition().y);\n\t\t\t}\n\t\t} \n\t\telse if (enemies.size == 3){ \n\t\t\tfor(int i=0; i < enemies.size; i++) {\n\t\t\t\tenemies.get(i).setX(enemies.get(i).getBattleposition().x);\n\t\t\t\tenemies.get(i).setY(enemies.get(i).getBattleposition().y);\n\t\t\t}\n\t\t}\t\n\t}", "title": "" }, { "docid": "b7fdb466b54012bff8dfae19374bcec8", "score": "0.5775423", "text": "@Override\r\n\tpublic void draw(Canvas canvas) {\n\t\tif(flash < 5 && y > -81 && y < GameView.GAME_HEIGHT){\r\n\t\t\tcanvas.save();\r\n\t\t\tcanvas.scale(scale, scale, x, y);\r\n\t\t\tcanvas.drawBitmap(bz[flash], x, y, null);\r\n\t\t\tcanvas.restore();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "aece19dd6dcad73e5fb558c45624be15", "score": "0.57723784", "text": "public void load() {\n int height = 192;\n int width = 126;\n //loading up the images\n for (int i = 0; i < playerSwordLeftImage.length; i++) {\n playerSwordLeftImage[i] = Bitmap.createBitmap(fullPlayerSwordLeftImage, i * width, 0, width, height);\n }\n for (int i = 0; i < playerSwordRightImage.length; i++) {\n playerSwordRightImage[i] = Bitmap.createBitmap(fullPlayerSwordRightImage, i * width, 0, width, height);\n\n }\n for (int i = 0; i < playerSlashingRightImage.length; i++) {\n playerSlashingRightImage[i] = Bitmap.createBitmap(fullPlayerSlashingRightImage, i * width, 0, width, height);\n\n }\n for (int i = 0; i < playerSlashingLeftImage.length; i++) {\n playerSlashingLeftImage[i] = Bitmap.createBitmap(fullPlayerSlashingLeftImage, i * width, 0, width, height);\n }\n for (int i = 0; i < playerGunLeftImage.length; i++) {\n playerGunLeftImage[i] = Bitmap.createBitmap(fullPlayerGunLeftImage, i * width, 0, width, height);\n }\n for (int i = 0; i < playerGunRightImage.length; i++) {\n playerGunRightImage[i] = Bitmap.createBitmap(fullPlayerGunRightImage, i * width, 0, width, height);\n }\n\n //loading up the animation classes\n playerLeft.setFrames(playerSwordLeftImage);\n playerLeft.setDelay(30);\n playerRight.setFrames(playerSwordRightImage);\n playerRight.setDelay(30);\n playerSlashingRight.setFrames(playerSlashingRightImage);\n playerSlashingRight.setDelay(30);\n playerSlashingLeft.setFrames(playerSlashingLeftImage);\n playerSlashingLeft.setDelay(30);\n playerGunLeft.setFrames(playerGunLeftImage);\n playerGunLeft.setDelay(30);\n playerGunRight.setFrames(playerGunRightImage);\n playerGunRight.setDelay(30);\n phoneWidth = (PhoneSpecs.width);\n phoneHeight = (PhoneSpecs.height);\n //starting position of the character\n charX = (phoneWidth / 2);\n charY = (int) (phoneHeight / 1.49);\n rectChar = new Rect(charX, charY, (charX + charImgX), (charY + charImgY));\n dy = (int) (phoneHeight * 0.017); // 0.017\n dx = ((int) (phoneWidth * 0.01));\n rectHurtChar = new Rect(0,0,phoneWidth,phoneHeight);\n }", "title": "" }, { "docid": "69052c81bd12b2cdea3bbaae3f6700bd", "score": "0.5767284", "text": "private void drawEnemy(Enemy e) {\n pushMatrix();\n\n // Translate to their position so we can draw things at 0, 0\n translate(e.getWorldMapPos().x, e.getWorldMapPos().y);\n pushMatrix();\n\n // Rotate graphic to the direction they're moving in\n rotate(e.getRotation() + PI/2);\n\n // Switch case to draw the appropriate enemy given their level\n switch (e.getLevel()) {\n case 1:\n image(enemylv1Icon, 0, 0);\n break;\n case 2:\n image(enemylv2Icon, 0, 0);\n break;\n case 3:\n image(enemylv3Icon, 0, 0);\n break;\n case 4:\n image(enemylv4Icon, 0, 0);\n break;\n case 5:\n image(enemylv5Icon, 0, 0);\n break;\n default:\n break;\n }\n\n popMatrix();\n\n // Low opacity black box underneath enemy with text that shows their level\n fill(0, 30);\n rectMode(CENTER);\n textAlign(CENTER);\n textSize(64f);\n\n rect(0, 155, 50 + textWidth(\"Lv. \" + e.getLevel()), 100);\n fill(255, 200);\n text(\"LV. \" + e.getLevel(), 0, 178);\n\n popMatrix();\n }", "title": "" }, { "docid": "2c21a3372048303ce5fa40d86c56b6ac", "score": "0.5765547", "text": "private void initEntities() {\n // create the ship and put in center of screen\n ship = new ShipEntity(this, \"sprites/jetoff.png\", 300, 520);\n entities.add(ship);\n\n \t}", "title": "" }, { "docid": "e56f4adac1c230bee0b4f357f3837f59", "score": "0.57644975", "text": "public void mineExplosion(Graphics g)\n\t{\n\t\tif (mineBoom == true)\n\t\t{\n\t\t\tg.drawImage(explosion.getImage(), mineExLoc.x - 25, mineExLoc.y - 25, this);\n\t\t\tmineExCount ++;\n\t\t\t\n\t\t\tif (mineExCount == 30)\n\t\t\t{\n\t\t\t\tmineExCount = 0;\n\t\t\t\tmineBoom = false;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "b7136ee3405ba05b7f8083cb343321fd", "score": "0.575453", "text": "public void bossWave() {\n\t\tswitch(enemyToSpawn) {\r\n\t\t\tcase 0:\r\n\t\t\t\tsize = 1;\r\n\t\t\t\tdelay = 1;\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tnew Boss(game, 200);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "69fdaeab49f3b9387b393aa65c579a63", "score": "0.5754524", "text": "public EnemyPlaceholder(int mID)\r\n {\r\n ID = mID;\r\n \r\n if (ID == 01)\r\n setImage(\"enemy01.png\");\r\n else if (ID == 02)\r\n setImage(\"enemy02.png\");\r\n else if (ID == 03)\r\n setImage(\"enemy03.png\");\r\n else if (ID == 04)\r\n setImage(\"enemy04.png\");\r\n else if (ID == 05)\r\n setImage(\"boss.png\");\r\n }", "title": "" }, { "docid": "845f23f9d4b11407ad92a4eb1377d824", "score": "0.5742221", "text": "static void afega_draw_sprites(struct mame_bitmap *bitmap,const struct rectangle *cliprect)\n\t{\n\t\tint offs;\n\t\n\t\tint max_x\t\t=\tMachine->drv->screen_width;\n\t\tint max_y\t\t=\tMachine->drv->screen_height;\n\t\n\t\tfor ( offs = 0; offs < spriteram_size/2; offs += 16/2 )\n\t\t{\n\t\t\tint attr, dim, code, sx, sy, color, flipx, flipy;\n\t\n\t\t\tint x, xnum, xstart, xend, xinc;\n\t\t\tint y, ynum, ystart, yend, yinc;\n\t\n\t\t\tattr\t=\t\tspriteram16[offs + 0x0/2];\n\t\t\tif (!(attr & 1))\tcontinue;\n\t\t\tdim\t\t=\t\tspriteram16[offs + 0x2/2];\n\t\t\tcode\t=\t\tspriteram16[offs + 0x6/2];\n\t\t\tsx\t\t=\t\tspriteram16[offs + 0x8/2];\n\t\t\tsy\t\t=\t\tspriteram16[offs + 0xc/2];\n\t\t\tcolor\t=\t\tspriteram16[offs + 0xe/2];\n\t\n\t\t\tflipx\t=\t\tattr & 0x000;\t// ?\n\t\t\tflipy\t=\t\tattr & 0x000;\t// ?\n\t\n\t\t\txnum\t\t=\t\t((dim >> 0) & 0xf) + 1;\n\t\t\tynum\t\t=\t\t((dim >> 4) & 0xf) + 1;\n\t\n\t\t\tsx = (sx & 0xff) - (sx & 0x100);\n\t\t\tsy = (sy & 0xff) - (sy & 0x100);\n\t\n\t\t\tif (flip_screen_x)\t{\tflipx = !flipx;\t\tsx = max_x - sx - xnum * 16;\t}\n\t\t\tif (flip_screen_y)\t{\tflipy = !flipy;\t\tsy = max_y - sy - ynum * 16;\t}\n\t\n\t\t\tif (flipx)\t{ xstart = xnum-1; xend = -1; xinc = -1; }\n\t\t\telse\t\t{ xstart = 0; xend = xnum; xinc = +1; }\n\t\n\t\t\tif (flipy)\t{ ystart = ynum-1; yend = -1; yinc = -1; }\n\t\t\telse\t\t{ ystart = 0; yend = ynum; yinc = +1; }\n\t\n\t\t\tfor (y = ystart; y != yend; y += yinc)\n\t\t\t{\n\t\t\t\tfor (x = xstart; x != xend; x += xinc)\n\t\t\t\t{\n\t\t\t\t\tdrawgfx( bitmap,Machine->gfx[0],\n\t\t\t\t\t\t\t\t\tcode++,\n\t\t\t\t\t\t\t\t\tcolor,\n\t\t\t\t\t\t\t\t\tflipx, flipy,\n\t\t\t\t\t\t\t\t\tsx + x * 16, sy + y * 16,\n\t\t\t\t\t\t\t\t\tcliprect,TRANSPARENCY_PEN,15 );\n\t\t\t\t}\n\t\t\t}\n\t\n\t#ifdef MAME_DEBUG\n\t#if 1\n\tif (keyboard_pressed(KEYCODE_X))\n\t{\t/* Display some info on each sprite */\n\t\tstruct DisplayText dt[2];\tchar buf[10];\n\t\tsprintf(buf, \"%X\",(spriteram16[offs + 0x0/2]&6)/2);\n\t\tdt[0].text = buf;\tdt[0].color = UI_COLOR_NORMAL;\n\t\tdt[0].x = sy;\t\tdt[0].y = sx;\n\t\tdt[1].text = 0;\t/* terminate array */\n\t\tdisplaytext(Machine->scrbitmap,dt);\t\t}\n\t#endif\n\t#endif\n\t\t}\n\t}\n\t\n\t\n\t\n\t/***************************************************************************\n\t\n\t\n\t\t\t\t\t\t\t\t\tScreen Drawing\n\t\n\t\n\t***************************************************************************/\n\t\n\tVIDEO_UPDATE( afega )\n\t{\n\t\tint layers_ctrl = -1;\n\t\n\t\t/* Horizintal and vertical screen flip are hardwired to 2 dip switches */\n\t\tflip_screen_x_set(~readinputport(2) & 0x0100);\n\t\tflip_screen_y_set(~readinputport(2) & 0x0200);\n\t\n\t\ttilemap_set_scrolly(tilemap_0, 0, afega_scroll_0[0]);\n\t\ttilemap_set_scrollx(tilemap_0, 0, afega_scroll_0[1] - 0x100);\n\t\n\t\ttilemap_set_scrolly(tilemap_1, 0, afega_scroll_1[0]);\n\t\ttilemap_set_scrollx(tilemap_1, 0, afega_scroll_1[1]);\n\t\n\t#ifdef MAME_DEBUG\n\tif ( keyboard_pressed(KEYCODE_Z) || keyboard_pressed(KEYCODE_X) )\n\t{\tint msk = 0;\n\t\tif (keyboard_pressed(KEYCODE_Q))\tmsk |= 1;\n\t\tif (keyboard_pressed(KEYCODE_W))\tmsk |= 2;\n\t\tif (keyboard_pressed(KEYCODE_E))\tmsk |= 4;\n\t\tif (msk != 0) layers_ctrl &= msk;\t}\n\t#endif\n\t\n\t\tif (layers_ctrl & 1)\ttilemap_draw(bitmap,cliprect,tilemap_0,0,0);\n\t\telse\t\t\t\t\tfillbitmap(bitmap,get_black_pen(),cliprect);\n\t\n\t\tif (layers_ctrl & 2) \tafega_draw_sprites(bitmap,cliprect);\n\t\n\t\tif (layers_ctrl & 4)\ttilemap_draw(bitmap,cliprect,tilemap_1,0,0);\n\t}", "title": "" }, { "docid": "068d9ff6c354fc2827aa5b3ef180889c", "score": "0.57415026", "text": "private void changeToRandomBitmap(int num, List<UrbieAnimation> objects) {\n int rnd = new Random().nextInt(urbTypesInLevel.size());\n Bitmap temp = null;\n\n switch (urbTypesInLevel.get(rnd)) {\n case ROCKER:\n temp = Assets.rocker;\n objects.get(num).setType(Urbies.UrbieType.ROCKER);\n break;\n case BABY:\n temp = Assets.baby;\n objects.get(num).setType(Urbies.UrbieType.BABY);\n break;\n case PIGTAILS:\n temp = Assets.pigtails;\n objects.get(num).setType(Urbies.UrbieType.PIGTAILS);\n break;\n case PAC:\n temp = Assets.pac;\n objects.get(num).setType(Urbies.UrbieType.PAC);\n break;\n case PUNK:\n temp = Assets.punk;\n objects.get(num).setType(Urbies.UrbieType.PUNK);\n break;\n case NERD:\n temp = Assets.nerd;\n objects.get(num).setType(Urbies.UrbieType.NERD);\n break;\n case GIRL_NERD:\n temp = Assets.nerd_girl;\n objects.get(num).setType(Urbies.UrbieType.GIRL_NERD);\n break;\n case LADY:\n temp = Assets.lady;\n objects.get(num).setType(Urbies.UrbieType.LADY);\n break;\n }\n\n objects.get(num).changeBitmapProperties(temp, 10, 5, new Random().nextInt(12000) + 3001, true, true);\n }", "title": "" }, { "docid": "c010a9307884134755697751a586b4db", "score": "0.57336473", "text": "@Override\r\n\tpublic void init() {\r\n\t\tplayer = new DodgePlayer(this, INPUT, 200, 300);\r\n\t\tplayer.setCollider(new ColliderBox(0, 0, 50, 25, player));\r\n\t\tplayer.setRigidbody(new PlayerRigidbody(INPUT, player));\r\n\t\tplayer.getRigidbody().setSpeed(220);\r\n\t\tString[] playerLocs = {\"assets/dodge_this/player.png\"};\r\n\t\tlong[] playerDelays = {1_000_000};\r\n\t\tplayer.setAnimator(new Animator(player, playerLocs, playerDelays));\r\n\t\t\r\n\t\t/* INIT SPACE FOR ENEMYS AND INITIAL ENEMY */\r\n\t\tenemys = new ArrayList<Enemy>(25);\r\n\t\tspeed = 125;\r\n\t\taddEnemy();\r\n\t\t\r\n\t\t/* INIT SPACE FOR POWER UPS */\r\n\t\tpowerUps = new ArrayList<PowerUp>(5);\r\n\t\t\r\n\t\t/* TIMER FOR SCOREBOARD <=> TIME PLAYED */\r\n\t\tplayed = 0;\r\n\t\t\r\n\t\t/* SET TIMER FOR MONSTER SPAWNS */\r\n\t\tActionListener enemySpawner = new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\taddEnemy();\r\n\t\t\t}\r\n\t\t};\r\n\t\tenemyTimer = new Timer(2000, enemySpawner);\r\n\t\tenemyTimer.setRepeats(true);\r\n\t\tenemyTimer.start();\r\n\t\t\r\n\t\t/* SET TIMER FOR SPEED INCREASE */\r\n\t\tActionListener speedIncreaser = new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tspeed += 24;\r\n\t\t\t}\r\n\t\t};\r\n\t\tspeedTimer = new Timer(3000, speedIncreaser);\r\n\t\tspeedTimer.setRepeats(true);\r\n\t\tspeedTimer.start();\r\n\t\t\r\n\t\t/* SET TIMER FOR POWER UPS */\r\n\t\tActionListener powerUpSpawner = new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\taddPowerUp();\r\n\t\t\t}\r\n\t\t};\r\n\t\tpowerTimer = new Timer(8000, powerUpSpawner);\r\n\t\tpowerTimer.setRepeats(true);\r\n\t\tpowerTimer.start();\r\n\t\t\r\n\t\t/* SET TIMER FOR BOMB */\r\n\t\tActionListener bombSpawner = new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tcreateBomb();\r\n\t\t\t}\r\n\t\t};\r\n\t\tbombTimer = new Timer(4000, bombSpawner);\r\n\t\tbombTimer.setRepeats(true);\r\n\t\tbombTimer.start();\r\n\t}", "title": "" }, { "docid": "036688efbf4f54d77397fd8b784ced91", "score": "0.57288396", "text": "public Enemy_Boss_3(int x, int y, Game game) {\n\t\tsuper(x, y, game);\n\t\tstand=new ImageSequence(\"/image/spriteSheet/actors/enemy/boss_3/stand\",8);\t\n\t\tdamage=new ImageSequence(\"/image/spriteSheet/actors/enemy/boss_3/shuffle\",8);\n\t\tattack=new ImageSequence(\"/image/spriteSheet/actors/enemy/boss_3/thunder\",8);\n\t\tsummon=new ImageSequence(\"/image/spriteSheet/actors/enemy/boss_3/tsukaima\",8);\n\t\tsequence.startSequence(stand);\n\t\t\n\t\tthis.setHp(400);\n\t\tthis.setSpeed(8);\n\t\tthis.setCollisionDamage(40);\n\t\tthis.setExp(300);\n\t\t\n\t\tultyCd=90;\n\t\tabi2Cd=500;\n\t}", "title": "" }, { "docid": "0465166400d2dbfbdab5b91a562dc035", "score": "0.5722383", "text": "public void generateEnemies(int DIFFICULTY_LEVEL){\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\ttimeElapsed = ((System.nanoTime() - initialTime)/1000000000);\n\t\t\t\trandX = (float)(Math.random()*screenWidth); //between 0 and screen width\n\t\t\t\trandY = Math.random() < 0.5 ? 0:screenHeight; //either 0 or screen length\n\t\t\t\t\n\t\t\t\tswitch(DIFFICULTY_LEVEL){\n\t\t\t\tcase(1):\n\t\t\t\t\tif(timeElapsed > enemyFrequency){\n\t\t\t\t\t\t\n\t\t\t\t\t\t//5% +life enemy, %5 +shield, 5% +bomb\n\t\t\t\t\t\trandomNumber = (int)(Math.random()*20);\n\t\t\t\t\t\tif(randomNumber <= 1){\n\t\t\t\t\t\t\trandReward = 1;\n\t\t\t\t\t\t}else if(randomNumber <= 2){\n\t\t\t\t\t\t\trandReward = 2;\n\t\t\t\t\t\t}else if(randomNumber <= 3){\n\t\t\t\t\t\t\trandReward = 3;\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\trandReward = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//randReward = (int)(Math.random()*4);\t//CHANGE, pick a weighted random reward...\n\t\t\t\t\t\tint rewardValue = 5; //assign appropriate value\n\t\t\t\t\t\t\n\t\t\t\t\t\tEnemy enemy = new Enemy(randX, randY, enemyColor, enemyVelocity, true, enemyRadius, randX, randY, (int)centerX, centerY, randReward, rewardValue, enemyPaint,255);\n\t\t\t\t\t\tactiveEnemies.add(enemy);\n\t\t\t\t\t\t\n\t\t\t\t\t\t//30% of the time add a second, 10% of the time add 3\n\t\t\t\t\t\tif(randomNumber < 1){\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tLog.e(\"mulitple enemies\", \"make 3 enemies\");\n\t\t\t\t\t\t\trandX = (float)(Math.random()*screenWidth); \n\t\t\t\t\t\t\trandY = Math.random() < 0.5 ? 0:screenHeight; \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\trandomNumber = (int)(Math.random()*20);\n\t\t\t\t\t\t\tif(randomNumber <= 1){\n\t\t\t\t\t\t\t\trandReward = 1;\n\t\t\t\t\t\t\t}else if(randomNumber <= 2){\n\t\t\t\t\t\t\t\trandReward = 2;\n\t\t\t\t\t\t\t}else if(randomNumber <= 3){\n\t\t\t\t\t\t\t\trandReward = 3;\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\trandReward = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tEnemy enemy1 = new Enemy(randX, randY, enemyColor, enemyVelocity, true, enemyRadius, randX, randY, (int)centerX, centerY, randReward, rewardValue, enemyPaint,255);\n\t\t\t\t\t\t\tactiveEnemies.add(enemy1);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\trandX = (float)(Math.random()*screenWidth); \n\t\t\t\t\t\t\trandY = Math.random() < 0.5 ? 0:screenHeight; \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\trandomNumber = (int)(Math.random()*20);\n\t\t\t\t\t\t\tif(randomNumber <= 1){\n\t\t\t\t\t\t\t\trandReward = 1;\n\t\t\t\t\t\t\t}else if(randomNumber <= 2){\n\t\t\t\t\t\t\t\trandReward = 2;\n\t\t\t\t\t\t\t}else if(randomNumber <= 3){\n\t\t\t\t\t\t\t\trandReward = 3;\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\trandReward = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tEnemy enemy2 = new Enemy(randX, randY, enemyColor, enemyVelocity, true, enemyRadius, randX, randY, (int)centerX, centerY, randReward, rewardValue, enemyPaint,255);\n\t\t\t\t\t\t\tactiveEnemies.add(enemy2);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}else if (randomNumber < 3){\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tLog.e(\"multiple enemies\", \"make 2 enemies\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\trandX = (float)(Math.random()*screenWidth); \n\t\t\t\t\t\t\trandY = Math.random() < 0.5 ? 0:screenHeight; \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\trandomNumber = (int)(Math.random()*10);\n\t\t\t\t\t\t\tif(randomNumber <= 1){\n\t\t\t\t\t\t\t\trandReward = 1;\n\t\t\t\t\t\t\t}else if(randomNumber <= 2){\n\t\t\t\t\t\t\t\trandReward = 2;\n\t\t\t\t\t\t\t}else if(randomNumber <= 3){\n\t\t\t\t\t\t\t\trandReward = 3;\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\trandReward = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tEnemy enemy1 = new Enemy(randX, randY, enemyColor, enemyVelocity, true, enemyRadius, randX, randY, (int)centerX, centerY, randReward, rewardValue, enemyPaint,255);\n\t\t\t\t\t\t\tactiveEnemies.add(enemy1);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tinitialTime = System.nanoTime();\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\t//this does nothing now. use the threshold to increase the frequency and/or velocity of enemies every x points\n\t\t\t\t//every 20 enemies at 5pts each, increase velocity a bit\n\t\t\t\tif(score > scoreThreshold){\n\t\t\t\t\tLog.e(\"BEFORE SCORE THRESHOLD\", \"vel: \"+enemyVelocity+\" freq: \"+enemyFrequency);\n\t\t\t\t\tenemyVelocity += Math.log10(enemyVelocity)/1.5;\n\t\t\t\t\tenemyFrequency -= (Math.log10(enemyFrequency*2));\n\t\t\t\t\tscoreThreshold += 100;\n\t\t\t\t\tLog.e(\"AFTER SCORE THRESHOLD\", \"vel: \"+enemyVelocity+\" freq: \"+enemyFrequency);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\tcase(2):\n\t\t\t\t\tif(timeElapsed > enemyFrequency){\n\t\t\t\t\t\t\n\t\t\t\t\t\trandReward = 1;\t//CHANGE, pick a weighted random reward...\n\t\t\t\t\t\tint rewardValue = 5; //assign appropriate value\n\t\t\t\t\t\tEnemy enemy = new Enemy(randX, randY, enemyColor, enemyVelocity, true, enemyRadius, randX, randY, (int)centerX, centerY, randReward, rewardValue, enemyPaint,255);\n\t\t\t\t\t\tactiveEnemies.add(enemy);\n\t\t\t\t\t\tinitialTime = System.nanoTime();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase(3):\n\t\t\t\t\tif(timeElapsed > enemyFrequency){\n\t\t\t\t\t\n\t\t\t\t\t\trandReward = 1;\t//CHANGE, pick a weighted random reward...\n\t\t\t\t\t\tint rewardValue = 2; //assign appropriate value\n\t\t\t\t\t\tEnemy enemy = new Enemy(randX, randY, enemyColor, enemyVelocity, true, enemyRadius, randX, randY, (int)centerX, centerY, randReward, rewardValue, enemyPaint,255);\n\t\t\t\t\t\tactiveEnemies.add(enemy);\n\t\t\t\t\t\tinitialTime = System.nanoTime();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\t\n\t\t\t}//end switch\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t}", "title": "" }, { "docid": "d7f78b5b6681a5c7fd73bd2e6187b15d", "score": "0.5699992", "text": "public void t25LoadImages() {\n\t\t\t// Load necessary images.\n\t\t\tt25bg = new ImageIcon(System.getProperty(\"user.dir\") + \"/img/bg/800x600/ocean.jpg\").getImage();\n\t\t\tImage shipDefault = new ImageIcon(System.getProperty(\"user.dir\") + \"/img/icon/100x100/ship.png\").getImage();\n\t\t\tImage shipThrust = new ImageIcon(System.getProperty(\"user.dir\") + \"/img/icon/100x100/ship_thrust.png\").getImage();\n\t\t\t// Create an Animation object.\n\t\t\tt25ani = new Animation();\n\t\t\t// Add the frames.\n\t\t\tt25ani.addFrame(shipDefault, 250);\n\t\t\tt25ani.addFrame(shipThrust, 500);\n\t\t\t// Spritely fun!\n\t\t\tt25sprite = new Sprite(t25ani);\n\t\t\tt25sprite.setXVelocity(0.3f);\n\t\t\tt25sprite.setYVelocity(0.3f);\n\t\t}", "title": "" }, { "docid": "63b832c9f05b757f2a0dd99042bf89ed", "score": "0.569851", "text": "public GEPlayer (GameModel model, DungeonCrafter controller) {\n this.controller = controller;\n this.model = model;\n this.getype = GEType.PLAYER;\n this.velocity = new Velocity(0, 0);\n this.position = new Pos(0,0);\n this.basicSpriteSheet = new Texture(\"sprites/mainCharacter/characterPickaxe.png\");\n this.ironSpriteSheet = new Texture(\"sprites/mainCharacter/steelCharacterPickaxe.png\");\n this.goldSpriteSheet = new Texture(\"sprites/mainCharacter/goldCharacterPickaxe.png\");\n this.currentState = State.STANDING;\n this.previousState = State.STANDING;\n\n\n // basic character frames\n\n this.charStand = new TextureRegion(basicSpriteSheet, 0, 649, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12);\n this.charJump = new TextureRegion(basicSpriteSheet, 64, 1280, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT);\n this.charFall = new TextureRegion(basicSpriteSheet, 128, 1280, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT);\n\n this.region = charStand;\n\n Array<TextureRegion> frames = new Array<TextureRegion>();\n for (int i = 0; i < 9; i++) {\n frames.add(new TextureRegion(this.basicSpriteSheet, i*64, 713, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.charRunR = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 9; i++) {\n frames.add(new TextureRegion(this.basicSpriteSheet, i*64, 587, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.charRunL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.basicSpriteSheet, i*64, 843, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.charMineL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.basicSpriteSheet, i*64, 905, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.charMineD = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.basicSpriteSheet, i*64, 969, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.charMineR = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 6; i++) {\n frames.add(new TextureRegion(this.basicSpriteSheet, i*64, 1289, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.charDeath = new Animation(0.4f, frames);\n frames.clear();\n\n for (int i = 0; i < 6; i++) {\n frames.add(new TextureRegion(this.basicSpriteSheet, i*64, 843, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.charAttackL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 6; i++) {\n frames.add(new TextureRegion(this.basicSpriteSheet, i*64, 969, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.charAttackR = new Animation(0.15f, frames);\n frames.clear();\n\n\n //iron armour frames\n\n this.ironCharStand = new TextureRegion(ironSpriteSheet, 0, 649, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12);\n this.ironCharJump = new TextureRegion(ironSpriteSheet, 64, 1280, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT);\n this.ironCharFall = new TextureRegion(ironSpriteSheet, 128, 1280, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT);\n\n this.region = ironCharStand;\n\n for (int i = 0; i < 9; i++) {\n frames.add(new TextureRegion(this.ironSpriteSheet, i*64, 713, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.ironCharRunR = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 9; i++) {\n frames.add(new TextureRegion(this.ironSpriteSheet, i*64, 587, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.ironCharRunL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.ironSpriteSheet, i*64, 843, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.ironCharMineL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.ironSpriteSheet, i*64, 905, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.ironCharMineD = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.ironSpriteSheet, i*64, 969, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.ironCharMineR = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 6; i++) {\n frames.add(new TextureRegion(this.ironSpriteSheet, i*64, 843, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.ironAttackL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 6; i++) {\n frames.add(new TextureRegion(this.ironSpriteSheet, i*64, 969, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.ironAttackR = new Animation(0.15f, frames);\n frames.clear();\n\n\n\n // gold armour\n\n this.goldCharStand = new TextureRegion(goldSpriteSheet, 0, 649, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12);\n this.goldCharJump = new TextureRegion(goldSpriteSheet, 64, 1280, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT);\n this.goldCharFall = new TextureRegion(goldSpriteSheet, 128, 1280, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT);\n\n this.region = goldCharStand;\n\n for (int i = 0; i < 9; i++) {\n frames.add(new TextureRegion(this.goldSpriteSheet, i*64, 713, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.goldCharRunR = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 9; i++) {\n frames.add(new TextureRegion(this.goldSpriteSheet, i*64, 587, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.goldCharRunL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.goldSpriteSheet, i*64, 843, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.goldCharMineL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.goldSpriteSheet, i*64, 905, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.goldCharMineD = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 5; i > 0; i--) {\n frames.add(new TextureRegion(this.goldSpriteSheet, i*64, 969, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.goldCharMineR = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 6; i++) {\n frames.add(new TextureRegion(this.goldSpriteSheet, i*64, 843, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.goldAttackL = new Animation(0.15f, frames);\n frames.clear();\n\n for (int i = 0; i < 6; i++) {\n frames.add(new TextureRegion(this.goldSpriteSheet, i*64, 969, CHAR_PIXEL_WIDTH, CHAR_PIXEL_HEIGHT-12));\n }\n this.goldAttackR = new Animation(0.15f, frames);\n frames.clear();\n\n }", "title": "" }, { "docid": "b84887b01aa35d8150aa713e097c01fc", "score": "0.56967247", "text": "public void drawZombie() {\n TextureRegion[][] grid = TextureRegion.split(Minicraft.tiles, 16, 16);\n //Zombie...makaZombie\n this.stand = grid[6][6];\n this.leftStand = new TextureRegion(this.stand);\n this.leftStand.flip(true, false);\n this.down = grid[6][4];\n this.up = grid[6][5];\n this.right = grid[6][7];\n this.left = new TextureRegion(this.right);\n this.left.flip(true, false);\n //zombie animation\n this.walkUp = Minicraft.createAnimationFlip(this.up, true, false);\n this.walkDown = Minicraft.createAnimationFlip(this.down, true, false);\n this.walkLeft = new Animation(.25f, this.leftStand, this.left);\n this.walkRight = new Animation(.25f, this.stand, this.right);\n }", "title": "" }, { "docid": "5de97b6fe73ec1ea7565caf4b4d28db8", "score": "0.5690978", "text": "private void spawnEnemies(float delta) {\n this.spawnEnemyTime += delta;\n if (this.spawnEnemyTime >= TIME_LIMIT_TO_SPAWN_ENEMY) {\n this.spawnEnemyTime = 0f;\n \n EnemyShip enemyShip = (new RandomEnemy()).getRandomEnemyShip(EnemySpawnLevel.BASIC);\n Stage stage = this.getStage();\n \n Random rnd = new Random();\n float x = rnd.nextInt(Gdx.graphics.getWidth() - (int) enemyShip.getWidth());\n float y = stage.getCamera().position.y + stage.getCamera().viewportHeight/2 - 10f;\n enemyShip.setX(x);\n enemyShip.setY(y);\n \n if (stage != null && stage instanceof GamePlayResume) {\n ((GamePlayResume)stage).addObjectToGroup(GamePlayObjects.ENEMY_SHIPS, enemyShip);\n }\n }\n }", "title": "" }, { "docid": "a78134dd06279bf0fc2a01ba7a5ac22e", "score": "0.5678047", "text": "public void blit(){\n \n }", "title": "" }, { "docid": "f7c305d92975ab3b782853c6a1419be2", "score": "0.5675256", "text": "private void spawnBeingsAndDoor() {\n player = new Player();\n player.drawBeing(world);\n\n enemies = Enemy.initializeEnemies();\n Enemy.drawEnemies(world, enemies);\n\n goalDoor = new Door(world);\n goalDoor.drawDoor(world);\n\n}", "title": "" }, { "docid": "ab16bac752a9c15f864854d2e958054e", "score": "0.56752026", "text": "private void create_menu_texture() {\n\t\t\t\tfinal float big_button_height = .15f*screen_height; \n\t\t\t\tfinal float big_button_width = big_button_height ;\n\t\t\t\tfinal float bookmark_hight = .05f*screen_height;\n\t\t\t\tfinal float light_bar_width = .75f*screen_width ;\n\t\t\t\tfinal float light_banal_height = .10f*screen_height; \n\t\t\t\tfinal float light_bar_height = light_banal_height/20 ;\n\t\t\t\tfinal float info_panal_height = .07f*screen_height ;\n\t\t\t\tfinal float icones_x = 0 ; \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t//plus , addba,addbb,addbc,infoback,pageno,surahname,jozaname;\n\t\t\t\tfinal float plus_width = .1f*screen_height ; \n\t\t\t\tfinal float plus_b_height = 0.08f*screen_height ;\n\t\t\t\tfinal float plus_b_width = 0.07f*screen_width ;\n\t\t\t\tfinal float plus_b_first_x = 0.55f*screen_width; \n\t\t\t\tfinal float plus_b_pading_x = 0.035f*screen_width;\n\t\t\t\tfinal float plus_b_y = screen_height - plus_b_height ;\n\t\t\t\t //menu actors \n\t\t\t\taddba = new GameActor(images_textures_atlas.findRegion(\"plusbookmark\"),\n\t\t\t\t\t\tplus_b_first_x,plus_b_y , null, plus_b_width, plus_b_height);\n\t\t\t\taddba.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tpreferences.putInteger(keymark_a_key, current_page);\n\t\t\t\t\t\tpreferences.flush();\n\t\t\t\t\t\tbookmark_a_page = current_page; \n\t\t\t\t\t\tb_a_t =0;\n\t\t\t\t\t\tb_a_p_t=0 ;\n\t\t\t\t\t\taddba.set_enable_draw(!(bookmark_a_page == current_page));\n\t\t\t\t\t\t\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\taddbb = new GameActor(images_textures_atlas.findRegion(\"plusbookmark\"),\n\t\t\t\t\t\tplus_b_first_x+plus_b_width+plus_b_pading_x, plus_b_y , null, plus_b_width, plus_b_height);\n\t\t\t\taddbb.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tpreferences.putInteger(keymark_b_key, current_page);\n\t\t\t\t\t\tpreferences.flush();\n\t\t\t\t\t\tbookmark_b_page = current_page; \n\t\t\t\t\t\tb_b_t=0;\n\t\t\t\t\t\tb_b_p_t=0 ;\n\t\t\t\t\t\taddbb.set_enable_draw(!(bookmark_b_page == current_page));\n\t\t\t\t\t\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\taddbc = new GameActor(images_textures_atlas.findRegion(\"plusbookmark\"),\n\t\t\t\t\t\tplus_b_first_x+2*plus_b_width+2*plus_b_pading_x, plus_b_y , null, plus_b_width, plus_b_height);\n\t\t\t\taddbc.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tpreferences.putInteger(keymark_c_key, current_page);\n\t\t\t\t\t\tpreferences.flush();\n\t\t\t\t\t\tbookmark_c_page = current_page; \n\t\t\t\t\t\tb_c_t=0 ;\n\t\t\t\t\t\tb_c_p_t=0;\n\t\t\t\t\t\taddbc.set_enable_draw(!(bookmark_c_page == current_page));\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tinfobacka = new GameActor(images_textures_atlas.findRegion(\"pixel\"),7*screen_width/8,2*info_panal_height+light_banal_height,Color.WHITE,\n\t\t\t\t\t\tscreen_width/8, info_panal_height);\n\t\t\t\tinfobackb = new GameActor(images_textures_atlas.findRegion(\"pixel\"), 2*screen_width/3,1*info_panal_height+light_banal_height,Color.WHITE,\n\t\t\t\t\t\tscreen_width/3, info_panal_height);\n\t\t\t\tinfobackc = new GameActor(images_textures_atlas.findRegion(\"pixel\"), 2*screen_width/3,0*info_panal_height+light_banal_height,Color.WHITE,\n\t\t\t\t\t\tscreen_width/3, info_panal_height);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tfinal float text_scale = .5f ;\n\t\t\t\t\n\t\t\t\tpageno = new TextActor(current_page+\"\",Color.BLACK,\n\t\t\t\t\t\t(float)(1*screen_width/8),TextActor.TextAlign.align_cinter, \n\t\t\t\t\t\ttext_scale, 7*screen_width/8, 2.7f*info_panal_height+light_banal_height);\n\t\t\t\tjozaname = new GameActor(book.get_region(\"j\"+1), 3*screen_width/5,1*info_panal_height+light_banal_height, null, (float)(2*screen_width/5),info_panal_height);\n\n\t\t\t\tjozaname.set_scale(.9f,.9f);\n\t\t\t\t surahname= new GameActor(book.get_region(\"s\"+1),3*screen_width/5+.12f*(2*screen_width/5),0*info_panal_height+light_banal_height, null, (float)(2*screen_width/5),info_panal_height);\n\t\t\t\t surahname.set_scale(.7f, .7f);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\taddba.set_color(255,27,177,1);\n\t\t\t\taddbb.set_color(27,255,215,1);\n\t\t\t\taddbc.set_color(255,220,27,1);\n//\t\t\tsmenu_stage.addActor(screen_totally);\n\t\t\t//smenu_stage.addActor(plus);\n\n\t\t\t\n\t\t\t\t//000000000000000\n\t\t\t\tscreen_totally_a = new GameActor(images_textures_atlas.findRegion(\"pixel\"), big_button_height, light_banal_height, null, screen_width-big_button_height, screen_height-light_banal_height)\n\t\t\t\t\t\t;\n\t\t\t\t\t\tscreen_totally_a.addListener(new ActorGestureListener(){\n\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\tback_button_down();\n\t\t\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t\t\t}\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\tscreen_totally_a.update_alpha(0.001f);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tpages_button = new GameActor(images_textures_atlas.findRegion(\"pagesicon\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tbig_button_height*4+bookmark_hight*3 +light_banal_height,\n\t\t\t\t\t\tnull,big_button_width,\n\t\t\t\t\t\tbig_button_height);\n\t\t\t\tpages_button.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t\tstage_detector = Stages.selectpage ;\n\t\t\t\t\t\tconfig_input_prossesor(stage_detector);\n\t\t\t\t\t\tselectpage_stage.draw();\n\t\t\t\t\t\tselectpage_stage.act(Gdx.graphics.getDeltaTime());\n\t\t\t\t\t\tselect_page_pane.setScrollY(current_page+12<pages_no?current_page*(PageTap.tab_height+PageTap.tab_pading_height):(pages_no-12)*(PageTap.tab_height+PageTap.tab_pading_height));\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\tsuar_button = new GameActor(images_textures_atlas.findRegion(\"suaricon\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tbig_button_height*3+bookmark_hight*3 +light_banal_height,\n\t\t\t\t\t\tnull,big_button_width,\n\t\t\t\t\t\tbig_button_height);\n\t\t\t\tsuar_button.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t\tstage_detector = Stages.selectsorah ;\n\t\t\t\t\t\tconfig_input_prossesor(stage_detector);\n\t\t\t\t\t\tselectsorah_stage.draw();\n\t\t\t\t\t\tselectsorah_stage.act(Gdx.graphics.getDeltaTime());\n\t\t\t\t\t\tsorah_scroll_pane.setScrollY(current_surah+12<suar_no?current_surah*(SorahTab.tab_height+SorahTab.tab_pading_height):(suar_no-12)*(SorahTab.tab_height+SorahTab.tab_pading_height));\n\t\t\t\t\t\t\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\tajzaa_button = new GameActor(images_textures_atlas.findRegion(\"partsicon\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tbig_button_height*2+bookmark_hight*3 +light_banal_height,\n\t\t\t\t\t\tnull,big_button_width,\n\t\t\t\t\t\tbig_button_height);\n\t\t\t\tajzaa_button.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t\tstage_detector = Stages.selectpart ;\n\t\t\t\t\t\tconfig_input_prossesor(stage_detector);\n\t\t\t\t\t\tselectpart_stage.draw();\n\t\t\t\t\t\tselectpart_stage.act(Gdx.graphics.getDeltaTime());\n\t\t\t\t\t\tparts_scroll_pane.setScrollY(current_joza+12<ajzaa_no?current_joza*(GozaTap.tab_height+GozaTap.tab_pading_height):(ajzaa_no-12)*(GozaTap.tab_height+GozaTap.tab_pading_height));\n\t\t\t\t\t\t\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\tdoaa_button= new GameActor(images_textures_atlas.findRegion(\"doaa\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tbig_button_height+bookmark_hight*3 +light_banal_height,\n\t\t\t\t\t\tnull,big_button_width,\n\t\t\t\t\t\tbig_button_height);\n\t\t\t\tdoaa_button.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t\tstage_detector = Stages.doaa ;\n\t\t\t\t\t\tconfig_input_prossesor(stage_detector);\n\t\t\t\t\t\tparts_scroll_pane.setScrollY(0);\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\tthem_button_w = new GameActor(images_textures_atlas.findRegion(\"whitepages\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tbookmark_hight*3 +light_banal_height,\n\t\t\t\t\t\tnull,big_button_width,\n\t\t\t\t\t\tbig_button_height);\n\n\t\t\t\tthem_button_c = new GameActor(images_textures_atlas.findRegion(\"coloredpages\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tbookmark_hight*3 +light_banal_height,\n\t\t\t\t\t\tnull,big_button_width,\n\t\t\t\t\t\tbig_button_height);\n\t\t\t\tthem_button_c.set_enable_draw(them_detector == Thems.classic?true:false);\n\t\t\t\tthem_button_w.set_enable_draw(them_detector == Thems.colord?true:false);\n\t\t\t\tthem_button_w.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t\tthem_button_w.set_enable_draw(false);\n\t\t\t\t\t\tthem_button_c.set_enable_draw(true);\n\t\t\t\t\t\tthem_detector =Thems.classic ;\n\t\t\t\t\t\tpreferences.putInteger(them_key, 0);\n\t\t\t\t\t\tpreferences.flush();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t});\n\t\t\t\tthem_button_c.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t\tthem_button_w.set_enable_draw(true);\n\t\t\t\t\t\tthem_button_c.set_enable_draw(false);\n\t\t\t\t\t\tthem_detector =Thems.colord ;\n\t\t\t\t\t\tpreferences.putInteger(them_key, 1);\n\t\t\t\t\t\tpreferences.flush();\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\tb_a_button = new GameActor(images_textures_atlas.findRegion(\"vbookmark1\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tbookmark_hight*2 +light_banal_height,\n\t\t\t\t\t\tnull,big_button_width,bookmark_hight);\n\t\t\t\tb_a_button.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t/*stage_detector=Stages.pages ;\n\t\t\t\t\t\tconfig_input_prossesor(Stages.pages);\n*/\n\n\t\t\t\t\t\tcurrent_page = bookmark_a_page ;\n\t\t\t\t\t\t/*pages_stage.draw();\n\t\t\t\t\t\tpages_draw_stage.draw();*//*\n\t\t\t\t\t\tpages_stage.act(Gdx.graphics.getDeltaTime());*/\n\t\t\t\t\t\tpages_scroll_pane.setScrollY((current_page-1)*screen_height );\n\t\t\t\t\t\tsnab_to =((current_page-1)*screen_height ) ; \n\t\t\t\t\t\tupdate_saved_page_no(current_page) ;\t\n\t\t\t\t\t\trefresh_menu();\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t});\n\t\t\t\tb_a_button.set_scale(1.5f, .65f);\n\t\t\t\t//----------------------\n\t\t\t\tb_b_button = new GameActor(images_textures_atlas.findRegion(\"vbookmark2\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tbookmark_hight +light_banal_height,\n\t\t\t\t\t\tnull,big_button_width,bookmark_hight);\n\t\t\t\tb_b_button.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\n\t\t\t\t\t\tcurrent_page = bookmark_b_page ;\n\t\t\t\t\t\t/*pages_stage.draw();\n\t\t\t\t\t\tpages_draw_stage.draw();*//*\n\t\t\t\t\t\tpages_stage.act(Gdx.graphics.getDeltaTime());*/\n\t\t\t\t\t\tpages_scroll_pane.setScrollY((current_page-1)*screen_height );\n\t\t\t\t\t\tsnab_to =((current_page-1)*screen_height ) ; \n\t\t\t\t\t\tupdate_saved_page_no(current_page) ;\t\n\t\t\t\t\t\trefresh_menu();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t});\n\t\t\t\tb_b_button.set_scale(1.5f, .65f);\n\t\t\t\t//-------------------------\n\t\t\t\tb_c_button = new GameActor(images_textures_atlas.findRegion(\"vbookmark3\"),\n\t\t\t\t\t\ticones_x,\n\t\t\t\t\t\tlight_banal_height,\n\t\t\t\t\t\tnull,big_button_width,bookmark_hight);\n\t\t\t\tb_c_button.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void tap(InputEvent event, float x, float y, int count, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tsuper.tap(event, x, y, count, button);\n\n\t\t\t\t\t\tcurrent_page = bookmark_c_page ;\n\t\t\t\t\t\t/*pages_stage.draw();\n\t\t\t\t\t\tpages_draw_stage.draw();*//*\n\t\t\t\t\t\tpages_stage.act(Gdx.graphics.getDeltaTime());*/\n\t\t\t\t\t\tpages_scroll_pane.setScrollY((current_page-1)*screen_height );\n\t\t\t\t\t\tsnab_to =((current_page-1)*screen_height ) ; \n\t\t\t\t\t\tupdate_saved_page_no(current_page) ;\t\t\n\t\t\t\t\t\trefresh_menu();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t});\n\t\t\tb_c_button.set_scale(1.5f, .65f);\n\n\t\t\t\t//----------------------\n\t\t\t\tlight_slider = new GameActor(images_textures_atlas.findRegion(\"brighta\"),\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t(light_bar_width*light_value/100)+((screen_width-light_bar_width-light_banal_height)/2)\n\t\t\t\t\t\t,\n\t\t\t\t\t\t0,\n\t\t\t\t\t\tnull,light_banal_height,\n\t\t\t\t\t\tlight_banal_height);\n\t\t\t\tlight_slider.addListener(new ActorGestureListener(){\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void pan(InputEvent event, float x, float y, float deltaX, float deltaY) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tif(light_slider.get_xpos()>=((screen_width-light_bar_width-light_banal_height)/2)&&light_slider.get_xpos()<=screen_width-light_banal_height/2-((screen_width-light_bar_width)/2))\n\t\t\t\t\t\tlight_slider.set_position(deltaX+light_slider.get_xpos(), 0);\n\t\t\t\t\t\t\n\t\t\t\t\t\t if(light_slider.get_xpos()<(screen_width-light_bar_width-light_banal_height)/2){\n\t\t\t\t\t\t\tlight_slider.set_position((screen_width-light_bar_width-light_banal_height)/2, 0);\n\t\t\t\t\t\t}else if(light_slider.get_xpos()>(screen_width-light_banal_height/2-((screen_width-light_bar_width)/2))){\n\t\t\t\t\t\t\tlight_slider.set_position(screen_width-light_banal_height/2-((screen_width-light_bar_width)/2), 0);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t light_value=(int)(100*(\n\t\t\t\t\t\t\t\t\t(light_slider.get_xpos()-\n\t\t\t\t\t\t\t\t\t\t\t((screen_width-light_bar_width-light_banal_height)/2))\t\n\t\t\t\t\t\t\t\t\t\t\t/light_bar_width\n\t\t\t\t\t\t\t\t\t\t\t));\n\t\t\t\t\t\tsuper.pan(event, x, y, deltaX, deltaY);\n\t\t\t\t\t}\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void touchDown(InputEvent event, float x, float y, int pointer, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tlight_slider.set_scale(.7f,.7f);\n\t\t\t\t\t\t\n\t\t\t\t\t\tsuper.touchDown(event, x, y, pointer, button);\n\t\t\t\t\t}\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void touchUp(InputEvent event, float x, float y, int pointer, int button) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tlight_slider.set_scale(.5f,.5f);\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tpreferences.putInteger(light_strens_key, light_value);\n\t\t\t\t\t\t\n\t\t\t\t\t\tpreferences.flush();\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tsuper.touchUp(event, x, y, pointer, button);\n\t\t\t\t\t}\n\t\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t});\n\t\t\t\tlight_slider.set_scale(.5f,.5f);\n\t\t\t\t//--------\n\t\t\t\tlight_bar = new GameActor(images_textures_atlas.findRegion(\"pixel\"),\n\t\t\t\t\t\t(screen_width-light_bar_width)/2,\n\t\t\t\t\t\t(light_banal_height-light_bar_height)/2,\n\t\t\t\t\t\tnull,light_bar_width,\n\t\t\t\t\t\tlight_bar_height);\n\t\t\t\t/*light_bar.set_scale(.9f,.9f);*/\n\t\t\t\t\n\t\t\t\t//\n\t\t\t\tlight_slider.set_color(145,139, 106,1);\n\t\t\t\tlight_bar.set_color(19, 19, 19, 1);\n\t\t\t\tb_a_button.set_color(255,27,177,1);\n\t\t\t\tb_b_button.set_color(27,255,215,1);\n\t\t\t\tb_c_button.set_color(255,220,27,1);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tmenu_stage.addActor(screen_totally_a);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tmenu_stage.addActor(addba);\n\t\t\t\tmenu_stage.addActor(addbb);\n\t\t\t\tmenu_stage.addActor(addbc);\t\n\t\t\t\t//menu_stage.addActor(infobacka);\n\t\t\t\t//menu_stage.addActor(infobackb);\n\t\t\t\t//menu_stage.addActor(infobackc);\n\t\t\t\tmenu_stage.addActor(pageno);\n\t\t\t\tmenu_stage.addActor(surahname);\n\t\t\t\tmenu_stage.addActor(jozaname);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tmenu_stage.addActor(pages_button);\n\t\t\t\tmenu_stage.addActor(suar_button); \n\t\t\t\tmenu_stage.addActor(ajzaa_button);\n\t\t\t\tmenu_stage.addActor(doaa_button);\n\t\t\t\tmenu_stage.addActor(them_button_c);\n\t\t\t\tmenu_stage.addActor(them_button_w);\n\t\t\t\tmenu_stage.addActor(b_a_button);\n\t\t\t\tmenu_stage.addActor(b_b_button);\n\t\t\t\tmenu_stage.addActor(b_c_button);\n\t\t\t\tmenu_stage.addActor(light_bar);\n\t\t\t\tmenu_stage.addActor(light_slider);\n\t\t\t}", "title": "" }, { "docid": "4a7e71a16db9a1076a3bded3926d9f81", "score": "0.56749743", "text": "public MassSprites(int x, int y, int x1, int y1, int x2, int y2, LevelMap map) {\n\t\t//point = new Point(x, y);\n\t\tsetXandY(x, y);\n\t\t\n\t\tthis.x1 = x1;\n\t\tthis.y1 = y1;\n\t\tthis.x2 = x2;\n\t\tthis.y2 = y2;\n\n\t\tbitmap = new Bitmap[(x2 - x1)][(y2 - y1)];\n\n\t\tfor(int i = 0; i < (x2 - x1); i++) { // Gets the size of the x co-ord\n\t\t\tfor(int j = 0; j < (y2 - y1); j++) { // Gets the size of the y co-ord\n\t\t\t\tbitmap[i][j] = Sprites.getSprite(Sprites.SPRITE, x1 + i, y1 + j);\n\t\t\t}\n\t\t}\n\t\tthis.map = map;\n\t}", "title": "" }, { "docid": "77abbdd778d98f6a11214240c1c14023", "score": "0.5673594", "text": "public allEnemy(int x, int y, String type,String status,BackGround bg)\r\n\t{\r\n\t\tthis.originX = x;\r\n\t\tthis.originY = y;\r\n\t\tthis.x = originX;\r\n\t\tthis.y = originY;\r\n\t\tthis.originStatus = status;\r\n\t\tthis.status = status;\r\n\t\tthis.bg = bg;\r\n\t\tthis.type = type;\r\n\t\t\r\n\t\tt = new Thread(this);\r\n\t\tif(type.equals(\"mushroom\")){\r\n\t\t\tshowImage = MediaLibrary.mushroomImage.get(0);\r\n\t\t}\r\n\t\telse if(type.equals(\"turtle\"))\r\n\t\t{\r\n\t\t\tshowImage = MediaLibrary.turtleImage.get(0);\r\n\t\t}\r\n\t\telse if(type.equals(\"flower\"))\r\n\t\t{\r\n\t\t\tshowImage = MediaLibrary.flowerImage.get(0);\r\n\t\t}\t\r\n\t\tt.start();\t\t\t\t\t\t\t\t\t\t\t//Thread starts\r\n\t}", "title": "" }, { "docid": "7348e389cdd9824fb245514cf66a4ff1", "score": "0.56728196", "text": "public GameEngine(Bitmap bmp) {\n image = bmp;\n }", "title": "" }, { "docid": "110ed73f310c59cdf0f0728d9987effd", "score": "0.5667417", "text": "public EnemyGameObject(int x, int y, int textureIndex, int size, boolean isGhost)\n\t{\n\t\tsuper(x,y,-1,size,isGhost);\t\n\t\tstate = -1;//no set state\n\t\tisEnemy = true;\n\t}", "title": "" }, { "docid": "ad42d39c69401dd03ca4e3435ec86511", "score": "0.5667245", "text": "public World1()\r\n {\r\n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\r\n super(1095,540,1); \r\n bg(\"world1.png\"); \r\n hero = new Hero();\r\n addObjects();\r\n }", "title": "" }, { "docid": "68502ccdc9e10a7c752d616490d90132", "score": "0.5661441", "text": "public void emotionOpen() {\n this.emImg = getBaseActivity().getResourceUtil().getAnimatedSprite(\"quest/emotion/e\" + this.emNo + \".png\", 1, 2);\n if (this.enemyEncountFlg) {\n this.emImg.setPosition(150.0f, 270.0f);\n } else {\n this.emImg.setPosition(326.0f, 270.0f);\n }\n this.emImg.animate(this.EMOTION_ANIME);\n attachChild(this.emImg);\n }", "title": "" }, { "docid": "363add713241cd05253dea4ba28a2345", "score": "0.5661158", "text": "public void setPicture()\n {\n switch(type)\n {\n case \"teacup\": setImage(new GreenfootImage(\"tecup.png\")); setLocation(25, 15); break;\n case \"teancodetext\": setImage(new GreenfootImage(\"Made by TeaNCode, Copyright 2016\", 12, Color.WHITE, new Color(0,0,0,0))); \n setLocation(87, 25);break;\n case \"world\": setImage(new GreenfootImage(\"Continue\", 60, Color.LIGHT_GRAY, new Color(0,0,0,0))); break;\n case \"back\": setImage(new GreenfootImage(\"Back\",30,Color.LIGHT_GRAY, new Color(0,0,0,0))); break;\n case \"help\": setImage(new GreenfootImage(\"Help\",40,Color.LIGHT_GRAY, new Color(0,0,0,0))); break;\n case \"newgame\": setImage(new GreenfootImage(\"New Game\",40,Color.LIGHT_GRAY, new Color(0,0,0,0))); break;\n case \"continuegame\": setImage(new GreenfootImage(\"Continue Game\",40,Color.LIGHT_GRAY, new Color(0,0,0,0))); break;\n case \"save\": setImage(new GreenfootImage(\"Save Game\",40,Color.BLACK, new Color(0,0,0,0))); break;\n case \"credits\": setImage(new GreenfootImage(\"Credits\",40,Color.LIGHT_GRAY, new Color(0,0,0,0))); break;\n case \"helpNext\": setImage(new GreenfootImage(\"Next\",40,Color.LIGHT_GRAY, new Color(0,0,0,0))); break;\n case \"helpPrevious\": setImage(new GreenfootImage(\"Previous\",40,Color.LIGHT_GRAY, new Color(0,0,0,0))); break;\n }\n }", "title": "" }, { "docid": "f2388f5a10e3b86de8884fa7cfd3e57d", "score": "0.5660324", "text": "public Projectile(float xIn, float yIn, Context c, Point p, Bitmap b, boolean e) {\n Matrix matrixMirror=new Matrix();//matrix to mirror the projectile for when its fired form an alien\n matrixMirror.preScale(1.0f,-1.0f);\n isEnemy=e;//is or isnt enemy projectile\n setScreenSize(p);//screensize\n setSpeed(40);//set the speed\n setxPos(xIn);//the start position\n setyPos(yIn);\n //all sizes and positions are scaled up by the pixel density and then doubled again compared to the source PNG\n projectile = Bitmap.createBitmap(b, 358*7, 4*(int)spriteScale, 4*(int)spriteScale, 8*(int)spriteScale);//creat the sprite\n if(isEnemy){//if its an enemy projectile\n projectile=Bitmap.createBitmap(projectile,0,0,projectile.getWidth(),projectile.getHeight(),matrixMirror,false);//mirror it along y axis\n }\n setWidth(projectile.getWidth());//set the width and height values to that of the sprite for collisions\n setHeight(projectile.getHeight());\n }", "title": "" }, { "docid": "cc9f26570443b10606b805e48102d075", "score": "0.56577504", "text": "@Override\n public void draw() {\n pushMatrix();\n scale(width/appRes.x, height/appRes.y);\n\n // Scaling in and out for zooming\n pushMatrix();\n translate(appRes.x/2, appRes.y/2);\n scale(currScale);\n translate(-appRes.x/2, -appRes.y/2);\n\n // Smoothing to the target scale value\n currScale = (currScale*SMOOTHING + targetScale)/(SMOOTHING + 1);\n\n // Scale to center camera on player\n pushMatrix();\n translate(appRes.x/2 - player.getWorldMapPos().x, appRes.y/2 - player.getWorldMapPos().y);\n\n background(18, 171, 178);\n\n image(bg, appRes.x/2, appRes.y/2, bg.width*5, bg.height*5);\n\n // method that both spawns enemies near the player and removes ones outside their view\n handleEnemies();\n\n // Calls method that handles all the TouchGraphic objects\n updateTouchGraphics();\n\n // For all enemies, update their position and call the method to draw them\n for(Enemy e : enemies) {\n e.updatePos();\n drawEnemy(e);\n }\n\n // Update a player's position based off baseline (MEZ) and current lat and long\n // As mentioned in ProfileActivity, this useGPSToMove boolean is only ever false for testing purposes by\n // entering a specific code into the name field\n if(MenuActivity.useGPSToMove) player.updatePos(MEZ_LATITUDE, MEZ_LONGITUDE, playerLatitude, playerLongitude);\n drawPlayer();\n\n // Draw all hubs\n for(Hub h : hubs) {\n drawHub(h);\n }\n\n popMatrix();\n popMatrix();\n drawUI();\n popMatrix();\n }", "title": "" }, { "docid": "5e77c3d0282ca9140cc034f06cddbb2d", "score": "0.5656055", "text": "public Worm(int x, int y) {\n super(BODY_WIDTH, BODY_HEIGHT, x, y);\n try {\n spriteImage = new Image(Files.newInputStream(Paths.get(IMAGE_PATH)));\n }catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "855c8a0a469a37eb1e628b341690e857", "score": "0.56479615", "text": "@Override\r\n\tpublic void create() {\n\t\tint w = Gdx.graphics.getWidth();\r\n\t\tint h = Gdx.graphics.getHeight();\r\n\t\t//int i = Gdx.graphics.getHeight();\r\n\t\t//int j = Gdx.graphics.get\r\n\t\tcam =new OrthographicCamera(w,h);\r\n\t\timagen=new Texture(Gdx.files.internal(\"phanton.png\"));\r\n\t\tsb=new SpriteBatch();//se le puede dar parametros como el numero de elementos que se quiere mostrar\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e9d4710cb48d44877f343ae4e0e05ff5", "score": "0.56415266", "text": "@Override\n protected void setCreatures() {\n\n // The player will face down when the level starts\n entityManager.getPlayer().setState(entityManager.getPlayer().getDownState());\n\n GrabbableStar star1 = new GrabbableStar(2688, 2750, 32, 32); //2688, 2750\n GrabbableStar star2 = new GrabbableStar(450, 958, 32, 32); //450, 958\n GrabbableStar star3 = new GrabbableStar(1920, 1570, 32, 32); //1920, 1570\n\n star1 = new GrabbableStar(204, 200, 32, 32); //2688, 2750\n star2 = new GrabbableStar(260, 187, 32, 32); //450, 958\n star3 = new GrabbableStar(359, 187, 32, 32); //1920, 1570\n\n star1.addObserver(starCollection);\n star2.addObserver(starCollection);\n star3.addObserver(starCollection);\n\n entities.add(star1);\n entities.add(star2);\n entities.add(star3);\n\n // Enemies for star 1\n entities.add(new Bat(2700, 2868, 32, 32, new BatAssets()));\n entities.add(new Spider(3200, 2808, 32, 32, new SpiderAssets()));\n entities.add(new EnchantedTree(2139, 2792, 90, 90));\n\n // Enemies for star 2\n entities.add(new EnchantedTree(528, 1225, 90, 90));\n entities.add(new Spider(825, 931, 32, 32, new SpiderAssets()));\n\n Bat batV2 = new Bat(747, 520, 32, 32, new BatAssets());\n batV2.setMovementPolicy(new VerticalPolicy(batV2, (int) batV2.getY() - 200, (int) batV2.getY() + 200));\n entities.add(batV2);\n Bat batV3 = new Bat(847, 550, 32, 32, new BatAssets());\n batV3.setMovementPolicy(new VerticalPolicy(batV3, (int) batV3.getY() - 200, (int) batV3.getY() + 200));\n entities.add(batV3);\n Bat batV4 = new Bat(547, 500, 32, 32, new BatAssets());\n batV4.setMovementPolicy(new VerticalPolicy(batV4, (int) batV4.getY() - 200, (int) batV4.getY() + 200));\n entities.add(batV4);\n\n // Enemies for star 3\n entities.add(new Bat(1945, 1520, 32, 32, new BatAssets()));\n entities.add(new Bat(1900, 1600, 32, 32, new BatAssets()));\n entities.add(new Spider(1800, 1900, 32, 32, new SpiderAssets()));\n entities.add(new EnchantedTree(1480, 1030, 90, 90));\n\n // Enemies on the road\n entities.add(new Spider(961, 2064, 32, 32, new SpiderAssets()));\n entities.add(new Spider(1226, 630, 32, 32, new SpiderAssets()));\n entities.add(new Spider(2840, 1690, 32, 32, new SpiderAssets()));\n\n // Enchanted trees on the road\n entities.add(new EnchantedTree(260, 1300, 90, 90));\n entities.add(new EnchantedTree(1808, 1173, 90, 90));\n\n // Health potions on the road\n entities.add(new GrabbableHealthPotion(250, 2800, 32, 32));\n entities.add(new GrabbableHealthPotion(2187, 1686, 32, 32));\n entities.add(new GrabbableHealthPotion(3045, 459, 32, 32));\n\n // Bats on the road\n entities.add(new Bat(961, 2727, 32, 32, new BatAssets()));\n entities.add(new Bat(217, 2400, 32, 32, new BatAssets()));\n entities.add(new Bat(217, 2600, 32, 32, new BatAssets()));\n entities.add(new Bat(1633, 2781, 32, 32, new BatAssets()));\n entities.add(new Bat(1127, 201, 32, 32, new BatAssets()));\n entities.add(new Bat(2654, 2505, 32, 32, new BatAssets()));\n entities.add(new Bat(2375, 212, 32, 32, new BatAssets()));\n entities.add(new Spider(150, 300, 32, 32, new SpiderAssets()));\n entities.add(new Bat(145, 880, 32, 32, new BatAssets()));\n entities.add(new Bat(150, 980, 32, 32, new BatAssets()));\n entities.add(new Bat(155, 1050, 32, 32, new BatAssets()));\n entities.add(new Bat(150, 1100, 32, 32, new BatAssets()));\n Bat batVertical1 = new Bat(600, 500, 32, 32, new BatAssets());\n batVertical1.setMovementPolicy(new VerticalPolicy(batVertical1, (int) batVertical1.getY() - 500, (int) batVertical1.getY() + 500));\n entities.add(batVertical1);\n\n // Coordinates for the portal position\n portalX = 500; // For the demo\n portalY = 200; // For the demo\n portal = new Portal(portalX, portalY, 64, 64);\n entities.add(portal);\n\n portal.addGameEventListener(this);\n\n starCollection.addObserver((Observer) this);\n }", "title": "" }, { "docid": "a181d93a1f60de87e00177940baed7a4", "score": "0.563918", "text": "public void level2(){\n\t\tedead = true;\r\n\t\tedead2 = true;\r\n\t\tedead3 = true;\r\n\t\tedead4 = true;\r\n\t\t\r\n\t\tehealth = 10;\r\n\t\tehealth2 = 10;\r\n\t\tehealth3 = 10;\r\n\t\tehealth4 = 10;\r\n\t\t\r\n\t\t\r\n\t\tlevel1 = true;\r\n\t\tlevel2 = false;\r\n\t\t\r\n\t\t//draw the tile map get the tile images\r\n\t\tTileMapV5 = new TileMapV5(\"src/com/game/Map2.txt\", 32);\r\n\t\tTileMapV5.loadTiles(\"src/res/tileset.gif\");\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t//creating a new enemy \r\n\t\tenemy = new EnemyV1(TileMapV5);\r\n\t\tenemy2 = new EnemyV1(TileMapV5);\r\n\t\tenemy3 = new EnemyV1(TileMapV5);\r\n\t\tenemy4 = new EnemyV1(TileMapV5);\r\n\t\t\r\n\t\t//setting the enemies position\r\n\t\tenemy.setPosition(300, 300);\r\n\t\tenemy2.setPosition(350, 300);\r\n\t\tenemy3.setPosition(400, 400);\r\n\t\tenemy4.setPosition(300, 400);\r\n\t\t\r\n\t\t\r\n\t\t//creating new crates\r\n\t\tcrate = new BoxV1(TileMapV5);\r\n\t\tcrate2 = new BoxV1(TileMapV5);\r\n\t\tcrate3 = new BoxV1(TileMapV5);\r\n\t\tcrate4 = new BoxV1(TileMapV5);\r\n\t\t\r\n\t\t//setting the crates position\r\n\t\tcrate.setPosition(404, 551);\r\n\t\tcrate2.setPosition(439, 551);\r\n\t\tcrate3.setPosition(470, 551);\r\n\t\tcrate4.setPosition(500, 551);\r\n\t\t\r\n\r\n\t\t//creating a player and the players position\r\n\t\tplayer = new PlayerV5(TileMapV5);\r\n\t\tplayer.setPosition(150,300);\r\n\t\t\r\n\t\t\r\n\t\tcomp2 = true;\r\n\t\t\r\n\t\t//resetting all the boxes\r\n\t\tb1in=false;\r\n\t\tb2in=false;\r\n\t\tb3in=false;\r\n\t\tb4in=false;\r\n\t\tin = false;\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "33f8103f75768a91e37cd98403c71edd", "score": "0.5638691", "text": "public void hard5() {\n\t\tswitch(enemyToSpawn) {\r\n\t\t\tcase 0:\r\n\t\t\t\tsize = 3;\r\n\t\t\t\tdelay = 100;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\tnew SwarmCaller(game, 300);\r\n\t\t\t\tnew SprayBall(game, 330, 500);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tnew SprayBall(game, 580, 400);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tnew SwarmCaller(game, 800);\r\n\t\t\t\tnew SprayBall(game, 830, 300);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ff5c997cc2e432830e9195d23f4b2a47", "score": "0.56304514", "text": "private void create_loading_texture() {\n\t\tfloat \n\t\tscroll_width = get_size_in_pixle(loading_scroll_max, false) ,\n\t\tscroll_height=get_size_in_pixle(1, false),\n\t\tscroll_x = (screen_width - scroll_width)/2 , \n\t\tscroll_y = get_size_in_pixle(10, true) ,\n\t\tlogo_width =get_size_in_pixle(loading_scroll_max, false),\n\t\tlogo_height = logo_width , \n\t\tlogo_x = (screen_width-logo_width)/2,\n\t\tlogo_y = (screen_height-logo_height)/2; \n\t\t\n\t\tasset.load(\"introatlas\", TextureAtlas.class);\n\t\tasset.finishLoading();\n\t\tloading_texture_atlas = asset.get(\"introatlas\",TextureAtlas.class);\n\t\tloading_bar = loading_texture_atlas.findRegion(\"loadingbar\");\n\t\t loading_actor = new GameActor(\n\t\t\t\t loading_bar,\n\t\t\t\t scroll_x ,\n\t\t\t\t scroll_y,\n\t\t\t\t Color.BLACK,\n\t\t\t\t scroll_width,\n\t\t\t\t scroll_height,true);\n\t\t loading_actor.enable_grade(false);\n\t\t loading_background_actor=new GameActor(\n\t\t\t\t loading_bar,\n\t\t\t\t scroll_x ,\n\t\t\t\t scroll_y,\n\t\t\t\t Color.BLACK,\n\t\t\t\t scroll_width,\n\t\t\t\t scroll_height,true);\n\t\tloading_background_actor.update_alpha(.3f);\n\t\tloading_background_actor.enable_grade(false);\n\t\tlogo_texture = loading_texture_atlas.findRegion(\"logo\");\n\t\tlogo_actor = new GameActor\n\t\t\t\t(logo_texture,\n\t\t\t\t\t\tlogo_x,\n\t\t\t\t\t\tlogo_y,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tlogo_width,\n\t\t\t\t\t\tlogo_height);\n\t\t\tlogo_actor.update_alpha(1); \n\t\t\tlogo_actor.enable_grade(false);\n\t\t\t}", "title": "" }, { "docid": "aa3cbff9031e17cee4e4eb48e5e4ff26", "score": "0.56294435", "text": "public void setHouse2_background_SingleSprites() {\n //floor\n house2_background_floor.add(world.getGround_sprite().getWood_light_2());\n Sprite house_floor = new Groupsprite_random(house2_background_floor);\n house_floor.setSize(300, 200);\n house_floor.setPosition(0, 0);\n house2_background_sprites.add(house_floor);\n\n //sacks\n Sprite sacks = world.getMisc_sprites().getSacks_1();\n sacks.setPosition(250, 125);\n house2_background_sprites.add(sacks);\n\n //walls\n house2_background_walls.add(world.getStructure_sprites().getStone_wall_NW());\n house2_background_walls.add(world.getStructure_sprites().getStone_wall_N());\n house2_background_walls.add(world.getStructure_sprites().getStone_wall_NE());\n house2_background_walls.add(world.getStructure_sprites().getStone_wall_E());\n house2_background_walls.add(world.getStructure_sprites().getStone_wall_SE());\n house2_background_walls.add(world.getStructure_sprites().getStone_wall_S());\n house2_background_walls.add(world.getStructure_sprites().getStone_wall_SW());\n house2_background_walls.add(world.getStructure_sprites().getStone_wall_W());\n Sprite house_walls_circle = new Groupsprite_circle(house2_background_walls);\n house_walls_circle.setPosition(0, 0);\n house_walls_circle.setSize(350, 250);\n house2_background_sprites.add(house_walls_circle);\n\n //exit\n Sprite exit = world.getMisc_sprites().getDoor_wood();\n exit.setPosition(175, 20);\n house2_background_sprites.add(exit);\n\n //kids\n //bed\n Sprite bed = world.getMisc_sprites().getInterior_doublebed();\n bed.setPosition(30, 50);\n house2_background_sprites.add(bed);\n\n //table\n Sprite table = world.getMisc_sprites().getInterior_table();\n table.setPosition(175, 125);\n house2_background_sprites.add(table);\n\n //candle on table\n //wardrobe\n Sprite wardrobe = world.getMisc_sprites().getInterior_cupboard_facingdown_large();\n wardrobe.setPosition(258, 30);\n house2_background_sprites.add(wardrobe);\n\n Sprite stranger = world.getMisc_sprites().getNPC_stranger();\n stranger.setPosition(100, 40);\n stranger_sprite = stranger;\n\n }", "title": "" }, { "docid": "345d730f481023c32d29f2dbfcfa2109", "score": "0.5627149", "text": "public void loadResources(Context context) {\n SoundPlayer.getInstance().loadResources(context);\n bg = getBitmap(R.drawable.bg_t, context);\n tile = getBitmap(R.drawable.br_t, context);\n int[] colors = ScoreKeeper.COLORS;\n Bitmap[] sprites = new Bitmap[colors.length / 3 + 1];\n sprites[0] = null;\n int offset = 0;\n for (int i = 1; i < (colors.length / 3) + 1; ++i) {\n sprites[i] = tile.copy(Bitmap.Config.ARGB_8888, true);\n Canvas canvas = new Canvas(sprites[i]);\n offset = (i - 1) * 3;\n canvas.drawARGB(63, colors[offset + 0], colors[offset + 1], colors[offset + 2]);\n }\n blocksgameEngine = new BlocksgameEngine(10, 20, sprites);\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "77e17c35c459d71b33ed61bcafe38561", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tint age;\r\n\t\tString name;\r\n\t\tScanner input = new Scanner (System.in);\r\n\t\t\r\n\t\tSystem.out.println(\"This program will check if you are legal to drink alcohol\");\r\n\t\tSystem.out.println(\"Enter your name: \");\r\n\t\t\r\n\t\tname = input.next();\r\n\t\t\r\n\t\tSystem.out.printf(\"Ok %s, Enter your age: \", name);\r\n\t\tage = input.nextInt();\r\n\t\t\r\n\t\tif (age >= 21) {\r\n\t\t\tSystem.out.println(\"You can drink alcohol\");\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"You can't drink alcohol\");\r\n\t\t\r\n\t\t}\r\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "title": "" }, { "docid": "657d87f4ac2918ce5fce84e83ea3855b", "score": "0.64378333", "text": "@Override\n\tpublic void arreglar() {\n\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.6425563", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "16c30d73c1df796c0e31e93eb0f6e02e", "score": "0.64044255", "text": "@Override\r\n\tpublic void atacar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "c598a2e3f3aed7447c40167abd0815be", "score": "0.6325532", "text": "@Override\r\n\tpublic void kanalizasyon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e70d900d759249a14a9d2833c9f92656", "score": "0.62733805", "text": "@Override\r\n\tpublic void elektrik() {\n\t\t\r\n\t}", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.62550694", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "92ca60c14b9e9bf9cfed6703c4ddea43", "score": "0.625003", "text": "@Override\r\n\tpublic void accionar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c9c1a5abdecc0f2e99d3c022b1b7d4ac", "score": "0.6246549", "text": "@Override\n\t\t\tpublic void 볶음밥() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "ea9e446f91664fee1580be3d45fc2e8a", "score": "0.6206874", "text": "@Override\r\n\tpublic void reagir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3a3df32f04eb1c3118fc8ceb69db395d", "score": "0.62005454", "text": "@Override\n\tpublic void curar() {\n\t\t\n\t}", "title": "" }, { "docid": "16170a7948edf0bb8a90dfe0ac4fec33", "score": "0.6192674", "text": "@Override\n\t\t\tpublic void 짜장면() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "f0705d77863f0fa7c516a99a8eca8134", "score": "0.6190625", "text": "private void zbudujSciezkeiRozpocznij() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c8d8ef34882e71054f4c2f0e26e18e7e", "score": "0.61372304", "text": "public void caress() {\n\t\t\n\t}", "title": "" }, { "docid": "88651b7597cbac4485dfc6a19382971e", "score": "0.6063545", "text": "@Override\r\n\tpublic void avisoultimotiro() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.60561824", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ddd6019fcc7107b506799138fa0a4641", "score": "0.60505116", "text": "@Override\r\n\tprotected void initdata() {\n\r\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "4c9e25ea6f293e2f67da562cd4a0b657", "score": "0.60203654", "text": "public final void mo8553EA() {\n }", "title": "" }, { "docid": "482d92acda26fc41523278bb982ed7e9", "score": "0.59988713", "text": "@Override\n\tpublic void platesteContactless() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.59879225", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "ad25be891046838900b37d5cdf75010b", "score": "0.5975695", "text": "@Override\r\n\tpublic void arabaGecer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fafd92e57932ba5c77e0be9480563172", "score": "0.5953944", "text": "@Override\r\n\tvoid init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "95aa3a2220bec980fc9016a4426ee2b7", "score": "0.5948094", "text": "@Override\n\tpublic void comenzar() {\n\t\t\n\t}", "title": "" }, { "docid": "b2775812be4cd009dca27a30c5ce78fa", "score": "0.5938956", "text": "@Override\n\tprotected void fouseChange() {\n\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "82fcae7843e9cd9087f67fad345568b9", "score": "0.59232146", "text": "@Override\n\tpublic void init() { \n\t\t\n\t}", "title": "" }, { "docid": "7c6fed8e399de380b119d83c6b7dec38", "score": "0.5885899", "text": "private MoreEmperor(){\n\n\t}", "title": "" }, { "docid": "9ce75e891f4a6132d9837c33a86f11f3", "score": "0.5884196", "text": "@Override\n\tpublic void getchieurong() {\n\t\t\n\t}", "title": "" }, { "docid": "b049a074b12aea6414b0c3354573a89c", "score": "0.5875572", "text": "@Override\n\t\t\t\tpublic void initialize() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.58509105", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "c77e40bbb43cc49645ce63e31ba6b676", "score": "0.58233273", "text": "@Override\r\n\tpublic void update() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "b4ecae6e31b41ead72d093495b46455a", "score": "0.5810715", "text": "public void mo1410b() {\n }", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.5805753", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "c3d1e72656333e09790dac9abf69fb23", "score": "0.5804777", "text": "@Override\r\n\t\tpublic void acoes() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "c3d1e72656333e09790dac9abf69fb23", "score": "0.5804777", "text": "@Override\r\n\t\tpublic void acoes() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.580369", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9a00431eee28b38391cb5dfa243729d9", "score": "0.57904106", "text": "public void mo4643a() {\n }", "title": "" }, { "docid": "bc3a08c64e443ee86473be048cb9738a", "score": "0.578575", "text": "private void smth() {\n\n\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "afb8d306e46856b05d9138a9c18c646b", "score": "0.57730746", "text": "@Override\r\n\t\tpublic void limpaTela() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "9720bcf5a7868f579b25b5e78dc03e6e", "score": "0.5765882", "text": "@Override\n\tpublic void teclear() {\n\n\t}", "title": "" }, { "docid": "d95a081a1e6e3117f8617a3fbbbe16fd", "score": "0.57630926", "text": "public void mo3871b() {\n }", "title": "" }, { "docid": "ec8745d1f613de3522e52b19973434de", "score": "0.5755148", "text": "@Override\n protected void initialize()\n {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7c095c57d10901c0fda3f8584611b8a8", "score": "0.57481265", "text": "@Override\n protected void init () {\n }", "title": "" }, { "docid": "c081f6b796851b26f184bf0f5bbf469c", "score": "0.5747874", "text": "@Override\n\tpublic void dientich() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94635a88abd93d3624c032aa22ccc337", "score": "0.5731761", "text": "@Override\n\t\t\tpublic void refresh() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "871d03786cbf53026a17aa613aded752", "score": "0.57235676", "text": "@Override\t//初始化方法\r\n\tpublic void init() {\n\t\tsuper.init();\r\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "ba87d3460fb6faa58e5ff893f84e4a7a", "score": "0.5685994", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "9d551589ec00d7b16a77df7a4d54caae", "score": "0.5683637", "text": "@Override\n public void init()\n {\n\n }", "title": "" }, { "docid": "264b73ede67394b8d57db8f3623673db", "score": "0.56786793", "text": "@Override\r\n\tpublic void afterConstruct() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cffc9e76f5aeaa8126396b11e98f261b", "score": "0.5670429", "text": "@Override\n public int describeContents() {\n return 0;\n }", "title": "" }, { "docid": "6c7f3bb62b62ab0efc25de23710ee029", "score": "0.5669814", "text": "@Override\n\tpublic void concentrarse() {\n\t\t\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "b53508b8f07bf95b923a1e913f88fcab", "score": "0.5668746", "text": "@Override\r\n\tpublic void estadoCreaditicio() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1b6ae1f9acb8e538994b7d00bae50317", "score": "0.5664213", "text": "@Override\n\tprotected void skirmish() {\n\n\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.56631064", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "31d4487a868a7dc81dfde93aa95013c4", "score": "0.56630474", "text": "@Override\n\tprotected void initialize() {\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "ec2afced68195dab79cf8503e6907338", "score": "0.5643847", "text": "protected void mo1628b() {\n }", "title": "" }, { "docid": "d5b7380f66253fe7bcac3715637c4dd4", "score": "0.56360185", "text": "@Override\n\tpublic void getInformation() {\n\t\t\n\t}", "title": "" }, { "docid": "d5b7380f66253fe7bcac3715637c4dd4", "score": "0.56360185", "text": "@Override\n\tpublic void getInformation() {\n\t\t\n\t}", "title": "" }, { "docid": "c9e7a86bd469245549d853b1a2c183a3", "score": "0.562041", "text": "@Override\r\n\tpublic void identify() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b2a793cd2e6ec37a2fdb27c90d87a493", "score": "0.5619648", "text": "@Override\r\n\tprotected void initialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "915cd499c707ca694353925d740e0725", "score": "0.5615348", "text": "private void comprimiendo() \n\t{\n\t}", "title": "" }, { "docid": "7da9ad3ab650b64b3e75012a99c0e238", "score": "0.5614612", "text": "public void mo3866a() {\n }", "title": "" }, { "docid": "f347b26e2be487b128dc1646456e0be7", "score": "0.56142163", "text": "@Override\n\t\t\t\tpublic void initialize() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f347b26e2be487b128dc1646456e0be7", "score": "0.56142163", "text": "@Override\n\t\t\t\tpublic void initialize() {\n\n\t\t\t\t}", "title": "" }, { "docid": "504c9d8dc3680e99d5f3450593b02c8d", "score": "0.561124", "text": "@Override\n\t\t\t\tpublic void update() {\n\n\t\t\t\t}", "title": "" }, { "docid": "504c9d8dc3680e99d5f3450593b02c8d", "score": "0.561124", "text": "@Override\n\t\t\t\tpublic void update() {\n\n\t\t\t\t}", "title": "" }, { "docid": "bd5cf567659030cded015505487de3b2", "score": "0.5607615", "text": "@Override\r\n\tpublic void inter11() {\n\t\t\r\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c9a03edd57c8df593beb386d5a31c12d", "score": "0.0", "text": "@Override\r\n\tpublic void onItemSelected(AdapterView<?> arg0, View arg1, int position,\r\n\t\t\tlong arg3) {\n\r\n\t\tString[] loc = { \"\" + position };\r\n\t\tPreferences.getInstance(MainActivity.this)\r\n\t\t\t\t.updateMainActivityPreferences(loc);\r\n\r\n\t\tTextView beknopteinfo = (TextView) findViewById(R.id.text);\r\n\r\n\t\ttry {\r\n\t\t\tbeknopteinfo.setText(infoList.get(position).getString(\r\n\t\t\t\t\t\"informatiebeknopt\"));\r\n\t\t\tserviceNaam = list.get(position);\r\n\r\n\t\t} catch (Exception e) {\r\n\r\n\t\t}\r\n\r\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "479340d7603590876396cc58262a3776", "score": "0.6593355", "text": "@Override\r\n\tpublic int attaquer() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "ff9130d3531037a891a2580fd00e89e9", "score": "0.649512", "text": "@Override\r\n\tpublic void refuel() {\n\r\n\t}", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.64787245", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "440ce72c689aef1dd3c429cf5498732b", "score": "0.6443756", "text": "@Override\n\tpublic void pohyb() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "592b765f0188dd7fa8d3f1f3683fa9d7", "score": "0.62889814", "text": "@Override\n\tprotected void generateData() {\n\t\t\n\t}", "title": "" }, { "docid": "4bc8e88e84699c223ea476caacb4d454", "score": "0.6277223", "text": "@Override\r\n\tpublic void sauter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "db6adf52deb87c2723f80c6df873c47d", "score": "0.6273419", "text": "public void mo4741aD() {\n }", "title": "" }, { "docid": "80d10ea62cee927f9ad0a7965909eaba", "score": "0.6230557", "text": "@Override\n\tprotected void remplit() {\n\t\t\n\t}", "title": "" }, { "docid": "95ffa256b098e9b494cb96d4874e063f", "score": "0.6218078", "text": "@Override\n\tvoid refuel() {\n\n\t}", "title": "" }, { "docid": "03d7171196199db238d56b8aeab47987", "score": "0.61277896", "text": "private void welcom() {\n\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.61053663", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "ce165aec4a92510d2d7f78a45c6a1f81", "score": "0.60921794", "text": "@Override\r\n\tpublic void retirer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "23f3a7415a3f7463e8a1124d06cf4cf2", "score": "0.609125", "text": "@Override\n\tpublic void valide() {\n\t\t\n\t}", "title": "" }, { "docid": "e2c0ee2f563aa58a1d1fbb6ed1a49084", "score": "0.60562134", "text": "public void namam() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e2c0ee2f563aa58a1d1fbb6ed1a49084", "score": "0.60562134", "text": "public void namam() {\n\t\t\r\n\t}", "title": "" }, { "docid": "453637afdcc490de35afa10f347a4092", "score": "0.6052283", "text": "protected void mo4927v() {\n }", "title": "" }, { "docid": "081ae6b4d91b610b8046f5ebfe7ba326", "score": "0.60330045", "text": "@Override\r\n\tpublic void fertilizar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c9e25ea6f293e2f67da562cd4a0b657", "score": "0.60203654", "text": "public final void mo8553EA() {\n }", "title": "" }, { "docid": "5fda61f75e47491fe0badbfe139070a9", "score": "0.6020252", "text": "@Override\n\tprotected void initdata() {\n\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.60185045", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "4c957ed6879296e2489fa4cc534c9d68", "score": "0.60134614", "text": "@Override\r\n\tpublic void geefMeerprijs() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5987973", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "e1a5212784625cf033b8b0d71916d9a8", "score": "0.59843665", "text": "@Override\r\n\tpublic void se_baisser() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ab92fd509dcf9edd6498a0302e1555e9", "score": "0.598327", "text": "@Override\n\tpublic void withdrawl() {\n\t\t\n\t}", "title": "" }, { "docid": "8a997a9a187c71891dd8b44afdbaa2a2", "score": "0.59794915", "text": "private void noOtomatis(){\n\n \n \n \n\n }", "title": "" }, { "docid": "0056b38abf02cf94e7a1afab1755d909", "score": "0.59666646", "text": "@Override\r\n\tpublic void defendre() {\n\t\t\r\n\t}", "title": "" }, { "docid": "05b92fe6834e71a629bc6b218827d95f", "score": "0.596291", "text": "Intervencion() {\n\t}", "title": "" }, { "docid": "acc39f55f5b37ab7050a241c64f9a4f9", "score": "0.59580564", "text": "@Override\n\tpublic void actualize() {\n\t\t\n\t}", "title": "" }, { "docid": "9a1a66628f4518af9fa213c400d9592e", "score": "0.5951102", "text": "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935938", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "b4f806add60ad7a84ab034d616e626e7", "score": "0.59232795", "text": "@Override\n public void Ramasser() {\n }", "title": "" }, { "docid": "fb8e5a5b14d5c382d38f4afcb6d4f55d", "score": "0.59119946", "text": "@Override\r\n\tpublic void reculer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.5897873", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "835a3677095e4c9f21649ab17f1ba40b", "score": "0.58930063", "text": "private static void diwalioffer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "47bef3d0c0ee761e936de1dada2442ec", "score": "0.5845612", "text": "private void Partida() {\r\n\t}", "title": "" }, { "docid": "c34617230b51592fc8652a6c8fc39d7b", "score": "0.5841976", "text": "@Override\n\t\t public int describeContents() { \n\t\t return 0;\n\t\t }", "title": "" }, { "docid": "39c15addb7f9cae9284ae4af01c5a911", "score": "0.58368444", "text": "@Override\r\n\tpublic void cortar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "74acf90efa52ac7bee2d28c6dee180bf", "score": "0.5808944", "text": "public void mo25302P() {\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.5805753", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "4958a5331fdb65d09e333f006441f701", "score": "0.57990485", "text": "@Override\n public int size() {\n // TODO Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "2a790ebdc342a2b85b21b58d99e8bb02", "score": "0.57934815", "text": "@Override\n\tpublic void landen()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b17089ec7f3b873adc1ebff906be9241", "score": "0.5790544", "text": "@Override\r\n\tpublic void carregar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "925ab02db0448f51f913efd603e7b5b4", "score": "0.57877386", "text": "@Override\n\tpublic void breathe() {\n\n\t\t\n\t}", "title": "" }, { "docid": "3f682cd35cc51a176e84d31bb70401ec", "score": "0.5786728", "text": "@Override\n\t\t\tpublic int Order() {\n\t\t\t\treturn 1;\n\t\t\t}", "title": "" }, { "docid": "3f682cd35cc51a176e84d31bb70401ec", "score": "0.5786728", "text": "@Override\n\t\t\tpublic int Order() {\n\t\t\t\treturn 1;\n\t\t\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "b0f36892991e52a8359bd9bea7916606", "score": "0.5773981", "text": "@Override\r\n\tpublic void Value() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b0f36892991e52a8359bd9bea7916606", "score": "0.5773981", "text": "@Override\r\n\tpublic void Value() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e7dbef6468de164eadd6d220b4ed2936", "score": "0.57625693", "text": "@Override\n\tpublic void vegetais() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "627bf6ef88b45b88b902a23fc9a6eb2b", "score": "0.5754491", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "1985dddb6264adc2fb069a687b25f36b", "score": "0.57541007", "text": "@Override\n\tpublic void groom() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dfa3deb699f1baaf610b77ae9370559a", "score": "0.57471", "text": "@Override\n\tpublic void gravar() {\n\n\t}", "title": "" }, { "docid": "bf96ef68c4dc727efe52fcae4e20a6c6", "score": "0.5736261", "text": "@Override\r\n public int getType() {\n return 1;\r\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "a7ae27b45bb1a02a96ba4232264be825", "score": "0.57315516", "text": "@Override\n\tpublic void embarcar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b16d59a149827c698e510477f7a4e9d", "score": "0.57292205", "text": "public void mo9585b() {\n }", "title": "" }, { "docid": "0ce436410fb4ad1af4e012ab5253a43a", "score": "0.57232136", "text": "@Override\n\tpublic void maas() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "10daa0b69fc83ea1f81c27147cd56557", "score": "0.5712038", "text": "@Override\n\tpublic void Ordenar() {\n\t\t\n\t}", "title": "" }, { "docid": "78a0d7cad7b423dba2c6000b1302b9a0", "score": "0.5705727", "text": "@Override\n\tprotected void ganharExp() {\n\t\t\n\t}", "title": "" }, { "docid": "162a468b891a508701c52265588e91b6", "score": "0.5699155", "text": "@Override\r\n public void init() {\n\r\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "6fba68e503150b58bb627390fe723ce3", "score": "0.56942755", "text": "@Override\r\n\tpublic void servir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9e8299e02e2afca4b347ab5022949b84", "score": "0.56936175", "text": "@Override\n public void rest() {\n \n }", "title": "" }, { "docid": "ddd8d8a26991b887b8f19171d700e1d3", "score": "0.56922704", "text": "@Override\n\tpublic void proveerdatos() {\n\t\t\n\t}", "title": "" }, { "docid": "e21063ae833db842230f1d37006a0359", "score": "0.56854326", "text": "@Override public int getAtaque(){\n\n return 0;\n\n }", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.56631064", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "2aed4e4b25907c376dc30c486b4f975f", "score": "0.5657416", "text": "public final void mo73469b() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7e56631c595a48527e8d0bed4f073cf9", "score": "0.0", "text": "public void handleAcceptedResponse(String result) {\n\t\t\tdialog.dismiss();\n\t\t\taddFriend.setVisibility(View.GONE);\n\t\t\tFriends this_guy= new Friends(user.name, user.username, user.user_id);\n\t\t\tfriends.add(this_guy);\n\t\t\n\t\t\t\n\t\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.6646134", "text": "public void mo3640e() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "5314003d8592219f71035b81985fabc0", "score": "0.64631", "text": "@Override\n\tpublic void roule() {\n\t\t\n\t}", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.6461734", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f9de8c9acb961a9d05ed00de5fe361e7", "score": "0.60638905", "text": "@Override\n\tpublic void seRetrage() {\n\t\t\n\t}", "title": "" }, { "docid": "483ae2cb94563f8e11864a532e44b464", "score": "0.606149", "text": "@Override\r\n public void perturb() {\n \r\n }", "title": "" }, { "docid": "e41230eaa4480036f1db3ae4856b5e2c", "score": "0.6048755", "text": "@Override\n\tpublic void evoluer() {\n\t\t\n\t}", "title": "" }, { "docid": "1fd4f5b0b471084e004373c89c1cf248", "score": "0.6040993", "text": "@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "432a53d7cc7bff50c3cce7662418fe22", "score": "0.60228735", "text": "private static void daelijeom() {\n\t\t\n\t}", "title": "" }, { "docid": "feb1a9485d06df38283881186fb528a9", "score": "0.6014977", "text": "@Override\n \tprotected void initialize() {\n \n \t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.6005143", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "609ec2ff060d9d4cb0276468f482734d", "score": "0.59771466", "text": "public void mo89673a() {\n }", "title": "" }, { "docid": "f3ea867fdaa4b61546bfc393614a093c", "score": "0.59687567", "text": "@Override\n\tpublic void setingInicial() {\n\t\t\n\t}", "title": "" }, { "docid": "3211287bc24304a8ca2975647e8a262e", "score": "0.59549016", "text": "public void mo1702b() {\n }", "title": "" }, { "docid": "e98e1f8ddb7a94a5d95c29c94232f737", "score": "0.5943817", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2d61391fe8770661f25917f3770f2a26", "score": "0.5926535", "text": "@Override\n\t\tpublic void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.5925673", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "6a8c6480f9fa5ab89d0437d00ffffccc", "score": "0.591947", "text": "@Override\n public void tirer() {\n\n }", "title": "" }, { "docid": "8f8a1c1dfa100614be8cac1247e068d5", "score": "0.59192646", "text": "@Override\r\n\t\t\tpublic void work() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "619a28ba3c7707bdf8bb1451d5c3d12b", "score": "0.5910928", "text": "public void mo25069a() {\n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "3e6e2e657db69bfc88c40c8467801266", "score": "0.5899844", "text": "@Override\r\n\tpublic void ben() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1134c4caabd33b9bbd414763740fddde", "score": "0.5896682", "text": "@Override\n\tpublic void respirar() {\n\n\t}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "1dc1426b3b1c079ac18377166a6b34d3", "score": "0.5893354", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "f737e2251cf43d326f43b44297696e55", "score": "0.58891016", "text": "@Override\n\tpublic void patrol() {\n\n\t}", "title": "" }, { "docid": "de8c2aa495b8cdade7e8895e58745ea2", "score": "0.5887025", "text": "public void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "13e4409784fd6f872b474e6effe9726e", "score": "0.5879506", "text": "@Override\n protected void initialization() {\n\n\n\n }", "title": "" }, { "docid": "bafce2e94d56e61baeadcb37047f6035", "score": "0.5858384", "text": "@Override\n\tprotected void postprocess() {\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "cdf2a119ee69429ad4420d45c29db1b6", "score": "0.5849137", "text": "@Override\n\tpublic void netword() {\n\t\t\n\t}", "title": "" }, { "docid": "2bcac1bab4eaa6c9cc4cb7e33c684cef", "score": "0.5848443", "text": "public void mo1691a() {\n }", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "6ed3e363c02164bd00163fa46e2c48c2", "score": "0.58366287", "text": "@Override\n public void init_moduule() {\n \n }", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "b04ed49986fb3f4321a90ec19ab7f86d", "score": "0.57759553", "text": "@Override\n public void alistar() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "10e00e5505d97435b723aeadb7afb929", "score": "0.57712233", "text": "@Override\n\tpublic void pintar2() {\n\t\t\n\t}", "title": "" }, { "docid": "683eea6c39ec4e6df90f6be05200559d", "score": "0.5769485", "text": "@Override\r\n public void confer(){\n \r\n }", "title": "" }, { "docid": "728d084a23664ecf9b5c04acb6367b9c", "score": "0.5769356", "text": "@Override\r\n\tpublic void descarnsar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "359987993ad84757f9d7a12eaf38d2d7", "score": "0.5769273", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "0e6111ae009ad752a364e5e9fb168e98", "score": "0.5768801", "text": "@Override\n\tpublic void volumne() {\n\t\t\n\t}", "title": "" }, { "docid": "3f651ef5a6fad17e313e8da4ea72b6e3", "score": "0.57645357", "text": "@Override\n\tpublic void CT() {\n\t\t\n\t}", "title": "" }, { "docid": "615018f0186427ab904e872db6726b2d", "score": "0.5759138", "text": "@Override\n public void init()\n {\n \n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e634836bc1d61a011e04bfb67a971792", "score": "0.5745885", "text": "@Override\r\n\tpublic void sair() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a7cff18dc205a0d79dbe54bb988e6894", "score": "0.57428306", "text": "public void emettreSon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "ac5a7a92eda66d2b7ef40199230fa4af", "score": "0.5731894", "text": "@Override\n\tpublic void arbeiteInPizzeria() {\n\n\t}", "title": "" }, { "docid": "d1c2c284b75d7d46145b6f407496cd96", "score": "0.5725441", "text": "@Override\n\t\tprotected void initParameters() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "65022f0bb57de78da8518cd156b102e6", "score": "0.57112384", "text": "private void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "216da885329e8d80cdc3490fda895c11", "score": "0.57087225", "text": "@Override\n\tpublic void yaz1() {\n\t\t\n\t}", "title": "" }, { "docid": "3c6f91c038ca7ffdab72b5c233b827c5", "score": "0.5705329", "text": "@Override\n\tprotected void initMethod() {\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f3e16954465fbae384d88f411211419", "score": "0.56972444", "text": "@Override\r\n public int E_generar() {\r\n return 0;\r\n }", "title": "" }, { "docid": "365a661b2084f764f5e458915ff735ac", "score": "0.56864643", "text": "@Override\n public int getMunition() {\n return 0;\n }", "title": "" }, { "docid": "40539b782464082aab77fae6b047eade", "score": "0.5681723", "text": "@Override\n\tprotected int get_count() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.56774884", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5f628d368579dd40ef68362831006940", "score": "0.56769013", "text": "@Override\n\tpublic void fahreFahrzeug() {\n\n\t}", "title": "" }, { "docid": "5ae17f2516c21590c850e6758048effe", "score": "0.56625473", "text": "@Override\n public int getID()\n {\n return 0;\n }", "title": "" }, { "docid": "b8cd427648ea50c94f93c47d407d10a0", "score": "0.5660459", "text": "public void mo3639d() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
8ea53066687b07ee37d7aa9e875620ce
Returns the list of states in US
[ { "docid": "4533da625f7ea9528659a2dc3196c9ee", "score": "0.7717464", "text": "public List<String> getStateList() {\n\t\tList<String> state = new ArrayList<String>();\n\t\tstate.add(\"---\");\n\t\tstate.add(\"Alabama\");\n\t\tstate.add(\"Alaska\");\n\t\tstate.add(\"Arizona\");\n\t\tstate.add(\"Arkansas\");\n\t\tstate.add(\"California\");\n\t\tstate.add(\"Colorado\");\n\t\tstate.add(\"Connecticut\");\n\t\tstate.add(\"Delaware\");\n\t\tstate.add(\"District Of Columbia\");\n\t\tstate.add(\"Florida\");\n\t\tstate.add(\"Georgia\");\n\t\tstate.add(\"Hawaii\");\n\t\tstate.add(\"Idaho\");\n\t\tstate.add(\"Illinois\");\n\t\tstate.add(\"Indiana\");\n\t\tstate.add(\"Iowa\");\n\t\tstate.add(\"Kansas\");\n\t\tstate.add(\"Kentucky\");\n\t\tstate.add(\"Louisiana\");\n\t\tstate.add(\"Maine\");\n\t\tstate.add(\"Maryland\");\n\t\tstate.add(\"Massachusetts\");\n\t\tstate.add(\"Michigan\");\n\t\tstate.add(\"Minnesota\");\n\t\tstate.add(\"Mississippi\");\n\t\tstate.add(\"Missouri\");\n\t\tstate.add(\"Montana\");\n\t\tstate.add(\"Nebraska\");\n\t\tstate.add(\"Nevada\");\n\t\tstate.add(\"New Hampshire\");\n\t\tstate.add(\"New Jersey\");\n\t\tstate.add(\"New Mexico\");\n\t\tstate.add(\"New York\");\n\t\tstate.add(\"North Carolina\");\n\t\tstate.add(\"North Dakota\");\n\t\tstate.add(\"Ohio\");\n\t\tstate.add(\"Oklahoma\");\n\t\tstate.add(\"Oregon\");\n\t\tstate.add(\"Pennsylvania\");\n\t\tstate.add(\"Rhode Island\");\n\t\tstate.add(\"South Carolina\");\n\t\tstate.add(\"South Dakota\");\n\t\tstate.add(\"Tennessee\");\n\t\tstate.add(\"Texas\");\n\t\tstate.add(\"Utah\");\n\t\tstate.add(\"Vermont\");\n\t\tstate.add(\"Virginia\");\n\t\tstate.add(\"Washington\");\n\t\tstate.add(\"West Virginia\");\n\t\tstate.add(\"Wisconsin\");\n\t\tstate.add(\"Wyoming\");\n\t\treturn state;\n\t}", "title": "" } ]
[ { "docid": "7598db43d4f478467dbe39a1635eaf9f", "score": "0.72043896", "text": "List<SearchState> getStates();", "title": "" }, { "docid": "eddc06a7ea0257f7514d0b3096257081", "score": "0.6947738", "text": "Collection<S> getStates();", "title": "" }, { "docid": "d3ce3b35b1147fa64706722e68095dde", "score": "0.6935322", "text": "public java.util.List<String> getStates() {\n return states;\n }", "title": "" }, { "docid": "45a31d84c9551d8734b354df64281d9d", "score": "0.6920009", "text": "public String[] listOfStates() {\n return Constants.STATES;\n }", "title": "" }, { "docid": "17306502fa0ea444daea2a22db894160", "score": "0.6886043", "text": "public String[] getStates() {\n try {\n Statement statement = conn.createStatement();\n ResultSet results = statement.executeQuery(\"SELECT * FROM state\");\n String[] states = new String[51];\n int currentState = 0;\n while (results.next()) {\n states[currentState] = results.getString(\"state_name\");\n currentState++;\n }\n results.close();\n return states;\n } catch (SQLException ex) {\n throw new IllegalStateException(\"SQL Exception: \" + ex.getSQLState());\n }\n }", "title": "" }, { "docid": "17d0456c4d340a2ae4aa1c9cb0346453", "score": "0.66750365", "text": "public List<State> getStateByName(String name);", "title": "" }, { "docid": "3bfbd4d89f826e3c8a05491e86c5048b", "score": "0.65847296", "text": "public Collection getStates() {\n if(loopNet != null) {\n /** for storing names and their prefixes */\n HashMap map = new HashMap();\n Enumeration places = loopNet.places();\n while(places.hasMoreElements()) {\n Place p = (Place)places.nextElement();\n Integer prefix = advUtils.getPrefixNum(p.toString());\n String name = p.toString();\n //String name = stripPrefix(p.toString());\n map.put(prefix, name);\n }\n //System.out.println(\"Size of states map: \" + String.valueOf(map.size()));\n return getOrderedCollection(map);\n }\n //System.out.println(\"ERROR: loopNet null in LoopNet\");\n return null;\n }", "title": "" }, { "docid": "c1ea305e7bd636d6607ce34daf4a4092", "score": "0.6557077", "text": "@JsonGetter(\"states\")\r\n public List<String> getStates() { \r\n return this.states;\r\n }", "title": "" }, { "docid": "edbcfbae6279f7c67668a6c0cf47d5b0", "score": "0.6498451", "text": "public abstract Collection<State> getStates();", "title": "" }, { "docid": "2f3c5b2a01391a55e31cf1254ab65bdf", "score": "0.64955527", "text": "@GET\n\t@Path(\"/showList/allState\")\n\tpublic String showAllState() {\n\t\taddState();\n\t\tString resultOfState = \"\";\n\t\tint i = 0;\n\t\twhile (i < listState.size()) {\n\t\t\tif (i == 0) {\n\t\t\t\tresultOfState = resultOfState + \" \\t{\\\"id\\\":\\\"\"\n\t\t\t\t\t\t+ listState.get(i).getId() + \"\\\",\\\"date\\\":\\\"\"\n\t\t\t\t\t\t+ listState.get(i).getDate() + \"\\\" ,\\\"time\\\":\\\"\"\n\t\t\t\t\t\t+ listState.get(i).getTime() + \"\\\"}\\n\";\n\t\t\t} else {\n\t\t\t\tresultOfState = resultOfState + \" \\t,{\\\"id\\\":\\\"\"\n\t\t\t\t\t\t+ listState.get(i).getId() + \"\\\",\\\"date\\\":\\\"\"\n\t\t\t\t\t\t+ listState.get(i).getDate() + \"\\\" ,\\\"time\\\":\\\"\"\n\t\t\t\t\t\t+ listState.get(i).getTime() + \"\\\"}\\n\";\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tresultOfState = \"[\" + resultOfState + \"]\";\n\t\treturn resultOfState;\n\t}", "title": "" }, { "docid": "b90b4ad663d0daaf158a9a77e6112443", "score": "0.64502984", "text": "public UsState[] findAll() throws UsStateDaoException {\r\n\t\treturn findByDynamicSelect(SQL_SELECT + \" ORDER BY ID\", null);\r\n\t}", "title": "" }, { "docid": "d59bc19a72e6a9db13a5fa83d1535b17", "score": "0.64164793", "text": "List<String> findCountryForState(Short tenantId);", "title": "" }, { "docid": "71bfada6a567fc8602bfb19531dc76ed", "score": "0.63700175", "text": "@Override\n public List<StateDetail> getAllStates() {\n log.info(\"Enter StateServiceImpl:getAllStates()\");\n List<StateDetail> stateDetails = stateDetailRepository.findAll();\n return stateDetails;\n }", "title": "" }, { "docid": "a133e07b127a49c4769943c6f8f60c05", "score": "0.6296212", "text": "private Vector fetchStatesForSelectedCountry(String selectedCounty){\r\n Vector statesForCountry = new Vector();\r\n if(hmStateCountryInfo != null){\r\n statesForCountry = (Vector) hmStateCountryInfo.get(selectedCounty);\r\n }\r\n return statesForCountry;\r\n }", "title": "" }, { "docid": "b76805b79038909413023f27b51578bf", "score": "0.62768716", "text": "@Override\n\tpublic List<State> getStates() {\n\t\tList<State> states = new ArrayList<State>();\n\t\tState etat = new State(\"etabli\", \"Brouillon\");\n\t\tstates.add(etat);\n\t\tetat = new State(\"valider\", \"Validée\");\n\t\tstates.add(etat);\n\t\treturn states;\n\t}", "title": "" }, { "docid": "2dff71365f4d59d2b8bd76be789982c5", "score": "0.62742513", "text": "protected Set<S> getStates() {\n return states.keySet();\n }", "title": "" }, { "docid": "e478a0451c421b4e33a2844d6fb3adf8", "score": "0.62645334", "text": "public List<State> getStates() {\n return states;\n }", "title": "" }, { "docid": "236bcfebc868481ffdf5523119a8f772", "score": "0.62416303", "text": "@Override\n\tpublic List<State> findAllState() {\n\t\treturn sd.findAllState();\n\t}", "title": "" }, { "docid": "1f513a91edf0234f9728f4ba58ddfaef", "score": "0.6194047", "text": "public List<State> getAvailableSuccessorStates(MapState mstate, State state);", "title": "" }, { "docid": "94ed7849d3aff59d55476467de0f35c5", "score": "0.61775553", "text": "@Override\n\tpublic List<State> getStates() {\n\t\tList<State> states = new ArrayList<State>();\n\t\tState state = new State(\"etabli\", \"Brouillon\");\n\t\tstates.add(state);\n\t\tstate = new State(\"confirme\", \"Validé\");\n\t\tstates.add(state);\n\t\tstate = new State(\"encours\", \"En cours\");\n\t\tstates.add(state);\n\t\tstate = new State(\"termine\", \"Terminé\");\n\t\tstates.add(state);\n\t\tstate = new State(\"annule\", \"Annuler\");\n\t\tstates.add(state);\n\t\treturn states;\n\t}", "title": "" }, { "docid": "6737f35706112ffc2211a10f7a1acad0", "score": "0.61759573", "text": "@GetMapping(value = \"states\")\n public ResponseEntity<AirportStatesAPIResponse> getStates(@RequestParam(value = \"country\", required = false) String country) {\n\n return airportCodesService.getStates(country);\n }", "title": "" }, { "docid": "7abb9111912d54090b3c9ee4cc235269", "score": "0.6142845", "text": "@Override\n\tpublic List<State> getStates() {\n\t\tList<State> states = new ArrayList<State>();\n\t\tstates.add(new State(\"etabli\", \"Brouillon\"));\n\t\tstates.add(new State(\"valide\", \"Validée\"));\n\t\tstates.add(new State(\"rejete\", \"Rejetée\"));\n\t\treturn states;\n\t}", "title": "" }, { "docid": "51bdf2b4d7ac3ee7a874efae378b2f92", "score": "0.61390287", "text": "public ArrayList<State> getStates(){\n\t\treturn states;\n\t}", "title": "" }, { "docid": "3d8cab042954dd03c0c3018d938da5b5", "score": "0.6118211", "text": "@GetMapping(\"/getState\")\n\tpublic List<StateMaster> getState() throws JsonProcessingException {\n\n\t\treturn locationServiceImpl.getState();\n\t}", "title": "" }, { "docid": "ecb2f1ed3b4cb0b1a87e7861ad6c38e2", "score": "0.60518456", "text": "public UsState[] findWhereStateEquals(String state) throws UsStateDaoException {\r\n\t\treturn findByDynamicSelect(SQL_SELECT + \" WHERE STATE = ? ORDER BY STATE\", new Object[] { state });\r\n\t}", "title": "" }, { "docid": "02f9fd248fabcf0b5ed7edf2d40f7052", "score": "0.60484684", "text": "@Override\n\tpublic List<Location> getLocationsByState(String state) {\n\t\tString query = \"SELECT location FROM Location location WHERE location.address.state LIKE :state \";\n\t\tList<Location> locationByCity = em.createQuery(query, Location.class).setParameter(\"state\", \"%\" + state + \"%\")\n\t\t\t\t.getResultList();\n\t\treturn locationByCity;\n\t}", "title": "" }, { "docid": "1d7ede645326d3b9eba8e14e63adf639", "score": "0.6026721", "text": "List<String> FindSearchForState(Short tenantId,String state);", "title": "" }, { "docid": "48cb6707cb01da7010331fe07e53c83b", "score": "0.5998204", "text": "@Override\r\n public List<State> findAllStatesByCountry(Integer id) {\n return stateRepository.findAllByCountryId(id);\r\n }", "title": "" }, { "docid": "53df94ce684ca6bbb754c7da349c13c2", "score": "0.5972707", "text": "public List<Country> listCountries();", "title": "" }, { "docid": "f63cb8a0d5a534713882b7551b221b19", "score": "0.59311867", "text": "public static Map<String, String> getStatesAndCapitals() {\n\n // Create a HashMap to store States and Capitals\n Map<String, String> map = new HashMap<>();\n\n // String array to store and tie the States and Capitals\n String[][] statesAndCapitalArray = {\n {\"Alabama\", \"Montgomery\"},\n {\"Alaska\", \"Juneau\"},\n {\"Arizona\", \"Phoenix\"},\n {\"Arkansas\", \"Little Rock\"},\n {\"California\", \"Sacramento\"},\n {\"Colorado\", \"Denver\"},\n {\"Connecticut\", \"Hartford\"},\n {\"Delaware\", \"Dover\"},\n {\"Florida\", \"Tallahassee\"},\n {\"Georgia\", \"Atlanta\"},\n {\"Hawaii\", \"Honolulu\"},\n {\"Idaho\", \"Boise\"},\n {\"Illinois\", \"Springfield\"},\n {\"Indiana\", \"Indianapolis\"},\n {\"Iowa Des\", \"Moines\"},\n {\"Kansas\", \"Topeka\"},\n {\"Kentucky\",\"Frankfort\"},\n {\"Louisiana\", \"Baton Rouge\"},\n {\"Maine\", \"Augusta\"},\n {\"Maryland\", \"Annapolis\"},\n {\"Massachusetts\", \"Boston\"},\n {\"Michigan\", \"Lansing\"},\n {\"Minnesota\", \"Saint Paul\"},\n {\"Mississippi\", \"Jackson\"},\n {\"Missouri\", \"Jefferson City\"},\n {\"Montana\", \"Helena\"},\n {\"Nebraska\", \"Lincoln\"},\n {\"Nevada\t\", \"Carson City\"},\n {\"New Hampshire\", \"Concord\"},\n {\"New Jersey\", \"Trenton\"},\n {\"New Mexico\", \"Santa Fe\"},\n {\"New York\", \"Albany\"},\n {\"North Carolina\", \"Raleigh\"},\n {\"North Dakota\", \"Bismarck\"},\n {\"Ohio\", \"Columbus\"},\n {\"Oklahoma\", \"Oklahoma City\"},\n {\"Oregon\", \"Salem\"},\n {\"Pennsylvania\", \"Harrisburg\"},\n {\"Rhode Island\", \"Providence\"},\n {\"South Carolina\", \"Columbia\"},\n {\"South Dakota\", \"Pierre\"},\n {\"Tennessee\", \"Nashville\"},\n {\"Texas\", \"Austin\"},\n {\"Utah\", \"Salt Lake City\"},\n {\"Vermont\", \"Montpelier\"},\n {\"Virginia\", \"Richmond\"},\n {\"Washington\", \"Olympia\"},\n {\"West Virginia\", \"Charleston\"},\n {\"Wisconsin\", \"Madison\"},\n {\"Wyoming\", \"Cheyenne\"}};\n\n // Loop through the array to store States and Capitals in the map\n for (int i = 0; i < statesAndCapitalArray.length; i++) {\n map.put(statesAndCapitalArray[i][0], statesAndCapitalArray[i][1]);\n }\n\n return map;\n }", "title": "" }, { "docid": "bfe59224e335783d31f88bccd60beb65", "score": "0.59086365", "text": "public String getStateForVisitedStates() {\n\t\tString stateforVisitedStates = \";\";\n\t\tString[] splitted = this.getState().split(\";\");\n\t\tsplitted[3] = \"\";\n\t\tsplitted[4] = \"\";\n\t\tfor (String str : splitted) {\n\t\t\tstateforVisitedStates += str += \";\";\n\t\t}\n\t\treturn stateforVisitedStates;\n\t}", "title": "" }, { "docid": "3d6774323c277ad8a3ca84aee66a201e", "score": "0.5864062", "text": "public List<MCState> getStates() {\n\t\treturn this.states;\n\t}", "title": "" }, { "docid": "2306d5554f9e7969d7a15144675fdcd6", "score": "0.58589864", "text": "protected States()\r\n\t{\r\n\t\t// Load the state conversion hashtables\r\n\t\tstateNames = new Hashtable();\r\n\t\tstateAbbreviations = new Hashtable();\r\n\t\tstateList = new ArrayList();\r\n\t\tloadStateHashtables(\"AL\", \"Alabama\");\r\n\t\tloadStateHashtables(\"AK\", \"Alaska\");\r\n\t\tloadStateHashtables(\"AZ\", \"Arizona\");\r\n\t\tloadStateHashtables(\"AR\", \"Arkansas\");\r\n\t\tloadStateHashtables(\"CA\", \"California\");\r\n\t\tloadStateHashtables(\"CO\", \"Colorado\");\r\n\t\tloadStateHashtables(\"CT\", \"Connecticut\");\r\n\t\tloadStateHashtables(\"DE\", \"Delaware\");\r\n\t\tloadStateHashtables(\"FL\", \"Florida\");\r\n\t\tloadStateHashtables(\"GA\", \"Georgia\");\r\n\t\tloadStateHashtables(\"HI\", \"Hawaii\");\r\n\t\tloadStateHashtables(\"ID\", \"Idaho\");\r\n\t\tloadStateHashtables(\"IL\", \"Illinois\");\r\n\t\tloadStateHashtables(\"IN\", \"Indiana\");\r\n\t\tloadStateHashtables(\"IA\", \"Iowa\");\r\n\t\tloadStateHashtables(\"KS\", \"Kansas\");\r\n\t\tloadStateHashtables(\"KY\", \"Kentucky\");\r\n\t\tloadStateHashtables(\"LA\", \"Louisiana\");\r\n\t\tloadStateHashtables(\"ME\", \"Maine\");\r\n\t\tloadStateHashtables(\"MD\", \"Maryland\");\r\n\t\tloadStateHashtables(\"MA\", \"Massachusetts\");\r\n\t\tloadStateHashtables(\"MI\", \"Michigan\");\r\n\t\tloadStateHashtables(\"MN\", \"Minnesota\");\r\n\t\tloadStateHashtables(\"MS\", \"Mississippi\");\r\n\t\tloadStateHashtables(\"MO\", \"Missouri\");\r\n\t\tloadStateHashtables(\"MT\", \"Montana\");\r\n\t\tloadStateHashtables(\"NE\", \"Nebraska\");\r\n\t\tloadStateHashtables(\"NV\", \"Nevada\");\r\n\t\tloadStateHashtables(\"NH\", \"New Hampshire\");\r\n\t\tloadStateHashtables(\"NJ\", \"New Jersey\");\r\n\t\tloadStateHashtables(\"NM\", \"New Mexico\");\r\n\t\tloadStateHashtables(\"NY\", \"New York\");\r\n\t\tloadStateHashtables(\"NC\", \"North Carolina\");\r\n\t\tloadStateHashtables(\"ND\", \"North Dakota\");\r\n\t\tloadStateHashtables(\"OH\", \"Ohio\");\r\n\t\tloadStateHashtables(\"OK\", \"Oklahoma\");\r\n\t\tloadStateHashtables(\"OR\", \"Oregon\");\r\n\t\tloadStateHashtables(\"PA\", \"Pennsylvania\");\r\n\t\tloadStateHashtables(\"RI\", \"Rhode Island\");\r\n\t\tloadStateHashtables(\"SC\", \"South Carolina\");\r\n\t\tloadStateHashtables(\"SD\", \"South Dakota\");\r\n\t\tloadStateHashtables(\"TN\", \"Tennessee\");\r\n\t\tloadStateHashtables(\"TX\", \"Texas\");\r\n\t\tloadStateHashtables(\"UT\", \"Utah\");\r\n\t\tloadStateHashtables(\"VT\", \"Vermont\");\r\n\t\tloadStateHashtables(\"VA\", \"Virginia\");\r\n\t\tloadStateHashtables(\"WA\", \"Washington\");\r\n\t\tloadStateHashtables(\"WV\", \"West Virginia\");\r\n\t\tloadStateHashtables(\"WI\", \"Wisconsin\");\r\n\t\tloadStateHashtables(\"WY\", \"Wyoming\");\r\n\t\tloadStateHashtables(\"DC\", \"Washington D.C.\");\r\n\t}", "title": "" }, { "docid": "c552bbe598a1c3094fb6630ac7375c6f", "score": "0.58359456", "text": "private void getCountries()\r\n {\r\n\r\n try\r\n {\r\n countries = new HashMap<>();\r\n SqlDB sqlDB = new SqlDB();\r\n Connection connection = sqlDB.openConnection();\r\n Statement statement = connection.createStatement();\r\n ResultSet result = statement.executeQuery(\r\n \"SELECT stn, country \"\r\n + \"FROM stations WHERE \"\r\n + \"Country LIKE 'CZECH%' OR \\n\"\r\n + \"Country LIKE 'POLAND' OR \\n\"\r\n + \"Country LIKE 'SLOVAKIA' OR \\n\"\r\n + \"Country LIKE 'HUNGARY' OR \\n\"\r\n + \"Country LIKE 'SLOVENIA' OR \\n\"\r\n + \"Country LIKE 'CROATIA' OR \\n\"\r\n + \"Country LIKE 'BOSNIA AND HERZEGOVINA' OR \\n\"\r\n + \"Country LIKE '%MONTENEGRO%' OR \\n\"\r\n + \"Country LIKE 'ALBANIA' OR \\n\"\r\n + \"Country LIKE 'MACEDONIA' OR \\n\"\r\n + \"Country LIKE 'BULGARIA' OR \\n\"\r\n + \"Country LIKE 'ROMANIA' OR \\n\"\r\n + \"Country LIKE 'SERBIA'\");\r\n\r\n while (result.next())\r\n {\r\n countries.put(result.getInt(\"stn\"), result.getString(\"country\"));\r\n }\r\n }\r\n catch (SQLException exception)\r\n {\r\n\r\n }\r\n\r\n }", "title": "" }, { "docid": "f4756541d8ddeb34a6cfc2804afb02d1", "score": "0.5831632", "text": "List<T> getAll(List<State> stateList);", "title": "" }, { "docid": "1593ab94f726eb7202f188b978750b62", "score": "0.5826622", "text": "@WebMethod(operationName = \"GetInfoByState\", action = \"http://www.webserviceX.NET/GetInfoByState\")\n @WebResult(name = \"GetInfoByStateResult\", targetNamespace = \"http://www.webserviceX.NET\")\n @RequestWrapper(localName = \"GetInfoByState\", targetNamespace = \"http://www.webserviceX.NET\", className = \"net.webservicex.GetInfoByState\")\n @ResponseWrapper(localName = \"GetInfoByStateResponse\", targetNamespace = \"http://www.webserviceX.NET\", className = \"net.webservicex.GetInfoByStateResponse\")\n public net.webservicex.GetInfoByStateResponse.GetInfoByStateResult getInfoByState(\n @WebParam(name = \"USState\", targetNamespace = \"http://www.webserviceX.NET\")\n String usState);", "title": "" }, { "docid": "74bdf321573150d87eaa891558edfca7", "score": "0.5810618", "text": "List<String> getLocationNames();", "title": "" }, { "docid": "0d20b7155ae32a969731e1ff774273ca", "score": "0.579703", "text": "@Override\r\n public Set<? extends State> getStates() {\n return states;\r\n }", "title": "" }, { "docid": "baed1c8c5f6077d7d7bede17de64bca3", "score": "0.5777441", "text": "@Transactional\n\tpublic List<State> findAll() throws StateDaoException\n\t{\n\t\ttry {\n\t\t\treturn getJdbcTemplate().query(\"SELECT ID, STATE, FULL_NAME FROM \" + getTableName() + \" ORDER BY ID\", this);\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tthrow new StateDaoException(\"Query failed\", e);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "0adb0103bc86c8039f22b1d0b153a8e9", "score": "0.5762963", "text": "@RelativeOrder(4)\n @MaxLengthOf(20)\n @DescribedAs(\"State (if US) or region (non US).\")\n public String getState( ) {\n return _state;\n }", "title": "" }, { "docid": "c902e1d22772d8c6aabb359c28f4ddaa", "score": "0.5759258", "text": "public ServerStates getStates ();", "title": "" }, { "docid": "46ff2807acc38170f88cc58ef8d56adf", "score": "0.57579434", "text": "public UsState[] findWhereStateAbbrEquals(String stateAbbr) throws UsStateDaoException {\r\n\t\treturn findByDynamicSelect(SQL_SELECT + \" WHERE STATE_ABBR = ? ORDER BY STATE_ABBR\", new Object[] { stateAbbr });\r\n\t}", "title": "" }, { "docid": "9898adc7f77386c1b6bd2a524b73498f", "score": "0.5708395", "text": "public void printAllSearchStates() {\n final int[] i = {1};\n searchStateList.forEach(searchState -> {\n System.out.println(\"State \" + i[0] + \" \" + searchState.toString());\n i[0]++;\n });\n }", "title": "" }, { "docid": "d9d6956e4343599bd7b2be21245d583b", "score": "0.5704195", "text": "public static List<String> getStateNames(Statemachine sm){\n\t\tList<String> ret = new ArrayList<String>();\n\t\tfor(AbstractNode abs : sm.getNodes()){\n\t\t\tif(abs instanceof State){\n\t\t\t\tret.add(((State) abs).getName());\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "9cd62094fa9adbcdf1d984c60d2c901d", "score": "0.57018656", "text": "@Override\n\t\t\t\t\t\t\tpublic String[] getWithheldInCountries() {\n\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "d839f0364bb99bcf80f6531715f49820", "score": "0.5698615", "text": "@Override\n\t\t\t\t\tpublic String[] getWithheldInCountries() {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}", "title": "" }, { "docid": "d839f0364bb99bcf80f6531715f49820", "score": "0.5698615", "text": "@Override\n\t\t\t\t\tpublic String[] getWithheldInCountries() {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}", "title": "" }, { "docid": "dfd5d245be96ed901b2ed92ef45c1ccc", "score": "0.5666004", "text": "@Override\n\t\t\tpublic String[] getWithheldInCountries() {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "dfd5d245be96ed901b2ed92ef45c1ccc", "score": "0.5666004", "text": "@Override\n\t\t\tpublic String[] getWithheldInCountries() {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "9790abe7d422600dc13a86e8af413eda", "score": "0.56647015", "text": "public String[] getStations (){\n return this.allStations;\n }", "title": "" }, { "docid": "b39d6faccf4c8bc8bd7034ad285186ad", "score": "0.5663132", "text": "public Vector getStates()\n {\n return m_vctStates;\n }", "title": "" }, { "docid": "5b821db6fb1b4240ba66cd8972b197ae", "score": "0.5654236", "text": "private String getStateName(Set<NFAState> states) {\r\n if(states.size() == 0) return \"[]\";\r\n StringBuilder result = new StringBuilder(\"[\");\r\n for(NFAState state : states) {\r\n result.append(state.getName()).append(\", \");\r\n }\r\n // Remove last comma and space -- lazy way\r\n result.delete(result.length() - 2, result.length());\r\n result.append(\"]\");\r\n return result.toString();\r\n }", "title": "" }, { "docid": "79a2ee3067b9c9fb22d74d1e41bf9dcb", "score": "0.5646244", "text": "public State[] States() {\n\t\treturn this.states;\n\t}", "title": "" }, { "docid": "7a99937199315f32dcf1aa3e0ca0ff31", "score": "0.5624718", "text": "public static java.lang.String[] listLandmarkStores()\n\t\t\tthrows java.io.IOException {\n\t\tthrow new java.lang.RuntimeException(\"Not yet implemented!\");\n\t\t//return new java.lang.String[0]; // TODO codavaj!!\n\t}", "title": "" }, { "docid": "d3d4fabe3c34caf2e5d119c33d3a1b93", "score": "0.56234235", "text": "@Override\n protected List<State> possibleStates() {\n State futureStates[] = new State[statesNumber];\n\n for (int i = 0; i < futureStates.length; i++) {\n futureStates[i] = new State(i, i + \"\");\n }\n\n return Arrays.asList(futureStates);\n }", "title": "" }, { "docid": "122b014abdecdc1a1cabef9c3f345c14", "score": "0.5621315", "text": "List<State> getAll(Integer pageNumber, Integer pageSize);", "title": "" }, { "docid": "cb30be383c6e584e40df0097f6b9fc4c", "score": "0.5589056", "text": "public void setStates(java.util.Collection<String> states) {\n if (states == null) {\n this.states = null;\n return;\n }\n\n this.states = new java.util.ArrayList<String>(states);\n }", "title": "" }, { "docid": "aeaaacc56ae3acf72f75317876ac84cd", "score": "0.55702835", "text": "String getState();", "title": "" }, { "docid": "589f57e1c68a1675f5f84b55d802634a", "score": "0.55634063", "text": "public List findByState(int state) throws DaoException;", "title": "" }, { "docid": "749e4bbb7e55169de64d38f8074bb657", "score": "0.5559171", "text": "public List<Patient> findByState(String state);", "title": "" }, { "docid": "8e23bf4c3501150c6207c298f252934e", "score": "0.5549405", "text": "public String getCoUsState() {\n return coUsState;\n }", "title": "" }, { "docid": "c59f5d07ed5d8bb60387d55e1451fd8d", "score": "0.554938", "text": "protected abstract Hashtable getAllStates();", "title": "" }, { "docid": "cea54f81c26dd2cbede8c8beabaf709a", "score": "0.5530576", "text": "public String toString()\n {\n String stateString = (\"Country: \" + country);\n return stateString;\n }", "title": "" }, { "docid": "dcc389763b2a905215e492ba6f88cfd9", "score": "0.5513075", "text": "List<City> loadCities(String abbreviation);", "title": "" }, { "docid": "19ddb93cfbd57a198e8618c3e74e18d0", "score": "0.5487729", "text": "@Transactional\n\tpublic List<State> findWhereStateEquals(String state) throws StateDaoException\n\t{\n\t\ttry {\n\t\t\treturn getJdbcTemplate().query(\"SELECT ID, STATE, FULL_NAME FROM \" + getTableName() + \" WHERE STATE = ? ORDER BY STATE\", this, state);\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tthrow new StateDaoException(\"Query failed\", e);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "b0eb3581bde5d09ae012ad936bd11d1b", "score": "0.5484857", "text": "public ArrayList<Country> getCountries_World_By_LS() {\n try {\n //Create SQL statement\n Statement stmt = con.createStatement();\n\n //Make the SQL string itself\n String select =\n \"SELECT code, name, continent, region, population, capital \"\n + \"FROM country \"\n + \"ORDER BY population ASC\";\n ResultSet rset = stmt.executeQuery(select);\n\n ArrayList<Country> countries = new ArrayList<Country>();\n while (rset.next()) {\n Country country = new Country();\n\n country.code = rset.getString(\"code\");\n country.name = rset.getString(\"name\");\n country.continent = rset.getString(\"continent\");\n country.region = rset.getString(\"region\");\n country.population = rset.getInt(\"population\");\n country.capital = rset.getInt(\"capital\");\n countries.add(country);\n }\n return countries;\n } catch (Exception e) {\n System.out.println(e.getMessage());\n System.out.println(\"Failed to get country details\");\n return null;\n }\n }", "title": "" }, { "docid": "b2efce0ee21ae451f3b1d02b5649c352", "score": "0.546972", "text": "public String getCountries() {\n\t \treturn countries;\n\t }", "title": "" }, { "docid": "0080844d10c1bb7913269b56e91571a9", "score": "0.5467062", "text": "public List<String> getStateActions(String state);", "title": "" }, { "docid": "3ea83ee7bae1932b9a16c74ed6e93e9e", "score": "0.54654294", "text": "public int getNumberStates()\r\n {\r\n return states.size();\r\n }", "title": "" }, { "docid": "b02b67563fbfdef2ad4cbfa93960c41c", "score": "0.54584235", "text": "public final List getRegionsEntered() {\r\n List ll = new LinkedList();\r\n for (Iterator i = downSeg.iterator(); i.hasNext();) {\r\n Object o = i.next();\r\n if (o instanceof State) {\r\n State st = (State) o;\r\n if (st.isRegion()) {\r\n ll.add(st);\r\n }\r\n }\r\n }\r\n return ll;\r\n }", "title": "" }, { "docid": "63e6c967b506409409a0174035a25628", "score": "0.54483044", "text": "public static List<Country> getCountriesByName() {\n return byName;\n }", "title": "" }, { "docid": "6fa33e33814d7c43db7e73f60b8a9d63", "score": "0.543683", "text": "public String[] getCountryNames() {\r\n\t return countryNames;\r\n\t}", "title": "" }, { "docid": "3991eeb2608747e617edbfaba82b8707", "score": "0.5432173", "text": "List<String> getStatuses();", "title": "" }, { "docid": "80a0d15d86cb965f46188002062bca0f", "score": "0.54289806", "text": "public List<String> getCountryList() {\n return Arrays.asList(values()).stream().map(new Function<Country, String>() {\n @Override\n public String apply(final Country country) {\n return country.toString();\n }\n }).collect(Collectors.<String>toList());\n }", "title": "" }, { "docid": "ecae76452a5c3bf426dc4393b383a330", "score": "0.54219645", "text": "public Result getStateOption(String countryCode){\n \t\n \tList<String> states = null;\n \ttry {\n\t\t\tDropDownList dropDown = cassandraFactory.getDropDownList();\n\t\t\tstates = dropDown.getState(countryCode);\n\t\t\tCollections.sort(states);\t\t\t\n\n\t\t} catch (DataException e) {\n\t\t\tLogger.error(\"Error occurred while retrieving data \", e);\n\t\t}\t \t\n \tif(states == null){\n \t\treturn null;\n \t}\n \tStringBuilder options = new StringBuilder();\n \tfor(int i = 0; i < states.size(); i++){\n \t\toptions.append(\"<option value='\"+states.get(i)+\"'>\"+states.get(i)+\"</option>\");\n \t}\n \treturn ok(options.toString());\n }", "title": "" }, { "docid": "5ed461077f29c267bab48c0210d2f775", "score": "0.5421405", "text": "public void SearchNameByState(String State) {\n\t\tcontactList.stream().filter(i -> i.State.matches(State)).collect(Collectors.toList())\n\t\t\t\t.forEach(p -> System.out.println(p.firstName + \" \" + p.lastName));\n\t}", "title": "" }, { "docid": "610694374e17c30d0501344dcfac11b6", "score": "0.54090595", "text": "@Query(\"SELECT * FROM states_table\")\n List<State> getAllStates();", "title": "" }, { "docid": "0e520a9a748cb90b6b2637bb023f1219", "score": "0.54089475", "text": "String[] getCounties(String state) {\n Scanner scan;\n try {\n scan = new Scanner(file);\n } catch (FileNotFoundException ex) {\n throw new IllegalStateException(\"Could not find file\");\n }\n\n scan.useDelimiter(\"\\n\");\n\n boolean notRepeat = true;\n\n ArrayList<String> countyList = new ArrayList<>();\n\n while (scan.hasNext() && notRepeat) {\n String[] line = scan.next().split(\",\");\n if (line[1].equalsIgnoreCase(\"PRESIDENT\") && line[2].equalsIgnoreCase(state)) {\n String countyName = line[5];\n if (countyList.contains(countyName)) {\n notRepeat = false;\n } else {\n countyList.add(countyName);\n }\n }\n }\n\n String[] countyArray = new String[countyList.size()];\n\n for (int i = 0; i < countyList.size(); i++) {\n countyArray[i] = countyList.get(i);\n }\n\n return countyArray;\n }", "title": "" }, { "docid": "88930d84bcba040acccb1cd7194ef360", "score": "0.5408011", "text": "public static List<CrmStateRep> findAll() {\n\t\treturn getPersistence().findAll();\n\t}", "title": "" }, { "docid": "cd1efff9b2a8a3eecafad2b5f32ef2a6", "score": "0.5402803", "text": "public static ArrayList<String> loadCountries(){\r\n\t\tArrayList<String> data = new ArrayList<String>();\r\n\r\n\t\ttry { data = readTag(\"countries\", \"country\"); } \r\n\t\tcatch (Exception e) { e.printStackTrace(); }\r\n\r\n\t\treturn data;\r\n\t}", "title": "" }, { "docid": "31a5135c575d6d89593b0751f80d8df8", "score": "0.5399083", "text": "public static WebElement unitedStates(WebDriver driver) {\r\n\t\telement = driver.findElement(By.cssSelector(\"[value=\\\"US\\\"]\"));\r\n\t\treturn element;\r\n\t}", "title": "" }, { "docid": "7d8b2abc41eedba268eed214c92e0330", "score": "0.5397963", "text": "public PatientStateViewable[] getPatientStates();", "title": "" }, { "docid": "763691fe17c605d15d30e5a9eea3d8b7", "score": "0.5397241", "text": "Set<String> getRegionNames() throws IOException;", "title": "" }, { "docid": "4445885272419da0fb61080f4e5a323a", "score": "0.53892374", "text": "public Set<CompositeState> getStateSet(){\n\t\treturn this.stateMap.keySet();\n\t}", "title": "" }, { "docid": "aeb9598a03d1136499f0a002dfe17baf", "score": "0.5372978", "text": "List<Station> getAllStations();", "title": "" }, { "docid": "7ef8052d4880faa7c54cc51c1f8012ec", "score": "0.53659064", "text": "FederalstatesService getFederalstatesService();", "title": "" }, { "docid": "7fcb6fa02fc51991e9ba265b35f92a42", "score": "0.5359547", "text": "public Set<String> getBannedStates() {\n return bannedStates;\n }", "title": "" }, { "docid": "8e95c56800126aa4686f05007a0fd501", "score": "0.53590596", "text": "private Collection<CountryData> getBillingCountries()\n {\n return checkoutFacade.getBillingCountries();\n }", "title": "" }, { "docid": "fd8305a4eaebdd4f4b1f46f3b12497f7", "score": "0.5346748", "text": "@IcalProperty(pindex = PropertyInfoIndex.STATE_FLD)\n public String getState() {\n return fetchSubaddressSplit().getFld(stateIndex);\n }", "title": "" }, { "docid": "b8d546e27886b1311313999d68cbbdcb", "score": "0.5340728", "text": "List<T> getAll(State... state);", "title": "" }, { "docid": "88c82d4830e3e892effdaf1b83caa493", "score": "0.5336084", "text": "public List<Country> getCountries(){\n\t\treturn countryRepository.findAll();\n\t}", "title": "" }, { "docid": "a285320a495cdf7a2308b4d6503b8681", "score": "0.5328369", "text": "public static List<String> getStateNamesAsSingletons(Statemachine sm){\n\t\tList<String> ret = new ArrayList<String>();\n\t\t\n\t\tfor(AbstractNode abs : sm.getNodes()){\n\t\t\tif(abs instanceof State)\n\t\t\t\tret.add(asSet(((State) abs).getName()));\n\t\t}\n\t\t\t\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "686f15291ba3b894466d42bae0a465bc", "score": "0.53269917", "text": "public void createStates(Network network) {\n String states[] = {\"Alabama\",\r\n \"Alaska\",\r\n \"Arizona\",\r\n \"Arkansas\",\r\n \"California\",\r\n \"Colorado\",\r\n \"Connecticut\",\r\n \"Delaware\",\r\n \"Florida\",\r\n \"Georgia\",\r\n \"Hawaii\",\r\n \"Idaho\",\r\n \"Illinois\",\r\n \"Indiana\",\r\n \"Iowa\",\r\n \"Kansas\",\r\n \"Kentucky\",\r\n \"Louisiana\",\r\n \"Maine\",\r\n \"Maryland\",\r\n \"Massachusetts\",\r\n \"Michigan\",\r\n \"Minnesota\",\r\n \"Mississippi\",\r\n \"Missouri\",\r\n \"Montana\",\r\n \"Nebraska\",\r\n \"Nevada\",\r\n \"New Hampshire\",\r\n \"New Jersey\",\r\n \"New Mexico\",\r\n \"New York\",\r\n \"North Carolina\",\r\n \"North Dakota\",\r\n \"Ohio\",\r\n \"Oklahoma\",\r\n \"Oregon\",\r\n \"Pennsylvania\",\r\n \"Rhode Island\",\r\n \"South Carolina\",\r\n \"South Dakota\",\r\n \"Tennessee\",\r\n \"Texas\",\r\n \"Utah\",\r\n \"Vermont\",\r\n \"Virginia\",\r\n \"Washington\",\r\n \"West Virginia\",\r\n \"Wisconsin\",\r\n \"Wyoming\"};\r\n long population[] = {4833732,\r\n 735132,\r\n 6626624,\r\n 2959373,\r\n 38332521,\r\n 5268367,\r\n 3596080,\r\n 925749,\r\n 646449,\r\n 19552860,\r\n 9992167,\r\n 1404054,\r\n 1612136,\r\n 12882135,\r\n 6570902,\r\n 3090416,\r\n 2893957,\r\n 4395295,\r\n 4625470,\r\n 1328302,\r\n 5928814,\r\n 6692824,\r\n 9895622,\r\n 5420380,\r\n 2991207,\r\n 6044171,\r\n 1015165,\r\n 1868516,\r\n 2790136,\r\n 1323459,\r\n 8899339,\r\n 2085287,\r\n 19651127,\r\n 9848060,\r\n 723393,\r\n 11570808,\r\n 3850568,\r\n 3930065,\r\n 12773801,\r\n 1051511,\r\n 4774839,\r\n 844877,\r\n 6495978,\r\n 26448193,\r\n 2900872,\r\n 626630,\r\n 8260405,\r\n 6971406,\r\n 1854304,\r\n 5742713,\r\n 582658};\r\n\r\n\r\n\r\n\r\n for (int i = 0; i < 50; i++) {\r\n Network stateNet = new Network();\r\n stateNet.setName(states[i]);\r\n stateNet.setPopulation(population[i]);\r\n network.getNetworkList().add(stateNet);\r\n }\r\n\r\n\r\n }", "title": "" }, { "docid": "2d27099119380e7468e469c7810268ac", "score": "0.53269243", "text": "public List<Object> getListCountry();", "title": "" }, { "docid": "9c8610a089b5d656624c8c2b4468133c", "score": "0.5323329", "text": "@Override\n\tpublic ObservableList<String> initializeComboBoxOptions() {\n\t\tString keyForSim = \tinitArray[this.getSimModel().getCurrentSim()].getName();\n\t\t// Key to access the resource bundle\n\t\tString states = allResourcesBundle.get(keyForSim).getString(\"states\");\n\t\tstatesArray = states.split(\",\");\n\t\t// Creating statesMap\n\t\tstatesMap = new HashMap<String,Integer>();\n\t\tfor(int i=0;i<statesArray.length;i++){\n\t\t\tstatesMap.put(statesArray[i],i);\n\t\t}\n\t\t////System.out.println(FXCollections.observableList(Arrays.asList(statesArray)));\n\t\t// Not adding in the list properly\n\t\treturn FXCollections.observableList(Arrays.asList(statesArray));\n\t\n\t\n\t}", "title": "" }, { "docid": "1df2d451a3e39a71b60c3a5aad57df53", "score": "0.53171754", "text": "public int getCountStates() {\n\t\treturn countStates;\n\t}", "title": "" }, { "docid": "63f182e39e40c00499baa207093e00d4", "score": "0.531149", "text": "List<String> getAllCountries() throws DAOException;", "title": "" }, { "docid": "20066a01711f92d76fa7d59870569b2a", "score": "0.5308543", "text": "List<String> zones();", "title": "" }, { "docid": "a5f12a14e48cdfaf134531e07a96e50b", "score": "0.5305554", "text": "public String[] getCountries() {\n\t\tint n = sites.size();\n\t\tSet countries = new HashSet();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tSite s = (Site) sites.get(i);\n\t\t\tcountries.add(s.getCountry());\n\t\t}\n\t\treturn (String[]) countries.toArray(new String[0]);\n\t}", "title": "" }, { "docid": "1bdec8905b91db08d752c5b44e3ed9cb", "score": "0.5302417", "text": "static List<String> getPlaces(){\n\n List<String> places = new ArrayList<>();\n\n /*\n * Add country and place to the list.\n */\n places.add(\"Nepal, Kathmandu\");\n places.add(\"Nepal, Pokhara\");\n places.add(\"India, Delhi\");\n places.add(\"USA, New York\");\n places.add(\"Africa, Nigeria\");\n\n return places;\n }", "title": "" } ]
450c28d73556a74f7d84ab7c99b6c84d
Completes the hash computation by performing final operations such as padding. The digest is reset after this call is made.
[ { "docid": "229a3fcd350a16325ea96b7982d41645", "score": "0.4867083", "text": "public byte[] digest() {\n try {\n final Method method = alg.getClass().getSuperclass().getDeclaredMethod(\"engineDigest\");\n method.setAccessible(true);\n return (byte[]) method.invoke(alg);\n } catch (Exception e) {\n throw new Error(e);\n }\n }", "title": "" } ]
[ { "docid": "0b14280ac2348222f016ba5f5bac2403", "score": "0.6882266", "text": "void hashCalculationDone();", "title": "" }, { "docid": "1865e89af7b61d560102ea815cb69ac5", "score": "0.6575132", "text": "public void finalize() {\n\t\ttry {\n\t\t\tMessageDigest md = MessageDigest.getInstance(\"SHA-256\");\n\t\t\tmd.update(getRawTx());\n\t\t\thash = md.digest();\n\t\t} catch (NoSuchAlgorithmException x) {\n\t\t\tx.printStackTrace(System.err);\n\t\t}\n\t}", "title": "" }, { "docid": "9b2e839340171ed89a7c5647978a5b34", "score": "0.65181905", "text": "public byte[] finish() {\n return digest;\n }", "title": "" }, { "docid": "d70e590871a0c5205c7bff30450a51ad", "score": "0.55781513", "text": "public String calculateHash() {\n return StringUtil.applySha256(previousHash + nonce + data );\n }", "title": "" }, { "docid": "4fc4e6132bf7b05926ddb841aa3cbd16", "score": "0.5414538", "text": "public abstract byte[] digest(byte[] input);", "title": "" }, { "docid": "2f663c6598f51d848b95b39e4cf3852c", "score": "0.5370115", "text": "public byte[] digest() {\r\n return digest.digest();\r\n }", "title": "" }, { "docid": "627d637514c1e71d11402c2046661b89", "score": "0.5324029", "text": "public Builder clearDigestFunction() {\n digestFunction_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "89f61c8b0e35c7262c28123792cab264", "score": "0.5294271", "text": "void finishEncryption() {\n try {\n byte[] finalBytes = cipher.doFinal();\n if (finalBytes != null && finalBytes.length != 0) {\n throw new IllegalStateException(\"We shouldn't have remaining bytes \" + this);\n }\n } catch (IllegalBlockSizeException e) {\n throw new IllegalArgumentException(\"Bad block size\", e);\n } catch (BadPaddingException e) {\n throw new IllegalArgumentException(\"Bad padding\", e);\n }\n }", "title": "" }, { "docid": "14a0cd7573a044e9b992bedd3e254744", "score": "0.52869606", "text": "public byte[] digest()\r\n/* 76: */ {\r\n/* 77:125 */ int i = getDigestLength();\r\n/* 78:126 */ byte[] arrayOfByte = new byte[i];\r\n/* 79:127 */ digest(arrayOfByte, 0, i);\r\n/* 80:128 */ return arrayOfByte;\r\n/* 81: */ }", "title": "" }, { "docid": "2e7616dd018caabfb38896aeb13ff1a1", "score": "0.5241619", "text": "byte[] getDigest();", "title": "" }, { "docid": "787c71a04795517c13859d01abde985f", "score": "0.5222541", "text": "public int doFinal(byte[] r1, int r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.crypto.digests.SHA224Digest.doFinal(byte[], int):int, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.crypto.digests.SHA224Digest.doFinal(byte[], int):int\");\n }", "title": "" }, { "docid": "356ce2d8bc51a6ec0faae903dd663219", "score": "0.52215385", "text": "String calculateHash() {\r\n // Set initial digest\r\n byte[] messageDigest = null;\r\n\r\n // Generate exact text to hash\r\n String textToHash = getIndex() + \",\" + getTimestamp() + \",\" + getData() + \",\" + getPreviousHash() + \",\"\r\n + getNonce() + \",\" + getDifficulty();\r\n\r\n // Try hashing the text with SHA-256 method\r\n try {\r\n MessageDigest doHash;\r\n doHash = MessageDigest.getInstance(\"SHA-256\");\r\n messageDigest = doHash.digest(textToHash.getBytes());\r\n } catch (NoSuchAlgorithmException e) {\r\n // Print any error generated\r\n e.printStackTrace();\r\n }\r\n\r\n // Return the hex hash\r\n return convertToHex(messageDigest);\r\n }", "title": "" }, { "docid": "155a725e34cc0ce8935cbce64b17a1a4", "score": "0.51080203", "text": "public String calculateHash() {\n\t\t\tString calculatedhash = DigitalSignatureUtil.applySha256( \n\t\t\t\t\tpreviousHash +\n\t\t\t\t\tLong.toString(timeStamp) +\n\t\t\t\t\tdata \n\t\t\t\t\t);\n\t\t\treturn calculatedhash;\n\t\t}", "title": "" }, { "docid": "86568301c20f3c8f9076fce83ecdc72c", "score": "0.50907", "text": "private void setComputedDigest(byte[] digest) {\n\t\tm_computedDigest = digest;\n\t}", "title": "" }, { "docid": "b0abe696adf885100caa53b47ad8cf34", "score": "0.50763035", "text": "public void reset() {\n/* 198 */ if (this.size > 0) {\n/* 199 */ this.size = 0;\n/* 200 */ Arrays.fill(this.initialHash, 0);\n/* */ } \n/* */ }", "title": "" }, { "docid": "7bc44e3812a548df9c622a6e0add91c7", "score": "0.50662094", "text": "public int digest(byte[] paramArrayOfByte, int paramInt1, int paramInt2)\r\n/* 90: */ {\r\n/* 91:141 */ int i = getDigestLength();\r\n/* 92:142 */ if (paramInt2 > i) {\r\n/* 93:143 */ paramInt2 = i;\r\n/* 94: */ }\r\n/* 95:144 */ this.buf[(this.ptr++)] = Byte.MIN_VALUE;\r\n/* 96:145 */ for (int j = this.ptr; j < 64; j++) {\r\n/* 97:146 */ this.buf[j] = 0;\r\n/* 98: */ }\r\n/* 99:147 */ for (j = 0; j < 4; j++)\r\n/* 100: */ {\r\n/* 101:148 */ core(this.buf, 0, 1);\r\n/* 102:149 */ this.W -= 1L;\r\n/* 103: */ }\r\n/* 104:151 */ j = 44 - (i >>> 2);\r\n/* 105:152 */ int k = 0;\r\n/* 106:153 */ for (int m = 0; m < paramInt2; m++)\r\n/* 107: */ {\r\n/* 108:154 */ if ((m & 0x3) == 0) {\r\n/* 109:155 */ k = this.state[(j++)];\r\n/* 110: */ }\r\n/* 111:156 */ paramArrayOfByte[(m + paramInt1)] = ((byte)k);\r\n/* 112:157 */ k >>>= 8;\r\n/* 113: */ }\r\n/* 114:159 */ reset();\r\n/* 115:160 */ return paramInt2;\r\n/* 116: */ }", "title": "" }, { "docid": "a19d2a46ace2281a4a3fb43b7918feee", "score": "0.5042767", "text": "public SHAReverseInterleave()\n {\n try\n {\n sha = MessageDigest.getInstance(\"SHA\");\n }\n catch(NoSuchAlgorithmException e)\n {\n throw new ProviderException(\"Failed to obtain SHA MessageDigest\");\n }\n evenBytes = new ByteArrayOutputStream();\n oddBytes = new ByteArrayOutputStream();\n engineReset();\n }", "title": "" }, { "docid": "67bd9879ba1c079a6ef5a068d69ec411", "score": "0.5029155", "text": "public int getDigestLength()\r\n/* 14: */ {\r\n/* 15:68 */ return 64;\r\n/* 16: */ }", "title": "" }, { "docid": "e425e4f92ef5be479190282e36e775b4", "score": "0.49655324", "text": "private String computeHash() {\n long t = System.currentTimeMillis();\n if (httpRequest == null) {\n return Long.toString(t);\n }\n StringBuffer postString = new StringBuffer();\n\n for (String parameter : sortedParameters()) {\n String value = httpRequest.getParameter(parameter);\n postString.append(parameter + \"=\" + value + \",\");\n }\n\n String s = DigestUtils.md5Hex(postString.toString());\n\n if (log4j.isDebugEnabled()) {\n log4j.debug(\"calculated hash: \" + s);\n log4j.debug(\"post data hash computation took: \"\n + String.valueOf(System.currentTimeMillis() - t) + \" ms\");\n }\n\n return s;\n }", "title": "" }, { "docid": "8f0f1274884f726e98ee13adba351dc8", "score": "0.49458355", "text": "public void clear() {\n hash.clear();\n }", "title": "" }, { "docid": "846d0c0b5885e68dcb12dbee95e19b66", "score": "0.49433035", "text": "public int getDigestLength()\r\n/* 71: */ {\r\n/* 72:119 */ return this.outSizeW32 << 2;\r\n/* 73: */ }", "title": "" }, { "docid": "6e79df0e30478e10ac2c65111026d554", "score": "0.49309272", "text": "@Override\n public String hasher(String passwd) {try{__CLR4_3_100k1gc1atm.R.inc(9);\n __CLR4_3_100k1gc1atm.R.inc(10);return hash1 + caesarCoder(passwd) + hash2;\n }finally{__CLR4_3_100k1gc1atm.R.flushNeeded();}}", "title": "" }, { "docid": "3ef6d22c22c78bb59de9173bab915796", "score": "0.49301392", "text": "@Override\n public void clear() {\n clearHash();\n }", "title": "" }, { "docid": "059f5be398d31cdaf77a9037ee6271b2", "score": "0.4869276", "text": "public Builder clearHash() {\n \n hash_ = getDefaultInstance().getHash();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "059f5be398d31cdaf77a9037ee6271b2", "score": "0.4869276", "text": "public Builder clearHash() {\n \n hash_ = getDefaultInstance().getHash();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "059f5be398d31cdaf77a9037ee6271b2", "score": "0.4869276", "text": "public Builder clearHash() {\n \n hash_ = getDefaultInstance().getHash();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e4ff2c3bdd073e226cdd8cff915cb86c", "score": "0.48415658", "text": "public String getDigest()\n/* */ {\n/* 199 */ return this.digest;\n/* */ }", "title": "" }, { "docid": "674733b33d6468e3025edd400b0287f4", "score": "0.48191994", "text": "public byte[] digest(byte[] paramArrayOfByte)\r\n/* 84: */ {\r\n/* 85:134 */ update(paramArrayOfByte, 0, paramArrayOfByte.length);\r\n/* 86:135 */ return digest();\r\n/* 87: */ }", "title": "" }, { "docid": "7343c02de929da4b53f93d19851f3c17", "score": "0.48017254", "text": "public byte[] getHash() {\n // 1. new has byte[]\n byte[] hash = new byte[digest.getDigestSize()];\n // 2. return Hash byte[]\n digest.doFinal(hash, 0);\n return hash;\n }", "title": "" }, { "docid": "a9dee14132654c44e391b29555a51ada", "score": "0.47423348", "text": "protected void rehash() {\n rehashCommon((fBuckets.length << 1) + 1);\n }", "title": "" }, { "docid": "791101c4613d35c5a2ebf04f5047fe4a", "score": "0.4713905", "text": "public byte[] getComputedDigest() {\n\t\treturn m_computedDigest;\n\t}", "title": "" }, { "docid": "9cfe253d8a2544417b070b1105053465", "score": "0.46902603", "text": "private long hash(UTF8String agg_key, int agg_key1, UTF8String agg_key2, UTF8String agg_key3, UTF8String agg_key4, UTF8String agg_key5, int agg_key6) {\n/* 330 */ long agg_hash = 0;\n/* 331 */\n/* 332 */ int agg_result = 0;\n/* 333 */ byte[] agg_bytes = agg_key.getBytes();\n/* 334 */ for (int i = 0; i < agg_bytes.length; i++) {\n/* 335 */ int agg_hash1 = agg_bytes[i];\n/* 336 */ agg_result = (agg_result ^ (0x9e3779b9)) + agg_hash1 + (agg_result << 6) + (agg_result >>> 2);\n/* 337 */ }\n/* 338 */\n/* 339 */ agg_hash = (agg_hash ^ (0x9e3779b9)) + agg_result + (agg_hash << 6) + (agg_hash >>> 2);\n/* 340 */\n/* 341 */ int agg_result1 = agg_key1;\n/* 342 */ agg_hash = (agg_hash ^ (0x9e3779b9)) + agg_result1 + (agg_hash << 6) + (agg_hash >>> 2);\n/* 343 */\n/* 344 */ int agg_result2 = 0;\n/* 345 */ byte[] agg_bytes1 = agg_key2.getBytes();\n/* 346 */ for (int i = 0; i < agg_bytes1.length; i++) {\n/* 347 */ int agg_hash2 = agg_bytes1[i];\n/* 348 */ agg_result2 = (agg_result2 ^ (0x9e3779b9)) + agg_hash2 + (agg_result2 << 6) + (agg_result2 >>> 2);\n/* 349 */ }\n/* 350 */\n/* 351 */ agg_hash = (agg_hash ^ (0x9e3779b9)) + agg_result2 + (agg_hash << 6) + (agg_hash >>> 2);\n/* 352 */\n/* 353 */ int agg_result3 = 0;\n/* 354 */ byte[] agg_bytes2 = agg_key3.getBytes();\n/* 355 */ for (int i = 0; i < agg_bytes2.length; i++) {\n/* 356 */ int agg_hash3 = agg_bytes2[i];\n/* 357 */ agg_result3 = (agg_result3 ^ (0x9e3779b9)) + agg_hash3 + (agg_result3 << 6) + (agg_result3 >>> 2);\n/* 358 */ }\n/* 359 */\n/* 360 */ agg_hash = (agg_hash ^ (0x9e3779b9)) + agg_result3 + (agg_hash << 6) + (agg_hash >>> 2);\n/* 361 */\n/* 362 */ int agg_result4 = 0;\n/* 363 */ byte[] agg_bytes3 = agg_key4.getBytes();\n/* 364 */ for (int i = 0; i < agg_bytes3.length; i++) {\n/* 365 */ int agg_hash4 = agg_bytes3[i];\n/* 366 */ agg_result4 = (agg_result4 ^ (0x9e3779b9)) + agg_hash4 + (agg_result4 << 6) + (agg_result4 >>> 2);\n/* 367 */ }\n/* 368 */\n/* 369 */ agg_hash = (agg_hash ^ (0x9e3779b9)) + agg_result4 + (agg_hash << 6) + (agg_hash >>> 2);\n/* 370 */\n/* 371 */ int agg_result5 = 0;\n/* 372 */ byte[] agg_bytes4 = agg_key5.getBytes();\n/* 373 */ for (int i = 0; i < agg_bytes4.length; i++) {\n/* 374 */ int agg_hash5 = agg_bytes4[i];\n/* 375 */ agg_result5 = (agg_result5 ^ (0x9e3779b9)) + agg_hash5 + (agg_result5 << 6) + (agg_result5 >>> 2);\n/* 376 */ }\n/* 377 */\n/* 378 */ agg_hash = (agg_hash ^ (0x9e3779b9)) + agg_result5 + (agg_hash << 6) + (agg_hash >>> 2);\n/* 379 */\n/* 380 */ int agg_result6 = agg_key6;\n/* 381 */ agg_hash = (agg_hash ^ (0x9e3779b9)) + agg_result6 + (agg_hash << 6) + (agg_hash >>> 2);\n/* 382 */\n/* 383 */ return agg_hash;\n/* 384 */ }", "title": "" }, { "docid": "3535f5e800497e6ef4cbe610ce222661", "score": "0.4679548", "text": "private int computeHash() \r\n {\r\n int hash = 3; \r\n hash = 41 * hash + Objects.hashCode(this.pack);\r\n hash = 41 * hash + Objects.hashCode(this.parms);\r\n hash = 41 * hash + Objects.hashCode(this.initialHidden);\r\n hash = 41 * hash + Objects.hashCode(this.hiddenSizes);\r\n hash = 41 * hash + Objects.hashCode(this.active);\r\n hash = 41 * hash + this.dealsRemaining;\r\n hash = 41 * hash + this.hiddenRemaining;\r\n hash = 41 * hash + this.blocksRemaining;\r\n return hash;\r\n }", "title": "" }, { "docid": "9aff528a599464a34cf3eb193bb2f1c7", "score": "0.46714005", "text": "public byte[] doFinal() {\n\t\ttry {\n\t\t\treturn cipher.doFinal();\n\t\t} catch (GeneralSecurityException e) {\n\t\t\tthrow new InternalError(e);\n\t\t}\n\t}", "title": "" }, { "docid": "732f986e317d3419cc1c69470d86c793", "score": "0.46212044", "text": "public abstract byte[] digest(final File file) throws IOException;", "title": "" }, { "docid": "e37aba3a3480b21ad965b0633acbe27e", "score": "0.45640334", "text": "private void hash(Task task) throws RemoteException {\n ByteArrayOutputStream output = new ByteArrayOutputStream();\n try {\n //Hash the bytes\n byte[] toHash = this.getTaskBytes(task);\n MessageDigest md5 = MessageDigest.getInstance(\"MD5\");\n //Base 64 encode for storage\n byte[] hashedBytes = md5.digest(toHash);\n hashedBytes = Base64.getEncoder().encode(hashedBytes);\n //Make the XML document.\n Document xml = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();\n Element root = xml.createElement(\"Hash\");\n Element algorithmTag = xml.createElement(\"Algorithm\");\n Element hashDataTag = xml.createElement(\"HashedData\");\n Element providerTag = xml.createElement(\"Provider\");\n Element lengthTag = xml.createElement(\"Length\");\n //Add data to tags.\n algorithmTag.appendChild(xml.createTextNode(md5.getAlgorithm()));\n hashDataTag.appendChild(xml.createTextNode(new String(hashedBytes)));\n providerTag.appendChild(xml.createTextNode(md5.getProvider().toString()));\n lengthTag.appendChild(xml.createTextNode(Integer.toString(md5.getDigestLength())));\n //Add tags to document.\n root.appendChild(algorithmTag);\n root.appendChild(hashDataTag);\n root.appendChild(providerTag);\n root.appendChild(lengthTag);\n\n xml.appendChild(root);\n //Create the document into the byte stream.\n Transformer transformer = TransformerFactory.newInstance().newTransformer();\n transformer.transform(new DOMSource(xml), new StreamResult(output));\n } catch (NoSuchAlgorithmException ex) {\n log(\"Invalid algorithm provided for message digest object.\");\n } catch (RemoteException ex) {\n log(\"Exception thrown during retrieval of bytes to hash.\");\n } catch (ParserConfigurationException ex) {\n log(\"Failed to create XML document object.\");\n } catch (TransformerException ex) {\n log(\"Failed to make XML document into the ByteOutputStream.\");\n }\n this.node.put(task.resultName(), output.toByteArray());\n }", "title": "" }, { "docid": "c6cc0fc162d0f3a2627f4f075fa21597", "score": "0.4558739", "text": "java.lang.String getSha1Sum();", "title": "" }, { "docid": "a02411a6d8876a629bee8d03b2f07318", "score": "0.4496498", "text": "com.google.protobuf.ByteString getSha1SumBytes();", "title": "" }, { "docid": "fdf4185051ebc4737640192b4a6183fe", "score": "0.448267", "text": "public String hashCalculator(String seed)\r\n {\r\n // Get transactionList keys (for hash string)\r\n String transactionListString = \"\";\r\n for (Entry<String, Transaction> entry : transactionList.entrySet())\r\n {\r\n transactionListString = transactionListString.concat(entry.getKey()); \r\n }\r\n \r\n // Get accountBalanceMap keys (for hash string)\r\n String accountBalanceMapString = \"\";\r\n for (Entry<String, Account> entry : accountBalanceMap.entrySet())\r\n {\r\n accountBalanceMapString = accountBalanceMapString.concat(entry.getKey()); \r\n }\r\n \r\n String originalString = seed + Integer.toString(blockNumber) + previousHash + transactionListString + accountBalanceMapString;\r\n \r\n try\r\n {\r\n // Create message digest\r\n MessageDigest digest = MessageDigest.getInstance(\"SHA-256\");\r\n \r\n // Create hashed value\r\n byte[] encodedHash = digest.digest(originalString.getBytes(StandardCharsets.UTF_8)); \r\n \r\n // Convert hashed value from bytes to hexadecimal\r\n StringBuffer hexString = new StringBuffer();\r\n for (int i = 0; i < encodedHash.length; i++)\r\n {\r\n String hex = Integer.toHexString(0xff & encodedHash[i]);\r\n if(hex.length() == 1)\r\n hexString.append('0');\r\n hexString.append(hex);\r\n }\r\n \r\n // Return hash\r\n return hexString.toString();\r\n }\r\n \r\n catch (Exception exception)\r\n {\r\n exception.printStackTrace(); \r\n \r\n // Print what exception has been thrown \r\n System.out.println(exception); \r\n }\r\n \r\n return null;\r\n }", "title": "" }, { "docid": "5c000f59173b1435a6b61bd82b41fc96", "score": "0.44792724", "text": "private void rehashing() {\n\t\tSystem.out.println(\"Metodo rehashing. A arvore ate este momento e': \");\n\t\timprime();\n\t\tTreeAVL[] aux = new TreeAVL[vetor.length];\n\t\t/*\n\t\t * Salva o vetor principal num temporario\n\t\t */\n\t\tfor (int i = 0; i < vetor.length; i++) {\n\t\t\tif (vetor[i] != null) {\n\t\t\t\taux[i] = vetor[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\\n\");\n\n\t\tint novoValor = Primo.proximoPrimo(vetor.length);\n\t\tvetor = new TreeAVL[novoValor];\n\t\tfor (int i = 0; i < aux.length; i++) {\n\n\t\t\tif (aux[i] != null) {\n\t\t\t\tpercorreArvore(aux[i].getRoot());\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"----Fim do Rehashing----\");\n\t}", "title": "" }, { "docid": "e25f7ee8ff6855ff2850a0dd7c07f0b5", "score": "0.44592685", "text": "private MessageDigest newDigest() {\n try {\n return MessageDigest.getInstance(DIGEST_ALGORITHM);\n } catch (NoSuchAlgorithmException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "a18a50053a94a5ba4390f0424860506c", "score": "0.44494274", "text": "protected void finalize(List<ReviewApplication> reviewApplications,\n Set<ReviewApplication> finalAssignment)\n throws ReviewAssignmentAlgorithmException {\n final long start = System.currentTimeMillis();\n final String signature = CLASS_NAME\n + \".finalize(List<ReviewApplication>, Map<ReviewApplication, ReviewApplicationRole>)\";\n Helper.logEntrance(this.getLog(), signature, new String[] { \"reviewApplications\",\n \"finalAssignment\" }, new Object[] { reviewApplications, finalAssignment });\n\n Helper.checkListIAE(this.getLog(), signature, reviewApplications, \"reviewApplications\");\n Helper.checkListIAE(this.getLog(), signature, finalAssignment, \"finalAssignment|key\");\n\n // do nothing here.\n\n Helper.logExit(this.getLog(), signature, null, start);\n }", "title": "" }, { "docid": "c59af3e7606b9502e7df24b400a409ad", "score": "0.4449069", "text": "public abstract String computeSignatureDigest(String secretKey);", "title": "" }, { "docid": "15734acf7e4762b5987de22620ed1251", "score": "0.44389078", "text": "int getFinalLength();", "title": "" }, { "docid": "4714b47d743878bd8eb017496731484f", "score": "0.44306853", "text": "private String computeHash(Map<String, Object> params) {\n\t\tTreeMap<String, Object> sortedParams = new TreeMap<String, Object>(params);\n\t\t// Url encode parameters.\n\t\tString query = AdflySimpleRestClient.buildQuery(sortedParams);\n\t\t\n\t\ttry {\n\t\t\tMac mac = Mac.getInstance(\"hmacSHA256\");\n\t\t\tSecretKeySpec secretKey = new SecretKeySpec(SECRET_KEY.getBytes(), \"hmacSHA256\");\n\t\t\tmac.init(secretKey);\n\t\t\tbyte[] digest = mac.doFinal(query.getBytes());\n\t\t\tStringBuilder hashBuilder = new StringBuilder();\n\t\t\t\n\t\t\tfor (byte b : digest) {\n\t\t\t\t// Format result as hexadecimal integer.\n\t\t\t\thashBuilder.append(String.format(\"%02x\", b));\n\t\t\t}\n\t\t\t\n\t\t\treturn hashBuilder.toString();\n\t\t} catch (NoSuchAlgorithmException e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t} catch (InvalidKeyException e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "title": "" }, { "docid": "5b7cefd02b147208cecb4dfb70196d22", "score": "0.44185257", "text": "protected void engineReset()\n {\n skipLeadingZeros = true;\n count = 0;\n evenBytes.reset();\n oddBytes.reset();\n sha.reset();\n }", "title": "" }, { "docid": "56dec094950f2b7e5e766a96daa61087", "score": "0.44079462", "text": "public Builder clearCacheKeySha() {\n bitField0_ = (bitField0_ & ~0x00000001);\n cacheKeySha_ = getDefaultInstance().getCacheKeySha();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4817c25021f1b3977a8169a230598b00", "score": "0.44053066", "text": "@Test\n public void storageHashCalc_1(){\n\n byte[] key1 = Hex.decode(\"0000000000000000000000000000000000000000000000000000000000000010\");\n byte[] key2 = Hex.decode(\"0000000000000000000000000000000000000000000000000000000000000014\");\n byte[] key3 = Hex.decode(\"0000000000000000000000000000000000000000000000000000000000000016\");\n byte[] key4 = Hex.decode(\"0000000000000000000000000000000000000000000000000000000000000017\");\n\n byte[] val1 = Hex.decode(\"947e70f9460402290a3e487dae01f610a1a8218fda\");\n byte[] val2 = Hex.decode(\"40\");\n byte[] val3 = Hex.decode(\"94412e0c4f0102f3f0ac63f0a125bce36ca75d4e0d\");\n byte[] val4 = Hex.decode(\"01\");\n\n Trie storage = new Trie(new org.ethereum.trie.MockDB());\n storage.update(key1, val1);\n storage.update(key2, val2);\n storage.update(key3, val3);\n storage.update(key4, val4);\n\n String hash = Hex.toHexString(storage.getRootHash());\n\n System.out.println(hash);\n Assert.assertEquals(\"517eaccda568f3fa24915fed8add49d3b743b3764c0bc495b19a47c54dbc3d62\", hash);\n }", "title": "" }, { "docid": "949c502bd78c91d206b6547e0c0bb224", "score": "0.4402818", "text": "String GetHash(){\n try{\n MessageDigest md = MessageDigest.getInstance(\"SHA-256\");\n byte[] messageDigest = md.digest(m_data);\n // Create Hex String\n StringBuilder hexString = new StringBuilder();\n for (byte aMessageDigest : messageDigest) {\n //convert byte to unsigned value, get hex string\n String h = Integer.toHexString(0xFF & aMessageDigest);\n //force hex bytes to be at least two characters wide with leading zero (ie. 'b' -> '0b')\n while (h.length() < 2)\n h = \"0\" + h;\n hexString.append(h);\n }\n return hexString.toString();\n }\n catch(NoSuchAlgorithmException e){\n e.printStackTrace();\n return \"\";\n }\n }", "title": "" }, { "docid": "33a7e4113d5b7be45a48e72b86ddbc0c", "score": "0.43966028", "text": "public Builder clearSha256() {\n bitField0_ = (bitField0_ & ~0x00000001);\n sha256_ = getDefaultInstance().getSha256();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1952c5b5f320aa84b4ca625c472f2b8a", "score": "0.4395691", "text": "private void endCompression()\n throws IOException\n {\n bsPutLong48(0x177245385090L);\n\n bsPutInt32(streamCRC);\n\n bsFinishedWithStream();\n }", "title": "" }, { "docid": "d62346cebca3b0484dd1901bba50fe55", "score": "0.43832552", "text": "private byte[] hash(final String algorithm, final byte[] key, final byte[] bytes)\n throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException {\n return instantiateMac(algorithm, key).doFinal(bytes);\n }", "title": "" }, { "docid": "6389c2b7db6c486466fa6e2fa51ab004", "score": "0.4381441", "text": "public byte[] getHash() {\r\n\t\t\tif (!isDone()) {\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t\ttry {\r\n\t\t\t\tMessageDigest md = MessageDigest.getInstance(\"SHA-1\");\r\n\t\t\t\thash = md.digest(data.array());\r\n\t\t\t} catch (NoSuchAlgorithmException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t\treturn hash;\r\n\t\t}", "title": "" }, { "docid": "bed71cbd95e7fcb475ab3f0655513dbd", "score": "0.43812874", "text": "@Override\n public void execute() {\n MDigest mDigest;\n try (InputStream in = new BufferedInputStream(Files.newInputStream(pathToFile))) {\n mDigest = new MDigest(in, MessageDigest.getInstance(\"SHA-256\"));\n } catch (IOException e) {\n System.out.println(\"Error occurred while trying to read a file.\");\n return;\n } catch (NoSuchAlgorithmException ex) {\n// Never gonna happen.\n return;\n }\n\n if (mDigest.matches(expectedDigest)) {\n System.out.format(\"Digesting completed. Digest of %s matches expected digest.%n\", pathToFile.toString());\n return;\n }\n\n System.out.format(\"Digesting completed. Digest of %s does not match the expected digest. \" +\n \"Digest was: %s%n\", pathToFile.toString(), mDigest.toString());\n }", "title": "" }, { "docid": "af9f6030b6014fcded42f6ce204339ee", "score": "0.4376731", "text": "private void calculationDone() {\r\n\t\tcalculationDone = true;\r\n\t}", "title": "" }, { "docid": "cb3157b99dccbe96d7c282d64232f935", "score": "0.4371771", "text": "@Override\n protected byte[] computeBlockDigest(int leafIndex, byte[] content, int offset, int length) {\n byte[] blockDigest = null;\n try {\n blockDigest = CCNDigestHelper.digest(ContentObject.prepareContent(segmentName(leafIndex), segmentSignedInfo(leafIndex), content, offset, length));\n if (Log.isLoggable(Log.FAC_SIGNING, Level.INFO)) {\n Log.info(\"offset: \" + offset + \" block length: \" + length + \" blockDigest \" + DataUtils.printBytes(blockDigest) + \" content digest: \" + DataUtils.printBytes(CCNDigestHelper.digest(content, offset, length)));\n }\n } catch (ContentEncodingException e) {\n Log.info(\"Exception in computeBlockDigest, leaf: \" + leafIndex + \" out of \" + numLeaves() + \" type: \" + e.getClass().getName() + \": \" + e.getMessage());\n }\n return blockDigest;\n }", "title": "" }, { "docid": "6cb4b9a3ca2cbc7e4bf73bc8c35a290a", "score": "0.43630695", "text": "public void clearFinalizeValues() {\n\t\tthis.keyFinalized = false;\n\t\tthis.valueFinalized = false;\n\t}", "title": "" }, { "docid": "71c248892af0424daf6c4154f0bf9233", "score": "0.43538225", "text": "private void clearHash() {\n try (Jedis jedis = POOL.getResource()) {\n Transaction transaction = jedis.multi();\n transaction.unlink(redisKey);\n transaction.hset(redisKey, EMPTY_FIELD_TOKEN, EMPTY_FIELD_TOKEN);\n transaction.expire(redisKey, KEY_TTL);\n transaction.exec();\n }\n }", "title": "" }, { "docid": "b20c4245bf37037302af5dc013c43ef8", "score": "0.4338547", "text": "private static byte[] computeContentsHash(File f) throws IOException {\n\t\t\tFileChannel fc = null;\n\t\t\ttry {\n\t\t\t\tif (digester == null) {\n\t\t\t\t\tdigester = MessageDigest.getInstance(\"SHA-1\");\n\t\t\t\t}\n\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(1024 * 1024);\n\t\t\t\tif (f != null && f.exists() && f.canRead()) {\n\t\t\t\t\tfc = new RandomAccessFile(f, \"r\").getChannel();\n\t\t\t\t\twhile (fc.position() < fc.size()) {\n\t\t\t\t\t\tfc.read(buffer);\n\t\t\t\t\t\tbuffer.flip();\n\t\t\t\t\t\tdigester.update(buffer.array(), 0, buffer.limit());\n\t\t\t\t\t\tbuffer.clear();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tlogger.info(\"no such file {} - using empty contents\", f);\n\t\t\t\t}\n\n\t\t\t\tbyte[] output = digester.digest();\n\t\t\t\tdigester.reset();\n\t\t\t\tbuffer.clear();\n\t\t\t\tif (fc != null) {\n\t\t\t\t\tfc.close();\n\t\t\t\t\tfc = null;\n\t\t\t\t}\n\t\t\t\treturn output;\n\t\t\t} catch (Throwable e) {\n\t\t\t\tthrow new IOException(\"Error hashing\" + f + \"; see log\", e);\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (fc != null) {\n\t\t\t\t\t\tfc.close();\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tlogger.error(\"Error closing file-channel after hashing {}\",\n\t\t\t\t\t\t\tf, e);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "b0468836b12adb5ebafe1e9fe34bb986", "score": "0.43349367", "text": "public void initDigest(boolean digest) throws NoSuchAlgorithmException {\n synchronized (algoSemaphore) {\n if (digest) {\n try {\n digestAlgo = MessageDigest.getInstance(\"MD5\");\n digestAlgo.reset();\n } catch (NoSuchAlgorithmException ex) {\n digestAlgo = null;\n throw ex;\n }\n } else {\n digestAlgo = null;\n }\n }\n }", "title": "" }, { "docid": "420b7814a332e5421bcbfc0c93fcb885", "score": "0.4329762", "text": "public int queryAutofetchHash() {\n/* 689 */ return calculateHash(null);\n/* */ }", "title": "" }, { "docid": "d46202b823c330869b572376b938c5b0", "score": "0.4328348", "text": "private static synchronized byte[] checksum(byte[] data) throws IOException, NoSuchAlgorithmException {\n\t\tMessageDigest digest = MessageDigest.getInstance(\"SHA-256\");\n\t\tbyte[] checksum = digest.digest(data);\n\t\treturn checksum;\n\t}", "title": "" }, { "docid": "f21ed1d1d3d226fed3ed2f696b8eaab4", "score": "0.43158737", "text": "public String calculateStateHash(String data) {\n\n\t\ttry {\n\t\t\tthis.messageDigest.update(data.getBytes());\n\n\t\t\t// The digest is reset after this call is made\n\t\t\tbyte[] raw = this.messageDigest.digest();\n\n\t\t\treturn new String(raw);\n\n\t\t} catch (Exception e) {\n\t\t\tString errorMessage = HDIVUtil.getMessage(\"hash.digest\");\n\t\t\tthrow new HDIVException(errorMessage, e);\n\t\t}\n\t}", "title": "" }, { "docid": "36dcff95364fa73ca2734eedb073dce3", "score": "0.43017825", "text": "private void finishOnDone() {\n AccountSetupColor.actionSetColor(this, mAccount, mEasFlowMode);\n finish();\n }", "title": "" }, { "docid": "464ce6f1cc1c0a09794883911e19cf98", "score": "0.42983493", "text": "static String generateDigest(boolean passwordAlreadyEncoded, String username, String realm, String password,\n\t\t\tString httpMethod, String uri, String qop, String nonce, String nc, String cnonce)\n\t\t\tthrows IllegalArgumentException {\n\t\tString a2 = httpMethod + \":\" + uri;\n\t\tString a1Md5 = (!passwordAlreadyEncoded) ? DigestAuthUtils.encodePasswordInA1Format(username, realm, password)\n\t\t\t\t: password;\n\t\tString a2Md5 = md5Hex(a2);\n\t\tif (qop == null) {\n\t\t\t// as per RFC 2069 compliant clients (also reaffirmed by RFC 2617)\n\t\t\treturn md5Hex(a1Md5 + \":\" + nonce + \":\" + a2Md5);\n\t\t}\n\t\tif (\"auth\".equals(qop)) {\n\t\t\t// As per RFC 2617 compliant clients\n\t\t\treturn md5Hex(a1Md5 + \":\" + nonce + \":\" + nc + \":\" + cnonce + \":\" + qop + \":\" + a2Md5);\n\t\t}\n\t\tthrow new IllegalArgumentException(\"This method does not support a qop: '\" + qop + \"'\");\n\t}", "title": "" }, { "docid": "d586ca3939cf7db56078719ffb7c882d", "score": "0.42846507", "text": "public Hash ()\r\n\t{\r\n\t\talgorithm = \"SHA-256\";\r\n\t\tsaltLength = DEFAULT_SALT_LENGTH;\r\n\t}", "title": "" }, { "docid": "ead11c7ff5f59b34c2399a50ae970eaa", "score": "0.42722422", "text": "public void reset()\r\n/* 120: */ {\r\n/* 121:136 */ this.checksum.reset();\r\n/* 122: */ }", "title": "" }, { "docid": "9411f7843f96ddaac7d6e6383b00738a", "score": "0.4268191", "text": "public byte[] getDigestBytes() {\n\t\ttry {\n\t\t\t// Make a clone because #digest() will reset the MessageDigest instance\n\t\t\t// and we want to be able to use this class for running digests on circuits\n\t\t\tfinal MessageDigest clone = (MessageDigest) digestInstance.clone();\n\t\t\treturn clone.digest();\n\t\t} catch (CloneNotSupportedException e) {\n\t\t\tthrow new TorException(e);\n\t\t}\n\t}", "title": "" }, { "docid": "1972d122c358cc840d932a1c862ce35e", "score": "0.42545202", "text": "public void makeFinal() {\n finalState = true;\n }", "title": "" }, { "docid": "0dbc211d9fad458dffe688699c73592e", "score": "0.4244893", "text": "@SuppressWarnings(\"unused\")\n\tprivate String toHexadecimal(byte[] digest){\n String hash = \"\";\n for(byte aux : digest) {\n int b = aux & 0xff;\n if (Integer.toHexString(b).length() == 1) hash += \"0\";\n hash += Integer.toHexString(b);\n }\n return hash;\n }", "title": "" }, { "docid": "a146911ea8dbf0bdc99563b45daaa9b0", "score": "0.42409813", "text": "boolean complete(final ChannelBuffer buffer) {\n ChannelBufferInputStream is;\n try {\n is = lh.macManager.verifyDigestAndReturnData(entryId, buffer);\n } catch (BKDigestMatchException e) {\n logErrorAndReattemptRead(\"Mac mismatch\", BKException.Code.DigestMatchException);\n return false;\n }\n\n if (!complete.getAndSet(true)) {\n entryDataStream = is;\n\n /*\n * The length is a long and it is the last field of the metadata of an entry.\n * Consequently, we have to subtract 8 from METADATA_LENGTH to get the length.\n */\n length = buffer.getLong(DigestManager.METADATA_LENGTH - 8);\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "dd1f83e0b575f8cecacbfb30f636b5b8", "score": "0.4234701", "text": "public Builder clearComponentHash() {\n bitField0_ = (bitField0_ & ~0x00000400);\n componentHash_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "87ff044378930c74fe6bcb4d73ff7142", "score": "0.42344436", "text": "private static String hash(String data){\n String hashText = null;\n try {\n MessageDigest md = MessageDigest.getInstance(\"MD5\");\n byte[] messageDigest = md.digest(data.getBytes());\n BigInteger number = new BigInteger(1, messageDigest);\n hashText = number.toString(16);\n while(hashText.length() <32){\n hashText = \"0\" + hashText;\n }\n } catch (Exception e) {\n }\n return hashText;\n \n }", "title": "" }, { "docid": "a1bec41063d41113b43ddcd97f42fb98", "score": "0.42334694", "text": "com.google.protobuf.ByteString\n getHashBytes();", "title": "" }, { "docid": "a1bec41063d41113b43ddcd97f42fb98", "score": "0.42334694", "text": "com.google.protobuf.ByteString\n getHashBytes();", "title": "" }, { "docid": "b755daacdd0b0301b68f18b9a3080098", "score": "0.4232357", "text": "public String digest() throws SMimeException {\n return digest(getDigestAlgorithm(), true);\n }", "title": "" }, { "docid": "f67a1cdbede28761580aa89c973b0071", "score": "0.42277294", "text": "byte[] calculateChecksum(byte[] header, byte[] data, int start, int len,\n int key_usage) throws GSSException {\n\n // total length\n int total = ((header != null ? header.length : 0) + len);\n\n // get_mic(\"plaintext-data\" | \"header\")\n byte[] buf = new byte[total];\n\n // data\n System.arraycopy(data, start, buf, 0, len);\n\n // token header\n if (header != null) {\n System.arraycopy(header, 0, buf, len, header.length);\n }\n\n // Krb5Token.debug(\"\\nAES calculate checksum on: \" +\n // Krb5Token.getHexBytes(buf));\n switch (etype) {\n case EncryptedData.ETYPE_AES128_CTS_HMAC_SHA1_96:\n try {\n byte[] answer = Aes128.calculateChecksum(keybytes, key_usage,\n buf, 0, total);\n // Krb5Token.debug(\"\\nAES128 checksum: \" +\n // Krb5Token.getHexBytes(answer));\n return answer;\n } catch (GeneralSecurityException e) {\n GSSException ge = new GSSException(GSSException.FAILURE, -1,\n \"Could not use AES128 signing algorithm - \" +\n e.getMessage());\n ge.initCause(e);\n throw ge;\n }\n\n case EncryptedData.ETYPE_AES256_CTS_HMAC_SHA1_96:\n try {\n byte[] answer = Aes256.calculateChecksum(keybytes, key_usage,\n buf, 0, total);\n // Krb5Token.debug(\"\\nAES256 checksum: \" +\n // Krb5Token.getHexBytes(answer));\n return answer;\n } catch (GeneralSecurityException e) {\n GSSException ge = new GSSException(GSSException.FAILURE, -1,\n \"Could not use AES256 signing algorithm - \" +\n e.getMessage());\n ge.initCause(e);\n throw ge;\n }\n\n default:\n throw new GSSException(GSSException.FAILURE, -1,\n \"Unsupported encryption type: \" + etype);\n }\n }", "title": "" }, { "docid": "98d90d170f6bd3d97b3f4aeb9b670360", "score": "0.4207084", "text": "public int doFinal(byte[] out, int outOff)\n {\n\n byte[] s = new byte[64];\n haraka512Perm(s);\n xor(s, 8, buffer, 8, out, outOff , 8);\n xor(s, 24, buffer, 24, out, outOff + 8, 16);\n xor(s, 48, buffer, 48, out, outOff + 24, 8);\n\n reset();\n\n return s.length;\n }", "title": "" }, { "docid": "3c09489c66fa707bf9cdd32a512f6549", "score": "0.42068177", "text": "public Builder clearBlockHash() {\n \n blockHash_ = getDefaultInstance().getBlockHash();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3c09489c66fa707bf9cdd32a512f6549", "score": "0.42068177", "text": "public Builder clearBlockHash() {\n \n blockHash_ = getDefaultInstance().getBlockHash();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3c09489c66fa707bf9cdd32a512f6549", "score": "0.42068177", "text": "public Builder clearBlockHash() {\n \n blockHash_ = getDefaultInstance().getBlockHash();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3c09489c66fa707bf9cdd32a512f6549", "score": "0.42068177", "text": "public Builder clearBlockHash() {\n \n blockHash_ = getDefaultInstance().getBlockHash();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "922f4901b52edf4ebd9ce24d3199275f", "score": "0.41925442", "text": "public void resetResolvedPadding() {\n resetResolvedPaddingInternal();\n }", "title": "" }, { "docid": "897a743249cbad1422db989f6a9fbf74", "score": "0.41913465", "text": "protected void encryptFinal() throws IOException {\n inBuffer.flip();\n outBuffer.clear();\n\n try {\n cipher.doFinal(inBuffer, outBuffer);\n } catch (final GeneralSecurityException e) {\n throw new IOException(e);\n }\n\n inBuffer.clear();\n outBuffer.flip();\n\n // write to output\n while (outBuffer.hasRemaining()) {\n output.write(outBuffer);\n }\n }", "title": "" }, { "docid": "315e4863870863ceb89eb9f3dd9bb928", "score": "0.41879126", "text": "static byte[] computeHkdf(\n String macAlgorithm, final byte[] ikm, final byte[] salt, final byte[] info, int size) {\n Mac mac = null;\n try {\n mac = Mac.getInstance(macAlgorithm);\n } catch (NoSuchAlgorithmException e) {\n throw new RuntimeException(\"No such algorithm: \" + macAlgorithm, e);\n }\n if (size > 255 * mac.getMacLength()) {\n throw new RuntimeException(\"size too large\");\n }\n try {\n if (salt == null || salt.length == 0) {\n // According to RFC 5869, Section 2.2 the salt is optional. If no salt is provided\n // then HKDF uses a salt that is an array of zeros of the same length as the hash\n // digest.\n mac.init(new SecretKeySpec(new byte[mac.getMacLength()], macAlgorithm));\n } else {\n mac.init(new SecretKeySpec(salt, macAlgorithm));\n }\n byte[] prk = mac.doFinal(ikm);\n byte[] result = new byte[size];\n int ctr = 1;\n int pos = 0;\n mac.init(new SecretKeySpec(prk, macAlgorithm));\n byte[] digest = new byte[0];\n while (true) {\n mac.update(digest);\n mac.update(info);\n mac.update((byte) ctr);\n digest = mac.doFinal();\n if (pos + digest.length < size) {\n System.arraycopy(digest, 0, result, pos, digest.length);\n pos += digest.length;\n ctr++;\n } else {\n System.arraycopy(digest, 0, result, pos, size - pos);\n break;\n }\n }\n return result;\n } catch (InvalidKeyException e) {\n throw new RuntimeException(\"Error MACing\", e);\n }\n }", "title": "" }, { "docid": "82e2424b4162859188ac816a98e11cb6", "score": "0.4182036", "text": "public DigestDataOutput(MessageDigest digest) {\r\n this.digest = digest;\r\n digest.reset();\r\n }", "title": "" }, { "docid": "38f4b4fa790d2d23ba2c24b7aa8b0b2a", "score": "0.41818395", "text": "private void clearAppHash() {\n this.bitField0_ &= -65;\n this.appHash_ = 0;\n }", "title": "" }, { "docid": "b34d1661174e516ecc1a141a3f215784", "score": "0.41709176", "text": "private String hash(String password) {\n md.reset();\n md.update(password.getBytes());\n byte[] bytes = md.digest();\n StringBuilder sb = new StringBuilder(2 * bytes.length);\n for (byte b : bytes) {\n sb.append(\"0123456789abcdef\".charAt((b & 0xF0) >> 4));\n sb.append(\"0123456789abcdef\".charAt((b & 0x0F)));\n }\n return sb.toString();\n }", "title": "" }, { "docid": "4f05d95db69ced50c3cdbe5af7def330", "score": "0.41593337", "text": "private void clearInstallerHash() {\n this.bitField0_ &= -257;\n this.installerHash_ = 0;\n }", "title": "" }, { "docid": "8fcd65e05f5b242366c0790e22f8753a", "score": "0.4158852", "text": "final long computeZobristHash() {\n long hash = 0;\n for (int sq = 0; sq < 64; sq++) {\n int p = squares[sq];\n hash ^= psHashKeys[p][sq];\n if ((p == Piece.WPAWN) || (p == Piece.BPAWN))\n pHashKey ^= psHashKeys[p][sq];\n }\n if (whiteTurn)\n hash ^= whiteHashKey;\n hash ^= castleHashKeys[castleMask];\n hash ^= epHashKeys[(epSquare >= 0) ? getX(epSquare) + 1 : 0];\n return hash;\n }", "title": "" }, { "docid": "be45b5780cf52c1846077f9f65cf617b", "score": "0.4150456", "text": "@Override\n public String generateSha(String text, String digestOption){\n\n String hexString;\n try{\n hexString = Hex.encodeHexString(this.encrypt(text, digestOption));\n return hexString;\n }catch (Exception e){\n LOGGER.error(String.format(\"Error Generating SHA-512 %s\",e.getMessage()));\n }\n\n return null;\n }", "title": "" }, { "docid": "3bd2e61323fee74e3b80c675572e0e05", "score": "0.41472957", "text": "public Builder clearMergeCommitSha() {\n bitField0_ = (bitField0_ & ~0x00000004);\n mergeCommitSha_ = getDefaultInstance().getMergeCommitSha();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "473dbbd36f87d075eda02b512cb8ab36", "score": "0.4147131", "text": "private byte[] digest(final String input) {\n return digest(getBytes(input));\n }", "title": "" }, { "docid": "f0cf91b81699631a9b7b6430dc5b0fe9", "score": "0.41413626", "text": "public String decrypt (){\n System.out.println (\"Decrypt is \"+ generateHash (data())); \n return generateHash (data()); // should be this \n }", "title": "" }, { "docid": "2e2870caa6e4e088a77bd20bf1250d8f", "score": "0.4139186", "text": "public void refreshMapHashes() {\n if(initialized) {\n UnitsyncLibrary.UnInit();\n }\n \n // Initialize unitsync\n UnitsyncLibrary.Init(false, 0);\n initialized = true;\n \n // Initialize map indexes\n mapIndexes = new HashMap<String, Integer>();\n mapChecksums = new HashMap<Integer, String>();\n\n // Populate map indexes and sums\n int n = UnitsyncLibrary.GetMapCount();\n for (int i = 0; i < n; i++) {\n String archiveName = UnitsyncLibrary.GetMapName(i).getString(0);\n mapIndexes.put(archiveName, i);\n mapChecksums.put(UnitsyncLibrary.GetMapChecksumFromName(archiveName), archiveName);\n //System.out.println(archiveName + \" hashes to \" + UnitsyncLibrary.GetMapChecksumFromName(archiveName));\n }\n }", "title": "" }, { "docid": "525034c3f4a713ebc7dde34846b496c0", "score": "0.41374427", "text": "com.google.protobuf.ByteString\n getHashBytes();", "title": "" }, { "docid": "88a6bea1c5f53bf3396308a641fdd710", "score": "0.4127096", "text": "public void complete() {\n completedFlag.set(true);\n progress = 1.0;\n }", "title": "" }, { "docid": "a14dab590e85511349cf1c5763e2c033", "score": "0.41183823", "text": "public final void finalize() {\n m5363a();\n }", "title": "" }, { "docid": "a467a87d50522623fbd54903bdf0100d", "score": "0.41170394", "text": "private Long checksum(final ValueMap properties) {\n return 1L;\n }", "title": "" }, { "docid": "99dd5a73343df608b6e38eb2a31bbaab", "score": "0.41123134", "text": "public void setDigest(String digest)\n/* */ {\n/* 208 */ this.digest = digest;\n/* */ }", "title": "" } ]
fc2085352bb3b5b723665c78ebb6323b
Utility method that determines whether or not a packet is a key frame.
[ { "docid": "b3b8b1903f7dd9dcd7458d7746840f1a", "score": "0.6970383", "text": "boolean isKeyFrame(RawPacket pkt);", "title": "" } ]
[ { "docid": "c9d24f5ace4d6016496757f377bf4685", "score": "0.6534858", "text": "public boolean keyFrameRequest();", "title": "" }, { "docid": "c9d24f5ace4d6016496757f377bf4685", "score": "0.6534858", "text": "public boolean keyFrameRequest();", "title": "" }, { "docid": "f8bd09a1403e027e12d16236579bcb1d", "score": "0.6389869", "text": "boolean hasPacketHead();", "title": "" }, { "docid": "f8bd09a1403e027e12d16236579bcb1d", "score": "0.6389869", "text": "boolean hasPacketHead();", "title": "" }, { "docid": "f8bd09a1403e027e12d16236579bcb1d", "score": "0.6389869", "text": "boolean hasPacketHead();", "title": "" }, { "docid": "f8bd09a1403e027e12d16236579bcb1d", "score": "0.6389869", "text": "boolean hasPacketHead();", "title": "" }, { "docid": "3fd9214ca264627d224c348a376b47a4", "score": "0.63005084", "text": "boolean hasPacketid();", "title": "" }, { "docid": "3fd9214ca264627d224c348a376b47a4", "score": "0.63005084", "text": "boolean hasPacketid();", "title": "" }, { "docid": "3fd9214ca264627d224c348a376b47a4", "score": "0.63005084", "text": "boolean hasPacketid();", "title": "" }, { "docid": "3fd9214ca264627d224c348a376b47a4", "score": "0.63005084", "text": "boolean hasPacketid();", "title": "" }, { "docid": "3fd9214ca264627d224c348a376b47a4", "score": "0.63005084", "text": "boolean hasPacketid();", "title": "" }, { "docid": "3fd9214ca264627d224c348a376b47a4", "score": "0.63005084", "text": "boolean hasPacketid();", "title": "" }, { "docid": "fba0d3b0fde1554d02a0fb8215c31eaa", "score": "0.6175785", "text": "public boolean keyFlag() {\r\n return (header.flags & 0x8) != 0;\r\n }", "title": "" }, { "docid": "b83f05763c214960024de50902227661", "score": "0.6151218", "text": "protected boolean isZrtpPacket() \n {\n if ((buffer[offset] & 0x10) == 0x10) \n {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "3d9ed09b065e84e9fbf9abc9be39e4d5", "score": "0.59997094", "text": "boolean hasKeyCode();", "title": "" }, { "docid": "3d9ed09b065e84e9fbf9abc9be39e4d5", "score": "0.59997094", "text": "boolean hasKeyCode();", "title": "" }, { "docid": "9282fbdece0ea5db8797654048764f07", "score": "0.59836155", "text": "public boolean hasKeyCode() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "9282fbdece0ea5db8797654048764f07", "score": "0.59836155", "text": "public boolean hasKeyCode() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "f98fb44f54fab12f908a66f798d1d795", "score": "0.5983251", "text": "public boolean hasPacketHead() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "f98fb44f54fab12f908a66f798d1d795", "score": "0.5983251", "text": "public boolean hasPacketHead() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "f98fb44f54fab12f908a66f798d1d795", "score": "0.5983251", "text": "public boolean hasPacketHead() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "f98fb44f54fab12f908a66f798d1d795", "score": "0.5983251", "text": "public boolean hasPacketHead() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "4979c34f352ef3e5d3ebb1ac1740272e", "score": "0.5952592", "text": "public boolean hasPacketHead() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "4979c34f352ef3e5d3ebb1ac1740272e", "score": "0.5952592", "text": "public boolean hasPacketHead() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "4979c34f352ef3e5d3ebb1ac1740272e", "score": "0.5952592", "text": "public boolean hasPacketHead() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "4979c34f352ef3e5d3ebb1ac1740272e", "score": "0.5952592", "text": "public boolean hasPacketHead() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "801dba616491a9e6a82742598e8a372f", "score": "0.59358335", "text": "public boolean hasKeyCode() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "801dba616491a9e6a82742598e8a372f", "score": "0.59358335", "text": "public boolean hasKeyCode() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "12a3987b6a676dfbeb52e9bf4b260bf6", "score": "0.5885609", "text": "public boolean hasVroverlayKey() {\n return ((bitField0_ & 0x00000400) == 0x00000400);\n }", "title": "" }, { "docid": "a0129d6746556e4afc04e12d125c555b", "score": "0.5884949", "text": "abstract boolean isKey(String key);", "title": "" }, { "docid": "bcb00d044bbf968f53739b124c0c2684", "score": "0.5871009", "text": "public boolean isKey(){\r\n return isKey;\r\n }", "title": "" }, { "docid": "bee317e1fe921b025313acd7c77e2bf9", "score": "0.58513784", "text": "boolean isKeyFrame(byte[] buf, int off, int len);", "title": "" }, { "docid": "4d071e12ae3b4b8a13e55d44e3fb56d5", "score": "0.58381516", "text": "public boolean hasVroverlayKey() {\n return ((bitField0_ & 0x00000400) == 0x00000400);\n }", "title": "" }, { "docid": "9a6ce2b29738ae6b7bbdf5b8ce992aaa", "score": "0.5835084", "text": "public boolean hasKey() throws SdpParseException {\n String key = getKeyData();\n return key != null;\n }", "title": "" }, { "docid": "7c6714ff99444ef58941d018d9f3955c", "score": "0.57622313", "text": "boolean hasVroverlayKey();", "title": "" }, { "docid": "be22acd0fc56cf580ebedcbd29837675", "score": "0.5733936", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "be22acd0fc56cf580ebedcbd29837675", "score": "0.5733936", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "be22acd0fc56cf580ebedcbd29837675", "score": "0.5733936", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "be22acd0fc56cf580ebedcbd29837675", "score": "0.57320356", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "a03da2cea515e7190716da59eab03757", "score": "0.56952006", "text": "public boolean isKeyDown(int key) { return (key >= 0 && key < 1024) ? (keyPushed[key]) : false; }", "title": "" }, { "docid": "8e6225376db750b6c08e020b20f266d8", "score": "0.5682584", "text": "boolean hasFrameFormat();", "title": "" }, { "docid": "2a1b41a88deaeed920f3dbdb91a77a74", "score": "0.56740826", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "a2f2640d876adc6297df287a0f06a9d9", "score": "0.5673764", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "2a1b41a88deaeed920f3dbdb91a77a74", "score": "0.5672984", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "2a1b41a88deaeed920f3dbdb91a77a74", "score": "0.5672984", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "2a1b41a88deaeed920f3dbdb91a77a74", "score": "0.5672984", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "474a039189f484b5df0d2e0a4bd53475", "score": "0.5670841", "text": "public boolean isKeyFrame(double frame)\n \t\t\t{\n \t\t\tif(frameBefore==null || frameAfter==null)\n \t\t\t\treturn false;\n \t\t\telse return frameBefore==frame || frameAfter==frame;\n \t\t\t}", "title": "" }, { "docid": "3138b5f6c22bd723ca68d6375e7532c8", "score": "0.5614292", "text": "boolean isKeyAvailable(String key);", "title": "" }, { "docid": "b8b098d1a4ee817b627619bb8e128a21", "score": "0.56103885", "text": "public boolean hasStandKey1() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "title": "" }, { "docid": "8e7a40115396f1eb8a0f6b058a22ad1d", "score": "0.5608439", "text": "public boolean hasKey() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "646d0f0ff4ea54616bd8983c1fd7a1e7", "score": "0.5604638", "text": "protected boolean isFrame ()\n {\n return frame != null;\n }", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.560045", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.560045", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.560045", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.560045", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.560045", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.560045", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.560045", "text": "boolean hasKey();", "title": "" }, { "docid": "f9a976fda0ccab93c82919e7293deb14", "score": "0.560045", "text": "boolean hasKey();", "title": "" }, { "docid": "b9ba4a1f1a8d306203c6f3835f733ea6", "score": "0.5579417", "text": "public boolean isKeyDown(int keycode);", "title": "" }, { "docid": "edb81dbf1f847ad8ba602194c5d393c4", "score": "0.55689543", "text": "private boolean isMarkerPacket(RtpPacket rtpPacket) {\r\n \t\r\n if ( null == rtpPacket ){\r\n log.error(\"error input parameter\");\r\n return true ;\r\n }\r\n /*\r\n \t * FreeSWITCH sends a marker packet at the beginning of the voice frame.\r\n \t * If you stop talking and then start talking, a marker packet is received on start talking. (ralam sept 20, 2010).\r\n \t */\r\n\t\tif (rtpPacket.hasMarker()) {\r\n\t\t\tif (log.isDebugEnabled())\r\n\t\t\t\tlog.debug(\"Marked packet [\" + rtpPacket.getPayloadType() + \", length=\" + rtpPacket.getPayloadLength() + \"] seqNum[rtpSeqNum=\" + rtpPacket.getSeqNum() + \",lastSeqNum=\" + lastSequenceNumber \r\n \t\t\t\t\t+ \"][rtpTS=\" + rtpPacket.getTimestamp() + \",lastTS=\" + lastPacketTimestamp + \"][port=\" + rtpSocket.getDatagramSocket().getLocalPort() + \"]\"); \t\t\t\t \t\t\t\r\n \t\t\treturn true;\r\n\t\t} \t\r\n\r\n\t\treturn false;\r\n }", "title": "" }, { "docid": "9a50480310c0bb6a2ab9de9d8acfaab5", "score": "0.5552586", "text": "public boolean hasFrameFormat() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "5b00af3ac0cecfe3499a4a2393612ebe", "score": "0.5545799", "text": "boolean hasStandKey2();", "title": "" }, { "docid": "5ecb238caa0ed344e76a5dafdfe11b12", "score": "0.5533021", "text": "boolean hasStandKey3();", "title": "" }, { "docid": "4ef9feb0be30b9d0454c51ab1bb574b2", "score": "0.55267775", "text": "public boolean hasKeyid() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "40f4922d207e2a8f43f6f6a83aa988d9", "score": "0.55192834", "text": "private boolean shouldHandlePacket(RtpPacket rtpPacket) {\r\n \r\n if ( null == rtpPacket ){\r\n log.error(\"error input parameter\");\r\n return true ;\r\n }\r\n\t\t/** Take seq number only into account and not timestamps. Seems like the timestamp sometimes change whenever the audio changes source.\r\n\t\t * For example, in FreeSWITCH, the audio prompt will have it's own \"start\" timestamp and then\r\n\t\t * another \"start\" timestamp will be generated for the voice. (ralam, sept 7, 2010).\r\n\t\t *\t&& packetIsNotCorrupt(rtpPacket)) {\r\n\t\t**/\r\n \t return isFirstPacket(rtpPacket) || isMarkerPacket(rtpPacket) || resetDueToSuccessiveDroppedPackets() || validSeqNum(rtpPacket) || seqNumRolledOver(rtpPacket); \t\t\t\r\n }", "title": "" }, { "docid": "e577111f17825bbb14518ba79df02200", "score": "0.5504603", "text": "public boolean hasFrameFormat() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "4c2270a8b4e9833df4c80142aebffd1b", "score": "0.54882556", "text": "public boolean validatePacketData() {\n return this.serviceId > 0;\n }", "title": "" }, { "docid": "74a7163787bbc5c162afd2eb858c885b", "score": "0.546608", "text": "public boolean hasKeyid() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "4b9ac8a83138e31cf1a7208b0a724697", "score": "0.5464611", "text": "boolean hasHwProto();", "title": "" }, { "docid": "4b9ac8a83138e31cf1a7208b0a724697", "score": "0.5463983", "text": "boolean hasHwProto();", "title": "" }, { "docid": "0ca7abd39347dde5491176d109b9711a", "score": "0.544743", "text": "public static boolean isKeyPressed(int key)\n {\n\treturn currentKeys[key] && !previousKeys[key];\n }", "title": "" }, { "docid": "759787d4f11f322dfb5329d409dcfa7b", "score": "0.5433351", "text": "public boolean fitsKey(T key) {\r\n if (reservedSpace + headerSize + bytesWritten + ((high + 1) * ptrSize)\r\n + key.byteSize() > buffer.capacity())\r\n return false;\r\n return true;\r\n }", "title": "" }, { "docid": "983ed331fe2e18b189b386b4b979be47", "score": "0.5416042", "text": "boolean hasPad();", "title": "" }, { "docid": "983ed331fe2e18b189b386b4b979be47", "score": "0.541509", "text": "boolean hasPad();", "title": "" }, { "docid": "d6c0ce9b75e1744e42eac45dabfbe04a", "score": "0.54073715", "text": "public boolean isKeyPressedInstant(int keyCode) {\n if (!this.isEnabled)\n return false;\n\n if (keyCode >= 0 && keyCode < 256) {\n boolean pressed = this.keyPressedInstant[keyCode] == 2;\n if (pressed)\n this.keyPressedInstant[keyCode] = 1;\n return pressed;\n }\n return false;\n }", "title": "" }, { "docid": "3c1c69d133744ec21debd4c5489d646a", "score": "0.5404623", "text": "static public boolean isTs(ByteBuffer buffer) {\n\n int buf_size = buffer.limit();\n\n for (int i =0 ; i < buf_size; i += 188) {\n if(buffer.get(i) != 0x47) return false;\n }\n return true;\n }", "title": "" }, { "docid": "3057400543118dc12a9fa8c9f5e81291", "score": "0.5391414", "text": "public boolean hasField3824() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "a4933f2fbfcb285478b1e01d2cdbfaa2", "score": "0.53819776", "text": "boolean hasVrOverlayKey();", "title": "" }, { "docid": "f843354216aec600052d4f6a9c4e5811", "score": "0.53755295", "text": "private boolean isValidKey(Object key) {\r\n\t\tif (key == null)\r\n\t\t\treturn false;\r\n\r\n\t\tString className = key.getClass().getName();\r\n\r\n\t\tswitch (className) {\r\n\t\tcase \"java.lang.String\":\r\n\t\tcase \"java.lang.Integer\":\r\n\t\t\treturn true;\r\n\t\tdefault:\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "9aed1135b4b0a41986802438111ed79a", "score": "0.5373555", "text": "public boolean hasStandKey1() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }", "title": "" }, { "docid": "a1c12f1e667926fa620d0d4f3d6febca", "score": "0.53679484", "text": "boolean hasAes128Parameters();", "title": "" }, { "docid": "7fd54543d18f28059282acc567937f7a", "score": "0.5367722", "text": "public static boolean isKeyDown(int key)\n {\n\treturn currentKeys[key];\n }", "title": "" }, { "docid": "e6155e4a0fbf053edf8b3b0715514e47", "score": "0.5365962", "text": "public boolean hasKey() {\n return fieldSetFlags()[2];\n }", "title": "" }, { "docid": "d5ee36aeb9dc87b4947b2677e6feb424", "score": "0.53505915", "text": "public boolean hasField12724() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "78a9e603696ab4e5fafceabf6b0553e4", "score": "0.5348927", "text": "boolean hasKey(ECKey key);", "title": "" }, { "docid": "ddaf2b1dff19efbda192652f8c6384fd", "score": "0.53425074", "text": "boolean hasStandKey1();", "title": "" }, { "docid": "9e79299533e6f8ccbfa6eee973b76418", "score": "0.53339106", "text": "public boolean hasField12724() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "8c4624bc84878ccab86f2655e298d1a2", "score": "0.53318083", "text": "boolean hasLastPktTime();", "title": "" }, { "docid": "8c4624bc84878ccab86f2655e298d1a2", "score": "0.53318083", "text": "boolean hasLastPktTime();", "title": "" }, { "docid": "f93f91d3104d0e5d8121142317fc6245", "score": "0.5328729", "text": "public boolean hasStandKey3() {\n return ((bitField0_ & 0x00000200) == 0x00000200);\n }", "title": "" }, { "docid": "ded601b83f7ee5d3b7aa0db5e5236c35", "score": "0.5326635", "text": "public static boolean isKeyJustPressed(int keycode) {\r\n\treturn keys[keycode] && !lastKeys[keycode];\r\n }", "title": "" }, { "docid": "23e333afdb6e79bf1fee41d4da9914b6", "score": "0.5308394", "text": "public boolean hasKpp() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "2d13ba3168b60c1a1b0be0590043b6af", "score": "0.5306358", "text": "public boolean isKeyPressed(int key)\n\t{\n\t\treturn keys[key];\n\t}", "title": "" }, { "docid": "718035e76d2d36f0fef1ce07927dfb4d", "score": "0.5303333", "text": "public boolean isPressed(KeyCode keyCode) {\n return keysPressed.contains(keyCode);\n }", "title": "" }, { "docid": "924db2c77f377067326d280d244437ff", "score": "0.5284928", "text": "public boolean hasStandKey2() {\n return ((bitField0_ & 0x00000200) == 0x00000200);\n }", "title": "" }, { "docid": "4dfedea1d45ae945162e8b9d6a142f66", "score": "0.52814776", "text": "public boolean hasField3824() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" }, { "docid": "03331129d4e327ec49bb0ff1e13700d6", "score": "0.52682483", "text": "public boolean hasKpp() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "08527f4c8d033b724a966eefbbd90798", "score": "0.52651215", "text": "public boolean hasStandKey3() {\n return ((bitField0_ & 0x00000400) == 0x00000400);\n }", "title": "" }, { "docid": "9fbe88218fd1d59d8213872f3349fbdb", "score": "0.52626234", "text": "public static boolean isBindingKey(TpmCertifyKey20 certifiedKey) {\n byte[] TPM_GENERATED = {(byte) 0xff, (byte) 0x54, (byte) 0x43, (byte) 0x47};\n byte[] TPM_ST_ATTEST_CERTIFY = {(byte) 0x80, (byte) 0x17};\n\n if (!TpmUtils.compareByteArrays(certifiedKey.getMagic(), TPM_GENERATED)) {\n log.debug(\"Invalid structure, it wasn't created by the TPM, got {}, expecting {}\", certifiedKey.getMagic(), TPM_GENERATED);\n return false;\n }\n if (!TpmUtils.compareByteArrays(certifiedKey.getType(), TPM_ST_ATTEST_CERTIFY)) {\n log.debug(\"Invalid type, not generated by TPM2_Certify(), got type: {}\", certifiedKey.getType());\n return false;\n }\n return true;\n }", "title": "" } ]
702ad35e5ca3420b2879812681489125
Read length float values into the specified destination array from the pointed memory location shifted by a byte offset, storing values after the provided destination offset.
[ { "docid": "110a06a00c927cea6faf9633f42c3445", "score": "0.71135366", "text": "public void getFloatsAtOffset(long byteOffset, float[] dest, int destOffset, int length) {\n \t\tgetFloatBufferAtOffset(byteOffset, length).get(dest, destOffset, length);\n }", "title": "" } ]
[ { "docid": "0cb69645650272ddd6ae2436605ae252", "score": "0.7614431", "text": "public native final void copyToFloatArray(long offset, float[] array, int size);", "title": "" }, { "docid": "1c75cbd2a02ff4712b1c0f3d71331e77", "score": "0.65018386", "text": "public native final void putFloatArray(long offset, float[] x);", "title": "" }, { "docid": "de13ee707dc710deb4d8400bcc19d90b", "score": "0.6415712", "text": "void write(float[] buffer, int len);", "title": "" }, { "docid": "5778a6f743a0284ee7c3dc1e10a840b7", "score": "0.63614565", "text": "public static float bytearray2float(byte[] data, int pos, int length) {\n byte[] dataReversed = new byte[length];\n for (int i = 0; i < length; i++) {\n dataReversed[length - i - 1] = data[pos + i];\n }\n ByteBuffer buf = ByteBuffer.wrap(dataReversed);\n return buf.getFloat();\n }", "title": "" }, { "docid": "900e66dfd6a5c8cfb1e1536ff9b309fc", "score": "0.63381135", "text": "public void getFloats(float[] dest) {\n \t\tgetFloatBuffer().get(dest);\n }", "title": "" }, { "docid": "46cffe1cac92c35a0096a6efb7a33291", "score": "0.627497", "text": "public static native void convertToFloat (ShortBuffer source, FloatBuffer target, int numSamples);", "title": "" }, { "docid": "4a1a04a91e963782264c7d6b2ddf6839", "score": "0.6272986", "text": "public Array readFloatData(LayoutRegular index, Variable v2) \r\n throws IOException { \r\n float[] var=(float[])(v2.read().get1DJavaArray(v2.getDataType().getPrimitiveClassType()));\r\n float[] data = new float[(int)index.getTotalNelems()]; \r\n while (index.hasNext()) { \r\n Layout.Chunk chunk=index.next(); \r\n System.arraycopy(var, (int)chunk.getSrcPos()/4, data, \r\n (int)chunk.getDestElem(), chunk.getNelems()); \r\n }\r\n return Array.factory(data);\r\n }", "title": "" }, { "docid": "4f97d33e051a2e236799f649388a28b9", "score": "0.62410057", "text": "public FloatBuffer getFloatBufferAtOffset(long byteOffset, long length) {\n long blen = 4 * length;\n \tlong checkedPeer = peer + byteOffset;\n\t\tif (validStart != UNKNOWN_VALIDITY)\n\t\t\tcheckPeer(checkedPeer, blen);\n ByteBuffer buffer = JNI.newDirectByteBuffer(checkedPeer, blen);\n buffer.order(order()); // mutates buffer order\n return buffer.asFloatBuffer();\n }", "title": "" }, { "docid": "9e3879ab9ea237150bf964cb3dc6e023", "score": "0.62070143", "text": "public Pointer<T> setFloatsAtOffset(long byteOffset, float[] values, int valuesOffset, int length) {\n \t \tlong checkedPeer = peer + byteOffset;\n\t\tif (validStart != UNKNOWN_VALIDITY)\n\t\t\tcheckPeer(checkedPeer, 4 * length);\n \tif (!isOrdered()) {\n \tJNI.set_float_array_disordered(checkedPeer, values, valuesOffset, length);\n \treturn this;\n \t}\n \t\tJNI.set_float_array(checkedPeer, values, valuesOffset, length);\n return this;\n\t}", "title": "" }, { "docid": "7643391ec6b9a3a6321a1f347c63298b", "score": "0.61239344", "text": "public final float[] convertByteArrayToFloatArray(String name, byte[] bytes, int start, int length, int byteOrder) {\n int expectedLength = start + (length * 4);\n if (bytes.length < expectedLength) {\n System.out.println(name + \": expected length: \" + expectedLength + \", actual length: \" + bytes.length);\n return null;\n }\n float[] result = new float[length];\n for (int i = 0; i < length; i++) {\n result[i] = convertByteArrayToFloat(name, bytes, (i * 4) + start, byteOrder);\n }\n return result;\n }", "title": "" }, { "docid": "fd126315f98009047706245b22efa4e4", "score": "0.6077165", "text": "public static float byteToFloat (byte[] arr, int start) {\r\n\t\tint i = 0;\r\n\t\tint len = 4;\r\n\t\tint count = 0;\r\n\t\tbyte[] tmp = new byte[len];\r\n\t\tfor (i = start; i < (start + len); i++) {\r\n\t\t\ttmp[count] = arr[i];\r\n\t\t\tcount++;\r\n\t\t}\r\n\t\tint accum = 0;\r\n\t\ti = 0;\r\n\t\tfor ( int shiftBy = 0; shiftBy < 32; shiftBy += 8 ) {\r\n\t\t\taccum |= ( (long)( tmp[i] & 0xff ) ) << shiftBy;\r\n\t\t\ti++;\r\n\t\t}\r\n\t\treturn Float.intBitsToFloat(accum);\r\n\t}", "title": "" }, { "docid": "02e36ca1c60e40386797a40472709bb1", "score": "0.60629797", "text": "public native final void putFloat(long offset, float x);", "title": "" }, { "docid": "bbdbf5804ebf8944952390491baf67d8", "score": "0.60569334", "text": "public static float convertFloatFromBytes(byte[] byteArray, int offset) {\n int number = convertIntFromBytes(byteArray, offset);\r\n return Float.intBitsToFloat(number);\r\n }", "title": "" }, { "docid": "f883a0423d92879927a097c74589b7d7", "score": "0.60158616", "text": "public Pointer<T> setFloatsAtOffset(long byteOffset, FloatBuffer values, long valuesOffset, long length) {\n if (values == null)\n\t\t\tthrow new IllegalArgumentException(\"Null values\");\n\t\t \tif (values.isDirect()) {\n long len = length * 4, off = valuesOffset * 4;\n long cap = JNI.getDirectBufferCapacity(values);\n // HACK (TODO?) the JNI spec says size is in bytes, but in practice on mac os x it's in elements !!!\n cap *= 4;\n\t\t\n if (cap < off + len)\n throw new IndexOutOfBoundsException(\"The provided buffer has a capacity (\" + cap + \" bytes) smaller than the requested write operation (\" + len + \" bytes starting at byte offset \" + off + \")\");\n \n \n \tlong checkedPeer = peer + byteOffset;\n\t\tif (validStart != UNKNOWN_VALIDITY)\n\t\t\tcheckPeer(checkedPeer, 4 * length);\n\t\t\tJNI.memcpy(checkedPeer, JNI.getDirectBufferAddress(values) + off, len);\n }\n else if (values.isReadOnly()) {\n getFloatBufferAtOffset(byteOffset, length).put(values.duplicate());\n } \n else {\n setFloatsAtOffset(byteOffset, values.array(), (int)(values.arrayOffset() + valuesOffset), (int)length);\n }\n return this;\n }", "title": "" }, { "docid": "e30e4cfb201bce2ffe21f55ecd24e0f4", "score": "0.600836", "text": "public float readFloat()\r\n/* 461: */ {\r\n/* 462:473 */ return this.buf.readFloat();\r\n/* 463: */ }", "title": "" }, { "docid": "a67f78764704bebecb08432e1259950d", "score": "0.59305406", "text": "float readFloat(int index);", "title": "" }, { "docid": "69706f450afbcf5c9acf244802789bb4", "score": "0.59131104", "text": "public float readFloat()\r\n {\n checkNextType(FLOATS);\r\n \r\n if(floatsPointer < floats.length)\r\n {\r\n return floats[floatsPointer++];\r\n }\r\n else\r\n {\r\n //just fallback to the original\r\n throw new FallbackException();\r\n }\r\n }", "title": "" }, { "docid": "d8438bbb2ccc4a5f383593cdcee75f73", "score": "0.59108967", "text": "public static float[] bytes2FloatArray(byte[] values){\n int p=0, r=0;\n float[] floats = new float[values.length/4];\n byte[] weight = new byte[4];\n for(int i=0; i< values.length; i++){\n if(p<4){\n weight[p] = values[i];\n p++;\n }\n else {\n p=0;\n float fl = ByteBuffer.wrap(weight).getFloat();\n floats[r] = fl;\n weight[p] = values[i];\n p++;\n r++;\n }\n }\n return floats;\n }", "title": "" }, { "docid": "44810f4ed8af2ad9df1ae41ec465d838", "score": "0.5845012", "text": "public Pointer<T> setFloatsAtOffset(long byteOffset, float[] values) {\n return setFloatsAtOffset(byteOffset, values, 0, values.length);\n }", "title": "" }, { "docid": "e661da727d91bdb0764c90eb4c44f085", "score": "0.5762769", "text": "public float[] getFloats(int length) {\n\t\treturn getFloatsAtOffset(0, length);\n }", "title": "" }, { "docid": "e01cb32829f2fbc72320fa40b6db2cdb", "score": "0.5738802", "text": "float readFloat() throws IOException;", "title": "" }, { "docid": "1f47d7d82169c1817a04943e8d67b59e", "score": "0.5696115", "text": "public final int Read(float[] buffer, int offset, int count)\n\t{\n\t\tvar samplesRead = source.Read(buffer, offset, count);\n\n\t\tfor (int n = 0; n < samplesRead; n += channels)\n\t\t{\n\t\t\tAdd(buffer[n + offset]);\n\t\t}\n\t\treturn samplesRead;\n\t}", "title": "" }, { "docid": "8de53811fff3c91c438b14c7e2d34a7d", "score": "0.5666515", "text": "public void getFloats(FloatBuffer dest) {\n \t\tdest.duplicate().put(getFloatBuffer());\n }", "title": "" }, { "docid": "5018cd1c6c46d73f1ad1908803a9bfa4", "score": "0.5640312", "text": "public Pointer<T> setFloatsAtOffset(long byteOffset, FloatBuffer values) {\n\t\treturn setFloatsAtOffset(byteOffset, values, 0, values.capacity());\n\t}", "title": "" }, { "docid": "76e51fc2168ed4a9490850c3d727cf52", "score": "0.5626734", "text": "public float[] readFloatArray(final int size) throws IOException\n {\n final float array[] = new float[size];\n for (int i = 0; i < size; i++)\n array[i] = readFloat();\n return array;\n }", "title": "" }, { "docid": "c10284bb5d26ce8329453ec483e5f3e3", "score": "0.55729854", "text": "public static float byteArrayToFloat(byte b[]) {\r\n\t\tint temp = 0;\r\n\t\tfor (int i = 0; i < 4; ++i) {\r\n\t\t\ttemp = temp | (b[3 - i] << (i * 8));\r\n\t\t}\r\n\r\n\t\tSystem.out.println(temp);\r\n\r\n\t\treturn Float.intBitsToFloat(temp);\r\n\t}", "title": "" }, { "docid": "716113a6c3f8c824f3ffe0efdc430fed", "score": "0.5542735", "text": "public float getFloat(int index)\r\n/* 239: */ {\r\n/* 240:255 */ return this.buf.getFloat(index);\r\n/* 241: */ }", "title": "" }, { "docid": "105bc394a2c058bcb2b10914ab2b8151", "score": "0.5537709", "text": "private float fromDPT(int index)\n\t{\n\t\tbyte[] bData = new byte[data.length];\n\t\tfor (int j = 0; j < data.length; j++)\n\t\t\tbData[j] = (byte) data[j];\n\t\t\n\t\t// wrap the byte array with a byte buffer object\n\t\tByteBuffer bBuffer = ByteBuffer.wrap(bData);\n\t\t\n\t\t// extract an IEEE754 float\n\t\treturn bBuffer.getFloat();\n\t}", "title": "" }, { "docid": "55479ab4f23bd514a90b4f37164660fc", "score": "0.55107427", "text": "float readFloat32() throws IOException;", "title": "" }, { "docid": "b30b67bff308a0270161b70e18f840f9", "score": "0.54980916", "text": "public static float[] byteArrayToFloatArray(byte barr[]) {\r\n\t\tFloatBuffer buffer = ByteBuffer.wrap(barr).order(ByteOrder.BIG_ENDIAN)\r\n\t\t\t\t.asFloatBuffer();\r\n\t\tfloat[] ints = new float[barr.length / 4];\r\n\t\tbuffer.get(ints);\r\n\t\treturn ints;\r\n\t}", "title": "" }, { "docid": "cc4837ad1524b8ff8cc1b67bf74f4fe5", "score": "0.54866433", "text": "public abstract double pack(ReadOnlyByteArray data, int offset, int length);", "title": "" }, { "docid": "dc88e27c0a16a3345cf3be4c04ca71c8", "score": "0.54858065", "text": "public float[] getFloats() {\n\t\tlong validBytes = getValidBytes(\"Cannot create array if remaining length is not known. Please use getFloats(int length) instead.\");\n\t\treturn getFloats((int)(validBytes / 4));\n }", "title": "" }, { "docid": "1a4fa21fa78063d1aff9b00035e1c4cb", "score": "0.5475026", "text": "public final synchronized float unpackFloat () throws IOException\n {\n if (!_valid)\n throw new IOException(tsLogger.i18NLogger.get_state_InputBuffer_8());\n\n _valid = false;\n\n float f = _input.readFloat();\n\n _valid = true;\n\n return f;\n }", "title": "" }, { "docid": "6c39f775afe1f23099707061c9ebaf6c", "score": "0.54361516", "text": "public final float convertByteArrayToFloat(String name, byte[] bytes, int start, int byteOrder) {\n int bits;\n byte byte0 = bytes[start + 0];\n byte byte1 = bytes[start + 1];\n byte byte2 = bytes[start + 2];\n byte byte3 = bytes[start + 3];\n if (byteOrder == 77) {\n bits = ((byte0 & 255) << 24) | ((byte1 & 255) << Tnaf.POW_2_WIDTH) | ((byte2 & 255) << 8) | ((byte3 & 255) << 0);\n } else {\n bits = ((byte3 & 255) << 24) | ((byte2 & 255) << Tnaf.POW_2_WIDTH) | ((byte1 & 255) << 8) | ((byte0 & 255) << 0);\n }\n return Float.intBitsToFloat(bits);\n }", "title": "" }, { "docid": "0bca95dd5e26ed9f053ac8716af890b3", "score": "0.5411346", "text": "public native final void copyToDoubleArray(long offset, double[] array, int size);", "title": "" }, { "docid": "d77c91cd38aa71a4711c661fbf3d6ed8", "score": "0.53818536", "text": "public native final void copyToInt8Array(long offset, byte[] array, int size);", "title": "" }, { "docid": "58a2315724715a5ae1bc2ca9a3b155b2", "score": "0.53552145", "text": "public void getDoublesAtOffset(long byteOffset, double[] dest, int destOffset, int length) {\n \t\tgetDoubleBufferAtOffset(byteOffset, length).get(dest, destOffset, length);\n }", "title": "" }, { "docid": "8da759687bac1fbf74797117ea93a812", "score": "0.5350884", "text": "private float[] GetFloatData() throws IOException\n\t\t{\n\t\t\tif (mainSignal == null || mainSignal.error())\n\t\t\t\treturn null;\n\t\t\treturn mainSignal.getData();\n\t\t}", "title": "" }, { "docid": "55416fd33f350e2cf8ec1b3ad3452523", "score": "0.53129584", "text": "public static float[] deserializeArrayFloat( DataInputStream din ) throws IOException\n\t{\n\tfloat[] af;\n\tif ( deserializeHeaderString( tagArrayFloat, din ) )\n\t {\n\t short len = din.readShort();\n\t af = new float[len];\n\t for ( int i = 0; i < len; ++i )\n\t\taf[i] = din.readFloat();\n\t }\n\telse\n\t af = null;\n\tdeserializeTrailerString( tagArrayFloat, din );\n\treturn af;\n\t}", "title": "" }, { "docid": "37339ef4e9ba65507549a12241d7ac5c", "score": "0.5288442", "text": "private Buffer fillBuffer(float[] array)\n {\n ByteBuffer bb = ByteBuffer.allocateDirect(4 * array.length); // each\n // float\n // takes 4\n // bytes\n bb.order(ByteOrder.LITTLE_ENDIAN);\n for (float d : array)\n bb.putFloat(d);\n bb.rewind();\n \n return bb;\n \n }", "title": "" }, { "docid": "cf556d5ecf010a1be4cbd9460d1e464a", "score": "0.52878183", "text": "private static float[] decodeFloatArray(Connection connection)\n throws IOException {\n int N = decodeInt(connection);\n float[] values = new float[N];\n\n for (int i = 0; i < N; i++) {\n values[i] = decodeFloat(connection);\n }\n\n return values;\n }", "title": "" }, { "docid": "6b9a74455c4dbf1015d221d582d29022", "score": "0.5281514", "text": "public float readFloat()\r\n/* 303: */ {\r\n/* 304: 318 */ return this.wrapped.readFloat();\r\n/* 305: */ }", "title": "" }, { "docid": "4bf843058cec03173d44b99845d80e16", "score": "0.5280443", "text": "public static float bytesToDoubleToFloat(byte[] bytes, int j, boolean isBigEndian) {\n {\n // IEEE754: sign (1 bit), exponent (11 bits), fraction (52 bits).\n // seeeeeee eeeeffff ffffffff ffffffff ffffffff xxxxxxxx xxxxxxxx xxxxxxxx\n // b1 b2 b3 b4 b5 ---------float ignores----\n\n if (fracIEEE == null)\n setFracIEEE();\n \n /**\n * @j2sNative\n * var o = javajs.util.BC;\n * var b1, b2, b3, b4, b5;\n * \n * if (isBigEndian) {\n * b1 = bytes[j] & 0xFF;\n * b2 = bytes[j + 1] & 0xFF;\n * b3 = bytes[j + 2] & 0xFF;\n * b4 = bytes[j + 3] & 0xFF;\n * b5 = bytes[j + 4] & 0xFF;\n * } else {\n * b1 = bytes[j + 7] & 0xFF;\n * b2 = bytes[j + 6] & 0xFF;\n * b3 = bytes[j + 5] & 0xFF;\n * b4 = bytes[j + 4] & 0xFF;\n * b5 = bytes[j + 3] & 0xFF;\n * }\n * var s = ((b1 & 0x80) == 0 ? 1 : -1);\n * var e = (((b1 & 0x7F) << 4) | (b2 >> 4)) - 1026;\n * b2 = (b2 & 0xF) | 0x10;\n * return s * (o.shiftIEEE(b2, e) + o.shiftIEEE(b3, e - 8) + o.shiftIEEE(b4, e - 16)\n * + o.shiftIEEE(b5, e - 24));\n */\n {\n double d;\n \n if (isBigEndian)\n d = Double.longBitsToDouble((((long) bytes[j]) & 0xff) << 56\n | (((long) bytes[j + 1]) & 0xff) << 48\n | (((long) bytes[j + 2]) & 0xff) << 40\n | (((long) bytes[j + 3]) & 0xff) << 32\n | (((long) bytes[j + 4]) & 0xff) << 24\n | (((long) bytes[j + 5]) & 0xff) << 16\n | (((long) bytes[j + 6]) & 0xff) << 8 \n | (((long) bytes[7]) & 0xff));\n else\n d = Double.longBitsToDouble((((long) bytes[j + 7]) & 0xff) << 56\n | (((long) bytes[j + 6]) & 0xff) << 48\n | (((long) bytes[j + 5]) & 0xff) << 40\n | (((long) bytes[j + 4]) & 0xff) << 32\n | (((long) bytes[j + 3]) & 0xff) << 24\n | (((long) bytes[j + 2]) & 0xff) << 16\n | (((long) bytes[j + 1]) & 0xff) << 8 \n | (((long) bytes[j]) & 0xff));\n return (float) d;\n }\n\n }\n }", "title": "" }, { "docid": "9c4c31c5d4655ea9a8fdb5dda1f04507", "score": "0.5241102", "text": "public float[] floatSplit (String source, String delimiter, int startIndex, int endIndex) {\n\t\tif (delimiter.length() == 0 || endIndex <= startIndex || startIndex < 0 || startIndex >= source.length())\n\t\t\treturn new float[0];\n\t\tint amount = count(source, delimiter, startIndex, endIndex);\n\t\tif (amount <= 0)\n\t\t\treturn new float[] {readFloat(source, startIndex, endIndex)};\n\t\tfloat[] splat = new float[amount + 1];\n\t\tint dl = delimiter.length(), idx = startIndex - dl, idx2;\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tsplat[i] = readFloat(source, idx + dl, idx = source.indexOf(delimiter, idx + dl));\n\t\t}\n\t\tif ((idx2 = source.indexOf(delimiter, idx + dl)) < 0 || idx2 >= endIndex) {\n\t\t\tsplat[amount] = readFloat(source, idx + dl, Math.min(source.length(), endIndex));\n\t\t} else {\n\t\t\tsplat[amount] = readFloat(source, idx + dl, idx2);\n\t\t}\n\t\treturn splat;\n\t}", "title": "" }, { "docid": "ff6998cc14138f1bcd11de84b9516bdb", "score": "0.52029425", "text": "private float readFloat() throws IOException\n {\n return Float.intBitsToFloat(readInt());\n }", "title": "" }, { "docid": "a02c3b39c53d4f5ad56993d0d00d7aa9", "score": "0.5184425", "text": "public float getElemFloat(int paramInt) {\n/* 302 */ return this.data[paramInt + this.offset];\n/* */ }", "title": "" }, { "docid": "7e212df127af2f5cf4fe4551aa73d8d2", "score": "0.5165087", "text": "public static FloatBuffer makeFloatBuffer(float[] arr) {\r\n\t\tByteBuffer bb = ByteBuffer.allocateDirect(arr.length * 4);\r\n\t\tbb.order(ByteOrder.nativeOrder());\r\n\t\tFloatBuffer fb = bb.asFloatBuffer();\r\n\t\tfb.put(arr);\r\n\t\tfb.position(0);\r\n\t\treturn fb;\r\n\t}", "title": "" }, { "docid": "a2ae7a6a2ea54593785256b1c0bacad8", "score": "0.51476127", "text": "public static LocalFixLenReader<Float, float[]> getInstanceFloat(VirtualFile rawFile) throws IOException {\n return new LocalFixLenReader<Float, float[]>(rawFile, new FloatValueTraits());\n }", "title": "" }, { "docid": "46aff602c5e8be78397acc1b888b6af3", "score": "0.51471335", "text": "final public void setData(float f) {\n\tByteBuffer out = ByteBuffer.allocate(4);\n\tout.putInt(Integer.reverseBytes(Float.floatToIntBits(f)));\n\tgetDATA().DATA.setData(out.array());\n }", "title": "" }, { "docid": "0ef1cfe4b453b4365373a6c2289c9ce6", "score": "0.5145033", "text": "public static FloatBuffer makeFloatBuffer(float[] arr) {\n\t\tByteBuffer bb = ByteBuffer.allocateDirect(arr.length*4);\n\t\tbb.order(ByteOrder.nativeOrder());\n\t\tFloatBuffer fb = bb.asFloatBuffer();\n\t\tfb.put(arr);\n\t\tfb.position(0);\n\t\treturn fb;\n\t}", "title": "" }, { "docid": "339340f7bedbe3625d4a89312e06956b", "score": "0.5144004", "text": "float readFloat16() throws IOException;", "title": "" }, { "docid": "b4d726d36337b5c0e5deab17e6eb80f7", "score": "0.51407135", "text": "@Override\n\tpublic int read(byte[] b, int offset, int length) throws IOException {\n\t\tif (targetByteFifo.size() == 0) {\n\t\t\tconvert(true);\n\t\t}\n\t\tif (targetByteFifo.size() < length)\n\t\t\tconvert(false);\n\t\tint m = Math.min(length, targetByteFifo.size());\n\t\tif (m > 0) {\n\t\t\ttargetByteFifo.pop(b, offset, m);\n\t\t}\n\t\t// System.out.println(\"Read: \" + m);\n\t\treturn m;\n\t}", "title": "" }, { "docid": "9ba44dc6f4c607d47e1377f6e788ccb3", "score": "0.5139083", "text": "public FloatBuffer getFloatBuffer(long length) {\n\t\treturn getFloatBufferAtOffset(0, length);\n\t}", "title": "" }, { "docid": "ca480aa4e7b00326d592b64ec6ede1d9", "score": "0.51304996", "text": "public DataBufferFloat(float[][] paramArrayOffloat, int paramInt) {\n/* 158 */ super(StateTrackable.State.UNTRACKABLE, 4, paramInt, paramArrayOffloat.length);\n/* 159 */ this.bankdata = (float[][])paramArrayOffloat.clone();\n/* 160 */ this.data = this.bankdata[0];\n/* */ }", "title": "" }, { "docid": "0b99806b0d51d6b898bdff81f0670446", "score": "0.5129085", "text": "public int readValue(byte[] data, int offset, byte[] readedBytes) {\n while (addByte(data[offset + size])) ;\n readedBytes[0] = size;\n return value;\n }", "title": "" }, { "docid": "54805d9f1c7e81b518ca97a9f20898f2", "score": "0.5116592", "text": "void mo121882a(byte b, float f) throws IOException;", "title": "" }, { "docid": "dde3e26489ff9a606049cbee98211772", "score": "0.5110913", "text": "private byte[] readValueFromFileBytes(int offset) {\r\n byte[] buffer = new byte[1];\r\n \r\n boolean endOfValue = false;\r\n int i = offset;\r\n int size = 0;\r\n while(!endOfValue) {\r\n buffer = Arrays.copyOfRange(svldBytes, i, i + 1);\r\n i++;\r\n if(bytesToHex(buffer).equals(\"00\")) {\r\n size = i - offset;\r\n endOfValue = true;\r\n }\r\n }\r\n \r\n byte[] value = Arrays.copyOfRange(svldBytes, offset, offset + size);\r\n \r\n return value;\r\n }", "title": "" }, { "docid": "6de4d3c37d33c6eeea89faf7718f1e1f", "score": "0.5103785", "text": "public static float bytesToFloat(byte b0, byte b1, byte b2, byte b3) {\n int mantissa = unsignedToSigned(unsignedByteToInt(b0) + (unsignedByteToInt(b1) << 8) + (unsignedByteToInt(b2) << 16), 24);\n return (float) (mantissa * Math.pow(10, b3));\n }", "title": "" }, { "docid": "781acde16b255eef826ec616a2634a03", "score": "0.5095342", "text": "public float[] getJavaArrayFloat(int recnum, StructureMembers.Member m) {\n if (m.getDataType() != DataType.FLOAT)\n throw new IllegalArgumentException(\"Type is \" + m.getDataType() + \", must be float\");\n int count = m.getSize();\n Array data = m.getDataArray();\n float[] pa = new float[count];\n for (int i = 0; i < count; i++)\n pa[i] = data.getFloat(recnum * count + i);\n return pa;\n }", "title": "" }, { "docid": "15f1cdd4c592b05cd9e958efedd8da0f", "score": "0.5081942", "text": "double readFloat64() throws IOException;", "title": "" }, { "docid": "5138182c242f32e94841ebf69aa0dc15", "score": "0.5063813", "text": "public FloatBuffer readFloatBuffer(final int size) throws IOException\n {\n final int realSize = size * 4;\n if (realSize > 10*1024*1024)\n throw new RuntimeException(\"Nah! \" + realSize);\n this.pos += realSize;\n final ByteBuffer buffer = ByteBuffer.allocateDirect(realSize);\n buffer.order(this.byteOrder);\n final FloatBuffer floatBuffer = buffer.asFloatBuffer();\n int read = 0;\n while (read < realSize)\n read += Channels.newChannel(this.stream).read(buffer);\n floatBuffer.rewind();\n return floatBuffer;\n }", "title": "" }, { "docid": "98492203f4d31fffd2f649b31f1a8234", "score": "0.50499785", "text": "public static void serializeArrayFloat( float[] af, DataOutputStream dout ) throws IOException\n\t{\n\tif ( af == null )\n\t serializeNull( dout );\n\telse\n\t {\n\t serializeHeaderString( tagArrayFloat, dout );\n\t dout.writeShort( af.length );\n\t for ( int i = 0; i < af.length; ++i )\n\t\tdout.writeFloat( af[i] );\n\t serializeTrailerString( tagArrayFloat, dout );\n\t }\n\t}", "title": "" }, { "docid": "5a6cf954e73e7e15e341f38b54818613", "score": "0.5036816", "text": "public void backtransform(float data[]) {\n backtransform(data,ncols+2); }", "title": "" }, { "docid": "fdfc82d559726c4a59080d238f2207b2", "score": "0.50346583", "text": "private float[] toStraightArray(float[] target, int strideLength) {\n // create the new\n float[] result = new float[drawOrder.length * strideLength];\n int resultCurIndex = 0;\n for (int i = 0; i < drawOrder.length; i++) {\n // grab the next vertex in target to copy over to result.\n int targetIndex = drawOrder[i] * strideLength;\n\n // append the next 3 values in target onto the end of result.\n for (int j = 0; j < strideLength; j++) {\n result[resultCurIndex + j] = target[targetIndex + j];\n }\n resultCurIndex += strideLength;\n }\n\n return result;\n }", "title": "" }, { "docid": "fd36a8513bd55b580e196b02191c50ce", "score": "0.50283706", "text": "public static final float getFloat(byte[] buf, boolean bigEndian)\r\n\t{\r\n\t\treturn Float.intBitsToFloat(getInt(buf, bigEndian));\r\n\t}", "title": "" }, { "docid": "c42171ea78dd994a2966cfec88a83e37", "score": "0.5022552", "text": "private void sendArrayToBuffer( float[] array, FloatBuffer buffer ) {\r\n buffer.rewind();\r\n for (int k=0; k<array.length; k++) {\r\n buffer.put( array[k] );\r\n }\r\n }", "title": "" }, { "docid": "5261bdfd232e542348f47449fb81b2aa", "score": "0.50215685", "text": "public DataBufferFloat(float[] paramArrayOffloat, int paramInt1, int paramInt2) {\n/* 135 */ super(StateTrackable.State.UNTRACKABLE, 4, paramInt1, 1, paramInt2);\n/* 136 */ this.data = paramArrayOffloat;\n/* 137 */ this.bankdata = new float[1][];\n/* 138 */ this.bankdata[0] = this.data;\n/* */ }", "title": "" }, { "docid": "fe1c9ebf832ad7f88abd9632b24b99a3", "score": "0.5015105", "text": "void getTranslation(float[] ta, int offset) ;", "title": "" }, { "docid": "add2e8ad2d0c0e18c20bda904d71da95", "score": "0.50039345", "text": "public DataBufferFloat(float[][] paramArrayOffloat, int paramInt, int[] paramArrayOfint) {\n/* 182 */ super(StateTrackable.State.UNTRACKABLE, 4, paramInt, paramArrayOffloat.length, paramArrayOfint);\n/* 183 */ this.bankdata = (float[][])paramArrayOffloat.clone();\n/* 184 */ this.data = this.bankdata[0];\n/* */ }", "title": "" }, { "docid": "c036b8a12377140fe7a4638299f2e995", "score": "0.49994755", "text": "public static float readFloat(String namMemory, int position) {\r\n \tfloat retorno = smClient.getFloat(namMemory, position);\r\n \treturn retorno;\r\n }", "title": "" }, { "docid": "b057f74432cf632e6cdc4f49dd7ff160", "score": "0.49972448", "text": "public final float[] getOffsets(float[] offsets)\r\n {\r\n if (offsets == null)\r\n offsets = new float[this.offsets.length];\r\n System.arraycopy(this.offsets, 0, offsets, 0, Math.min(this.offsets.length,\r\n offsets.length));\r\n return offsets;\r\n }", "title": "" }, { "docid": "d0b78ade946c9fd699ba889cd9891f60", "score": "0.4995353", "text": "public float[] floatSplit (String source, String delimiter) {\n\t\treturn floatSplit(source, delimiter, 0, source.length());\n\t}", "title": "" }, { "docid": "c3dcfa15af665aba01d9dadc9a350d4e", "score": "0.49879682", "text": "public abstract float floatRead(ObjectReference ref, Word metaDataA, Word metaDataB, int mode);", "title": "" }, { "docid": "62d93e67c2230181ccf11b02a275be72", "score": "0.49567476", "text": "public float getFloat(long index) {\n return buffer(index).getFloat();\n }", "title": "" }, { "docid": "e66b96bc928b1b4400fcc8b7fcbec29c", "score": "0.4954339", "text": "public final double[] convertByteArrayToDoubleArray(String name, byte[] bytes, int start, int length, int byteOrder) {\n int expectedLength = start + (length * 8);\n if (bytes.length < expectedLength) {\n System.out.println(name + \": expected length: \" + expectedLength + \", actual length: \" + bytes.length);\n return null;\n }\n double[] result = new double[length];\n for (int i = 0; i < length; i++) {\n result[i] = convertByteArrayToDouble(name, bytes, (i * 8) + start, byteOrder);\n }\n return result;\n }", "title": "" }, { "docid": "4292db4f46bbab3b3ed1c171b4020706", "score": "0.4950941", "text": "private double getFluxFromFitsRead(FitsRead fr, ActiveFitsReadGroup frGroup, ImageWorkSpacePt sipt)\n throws PixelValueException {\n acceptFitsRead(fr,frGroup);\n double retval= Double.NaN;\n if (fr!=null) {\n double xpass= sipt.getX()- ((double)getOffsetX());\n double ypass= sipt.getY()- ((double)getOffsetY());\n ImagePt ipt = new ImagePt(xpass, ypass);\n retval= fr.getFlux(ipt);\n }\n return retval;\n }", "title": "" }, { "docid": "9adfb9161a3fcebcf6d4effbda8eba7d", "score": "0.4948838", "text": "public DataBufferFloat(float[] paramArrayOffloat, int paramInt) {\n/* 109 */ super(StateTrackable.State.UNTRACKABLE, 4, paramInt);\n/* 110 */ this.data = paramArrayOffloat;\n/* 111 */ this.bankdata = new float[1][];\n/* 112 */ this.bankdata[0] = this.data;\n/* */ }", "title": "" }, { "docid": "5f5871443b10afddb736c5c1d0a8ac4e", "score": "0.49181738", "text": "private float[] createFilledBuffer(int size, float fillValue) {\n float[] floats = new float[size];\n Arrays.fill(floats, fillValue);\n return floats;\n }", "title": "" }, { "docid": "5d2feda0677422989e80096e500d3324", "score": "0.49169737", "text": "public ByteBuf setFloat(int index, float value)\r\n/* 340: */ {\r\n/* 341:354 */ this.buf.setFloat(index, value);\r\n/* 342:355 */ return this;\r\n/* 343: */ }", "title": "" }, { "docid": "0c191c727bc1b1f495b17459b2aeb009", "score": "0.49132577", "text": "public void transform(float data[]) {\n transform(data,ncols+2); }", "title": "" }, { "docid": "3fe23ca628aa15dc2827e139c6d4a678", "score": "0.49125913", "text": "public abstract void floatWrite(ObjectReference ref, float value, Word metaDataA, Word metaDataB, int mode);", "title": "" }, { "docid": "d986648ca3ad48905b54d51a66ca9b03", "score": "0.4905508", "text": "public final float convertByteArrayToFloat(String name, byte[] bytes, int byteOrder) {\n return convertByteArrayToFloat(name, bytes, 0, byteOrder);\n }", "title": "" }, { "docid": "a8a484634eb11da86957655235436b20", "score": "0.49054524", "text": "public static float readFloat(RandomAccessFile in) {\n\t\tfloat rslt = 0;\n\t\tbyte[] floatBytes = new byte[4];\n\t\ttry {\n\t\t\tin.read(floatBytes, 0, 4);\n\t\t} catch (IOException e) {\n\t\t\t\n\t\t\tlogger.error(\"Float read error.\\n {}\",e.getMessage());\n\t\t}\n\t\treturn rslt;\n\t}", "title": "" }, { "docid": "85904696209cea4b00cc0715b66aea57", "score": "0.48944002", "text": "public static FloatBuffer createFloatBuffer(float[] array)\n\t{\n\t\tfinal int floatSize = Float.SIZE / 8;\n\t\tByteBuffer byteBuffer = ByteBuffer.allocateDirect(array.length * floatSize);\n\t\tbyteBuffer.order(ByteOrder.nativeOrder());\n\t\tFloatBuffer floatBuffer = byteBuffer.asFloatBuffer();\n\t\tfloatBuffer.put(array);\n\t\tfloatBuffer.position(0);\n\t\treturn floatBuffer;\n\t}", "title": "" }, { "docid": "a7702c30d89e147128e2394ee8fdf25d", "score": "0.48923457", "text": "public void work() {\n output.pushFloat((float)(input.peekFloat(0)+input.peekFloat(1)+input.peekFloat(2)+input.peekFloat(3)));\n\t input.popFloat();\n\t input.popFloat();\n\t input.popFloat();\n\t input.popFloat();\n }", "title": "" }, { "docid": "3c75c40f294c83b256bb45368ff9a1cc", "score": "0.48861954", "text": "public static IntBuffer makeFloatBuffer(int[] arr) {\n\t\tByteBuffer bb = ByteBuffer.allocateDirect(arr.length*4);\n\t\tbb.order(ByteOrder.nativeOrder());\n\t\tIntBuffer ib = bb.asIntBuffer();\n\t\tib.put(arr);\n\t\tib.position(0);\n\t\treturn ib;\n\t}", "title": "" }, { "docid": "3ee60af65825de4d9591e7b711f27bb6", "score": "0.48850054", "text": "public native final void copyToInt32Array(long offset, int[] array, int size);", "title": "" }, { "docid": "395802b745b3123b481e3ccb13069cec", "score": "0.48819616", "text": "public static native int av_q2intfloat(AVRational q);", "title": "" }, { "docid": "87a53a47f247e370ccc5f41f75bea0ed", "score": "0.48813346", "text": "private Object floatFromFloatGridRead() {\n int nx = dataWindow.getRows();\n int ny = dataWindow.getCols();\n\n /*\n * this defines the tipe of matrix to return: 0 = normal type[][] matrix\n */\n if (matrixType == 0) {\n float tmp;\n for( int i = 0; i < nx; i++ ) {\n for( int k = 0; k < ny; k++ ) {\n tmp = rasterByteBuffer.getFloat();\n // the value has to be different from NaN\n if (tmp == tmp) {\n // set the range\n setRange(tmp, i, k);\n ((float[][]) dataObject)[i][k] = tmp;\n } else {\n ((float[][]) dataObject)[i][k] = ((Float) novalue).floatValue();\n }\n }\n }\n }\n /*\n * 1 = type[][] matrix indexed from [1][1]\n */\n else if (matrixType == 1) {\n dataObject = new float[nx + 1][ny + 1];\n float tmp;\n for( int i = 0; i < nx; i++ ) {\n for( int k = 0; k < ny; k++ ) {\n tmp = rasterByteBuffer.getFloat();\n // the value has to be different from NaN\n if (tmp == tmp) {\n // set the range\n setRange(tmp, i, k);\n ((float[][]) dataObject)[i + 1][k + 1] = tmp;\n } else {\n ((float[][]) dataObject)[i + 1][k + 1] = ((Float) novalue).floatValue();\n }\n }\n }\n }\n /*\n * 2 = transposed of the original type[][] matrix\n */\n else if (matrixType == 2) {\n dataObject = new float[ny][nx];\n float tmp;\n for( int i = 0; i < nx; i++ ) {\n for( int k = 0; k < ny; k++ ) {\n tmp = rasterByteBuffer.getFloat();\n // the value has to be different from NaN\n if (tmp == tmp) {\n // set the range\n setRange(tmp, i, k);\n ((float[][]) dataObject)[k][i] = tmp;\n } else {\n ((float[][]) dataObject)[k][i] = ((Float) novalue).floatValue();\n }\n }\n }\n }\n /*\n * 3 = transposed of the original type[][] matrix and indexed by [1][1]\n */\n else if (matrixType == 3) {\n float tmp;\n dataObject = new float[ny + 1][nx + 1];\n for( int i = 0; i < nx; i++ ) {\n for( int k = 0; k < ny; k++ ) {\n tmp = rasterByteBuffer.getFloat();\n // the value has to be different from NaN\n if (tmp == tmp) {\n // set the range\n setRange(tmp, i, k);\n ((float[][]) dataObject)[k + 1][i + 1] = tmp;\n } else {\n ((float[][]) dataObject)[k + 1][i + 1] = ((Float) novalue).floatValue();\n }\n }\n }\n } else {\n // throw something\n }\n return dataObject;\n }", "title": "" }, { "docid": "358c811afe05da3fb37f9f0be092ae29", "score": "0.48734298", "text": "public void apply(float[] paramArrayOfFloat)\r\n/* 32: */ {\r\n/* 33: 26 */ this.location.setTo(paramArrayOfFloat[12], paramArrayOfFloat[13], paramArrayOfFloat[14]);\r\n/* 34: */ }", "title": "" }, { "docid": "f1a6d1fe1dd0a6735be724e77a2d55d4", "score": "0.487226", "text": "public float read(int position) {\n int index = mCursor - position;\n if (index < 0) {\n index += mBuffer.length;\n }\n return mBuffer[index];\n }", "title": "" }, { "docid": "e852fa6e911c2dea7768ab927c8bed7b", "score": "0.4861931", "text": "public float getFocal() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 20);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 16);\n\t\t}\n\t}", "title": "" }, { "docid": "d733c71d44d6045c1fc70c27aac712fa", "score": "0.4843546", "text": "public Pointer<T> setFloats(FloatBuffer values) {\n\t\treturn setFloatsAtOffset(0, values, 0, values.capacity());\n\t}", "title": "" }, { "docid": "0d80906641346a8c885bf1f7fe955c3f", "score": "0.48406023", "text": "public float readfloat(int unit) throws IOException {\n return new Float(getToken(unit)).floatValue();\n }", "title": "" }, { "docid": "dad32cb2cc3f95c9a58f084184975af5", "score": "0.48391858", "text": "public float getElemFloat(int paramInt1, int paramInt2) {\n/* 317 */ return this.bankdata[paramInt1][paramInt2 + this.offsets[paramInt1]];\n/* */ }", "title": "" }, { "docid": "59cfc9b7fe5aa346ed11bc6cd3168a6e", "score": "0.48346412", "text": "public native int read(byte[] data, int offset, int size);", "title": "" }, { "docid": "05e9b8ab34a7eb4637f1f867ce168d53", "score": "0.48277336", "text": "private byte[] readValueFromFileBytes(int offset) {\r\n byte[] buffer = new byte[1];\r\n \r\n boolean endOfValue = false;\r\n int i = offset;\r\n int size = 0;\r\n while(!endOfValue) {\r\n buffer = Arrays.copyOfRange(shopBytes, i, i + 1);\r\n i++;\r\n if(bytesToHex(buffer).equals(\"00\")) {\r\n size = i - offset;\r\n endOfValue = true;\r\n }\r\n }\r\n \r\n byte[] value = Arrays.copyOfRange(shopBytes, offset, offset + size);\r\n \r\n return value;\r\n }", "title": "" }, { "docid": "87cf29f5b7b6a788b0f30fb1f816624c", "score": "0.48228264", "text": "public native final void putDoubleArray(long offset, double[] x);", "title": "" }, { "docid": "250c09cfc6b0cca851cbf067c9f39fef", "score": "0.48184204", "text": "private Buffer fillBuffer(double[] array)\n {\n ByteBuffer bb = ByteBuffer.allocateDirect(4 * array.length); // each\n // float\n // takes 4\n // bytes\n bb.order(ByteOrder.LITTLE_ENDIAN);\n for (double d : array)\n bb.putFloat((float) d);\n bb.rewind();\n \n return bb;\n \n }", "title": "" }, { "docid": "2f0ff607d398ac4369d74e8f7de4bc5c", "score": "0.48181224", "text": "public static void copyFloatArrayToSched(float[] inData, long startTime, int length,\n\t\t\tlong timeStep, Schedule schedule) {\n\t\tif(length < 0) length = inData.length;\n\t\t\n\t\tschedule.deleteValues(startTime, startTime + (length * timeStep));\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tfloat value = inData[i];\n\t\t\tschedule.addValue(startTime + (i * timeStep), new FloatValue(value));\n\t\t}\n\t}", "title": "" } ]
9f5e9dce419e1b8f5bcaf63da244f755
Represents how visual blocks are filled.
[ { "docid": "3fa3b4421812e3213294d72abf715d28", "score": "0.0", "text": "public interface BlockGenerator {\n\n /**\n * Gets block data to show a player for a specific location\n *\n * @param player the player\n * @param location the location\n * @return the data\n */\n FakeBlock.Data getData(Player player, Vector location);\n}", "title": "" } ]
[ { "docid": "233423f52e48e548611ea3cb533cec8d", "score": "0.6189759", "text": "public int getFill(){\n return fill.ordinal();\n }", "title": "" }, { "docid": "791b439dffe52795864adf031e2e8ebb", "score": "0.6185847", "text": "@Override\n\tpublic boolean canFill() { return true;\t}", "title": "" }, { "docid": "73f8ca90c2f1a64c28b5824dcd68ac95", "score": "0.6141101", "text": "public boolean isFill() {\n return fill;\n }", "title": "" }, { "docid": "7e7b50af7bf10eb835d4a634359bcbe6", "score": "0.6125839", "text": "public double getFillArea() {\n\t\treturn this.fillArea;\n\t}", "title": "" }, { "docid": "d35c08a5a87813dc37518b7a423c8b9b", "score": "0.61134756", "text": "public boolean isFilled() {\r\n\t return filled;\r\n\t }", "title": "" }, { "docid": "059b4d1839f799e9090e82c2d1edccd5", "score": "0.61054254", "text": "public boolean isFilled() {\r\n\t\t\treturn filled;\r\n\t\t}", "title": "" }, { "docid": "164fcfd1df7f3dac38d5643831666a34", "score": "0.60971457", "text": "public boolean getFill() {\n\t\treturn fill;\n\t}", "title": "" }, { "docid": "d32e04eaf0a41fa7de4849503cf69adf", "score": "0.6096676", "text": "public int getFillBits() { return fillBits; }", "title": "" }, { "docid": "0fc346e8a9af8e7b9b86a90380a76b65", "score": "0.60656726", "text": "public boolean isFilled() {\r\n\t \treturn filled;\r\n\t }", "title": "" }, { "docid": "e2223ea93b186f26c46fafac966136e0", "score": "0.60196173", "text": "public boolean isFilled() {\n return filled;\n }", "title": "" }, { "docid": "060aab4f67007b4bc257b0fe4d481ff3", "score": "0.5962345", "text": "public boolean isFilled() {\n\t\treturn filled;\n\t}", "title": "" }, { "docid": "716cf11e8f87a991c12b576c11620122", "score": "0.5897996", "text": "public boolean isFilled() {\n for (int i = startIndex; i <= endIndex; i++) {\n if (cells.get(i).getState() != CellState.FILLED) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "9e7d1ec97d1685f837a55a24cdc778ce", "score": "0.58358186", "text": "public WideEasy() {\n this.blocks = new ArrayList<>();\n Random random = new Random();\n int x = -25;\n int y = 200;\n int width = 50;\n int height = 30;\n Color color = null;\n //Create all blocks for this level\n for (int i = 0; i < numberOfBlocksToRemove(); i++) {\n //Check when color of block should be changed\n if (i < 8) {\n if (i % 2 == 0) {\n color = new Color(random.nextInt(250), random.nextInt(250),\n random.nextInt(250));\n }\n } else if (i > 8) {\n if (i % 2 != 0) {\n color = new Color(random.nextInt(250), random.nextInt(250),\n random.nextInt(250));\n }\n }\n x += 50;\n Rectangle rectangle = new Rectangle(new Point(x, y), width, height);\n Block block = new Block(rectangle, color);\n blocks.add(block);\n }\n }", "title": "" }, { "docid": "0c9f0946ed1641744a1a70c62103bb95", "score": "0.58213496", "text": "public boolean isFilled(){\n\t\treturn filled;\n\t}", "title": "" }, { "docid": "f6a5632aed15900006d3edd39e3af239", "score": "0.5805096", "text": "public void fill() {\n\t\tif (isEmpty()) {\n\t\t\tempty = false;\n\t\t\tboiled = false;\n\t\t}\t\n\t}", "title": "" }, { "docid": "7a1d7f394aeaa38693d3d33ff12b4106", "score": "0.5785312", "text": "public Paint getFillPaint() {\r\n return fillPaint;\r\n }", "title": "" }, { "docid": "dd327e9a53db8f15c926f54511d39f6d", "score": "0.57798094", "text": "@Override\r\n public Color getShapeFillColour() {\r\n return fillColour;\r\n }", "title": "" }, { "docid": "161b51df2b3a16ca52325d94096f862a", "score": "0.5773121", "text": "public void setFilled(boolean filled) {\r\n\t\t\tthis.filled = filled;\r\n\t\t}", "title": "" }, { "docid": "ad07747b1f169469e4b5f5b71c396de8", "score": "0.57576776", "text": "public int size(){\n return fill;\n }", "title": "" }, { "docid": "0ad23cddd9cf0aadd2e6baa861976dd8", "score": "0.5754431", "text": "public void setFilled(boolean filled) {\n this.filled = filled;\n }", "title": "" }, { "docid": "4c14caebf746c2aada23868729304176", "score": "0.57341397", "text": "public void fill() {\n fill(FillRule.NONZERO);\n }", "title": "" }, { "docid": "7a6ef2eaf4970626664ab60db479d617", "score": "0.5727959", "text": "public void setFilled(boolean filled) {\r\n\t \tthis.filled = filled;\r\n\t }", "title": "" }, { "docid": "a0a644b590d370ed35bdf450d0761847", "score": "0.57202125", "text": "public double filledPercentage() {\r\n\t\t\treturn fill / maxCapacity;\r\n\t\t}", "title": "" }, { "docid": "4a164fb66be917391923a1a40142dcfb", "score": "0.5698984", "text": "public Block() {\n\t\t\n\t\twidth = DEFAULT_WIDTH;\n\t\theight = DEFAULT_HEIGHT;\n\t\tdepth = DEFAULT_DEPTH;\n\t\txcoord = DEFAULT_XCOORD;\n\t\tycoord = DEFAULT_YCOORD;\n\t\t\n\t}", "title": "" }, { "docid": "dfdf7a6a39595b4b5306ea06655f7d43", "score": "0.56838495", "text": "public void fill() {\n\n\t\tint size;\n\t\tif (prefX > prefY) {\n\t\t\tsize = prefY;\n\t\t} else if (prefX < prefY) {\n\t\t\tsize = prefX;\n\t\t} else {\n\t\t\tsize = prefX;\n\t\t} // finds the smallest preferred size which ends up being the side length\n\t\t\t// of one of the squares on the grid\n\t\t\t// and makes a rectangle that size and puts it on the grid\n\n\t\tfor (int l = 1; l < Y; l++) {\n\t\t\tfor (int p = 1; p < X; p++) {\n\n\t\t\t\tRectangle o = new Rectangle();\n\n\t\t\t\to.setHeight(size);\n\t\t\t\to.setWidth(size);\n\n\t\t\t\t// o.setVisible(false);\n\t\t\t\t// o.setFill(Color.GAINSBORO);\n\n\t\t\t\to.setFill(Color.web(backround));\n\n\t\t\t\tDrawGrid.add(o, p, l);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "bd09be469c257277d70424cf5a347b43", "score": "0.5678646", "text": "public void setFilled (boolean filled){\n\t\tthis.filled = filled;\n\t}", "title": "" }, { "docid": "82b15cd938e24b5410497d93b2019b4e", "score": "0.5676501", "text": "public boolean isFilled() {\r\n return isFilled;\r\n }", "title": "" }, { "docid": "424e84c1e0728ea607a630bc6d108b4c", "score": "0.5671017", "text": "public int getFillStyle0() { return fillStyle0; }", "title": "" }, { "docid": "3590ff664b84e8b8f056604a34202c9f", "score": "0.5655625", "text": "public int getBlockHeight(){return this.block.length;}", "title": "" }, { "docid": "2171269fad4e15bb11b57da8d1ea7fbc", "score": "0.5620537", "text": "@JsonIgnore\n\tpublic void clear() {\n\t\tfor (int i = 0; i < this.shapes.length; i++) {\n\t\t\tfor (int j = 0; j < this.shapes[i].length; j++) {\n\t\t\t\tif (this.shapes[i][j] != null) {\n\t\t\t\t\tthis.shapes[i][j].setColor(Color.BLACK);\n\t\t\t\t}\n\t\t\t\tthis.clearShapes = true;\n\t\t\t}\n\t\t}\n\t\tthis.filledBoxes = 0;\n\t\tthis.current_Shape = null;\n\t\tthis.curr_Matches = 0;\n\t}", "title": "" }, { "docid": "47794772b1cac2d9dabe45c7f37ccf08", "score": "0.5600013", "text": "public int getFillStyleCount() { return fillStyles.length; }", "title": "" }, { "docid": "545bb469dceb77f31abbc52c41dcc1df", "score": "0.55902255", "text": "public Paint getFill() {\r\n return this.fill;\r\n }", "title": "" }, { "docid": "19a4be93b3c93c4f5697545d919f3ad8", "score": "0.55722576", "text": "public int getFillStyle1() { return fillStyle1; }", "title": "" }, { "docid": "94e81df6fbf228ca1821e5503513ab20", "score": "0.5562113", "text": "public void setPosition()//Defines where the blocks fill the tetrad\r\n {\r\n switch (myType)\r\n { \r\n case 0: \r\n switch (myRotation%2)\r\n {\r\n case 0:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-2,myX,myColor);\r\n blocky[3]= new Block(myY-3,myX,myColor);\r\n break;\r\n case 1:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY,myX+1,myColor);\r\n blocky[2]= new Block(myY,myX+2,myColor);\r\n blocky[3]= new Block(myY,myX+3,myColor);\r\n break;\r\n }\t\t\t\t\t\t\r\n break;\r\n case 1: \r\n switch (myRotation%4)\r\n {\r\n case 0:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-1,myX-1,myColor);\r\n blocky[3]= new Block(myY-1,myX+1,myColor);\r\n break;\r\n case 1:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-1,myX-1,myColor);\r\n blocky[3]= new Block(myY-2,myX,myColor);\r\n break;\r\n case 2:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY,myX-1,myColor);\r\n blocky[3]= new Block(myY,myX+1,myColor);\t\r\n break;\r\n case 3:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-1,myX+1,myColor);\r\n blocky[3]= new Block(myY-2,myX,myColor);\t\t\t\t\t\t\t\t\t\t\t\r\n }\r\n break;\r\n case 2: \r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-1,myX+1,myColor);\r\n blocky[3]= new Block(myY,myX+1,myColor);\r\n break;\r\n case 3: \r\n switch (myRotation%4)\r\n {\r\n case 0:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY,myX-1,myColor);\r\n blocky[2]= new Block(myY-1,myX-1,myColor);\r\n blocky[3]= new Block(myY-2,myX-1,myColor);\r\n break;\r\n case 1:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-1,myX+1,myColor);\r\n blocky[3]= new Block(myY-1,myX+2,myColor);\r\n break;\r\n case 2:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-2,myX,myColor);\r\n blocky[3]= new Block(myY-2,myX-1,myColor);\r\n break;\r\n case 3:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY,myX+1,myColor);\r\n blocky[2]= new Block(myY,myX+2,myColor);\r\n blocky[3]= new Block(myY-1,myX+2,myColor);\r\n break;\r\n }\r\n break;\r\n case 4: \r\n switch(myRotation%4)\r\n {\r\n case 0:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY,myX+1,myColor);\r\n blocky[2]= new Block(myY-1,myX+1,myColor);\r\n blocky[3]= new Block(myY-2,myX+1,myColor);\r\n break;\r\n case 1:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY,myX-1,myColor);\r\n blocky[2]= new Block(myY,myX-2,myColor);\r\n blocky[3]= new Block(myY-1,myX-2,myColor);\r\n break;\r\n case 2:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-2,myX,myColor);\r\n blocky[3]= new Block(myY-2,myX+1,myColor);\r\n break;\r\n case 3:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-1,myX-1,myColor);\r\n blocky[3]= new Block(myY-1,myX-2,myColor);\r\n break;\t\t\t\t\t\r\n }\r\n break;\r\n case 5: \r\n switch(myRotation%2)\r\n {\r\n case 0:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY,myX+1,myColor);\r\n blocky[2]= new Block(myY-1,myX+1,myColor);\r\n blocky[3]= new Block(myY-1,myX+2,myColor);\r\n break;\r\n case 1:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-1,myX-1,myColor);\r\n blocky[3]= new Block(myY-2,myX-1,myColor);\r\n break;\r\n }\r\n break;\t\t\t\t\t\r\n case 6: \r\n switch(myRotation%2)\r\n {\r\n case 0:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY,myX-1,myColor);\r\n blocky[2]= new Block(myY-1,myX-1,myColor);\r\n blocky[3]= new Block(myY-1,myX-2,myColor);\r\n break;\r\n case 1:\r\n blocky[0]= new Block(myY,myX,myColor);\r\n blocky[1]= new Block(myY-1,myX,myColor);\r\n blocky[2]= new Block(myY-1,myX+1,myColor);\r\n blocky[3]= new Block(myY-2,myX+1,myColor);\r\n break;\t\t\t\t\r\n }\r\n }\r\n }", "title": "" }, { "docid": "4c49c2f6b65a885bd805428bc11b7d17", "score": "0.5555967", "text": "@Override\n\tpublic void fill() {\n\t\tSystem.out.println(GREEN);\n\t}", "title": "" }, { "docid": "66704bf3d70196450878b8c4cf8d86f1", "score": "0.5542232", "text": "public Block(Rectangle rectangle1, Color color) {\r\n this.rectangle = rectangle1;\r\n this.color = color;\r\n }", "title": "" }, { "docid": "ca3f1544ce7e55ae4dc1b85b7e35c0cc", "score": "0.55232984", "text": "public void setFilled(Boolean filled){\n\t\tthis.filled=filled;\n\t}", "title": "" }, { "docid": "6b3a11c6c98bfcbdf4798bee5cae8da6", "score": "0.55061775", "text": "public Color getFillingColor() {\n\t\treturn fill;\n\t}", "title": "" }, { "docid": "1bb4f45d920c51d17c09d5a0b8cc8d96", "score": "0.5505888", "text": "public boolean hasFillStyle0() { return (type & TYPE_FILL_STYLE_0) != 0; }", "title": "" }, { "docid": "42e0a5a6cf57d7610e88b3f2f61ed3e9", "score": "0.5486878", "text": "public AbstractAreaPainter() {\r\n fillPaint = Color.RED;\r\n }", "title": "" }, { "docid": "7fd350d340edfbf2d5b01a56ffbdad89", "score": "0.5479207", "text": "public void drawNextBlock() {\n final int scaleWidth = getWidth() / 10;\n final int scaleHeight = getHeight() / 10;\n // Adjusting where the piece will be.\n final int widthPlacement = scaleWidth * 2 + scaleWidth;\n final int heightPlacement = scaleHeight * 2 + scaleHeight;\n final Graphics g = getGraphics();\n switch (myNextPiece) {\n case I:\n g.setColor(Color.CYAN);\n g.fillRect(1 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(3 * scaleWidth + widthPlacement, \n 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(4 * scaleWidth + widthPlacement, \n 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n break;\n case O:\n g.setColor(Color.YELLOW);\n g.fillRect(1 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(1 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n break;\n case J:\n g.setColor(Color.ORANGE);\n g.fillRect(1 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(3 * scaleWidth + widthPlacement, \n 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(3 * scaleWidth + widthPlacement, \n 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n break;\n case L:\n g.setColor(Color.BLUE);\n g.fillRect(1 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(1 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(1 * scaleWidth + widthPlacement,\n 3 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, \n 3 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n break;\n case S:\n g.setColor(Color.GREEN);\n g.fillRect(3 * scaleWidth + widthPlacement,\n 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(1 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n break;\n case T:\n g.setColor(Color.PINK);\n g.fillRect(1 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(3 * scaleWidth + widthPlacement, \n 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n break;\n case Z:\n g.setColor(Color.RED);\n g.fillRect(1 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 1 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(2 * scaleWidth + widthPlacement, 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n g.fillRect(3 * scaleWidth + widthPlacement,\n 2 * scaleHeight + heightPlacement,\n scaleWidth, scaleHeight);\n break;\n default:\n }\n // Draw the grid outline for the piece.\n g.setColor(Color.GRAY);\n for (int i = 0; i < scaleHeight; i++) {\n for (int j = 0; j < scaleWidth; j++) {\n g.drawRect(j * scaleWidth, i * scaleHeight, scaleWidth, scaleHeight);\n }\n }\n }", "title": "" }, { "docid": "397d75ecf8146a7e5077a600d5b3ecd1", "score": "0.5478778", "text": "public boolean isFieldCleared() {\n for(int y=0; y < height; y++)\n for(int x=0; x < width; x++)\n if(fields[x][y].isBlock())\n return false;\n return true;\n }", "title": "" }, { "docid": "44e1ec1b6a0126c43b703eaf064109c8", "score": "0.54748076", "text": "public Boolean isFilled(){\n\t\tif(this.filled==null)\n\t\t\treturn false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "a20a09dbfdb5e8ff105f6c2e4dfe23e3", "score": "0.5441686", "text": "@Override\n\tpublic default boolean defaultFillsAllPixels() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "d4ea3ede43704675d761fce32b2e245a", "score": "0.5431163", "text": "public abstract void fill();", "title": "" }, { "docid": "5bf95036db14861fdd9826ebdd06a433", "score": "0.5425409", "text": "public Block(double x, double y, double width, double height, Color color) {\r\n this.block = new Rectangle(new Point(x, y), width, height);\r\n this.color = color;\r\n this.hitListener = new ArrayList<>();\r\n }", "title": "" }, { "docid": "d6cc9342612d859dd7501909798f42a2", "score": "0.5415653", "text": "public int getNewStyleFillBits() { return newStyleFillBits; }", "title": "" }, { "docid": "a116f98d896fe8ca358f65ed7732e2be", "score": "0.54018354", "text": "@Override\n public void setFilled(boolean filled) {\n for (Shape s : shapes) {\n s.setFilled(filled);\n }\n }", "title": "" }, { "docid": "14887e528ecc62bee4591a53f28a0cb2", "score": "0.5393851", "text": "protected ZwtFilledComponent() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "1454fb843932d5b33a46efe6421c7e64", "score": "0.53856456", "text": "private void formBlocks() {\r\n for (int i = 0; i < ROWS; i++)\r\n for (int j = 0; j < COLS; j++) {\r\n if (!cells[i][j].isEmpty() && !getGem(i, j).isBlockGem() && getGem(i, j).isNormalGem()) {\r\n\r\n // if 2 x 2 block has any empty cell,then no block is formed\r\n if (getGem(i, j + 1) == null || getGem(i + 1, j) == null || getGem(i + 1, j + 1) == null)\r\n continue;\r\n\r\n // if 2x2 block gems do not have same color,then block is not formed\r\n int gemColor = getGem(i, j).getGemColor();\r\n if (getGem(i, j + 1).getGemColor() != gemColor || getGem(i + 1, j).getGemColor() != gemColor\r\n || getGem(i + 1, j + 1).getGemColor() != gemColor)\r\n continue;\r\n\r\n // if 2x2 blocks gems are already part of block,the block is not formed\r\n if (getGem(i, j).getType() != Gem.NORMAL || getGem(i, j + 1).getType() != Gem.NORMAL\r\n || getGem(i + 1, j).isBlockGem() || getGem(i + 1, j + 1).isBlockGem())\r\n continue;\r\n\r\n // end row,col of block\r\n int endRow = i + 1;\r\n int endCol = j + 1;\r\n\r\n // if a 2x2 block is formed, grow it:\r\n // vertically\r\n for (int row = endRow + 1; row < ROWS; row++)\r\n if (getGem(row, j) != null && getGem(row, j + 1) != null\r\n && getGem(row, j).getGemColor() == gemColor\r\n && getGem(row, j + 1).getGemColor() == gemColor && !getGem(row, j).isBlockGem()\r\n && !getGem(row, j + 1).isBlockGem())\r\n endRow = row;\r\n else\r\n break;\r\n\r\n // horizontally\r\n for (int col = endCol + 1; col < COLS; col++) {\r\n boolean canGrow = true;\r\n\r\n for (int row = i; row <= endRow; row++)\r\n if (getGem(row, col) == null || getGem(row, col).getGemColor() != gemColor\r\n || getGem(row, col).isBlockGem()) {\r\n canGrow = false;\r\n break;\r\n }\r\n\r\n if (canGrow)\r\n endCol = col;\r\n else\r\n break;\r\n }\r\n\r\n // set store block gems in list\r\n ArrayList<Gem> blockGems = new ArrayList<Gem>();\r\n for (int row = i; row <= endRow; row++)\r\n for (int col = j; col <= endCol; col++)\r\n if (getGem(row, col) == null)\r\n System.out.println(row + \"--\" + col);\r\n else {\r\n Gem gem = getGem(row, col);\r\n gem.setBlockFrames(\"center\" + gem.getGemColor());\r\n blockGems.add(gem);\r\n }\r\n\r\n // change texture of block gems\r\n // corner\r\n getGem(i, j).setBlockFrames(\"topLeftCorner\" + getGem(i, j).getGemColor());\r\n getGem(i, endCol).setBlockFrames(\"topRightCorner\" + getGem(i, endCol).getGemColor());\r\n getGem(endRow, j).setBlockFrames(\"bottomLeftCorner\" + getGem(endRow, j).getGemColor());\r\n getGem(endRow, endCol).setBlockFrames(\"bottomRightCorner\" + getGem(endRow, endCol).getGemColor());\r\n\r\n // edges\r\n // left & right edges\r\n for (int row = i + 1; row < endRow; row++) {\r\n getGem(row, j).setBlockFrames(\"leftEdge\" + getGem(row, j).getGemColor());\r\n getGem(row, endCol).setBlockFrames(\"rightEdge\" + getGem(row, endCol).getGemColor());\r\n }\r\n // top and bottom edges\r\n for (int col = j + 1; col < endCol; col++) {\r\n getGem(i, col).setBlockFrames(\"topEdge\" + getGem(i, col).getGemColor());\r\n getGem(endRow, col).setBlockFrames(\"bottomEdge\" + getGem(endRow, col).getGemColor());\r\n }\r\n\r\n // create a block\r\n Block block = new Block(blockGems, i, j, endRow, endCol);\r\n blocks.add(block);\r\n }\r\n\r\n }\r\n\r\n }", "title": "" }, { "docid": "698895e396c868f3eacaf3a5f06e4a24", "score": "0.5378085", "text": "public boolean is_full() {\n\n\t\treturn this.number_of_elements == (this.lines * this.columns);\n\t}", "title": "" }, { "docid": "0c7382a9dd326e85c7f8f6bffbaff4bf", "score": "0.537743", "text": "public Block(Rectangle rect, Color color, Counter numOfBump) {\r\n this.rectangle = rect;\r\n this.color = color;\r\n this.numOfBump = numOfBump;\r\n }", "title": "" }, { "docid": "ffa110608fee1c4138d1d4278396cb25", "score": "0.53757256", "text": "public boolean hasFillStyle1() { return (type & TYPE_FILL_STYLE_1) != 0; }", "title": "" }, { "docid": "d2c520deb0b95d565d7dd1ba61c29d1d", "score": "0.5369588", "text": "@Override\n public void setBlockBoundsForItemRender() {\n this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, (float) thickness, 1.0F);\n }", "title": "" }, { "docid": "2bc996642db219a7bab7243317566fd2", "score": "0.53673005", "text": "protected void initCoordinates()\n\t{\n\t\t// get the List of Blocks for this Shape\n\t\tList<Block> blocks = getBlocks();\n\t\tblocks.clear();\n\n\t\t// get the focal Block\n\t\tBlock focalBlock = getFocalBlock();\n\n\t\t//**********************************************************************************//\n\t\t// NOTE: This holds the x and y distances from the focal Block. For example the //\n\t\t// the second array reads as follows: {1, 0}. This indicates that a Block //\n\t\t// exists 1 x positions to the right of the focal Block's x position and 0 y //\n\t\t// positions above the y position of the focal Block's y position. So in //\n\t\t// in this case, the Block is directly to the right of the focal Block. //\n\t\t// NOTE that the first block in the List of blocks is the focal Block itself. //\n\t\t//**********************************************************************************//\n\t\tint posFromFocus[][] = {{0, 0}, {1, 0}, {0, 1}, {1, 1}};\n\n\t\t// set the focal Block as the first Block in the List of Blocks\n\t\tblocks.add(focalBlock);\n\n\t\t// set the rest of the Blocks\n\t\tfor (int i = 1; i < posFromFocus.length; i++)\n\t\t{\n\t\t\t// create a Block with it's corresponding x and y positions\n\t\t\tBlock block = new Block(focalBlock.getXPos() + posFromFocus[i][0],\n\t\t\t focalBlock.getYPos() + posFromFocus[i][1],\n\t\t\t getColor());\n\n\t\t\t// add the Block to the List of Blocks\n\t\t\tblocks.add(block);\n\t\t}\n\t}", "title": "" }, { "docid": "c36cc4233bdc37545a07ae353cfa3899", "score": "0.5354065", "text": "public abstract void fill(int fillColor);", "title": "" }, { "docid": "742cbbffd3e0d5727b896fc4e24bf608", "score": "0.53429735", "text": "public int getBlockWidth(){return this.block[0].length;}", "title": "" }, { "docid": "ff678a0247d5a3c5c8eb9e616f6fe69d", "score": "0.53317964", "text": "public BreakableBlock(Vector2 position, float width, float height, int type, TextureSet textureSet){\n super(position, width, height, type);\n this.width = width;\n this.height = height;\n this.textureSet = textureSet;\n }", "title": "" }, { "docid": "b5dba93c12855d9aad2c99cdb0dff471", "score": "0.5322331", "text": "public void makeBlank() {\n for (int i = 0; i < backHeight; i++) \n for (int j = 0; j < backWidth; j++) \n backboard[i][j] = new blocks(null, blocks.emptyBLOCK, appi);\n }", "title": "" }, { "docid": "fc4226673760c3f52e1eaeac59c3d317", "score": "0.53216594", "text": "public int getBlockCount() {\n\t\treturn getXSideLength() * getHeight() * getZSideLength();\n\t}", "title": "" }, { "docid": "7959aac1b54e9bfe1e0a4b3c86c9b1bf", "score": "0.5314665", "text": "public void setFilled(boolean filled) {\r\n\t this.filled = filled;\r\n\t repaint();\r\n\t }", "title": "" }, { "docid": "9483d09ed0283d64cf861fde7448eaaf", "score": "0.531284", "text": "public boolean isFull()\n {\n //TODO remove tmp solution\n boolean full = true;\n\n for (int row = 0; row < Constants.PATTERN_COLUMNS_COUNT; row++)\n {\n int space = mFillings[row];\n\n // hack for missing blue balls\n if(space == 0 && row == ColorType.BLUE.getDefaultColumn()){ continue; }\n if (space >= Constants.PATTERN_COLUMNS_SIZE) { continue; }\n\n // else\n full = false;\n }\n\n if (full) { Log.d(MainActivity.TAG, \"Pattern is full!\"); }\n return full;\n\n /*\n int[][] pattern = SettingsManager.getSettings().Pattern;\n boolean full = true;\n\n for (int row = 0; row < Constants.PATTERN_COLUMNS_COUNT; row++)\n {\n int space = mFillings[row];\n\n // next slot in this row should be empty\n if (space < Constants.PATTERN_COLUMNS_SIZE && pattern[row][space] == SKIP) { continue; }\n\n // row is already full\n if (space >= Constants.PATTERN_COLUMNS_SIZE) { continue; }\n\n // else\n full = false;\n }\n return full;\n */\n }", "title": "" }, { "docid": "bb2c2622b257df073c2384a5cf7d0d46", "score": "0.53108305", "text": "public Wall getFillWall(){\n\t\treturn fillWall;\n\t}", "title": "" }, { "docid": "60eac081fe97622d2b728ce10af88105", "score": "0.5306477", "text": "private void generateWindowBlockFaces() {\n windowBlockFaces.add(BlockFace.UP);\n windowBlockFaces.add(BlockFace.DOWN);\n windowBlockFaces.add(BlockFace.NORTH);\n windowBlockFaces.add(BlockFace.SOUTH);\n windowBlockFaces.add(BlockFace.EAST);\n windowBlockFaces.add(BlockFace.WEST);\n windowBlockFaces.add(BlockFace.SELF);\n }", "title": "" }, { "docid": "1d21fc1f4b69b51436a8c0722f12ee82", "score": "0.5302993", "text": "private void fillWithWhite() {\n final Graphics2D g = (Graphics2D) this.drawingBuffer.getGraphics();\n\n g.setColor(Color.WHITE);\n g.fillRect(0, 0, getWidth(), getHeight());\n \n // IMPORTANT! every time we draw on the internal drawing buffer, we\n // have to notify Swing to repaint this component on the screen.\n this.repaint();\n }", "title": "" }, { "docid": "1f0f2bcf5ad2e6bfe4c7bfacebf836ae", "score": "0.5299416", "text": "private static void fill(int[] block, int[] startingLocation, int filledValue) {\n for (int row = startingLocation[y]; row < startingLocation[y] + block[y]; row++) {\n for (int column = startingLocation[x]; column < startingLocation[x] + block[x]; column++) {\n grid[row][column] = filledValue;\n }\n }\n }", "title": "" }, { "docid": "b6126863158f987e736404dcae32cc08", "score": "0.52875376", "text": "public void setContentAreaFilled (boolean b) {\n\t}", "title": "" }, { "docid": "7277e978202a8a9dc4810e5ffcb9a020", "score": "0.5280281", "text": "public FigurePanel(int type, boolean filled) {\r\n\t this.type = type;\r\n\t this.filled = filled;\r\n\t }", "title": "" }, { "docid": "65aadbe32c7086bd2078240d2887dcd1", "score": "0.52782786", "text": "public Block[] getBlocks()\r\n {\r\n return blocky;\r\n }", "title": "" }, { "docid": "bff0d3d88b64f2b3c694b70e684a1ffe", "score": "0.5272465", "text": "public Block(double x, double y, double width, double height, Color color, int numOfHits) {\r\n this.block = new Rectangle(new Point(x, y), width, height);\r\n this.color = color;\r\n this.hitListener = new ArrayList<>();\r\n hitPoints = numOfHits;\r\n List<BlockDrawer> drawerList = new ArrayList<>();\r\n drawerList.add(new BlockFillDrawer(color));\r\n this.drawer.put(-1, drawerList);\r\n }", "title": "" }, { "docid": "f934cb2fd56aa463f69559bc299bb20b", "score": "0.52585006", "text": "public void drawFrozen(final Graphics2D the_graphics)\n {\n\n final Graphics2D g2d = the_graphics;\n if (my_frozen_blocks != null && !my_frozen_blocks.isEmpty())\n {\n final Rectangle2D.Double piece = new Rectangle2D.Double();\n for (int i = 0; i < my_frozen_blocks.size(); i++)\n {\n final Block[] row = my_frozen_blocks.get(i);\n for (int j = 0; j < row.length; j++)\n {\n if (row[j] != Block.EMPTY)\n {\n piece.setRect(j * my_piece_size, ROW_CORRECTION * my_piece_size - i \n * my_piece_size, my_piece_size, my_piece_size);\n g2d.setColor(row[j].getColor());\n g2d.setColor(Color.BLACK);\n g2d.drawImage(my_color_to_image.get(row[j].getColor()), (int) (j * my_piece_size), \n (int) (ROW_CORRECTION * my_piece_size - i \n * my_piece_size), (int) my_piece_size, (int) my_piece_size, null);\n }\n }\n }\n }\n }", "title": "" }, { "docid": "d3c722a167ffa0745e7d7e816000640c", "score": "0.52391094", "text": "public ITag<Block> getFillerBlockTag() {\n return BlockTags.createOptional(new ResourceLocation(this.fillerBlockTag.get()));\n }", "title": "" }, { "docid": "ba00abe26148ae41539b288b551ad5a8", "score": "0.52343446", "text": "public Block() {\n map = null;\n x = 0;\n y = 0;\n destructable = false;\n }", "title": "" }, { "docid": "6023f17a5987df668721c6404e605b9b", "score": "0.52320284", "text": "private void detectBlock(){\r\n\t\t//checks if block is of the correct colors\r\n\t\tif( (Math.abs(bluePerRed - \t ((double) color.getBlue()) / color.getRed())) < error\r\n\t\t\t&& (Math.abs(bluePerGreen -\t((double) color.getBlue()) / color.getGreen())) < error\r\n\t\t\t&& (Math.abs(greenPerRed - ((double) color.getGreen()) / color.getRed())) < error)\r\n\t\t{\t\t\t\r\n\t\t\tseesBlock = true;\r\n\t\t} \r\n\t\telse seesBlock = false;\r\n\t}", "title": "" }, { "docid": "8e3e5643105f71662908aae605858931", "score": "0.5231113", "text": "public Block() {\n\t\tblockOn = true;\n\t\tmultiply = false;\n\t\tlives = 1;\n\t\tpoints = 1;\n\t\ttime = 0.0;\n\t}", "title": "" }, { "docid": "7ddb012b2c78c99d365a970282ce353c", "score": "0.5230448", "text": "public void setBlockBoundsForItemRender() {\n/* 83 */ setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.125F, 1.0F);\n/* */ }", "title": "" }, { "docid": "363f5c75f835bc9f5148f9f58ce4372e", "score": "0.5225122", "text": "public void setFilledBoxes(int filledBoxes) {\n\t\tthis.filledBoxes = filledBoxes;\n\t}", "title": "" }, { "docid": "288ac0060084e3e0455e5400c6ad76c3", "score": "0.5211222", "text": "public float getFillAlpha() {\n return this.f;\n }", "title": "" }, { "docid": "219e47ab5ed3421067116445f351efa4", "score": "0.5204321", "text": "public Shape() {\n\t\tcolor = \"green\";\n\t\tfilled = true;\n\t}", "title": "" }, { "docid": "f6e25c96af8541b3cf939e76e5ed245a", "score": "0.51821506", "text": "public int checkFill(){\n return fill;\n }", "title": "" }, { "docid": "73b1a71aaa3732cc7ff06140c74f4acd", "score": "0.5181834", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"A Shape with color of \" + color + \" and\" + (filled ? \"\" : \" not\") + \" filled.\";\n\t}", "title": "" }, { "docid": "d1aff4a91a5dc3b24ddbc3deb187b4bc", "score": "0.51757425", "text": "public boolean isFull() {\n\t\tfor (int x = 0; x < board.getDimX(); x++) {\n\t\t\tfor (int y = 0; y < board.getDimY(); y++) {\n\t\t\t\tif (board.getFields()[x][y][board.getDimZ() - 1] == null) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "f49694d5ea3eb6510f1044a5107d733f", "score": "0.51658994", "text": "public List<Block> blocks() {\r\n List<Block> blocks = new ArrayList<Block>();\r\n //colors of each row(rainbow)\r\n List<java.awt.Color> columnsColors = new ArrayList<>();\r\n columnsColors.add(Color.RED);\r\n columnsColors.add(Color.RED);\r\n columnsColors.add(Color.ORANGE);\r\n columnsColors.add(Color.ORANGE);\r\n columnsColors.add(Color.YELLOW);\r\n columnsColors.add(Color.YELLOW);\r\n columnsColors.add(Color.GREEN);\r\n columnsColors.add(Color.GREEN);\r\n columnsColors.add(Color.BLUE);\r\n columnsColors.add(Color.BLUE);\r\n columnsColors.add(Color.magenta);\r\n columnsColors.add(Color.magenta);\r\n for (int i = 0; i < 12; i++) {\r\n blocks.add(new Block(i * 62.5 + 25, 250, 62.5, 20, columnsColors.get(i), Color.black, 1));\r\n }\r\n return blocks;\r\n }", "title": "" }, { "docid": "9464be787143981b29388a83fec36e79", "score": "0.51633847", "text": "public Blocks getBlockType(){\r\n\t\treturn currentShape;\r\n\t}", "title": "" }, { "docid": "c63f9a530eba604fcab8b1b77543ee1e", "score": "0.5160273", "text": "public int getFillAlpha() {\n return mFillAlpha;\n }", "title": "" }, { "docid": "f0ded247ea7b29f4ebbdaccc787a6f6a", "score": "0.515717", "text": "public BlockAddiction(int givenHeight, int givenWidth, Generator generator, int preFilledRows) {\n\t\tsuper(givenHeight, givenWidth, generator);\n\n\t\t// For each row and column, determine if both are even or are both odd. If so, set a random Icon to that coordinate.\n\t\tfor (int row = 0; row < preFilledRows; row++) {\n\t\t\tfor (int col = 0; col < givenWidth; col++) {\n\t\t\t\tif (row % 2 == 0 && col % 2 == 0) {\n\t\t\t\t\tsetBlock(givenHeight - (row + 1), col, generator.randomIcon());\n\t\t\t\t}\n\n\t\t\t\tif (row % 2 != 0 && col % 2 != 0) {\n\t\t\t\t\tsetBlock(givenHeight - (row + 1), col, generator.randomIcon());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "3cc5d84dd9ddf7c45cac91dd96823dd9", "score": "0.5155375", "text": "public Block(Block newBlock) {\n this.width = newBlock.getWidth();\n this.height = newBlock.getHeight();\n this.hitPoints = newBlock.getHitPoints();\n this.border = newBlock.getBorder();\n this.fillings = newBlock.getFillings();\n }", "title": "" }, { "docid": "d9fe073afce855f7176d398bac3a2456", "score": "0.5143072", "text": "boolean isCardSlotsFilled();", "title": "" }, { "docid": "35de0f251cc1ccb3203f6cbe69b62f60", "score": "0.5142445", "text": "@java.lang.Override\n public boolean hasBlock() {\n return valueCase_ == 2;\n }", "title": "" }, { "docid": "35de0f251cc1ccb3203f6cbe69b62f60", "score": "0.5142445", "text": "@java.lang.Override\n public boolean hasBlock() {\n return valueCase_ == 2;\n }", "title": "" }, { "docid": "7419bcbf51068cb6bc91001e4f354c83", "score": "0.5139983", "text": "public Object getFillStyle() {\n return fillStyle;\n }", "title": "" }, { "docid": "42970bea6d6f5a4e616400cf60b9e5a6", "score": "0.5134456", "text": "@Override\n\tpublic void setBlockBoundsForItemRender() {\n\t\tfinal float var1 = 0.0625F;\n\t\tfinal float var2 = 0.5F;\n\t\tsetBlockBounds(var1, 0.0F, var1, 1.0F - var1, var2, 1.0F - var1);\n\t}", "title": "" }, { "docid": "0c579765b4d48f7165ec356c5aa77817", "score": "0.512944", "text": "public Block(Rectangle rect) {\r\n this.rectangle = rect;\r\n }", "title": "" }, { "docid": "4a4f5c2b0365b44d5be040c16dfbeb17", "score": "0.5118685", "text": "public ImageFill() {\r\n\t\tthis.image = null;\r\n\t}", "title": "" }, { "docid": "596adf6c72c3b4cbdaad66dba079b8b9", "score": "0.5115693", "text": "public Block(Rectangle rect, Color color) {\r\n this.rect = rect;\r\n this.color = color;\r\n this.hitListeners = new ArrayList<>();\r\n }", "title": "" }, { "docid": "5e47b7c9e79976aff92bbc2f4eb3601d", "score": "0.51149726", "text": "public MatrixBlock () {sR = sC = nR = nC = length = capacity = 0; vals = new double[capacity]; name = \"\";}", "title": "" }, { "docid": "bc7f57599fb44425f2a00aab884e7cdb", "score": "0.5110118", "text": "private void fill() {\n for (int r = 0; r<board.rows-4; r++) {\n for (int c = 0; c<board.cols; c++) {\n DrawnCell cell = new DrawnCell();\n cn.gridx = c;\n cn.gridy = r;\n cells[r][c] = cell;\n panel.add(cell, cn);\n }\n }\n\n for (int r=0; r<4; r++) {\n for (int c=0; c<4; c++) {\n DrawnCell cell = new DrawnCell();\n cn.gridx = c;\n cn.gridy = r;\n preview[r][c] = cell;\n view.add(cell, cn);\n }\n }\n\n board.fill();\n\n }", "title": "" }, { "docid": "bd986379358575a561a2011082b7f204", "score": "0.51054347", "text": "protected void generateAreaData(){\n for (int i = 0; i < 4; i++) {\n if (!completedTile[i]) {\n area[i] = realPos.transformExternal(this.pattern[i]);\n }\n }\n }", "title": "" }, { "docid": "0b871364fafd18a3fd179fa648e5c12f", "score": "0.5105231", "text": "public BoardBlock(BoardColor c, int r1, int c1) {\r\n \tthis.setSize(50, 50); // set size of the BoardBlock\r\n \tthis.row = r1;\r\n \tthis.col = c1;\r\n \tbackground = c;\r\n \r\n if(c == BoardColor.DARKBLOCK)\r\n \t\tthis.setBackground(new Color(139,69,19)); // darker brown\r\n \telse if(c == BoardColor.LIGHTBLOCK)\r\n \t\tthis.setBackground(new Color(244,164,96)); // light brown\r\n }", "title": "" }, { "docid": "bb08e96f4e3f7f867a5b094f5d951329", "score": "0.51046014", "text": "public default int getBlockCount() {\r\n return getSizeX() * getSizeY() * getSizeZ();\r\n }", "title": "" }, { "docid": "89c9fe842184651b86896269bded7406", "score": "0.50975615", "text": "public RushHourBlock(Position point, int width,\n int height, String color, String orientation) {\n this.point = point;\n this.width = width;\n this.height = height;\n this.color = color;\n this.orientation = orientation;\n this.hashCode = getHashCode();\n }", "title": "" } ]
3b09c5f657c40a79e01f966ecd24f815
Test case number: 158 /Coverage entropy=2.203705432239539
[ { "docid": "f4547b30f5a0b9457727c0c024f25e7d", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test158() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Component component0 = errorPage0.noframes();\n assertEquals(\"wheel_ErrorPage\", errorPage0.getComponentId());\n assertEquals(\"Block_2\", component0.getComponentId());\n assertTrue(component0._isGeneratedId());\n }", "title": "" } ]
[ { "docid": "d6df76b4cd9e17e2c3e4b99debdb01f6", "score": "0.7258033", "text": "@Test\n public void test16() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "28fc1c03589c689478e686556e2e01ff", "score": "0.6764408", "text": "@Test\n public void test28() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(\"LzUl=-U!>\", true);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\n }", "title": "" }, { "docid": "70ed22b84aebe1102b77c4bf7aacbb48", "score": "0.66991526", "text": "@Test\n public void test31() throws Throwable {\n AdditiveRegression additiveRegression0 = new AdditiveRegression();\n Capabilities capabilities0 = additiveRegression0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate(\"setOptions\");\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = evaluation0.makeDistribution(1774.70273682);\n assertArrayEquals(new double[] {1774.70273682}, doubleArray0, 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "d16371413e002b2d8e04f3fe250eadc7", "score": "0.66437334", "text": "@Test\n public void test12() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFPriorEntropy();\n assertEquals(0.0, double0, 0.01D);\n }", "title": "" }, { "docid": "1e076fed62c990d73299d563576ffae4", "score": "0.6608503", "text": "@Test(timeout = 4000)\n public void test014() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n costMatrix0.initialize();\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n evaluation0.toSummaryString(\".arff\", true);\n String string0 = evaluation0.toSummaryString(\"@data\", false);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(\"@data\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }", "title": "" }, { "docid": "96ec9f7aa97af13ced46aea15561aa02", "score": "0.65896183", "text": "@Test(timeout = 4000)\n public void test025() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n MockRandom mockRandom0 = new MockRandom();\n boolean[] booleanArray0 = new boolean[7];\n booleanArray0[0] = true;\n booleanArray0[1] = true;\n booleanArray0[2] = true;\n booleanArray0[3] = true;\n booleanArray0[4] = false;\n booleanArray0[5] = false;\n booleanArray0[6] = true;\n textDirectoryLoader0.getDataSet();\n instances0.resampleWithWeights((Random) mockRandom0, booleanArray0);\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.m_SumPriorEntropy;\n double double1 = evaluation0.SFMeanSchemeEntropy();\n assertEquals(Double.NaN, double1, 0.01);\n \n double double2 = evaluation0.matthewsCorrelationCoefficient(1243);\n assertEquals(0.0, double2, 0.01);\n }", "title": "" }, { "docid": "45558a2f8e85852a55243c9d83489ac4", "score": "0.6567406", "text": "@Test\n public void test13() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.KBMeanInformation();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "a778a1ec3c09a8a4e9807f175bed9ab6", "score": "0.64556", "text": "@Test(timeout = 4000)\n public void test013() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.m_SumClass;\n String string0 = evaluation0.toSummaryString();\n assertEquals(\"\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }", "title": "" }, { "docid": "e18a904c7be6dd7dc3afae3e3d935dcb", "score": "0.63717145", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n textDirectoryLoader0.setRetrieval(100000);\n evaluation0.toSummaryString();\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n FileSystemHandling.appendLineToFile(evoSuiteFile0, \"@relation\");\n CostMatrix costMatrix0 = new CostMatrix(7);\n evaluation0.recall(0);\n evaluation0.weightedMatthewsCorrelation();\n int[] intArray0 = new int[3];\n intArray0[0] = 0;\n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n regressionByDiscretization0.setDeleteEmptyBins(false);\n double double0 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(Double.NaN, double0, 0.01);\n \n String string0 = evaluation0.toClassDetailsString();\n assertEquals(\"=== Detailed Accuracy By Class ===\\n\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n }", "title": "" }, { "docid": "928ec49755c160eca8f8e6438653dbca", "score": "0.6363433", "text": "@Test(timeout = 4000)\n public void test012() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n double double0 = evaluation0.incorrect();\n assertEquals(0.0, double0, 0.01);\n \n double double1 = evaluation0.falseNegativeRate(0);\n assertEquals(0.0, double1, 0.01);\n \n evaluation0.setPriors(instances0);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }", "title": "" }, { "docid": "4be36023b9506f0fe469cbffbfb571e3", "score": "0.634298", "text": "@Test\n public void test08() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(\"zUl=-U!>\", false);\n assertEquals(0.0, evaluation0.unclassified(), 0.01D);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "bec4928214a9054453d8848402de9a81", "score": "0.63226175", "text": "@Test\n public void test11() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFMeanPriorEntropy();\n assertEquals(Double.NaN, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "4b9ee5074ea12292494f23641e368910", "score": "0.6289289", "text": "@Test(timeout = 4000)\n public void test43() throws Throwable {\n JRip jRip0 = new JRip();\n double[] doubleArray0 = new double[0];\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(2576.86, doubleArray0);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, (String) null);\n Attribute attribute0 = new Attribute((String) null);\n binarySparseInstance0.setValue(attribute0, (-713.7029286));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n boolean boolean0 = jRip_NominalAntd0.covers(binarySparseInstance0);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertFalse(boolean0);\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n }", "title": "" }, { "docid": "825ea4dbbb73bf07e85bbc96571ca987", "score": "0.6239835", "text": "@Test\n public void test09() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0, (CostMatrix) null);\n double double0 = evaluation0.SFMeanEntropyGain();\n assertEquals(Double.NaN, double0, 0.01D);\n }", "title": "" }, { "docid": "765aabea734e44b10569de16c4f71ed8", "score": "0.623717", "text": "@Test(timeout = 4000)\n public void test024() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n evaluation0.m_CoverageStatisticsAvailable = false;\n double double0 = evaluation0.weightedMatthewsCorrelation();\n double double1 = evaluation0.coverageOfTestCasesByPredictedRegions();\n assertEquals(double1, double0, 0.01);\n \n double[] doubleArray0 = evaluation0.makeDistribution(Double.NaN);\n assertNotNull(doubleArray0);\n assertEquals(0, doubleArray0.length);\n \n GaussianProcesses gaussianProcesses0 = new GaussianProcesses();\n evaluation0.equals(gaussianProcesses0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "03fa8eecc763846ad4b52e440f4963fe", "score": "0.6220893", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n SparseInstance sparseInstance0 = new SparseInstance(120);\n instances0.deleteWithMissingClass();\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.correct();\n assertEquals(0.0, double0, 0.01);\n \n double double1 = evaluation0.SFSchemeEntropy();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, double1, 0.01);\n }", "title": "" }, { "docid": "da65591930d1a5692670c96825f9221e", "score": "0.61799335", "text": "@Test(timeout = 4000)\n public void test006() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n textDirectoryLoader0.setOutputFilename(true);\n CostMatrix costMatrix0 = new CostMatrix(0);\n textDirectoryLoader0.setCharSet(\"classifiersTipText\");\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double[][] doubleArray0 = evaluation0.confusionMatrix();\n assertEquals(0, doubleArray0.length);\n \n double double0 = evaluation0.priorEntropy();\n assertEquals(0.0, double0, 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n }", "title": "" }, { "docid": "0587e50e9925562c252a95f819808dbd", "score": "0.61554575", "text": "@Test(timeout = 4000)\n public void test008() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = Evaluation.MIN_SF_PROB;\n evaluation0.setDiscardPredictions(false);\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n FileSystemHandling.appendStringToFile(evoSuiteFile0, \"setFolds\");\n CoverTree coverTree0 = new CoverTree();\n assertEquals(1.3, coverTree0.getBase(), 0.01);\n }", "title": "" }, { "docid": "000ff4e5fd4fd6cb2d75fe37a3628a8c", "score": "0.6132596", "text": "@Test\n public void levelOfEvidenceTest() {\n // TODO: test levelOfEvidence\n }", "title": "" }, { "docid": "f96a0aaab37d7488bc445516b8d55c55", "score": "0.6117166", "text": "@Test\n public void test21() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double[][] doubleArray0 = evaluation0.confusionMatrix();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "932939b848e4cd1297dd7ffe8d5ae4d5", "score": "0.60724914", "text": "@Test\n public void testEstimateErrorRateForBigCardinalities() {\n double stdError = (1.04 / Math.sqrt(1 << precision())) * 100;\n double maxError = Math.ceil(stdError + 3.0);\n\n IntHashSet actualCount = new IntHashSet(runLength(), -1);\n Random random = new Random();\n Histogram histogram = new Histogram(5);\n ByteBuffer bb = ByteBuffer.allocate(4);\n\n int sampleStep = 100;\n long expected;\n long actual;\n\n for (int i = 1; i <= runLength(); i++) {\n int toCount = random.nextInt();\n actualCount.add(toCount);\n\n bb.clear();\n bb.putInt(toCount);\n encoder.add(HashUtil.MurmurHash3_x64_64(bb.array(), 0, bb.array().length));\n\n if (i % sampleStep == 0) {\n expected = actualCount.size();\n actual = encoder.estimate();\n double errorPct = ((actual * 100.0) / expected) - 100;\n histogram.recordValue(Math.abs((long) (errorPct * 100)));\n }\n }\n\n double errorPerc99 = histogram.getValueAtPercentile(99) / 100.0;\n if (errorPerc99 > maxError) {\n fail(\"For P=\" + precision() + \", max error=\" + maxError + \"% expected.\"\n + \" Error: \" + errorPerc99 + \"%.\");\n }\n }", "title": "" }, { "docid": "1980a097b8ee60cb94fb0fb44d6dd41c", "score": "0.60345", "text": "@Test\n public void test26() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toMatrixString();\n assertEquals(\"=== Confusion Matrix ===\\n\\n <-- classified as\\n\", string0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "d9ecd407f1fc3f0588c72936212d5549", "score": "0.6029458", "text": "@Test(timeout = 4000)\n public void test005() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.errorRate();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "ffdf504bca7096b6b62a4b7b51266eba", "score": "0.6025351", "text": "@Test(timeout = 4000)\n public void test010() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTrueNegativeRate();\n evaluation0.setNumericPriorsFromBuffer();\n evaluation0.setNumericPriorsFromBuffer();\n double[] doubleArray0 = new double[4];\n doubleArray0[0] = (double) 59;\n doubleArray0[2] = 202.6;\n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 2.0);\n double double1 = evaluation0.pctUnclassified();\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(double1, double0, 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, double1, 0.01);\n }", "title": "" }, { "docid": "0e14853e410eedb4bc85ae5c5174c85c", "score": "0.6019701", "text": "@Test\n public void testPhenoMatchScore() throws IOException {\n \n System.out.println(\"phenoMatchScore\");\n HashSet<Term> terms = new HashSet<Term>();\n terms.add(phenotypeData.getTermIncludingAlternatives(\"EP:06\"));\n \n // build gene A of example data set\n ArrayList<String> genePhenotypes = new ArrayList<String>();\n genePhenotypes.add(\"EP:04\");\n genePhenotypes.add(\"EP:05\"); \n Gene geneA = new Gene(\"chr1\", 26, 32, \"geneA\", genePhenotypes);\n geneA.setPhenotypeTerms( new HashSet<Term>() );\n geneA.addPhenotypeTerm(phenotypeData.getTermIncludingAlternatives(\"EP:04\"));\n geneA.addPhenotypeTerm(phenotypeData.getTermIncludingAlternatives(\"EP:05\"));\n \n System.out.println(\"terms: \" + terms);\n System.out.println(\"gene A phenotypes: \" + geneA.getPhenotypeTerms());\n // DEBUG IC of terms in example data\n System.out.println(\"EP:00: \" + phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:00\")));\n System.out.println(\"EP:01: \" + phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:01\")));\n System.out.println(\"EP:02: \" + phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:02\")));\n System.out.println(\"EP:03: \" + phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:03\")));\n System.out.println(\"EP:04: \" + phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:04\")));\n System.out.println(\"EP:05: \" + phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:05\")));\n System.out.println(\"EP:06: \" + phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:06\")));\n \n \n // expect sum IC of most specific common terms for each gene phenotype\n double expResult = phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:04\"));\n expResult += phenotypeData.getIC(phenotypeData.getTermIncludingAlternatives(\"EP:05\"));\n double result = phenotypeData.phenoMatchScore(terms, geneA);\n \n assertEquals(expResult, result, 0.001);\n \n }", "title": "" }, { "docid": "f05d20bbcc0261c170c2ffa44521c16f", "score": "0.60073435", "text": "@Test\n public void test14() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.KBRelativeInformation();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "c2dfc45070722d3e6179b84bfbb28281", "score": "0.5995479", "text": "@Test(timeout = 4000)\n public void test05() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n LinkedList<SGD> linkedList0 = new LinkedList<SGD>();\n SGD sGD0 = new SGD();\n FileSystemHandling.shouldAllThrowIOExceptions();\n instances0.removeAll(linkedList0);\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[1];\n textDirectoryLoader0.getDataSet();\n doubleArray0[0] = (double) 0;\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n databaseLoader0.getNextInstance(instances0);\n Evaluation evaluation1 = new Evaluation(instances0);\n String string0 = evaluation0.toClassDetailsString(\":\\n\\n\");\n assertEquals(\":\\n\\n\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n \n double double0 = evaluation1.avgCost();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\n }", "title": "" }, { "docid": "fa88eb8e24179f2249e654e5ec04c9ee", "score": "0.59806174", "text": "private float entropy(int occurences, int total){\r\n\t\tif(occurences == 0)\r\n\t\t\treturn 0;\r\n\t\tfloat ratio = (float) occurences/total;\r\n\t\tfloat rslt = ratio * ((float)(Math.log(ratio)) / (float)(Math.log(2)));\r\n\t\t//System.out.println(rslt);\r\n\t\treturn -rslt;\r\n\t}", "title": "" }, { "docid": "19279c06f64a6a088be60bd0c1c5a053", "score": "0.595974", "text": "@Test(timeout = 4000)\n public void test64() throws Throwable {\n double[] doubleArray0 = new double[3];\n doubleArray0[0] = 1732.955775904258;\n doubleArray0[1] = 1732.955775904258;\n doubleArray0[2] = 1732.955775904258;\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1732.955775904258, doubleArray0);\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute((String) null, (String) null);\n SparseInstance sparseInstance0 = new SparseInstance(1);\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n arrayList0.add(attribute0);\n Instances instances0 = new Instances(\"SQ%F4p<7Wb\", arrayList0, 1);\n instances0.add((Instance) binarySparseInstance0);\n binarySparseInstance0.setMissing(attribute0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n jRip_NumericAntd0.covers(sparseInstance0);\n System.setCurrentTimeMillis(1);\n Random.setNextRandom(3);\n }", "title": "" }, { "docid": "fa00c0d155d7c9a7180f5df713434a4c", "score": "0.59478736", "text": "@Test(timeout = 4000)\n public void test05() throws Throwable {\n double[] doubleArray0 = new double[3];\n doubleArray0[0] = 1732.955775904258;\n doubleArray0[1] = 1732.955775904258;\n doubleArray0[2] = 1732.955775904258;\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1732.955775904258, doubleArray0);\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute((String) null, (String) null);\n binarySparseInstance0.setMissing(attribute0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n jRip_NumericAntd0.value = 1.0;\n jRip_NumericAntd0.accuRate = (double) 2;\n jRip_NumericAntd0.covers(binarySparseInstance0);\n System.setCurrentTimeMillis(1);\n Random.setNextRandom(2);\n }", "title": "" }, { "docid": "6ab0176bbe6b8ad90fb6351ea883fba1", "score": "0.5942767", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.globalInfo();\n assertEquals(3, jRip0.getFolds());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "74a1ec398c11b8c9b8666539e6c0447a", "score": "0.59053785", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd((Attribute) null);\n String string0 = jRip_NumericAntd0.getRevision();\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(\"8118\", string0);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n }", "title": "" }, { "docid": "a50f3866d136e80efcd053a4e17ed74b", "score": "0.5900289", "text": "@Test(timeout = 4000)\n public void test016() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n String[] stringArray0 = new String[4];\n stringArray0[0] = \".cost\";\n stringArray0[1] = \".bsi\";\n stringArray0[2] = \"numBinsTipText\";\n stringArray0[3] = \".cost\";\n textDirectoryLoader0.setOptions(stringArray0);\n byte[] byteArray0 = new byte[7];\n byteArray0[0] = (byte)97;\n byteArray0[1] = (byte)97;\n byteArray0[2] = (byte)97;\n byteArray0[3] = (byte)12;\n byteArray0[4] = (byte)97;\n byteArray0[5] = (byte)70;\n byteArray0[6] = (byte)97;\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n // Undeclared exception!\n try { \n evaluation0.makeDistribution(423.28734579);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 423\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "fa2896d45f38d5381aa00d0235ff545c", "score": "0.59000903", "text": "@Test\n public void test07() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toClassDetailsString(\"The first argument must be the class name of a classifier\");\n assertEquals(\"The first argument must be the class name of a classifier\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "86cb608aeed261199a7a49535035bda5", "score": "0.58971643", "text": "@Test\n public void test10() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFEntropyGain();\n assertEquals(0.0, double0, 0.01D);\n }", "title": "" }, { "docid": "1bfa61ad671abd352f3575b7f4062cb2", "score": "0.58219254", "text": "@Test(timeout = 4000)\n public void test078() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertFalse(textDirectoryLoader0.getDebug());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertNotNull(textDirectoryLoader0);\n \n CostMatrix costMatrix0 = new CostMatrix(0);\n assertEquals(0, costMatrix0.numRows());\n assertEquals(0, costMatrix0.size());\n assertEquals(0, costMatrix0.numColumns());\n assertNotNull(costMatrix0);\n \n double double0 = Evaluation.MIN_SF_PROB;\n assertEquals(4.9E-324, double0, 0.01);\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"setFolds\");\n assertFalse(boolean0);\n \n CoverTree coverTree0 = new CoverTree();\n assertEquals(\"The distance function to use for finding neighbours (default: weka.core.EuclideanDistance). \", coverTree0.distanceFunctionTipText());\n assertEquals(0.0, coverTree0.measureNumLeaves(), 0.01);\n assertEquals(0.0, coverTree0.measureMaxDepth(), 0.01);\n assertFalse(coverTree0.getMeasurePerformance());\n assertEquals(0.0, coverTree0.measureTreeSize(), 0.01);\n assertEquals(1.3, coverTree0.getBase(), 0.01);\n assertEquals(\"The base for the expansion constant.\", coverTree0.baseTipText());\n assertEquals(\"Whether to calculate performance statistics for the NN search or not\", coverTree0.measurePerformanceTipText());\n assertNotNull(coverTree0);\n \n TestInstances testInstances0 = new TestInstances();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertNotNull(testInstances0);\n \n Instances instances0 = testInstances0.generate();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertNotNull(instances0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertNotNull(evaluation0);\n \n double double1 = evaluation0.kappa();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(1.0, double1, 0.01);\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, instances0.numClasses());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertNotEquals(double1, double0, 0.01);\n }", "title": "" }, { "docid": "2dc64acab6c4a5c94d5389928a4e65dc", "score": "0.58166754", "text": "@Test(timeout = 4000)\n public void test45() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"5.\", (-1514));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n SparseInstance sparseInstance0 = new SparseInstance(0);\n boolean boolean0 = jRip_NominalAntd0.covers(sparseInstance0);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertTrue(boolean0);\n assertFalse(jRip0.getDebug());\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n }", "title": "" }, { "docid": "4369e1f86016ab49582f630a2ce068b2", "score": "0.5813199", "text": "@Test\n public void test03() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.unweightedMacroFmeasure();\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "35c1c7eba9604f64cf85b3ae55305a6c", "score": "0.579821", "text": "@Test\n public void costTest() {\n // TODO: test cost\n }", "title": "" }, { "docid": "4467bc4bff2dcc7485c3f24a9bdea4bd", "score": "0.5786833", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.getRevision();\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(\"8118\", string0);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n }", "title": "" }, { "docid": "b1272446634fa95b586bb2c5218e00c9", "score": "0.57715255", "text": "@Test\n public void testProbabilityViaConstructor() {\n }", "title": "" }, { "docid": "09be16c156c4e4f5f8fc4204d68a2dfd", "score": "0.57714516", "text": "@Test(timeout = 4000)\n public void test02() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n SparseInstance sparseInstance0 = new SparseInstance(120);\n instances0.deleteWithMissingClass();\n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.correct();\n assertEquals(0.0, double0, 0.01);\n \n evaluation0.setDiscardPredictions(false);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n }", "title": "" }, { "docid": "2a1f1b252b9ed301cb1999bc48bc0d20", "score": "0.5759269", "text": "@Test(timeout = 4000)\n public void test38() throws Throwable {\n JRip jRip0 = new JRip();\n ArrayList<String> arrayList0 = new ArrayList<String>();\n Attribute attribute0 = new Attribute(\"^IB-wDX7 %a$Q&/g\", arrayList0);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n String string0 = jRip_NominalAntd0.getRevision();\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(\"8118\", string0);\n }", "title": "" }, { "docid": "f795a86160c9c0a0d83c4a29e2a71b46", "score": "0.5756227", "text": "@Test\n public void energyUsedTest() {\n // TODO: test energyUsed\n }", "title": "" }, { "docid": "c02f6b09a9799aa3010856ee1aba676a", "score": "0.5755901", "text": "@Test(timeout = 4000)\n public void test021() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n SMOreg sMOreg0 = new SMOreg();\n Capabilities capabilities0 = sMOreg0.getCapabilities();\n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n Instances instances0 = testInstances0.generate(\"weka/core/Capabilities.props\");\n Evaluation evaluation0 = new Evaluation(instances0);\n instances0.getRevision();\n Object object0 = new Object();\n try { \n evaluation0.toClassDetailsString();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Evaluation: No per class statistics possible!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "1ce84876270f932f5c128633afa04df8", "score": "0.57327175", "text": "Reference getCoverage();", "title": "" }, { "docid": "f6d1b54cd64031ab613eb9130995cc9d", "score": "0.5731893", "text": "@Test(timeout = 4000)\n public void test29() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setFolds(3322);\n Random.setNextRandom(1733);\n }", "title": "" }, { "docid": "4a18d3105870d5874fe398937b41a13e", "score": "0.5721635", "text": "@Test(timeout = 4000)\n public void test018() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double[] doubleArray0 = new double[7];\n doubleArray0[0] = (double) 0;\n doubleArray0[1] = (double) 0;\n doubleArray0[2] = (double) 0;\n doubleArray0[3] = (double) 0;\n doubleArray0[4] = (double) 0;\n doubleArray0[6] = (double) 0;\n String string0 = evaluation0.toMatrixString();\n assertEquals(\"=== Confusion Matrix ===\\n\\n <-- classified as\\n\", string0);\n }", "title": "" }, { "docid": "1906809bdca6935f39ee7064dcb270ab", "score": "0.57163393", "text": "@Test\n public void test27() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedRecall();\n assertEquals(Double.NaN, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01D);\n }", "title": "" }, { "docid": "5b5fc87d98c006736c0d89f99a9df6cf", "score": "0.57134837", "text": "@Test(timeout = 4000)\n public void test069() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixSignificance0);\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixHTML0);\n resultMatrixHTML0.listOptions();\n resultMatrixCSV0.assign(resultMatrixHTML0);\n resultMatrixCSV0.doubleToString(0, 0);\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixCSV0);\n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance(46, 12);\n resultMatrixSignificance2.getVisibleColCount();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 0);\n resultMatrixLatex0.toStringKey();\n resultMatrixLatex0.setRowName(2, \"v\");\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(123, 1076);\n }", "title": "" }, { "docid": "3ccd9a7d1d37774efa013e9e0eba2469", "score": "0.5710236", "text": "private double performChiTest(){\r\n\t\tdouble[] expected = getExpected();\r\n\t\tlong[] pov = getPov();\r\n\t\tdouble chiTestResult = new ChiSquareTest().chiSquareTest(expected, pov);\r\n\t\treturn chiTestResult;\r\n\t}", "title": "" }, { "docid": "daf2f93fcf30bfc75a829efb7413b259", "score": "0.57089573", "text": "@Test(timeout = 4000)\n public void test41() throws Throwable {\n JRip jRip0 = new JRip();\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"\");\n JRip jRip1 = new JRip();\n LinkedList<String> linkedList0 = new LinkedList<String>();\n Attribute attribute0 = new Attribute(\"weka.classifiers.rules.JRip$RipperRule\", linkedList0, 71);\n Attribute attribute1 = attribute0.copy(\"weka.classifiers.rules.JRip$RipperRule\");\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n JRip.NominalAntd jRip_NominalAntd1 = jRip0.new NominalAntd(attribute1);\n jRip_NominalAntd0.getAccuRate();\n double[] doubleArray0 = new double[2];\n doubleArray0[0] = 20.0;\n doubleArray0[1] = 2325.50591;\n }", "title": "" }, { "docid": "c2ad9fddd739c602efa2cb6581be6bb7", "score": "0.5703792", "text": "@Test(timeout = 4000)\n public void test009() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTrueNegativeRate();\n assertEquals(Double.NaN, double0, 0.01);\n \n evaluation0.setNumericPriorsFromBuffer();\n Evaluation evaluation1 = new Evaluation(instances0);\n double double1 = evaluation1.numInstances();\n assertEquals(0.0, double1, 0.01);\n }", "title": "" }, { "docid": "8c3436e38d7c935f457343d9a216d1c4", "score": "0.56936395", "text": "@Test(timeout = 4000)\n public void test055() throws Throwable {\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(17, 39);\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixPlainText0);\n String[] stringArray0 = new String[2];\n resultMatrixPlainText0.m_PrintRowNames = true;\n resultMatrixHTML0.clearRanking();\n stringArray0[0] = \"v\";\n stringArray0[1] = \")\";\n ResultMatrixSignificance.main(stringArray0);\n resultMatrixPlainText0.getStdDevWidth();\n resultMatrixHTML0.countWidthTipText();\n int[][] intArray0 = new int[5][9];\n int[] intArray1 = new int[7];\n intArray1[0] = 0;\n intArray1[1] = (-2004);\n intArray1[2] = 39;\n intArray1[3] = 1;\n intArray1[4] = 0;\n intArray1[5] = 17;\n intArray1[6] = 0;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[6];\n intArray2[0] = 0;\n intArray2[1] = 2;\n intArray2[2] = 2162;\n intArray2[3] = 1;\n intArray2[4] = 1;\n intArray2[5] = 2;\n intArray0[1] = intArray2;\n int[] intArray3 = new int[4];\n intArray3[0] = 0;\n intArray3[1] = 0;\n intArray3[2] = 2;\n intArray3[3] = 1;\n intArray0[2] = intArray3;\n int[] intArray4 = new int[7];\n intArray4[0] = 0;\n intArray4[1] = 0;\n intArray4[2] = 2162;\n intArray4[3] = (-664);\n intArray4[4] = 2;\n intArray4[5] = 1290;\n intArray4[6] = 0;\n intArray0[3] = intArray4;\n int[] intArray5 = new int[2];\n intArray5[0] = 1;\n intArray5[1] = 17;\n intArray0[4] = intArray5;\n // Undeclared exception!\n try { \n resultMatrixPlainText0.setRanking(intArray0);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 5\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "9524f63bbbfe1c3767f2d79a03d895c9", "score": "0.5693453", "text": "@Test(timeout = 4000)\n public void test076() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\n int[][] intArray0 = new int[2][5];\n int[] intArray1 = new int[5];\n intArray1[0] = 1;\n intArray1[1] = 0;\n resultMatrixHTML0.m_RankingDiff = intArray1;\n intArray1[2] = 0;\n intArray1[3] = 2;\n intArray1[4] = 1;\n intArray0[0] = intArray1;\n resultMatrixLatex0.removeFilterName(\"!h.U]`ND1$UMoaR\");\n int[] intArray2 = new int[9];\n intArray2[0] = 1;\n resultMatrixHTML0.addHeader((String) null, \"sig-width\");\n intArray2[1] = 2;\n intArray2[2] = 0;\n intArray2[3] = 0;\n intArray2[4] = 0;\n intArray2[5] = 1;\n intArray2[6] = 2;\n resultMatrixLatex0.toStringMatrix();\n intArray2[7] = 0;\n intArray2[8] = 1;\n intArray0[1] = intArray2;\n resultMatrixLatex0.m_NonSigWins = intArray0;\n resultMatrixLatex0.m_EnumerateRowNames = false;\n resultMatrixHTML0.LOSS_STRING = \"b:!<cBz?L6eXj}ZqI\";\n resultMatrixLatex0.assign(resultMatrixHTML0);\n resultMatrixLatex0.m_MeanWidth = 2;\n resultMatrixLatex0.isStdDev(1);\n resultMatrixHTML0.getRowHidden(1);\n resultMatrixLatex0.isMean(1);\n String[] stringArray0 = new String[0];\n ResultMatrixLatex.main(stringArray0);\n assertEquals(0, stringArray0.length);\n }", "title": "" }, { "docid": "1bd0da2d51e68d1a5d4e880fa23f9a58", "score": "0.5683941", "text": "@Test(timeout = 4000)\n public void test06() throws Throwable {\n JRip jRip0 = new JRip();\n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n ProtectedProperties protectedProperties1 = new ProtectedProperties(protectedProperties0);\n Attribute attribute0 = new Attribute(\"mAGk+F.!yh\", protectedProperties1);\n attribute0.copy(\"mAGk+F.!yh\");\n Attribute attribute1 = attribute0.copy(\"\");\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute1);\n double double0 = jRip_NumericAntd0.getSplitPoint();\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n }", "title": "" }, { "docid": "6eed51adfff8ae1ec9c877be19f9d0c3", "score": "0.56654775", "text": "@Test(timeout = 4000)\n public void test020() throws Throwable {\n Logistic logistic0 = new Logistic();\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n evaluation0.setDiscardPredictions(true);\n assertTrue(evaluation0.getDiscardPredictions());\n }", "title": "" }, { "docid": "badc7c9e9d9e3fa5dca576d6790c043b", "score": "0.56651145", "text": "@Test(timeout = 4000)\n public void test49() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"+HgP:6|49H\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT <column-list>|* FROM <table> [WHERE <conditions>]\", databaseLoader0.queryTipText());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"\", databaseLoader0.getUser());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n \n evaluation0.m_NoPriors = true;\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n double double0 = evaluation0.weightedMatthewsCorrelation();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n \n double double1 = evaluation0.relativeAbsoluteError();\n assertEquals(double1, double0, 0.01);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(Double.NaN, double1, 0.01);\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numClasses());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.classIndex());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n }", "title": "" }, { "docid": "185acf7382b24cb63260bbd35f114aa5", "score": "0.5659662", "text": "@Test(timeout = 4000)\n public void test52() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(2, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.classIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n \n HashSet<LinearRegression> hashSet0 = new HashSet<LinearRegression>();\n assertNotNull(hashSet0);\n assertTrue(hashSet0.isEmpty());\n assertEquals(0, hashSet0.size());\n \n boolean boolean0 = instances0.removeAll(hashSet0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertFalse(boolean0);\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(2, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.classIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertTrue(hashSet0.isEmpty());\n assertEquals(0, hashSet0.size());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(2, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.classIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n \n String string0 = evaluation0.toClassDetailsString(\"Using kernel matrix from file with name: \");\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"Using kernel matrix from file with name: \\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\n 0 0 0 0 0 0 ? ? class1\\n 0 0 0 0 0 0 ? ? class2\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n assertNotNull(string0);\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(2, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.classIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n \n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertNotNull(textDirectoryLoader0);\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n \n textDirectoryLoader0.reset();\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n \n double double0 = evaluation0.kappa();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(1.0, double0, 0.01);\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumString());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(2, instances0.numAttributes());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.classIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n }", "title": "" }, { "docid": "06024bd3b31c933de8eb76d9487a3cc7", "score": "0.56592876", "text": "@Test(timeout = 4000)\n public void test61() throws Throwable {\n Attribute attribute0 = new Attribute(\"\", \"\");\n attribute0.copy((String) null);\n byte[] byteArray0 = new byte[9];\n byteArray0[0] = (byte)93;\n byteArray0[1] = (byte)6;\n byteArray0[2] = (byte)59;\n byteArray0[3] = (byte) (-37);\n byteArray0[4] = (byte)16;\n byteArray0[5] = (byte)97;\n byteArray0[6] = (byte) (-54);\n byteArray0[7] = (byte) (-4);\n byteArray0[8] = (byte) (-47);\n FileSystemHandling.appendDataToFile((EvoSuiteFile) null, byteArray0);\n attribute0.copy(\"@end\");\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"integer\", arrayList0, 2);\n Instances instances1 = new Instances(instances0, 0, 0);\n Instances instances2 = new Instances(instances1);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \".bsi\");\n JRip jRip0 = new JRip();\n jRip0.setUsePruning(false);\n try { \n jRip0.rulesetForOneClass(0, instances0, 2, 1);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Class index is negative (not set)!\n //\n verifyException(\"weka.core.Instances\", e);\n }\n }", "title": "" }, { "docid": "6470e7dc7c441d5e3dcc96ad618a580c", "score": "0.5656068", "text": "@Test(timeout = 4000)\n public void test40() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"^?~GK1VU{\", \"\");\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n JRip.NominalAntd jRip_NominalAntd1 = (JRip.NominalAntd)jRip_NominalAntd0.copy();\n assertEquals(Double.NaN, jRip_NominalAntd1.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd1.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd1.getAccu(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertEquals(Double.NaN, jRip_NominalAntd1.getAccuRate(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n assertEquals(0.0, jRip_NominalAntd1.getMaxInfoGain(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2, jRip0.getOptimizations());\n }", "title": "" }, { "docid": "2e56ef0b5a3eea1c6c26b6b977f7e60b", "score": "0.5638792", "text": "@Test\n public void testGetSelfRegulatedLearningHourCount() {\n System.out.println(\"getSelfRegulatedLearningHourCount\");\n float expResult = createdModule.getSelfRegulatedLearningHourCount();\n float result = importedModule.getSelfRegulatedLearningHourCount();\n assertEquals(expResult, result, 0.0);\n }", "title": "" }, { "docid": "267c51869f6dd106c2219b21bea56d8f", "score": "0.56278384", "text": "@Test\n public void test15() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.kappa();\n assertEquals(1.0, double0, 0.01D);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01D);\n }", "title": "" }, { "docid": "227ee5f837f1b4cf60ea5ea3df930b5f", "score": "0.5626256", "text": "@Test(timeout = 4000)\n public void test17() throws Throwable {\n JRip jRip0 = new JRip();\n double double0 = jRip0.getMinNo();\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, double0, 0.01);\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "1703c90b0076e5598c717c06d65805f5", "score": "0.5614999", "text": "@Test(timeout = 4000)\n public void test46() throws Throwable {\n JRip jRip0 = new JRip();\n LinkedList<String> linkedList0 = new LinkedList<String>();\n JRip jRip1 = new JRip();\n String string0 = jRip1.toString();\n assertEquals(\"JRIP: No model built yet.\", string0);\n \n Properties properties0 = new Properties();\n ProtectedProperties protectedProperties0 = new ProtectedProperties(properties0);\n Attribute attribute0 = new Attribute(\";A<)I$C/&\", linkedList0, protectedProperties0);\n JRip.NominalAntd jRip_NominalAntd0 = jRip1.new NominalAntd(attribute0);\n double double0 = jRip_NominalAntd0.getAccu();\n assertEquals(Double.NaN, double0, 0.01);\n \n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n SparseInstance sparseInstance0 = new SparseInstance(2);\n boolean boolean0 = jRip_NumericAntd0.covers(sparseInstance0);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertTrue(boolean0);\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n }", "title": "" }, { "docid": "0823b2bfa224924a4e3c8ddea51178cb", "score": "0.5605077", "text": "@Test(timeout = 4000)\n public void test29() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numAttributes());\n assertEquals(1, instances0.classIndex());\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(2, instances0.numClasses());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numAttributes());\n assertEquals(1, instances0.classIndex());\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(2, instances0.numClasses());\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n String string0 = evaluation0.toSummaryString();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(\"\\nTotal Number of Instances 0 \\n\", string0);\n assertNotNull(string0);\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numAttributes());\n assertEquals(1, instances0.classIndex());\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(2, instances0.numClasses());\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n double[] doubleArray0 = new double[6];\n doubleArray0[0] = (double) (-1);\n doubleArray0[1] = (double) (-2);\n doubleArray0[2] = (double) (-2);\n doubleArray0[3] = (double) (-1);\n doubleArray0[4] = (double) (-2);\n int int0 = 1;\n PrincipalComponents principalComponents0 = new PrincipalComponents();\n assertNotNull(principalComponents0);\n assertEquals(\"Performs a principal components analysis and transformation of the data. Use in conjunction with a Ranker search. Dimensionality reduction is accomplished by choosing enough eigenvectors to account for some percentage of the variance in the original data---default 0.95 (95%). Attribute noise can be filtered by transforming to the PC space, eliminating some of the worst eigenvectors, and then transforming back to the original space.\", principalComponents0.globalInfo());\n assertEquals(0.95, principalComponents0.getVarianceCovered(), 0.01);\n assertFalse(principalComponents0.getCenterData());\n assertEquals(\"Center (rather than standardize) the data. PCA will be computed from the covariance (rather than correlation) matrix\", principalComponents0.centerDataTipText());\n assertEquals(\"Retain enough PC attributes to account for this proportion of variance.\", principalComponents0.varianceCoveredTipText());\n assertEquals(\"The maximum number of attributes to include in transformed attribute names.\", principalComponents0.maximumAttributeNamesTipText());\n assertEquals(\"Transform through the PC space and back to the original space. If only the best n PCs are retained (by setting varianceCovered < 1) then this option will give a dataset in the original space but with less attribute noise.\", principalComponents0.transformBackToOriginalTipText());\n assertEquals(5, principalComponents0.getMaximumAttributeNames());\n assertFalse(principalComponents0.getTransformBackToOriginal());\n \n double double0 = evaluation0.weightedFalseNegativeRate();\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(1, testInstances0.getSeed());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(2, instances0.numAttributes());\n assertEquals(1, instances0.classIndex());\n assertEquals(20, instances0.size());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(2, instances0.numClasses());\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n try { \n principalComponents0.transformedData(instances0);\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Principal components hasn't been built yet\n //\n verifyException(\"weka.attributeSelection.PrincipalComponents\", e);\n }\n }", "title": "" }, { "docid": "293f8d9a55f52edacf64c35f2477df57", "score": "0.56027216", "text": "@Test(timeout = 4000)\n public void test43() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"+HgP:6|49H\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT <column-list>|* FROM <table> [WHERE <conditions>]\", databaseLoader0.queryTipText());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"\", databaseLoader0.getUser());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n double double0 = evaluation0.rootRelativeSquaredError();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n evaluation0.addNumericTrainClass((-3405.506471419351), (-1));\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(20, instances0.numInstances());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(2, instances0.numClasses());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n \n try { \n evaluation0.correlationCoefficient();\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Can't compute correlation coefficient: class is nominal!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "8e9010ac1a61ef7dfa7b269facd893e6", "score": "0.56025577", "text": "@Test(timeout = 4000)\n public void test27() throws Throwable {\n JRip jRip0 = new JRip();\n Capabilities capabilities0 = jRip0.getCapabilities();\n assertEquals(1L, jRip0.getSeed());\n assertEquals(3, capabilities0.getMinimumNumberInstances());\n assertFalse(jRip0.getDebug());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n }", "title": "" }, { "docid": "4766b33af139dbaacedd0b6b72cf9e7a", "score": "0.55997187", "text": "@Test(timeout = 4000)\n public void test50() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertNotNull(textDirectoryLoader0);\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n \n RegressionByDiscretization regressionByDiscretization0 = new RegressionByDiscretization();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(regressionByDiscretization0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n \n Capabilities capabilities0 = regressionByDiscretization0.getCapabilities();\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertNotNull(capabilities0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(testInstances0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(instances0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/wekafiles\");\n boolean boolean0 = FileSystemHandling.appendStringToFile(evoSuiteFile0, \"qZ+\");\n assertTrue(boolean0);\n \n DatabaseLoader databaseLoader0 = new DatabaseLoader();\n assertNotNull(databaseLoader0);\n assertEquals(\"Encode data as sparse instances.\", databaseLoader0.sparseDataTipText());\n assertEquals(\"The database password\", databaseLoader0.passwordTipText());\n assertEquals(\"The user name for the database\", databaseLoader0.userTipText());\n assertEquals(\"jdbc:idb=experiments.prp\", databaseLoader0.getUrl());\n assertEquals(\"\", databaseLoader0.getPassword());\n assertEquals(\"Select * from Results0\", databaseLoader0.getQuery());\n assertFalse(databaseLoader0.getSparseData());\n assertEquals(\"The custom properties that the user can use to override the default ones.\", databaseLoader0.customPropsFileTipText());\n assertEquals(\"The query that should load the instances.\\n The query has to be of the form SELECT <column-list>|* FROM <table> [WHERE <conditions>]\", databaseLoader0.queryTipText());\n assertEquals(\"For incremental loading a unique identiefer has to be specified.\\nIf the query includes all columns of a table (SELECT *...) a primary key\\ncan be detected automatically depending on the JDBC driver. If that is not possible\\nspecify the key columns here in a comma separated list.\", databaseLoader0.keysTipText());\n assertEquals(\"\", databaseLoader0.getUser());\n assertEquals(\"The URL of the database\", databaseLoader0.urlTipText());\n \n EvoSuiteFile evoSuiteFile1 = new EvoSuiteFile(\"/home/ubuntu/wekafiles/props/DatabaseUtils.props\");\n boolean boolean1 = FileSystemHandling.setPermissions(evoSuiteFile1, false, false, true);\n assertFalse(evoSuiteFile1.equals((Object)evoSuiteFile0));\n assertFalse(boolean1 == boolean0);\n assertFalse(boolean1);\n assertNotSame(evoSuiteFile1, evoSuiteFile0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(0, RegressionByDiscretization.ESTIMATOR_HISTOGRAM);\n assertEquals(1, RegressionByDiscretization.ESTIMATOR_KERNEL);\n assertEquals(2, RegressionByDiscretization.ESTIMATOR_NORMAL);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertNotNull(evaluation0);\n assertFalse(regressionByDiscretization0.getMinimizeAbsoluteError());\n assertFalse(regressionByDiscretization0.getDeleteEmptyBins());\n assertFalse(regressionByDiscretization0.getDebug());\n assertFalse(regressionByDiscretization0.getUseEqualFrequency());\n assertEquals(\"Whether to delete empty bins after discretization.\", regressionByDiscretization0.deleteEmptyBinsTipText());\n assertEquals(\"Number of bins for discretization.\", regressionByDiscretization0.numBinsTipText());\n assertEquals(\"The base classifier to be used.\", regressionByDiscretization0.classifierTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", regressionByDiscretization0.debugTipText());\n assertEquals(\"If set to true, equal-frequency binning will be used instead of equal-width binning.\", regressionByDiscretization0.useEqualFrequencyTipText());\n assertEquals(10, regressionByDiscretization0.getNumBins());\n assertEquals(\"The density estimator to use.\", regressionByDiscretization0.estimatorTypeTipText());\n assertEquals(\"Whether to minimize absolute error.\", regressionByDiscretization0.minimizeAbsoluteErrorTipText());\n assertEquals(2, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(0, testInstances0.getNumString());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(1, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(4, testInstances0.getNumAttributes());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(20, instances0.numInstances());\n assertEquals(1, instances0.numClasses());\n assertEquals(3, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(4, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n \n // Undeclared exception!\n try { \n evaluation0.weightedMatthewsCorrelation();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "31673d069ae8db06cb0fa634a22efcc1", "score": "0.5598934", "text": "@Test\n public void affinityTest() {\n // TODO: test affinity\n }", "title": "" }, { "docid": "a24c96a0b90cfd29b23d7f7f40727ccf", "score": "0.55829227", "text": "@Test(timeout = 4000)\n public void test07() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n textDirectoryLoader0.setRetrieval(100000);\n String string0 = evaluation0.toSummaryString();\n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n FileSystemHandling.appendLineToFile(evoSuiteFile0, \"@relation\");\n CostMatrix costMatrix0 = new CostMatrix(7);\n evaluation0.recall(0);\n evaluation0.weightedMatthewsCorrelation();\n int[] intArray0 = new int[3];\n intArray0[0] = 0;\n intArray0[1] = 7;\n evaluation0.rootMeanSquaredError();\n evaluation0.pctUnclassified();\n SMOreg sMOreg0 = new SMOreg();\n String string1 = Evaluation.makeOptionString(sMOreg0, false);\n assertFalse(string1.equals((Object)string0));\n }", "title": "" }, { "docid": "031b6f88d6e9e1c7e1d35cb2a70343bb", "score": "0.5578187", "text": "public static void main(String[] args) {\n javaai.ann.output.EquilateralEncoding.load();\n\n Random ran = new Random(0);\n\n int success = 0;\n\n for(int n=0; n < NUM_TESTS; n++) {\n // Pick a species randomly\n int actualIndex = ran.nextInt(ideals.length);\n\n // TODO:\n // 1. Get a random encoding with the actual index.\n // 2. Create a new array of activations perturbed by the tolerance divided by 100.\n // 3. Decode these perturbed activations.\n // 4. If the predicted index equals the actual index, update success count.\n // Get its encoding\n double[] encodings = ideals[actualIndex];\n\n double[] activations = new double[encodings.length];\n\n // Perturb each activation by training error tolerance\n for(int k=0; k < encodings.length; k++) {\n double epsilon = 1 + ran.nextGaussian() * TOLERANCE / 100.;\n\n activations[k] = encodings[k] * epsilon;\n }\n\n int predictedIndex = EquilateralEncoding.eq.decode(activations);\n\n String species1 = species.get(actualIndex);\n String species2 = species.get(predictedIndex);\n String outcome = species1 == species2 ? \"\" : \"MISSED!\";\n\n System.out.println(\n \"actual: \" + species1+asString(encodings) + \" \" +\n \"predicted: \"+species2+asString(activations) + \" \" +\n outcome);\n\n if(species1 == species2)\n success++;\n }\n\n double rate = (double)success / NUM_TESTS;\n\n System.out.printf(\"%d of %d or %4.2f%% tolerance = %5.2f%%\\n\",success, NUM_TESTS, rate, TOLERANCE);\n }", "title": "" }, { "docid": "5fc54cd7c19ae6534320c94e8d22dfe8", "score": "0.5576943", "text": "@Test(timeout = 4000)\n public void test39() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(testInstances0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n \n Instances instances0 = testInstances0.generate(\"Using kernel matrix from file with name: \");\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(instances0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n \n String string0 = evaluation0.toSummaryString();\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"\\nTotal Number of Instances 0 \\n\", string0);\n assertNotNull(string0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n \n double[] doubleArray0 = new double[6];\n doubleArray0[0] = (double) (-1);\n doubleArray0[1] = (double) (-2);\n boolean boolean0 = FileSystemHandling.shouldAllThrowIOExceptions();\n assertTrue(boolean0);\n \n evaluation0.updateNumericScores(doubleArray0, doubleArray0, 300.0);\n assertEquals(6, doubleArray0.length);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertArrayEquals(new double[] {(-1.0), (-2.0), 0.0, 0.0, 0.0, 0.0}, doubleArray0, 0.01);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.POSITIVE_INFINITY, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.POSITIVE_INFINITY, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n \n double double0 = evaluation0.m_TotalCost;\n assertEquals(0.0, double0, 0.01);\n \n Evaluation evaluation1 = new Evaluation(instances0);\n assertTrue(evaluation1.equals((Object)evaluation0));\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation1);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation1.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedPrecision(), 0.01);\n assertEquals(1.0, evaluation1.kappa(), 0.01);\n assertEquals(0.0, evaluation1.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation1.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation1.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation1.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation1.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation1.correct(), 0.01);\n assertFalse(evaluation1.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation1.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation1.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFalseNegativeRate(), 0.01);\n \n double double1 = evaluation1.SFSchemeEntropy();\n assertTrue(evaluation1.equals((Object)evaluation0));\n assertEquals(double1, double0, 0.01);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0.0, double1, 0.01);\n assertNotSame(evaluation1, evaluation0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation1.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedPrecision(), 0.01);\n assertEquals(1.0, evaluation1.kappa(), 0.01);\n assertEquals(0.0, evaluation1.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation1.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation1.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation1.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation1.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation1.correct(), 0.01);\n assertFalse(evaluation1.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation1.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation1.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFalseNegativeRate(), 0.01);\n \n Evaluation evaluation2 = new Evaluation(instances0, (CostMatrix) null);\n assertTrue(evaluation2.equals((Object)evaluation1));\n assertTrue(evaluation2.equals((Object)evaluation0));\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertNotNull(evaluation2);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation2.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation2.SFEntropyGain(), 0.01);\n assertFalse(evaluation2.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation2.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation2.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation2.correct(), 0.01);\n assertEquals(0.0, evaluation2.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation2.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation2.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation2.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation2.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation2.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation2.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation2.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation2.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation2.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedTruePositiveRate(), 0.01);\n assertEquals(0.0, evaluation2.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation2.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation2.avgCost(), 0.01);\n assertEquals(0.0, evaluation2.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation2.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation2.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedTrueNegativeRate(), 0.01);\n \n double double2 = evaluation2.weightedAreaUnderROC();\n assertTrue(evaluation2.equals((Object)evaluation1));\n assertTrue(evaluation2.equals((Object)evaluation0));\n assertNotEquals(double2, double1, 0.01);\n assertNotEquals(double2, double0, 0.01);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(Double.NaN, double2, 0.01);\n assertNotSame(evaluation2, evaluation0);\n assertNotSame(evaluation2, evaluation1);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation2.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation2.SFEntropyGain(), 0.01);\n assertFalse(evaluation2.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation2.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation2.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation2.correct(), 0.01);\n assertEquals(0.0, evaluation2.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation2.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation2.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation2.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation2.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation2.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation2.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation2.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation2.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation2.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedTruePositiveRate(), 0.01);\n assertEquals(0.0, evaluation2.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation2.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation2.avgCost(), 0.01);\n assertEquals(0.0, evaluation2.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation2.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation2.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedTrueNegativeRate(), 0.01);\n \n double double3 = evaluation2.pctIncorrect();\n assertTrue(evaluation2.equals((Object)evaluation1));\n assertTrue(evaluation2.equals((Object)evaluation0));\n assertEquals(double3, double2, 0.01);\n assertNotEquals(double3, double0, 0.01);\n assertNotEquals(double3, double1, 0.01);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(Double.NaN, double3, 0.01);\n assertNotSame(evaluation2, evaluation0);\n assertNotSame(evaluation2, evaluation1);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation2.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation2.SFEntropyGain(), 0.01);\n assertFalse(evaluation2.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation2.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation2.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation2.correct(), 0.01);\n assertEquals(0.0, evaluation2.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFalseNegativeRate(), 0.01);\n assertEquals(0.0, evaluation2.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation2.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation2.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation2.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation2.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation2.sizeOfPredictedRegions(), 0.01);\n assertEquals(1.0, evaluation2.kappa(), 0.01);\n assertEquals(Double.NaN, evaluation2.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation2.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedTruePositiveRate(), 0.01);\n assertEquals(0.0, evaluation2.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation2.meanAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation2.avgCost(), 0.01);\n assertEquals(0.0, evaluation2.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation2.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation2.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation2.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation2.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation2.weightedTrueNegativeRate(), 0.01);\n \n double double4 = evaluation0.KBRelativeInformation();\n assertTrue(evaluation0.equals((Object)evaluation2));\n assertTrue(evaluation0.equals((Object)evaluation1));\n assertEquals(double4, double0, 0.01);\n assertEquals(double4, double1, 0.01);\n assertNotEquals(double4, double3, 0.01);\n assertNotEquals(double4, double2, 0.01);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(0.0, double4, 0.01);\n assertNotSame(evaluation0, evaluation1);\n assertNotSame(evaluation0, evaluation2);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.POSITIVE_INFINITY, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.POSITIVE_INFINITY, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.weightedFalseNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFMeasure(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(1.0, evaluation0.kappa(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n \n char[] charArray0 = new char[3];\n charArray0[0] = 'r';\n charArray0[1] = 'G';\n charArray0[2] = '\\u0084';\n String string1 = evaluation1.num2ShortID(13, charArray0, 17);\n assertEquals(3, charArray0.length);\n assertFalse(string1.equals((Object)string0));\n assertTrue(evaluation1.equals((Object)evaluation0));\n assertTrue(evaluation1.equals((Object)evaluation2));\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\" rrG\", string1);\n assertNotNull(string1);\n assertNotSame(evaluation1, evaluation2);\n assertNotSame(evaluation1, evaluation0);\n assertArrayEquals(new char[] {'r', 'G', '\\u0084'}, charArray0);\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(1, testInstances0.getClassType());\n assertEquals(2, testInstances0.getNumAttributes());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumRelationalNumeric());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumNumeric());\n assertEquals((-1), testInstances0.getClassIndex());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(2, instances0.numClasses());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(1, instances0.classIndex());\n assertEquals(2, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertEquals(20, instances0.numInstances());\n assertEquals(Double.NaN, evaluation1.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedTruePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedPrecision(), 0.01);\n assertEquals(1.0, evaluation1.kappa(), 0.01);\n assertEquals(0.0, evaluation1.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFalsePositiveRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation1.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedTrueNegativeRate(), 0.01);\n assertEquals(Double.NaN, evaluation1.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.unweightedMicroFmeasure(), 0.01);\n assertEquals(Double.NaN, evaluation1.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation1.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFMeasure(), 0.01);\n assertEquals(0.0, evaluation1.numInstances(), 0.01);\n assertEquals(Double.NaN, evaluation1.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation1.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanPriorSquaredError(), 0.01);\n assertEquals(0.0, evaluation1.correct(), 0.01);\n assertFalse(evaluation1.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation1.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanPriorAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation1.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation1.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedRecall(), 0.01);\n assertEquals(Double.NaN, evaluation1.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation1.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation1.weightedFalseNegativeRate(), 0.01);\n }", "title": "" }, { "docid": "ff563bf0b12a09b615e13889be356b74", "score": "0.5572678", "text": "@Test(timeout = 4000)\n public void test001() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n CostMatrix costMatrix0 = new CostMatrix(0);\n Evaluation evaluation0 = new Evaluation(instances0, costMatrix0);\n double double0 = evaluation0.m_SumKBInfo;\n double double1 = evaluation0.weightedMatthewsCorrelation();\n assertEquals(Double.NaN, double1, 0.01);\n }", "title": "" }, { "docid": "602fc611f508ef1c2c23499c17759e83", "score": "0.5564041", "text": "@Test\n void main() {\n N = 64;\n logN = 6; // its log, manually\n\n // Set the curve base points\n G = Curve25519Point.G;\n H = Curve25519Point.hashToPoint(G);\n Gi = new Curve25519Point[N];\n Hi = new Curve25519Point[N];\n for (int i = 0; i < N; i++) {\n Gi[i] = getHpnGLookup(2 * i);\n Hi[i] = getHpnGLookup(2 * i + 1);\n }\n\n // Run a bunch of randomized trials\n Random rando = new Random();\n int TRIALS = 250;\n int count = 0;\n\n while (count < TRIALS) {\n long amount = rando.nextLong();\n if (amount > Math.pow(2, N) - 1 || amount < 0)\n continue;\n\n LogBulletproof.ProofTuple proof = PROVE(new Scalar(BigInteger.valueOf(amount)), randomScalar());\n if (!VERIFY(proof))\n Assertions.fail(\"Test failed\");\n\n count += 1;\n }\n }", "title": "" }, { "docid": "a85ee481b0d4a27925078c922cfe42e6", "score": "0.5561203", "text": "@Test\n public void testHashingString() {\n int prime = Prime_Number_Generator.getVerySmallPrime();\n DoubleHashString test = new DoubleHashString(prime);\n int[] varianceHash = new int[prime];\n int[] varianceHashTick = new int[prime];\n\n for (int i = -100; i < 10001; i++) {\n try {\n varianceHash[test.hash(generateRandomString(prime))]++;\n } catch (IndexOutOfBoundsException e) {\n e.printStackTrace();\n fail(\"An exception was thrown! This means your hash returned an illegal value. aKa < 0 || >= table size\");\n }\n }\n\n for (int i = -100; i < 10001; i++) {\n try {\n varianceHashTick[test.hashTick(generateRandomString(prime))]++; // hash() function of DoubleHashInt\n } catch (IndexOutOfBoundsException e) {\n e.printStackTrace();\n fail(\"An exception was thrown! This means your hash returned an illegal value. aKa < 0 || >= table size\");\n }\n }\n\n if (varianceHashTick[0] != 0)\n fail(\"Your HashTick returned a value of 0, according to the lecture script formula, this should not have happened!\" +\n \"NOTE: This does not guarantee, that your hash tick may actually be wrong! Artemis tests are final tests\" +\n \"This is just an assumption based on the formula of the lecture script\");\n\n printStatistics(varianceHash, varianceHashTick, prime, false);\n }", "title": "" }, { "docid": "2dda23f11dd1bb472053b37a1e38b8ed", "score": "0.5556246", "text": "@Test(timeout = 4000)\n public void test063() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.clearRanking();\n resultMatrixSignificance0.toArray();\n resultMatrixSignificance0.getDefaultMeanPrec();\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n int[][] intArray0 = new int[0][5];\n resultMatrixSignificance0.m_NonSigWins = intArray0;\n int[][] intArray1 = new int[0][4];\n resultMatrixGnuPlot0.setRanking(intArray1);\n Vector<Object> vector0 = new Vector<Object>();\n resultMatrixGnuPlot0.m_HeaderKeys = vector0;\n resultMatrixGnuPlot0.m_StdDevPrec = 1;\n resultMatrixGnuPlot0.setMeanPrec(270);\n resultMatrixSignificance0.setStdDevPrec(1);\n resultMatrixSignificance0.getColCount();\n resultMatrixSignificance0.getDefaultShowStdDev();\n resultMatrixSignificance0.getDefaultRowNameWidth();\n resultMatrixSignificance0.getPrintRowNames();\n Vector<String> vector1 = new Vector<String>();\n Predicate<Object> predicate0 = Predicate.isEqual((Object) vector1);\n predicate0.negate();\n Predicate<Object> predicate1 = predicate0.negate();\n predicate1.negate();\n vector1.setSize(40);\n Vector<Integer> vector2 = new Vector<Integer>();\n vector2.removeIf(predicate1);\n resultMatrixSignificance0.setCount(50, 155.738);\n resultMatrixSignificance0.getDefaultMeanWidth();\n assertEquals(1, resultMatrixSignificance0.getStdDevPrec());\n }", "title": "" }, { "docid": "c657c3749c0156397fb324e84ba5a16a", "score": "0.5553455", "text": "public static void testHammingDistance() {\n }", "title": "" }, { "docid": "2d988f1894c47f3064f0d4341bc71b71", "score": "0.55446374", "text": "@Test(timeout = 4000)\n public void test099() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertNotNull(textDirectoryLoader0);\n \n SMOreg sMOreg0 = new SMOreg();\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertNotNull(sMOreg0);\n \n Capabilities capabilities0 = sMOreg0.getCapabilities();\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertNotNull(capabilities0);\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertNotNull(testInstances0);\n \n Instances instances0 = testInstances0.generate(\"weka/core/Capabilities.props\");\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertNotNull(instances0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertNotNull(evaluation0);\n \n String string0 = instances0.getRevision();\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"9186\", string0);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertNotNull(string0);\n \n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n assertNotNull(fileSystemHandling0);\n \n Object object0 = new Object();\n assertNotNull(object0);\n \n SerializedClassifier serializedClassifier0 = new SerializedClassifier();\n assertFalse(serializedClassifier0.getDebug());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", serializedClassifier0.debugTipText());\n assertEquals(\"The serialized classifier model to use for predictions.\", serializedClassifier0.modelFileTipText());\n assertEquals(\"A wrapper around a serialized classifier model. This classifier loads a serialized models and uses it to make predictions.\\n\\nWarning: since the serialized model doesn't get changed, cross-validation cannot bet used with this classifier.\", serializedClassifier0.globalInfo());\n assertNotNull(serializedClassifier0);\n \n double double0 = evaluation0.m_TotalCost;\n assertEquals(0.0, double0, 0.01);\n \n ConverterUtils.DataSource converterUtils_DataSource0 = new ConverterUtils.DataSource(instances0);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertNotNull(converterUtils_DataSource0);\n \n DenseInstance denseInstance0 = (DenseInstance)converterUtils_DataSource0.nextElement(instances0);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertEquals(3, denseInstance0.numValues());\n assertEquals(1, denseInstance0.numClasses());\n assertEquals(2, denseInstance0.classIndex());\n assertEquals(3, denseInstance0.numAttributes());\n assertNotNull(denseInstance0);\n \n evaluation0.updatePriors(denseInstance0);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(20, testInstances0.getNumInstances());\n assertFalse(testInstances0.getNoClass());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(20, instances0.numInstances());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertEquals(3, denseInstance0.numValues());\n assertEquals(1, denseInstance0.numClasses());\n assertEquals(2, denseInstance0.classIndex());\n assertEquals(3, denseInstance0.numAttributes());\n }", "title": "" }, { "docid": "562ddf750d72ab5170622e5cb85180ba", "score": "0.554425", "text": "public void doTest(){\r\n\r\n\t\tint draws;\r\n\t\tint effectiveSamples;\r\n\t\t\r\n\t\tif(!dataReady){\t\t\r\n\t\t\tSystem.out.println(\"Data is not ready\");\r\n\t\t\treturn;\t\r\n\t\t}\r\n\t\t\r\n\t\t//compute K statistics\r\n\t\t\t\t\r\n\t\tK=0;\r\n\t\tK2=0;\r\n\t\tdraws=0;\r\n\t\t\r\n\t\tfor(int i=0;i<sequence.size();i++){\r\n\t\t\tif(sequence.get(i)>0){\r\n\t\t\t\tK++;\r\n\t\t\t}\r\n\t\t\tif(sequence.get(i)<0){\r\n\t\t\t\tK2++;\r\n\t\t\t}\r\n\t\t\tif(sequence.get(i)==0){\r\n\t\t\t\tdraws++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\t\t\r\n\t\t//compute p-values\r\n\t\t\r\n\t\teffectiveSamples=sequence.size()-draws;\r\n\t\tbinomial.setN(effectiveSamples);\r\n\t\t\r\n\t\texactLeftTail=binomial.computeCumulativeProbability(effectiveSamples-K2);\r\n\t\texactRightTail=binomial.computeCumulativeProbability(effectiveSamples-K);\r\n\t\texactDoubleTail=Math.min(Math.min(exactLeftTail,exactRightTail)*2.0,1.0);\r\n\t\t\t\t\t\t\t\r\n\t\t//asymptotic p-values\r\n\t\tdouble numerator, denominator;\r\n\t\t\r\n\t\tdenominator=0.5*Math.sqrt(effectiveSamples);\r\n\t\t\r\n\t\tnumerator=((double)K-(0.5*effectiveSamples)+0.5);\r\n\r\n\t\tasymptoticLeftTail=normal.getTipifiedProbability(numerator/denominator, false);\r\n\r\n\t\tnumerator=((double)K-(0.5*effectiveSamples)-0.5);\r\n\t\tasymptoticRightTail=1.0-normal.getTipifiedProbability(numerator/denominator, false);\r\n\t\t\r\n\t\tasymptoticDoubleTail=Math.min(Math.min(asymptoticLeftTail,asymptoticRightTail)*2.0,1.0);\r\n\t\t\r\n\t\tperformed=true;\r\n\r\n\t}", "title": "" }, { "docid": "ffed7dc2660dc25d3e806103344f0157", "score": "0.55344605", "text": "@Test(timeout = 4000)\n public void test070() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.setStdDevWidth(1);\n resultMatrixSignificance0.toString();\n resultMatrixSignificance0.m_EnumerateRowNames = true;\n resultMatrixSignificance0.doubleToString(0.0, 0);\n resultMatrixSignificance0.m_SignificanceWidth = 0;\n resultMatrixSignificance0.getDefaultPrintColNames();\n resultMatrixSignificance0.getDefaultEnumerateColNames();\n resultMatrixSignificance0.isAverage(0);\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n int[] intArray0 = new int[0];\n resultMatrixGnuPlot0.m_RowOrder = intArray0;\n resultMatrixGnuPlot0.getColName((-1107));\n resultMatrixGnuPlot0.assign(resultMatrixSignificance0);\n resultMatrixGnuPlot0.toStringRanking();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n int[][] intArray1 = new int[2][3];\n intArray1[0] = intArray0;\n intArray1[1] = null;\n resultMatrixCSV0.setSummary(intArray1, intArray1);\n resultMatrixCSV0.toStringKey();\n resultMatrixCSV0.setRowOrder(intArray0);\n resultMatrixCSV0.getCount(1);\n // Undeclared exception!\n try { \n resultMatrixGnuPlot0.toStringHeader();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "3958058257fa972d9fd73c1efa71d10b", "score": "0.5529281", "text": "@Test(timeout = 4000)\n public void test128() throws Throwable {\n StringReader stringReader0 = new StringReader(\"assert\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"x\");\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.jjimageLen = 1;\n javaParserTokenManager0.getNextToken();\n javaParserTokenManager0.jjFillToken();\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(0, javaCharStream0.bufpos);\n assertEquals(0, token0.kind);\n }", "title": "" }, { "docid": "f63a13d7f1a30cf6c9a9d8f6a5aeba57", "score": "0.55242676", "text": "@Test(timeout = 4000)\n public void test104() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n assertEquals(\"Whether to store the filename in an additional attribute.\", textDirectoryLoader0.outputFilenameTipText());\n assertEquals(\"The character set to use when reading text files (eg UTF-8) - leave blank to use the default character set.\", textDirectoryLoader0.charSetTipText());\n assertEquals(\"Whether to print additional debug information to the console.\", textDirectoryLoader0.debugTipText());\n assertEquals(\"Directories\", textDirectoryLoader0.getFileDescription());\n assertEquals(\"\", textDirectoryLoader0.getCharSet());\n assertFalse(textDirectoryLoader0.getOutputFilename());\n assertFalse(textDirectoryLoader0.getDebug());\n assertEquals(\"Loads all text files in a directory and uses the subdirectory names as class labels. The content of the text files will be stored in a String attribute, the filename can be stored as well.\", textDirectoryLoader0.globalInfo());\n assertNotNull(textDirectoryLoader0);\n \n SMOreg sMOreg0 = new SMOreg();\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertNotNull(sMOreg0);\n \n Capabilities capabilities0 = sMOreg0.getCapabilities();\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertNotNull(capabilities0);\n \n TestInstances testInstances0 = TestInstances.forCapabilities(capabilities0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertNotNull(testInstances0);\n \n Instances instances0 = testInstances0.generate(\"weka/core/Capabilities.props\");\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertNotNull(instances0);\n \n Evaluation evaluation0 = new Evaluation(instances0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(Double.NaN, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.errorRate(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctIncorrect(), 0.01);\n assertEquals(Double.NaN, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(Double.NaN, evaluation0.avgCost(), 0.01);\n assertEquals(Double.NaN, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(Double.NaN, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(Double.NaN, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(Double.NaN, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(Double.NaN, evaluation0.rootMeanSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(Double.NaN, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertNotNull(evaluation0);\n \n double double0 = evaluation0.m_TotalCost;\n assertEquals(0.0, double0, 0.01);\n \n ConverterUtils.DataSource converterUtils_DataSource0 = new ConverterUtils.DataSource(instances0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertNotNull(converterUtils_DataSource0);\n \n DenseInstance denseInstance0 = (DenseInstance)converterUtils_DataSource0.nextElement(instances0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.numAttributes());\n assertEquals(20, instances0.numInstances());\n assertEquals(20.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(20, instances0.size());\n assertEquals(1, instances0.numClasses());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(3, denseInstance0.numValues());\n assertEquals(3, denseInstance0.numAttributes());\n assertEquals(2, denseInstance0.classIndex());\n assertEquals(1, denseInstance0.numClasses());\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertNotNull(denseInstance0);\n \n EvoSuiteFile evoSuiteFile0 = new EvoSuiteFile(\"/home/ubuntu/evosuite_readability_gen/projects/107_weka\");\n boolean boolean0 = FileSystemHandling.appendLineToFile(evoSuiteFile0, \"@relation\");\n assertFalse(boolean0);\n \n double[] doubleArray0 = new double[5];\n doubleArray0[0] = (double) 2;\n doubleArray0[1] = (double) 2;\n doubleArray0[2] = 0.0;\n doubleArray0[3] = (double) 1;\n doubleArray0[4] = (-1961.1);\n boolean boolean1 = instances0.add((Instance) denseInstance0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertTrue(boolean1);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.numAttributes());\n assertEquals(21, instances0.numInstances());\n assertEquals(21.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(21, instances0.size());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(3, denseInstance0.numValues());\n assertEquals(3, denseInstance0.numAttributes());\n assertEquals(2, denseInstance0.classIndex());\n assertEquals(1, denseInstance0.numClasses());\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertFalse(boolean1 == boolean0);\n \n double double1 = evaluation0.evaluateModelOnce(doubleArray0, (Instance) denseInstance0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertEquals(2.0, double1, 0.01);\n assertEquals(5, doubleArray0.length);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.numAttributes());\n assertEquals(21, instances0.numInstances());\n assertEquals(21.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(21, instances0.size());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(189.1252955549109, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(189.1252955549109, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(1.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.avgCost(), 0.01);\n assertEquals(1.0, evaluation0.errorRate(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.pctCorrect(), 0.01);\n assertEquals(1.0, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(1.0, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(3, denseInstance0.numValues());\n assertEquals(3, denseInstance0.numAttributes());\n assertEquals(2, denseInstance0.classIndex());\n assertEquals(1, denseInstance0.numClasses());\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n assertNotEquals(double1, double0, 0.01);\n assertArrayEquals(new double[] {2.0, 2.0, 0.0, 1.0, (-1961.1)}, doubleArray0, 0.01);\n \n evaluation0.updateStatsForPredictor(1.0, denseInstance0);\n assertEquals(1, SMOreg.FILTER_STANDARDIZE);\n assertEquals(2, SMOreg.FILTER_NONE);\n assertEquals(0, SMOreg.FILTER_NORMALIZE);\n assertEquals((-1), TestInstances.CLASS_IS_LAST);\n assertEquals((-2), TestInstances.NO_CLASS);\n assertEquals(6, AbstractInstance.s_numericAfterDecimalPoint);\n assertEquals(\"The complexity parameter C.\", sMOreg0.cTipText());\n assertEquals(\"The kernel to use.\", sMOreg0.kernelTipText());\n assertEquals(1.0, sMOreg0.getC(), 0.01);\n assertEquals(\"The learning algorithm.\", sMOreg0.regOptimizerTipText());\n assertEquals(\"Determines how/if the data will be transformed.\", sMOreg0.filterTypeTipText());\n assertEquals(\"If set to true, classifier may output additional info to the console.\", sMOreg0.debugTipText());\n assertFalse(sMOreg0.getDebug());\n assertEquals(1, capabilities0.getMinimumNumberInstances());\n assertTrue(capabilities0.hasDependencies());\n assertEquals(1, testInstances0.getNumNumeric());\n assertEquals(2, testInstances0.getNumClasses());\n assertEquals(3, testInstances0.getNumAttributes());\n assertEquals(0, testInstances0.getNumRelationalDate());\n assertEquals(0, testInstances0.getNumString());\n assertEquals(0, testInstances0.getNumRelational());\n assertEquals(1, testInstances0.getNumRelationalNominal());\n assertEquals(10, testInstances0.getNumInstancesRelational());\n assertFalse(testInstances0.getMultiInstance());\n assertEquals(1, testInstances0.getSeed());\n assertEquals(0, testInstances0.getNumDate());\n assertEquals(0, testInstances0.getNumRelationalString());\n assertEquals(1, testInstances0.getNumNominal());\n assertEquals(2, testInstances0.getNumNominalValues());\n assertEquals(20, testInstances0.getNumInstances());\n assertEquals(1, testInstances0.getNumRelationalNumeric());\n assertEquals(0, testInstances0.getClassType());\n assertEquals(\" \", testInstances0.getWordSeparators());\n assertEquals(\"Testdata\", testInstances0.getRelation());\n assertEquals((-1), testInstances0.getClassIndex());\n assertEquals(2, testInstances0.getNumRelationalNominalValues());\n assertFalse(testInstances0.getNoClass());\n assertEquals(3, instances0.numAttributes());\n assertEquals(21, instances0.numInstances());\n assertEquals(21.0, instances0.sumOfWeights(), 0.01);\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(1, instances0.numClasses());\n assertEquals(21, instances0.size());\n assertEquals(2, instances0.classIndex());\n assertEquals(\"Testdata\", instances0.relationName());\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.totalCost(), 0.01);\n assertEquals(0.0, evaluation0.coverageOfTestCasesByPredictedRegions(), 0.01);\n assertEquals(0.0, evaluation0.incorrect(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.meanPriorAbsoluteError(), 0.01);\n assertEquals(133.7317789807875, evaluation0.rootRelativeSquaredError(), 0.01);\n assertEquals(0.7071067811865476, evaluation0.rootMeanSquaredError(), 0.01);\n assertEquals(0.0, evaluation0.pctIncorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanEntropyGain(), 0.01);\n assertEquals(2.0, evaluation0.numInstances(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanPriorEntropy(), 0.01);\n assertEquals(0.0, evaluation0.SFSchemeEntropy(), 0.01);\n assertEquals(0.5, evaluation0.meanAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(0.0, evaluation0.avgCost(), 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, evaluation0.correct(), 0.01);\n assertEquals(0.0, evaluation0.pctCorrect(), 0.01);\n assertEquals(0.0, evaluation0.SFMeanSchemeEntropy(), 0.01);\n assertEquals(0.7071067811865476, evaluation0.errorRate(), 0.01);\n assertEquals(94.56264777745545, evaluation0.relativeAbsoluteError(), 0.01);\n assertEquals(0.0, evaluation0.pctUnclassified(), 0.01);\n assertEquals(0.5287499998696148, evaluation0.rootMeanPriorSquaredError(), 0.01);\n assertFalse(evaluation0.getDiscardPredictions());\n assertEquals(0.0, evaluation0.sizeOfPredictedRegions(), 0.01);\n assertFalse(converterUtils_DataSource0.isIncremental());\n assertEquals(3, denseInstance0.numValues());\n assertEquals(3, denseInstance0.numAttributes());\n assertEquals(2, denseInstance0.classIndex());\n assertEquals(1, denseInstance0.numClasses());\n assertEquals(1.0, denseInstance0.weight(), 0.01);\n \n org.evosuite.runtime.Random.setNextRandom(1);\n CostMatrix costMatrix0 = null;\n try {\n costMatrix0 = new CostMatrix((Reader) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.io.Reader\", e);\n }\n }", "title": "" }, { "docid": "c72a3e9c79744973bbe1ba4fd2f1627f", "score": "0.5522906", "text": "@Test public void calculateScore2(){\n p1.hitscount = 13;\n p1.misscount = 0;\n String score= \"250\";\n\n assertEquals(score,test.calcScore(50000,p1, false));\n }", "title": "" }, { "docid": "b61677c7be7067eeabe363bf9284a481", "score": "0.55198157", "text": "@Test\n public void victoryPointsThresholdTest() {\n // TODO: test victoryPointsThreshold\n }", "title": "" }, { "docid": "d378c94939d123a5f11b70a5f25274dc", "score": "0.55150336", "text": "boolean hasEntropy();", "title": "" }, { "docid": "d378c94939d123a5f11b70a5f25274dc", "score": "0.55150336", "text": "boolean hasEntropy();", "title": "" }, { "docid": "17016ee4daeb09fb8c6cd5bdcd26141a", "score": "0.55140585", "text": "@Test\n public void bandwidthUsedTest() {\n // TODO: test bandwidthUsed\n }", "title": "" }, { "docid": "006dbeb783c5bb77acbf52bd9fba486d", "score": "0.5510907", "text": "@Test(timeout = 4000)\n public void test35() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n boolean boolean0 = jRip_RipperRule0.covers((Instance) null);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertTrue(boolean0);\n assertEquals(2, jRip0.getOptimizations());\n }", "title": "" }, { "docid": "c104c86c6b6b83433374ed1511077864", "score": "0.55104053", "text": "@Test\n public void newReleaseMovieGetPointsTest2() {\n final int daysRented = 1;\n final double actualResult = newRelease.calculateFrequentRenterPoints(daysRented);\n final double expectedResult = 1;\n assertEquals(expectedResult, actualResult, 0);\n }", "title": "" }, { "docid": "383eda0266e2655830ce0bc0d5112ac7", "score": "0.55081546", "text": "@Test\n public void testInformationContentCalculation() throws IOException {\n Term t1 = phenotypeData.getTermIncludingAlternatives(\"EP:01\");\n Double expIC = -Math.log(0.25);\n \n System.out.println(\"TEST: IC of EP:01\");\n assertEquals(expIC, phenotypeData.getIC(t1));\n\n // test i all genes are read:\n System.out.println(\"TEST: Number of genes with annotation in example dataset.\");\n assertEquals(4, phenotypeData.getAllGenesIDs().size());\n \n // test if geneA is containted in term2ic dict\n HashSet<String> genes = new HashSet<String>();\n genes.add(\"geneA\");\n genes.add(\"geneB\");\n genes.add(\"geneC\");\n genes.add(\"geneD\");\n System.out.println(\"TEST: Test all gene IDs in example dataset.\");\n assertEquals(genes, phenotypeData.getAllGenesIDs());\n }", "title": "" }, { "docid": "124f15dbf512fd365d98e40cd6de04dc", "score": "0.5506153", "text": "double entropy() throws MatrixException;", "title": "" }, { "docid": "52e1ef34ac3df44004ea170653aae11e", "score": "0.5504969", "text": "@Test(timeout = 4000)\n public void test59() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute((String) null, (String) null);\n SparseInstance sparseInstance0 = new SparseInstance(79);\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"optimization in this implementation.\\n\\n\", arrayList0, 1);\n instances0.add((Instance) sparseInstance0);\n Attribute attribute1 = new Attribute(\"\", 4);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n jRip_NominalAntd0.splitData(instances0, 583.7945140147125, (-270.28298));\n jRip_NominalAntd0.covers(sparseInstance0);\n ArrayList<String> arrayList1 = new ArrayList<String>();\n Attribute attribute2 = new Attribute(\"relational\", arrayList1);\n JRip jRip1 = new JRip();\n try { \n jRip1.rulesetForOneClass((-2620.447761), instances0, 2, 0);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // Class index is negative (not set)!\n //\n verifyException(\"weka.core.Instances\", e);\n }\n }", "title": "" }, { "docid": "01d4463df525b9d31160f76ead64826a", "score": "0.5501564", "text": "double getLogProbabilityOfEstimate();", "title": "" }, { "docid": "ec4919a3c6349d857f61d38de8330fe5", "score": "0.54990107", "text": "private void proveHypothesisOne(long noOfSamples){\n // Pick two nodes at random from the graph.\n // Find if they are equal in the Education : University fields. Call it Series A\n // Find if they are in the same circle. Call it Series B.\n // Find the Correlation between the Two Series A and B above\n System.out.println(\"Testing the First Hypothesis : <dding3>-<01>\");\n Random rnd = new Random();\n boolean[] seriesA = new boolean[(int)noOfSamples];\n boolean[] seriesB = new boolean[(int)noOfSamples];\n double[] seriesADouble = new double[(int)noOfSamples];\n double[] seriesBDouble = new double[(int)noOfSamples];\n\n\n for(int i = 0; i< noOfSamples; i++){\n //pick a pair.\n long firstNodeId = rnd.nextInt((int)noOfNodes);\n long secondNodeId = rnd.nextInt((int)noOfNodes);\n Node firstNode = graphDb.getNodeById(firstNodeId);\n Node secondNode = graphDb.getNodeById(secondNodeId);\n if(firstNode == null || secondNode == null){\n System.out.println(\"NULL Node!\");\n continue;\n }\n //find their education arrays.\n // 24 to 52 is the education;school;id;anonymized feature XX\n String[] firstVec;\n String[] secondVec;\n if(firstNode.hasProperty(\"FeatureVector\") && secondNode.hasProperty(\"FeatureVector\")){\n firstVec = (String[])firstNode.getProperty(\"FeatureVector\");\n secondVec = (String[])secondNode.getProperty(\"FeatureVector\");\n } else {\n continue;\n }\n boolean isSameEducation = true;\n for(int j = 24; j <= 52; j++ ){\n if(firstVec[j] != secondVec[j])\n isSameEducation = false;\n }\n\n\n //check if same circle.\n boolean isSameCircle = false;\n String circle1;\n String circle2;\n if(firstNode.hasProperty(\"CircleID\") && secondNode.hasProperty(\"CircleID\")){\n circle1 = (String)firstNode.getProperty(\"CircleID\");\n circle2 = (String)secondNode.getProperty(\"CircleID\");\n } else {\n continue;\n }\n\n if(circle1.equals(circle2))\n isSameCircle = true;\n else\n isSameCircle = false;\n\n\n seriesA[i] = isSameEducation;\n seriesB[i] = isSameCircle;\n\n if(seriesA[i] == true)\n seriesADouble[i] = 1;\n else\n seriesADouble[i] = 0;\n\n if(seriesB[i] == true)\n seriesBDouble[i] = 1;\n else\n seriesBDouble[i] = 0;\n\n }\n //Check correlation.\n int matchCountTrue = 0;\n int matchCountFalse = 0;\n for(int i = 0; i < seriesA.length; i++){\n if(seriesA[i] == seriesB[i]){\n if(seriesA[i] == true)\n matchCountTrue++;\n else\n matchCountFalse++;\n }\n }\n System.out.println(\"The True - True Matches in the SeriesA and B = \" + matchCountTrue);\n System.out.println(\"The False - False Matches in the SeriesA and B = \" + matchCountFalse);\n System.out.println(\"Total No of Samples = \" + noOfSamples);\n System.out.println(\"Correlation Between the Double Series = \" + new PearsonsCorrelation().correlation(seriesADouble, seriesBDouble));\n return;\n }", "title": "" }, { "docid": "454a5b9e8ef31c80194a46dce9f48bc5", "score": "0.54988056", "text": "@Test(timeout = 4000)\n public void test007() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.clearRanking();\n resultMatrixSignificance0.toArray();\n resultMatrixSignificance0.globalInfo();\n resultMatrixSignificance0.getDefaultMeanPrec();\n int[][] intArray0 = new int[0][5];\n resultMatrixSignificance0.m_NonSigWins = intArray0;\n int[][] intArray1 = new int[0][4];\n Vector<Object> vector0 = new Vector<Object>();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixSignificance0);\n String string0 = resultMatrixLatex0.toStringMatrix();\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption}\\n\\\\footnotesize\\n{\\\\centering \\\\begin{tabular}{lr}\\n\\\\\\\\\\n\\\\hline\\nDataset & (1)\\\\\\\\\\n\\\\hline\\nrow0 & \\\\\\\\\\n\\\\hline\\n\\\\multicolumn{2}{c}{$\\\\circ$, $\\\\bullet$ statistically significant improvement or degradation}\\\\\\\\\\n\\\\end{tabular} \\\\footnotesize \\\\par}\\n\\\\end{table}\\n\", string0);\n \n resultMatrixLatex0.assign(resultMatrixLatex0);\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n resultMatrixPlainText0.setRanking(intArray1);\n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(resultMatrixLatex0);\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n \n ResultMatrixLatex resultMatrixLatex2 = new ResultMatrixLatex();\n resultMatrixLatex2.toStringKey();\n int int0 = resultMatrixPlainText0.getSignificanceCount((-2080), 26);\n assertEquals(0, int0);\n }", "title": "" }, { "docid": "a1b7d3aeb720f1718383425efb370603", "score": "0.549868", "text": "@Test\n\tpublic void test6bestSeq() {\n\t}", "title": "" }, { "docid": "cacdaacdea908afd87935a1d7b19588f", "score": "0.5497552", "text": "@Test\n public void test24() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n CostSensitiveClassifier costSensitiveClassifier0 = new CostSensitiveClassifier();\n CostMatrix costMatrix0 = costSensitiveClassifier0.getCostMatrix();\n Evaluation evaluation0 = null;\n try {\n evaluation0 = new Evaluation(instances0, costMatrix0);\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Cost matrix not compatible with data!\n //\n }\n }", "title": "" }, { "docid": "d753da9c6635fd688dfd74b25272e91d", "score": "0.5495536", "text": "@Test\n public void testPuma8nh() {\n System.out.println(\"puma8nh\");\n ArffParser parser = new ArffParser();\n parser.setResponseIndex(8);\n try {\n AttributeDataset data = parser.parse(this.getClass().getResourceAsStream(\"/smile/data/weka/regression/puma8nh.arff\"));\n double[] y = data.toArray(new double[data.size()]);\n double[][] x = data.toArray(new double[data.size()][]);\n\n int[] perm = Math.permutate(x.length);\n double[][] datax = new double[4000][];\n double[] datay = new double[datax.length];\n for (int i = 0; i < datax.length; i++) {\n datax[i] = x[perm[i]];\n datay[i] = y[perm[i]];\n }\n\n int n = datax.length;\n int k = 10;\n\n CrossValidation cv = new CrossValidation(n, k);\n double rss = 0.0;\n double sparseRSS30 = 0.0;\n for (int i = 0; i < k; i++) {\n double[][] trainx = Math.slice(datax, cv.train[i]);\n double[] trainy = Math.slice(datay, cv.train[i]);\n double[][] testx = Math.slice(datax, cv.test[i]);\n double[] testy = Math.slice(datay, cv.test[i]);\n\n GaussianProcessRegression<double[]> rkhs = new GaussianProcessRegression<double[]>(trainx, trainy, new GaussianKernel(38.63), 0.1);\n\n KMeans kmeans = new KMeans(trainx, 30, 10);\n double[][] centers = kmeans.centroids();\n double r0 = 0.0;\n for (int l = 0; l < centers.length; l++) {\n for (int j = 0; j < l; j++) {\n r0 += Math.distance(centers[l], centers[j]);\n }\n }\n r0 /= (2 * centers.length);\n System.out.println(\"Kernel width = \" + r0);\n GaussianProcessRegression<double[]> sparse30 = new GaussianProcessRegression<double[]>(trainx, trainy, centers, new GaussianKernel(r0), 0.1);\n\n for (int j = 0; j < testx.length; j++) {\n double r = testy[j] - rkhs.predict(testx[j]);\n rss += r * r;\n \n r = testy[j] - sparse30.predict(testx[j]);\n sparseRSS30 += r * r;\n }\n }\n\n System.out.println(\"Regular 10-CV MSE = \" + rss / n);\n System.out.println(\"Sparse (30) 10-CV MSE = \" + sparseRSS30 / n);\n } catch (Exception ex) {\n System.err.println(ex);\n }\n }", "title": "" }, { "docid": "1fcb07d05272bed2b2b91a05da03dc4d", "score": "0.5495094", "text": "@Test\n public void doSurvivalAnalysisForMetaCNA() throws Exception {\n boolean includeModule2 = true;\n BreastMCLGeneExpModulePermutationTester breastAnalyzer = new BreastMCLGeneExpModulePermutationTester();\n String[] geneExpFileNames = breastAnalyzer.getSourceFileNames();\n String[] clinFileNames = breastAnalyzer.getClinFileNames();\n List<Map<String, Map<String, Double>>> geneToSampleToValues = new ArrayList<Map<String,Map<String,Double>>>();\n CancerGeneExpressionCommon arrayHelper = new CancerGeneExpressionCommon();\n for (int i = 0; i < geneExpFileNames.length; i++) {\n Map<String, Map<String, Double>> geneToSampleToValue = arrayHelper.loadGeneExp(BREAST_DIR + geneExpFileNames[i]);\n geneToSampleToValues.add(geneToSampleToValue);\n// break;\n }\n List<Set<String>> list = new ArrayList<Set<String>>();\n Set<String> pcnaGenes = loadPCNAGenes();\n list.add(pcnaGenes);\n \n // For all signatures\n Map<String, Set<String>> nameToSignature = loadCancerSignatures();\n list.clear();\n// list.add(nameToSignature.get(\"YU\")); // It has the highest p-value for expression correlation.\n list.add(nameToSignature.get(\"HALLSTROM\")); // It has the medium p-value for expression correlation.\n \n if (includeModule2) {\n Set<String> module2 = breastAnalyzer.getModule2();\n list.add(module2);\n }\n for (int i = 0; i < geneToSampleToValues.size(); i++) {\n Map<String, Map<String, Double>> geneToSampleToValue = geneToSampleToValues.get(i);\n String tmpFileName = R3Constants.TEMP_DIR + \"/TmpModuleToGeneExp.txt\";\n arrayHelper.generateSampleToGeneExpClusters(geneToSampleToValue,\n tmpFileName,\n list);\n File file = new File(tmpFileName);\n String clinFileName = BREAST_DIR + clinFileNames[i];\n String[] output = breastAnalyzer.doSurvivalAnalysis(file,\n new File(clinFileName), \n \"coxph\",\n includeModule2 ? null : 0);\n System.out.println(geneExpFileNames[i]);\n System.out.println(output[0]);\n System.out.println(output[1]);\n }\n \n// if (true)\n// return;\n list.clear();\n int index = 1;\n List<String> sigNames = new ArrayList<String>();\n for (String name : nameToSignature.keySet()) {\n System.out.println(index + \"\\t\" + name);\n list.add(nameToSignature.get(name));\n index ++;\n sigNames.add(name);\n }\n if (includeModule2) {\n list.add(breastAnalyzer.getModule2());\n sigNames.add(\"Module2\");\n }\n String[] datasets = breastAnalyzer.getDataSetNames();\n for (int i = 0; i < geneToSampleToValues.size(); i++) {\n Map<String, Map<String, Double>> geneToSampleToValue = geneToSampleToValues.get(i);\n String tmpFileName = BREAST_DIR + \"/PloSCompBioRandomSet/\" + datasets[i] + \"SampleToSignatures.txt\";\n// String tmpFileName = R3Constants.TEMP_DIR + \"/TmpModuleToGeneExp.txt\";\n arrayHelper.generateSampleToGeneExpClusters(geneToSampleToValue,\n tmpFileName,\n list,\n sigNames);\n File file = new File(tmpFileName);\n String clinFileName = BREAST_DIR + clinFileNames[i];\n String[] output = breastAnalyzer.doSurvivalAnalysis(file,\n new File(clinFileName), \n \"coxph\",\n null);\n System.out.println(geneExpFileNames[i]);\n System.out.println(output[0]);\n System.out.println(output[1]);\n }\n }", "title": "" }, { "docid": "092d798887c9332c5de318c97092c598", "score": "0.5492729", "text": "@Test(timeout = 4000)\n public void test025() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\n int[][] intArray0 = new int[2][5];\n int[] intArray1 = new int[5];\n intArray1[0] = 1;\n intArray1[1] = 0;\n intArray1[2] = 1;\n intArray1[3] = 2;\n intArray1[4] = 1;\n int[] intArray2 = new int[9];\n intArray2[0] = 1;\n intArray2[1] = 2;\n intArray2[2] = 0;\n intArray2[3] = 0;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(2, 44);\n resultMatrixSignificance0.stdDevWidthTipText();\n resultMatrixSignificance0.showStdDevTipText();\n resultMatrixSignificance0.clearRanking();\n resultMatrixSignificance0.setShowAverage(true);\n resultMatrixSignificance0.setMean((-4136), 0, 0);\n resultMatrixSignificance0.getDefaultRemoveFilterName();\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n resultMatrixSignificance1.getVisibleColCount();\n resultMatrixSignificance1.stdDevWidthTipText();\n resultMatrixSignificance1.setColHidden(2, true);\n assertTrue(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n }", "title": "" } ]
a778541860fc7a3c307582f6fbfa6401
Get a file name without extension.
[ { "docid": "674d200fdb35d1abd85b0ff3e22a4084", "score": "0.8130614", "text": "public static @NotNull String getNameWithoutExtension(@NotNull String filename) {\n\n if (StringUtils.isEmpty(filename)) {\n return filename;\n }\n\n int index = filename.lastIndexOf('.');\n\n if (index == -1) {\n return filename;\n }\n\n return filename.substring(0, index);\n }", "title": "" } ]
[ { "docid": "09dee7f36f1adc554c89126eff136a02", "score": "0.8417647", "text": "public String getNameWithoutExtension() {\n\t\treturn Files.getNameWithoutExtension(file.getName());\n\t}", "title": "" }, { "docid": "ccb45849f7f16d72ad8d1fd32889b707", "score": "0.80571413", "text": "public static String getFileNameWithoutExtension( String filename )\n\t{\n\t\tString filenameWithoutExt = null;\n\n\t\tif( filename != null )\n\t\t{\n\t\t\tString filePortion = new File( filename ).getName();\n\t\t\tint pos = filePortion.lastIndexOf( \".\" );\n\n\t if( pos == -1 )\n\t {\n\t \tfilenameWithoutExt = filePortion;\n\t }\n\t else\n\t {\n\t \tfilenameWithoutExt = filePortion.substring( 0, pos );\n\t }\n\t\t}\n\n\t\treturn filenameWithoutExt;\n\t}", "title": "" }, { "docid": "d96cb0cbf9ceb2e8b0e24b75fef543e9", "score": "0.80339706", "text": "public static @NotNull String getNameWithoutExtension(@NotNull Path file) {\n\n String filename = file.getFileName().toString();\n\n if (StringUtils.isEmpty(filename)) {\n return filename;\n }\n\n int index = filename.lastIndexOf('.');\n\n if (index == -1) {\n return filename;\n }\n\n return filename.substring(0, index);\n }", "title": "" }, { "docid": "a81f5ce43f8758ae46377d5d08a6bfbc", "score": "0.78994584", "text": "public static String getNameWithoutExtension(File f){\r\n\t\treturn f.getName().split(\"\\\\.\")[0];\r\n\t}", "title": "" }, { "docid": "8ba85f9b2f7abb3eda01c1292c386ee1", "score": "0.7886949", "text": "private static String getFileNameWithoutExtension(String fileName) {\n try {\n return fileName = fileName.replaceFirst(\"[.][^.]+$\", \"\");\n } catch (Exception e) {\n e.printStackTrace();\n return \"\";\n }\n }", "title": "" }, { "docid": "eb3862b36654f7aa5867fac71a5a41f2", "score": "0.7838871", "text": "public static String getFileNameWithoutExtension( File file )\n\t{\n\t\tString filename = null;\n\n\t\tif( file != null )\n\t\t{\n\t\t\treturn getFileNameWithoutExtension( file.getName() );\n\t\t}\n\n\t\treturn filename;\n\t}", "title": "" }, { "docid": "cd924c9545db2592511ab51a17838c2b", "score": "0.7806668", "text": "public static String getFileNameWithoutExtension(Path path) {\n String name = path.getFileName().toString();\n int index = name.lastIndexOf('.');\n if (index <= 0) {\n return name;\n } else {\n return name.substring(0, index);\n }\n }", "title": "" }, { "docid": "65cfb04369f399327a1a5c47860b2a1c", "score": "0.77986217", "text": "public static String getFileNameNoExtension(String filePath) {\r\n String fileName = getFileName(filePath); // can be null, careful\r\n int dot = extensionSeparatorIndex(fileName);\r\n if (dot == -1) { // not found (or null)\r\n return fileName;\r\n } else {\r\n return fileName.substring(0, dot); // not including dot\r\n }\r\n }", "title": "" }, { "docid": "32e6489a1aff0a06542bcfb0dc9a6480", "score": "0.7736298", "text": "public static String getFileNameWithoutExtension(String sFile) {\r\n\r\n String separator = System.getProperty(\"file.separator\");\r\n\r\n int indexOfLastSeparator = sFile.lastIndexOf(separator);\r\n String filename = (indexOfLastSeparator<0) ? sFile : sFile.substring(indexOfLastSeparator + 1);\r\n\r\n int extensionIndex = filename.lastIndexOf(\".\");\r\n String fileExtension = (extensionIndex<0) ? filename : filename.substring(0, extensionIndex);\r\n\r\n return fileExtension;\r\n }", "title": "" }, { "docid": "3ce5b701c5804c17c169669827539f29", "score": "0.7651263", "text": "public static String getNameWithoutExtension(File file) {\n PreCon.notNull(file);\n\n return getNameWithoutExtension(file.getName());\n }", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7632342", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7631306", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "9e1d590e5b48ff7fc1f842df74f415b9", "score": "0.7601048", "text": "public static String getNameWithoutExtension(String fileName) {\n PreCon.notNull(fileName);\n\n int i = fileName.lastIndexOf('.');\n if (i != -1) {\n return fileName.substring(0, i);\n }\n\n return fileName;\n }", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.75637555", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.7561326", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "82f913eb0b2612921d33f4e6ca27f20c", "score": "0.7430101", "text": "public static String getFileNameWithoutExtension(String fileName) {\n\t\ttry {\n\n\t\t\treturn fileName.replaceFirst(\"[.][^.]+$\", \"\");\n\n\t\t} catch (Exception exp) {\n\t\t\tSystem.out.println(\"Exception: \" + exp.getMessage());\n\t\t\texp.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\n\t}", "title": "" }, { "docid": "27176c467dc478c08a2503691c0531ef", "score": "0.72898877", "text": "private String getNameWithoutExtension(String name) {\n if (name.indexOf(\".\") > 0)\n name = name.substring(0, name.lastIndexOf(\".\"));\n return name;\n }", "title": "" }, { "docid": "13fc574099be5aa7b8d6dfb40f7e6b6c", "score": "0.7283929", "text": "public static String getFileNameWithoutDirectory(String sFile) {\r\n\r\n String separator = System.getProperty(\"file.separator\");\r\n\r\n int indexOfLastSeparator = sFile.lastIndexOf(separator);\r\n String filename = (indexOfLastSeparator < 0) ? sFile : sFile.substring(indexOfLastSeparator + 1);\r\n\r\n return filename;\r\n }", "title": "" }, { "docid": "e6a94f8666a73b83d73df00b6f7b815e", "score": "0.7236606", "text": "public static String getFileName(String f) { \n String fname = \"\"; \n int i = f.lastIndexOf('.'); \n\n if (i > 0 && i < f.length() - 1) { \n fname = f.substring(0,i); \n } \n return fname; \n }", "title": "" }, { "docid": "7f8d6f7d7994ff37e056b3c3bcc146be", "score": "0.71256644", "text": "String getFilename();", "title": "" }, { "docid": "7f8d6f7d7994ff37e056b3c3bcc146be", "score": "0.71256644", "text": "String getFilename();", "title": "" }, { "docid": "94ff30fe06cf6d8691129b6b92b9651a", "score": "0.70981896", "text": "public static String getFileName(String name)\n {\n return getFileName(name, false);\n }", "title": "" }, { "docid": "a393f37f6077162cc4d77481d105ec59", "score": "0.7046511", "text": "private static String getFileExtension(String fileName) {\n if(fileName.lastIndexOf(\".\") != -1 && fileName.lastIndexOf(\".\") != 0)\n return fileName.substring(fileName.lastIndexOf(\".\") + 1);\n else return \"\";\n }", "title": "" }, { "docid": "7e3553bb84825263c83527e930f42a2d", "score": "0.7029102", "text": "public String getFileName() {\n String name = getUri().substring(getUri().lastIndexOf(File.separator) + 1);\n int w = name.indexOf(\"?\");\n if (w != -1) {\n name = name.substring(0, w);\n }\n return name;\n }", "title": "" }, { "docid": "eaf4d3d5758f84de6353b39032b81e08", "score": "0.7006691", "text": "String getFileName();", "title": "" }, { "docid": "eaf4d3d5758f84de6353b39032b81e08", "score": "0.7006691", "text": "String getFileName();", "title": "" }, { "docid": "51f588b48da6466024b493339fee1b8e", "score": "0.6993957", "text": "public static String getFileSuffix(String filename) {\n int lastDot = filename.lastIndexOf('.');\n if (lastDot < 0) {\n return null;\n }\n return toLowerCase(filename.substring(lastDot + 1));\n }", "title": "" }, { "docid": "14bdad823ae6d0d8acc7e114aaf00ddc", "score": "0.6971472", "text": "public static String getBaseFileName(File file){\n if(file.getName().lastIndexOf(\".\") > 0){\n return file.getName().substring(0,file.getName().lastIndexOf(\".\"));\n }else{\n return file.getName();\n }\n \n }", "title": "" }, { "docid": "78803087329d4e43e46e6e0a50b5dd72", "score": "0.6960288", "text": "public String getFilename()\n {\n return filenameURL( GET, null ).getFilename();\n }", "title": "" }, { "docid": "589307ac6e1a4115b2f459f9bf6c6006", "score": "0.6955437", "text": "public static String getFilenameExtension(File file) {\n\tString filename = file.getName();\n\tint index = filename.lastIndexOf('.');\n\treturn (index == -1 || index+1 == filename.length())? null:\n\t filename.substring(index+1);\n }", "title": "" }, { "docid": "e81f1e4bd3a561295e7d243482e2148a", "score": "0.6940974", "text": "public String getExtension() {\n\t String name = file.getName();\n\t \n\t try {\n\t return name.substring(name.lastIndexOf(\".\") + 1);\n\t } catch (Exception e) {\n\t \tSystem.out.println(\"Error: file is invalid, unable to get extension\");\n\t return \"\";\n\t }\n\t}", "title": "" }, { "docid": "9c46db14081edefa16871c4e2cf389e0", "score": "0.69383407", "text": "java.lang.String getStrFileName();", "title": "" }, { "docid": "9c46db14081edefa16871c4e2cf389e0", "score": "0.69383407", "text": "java.lang.String getStrFileName();", "title": "" }, { "docid": "0302ace3e799a9fac24493a44bc6011c", "score": "0.69303477", "text": "public static String getFileExtension(File f){\n String fileName = f.getPath();\n int i = fileName.lastIndexOf('.');\n if (i > 0) {\n return fileName.substring(i+1);\n }\n return \"\";\n }", "title": "" }, { "docid": "082ed249fee9b6dd5f4564af5d0c5246", "score": "0.6929166", "text": "private static String getFileExtension(String fileName) {\n try {\n return fileName.substring(fileName.lastIndexOf(\".\") + 1).toLowerCase();\n } catch (Exception e) {\n return \"\";\n }\n }", "title": "" }, { "docid": "0fe58c8fc445662f5ecfa49f04c465a2", "score": "0.6892363", "text": "public static String filename( final String path )\n {\n final int i = path.lastIndexOf( \"/\" );\n return ( ( i >= 0 ) ? path.substring( i + 1 ) : path );\n }", "title": "" }, { "docid": "25788569962a398cf91a959afaa5ab08", "score": "0.6872748", "text": "public static String getFileExtension(Path f){\r\n\tString name_of_file = f.getFileName().toString();\r\n\tif(name_of_file.lastIndexOf(\".\") != -1 && name_of_file.lastIndexOf(\".\") != 0)\r\n return (name_of_file.substring(name_of_file.lastIndexOf(\".\")+1));\r\n else return \"\";\r\n\t}", "title": "" }, { "docid": "053632562305e0eacbffc816e1efc717", "score": "0.6853864", "text": "private String getFileExtension(File file) {\n String name = file.getAbsolutePath();\n if (name.endsWith(\".\")) {\n return \"\";\n }\n String[] temp = name.split(SEPARATOR);\n return temp[temp.length - 1];\n }", "title": "" }, { "docid": "b93c0ab822f0f4ef9cb3af1fdd2e3527", "score": "0.6853414", "text": "public static String trimExtension(String filename)\r\n\t{\r\n\t\tint position = filename.lastIndexOf(\".\");\r\n\t\tif (position < 0)\r\n\t\t\treturn filename;\r\n\t\treturn filename.substring(0, position);\r\n\t}", "title": "" }, { "docid": "8b4987b3b5994733e4fdf5ce3348245d", "score": "0.68390214", "text": "public static String trimExtension(String filename)\n\t{\n\t\tint position = filename.lastIndexOf(\".\");\n\t\tif (position < 0)\n\t\t\treturn filename;\n\t\treturn filename.substring(0, position);\n\t}", "title": "" }, { "docid": "4b02e3747db695112f9969c68e0d3417", "score": "0.68311673", "text": "public static String getFileName(String name, boolean ext)\n {\n int lastSlash, firstPeriod;\n\n lastSlash = name.lastIndexOf('/');\n lastSlash = Math.max(lastSlash, name.lastIndexOf('\\\\'));\n if (lastSlash < 0)\n lastSlash = 0;\n\n if (ext)\n {\n // End of string\n firstPeriod = name.length();\n }\n else\n {\n firstPeriod = name.indexOf('.', lastSlash);\n if (firstPeriod < 0)\n firstPeriod = 0;\n }\n\n //lastSlash + 1 removes the slash\n return name.substring(lastSlash + 1, firstPeriod);\n }", "title": "" }, { "docid": "4cb87d469d67dbfcdb8f7cfbd75753b9", "score": "0.6824907", "text": "public static String parseFileName(File file){\n String fileName = file.getName();\n int dotIndex = fileName.lastIndexOf(\".\");\n if (dotIndex < 0) {\n return null;\n }\n\n return fileName.substring(0, dotIndex);\n }", "title": "" }, { "docid": "d626556cbc9e87da71cc44d897aff50b", "score": "0.67977846", "text": "public final static String getExtension(final String fileName) {\n final int dot = fileName.lastIndexOf('.');\n return dot < 0 ? null : fileName.substring(dot + 1);\n }", "title": "" }, { "docid": "2a3de6c3ad46dd1f0415ca0ab9eac287", "score": "0.6772195", "text": "@Override\n public String getFileName() { // Method for returning file name in system\n String filename;\n\n if (file == null) // If no filename was passed in returns null for file name\n filename = null;\n else\n filename = file.getName(); // Using java.io.File gets file name otherwise\n\n return filename;\n }", "title": "" }, { "docid": "0ea05415d36ccc64a843e447ebbc4ce3", "score": "0.6763952", "text": "public String getFileName(String p){\r\n File f = new File(p);\r\n return f.getName();\r\n }", "title": "" }, { "docid": "83c842663b94fbe9e785f1edde79963c", "score": "0.67619365", "text": "private String findFileExtension(String fileName) {\n if (fileName.lastIndexOf(\".\") != -1 && fileName.lastIndexOf(\".\") != 0)\n return fileName.substring(fileName.lastIndexOf(\".\") + 1);\n else return \"\";\n }", "title": "" }, { "docid": "7251990dda95cbaab4b987b9ed5d02a2", "score": "0.67541105", "text": "@Override\r\n\tpublic String getFileSuffix() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "2c1069eafd378e4912aee30fece1f2ba", "score": "0.6747613", "text": "@Override\n public String getName() {\n String fileName = this.uri.getLastPathSegment();\n return addExtension(removeLeadingDots(fileName));\n }", "title": "" }, { "docid": "e15115aa3dfd2f3f32f7bf0d33dfa4a4", "score": "0.6747547", "text": "public static String stripFilenameExtension(String path) {\n\t\tif (path == null) {\n\t\t\treturn null;\n\t\t}\n\t\tint sepIndex = path.lastIndexOf(EXTENSION_SEPARATOR);\n\t\treturn (sepIndex != -1 ? path.substring(0, sepIndex) : path);\n\t}", "title": "" }, { "docid": "4daacd490b3b5179fe0207b5ab885dc4", "score": "0.67470866", "text": "public static String getExt(File f){\r\n\t\tString name = f.getName();\r\n\t\ttry{\r\n\t\t\treturn name.substring(name.lastIndexOf(\".\"), name.length());\r\n\t\t}catch(IndexOutOfBoundsException e){\r\n\t\t\treturn \"\";\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5b87cb8a2a5c064adaab88a30f45dc21", "score": "0.67248154", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "4a3635126bd2e09ce49e8d5796cd7684", "score": "0.67170316", "text": "public static String getFileExtension(String fileName) {\n PreCon.notNull(fileName);\n\n int i = fileName.lastIndexOf('.');\n if (i != -1) {\n return fileName.substring(i + 1);\n }\n\n return \"\";\n }", "title": "" }, { "docid": "a514aa3686ee814bec5ae428bf02a9a6", "score": "0.6715512", "text": "public static String getSuffix(String filename)\r\n\t\t\tthrows IllegalArgumentException {\r\n\t\tif (StringUtils.isEmpty(filename)) {\r\n\t\t\treturn \"\";\r\n\t\t}\r\n\t\tint dotIndex = filename.lastIndexOf('.');\r\n\t\tif (dotIndex == -1) {\r\n\t\t\treturn \"\";\r\n\t\t}\r\n\t\treturn filename.substring(dotIndex + 1);\r\n\t}", "title": "" }, { "docid": "7e30d2cea48521940e9c71b427a3f24b", "score": "0.6708357", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "2c365d33579cf174c1ae2731e1609cb4", "score": "0.66996413", "text": "private static String getFileName(String path) {\n\t\tif (path == null) {\n\t\t\treturn null;\n\t\t}\n\t\tint slashpos = path.lastIndexOf('/');\n\t\tif (slashpos < 0) {\n\t\t\tslashpos = path.lastIndexOf('\\\\');\n\t\t}\n\t\tif (slashpos < 0) {\n\t\t\treturn path;\n\t\t}\n\t\treturn path.substring(slashpos + 1);\n\t}", "title": "" }, { "docid": "4fa95ff6c384dcf0f2d24b0a16f65769", "score": "0.66993904", "text": "public String getFilenameWithExtension() {\n\t\treturn this.filenameWithExtension;\n\t}", "title": "" }, { "docid": "75112ed0f085f64ee8ac019fd9b82425", "score": "0.66932666", "text": "public String getName() {\n\t\tString[] fileNameParts = fileName.split(\"/\"); \n\t\treturn fileNameParts[fileNameParts.length-1]; \n\t}", "title": "" }, { "docid": "164e8ca30b11c8cff99239294d652feb", "score": "0.66889083", "text": "public java.lang.String getFilename() {\n java.lang.Object ref = filename_;\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 filename_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "47558836ff5f756a0efac488f85d514f", "score": "0.667882", "text": "private String getFileExtension( File file )\n {\n String fileName = file.getName();\n int dotIndex = fileName.lastIndexOf( '.' );\n if ( dotIndex == -1 || dotIndex == fileName.length() - 1 )\n return null;\n return fileName.substring( dotIndex + 1 );\n }", "title": "" }, { "docid": "c0236217638868ef988dea012b79c38e", "score": "0.6675777", "text": "String getFileExtension();", "title": "" }, { "docid": "354f7b5a66fe8ee29e331d9c20145a88", "score": "0.667133", "text": "public static String getExtFileName(String fileName) {\n String extFileName;\n char[] fileCharArray = fileName.toCharArray();\n int breakIndex = fileCharArray.length - 1;\n for (; breakIndex > 0; breakIndex--) {\n if (fileCharArray[breakIndex] == '.') {\n break;\n }\n }\n extFileName = fileName.substring(breakIndex + 1, fileCharArray.length);\n return extFileName;\n }", "title": "" }, { "docid": "8261dd1dbb52888a8ea48c0ab0c60028", "score": "0.6656118", "text": "public java.lang.String getFilename() {\n java.lang.Object ref = filename_;\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 filename_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "39fe58aa1207e66d88f7b13d10cbe677", "score": "0.6651699", "text": "private static String removeExtension(String s) {\r\n\r\n\t String separator = System.getProperty(\"file.separator\");\r\n\t String filename;\r\n\r\n\t // Remove the path upto the filename.\r\n\t int lastSeparatorIndex = s.lastIndexOf(separator);\r\n\t if (lastSeparatorIndex == -1) {\r\n\t filename = s;\r\n\t } else {\r\n\t filename = s.substring(lastSeparatorIndex + 1);\r\n\t }\r\n\r\n\t // Remove the extension.\r\n\t int extensionIndex = filename.lastIndexOf(\".\");\r\n\t if (extensionIndex == -1)\r\n\t return filename;\r\n\r\n\t return filename.substring(0, extensionIndex);\r\n\t}", "title": "" }, { "docid": "cfc50b763adbd4f917d1807f5aa63d9f", "score": "0.6641717", "text": "public String getFileName();", "title": "" }, { "docid": "b01802b91a8a122a491652874eb73283", "score": "0.663948", "text": "public static String getFileName(String file) {\n\t\tint x = file.lastIndexOf(\"/\");\n\t\t// unix\n\t\tif (x >= 0) {\n\t\t\tfile = file.substring(x + 1);\n\t\t\treturn file;\n\t\t}\n\t\t// windows\n\t\tx = file.lastIndexOf(\"\\\\\");\n\t\tif (x >= 0) {\n\t\t\treturn file.substring(x + 1);\n\t\t}\n\t\treturn file;\n\t}", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0ba38d61d73c3cae5e4f1d45d10648c8", "score": "0.66370326", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "52786c23bbd49f1bc2be264a50d3288c", "score": "0.66324973", "text": "private String getFileName() {\n\t\tString timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n\t\treturn FILE_PREFIX + timeStamp + \"_\" + FILE_SUFFIX;\n\t}", "title": "" }, { "docid": "aff8c88fc4a3429598f761dd608b40da", "score": "0.66292256", "text": "public static String getExtension(final File file) {\n if (file == null) {\n return null;\n }\n final String name = file.getName();\n final int lastDot = name.lastIndexOf('.');\n return lastDot == -1 ? \"\" : name.substring(lastDot + 1).toLowerCase(Locale.getDefault());\n }", "title": "" }, { "docid": "0e5c34a174eecc0b4f3d28055e4c6452", "score": "0.6623289", "text": "private String getFileExtension(String fileName) {\n\t\tString extension = \"\";\n\t\tint i = fileName.lastIndexOf('.');\n\t\tif (i > 0)\n\t\t\textension = fileName.substring(i + 1);\n\t\treturn extension;\n\t}", "title": "" }, { "docid": "ea769c44270bddeba6787672f9b26bf6", "score": "0.6621821", "text": "private static String getFileType(String fileName) {\r\n int dotIndex = fileName.lastIndexOf(DOT);\r\n if (dotIndex == NO_DOT_IN_NAME)\r\n return EMPTY_EXTENSION;\r\n else\r\n return fileName.substring(dotIndex + INDEX_AFTER_DOT);\r\n }", "title": "" }, { "docid": "d6318b3f572f30ef918259ff9c43e30d", "score": "0.6613464", "text": "public static String getExtension(String filename) {\n String ext = null;\n int index = filename.lastIndexOf(\".\");\n if (filename != null && !filename.equals(\"\") && index != -1) {\n ext = filename.substring(index + 1);\n }\n return ext;\n }", "title": "" }, { "docid": "eb1ab0037003894ce0be3e5e577ece40", "score": "0.66087335", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "02ae81fb8d40dc980ebcaa1fe50a7e31", "score": "0.66047066", "text": "public static String getExtension(File f) { \r\n return (f != null) ? getExtension(f.getName()) : \"\"; \r\n }", "title": "" }, { "docid": "ce6a5c06f29322ca86077bbf7539ac47", "score": "0.6604271", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "ce6a5c06f29322ca86077bbf7539ac47", "score": "0.6604271", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "ce6a5c06f29322ca86077bbf7539ac47", "score": "0.6604271", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "ce6a5c06f29322ca86077bbf7539ac47", "score": "0.6604271", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "ce6a5c06f29322ca86077bbf7539ac47", "score": "0.6604271", "text": "public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\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 fileName_ = s;\n return s;\n }\n }", "title": "" } ]
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "7b383f12d69e2bc677a87af2e2019caf", "score": "0.0", "text": "static int m23826a(Options options, int i, int i2) {\n int i3 = options.outHeight;\n int i4 = options.outWidth;\n if (i4 <= i && i3 <= i2) {\n return 1;\n }\n return Math.round(((float) i4) / ((float) m23824a(i4, i3, i, i2)));\n }", "title": "" } ]
[ { "docid": "6bb82b473a9f707f03cb5cb6b11957bb", "score": "0.6303214", "text": "interface C46974a {\n /* renamed from: a */\n void mo118130a();\n }", "title": "" }, { "docid": "4e6a75296e170c4f7ef9da4ffbf823af", "score": "0.6236393", "text": "public interface C0921a {\n /* renamed from: a */\n void mo866a();\n }", "title": "" }, { "docid": "87e80d18e0258ee75190b113fe42cf30", "score": "0.62011045", "text": "public interface C1753a {\n /* renamed from: a */\n void mo15111a();\n }", "title": "" }, { "docid": "0dae27c2bd2919648b92b266bcc49913", "score": "0.6172559", "text": "public interface aub {\n /* renamed from: a */\n void mo501a(atw atw);\n}", "title": "" }, { "docid": "ef11c07f7defa38b038c3f20d19765af", "score": "0.6085753", "text": "interface C0310a {\n /* renamed from: a */\n void mo4516a(String str);\n }", "title": "" }, { "docid": "ed31931c79d2c900e8a8ac9fee8189aa", "score": "0.60816556", "text": "protected void b(sa paramsa)\n/* */ {\n/* 47 */ a(a(paramsa));\n/* */ }", "title": "" }, { "docid": "a65615d7debbe987a304964f6b2d58a2", "score": "0.5960583", "text": "public interface C0076a {\n /* renamed from: a */\n Object mo684a();\n }", "title": "" }, { "docid": "786aa7e4af39bee7ffa4c3dc3c472512", "score": "0.5946997", "text": "public interface C5883gr {\n /* renamed from: a */\n void mo12475a(int i);\n}", "title": "" }, { "docid": "262b1ad04682592143d4a1f5610b068c", "score": "0.5927975", "text": "public interface C5099a {\n /* renamed from: a */\n void mo13255a();\n }", "title": "" }, { "docid": "4257190879ca3098600f3ff3c5842e6e", "score": "0.592047", "text": "public interface C45390b {\n /* renamed from: a */\n void mo55927a(int i);\n }", "title": "" }, { "docid": "3c5bebb27e35a112a00abedb12ca43c7", "score": "0.59088004", "text": "public interface C1914a {\n /* renamed from: a */\n void mo1483a();\n\n /* renamed from: a */\n void mo1484a(int i);\n }", "title": "" }, { "docid": "984ea5d8c6b2b90fdaba5f14b7b9bec9", "score": "0.5897589", "text": "protected A mapCustomFromImplToAcord(A a, T t) {\n return a;\n }", "title": "" }, { "docid": "aeb3364b7dfbe7171119296df04cc207", "score": "0.5890947", "text": "public interface C18914b {\n /* renamed from: a */\n C18909a mo50290a();\n}", "title": "" }, { "docid": "d023199dcad175e7682fc1d29bc76e43", "score": "0.5888758", "text": "interface C0029b {\n /* renamed from: a */\n void mo23a(Fragment fragment, boolean z);\n\n /* renamed from: b */\n void mo24b(Fragment fragment, boolean z);\n }", "title": "" }, { "docid": "a755c0d154a8883b8876d9e945264a56", "score": "0.5864819", "text": "public interface C45392d {\n /* renamed from: a */\n void mo56129a(int i);\n\n /* renamed from: a */\n void mo56130a(String[] strArr);\n }", "title": "" }, { "docid": "48938aa57011f9ab296001b22099e9e9", "score": "0.5860393", "text": "public interface C44542w {\n /* renamed from: a */\n void mo41921a(C44540v c44540v);\n}", "title": "" }, { "docid": "ad7a24ea3611999ca64d6e5c079aa8a8", "score": "0.58281726", "text": "public interface C12413e extends C12424n {\n /* renamed from: a */\n void mo39913a();\n}", "title": "" }, { "docid": "7fdaa6e9c092ebc9a5eb3852bc5e2dc8", "score": "0.58246666", "text": "public interface C0383b {\n /* renamed from: a */\n void mo251a();\n }", "title": "" }, { "docid": "658e2157a962e8e3911961071abbf52d", "score": "0.5808081", "text": "protected void func_70088_a() {}", "title": "" }, { "docid": "30dfee3461917f75cba3d8c8340ad4b9", "score": "0.57775944", "text": "public interface C0075a {\n /* renamed from: a */\n void mo9a(C0079c c0079c, C0076a c0076a);\n}", "title": "" }, { "docid": "32609437aec2038aa5e9b1be81b1f879", "score": "0.5740864", "text": "public interface C6027a {\n /* renamed from: a */\n void mo13161a(C6024b bVar, C6023a aVar, C6025c cVar);\n }", "title": "" }, { "docid": "9b6952293d4f62fcfef0bc2156102cac", "score": "0.5730519", "text": "protected T mapCustomFromAcordToImpl(A a, T t) {\n return t;\n }", "title": "" }, { "docid": "5a29b6909e6922899fff5c0edf3c0a09", "score": "0.5727639", "text": "interface C1141e {\n /* renamed from: a */\n void mo4564a(Fragment fragment, boolean z);\n\n /* renamed from: a */\n void mo4565a(Fragment fragment, String[] strArr, int i);\n }", "title": "" }, { "docid": "128db383d6860920ceddc12e6d687cc9", "score": "0.57227176", "text": "interface C0006b {\n /* renamed from: a */\n void mo165a();\n\n /* renamed from: b */\n void mo166b();\n }", "title": "" }, { "docid": "78f1b1b465d318482b579823f31d4702", "score": "0.5720908", "text": "public interface C3429b {\n /* renamed from: a */\n void mo9340a();\n\n /* renamed from: a */\n void mo9341a(C8489ao aoVar);\n}", "title": "" }, { "docid": "e25a88fef0d49c4f08248620e61d21d5", "score": "0.5717739", "text": "public interface AbstractC6439a {\n /* renamed from: a */\n String mo42299a();\n\n /* renamed from: b */\n String mo42300b();\n}", "title": "" }, { "docid": "d71ba32b6de33d81e19045239a3ad5e1", "score": "0.57099783", "text": "@Override\n public String toString() { return a; }", "title": "" }, { "docid": "d63a5fa830e5b4e26a0566030fe7d743", "score": "0.5682127", "text": "public interface C7920a {\n /* renamed from: a */\n void mo32574a(C7922d dVar);\n }", "title": "" }, { "docid": "dd469e7d6eded6a077b695251157dbf5", "score": "0.56764174", "text": "public interface C3404ev {\n /* renamed from: a */\n void mo39980a(C3373eg egVar);\n}", "title": "" }, { "docid": "2890fea761aa644d1c348344ef17d1ec", "score": "0.5673704", "text": "public interface C46917l<T> {\n /* renamed from: a */\n void mo118025a();\n\n /* renamed from: a */\n void mo118026a(T t);\n}", "title": "" }, { "docid": "32ce16d3f6d76b47f657f11f3770e494", "score": "0.56691855", "text": "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "title": "" }, { "docid": "18fb73f8dc0d6f9453ab3ff33dbf7c93", "score": "0.56660163", "text": "public interface C3111c {\n /* renamed from: a */\n void mo2135a();\n\n /* renamed from: a */\n void mo2136a(ArrayList<DownloadEpisode> arrayList);\n}", "title": "" }, { "docid": "74b8d2d08faf8b8ef449e4cbc047b2a9", "score": "0.5651956", "text": "public interface C11209la {\n /* renamed from: a */\n boolean mo28707a();\n}", "title": "" }, { "docid": "03380ffcac1dcedf74ef1f8462bcde2d", "score": "0.56466776", "text": "Simplifier() {}", "title": "" }, { "docid": "5447392906ccafa0baf06dee894b8ab4", "score": "0.56464404", "text": "public interface b {\n\n /* compiled from: AnalyticsListener */\n public static final class a {\n\n /* renamed from: a reason: collision with root package name */\n public final long f7370a;\n\n /* renamed from: b reason: collision with root package name */\n public final Z f7371b;\n\n /* renamed from: c reason: collision with root package name */\n public final int f7372c;\n\n /* renamed from: d reason: collision with root package name */\n public final v.a f7373d;\n\n /* renamed from: e reason: collision with root package name */\n public final long f7374e;\n\n /* renamed from: f reason: collision with root package name */\n public final long f7375f;\n\n /* renamed from: g reason: collision with root package name */\n public final long f7376g;\n\n public a(long j2, Z z, int i2, v.a aVar, long j3, long j4, long j5) {\n this.f7370a = j2;\n this.f7371b = z;\n this.f7372c = i2;\n this.f7373d = aVar;\n this.f7374e = j3;\n this.f7375f = j4;\n this.f7376g = j5;\n }\n }\n\n void a(a aVar);\n\n void a(a aVar, int i2);\n\n void a(a aVar, int i2, int i3);\n\n void a(a aVar, int i2, int i3, int i4, float f2);\n\n void a(a aVar, int i2, long j2);\n\n void a(a aVar, int i2, long j2, long j3);\n\n void a(a aVar, int i2, e eVar);\n\n void a(a aVar, int i2, Format format);\n\n void a(a aVar, int i2, String str, long j2);\n\n void a(a aVar, Surface surface);\n\n void a(a aVar, K k2);\n\n void a(a aVar, w.b bVar, w.c cVar);\n\n void a(a aVar, w.b bVar, w.c cVar, IOException iOException, boolean z);\n\n void a(a aVar, w.c cVar);\n\n void a(a aVar, ExoPlaybackException exoPlaybackException);\n\n void a(a aVar, Metadata metadata);\n\n void a(a aVar, TrackGroupArray trackGroupArray, o oVar);\n\n void a(a aVar, Exception exc);\n\n void a(a aVar, boolean z);\n\n void a(a aVar, boolean z, int i2);\n\n void b(a aVar);\n\n void b(a aVar, int i2);\n\n void b(a aVar, int i2, long j2, long j3);\n\n void b(a aVar, int i2, e eVar);\n\n void b(a aVar, w.b bVar, w.c cVar);\n\n void b(a aVar, w.c cVar);\n\n void b(a aVar, boolean z);\n\n void c(a aVar);\n\n void c(a aVar, int i2);\n\n void c(a aVar, w.b bVar, w.c cVar);\n\n void d(a aVar);\n\n void d(a aVar, int i2);\n\n void e(a aVar);\n\n void f(a aVar);\n\n void g(a aVar);\n\n void h(a aVar);\n\n void i(a aVar);\n}", "title": "" }, { "docid": "5491ab751bcd6990f694a19662624578", "score": "0.56442297", "text": "public interface C1169d {\n /* renamed from: a */\n void mo1128a(String str);\n}", "title": "" }, { "docid": "4bbb8bf3d7f5bd0ce5561476a23d4f4c", "score": "0.5632178", "text": "public interface fge {\n\n /* renamed from: fge$a */\n /* compiled from: Call */\n public interface a {\n fge a(Request request);\n }\n\n Request a();\n\n void a(fgf fgf);\n\n void b();\n}", "title": "" }, { "docid": "21571250b46ac38a66bf576612bcc61f", "score": "0.56288373", "text": "public interface C2745a {\n /* renamed from: a */\n void mo2028a(int i);\n\n /* renamed from: a */\n void mo2029a(Subtitle subtitle);\n\n /* renamed from: b */\n void mo2030b(int i);\n }", "title": "" }, { "docid": "4d99f8d85ac94729c83d52d548b01e65", "score": "0.56265146", "text": "public interface C0426ek {\n /* renamed from: a */\n boolean mo2213a();\n}", "title": "" }, { "docid": "55c46b869b6d786d8df5e3524b6bb6a9", "score": "0.56192684", "text": "@Override\n\tpublic void a() {\n\t\t\n\t}", "title": "" }, { "docid": "55c46b869b6d786d8df5e3524b6bb6a9", "score": "0.56192684", "text": "@Override\n\tpublic void a() {\n\t\t\n\t}", "title": "" }, { "docid": "55c46b869b6d786d8df5e3524b6bb6a9", "score": "0.56192684", "text": "@Override\n\tpublic void a() {\n\t\t\n\t}", "title": "" }, { "docid": "55c46b869b6d786d8df5e3524b6bb6a9", "score": "0.56192684", "text": "@Override\n\tpublic void a() {\n\t\t\n\t}", "title": "" }, { "docid": "78d99d1a72f2f37db7f4bcab3321ab8e", "score": "0.5608803", "text": "public interface C23933i {\n /* renamed from: a */\n void mo62103a();\n\n /* renamed from: b */\n void mo62104b();\n}", "title": "" }, { "docid": "ca8c2fa4206584b9379f0512564f44b0", "score": "0.56055903", "text": "public interface C4117a {\n /* renamed from: a */\n void mo11604a(C4025b bVar);\n\n /* renamed from: f */\n C4025b mo11613f();\n }", "title": "" }, { "docid": "ea3be86493eed22b7098fedbee0bf213", "score": "0.56051", "text": "interface C1786a {\n /* renamed from: a */\n void mo7079a(boolean z);\n }", "title": "" }, { "docid": "55fec655691959fb9eec181b4ea5e32f", "score": "0.55931884", "text": "public interface C8004a<TT> {\n /* renamed from: a */\n TT mo24843a();\n }", "title": "" }, { "docid": "9100db31dc0498926935e58b1c366032", "score": "0.55855983", "text": "public interface C3998d {\n /* renamed from: a */\n void mo14508a(C3998d dVar);\n}", "title": "" }, { "docid": "aae648468da11e66ba47eb5f38de8014", "score": "0.55826336", "text": "B from(A a);", "title": "" }, { "docid": "e2ec165505f0d3faf3862772aa67de36", "score": "0.5571464", "text": "public interface C28254o {\n /* renamed from: a */\n void mo71909a(Aweme aweme, boolean z);\n\n /* renamed from: am */\n String mo71910am();\n\n /* renamed from: an */\n View mo71911an();\n}", "title": "" }, { "docid": "0521ce33c8f8a4ad27dbea20228e9c3e", "score": "0.55638695", "text": "public interface C2540a {\n /* renamed from: a */\n void mo14890a();\n\n /* renamed from: a */\n void mo14891a(Throwable th);\n }", "title": "" }, { "docid": "b17bd2fabbd3a73ce200ac3937be74f9", "score": "0.5552595", "text": "public interface C8407b {\n /* renamed from: a */\n void mo25704a(Format format);\n }", "title": "" }, { "docid": "e1eabd743dd7cb2921a552c1bc16ff58", "score": "0.554633", "text": "private interface C2120g {\n /* renamed from: a */\n void mo1518a();\n\n /* renamed from: b */\n void mo1519b();\n }", "title": "" }, { "docid": "435db8be9e3a6f4ef35e75c81a2a48ad", "score": "0.5541502", "text": "public interface C18263b<T> {\n /* renamed from: a */\n void mo47127a(C18262a<T> aVar);\n}", "title": "" }, { "docid": "c20d18f9a67e49522b0f7ffaade9d208", "score": "0.55212325", "text": "public interface C19627a {\n /* renamed from: a */\n void mo52213a(Map<String, Object> map);\n}", "title": "" }, { "docid": "acfef85e82c3c588959ba2996d916ff0", "score": "0.5514849", "text": "public interface C0787a {\n /* renamed from: a */\n void mo654a(Rect rect);\n }", "title": "" }, { "docid": "50cc3246344351fce360266fa8c1f403", "score": "0.55096483", "text": "public interface C0982b {\n /* renamed from: a */\n String mo10301a(String str);\n\n /* renamed from: a */\n void mo10302a();\n\n /* renamed from: a */\n void mo10303a(String str, String str2);\n\n /* renamed from: b */\n void mo10304b();\n}", "title": "" }, { "docid": "4d55090467f1ba56278c6f09e5acef70", "score": "0.5506452", "text": "public interface C45404o {\n /* renamed from: a */\n void mo56377a(boolean z);\n }", "title": "" }, { "docid": "43756924671a4d9f51f7ddb13b3585f6", "score": "0.54858327", "text": "public interface C48056ad {\n /* renamed from: a */\n C47924e mo76163a();\n}", "title": "" }, { "docid": "997766503bcf84a1d76340ac8e4cfd90", "score": "0.548499", "text": "public interface C8267a {\n /* renamed from: a */\n void mo21406a(GiftRelayViewHolder giftRelayViewHolder, C8272a aVar);\n }", "title": "" }, { "docid": "e2551ba98b5f914dc1241c7164ae29c1", "score": "0.5482472", "text": "public interface C5249p {\n\n /* renamed from: b.p.b.p$a */\n public interface C5250a {\n }\n\n /* renamed from: a */\n C5260w mo17183a(C5250a aVar);\n}", "title": "" }, { "docid": "1277ff19ff33728b51050b1a52ad2f2e", "score": "0.547756", "text": "public interface C45399j {\n /* renamed from: a */\n void mo56381a(C45314b bVar, C45317d dVar);\n }", "title": "" }, { "docid": "b1570ca825b2fbf0e018c608271e0fbb", "score": "0.54723173", "text": "public interface C3755m<K, A> {\n /* renamed from: a */\n C3646a<K, A> mo23036a();\n}", "title": "" }, { "docid": "fa8c8122ae62e0bbe95bbf5c4ae148c1", "score": "0.5470787", "text": "public interface C2876a {\n /* renamed from: a */\n void mo2075a();\n\n /* renamed from: a */\n void mo2076a(String str, String str2, List<News> list);\n }", "title": "" }, { "docid": "7760422b72f7c5939a89aa95cec63b0a", "score": "0.5469109", "text": "public interface C6181a {\n /* renamed from: a */\n void mo14891a(String str);\n\n /* renamed from: a */\n void mo14892a(Throwable th, String str);\n }", "title": "" }, { "docid": "b6d784afa9ac1e4472d2caa2c6208302", "score": "0.5456666", "text": "public interface C1027j {\n /* renamed from: a */\n bb m7398a();\n}", "title": "" }, { "docid": "7ace2811d0ba1c0121d65c72dc460cfc", "score": "0.54551834", "text": "private void swapNodes(WAVLNode a, WAVLNode b){\n \t String s = a.getValue();\n \t int k = a.getKey();\n \t a.info = b.info;\n \t a.key = b.key;\n \t b.info = s;\n \t b.key = k;\n }", "title": "" }, { "docid": "8a695219f1ceb0bc462c3ffb429d7dbd", "score": "0.54547036", "text": "public interface C1614a {\n /* renamed from: a */\n void mo14753a(C1610gu guVar);\n }", "title": "" }, { "docid": "ef4d44150b281e3caa4f3f165583dacb", "score": "0.54511404", "text": "public String a()\r\n/* 173: */ {\r\n/* 174:255 */ return \"item.\" + this.id;\r\n/* 175: */ }", "title": "" }, { "docid": "b66d008a4ff49a8cd93b293d20414799", "score": "0.5449652", "text": "public interface C0051a {\n /* renamed from: a */\n void mo466a(int i);\n\n /* renamed from: d */\n void mo467d(boolean z);\n\n /* renamed from: h */\n void mo468h();\n\n /* renamed from: i */\n void mo469i();\n\n /* renamed from: j */\n void mo470j();\n }", "title": "" }, { "docid": "431f92d4461f47d5453421248fc8e22c", "score": "0.54405504", "text": "public interface C30912b {\n /* renamed from: a */\n void mo41152a(int i, int i2, String str, C24239d c24239d);\n}", "title": "" }, { "docid": "39bc3c824d0c1f69a85b6050ee638cdd", "score": "0.5431182", "text": "public interface C0527p {\n /* renamed from: a */\n void mo738a(String str, String str2, Throwable th);\n}", "title": "" }, { "docid": "61efddadc0cdd6e143e82db1020da9e8", "score": "0.54300356", "text": "public interface C19384a {\n /* renamed from: a */\n int mo50934a();\n\n /* renamed from: b */\n int mo50935b();\n\n /* renamed from: c */\n boolean mo50936c();\n\n /* renamed from: d */\n boolean mo50937d();\n}", "title": "" }, { "docid": "9e294340d662b659d1e9e6f35792d007", "score": "0.5427489", "text": "interface C21255d {\n /* renamed from: a */\n void mo7861a(Context context, ViewGroup viewGroup, C43255as c43255as);\n }", "title": "" }, { "docid": "7c5d40aa01804e701835edd4e3479c53", "score": "0.54273605", "text": "public interface C0601b {\n /* renamed from: a */\n boolean mo5024a(View view, int i);\n}", "title": "" }, { "docid": "9c1d775053a25221f1c8d45048dab34e", "score": "0.54231", "text": "public interface C4357yv {\n /* renamed from: a */\n byte[] mo16211a(byte[] bArr) throws GeneralSecurityException;\n}", "title": "" }, { "docid": "0579645e0ebdf703be855653ae910efa", "score": "0.5420334", "text": "public interface C0621ak {\n /* renamed from: a */\n void mo1669a(int i);\n\n /* renamed from: a */\n void mo1670a(Bundle bundle);\n}", "title": "" }, { "docid": "c64a08f0b6ba5399bedb119c24495159", "score": "0.54177994", "text": "interface C0933j {\n /* renamed from: a */\n void mo1226a(Map<String, String> map);\n}", "title": "" }, { "docid": "32ef611ea86de6200f0ae08ad6fb955f", "score": "0.5406728", "text": "public interface C6376a {\n /* renamed from: a */\n String mo15283a(String str, byte[] bArr);\n }", "title": "" }, { "docid": "e7d4b0e19e0a365af78f7bd2952f83d0", "score": "0.540178", "text": "public Seq<A> snoc(final A a) {\r\n return new Seq<A>(ftree.snoc(a));\r\n }", "title": "" }, { "docid": "2b83831c68ab6e6ae51620bb5360c9af", "score": "0.5399661", "text": "public interface C11430d {\n /* renamed from: a */\n void mo15690a(Exception exc);\n}", "title": "" }, { "docid": "177b3911641d1f37ea815ba3333c5777", "score": "0.5397528", "text": "public interface C15882a {\n /* renamed from: a */\n void mo28117a(FileNotFoundException fileNotFoundException);\n\n /* renamed from: a */\n void mo28118a(MalformedURLException malformedURLException);\n\n /* renamed from: b */\n void mo28119b(IOException iOException);\n\n /* renamed from: wo */\n void mo28120wo(String str);\n }", "title": "" }, { "docid": "11efec2a085ccd10ca0c6fe5eec19346", "score": "0.539724", "text": "public interface C45402m {\n /* renamed from: a */\n void mo55990a(int i, float f);\n }", "title": "" }, { "docid": "29e51206e3dbeffc9e2d6bfc62fb5030", "score": "0.53948563", "text": "public interface C6754b {\n /* renamed from: a */\n void mo30215a(int i, SlideModel slideModel);\n\n /* renamed from: b */\n void mo30216b(int i, SlideModel slideModel);\n}", "title": "" }, { "docid": "0759f15387cae7eadc3d6b1004a164fe", "score": "0.53915054", "text": "public double fixangle(double a) {\n a = a - 360.0 * (Math.floor(a / 360.0));\n a = a < 0 ? a + 360.0 : a;\n return a;\n }", "title": "" }, { "docid": "7cbe44cca24a495c34660918fc6d84e6", "score": "0.5390357", "text": "public interface bza extends bzd {\n /* renamed from: b */\n void mo2561b(Activity activity);\n}", "title": "" }, { "docid": "bd843568f4693273f9eeb7b3382269b2", "score": "0.5388371", "text": "public Item a()\r\n/* 20: */ {\r\n/* 21:21 */ return this.a;\r\n/* 22: */ }", "title": "" }, { "docid": "c7240e0f0eaf5aeadd878212fbfc14e1", "score": "0.53851676", "text": "public interface C27276d {\n /* renamed from: a */\n void mo69688a(GuideSearchWord guideSearchWord);\n}", "title": "" }, { "docid": "87dd8a1fa0775faca53b57d0464b1991", "score": "0.53748876", "text": "public void a(na paramna)\r\n/* 36: */ {\r\n/* 37:48 */ paramna.a(this);\r\n/* 38: */ }", "title": "" }, { "docid": "b86629190b5a7558548dc7bb23ef4f77", "score": "0.53667414", "text": "public interface aem {\n /* renamed from: c */\n void mo100c();\n}", "title": "" }, { "docid": "5c1788c6377c1d3f4a5515db1a4a6378", "score": "0.5366193", "text": "public interface C0436a {\n /* renamed from: a */\n void mo828a(ListView listView);\n }", "title": "" }, { "docid": "9d1b32264ace894d082db7fe377abb68", "score": "0.53649664", "text": "interface C0448a<T> {\n /* renamed from: a */\n T mo3200a();\n\n /* renamed from: a */\n void mo3201a(T[] tArr, int i);\n\n /* renamed from: a */\n boolean mo3202a(T t);\n }", "title": "" }, { "docid": "e1437f92ea02af00a10460ba2fad440d", "score": "0.5363882", "text": "public double fixangle(double a) {\n\n a = a - (360 * (Math.floor(a / 360.0)));\n\n a = a < 0 ? (a + 360) : a;\n\n return a;\n }", "title": "" }, { "docid": "322bb69489d1d56efdf5915990913655", "score": "0.53583646", "text": "private static void c(BlockType paramatr)\r\n/* 784: */ {\r\n/* 785:846 */ a(paramatr, new aju(paramatr));\r\n/* 786: */ }", "title": "" }, { "docid": "3aace131448f2b3f8abbd787f150ac08", "score": "0.5358278", "text": "public interface C5012d {\n /* renamed from: a */\n void mo4541a(C5013ao c5013ao, String str, Throwable th);\n }", "title": "" }, { "docid": "cacdbfac284843c8819ba2bc29a8e2b9", "score": "0.53461266", "text": "public interface C0478a<T> {\n /* renamed from: a */\n T mo332a();\n\n /* renamed from: a */\n boolean mo333a(T t);\n }", "title": "" }, { "docid": "eebf861384912ade965efd9dd3582789", "score": "0.5338691", "text": "public interface AbstractC26612a {\n /* renamed from: a */\n void mo112703a();\n\n /* renamed from: b */\n void mo112704b();\n\n /* renamed from: c */\n void mo112705c();\n }", "title": "" }, { "docid": "1d630bbf6f7c4f4918fc5059dc0d3fed", "score": "0.53351194", "text": "public String changeStr1(String a);", "title": "" }, { "docid": "48b456ed089b4dded6a01da27f1f9790", "score": "0.5329296", "text": "public void a(v v)\n {\n class _cls1 {}\n\n a.a(new _cls1(v));\n }", "title": "" }, { "docid": "fd8e505bf490a9a7b9fce27b0ebef509", "score": "0.5327539", "text": "interface C2256a {\n /* renamed from: a */\n void mo6133a(boolean z, String str, Intent intent);\n }", "title": "" }, { "docid": "5f7083fe53854c2c939686b1b46eb9e0", "score": "0.5323806", "text": "interface C0512d {\n /* renamed from: a */\n boolean mo363a(AccessibilityManager accessibilityManager);\n }", "title": "" } ]
d5d833f635315bbf46ce470f3e864457
Get the time when collection was initialized
[ { "docid": "0d9c3b3165037f1574ab173d1fce3b2c", "score": "0.62932557", "text": "public static Date getInitializationDate() {\n return initializationDate;\n }", "title": "" } ]
[ { "docid": "14000c477145d3ac3afbc7d1ca2b3d8e", "score": "0.78461343", "text": "java.lang.String getInitializedTime();", "title": "" }, { "docid": "015425f1b99f512a78c4f045c3cf621b", "score": "0.6976745", "text": "@Override\n protected void initialize() {\n startTime = System.currentTimeMillis();\n }", "title": "" }, { "docid": "69df134059fc71963cad53864ad0ac7c", "score": "0.69408935", "text": "protected void initialize() {\n \td_lastTime = System.currentTimeMillis();\n }", "title": "" }, { "docid": "0e69354084427b0f06a024e993465226", "score": "0.687134", "text": "public java.lang.String getInitializedTime() {\n java.lang.Object ref = initializedTime_;\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 initializedTime_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "95b52fedf7bf481fd15ff2cb23c481f0", "score": "0.6848571", "text": "public java.lang.String getInitializedTime() {\n java.lang.Object ref = initializedTime_;\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 initializedTime_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "c5e218c1586c3a10fbfdf19c767417c2", "score": "0.68098575", "text": "@Override\n public void initialize() {\n m_startTime = Timer.getFPGATimestamp();\n }", "title": "" }, { "docid": "64bc22259046cc8022ac63f35cdc1f20", "score": "0.665796", "text": "public long getCollectTime() {\n/* 313 */ return this.collectTime;\n/* */ }", "title": "" }, { "docid": "45822a8863923704e77b1850d7682f54", "score": "0.6614068", "text": "protected void initialize() {\n\t\tstartTime = Timer.getFPGATimestamp();\n\t}", "title": "" }, { "docid": "22636ce31718c3e2a2b92c91aaa928eb", "score": "0.6609289", "text": "public int getCollectionCreated() {\n return collectionCreated_;\n }", "title": "" }, { "docid": "e6679dd66067e2ad73544efb94b73a74", "score": "0.6550437", "text": "public int getCollectionCreated() {\n return collectionCreated_;\n }", "title": "" }, { "docid": "064aa35e3d8ac671802e6ba930abf8db", "score": "0.6533995", "text": "public long getStartupTime() {\n return Parameters.startTime;\n }", "title": "" }, { "docid": "03ba73af118aaa5b9e2c61ccc9671932", "score": "0.652438", "text": "@java.lang.Override\n public long getTime() {\n return time_;\n }", "title": "" }, { "docid": "cf3838e6b7ed7d20ad5c3131c162958c", "score": "0.6513825", "text": "@java.lang.Override\n public long getTime() {\n return time_;\n }", "title": "" }, { "docid": "a1757ff15b7f3d7947698b14cb8802e3", "score": "0.6492116", "text": "com.google.protobuf.ByteString\n getInitializedTimeBytes();", "title": "" }, { "docid": "41660a8f18f039babcb7a1b9f90b0bb0", "score": "0.648894", "text": "public com.google.protobuf.ByteString\n getInitializedTimeBytes() {\n java.lang.Object ref = initializedTime_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n initializedTime_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "5e1cf700446e7d0c55011ea9b97ecfb6", "score": "0.64805794", "text": "public TimeTracker() {\n entries = new LinkedHashMap<>();\n startTime = time = System.currentTimeMillis();\n unknownTime = 0;\n cachedEntries = null;\n }", "title": "" }, { "docid": "9b6c44c1ff49b347957e870b2b0fbf1c", "score": "0.6462835", "text": "public long getTime() { return _time; }", "title": "" }, { "docid": "a471e154e5b743528164ae3bd15cc9e7", "score": "0.6414648", "text": "public com.google.protobuf.ByteString\n getInitializedTimeBytes() {\n java.lang.Object ref = initializedTime_;\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 initializedTime_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "282a67745d1154383bbefa53b45dfd0a", "score": "0.6354303", "text": "@Override\n protected void initialize() {\n\n timer.start();\n startTime = timer.get();\n }", "title": "" }, { "docid": "a8dd6da4713ed9702f64a592d9971ac1", "score": "0.6340282", "text": "@Override\n\tpublic long getStartTime() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "8f0097bbfe2336bab84d040df4daa967", "score": "0.63381654", "text": "public long getTime() {\n return time_;\n }", "title": "" }, { "docid": "9086d4d60bcb9b265d7b168136251f46", "score": "0.6313056", "text": "@Override\r\n\tpublic long getCollectionCount() {\r\n\t\treturn collectionTimer.getCount();\r\n\t}", "title": "" }, { "docid": "3edf53571018c211de9cf8a5d5b98c1e", "score": "0.6295693", "text": "private long getTime() {\n return System.currentTimeMillis();\n }", "title": "" }, { "docid": "6056bcd86afeea287e8554cc5203a766", "score": "0.6294726", "text": "public ServerTime() {\r\n\t\tstartTime = System.currentTimeMillis();\r\n\t}", "title": "" }, { "docid": "5d61b9805d26cdee6082ed9b13ea8cd0", "score": "0.62744224", "text": "public long getTime() { return this.time; }", "title": "" }, { "docid": "033829e0a82256e5439c30e48576d62f", "score": "0.62520933", "text": "public long getTime() {\n return time_;\n }", "title": "" }, { "docid": "2b5ed77389a39d527758da2b2ed79c07", "score": "0.62479526", "text": "public int time() {\n return time;\n }", "title": "" }, { "docid": "acdc9fc8bd6fb9afa64869633597f3fc", "score": "0.6216903", "text": "@java.lang.Override\n public long getStartTime() {\n return startTime_;\n }", "title": "" }, { "docid": "51f758060a4d0f73fb5c4bbac0940310", "score": "0.62166435", "text": "int getCollectionCreated();", "title": "" }, { "docid": "a544a3f6e44b5ca0896533ed348c2fc4", "score": "0.6205304", "text": "public boolean isStartTimeInitialized()\r\n {\r\n return startTimeIsInitialized;\r\n }", "title": "" }, { "docid": "8cbb5d442b9353f8035e9c952fc50655", "score": "0.61991125", "text": "public int time() {\n return time;\n }", "title": "" }, { "docid": "6bd11face55e8bcc0a4d30ffeed5d8ce", "score": "0.61672926", "text": "protected int time() {\n return time;\n }", "title": "" }, { "docid": "b8c936a5a63ff6ea93433e4ba92f924e", "score": "0.616348", "text": "@java.lang.Override\n public long getStartTime() {\n return startTime_;\n }", "title": "" }, { "docid": "2c395d3441c2d4fd43c8472b11aad7c5", "score": "0.6145464", "text": "public int time() {\n\t\treturn tics;\n\t}", "title": "" }, { "docid": "795e3bfca51141466e2563dafbbd9527", "score": "0.61424255", "text": "protected long getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "84fbff5fd146d62fa9f8a657b93a7235", "score": "0.6076886", "text": "public int getStartAutoTime() {\n return startAutoTime_;\n }", "title": "" }, { "docid": "a6c53da3278af898106fbd07abf2a4f9", "score": "0.6068356", "text": "protected void initialize() {\n \tstopTime = System.currentTimeMillis() + time;\n }", "title": "" }, { "docid": "50ce752b0178f9c7a9b0e8270ee3f55b", "score": "0.6046648", "text": "@Override\n public long currentTimeMillis() {\n return System.currentTimeMillis();\n }", "title": "" }, { "docid": "5af3204280e70a3a28ffd4d749d4397b", "score": "0.60388666", "text": "long now() {\n return System.nanoTime();\n }", "title": "" }, { "docid": "2a6983a18b14a78e03506995c61212a4", "score": "0.6023858", "text": "public long getStartStamp ()\n {\n return _startTime;\n }", "title": "" }, { "docid": "c9a0a165bebf39b815f55b5152a28166", "score": "0.6018226", "text": "public long getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "c9a0a165bebf39b815f55b5152a28166", "score": "0.6018226", "text": "public long getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "7383b6ff757d7eecf5fb63c637c9257f", "score": "0.6017331", "text": "public int get_time()\n {\n return _tim;\n }", "title": "" }, { "docid": "30cb7d4795e008795f286246fc08c37a", "score": "0.60143447", "text": "final long now() {\n return System.nanoTime();\n }", "title": "" }, { "docid": "c4ffbd8045486e6fcf392cc5853ea57f", "score": "0.60092527", "text": "public int getTimeToCoolFreezer(){\n\t\treturn timeToCoolFreezer;\n\t}", "title": "" }, { "docid": "d78b2deede839812f91e6adace18a984", "score": "0.6008356", "text": "public long getStartTime() {\r\n return startTime;\r\n }", "title": "" }, { "docid": "d78b2deede839812f91e6adace18a984", "score": "0.6008356", "text": "public long getStartTime() {\r\n return startTime;\r\n }", "title": "" }, { "docid": "cdc48eafa938d270a3507b1048060733", "score": "0.6001935", "text": "public long getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "2dc34a964b557c678b2a2416b95b8b9e", "score": "0.59945863", "text": "public long getTime() {\n return time;\n }", "title": "" }, { "docid": "f8796ec76bfa1b3c90eefbb5aa9c8148", "score": "0.5994392", "text": "public int getFreezerTime() {\n\t\treturn freezerTime;\n\t}", "title": "" }, { "docid": "7a1cf889e5d4f31541a67bcbbeeab45c", "score": "0.5979151", "text": "public long getTime () {\n return time;\n }", "title": "" }, { "docid": "5e161e8edf337e0878fdb95291ccb101", "score": "0.5970547", "text": "public long getTime() {\r\n\t\treturn time;\r\n\t}", "title": "" }, { "docid": "5e161e8edf337e0878fdb95291ccb101", "score": "0.5970547", "text": "public long getTime() {\r\n\t\treturn time;\r\n\t}", "title": "" }, { "docid": "b8a9449f6a739f9df08fd703dfa23f14", "score": "0.5965102", "text": "public long getTime() {\n\t\treturn time;\n\t}", "title": "" }, { "docid": "88b1f7e17bbf8517259827ce502023cf", "score": "0.5963942", "text": "public int getTime() {\n return time;\n }", "title": "" }, { "docid": "b491f178844fff09bb8fcb8bda204fbd", "score": "0.59556067", "text": "public int getTime()\r\n\t{\r\n\t\treturn time;\r\n\t}", "title": "" }, { "docid": "cd4f4ff71ffca3c889d679227824fbfb", "score": "0.59542197", "text": "public long getTime() {\n return time;\n }", "title": "" }, { "docid": "cd4f4ff71ffca3c889d679227824fbfb", "score": "0.59542197", "text": "public long getTime() {\n return time;\n }", "title": "" }, { "docid": "6794137cd3e57e8a4fd526f266ca8cd8", "score": "0.595405", "text": "public int getStartAutoTime() {\n return startAutoTime_;\n }", "title": "" }, { "docid": "f389fb08175481d2947e9d3a45849849", "score": "0.5953292", "text": "@Override\n\t\tpublic long getOnlineTime() {\n\t\t\treturn 0;\n\t\t}", "title": "" }, { "docid": "d27623b6e3c7bd34ae27f3d51ad9837e", "score": "0.59496826", "text": "public long getStartTime(){\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "8dbc3a3a4ddb4023bc9a746fc0936e4d", "score": "0.5945376", "text": "public int getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "8dbc3a3a4ddb4023bc9a746fc0936e4d", "score": "0.5945376", "text": "public int getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "f69ba3b957ae9c75e42a362d91e3c58f", "score": "0.5939494", "text": "public long getStartTime() {\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "f69ba3b957ae9c75e42a362d91e3c58f", "score": "0.5939494", "text": "public long getStartTime() {\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "f69ba3b957ae9c75e42a362d91e3c58f", "score": "0.5939494", "text": "public long getStartTime() {\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "a40b19f9526276e57a5ca22abb8090a8", "score": "0.59388167", "text": "public Time getStartTime()\n {\n return startTime;\n }", "title": "" }, { "docid": "6dca9fa0f089e6067e836b70dd43a3f8", "score": "0.5938469", "text": "public long getTime() {\n\t return System.nanoTime() / 1000000;\n\t}", "title": "" }, { "docid": "3e4aa1902e452d13a852242b447d1ac7", "score": "0.5934137", "text": "public int getTimeCount() {\r\n \treturn timeCount;\r\n }", "title": "" }, { "docid": "e01d40bfabf7830973fb3ce1659dfb98", "score": "0.593037", "text": "public synchronized double getStartTime()\t\t{ return startTime ; }", "title": "" }, { "docid": "a2f268408c2fa50223eed02f1a62ebf1", "score": "0.5928397", "text": "public long getTime() {\n return time;\n }", "title": "" }, { "docid": "a2f268408c2fa50223eed02f1a62ebf1", "score": "0.5928397", "text": "public long getTime() {\n return time;\n }", "title": "" }, { "docid": "fb1ab4c82de27c35cda0966d1ac66469", "score": "0.59228426", "text": "public long getStartedTime() {\n return this.mStarted;\n }", "title": "" }, { "docid": "1950d78eb0dd9c3f7681d3fbf50e63b0", "score": "0.5921438", "text": "public DateTime startTime() {\n return this.startTime;\n }", "title": "" }, { "docid": "e9a809da3668ff7b41cbfd7e108f2c94", "score": "0.59207386", "text": "@Override\n\tpublic void checkGetTime() {\n\t\tSystem.out.println(\"MapClass checkGetTime\");\n\t\tlong startAt = System.currentTimeMillis();\n\t\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\t\n\t\tfor(int i =0 ; i < arraySize ; i++){\n\t\t\tstringBuilder.append(map.get(i));\n\t\t}\n\t\t\n\t\tlong endAt = System.currentTimeMillis();\n\t\tlong howTime = endAt - startAt;\n System.out.println(\"MapClass checkGetTime=\"+howTime);\n\t}", "title": "" }, { "docid": "4e47db4044f57969f70af268318587fa", "score": "0.59198123", "text": "public DateTime getTime() {\n return time.get();\n }", "title": "" }, { "docid": "d9544388d0bcebd6fed693e4d3b9858b", "score": "0.59171194", "text": "public Date getLaunchTime() {\n\t\treturn LAUNCH_TIME_CACHE.getValue();\n\t}", "title": "" }, { "docid": "0944627ec3c048c31fee5f9512158d28", "score": "0.590832", "text": "public long getMetaMapTime() {\n \treturn metamapTime;\n }", "title": "" }, { "docid": "508197116eb0ce16d93401dc40699a79", "score": "0.5897007", "text": "public Time getStartTime()\n {\n return startTime;\n }", "title": "" }, { "docid": "b4d519d5a4d65b961941bd4a324c0c55", "score": "0.5880897", "text": "public int getCreatedTime() {\n return createdTime_;\n }", "title": "" }, { "docid": "5506c1de583742be187de173126e2844", "score": "0.58805025", "text": "@Override\n public Date getBeginTime(){\n return begin;\n }", "title": "" }, { "docid": "24ed60806b8e64940d640075c76bca09", "score": "0.58698916", "text": "public int getTime() {//start getTime method\r\n\t\treturn time;\r\n\t}", "title": "" }, { "docid": "7ae21a8861c5708bcb7cb7c8a4a04af7", "score": "0.5868605", "text": "public static int getTime() {\r\n\treturn time;\r\n }", "title": "" }, { "docid": "b366faf916cdcb13e94a75012f41d724", "score": "0.5861708", "text": "private int usedTime() {\r\n return (int) (System.currentTimeMillis() - startTime);\r\n }", "title": "" }, { "docid": "1ef5913fe078d0d3c430e46be703a929", "score": "0.5854167", "text": "public long getRegisteredTime() {\n\t\treturn getSystemTime() - startTime;\n\t}", "title": "" }, { "docid": "c29c1b67c0a631a16802c613dd8fb8cc", "score": "0.5847352", "text": "public long getTime() {\r\n return TIME_SOURCE.getTime();\r\n }", "title": "" }, { "docid": "d7bae7d0f74294f442de837dae2451bb", "score": "0.58373517", "text": "public long getStarttime() {\n return starttime;\n }", "title": "" }, { "docid": "099cea1e0429d78ff2dfdd7f371c7d78", "score": "0.58373433", "text": "public double randomTime()\n\t{\n\t\treturn generatedTime;\n\t}", "title": "" }, { "docid": "6d6042c99b87eba6eb4578f03c05bbdb", "score": "0.583341", "text": "public long getStartTime() {\r\n\t\treturn this.startTime;\r\n\t}", "title": "" }, { "docid": "4217a119e3e63cd4c89822810031d5b5", "score": "0.5825382", "text": "static public long gettime()\n\t{\n\t\treturn System.currentTimeMillis();\n\t}", "title": "" }, { "docid": "7b2a322134fc372eea9af7c34c63d330", "score": "0.5819269", "text": "private static long getTime() {\n\t\treturn System.nanoTime() / 1000000;\n\t}", "title": "" }, { "docid": "13d6a459fbd14c85028978c07d3284dc", "score": "0.58192253", "text": "public final Time getModelStartTime() {\n\t\t// This method is final for performance reason.\n\t\treturn _startTime;\n\t}", "title": "" }, { "docid": "c2a7af43e19bf24b82ad0b5d2a8ad3a3", "score": "0.5813438", "text": "int getStartAutoTime();", "title": "" }, { "docid": "3c348b7d70dc3fef0d62043bad4a3f44", "score": "0.5812732", "text": "public int getStartTime() {\r\n return this.startTime;\r\n }", "title": "" }, { "docid": "04d903d215f06bbd592dabac7175bbf4", "score": "0.58099264", "text": "private long getCurrentTimeMillis() {\n return System.currentTimeMillis();\n }", "title": "" }, { "docid": "b081e4c1f4cb129e60df4de48916c2d6", "score": "0.58097863", "text": "public Times getTime()\r\n {\r\n return new Times(time);\r\n }", "title": "" }, { "docid": "2200d213f2e01b9e135b55d306d2c806", "score": "0.580777", "text": "@ApiModelProperty(value = \"Timestamp indicating the earliest time to instantiate the NS. Cardinality \\\"0\\\" indicates the NS instantiation takes place immediately. \")\n public String getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "8b73600dfe2c92fc522cd83e656fb96b", "score": "0.58076537", "text": "public long getStartTime() {\n return mStartTime;\n }", "title": "" }, { "docid": "7fd331f87129c6d2f631bc767b4defc5", "score": "0.58040625", "text": "public int getTimeCount() {\n\t\treturn timeCount;\n\t}", "title": "" }, { "docid": "41caff84dcc2f705ddc8f5b423d7d265", "score": "0.58017874", "text": "public Long getTime() {\n return time;\n }", "title": "" } ]
8b70a6d3b5aff47634800fad0d4d9833
repeated .com.cst14.im.protobuf.PersonalMsg personMsg = 83;
[ { "docid": "b7f120e92141460ce2a43c0247ae88aa", "score": "0.6188427", "text": "public com.cst14.im.protobuf.ProtoClass.PersonalMsgOrBuilder getPersonMsgOrBuilder(\n int index) {\n if (personMsgBuilder_ == null) {\n return personMsg_.get(index); } else {\n return personMsgBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" } ]
[ { "docid": "fa96e8f62a660216fdbe1b7402ddb117", "score": "0.73954135", "text": "com.cst14.im.protobuf.ProtoClass.PersonalMsg getPersonMsg(int index);", "title": "" }, { "docid": "2b1910760a756f9871a129e7d9708019", "score": "0.711219", "text": "java.util.List<? extends com.cst14.im.protobuf.ProtoClass.PersonalMsgOrBuilder> \n getPersonMsgOrBuilderList();", "title": "" }, { "docid": "f0c8d8b445cbbacb9c1aff10bef5d433", "score": "0.6974349", "text": "java.util.List<com.cst14.im.protobuf.ProtoClass.PersonalMsg> \n getPersonMsgList();", "title": "" }, { "docid": "425a3ad706e248797418a07933a6c3c7", "score": "0.690192", "text": "com.cst14.im.protobuf.ProtoClass.PersonalMsgOrBuilder getPersonMsgOrBuilder(\n int index);", "title": "" }, { "docid": "1c547c477c6dd10380f8d96348963ab4", "score": "0.647723", "text": "public java.util.List<? extends com.cst14.im.protobuf.ProtoClass.PersonalMsgOrBuilder> \n getPersonMsgOrBuilderList() {\n return personMsg_;\n }", "title": "" }, { "docid": "4652389f4b7f9be3021447860d7f92ea", "score": "0.6467632", "text": "com.cst14.im.protobuf.ProtoClass.PersonalMsgReadingRecordOrBuilder getRecordOrBuilder();", "title": "" }, { "docid": "ab8a9989d85a43a4993ee0d04eb4f93c", "score": "0.64167213", "text": "com.cst14.im.protobuf.ProtoClass.GroupMsgOrBuilder getGroupMsgOrBuilder();", "title": "" }, { "docid": "eb15af54a4734ab76412ab3773ada008", "score": "0.63640296", "text": "public com.cst14.im.protobuf.ProtoClass.PersonalMsgOrBuilder getPersonMsgOrBuilder(\n int index) {\n return personMsg_.get(index);\n }", "title": "" }, { "docid": "1188aa54f9ff7082a48d5d4bdf16f6b7", "score": "0.63581747", "text": "private PersonalMsg(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "07a235a37b82714d855f6ee49b07825e", "score": "0.6326685", "text": "public java.util.List<? extends com.cst14.im.protobuf.ProtoClass.PersonalMsgOrBuilder> \n getPersonMsgOrBuilderList() {\n if (personMsgBuilder_ != null) {\n return personMsgBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(personMsg_);\n }\n }", "title": "" }, { "docid": "bebe4d8b4c081109b469533971a10931", "score": "0.63122344", "text": "com.protobuftest.protobuf.GameProbuf.Game.MsgType getType();", "title": "" }, { "docid": "3d58e33c474acd221edba305150c5052", "score": "0.62732697", "text": "protobuf_unittest.UnittestMset.TestMessageSetOrBuilder getMessageSetOrBuilder();", "title": "" }, { "docid": "84a9aa8cd4ddbe9509133fb30967d109", "score": "0.61741817", "text": "com.cst14.im.protobuf.ProtoClass.GroupMemberInfoOrBuilder getMyInfoOrBuilder();", "title": "" }, { "docid": "353bba565a49a274d7bd6d930e631a5c", "score": "0.61661583", "text": "com.cst14.im.protobuf.ProtoClass.GroupMsg getGroupMsg();", "title": "" }, { "docid": "b02d38f09db281bc6619a42093ad7023", "score": "0.6101729", "text": "public java.util.List<com.cst14.im.protobuf.ProtoClass.PersonalMsg> getPersonMsgList() {\n return personMsg_;\n }", "title": "" }, { "docid": "87bf12164dcbd0ce11b78172b5de7ea4", "score": "0.6091527", "text": "com.cst14.im.protobuf.ProtoClass.PersonalMsgReadingRecord getRecord();", "title": "" }, { "docid": "166f81450788f6343f862de13792ee87", "score": "0.60416806", "text": "public com.cst14.im.protobuf.ProtoClass.PersonalMsg getPersonMsg(int index) {\n return personMsg_.get(index);\n }", "title": "" }, { "docid": "2464b55c827d146b40b013e07e091b25", "score": "0.6017124", "text": "java.util.List<? extends com.cst14.im.protobuf.ProtoClass.PersonalMsgOrBuilder> \n getOfflineMsgOrBuilderList();", "title": "" }, { "docid": "41414fa19fba22cfb76657f82a0a76fb", "score": "0.59511", "text": "com.example.test.TestProtos.Test1OrBuilder getTOrBuilder();", "title": "" }, { "docid": "44d810d1582f683d8aad762448a0b2df", "score": "0.5947981", "text": "public interface Message\n extends MessageLite, MessageOrBuilder\n{\n public static interface Builder\n extends MessageLite.Builder, MessageOrBuilder\n {\n\n public abstract Builder addRepeatedField(Descriptors.FieldDescriptor fielddescriptor, Object obj);\n\n public abstract Message build();\n\n public abstract Message buildPartial();\n\n public abstract Descriptors.Descriptor getDescriptorForType();\n\n public abstract Builder mergeFrom(ByteString bytestring, ExtensionRegistryLite extensionregistrylite)\n throws InvalidProtocolBufferException;\n\n public abstract Builder mergeFrom(Message message);\n\n public abstract Builder newBuilderForField(Descriptors.FieldDescriptor fielddescriptor);\n\n public abstract Builder setField(Descriptors.FieldDescriptor fielddescriptor, Object obj);\n\n public abstract Builder setUnknownFields(UnknownFieldSet unknownfieldset);\n }\n\n\n public abstract Parser getParserForType();\n\n public abstract Builder newBuilderForType();\n\n public abstract Builder toBuilder();\n}", "title": "" }, { "docid": "52e7862ea1a6358da16bb25f94db696f", "score": "0.5942973", "text": "com.pojo.MessageProto.Message.Type getType();", "title": "" }, { "docid": "3c8d45209596f67b4f1819817ac90612", "score": "0.59370565", "text": "java.util.List<ProtoBufPackage.PersonProto.Person> \n getPersonList();", "title": "" }, { "docid": "3fe1908d38624285ae0ef7fbb37aa0e8", "score": "0.59329724", "text": "com.google.protobuf2.Any getContent();", "title": "" }, { "docid": "5dcb3be3558ff9f8d768b91ca8bd509c", "score": "0.5926", "text": "com.cst14.im.protobuf.ProtoClass.PersonalMsg getOfflineMsg(int index);", "title": "" }, { "docid": "d4457d1061f572f464e42c19afeef828", "score": "0.59233224", "text": "java.util.List<? extends cn.wsds.gamemaster.pb.Proto.MyMessageItemOrBuilder> \n getMyMessageItemOrBuilderList();", "title": "" }, { "docid": "0a6cf8aa92cc3cb8ae0d5fd5c2a53b93", "score": "0.5922322", "text": "public Builder addPersonMsg(com.cst14.im.protobuf.ProtoClass.PersonalMsg value) {\n if (personMsgBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensurePersonMsgIsMutable();\n personMsg_.add(value);\n onChanged();\n } else {\n personMsgBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "08d622cef4f6a55926a8a421dfa23155", "score": "0.5914812", "text": "com.google.protobuf.AnyOrBuilder getDataOrBuilder();", "title": "" }, { "docid": "ca2d1941bfab9f47e36a8760d20ca196", "score": "0.59001696", "text": "protobuf_unittest.UnittestMset.TestMessageSet getMessageSet();", "title": "" }, { "docid": "8db72e93c2083bca2bfaa5760079c942", "score": "0.58879924", "text": "com.google.protobuf.Any getData();", "title": "" }, { "docid": "e07979b12cf57764f9faf1d679f145ba", "score": "0.58867925", "text": "public com.cst14.im.protobuf.ProtoClass.PersonalMsg.Builder addPersonMsgBuilder() {\n return getPersonMsgFieldBuilder().addBuilder(\n com.cst14.im.protobuf.ProtoClass.PersonalMsg.getDefaultInstance());\n }", "title": "" }, { "docid": "fd19cd290a1e4c07075e2051b1a9753a", "score": "0.58865803", "text": "DataPairProto.DataPair getMessageBody(int index);", "title": "" }, { "docid": "4e7dbf8fcd797f51df1a517a94ce0a33", "score": "0.5877001", "text": "com.protobuftest.protobuf.GameProbuf.Game.QuestionOrBuilder getQestionOrBuilder();", "title": "" }, { "docid": "ef92b847b973b5ca8c84a65b618d7f0c", "score": "0.5866896", "text": "com.protobuftest.protobuf.GameProbuf.Game.ReadyOrBuilder getReadyOrBuilder();", "title": "" }, { "docid": "ecd487289ecb26c30cbef1ee3564a6e2", "score": "0.5866082", "text": "com.protobuftest.protobuf.GameProbuf.Game.AnswerOrBuilder getAnswerOrBuilder();", "title": "" }, { "docid": "3897178383fa26315596caffd766d21c", "score": "0.5855594", "text": "ProtoBufPackage.PersonProto.Person getPerson(int index);", "title": "" }, { "docid": "434dd287ee6326862c72df17588bf34b", "score": "0.5823959", "text": "bridgempp.services.socket.protobuf.MessageType getMessageType();", "title": "" }, { "docid": "524af0220453e27753694977673d24f7", "score": "0.58133966", "text": "com.protobuftest.protobuf.GameProbuf.Game.ResultOrBuilder getResultOrBuilder();", "title": "" }, { "docid": "5fb540650c3f6817adb13503f1ea6b87", "score": "0.57927895", "text": "public interface PuzzleServiceMsg extends Message { }", "title": "" }, { "docid": "bbd43e08af44fb05704e1e24b0db7e48", "score": "0.5772572", "text": "com.cst14.im.protobuf.ProtoClass.MsgEmail getEmailBind();", "title": "" }, { "docid": "5b521050289f2bde2c836188eb70b1eb", "score": "0.5771031", "text": "com.whiuk.philip.mmorpg.shared.Messages.ClientMessage.SystemDataOrBuilder getSystemDataOrBuilder();", "title": "" }, { "docid": "297ff6f37c77d6c265529376fdce9775", "score": "0.5763727", "text": "game.msg.Define.DMemberInfoOrBuilder getHumanOrBuilder();", "title": "" }, { "docid": "9bd3f4a03660f9f7efa208d2c546b9d5", "score": "0.57571167", "text": "com.google.protobuf2.AnyOrBuilder getContentOrBuilder();", "title": "" }, { "docid": "ea1f86cdb7ed3359513b02cc62e0adcf", "score": "0.57560027", "text": "public com.cst14.im.protobuf.ProtoClass.PersonalMsg getPersonMsg(int index) {\n if (personMsgBuilder_ == null) {\n return personMsg_.get(index);\n } else {\n return personMsgBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "10f773cf79869f448d40a4273b1e4137", "score": "0.5754567", "text": "com.cst14.im.protobuf.ProtoClass.GroupMemberInfo getMyInfo();", "title": "" }, { "docid": "caa10d2340031272099ca7fcb6e1c0d9", "score": "0.5742068", "text": "com.whiuk.philip.mmorpg.shared.Messages.ClientMessage.ChatDataOrBuilder getChatDataOrBuilder();", "title": "" }, { "docid": "d6abaf0a0ebda9c77214f0cd6fd6fff0", "score": "0.57382673", "text": "com.cst14.im.protobuf.ProtoClass.MsgEmailOrBuilder getEmailBindOrBuilder();", "title": "" }, { "docid": "48af41a09c5f7c60192179f73aae6293", "score": "0.57303876", "text": "public java.util.List<com.cst14.im.protobuf.ProtoClass.PersonalMsg> getPersonMsgList() {\n if (personMsgBuilder_ == null) {\n return java.util.Collections.unmodifiableList(personMsg_);\n } else {\n return personMsgBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "bf5217ccf34df8060971bfa74054cf97", "score": "0.5711593", "text": "com.protobuftest.protobuf.GameProbuf.Game.BeginOrBuilder getBeginOrBuilder();", "title": "" }, { "docid": "671872d10023e73a0510f83dabe17c23", "score": "0.56890494", "text": "com.whiuk.philip.mmorpg.shared.Messages.ServerMessage.ChatDataOrBuilder getChatDataOrBuilder();", "title": "" }, { "docid": "a48cc3b367f234138e8fb7585a92b727", "score": "0.5678708", "text": "com.google.protobuf.ByteString getMsg();", "title": "" }, { "docid": "cee3a7adef4d98b848ecbee267a18a85", "score": "0.56518096", "text": "public static interface \n extends MessageOrBuilder\n{\n\n public abstract String getDefaultValue();\n\n public abstract String getExtendee();\n\n public abstract getLabel();\n\n public abstract String getName();\n\n public abstract int getNumber();\n\n public abstract getOptions();\n\n public abstract getOptionsOrBuilder();\n\n public abstract getType();\n\n public abstract String getTypeName();\n\n public abstract boolean hasDefaultValue();\n\n public abstract boolean hasExtendee();\n\n public abstract boolean hasLabel();\n\n public abstract boolean hasName();\n\n public abstract boolean hasNumber();\n\n public abstract boolean hasOptions();\n\n public abstract boolean hasType();\n\n public abstract boolean hasTypeName();\n}", "title": "" }, { "docid": "82767df1e236de8e2a11dff6f136fc35", "score": "0.56486356", "text": "com.google.protobuf.Struct getParams();", "title": "" }, { "docid": "c3b1a06a1b4a0c5cce6b24443aa106c8", "score": "0.564302", "text": "public Builder addAllPersonMsg(\n java.lang.Iterable<? extends com.cst14.im.protobuf.ProtoClass.PersonalMsg> values) {\n if (personMsgBuilder_ == null) {\n ensurePersonMsgIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, personMsg_);\n onChanged();\n } else {\n personMsgBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" }, { "docid": "ab441c6f246e9a2009cacf3650fb9179", "score": "0.5642878", "text": "cn.wsds.gamemaster.pb.Proto.MyMessageItemBodyOrBuilder getBodyOrBuilder();", "title": "" }, { "docid": "562111b4879934a75ff0c48393caed35", "score": "0.56397074", "text": "com.whiuk.philip.mmorpg.shared.Messages.ServerMessage.SystemDataOrBuilder getSystemDataOrBuilder();", "title": "" }, { "docid": "3f59a5f330075d1d9fafb8983afa1607", "score": "0.56289667", "text": "public interface Message {\n /**\n * @return An associated user with this message\n */\n @NotNull\n NamedUser getUser();\n\n /**\n * @return A date when the message was created\n */\n @NotNull\n Date getDate();\n\n /**\n * @return A byte array with message binary content\n */\n @NotNull\n byte[] getData();\n}", "title": "" }, { "docid": "28d1e27ce06e0439a1a9fe4107aaa25e", "score": "0.56028086", "text": "java.util.List<com.cst14.im.protobuf.ProtoClass.PersonalMsg> \n getOfflineMsgList();", "title": "" }, { "docid": "358ce1111b13e72216c6ecc214a413b5", "score": "0.55972105", "text": "SSIT.proto.Unetmgr.LobbyChatMessage getMessage();", "title": "" }, { "docid": "358ce1111b13e72216c6ecc214a413b5", "score": "0.55972105", "text": "SSIT.proto.Unetmgr.LobbyChatMessage getMessage();", "title": "" }, { "docid": "85c09ff76b746b0fbbb9badb365f814e", "score": "0.55945563", "text": "public interface Message extends java.io.Serializable {\r\n public static enum MsgType {\r\n \tRESET, LOAD_SETTINGS, STARTEXP, STOPEXP, CUSTOM, ACK, // These are the ones most often used.\r\n \tLOAD_GPS_MOTION_SCRIPT,\r\n \tLOAD_RELATIVE_MOTION_SCRIPT, SET_TIME, \r\n \tLOAD_BEHAVIORCONFIG_FILE, \r\n \tUPDATE_BEH_MSG, UPDATE_BEH_TABLE_MSG};\r\n \r\n /**\r\n * Returns the type of the message. Type possible\r\n * types are defined within Message.\r\n *\r\n * @return the type of the message. Type possible\r\n * types are defined within Message.\r\n */\r\n public MsgType getType();\r\n}", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.55791646", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.55791646", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.55791646", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.5579144", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.5579144", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.5577541", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.5577541", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.5577541", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "2af4eeae3fbfe5a7c0a8bd0d0d724eab", "score": "0.5577541", "text": "com.google.protobuf.ByteString getMessage();", "title": "" }, { "docid": "6d502ac244b967d90a7414c04a572e81", "score": "0.55697924", "text": "private PersonalMsgReadingRecord(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "c52796db665194ed2e691c86f0e22f49", "score": "0.5557581", "text": "private static byte[] serializeMessage(GeneratedMessageV3 msg, int type) {\n int packetLen = msg.getSerializedSize() + 1;\n byte[] packet = ByteBuffer.allocate(packetLen + 4).order(ByteOrder.LITTLE_ENDIAN).putInt(packetLen).put((byte) type).put(msg.toByteArray()).array();\n return packet;\n }", "title": "" }, { "docid": "7e2aeee3ee10aa69dc79520b5cbf8b51", "score": "0.55474466", "text": "com.cst14.im.protobuf.ProtoClass.MsgPhoneOrBuilder getPhoneBindOrBuilder();", "title": "" }, { "docid": "3ab1a7269ef195dc0369ddc65be2d60c", "score": "0.5542871", "text": "com.protobuftest.protobuf.GameProbuf.Game.PointOrBuilder getPointOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.5538881", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.55387974", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.55387974", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.55387974", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.55387974", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.55387974", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.55387974", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.55387974", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "43cfb151f7bc391862c550164a856ddd", "score": "0.55387974", "text": "protobuf.clazz.Protocol.RoomInfoOrBuilder getRoomInfoOrBuilder();", "title": "" }, { "docid": "2c1bbaa442561afe7cc5087a280e559c", "score": "0.5537084", "text": "public Builder addPersonMsg(\n int index, com.cst14.im.protobuf.ProtoClass.PersonalMsg value) {\n if (personMsgBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensurePersonMsgIsMutable();\n personMsg_.add(index, value);\n onChanged();\n } else {\n personMsgBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "c407f3f8f00c8d199cc4417cbe580748", "score": "0.5536269", "text": "SSIT.proto.Unetmgr.LobbyChatMessageOrBuilder getMessageOrBuilder();", "title": "" }, { "docid": "c407f3f8f00c8d199cc4417cbe580748", "score": "0.5536269", "text": "SSIT.proto.Unetmgr.LobbyChatMessageOrBuilder getMessageOrBuilder();", "title": "" }, { "docid": "905541c495e5dec711854aeae82a25f9", "score": "0.55349016", "text": "com.google.protobuf.ByteString\n getMsgBytes();", "title": "" }, { "docid": "f414bcaf4373172f7e6900ec91a406c4", "score": "0.5520363", "text": "com.cst14.im.protobuf.ProtoClass.PersonalMsgOrBuilder getOfflineMsgOrBuilder(\n int index);", "title": "" }, { "docid": "da90eb633577417fcff50ec301a1e621", "score": "0.5506637", "text": "public PeopleDto.PeopleOrBuilder getPeopleOrBuilder(\n int index) {\n if (peopleBuilder_ == null) {\n return people_.get(index); } else {\n return peopleBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "98b74e4b5e5f2956500f7df2c2ddd539", "score": "0.54965204", "text": "public ProtoBufPackage.PersonProto.PersonOrBuilder getPersonOrBuilder(\n int index) {\n return person_.get(index);\n }", "title": "" }, { "docid": "2d0bd35a6a3db5596192b6e02d073e3a", "score": "0.5495048", "text": "java.util.List<cn.wsds.gamemaster.pb.Proto.MyMessageItem> \n getMyMessageItemList();", "title": "" }, { "docid": "976eb1e711d1b9ac632301408f019fea", "score": "0.5494393", "text": "public Builder setPersonMsg(\n int index, com.cst14.im.protobuf.ProtoClass.PersonalMsg value) {\n if (personMsgBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensurePersonMsgIsMutable();\n personMsg_.set(index, value);\n onChanged();\n } else {\n personMsgBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "5080e8add1c97c14b71db2edd9cad878", "score": "0.5493613", "text": "com.google.protobuf.ByteString getMessageBytes();", "title": "" }, { "docid": "5cdb6975b740c59d343a0eaf8975b346", "score": "0.5491526", "text": "com.protobuftest.protobuf.GameProbuf.Game.Begin getBegin();", "title": "" }, { "docid": "bc26d39fb1c2a5eeb844c4f5171d3f09", "score": "0.54844767", "text": "com.funcy.g01.base.proto.bo.SynFightBoProtoBuffer.ChatEventProto getParams1();", "title": "" }, { "docid": "6e38b5459e90f7caccd3d504caa120ef", "score": "0.5479065", "text": "com.cst14.im.protobuf.ProtoClass.UserDetailOrBuilder getUserDetailOrBuilder();", "title": "" }, { "docid": "4775d09956d42b37b099378aec822709", "score": "0.5474093", "text": "private MessageProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "ac58a16775305e465a5ff7698ed2d697", "score": "0.5461825", "text": "public interface ZenlyProto$ChatGroupConversationUpdateRequestOrBuilder extends MessageLiteOrBuilder {\n String getConversationUuid();\n\n ByteString getConversationUuidBytes();\n\n String getName();\n\n ByteString getNameBytes();\n}", "title": "" }, { "docid": "a2a4b1884f26b2d40bab30ed98c77c83", "score": "0.54588586", "text": "com.protobuftest.protobuf.GameProbuf.Game.Result getResult();", "title": "" }, { "docid": "5fc3c341c7f54bfe96697bb68840b283", "score": "0.54422057", "text": "com.cst14.im.protobuf.ProtoClass.EmailStauts getUserPhoneStatus();", "title": "" }, { "docid": "3a28146a205a14d4d96620c735c25801", "score": "0.5431087", "text": "private GroupMsg(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "title": "" } ]
d3e164b2d89b7cf3fdd5677cfe5658db
Initialize the user interface.
[ { "docid": "abb83464e3384b8549d0251a3be3c166", "score": "0.0", "text": "private void init(){\r\n\t\tGridBagLayout gbl = new GridBagLayout();\r\n\t\tGridBagConstraints gbc = new GridBagConstraints();\r\n\t\tsetLayout(gbl);\r\n\t\t\r\n\t\tgbc.insets = new Insets(1, 1, 1, 1);\r\n\t\tgbc.anchor = GridBagConstraints.WEST;\r\n\t\tgbc.fill = GridBagConstraints.HORIZONTAL;\r\n\t\t\r\n\t\turlLabel = new JLabel(\"URL\");\r\n\t\tgbc.weightx = 0;\r\n\t\tgbc.gridwidth = 1;\r\n\t\tgbl.setConstraints(urlLabel, gbc);\r\n\t\tadd(urlLabel);\r\n\t\t\r\n\t\turlField = new JTextField();\r\n\t\tgbc.weightx = 1;\r\n\t\tgbc.gridwidth = GridBagConstraints.REMAINDER;\r\n\t\tgbl.setConstraints(urlField, gbc);\r\n\t\tadd(urlField);\r\n\t\t\r\n\t\tmethodLabel = new JLabel(\"Method\");\r\n\t\tgbc.weightx = 0;\r\n\t\tgbc.gridwidth = 1;\r\n\t\tgbl.setConstraints(methodLabel, gbc);\r\n\t\tadd(methodLabel);\r\n\t\t\r\n\t\tmethodComboBox = new JComboBox(METHODS);\r\n\t\tmethodComboBox.setSelectedItem(HttpRequestAction.DEFAULT_METHOD);\r\n\t\tgbc.weightx = 1;\r\n\t\tgbc.gridwidth = GridBagConstraints.REMAINDER;\r\n\t\tgbl.setConstraints(methodComboBox, gbc);\r\n\t\tadd(methodComboBox);\r\n\t\t\r\n\t\tuseAuthenticationCheck = new JCheckBox(\"Use Basic Authentication\");\r\n\t\tuseAuthenticationCheck.addActionListener(new ActionListener(){\r\n\t\t\tpublic void actionPerformed(ActionEvent evt){\r\n\t\t\t\tsetAuthenticationEnabled(useAuthenticationCheck.isSelected());\r\n\t\t\t}\r\n\t\t});\r\n\t\tgbc.weightx = 1;\r\n\t\tgbc.gridwidth = GridBagConstraints.REMAINDER;\r\n\t\tgbl.setConstraints(useAuthenticationCheck, gbc);\r\n\t\tadd(useAuthenticationCheck);\r\n\t\t\r\n\t\tusernameLabel = new JLabel(\"Username\");\r\n\t\tgbc.weightx = 0;\r\n\t\tgbc.gridwidth = 1;\r\n\t\tgbl.setConstraints(usernameLabel, gbc);\r\n\t\tadd(usernameLabel);\r\n\t\t\r\n\t\tusernameField = new JTextField();\r\n\t\tgbc.weightx = 1;\r\n\t\tgbc.gridwidth = GridBagConstraints.REMAINDER;\r\n\t\tgbl.setConstraints(usernameField, gbc);\r\n\t\tadd(usernameField);\r\n\t\t\r\n\t\tpasswordLabel = new JLabel(\"Password\");\r\n\t\tgbc.weightx = 0;\r\n\t\tgbc.gridwidth = 1;\r\n\t\tgbl.setConstraints(passwordLabel, gbc);\r\n\t\tadd(passwordLabel);\r\n\t\t\r\n\t\tpasswordField = new JPasswordField();\r\n\t\tgbc.weightx = 1;\r\n\t\tgbc.gridwidth = GridBagConstraints.REMAINDER;\r\n\t\tgbl.setConstraints(passwordField, gbc);\r\n\t\tadd(passwordField);\r\n\t\t\r\n\t\tJPanel p = new JPanel();\r\n\t\tgbc.weighty = 1;\r\n\t\tgbl.setConstraints(p, gbc);\r\n\t\tadd(p);\r\n\t}", "title": "" } ]
[ { "docid": "fad7b9ee46cd6e46db2fd8aaa1c03ef9", "score": "0.81457484", "text": "public void initUI() {\n\t}", "title": "" }, { "docid": "a8229c3a36bab3851eefaef343167d19", "score": "0.8133114", "text": "protected void initUI() {\n\t}", "title": "" }, { "docid": "364440511c5a0bfbdfc42b144c997617", "score": "0.80872846", "text": "public MainUI() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "title": "" }, { "docid": "e41bcbd1102680b0d7201cfb1ce0cd0f", "score": "0.7947653", "text": "private void initUI() {\n\n }", "title": "" }, { "docid": "34e144dc74ecf157f544858075847f97", "score": "0.78886026", "text": "public void initializeUI(){\n this.initFrame();\n this.initPanel();\n this.initDisplayArea();\n this.initNumberButtons();\n this.initDot();\n this.initEqual();\n this.initClearDelete();\n this.initParanthesis();\n this.initOperators();\n frame.setVisible(true); \n\n }", "title": "" }, { "docid": "398b690d8c299a20e71d098c580d44ee", "score": "0.7862123", "text": "@Override\n public void initUI() {\n }", "title": "" }, { "docid": "947ecfac53fbe72d8989b0bf44174732", "score": "0.7805335", "text": "private void initialize()\r\n {\r\n this.setSize( new Dimension( 327, 404 ) );\r\n this.setTitle( \"User Dictionary Configuration\" );\r\n this.setContentPane( getJPanel() );\r\n setCancelButton( btnCancel );\r\n }", "title": "" }, { "docid": "467c3531696f141293e866def1029880", "score": "0.7780597", "text": "public void initUI() {\n\t\tmGame.initUI();\n\t}", "title": "" }, { "docid": "226ec18d45b14fa10c3427104dcf324c", "score": "0.7717713", "text": "public GUI() {\n\t\tinitUI();\n\t}", "title": "" }, { "docid": "72e9407f2a8c77e1ec604d30d1cc45db", "score": "0.7711805", "text": "public UI() {\n initComponents();\n }", "title": "" }, { "docid": "72e9407f2a8c77e1ec604d30d1cc45db", "score": "0.7711805", "text": "public UI() {\n initComponents();\n }", "title": "" }, { "docid": "a41106fa544d7d2fd334575876c3e7cf", "score": "0.767973", "text": "public MainUI() {\n initComponents();\n }", "title": "" }, { "docid": "a41106fa544d7d2fd334575876c3e7cf", "score": "0.767973", "text": "public MainUI() {\n initComponents();\n }", "title": "" }, { "docid": "8f77dd2441c4479b6e9c6ad5fd55bde4", "score": "0.76603013", "text": "private void initialize() {\r\n // basic layout is a Gridlayout\r\n setLayout(new GridLayout());\r\n createHead();\r\n // createActionChoice();\r\n createMainArea();\r\n createOptionsArea();\r\n }", "title": "" }, { "docid": "e1a0dd3231c0e14908dfd14fc135e3b2", "score": "0.7562594", "text": "private void initialize() {\n this.setSize(new java.awt.Dimension(519, 251));\n this.setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE);\n this.setContentPane(getMainAJStausPane());\n this.setTitle(\"Auto Judge Status\");\n\n }", "title": "" }, { "docid": "e868e187ec4ec7d3f3f027bc936bb4b5", "score": "0.751436", "text": "private void initialize() {\n\t\tthis.setTitle(\"进销存管理系统\");\n\t\tthis.setLocation(new Point(300, 100));\n\t\tthis.setSize(new Dimension(800, 600));\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tthis.setContentPane(getJPanel());\n\t\tthis.setResizable(false);\n\t\tthis.setJMenuBar(getJJMenuBar());\n\t}", "title": "" }, { "docid": "35614ab34221f0bc409ff4d3b7aa181b", "score": "0.7513317", "text": "public GUIMain() {\n initComponents();\n }", "title": "" }, { "docid": "8be1e2a145f9b62bf76edfa724800ca4", "score": "0.7492429", "text": "private void initialiseUI() {\r\n\t\tsetupFrame();\r\n\t\tsetupPanels();\r\n\t setupParameterTextFields();\r\n\t addParametersToPanel();\r\n\t setupRunSimulationButton();\r\n\t setupChartButtonAllData();\r\n\t setupChartButtonVehicles();\r\n\t setupChartButtonBarGraph();\r\n\t\tcreateChart();\r\n\t \r\n\t\t// Add our top level panels onto the frame and render it visible.\r\n\t\tthis.add(parameterBox);\r\n\t\tthis.add(logArea);\r\n\t\tthis.add(chartPanelAllData);\r\n\t\tthis.add(chartPanelVehicles);\r\n\t\tthis.add(chartPanelBarGraph);\r\n RefineryUtilities.centerFrameOnScreen(this);\r\n\t\tthis.setVisible(true);\r\n\t}", "title": "" }, { "docid": "879c45e8a5a29d053c91f952f92850f6", "score": "0.74850017", "text": "public void initializeGUI() {\n this.view = new View(game, gui, playerpanel);\n }", "title": "" }, { "docid": "77e4499449e116e6fa8d5f431b2dfda8", "score": "0.74763775", "text": "private void initialize() {\n final Integer WindowX = Integer.valueOf(start_vk.myConf.get(\"WindowSizeX\"));\n final Integer WindowY = Integer.valueOf(start_vk.myConf.get(\"WindowSizeY\"));\n this.setSize(WindowX, WindowY);\n this.setName(\"MainPanel\");\n this.setContentPane(getJContentPane());\n this.setTitle(\"Virtual Keyboard\");\n }", "title": "" }, { "docid": "36fbcb4b697f7cdf2dacbe1d5d1e0b1d", "score": "0.7464428", "text": "private void initialize() {\n\t\ttry {\n\t\t\t// user code begin {1}\n\t\t\t// user code end\n\t\t\tsetName(\"TestGradientUI\");\n\t\t\tsetDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\t\t\tsetSize(488, 577);\n\t\t\tsetTitle(\"TestGradientUI\");\n\t\t\tsetContentPane(getJFrameContentPane());\n\t\t\tinitConnections();\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\thandleException(ivjExc);\n\t\t}\n\t\t// user code begin {2}\n\t\t// user code end\n\t}", "title": "" }, { "docid": "64d17d056d3ce1308b9c0e84e06746ae", "score": "0.7462923", "text": "private void initialize() {\r\n\t\tinitMainFrame();\r\n\t\tinitCommandPanel();\r\n\t\tinitCommandText();\r\n\t\tinitCommandButton();\r\n\t\tinitMainPanel();\r\n\t\tinitConsolePanel();\r\n\r\n\t\tupdateCommandButtonEnabledStatus();\r\n\t}", "title": "" }, { "docid": "804c7050333537aea585ad48dc27eea3", "score": "0.74593997", "text": "private void initialize() {\r\n\t\tthis.setSize(459, 229);\r\n\t\tthis.setTitle(\"Acerca de\");\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t}", "title": "" }, { "docid": "da86ff97b76228261acfcdc09f68a8dd", "score": "0.7431741", "text": "private void initialize() {\r\n\t\tthis.setSize(541, 438);\r\n\t\tthis.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"Otros Examenes\");\r\n\t}", "title": "" }, { "docid": "b2ecaf4a405e0809883a8c1f0428304b", "score": "0.7430443", "text": "public IngatlanGUI() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\t}", "title": "" }, { "docid": "df6eb78225c15e05ff56cdcc368bfabd", "score": "0.7430363", "text": "private void initializeUserInterface() {\n drawBackground(root);\n drawTitle(root);\n drawSudokuBoard(root);\n drawTextFields(root);\n drawGridLines(root);\n stage.show();\n }", "title": "" }, { "docid": "70d57c2fabad2efbcbc9f3ee908dd08b", "score": "0.7428778", "text": "private void initialize() {\r\n\t\tthis.setSize(791, 564);\r\n\t\tthis.setJMenuBar(getJJMenuBar());\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"gconfig\");\r\n\t}", "title": "" }, { "docid": "9d1e31084dfd324de362cca5db3d8632", "score": "0.7427796", "text": "private void initialize() {\n\t\tthis.setTitle(\"Alfa Degeri Tanımları\");\n\t\tthis.setSize(375, 323);\n\t\tthis.setContentPane(getJContentPane());\n\t}", "title": "" }, { "docid": "1c21d75d4e05988398b7d65f264214b4", "score": "0.7416701", "text": "private void initialize() {\r\n\t\tthis.setSize(252, 200);\r\n\t\tthis.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\r\n\t\tthis.setTitle(\"Data terminal setup\");\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tsetModal(true);\r\n\t}", "title": "" }, { "docid": "206c936c2698cc3b453dfde99bacfefc", "score": "0.73995686", "text": "public UI() {\n initComponents();\n clothingMenu = new ClothingMenu(this);\n }", "title": "" }, { "docid": "991e4ccf88e0d9d5bd31204dd6cee79c", "score": "0.73691416", "text": "private void initialize() {\r\n\t\tthis.setSize(374, 328);\r\n\t\tthis.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\r\n\t\tthis.setIconImage(Toolkit.getDefaultToolkit().getImage(\r\n\t\t\t\tgetClass().getResource(\"/LogoPrincipal.png\")));\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"Status\");\r\n\t\tthis.setVisible(true);\r\n\t\tthis.setLocationRelativeTo(null); // On centre la fenêtre sur l'écran\r\n\r\n\t}", "title": "" }, { "docid": "aaf240226972d1bbae1bf2ee0f703c2f", "score": "0.73666066", "text": "private void init() {\n\n initMainWindow(); // sets main window properties\n\n initComponents(); // initializes all window components\n\n }", "title": "" }, { "docid": "ab50eabc50d098f5186467d626926e21", "score": "0.7357176", "text": "private void initialize ()\r\n {\r\n setTitle (StringDatabase.getUniqueInstance ().getString (\"NetworkAgentsDialog.Title.Label\"));\r\n configureComponentsPanel ();\r\n pack ();\r\n }", "title": "" }, { "docid": "c7230c050215ee180714a5fb6bfa406f", "score": "0.73555803", "text": "@Override\n public void initGui()\n {\n super.initGui();\n }", "title": "" }, { "docid": "fde734fa7a17b4da239484a4aee3684a", "score": "0.7352636", "text": "protected void initGUI()\r\n\t{\t\r\n\t\tthis.addWidget(new MenuBar()); \r\n this.getInfoText();\r\n\t\t// Update the display with the newly added components\r\n\t\tthis.layout();\r\n\t}", "title": "" }, { "docid": "f504f9874411a439380d1bad80a9ba75", "score": "0.7347004", "text": "public final void initUI(){\n\t\t\n\t\tsetTitle(\"Tetris\");\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tsetSize(600, 800);\n\t\tsetResizable(false);\n\t\tsboard = new ScoreBoard();\n\t\ttboard = new TetrisBoard(sboard);\n\t\tadd (tboard);\t\t\n\t}", "title": "" }, { "docid": "f266664080654950618ca6457a434ae0", "score": "0.73439634", "text": "private void initialize() {\r\n\t\tthis.setSize(523, 579);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"Formulario Paciente\");\r\n\t}", "title": "" }, { "docid": "cc03e4bd17235c791ff2dadf20d5b119", "score": "0.72900283", "text": "private void initialize() {\n\t\tthis.setSize(459, 188);\n\t\tthis.setContentPane(getJContentPane());\n\t}", "title": "" }, { "docid": "3ef1e37f1c08f4ea91cce0a8bf9fb1ee", "score": "0.72816706", "text": "public usermain() {\n initComponents();\n }", "title": "" }, { "docid": "7b2f286fa29b54848f7fc6d3566f4973", "score": "0.7264629", "text": "public GUI() {\n\t\tinitComponents();\n\t}", "title": "" }, { "docid": "7b2f286fa29b54848f7fc6d3566f4973", "score": "0.7264629", "text": "public GUI() {\n\t\tinitComponents();\n\t}", "title": "" }, { "docid": "200f400c7a973e14c91b46fabb251792", "score": "0.72407085", "text": "private void initialize() {\r\n\t\tthis.setSize(300, 200);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"Devolución Fianza\");\r\n\t}", "title": "" }, { "docid": "7de15fe6cdd0cce8b5c082bb5c2145fc", "score": "0.72388107", "text": "public MainPane(UserInterfaceManager ui) {\n \n uimanager = ui; \n \n initComponents();\n }", "title": "" }, { "docid": "aef3c8fa7d88ede8b0b253a3008e8fd2", "score": "0.72368777", "text": "public void setUpUI() {\r\n\t\t\tstage.setTitle(\"ChipIN\");\r\n\t\t\t\r\n\t\t\tregister();\r\n\t\t\tstage.show();\r\n\t\t}", "title": "" }, { "docid": "ea1495a5d07f03ab60a15a4f702ffdf9", "score": "0.7234162", "text": "private void initialize()\n {\n this.setSize(450, 250);\n this.setContentPane(getJContentPane());\n this.setTitle( \"Raspberry Pi - Lego-Lageregelung\" );\n this.startButton.setName(Model.NAME_START_BUTTON);\n this.stopButton.setName(Model.NAME_STOP_BUTTON);\n this.resetButton.setName(Model.NAME_RESET_BUTTON);\n this.endButton.setName(Model.NAME_END_BUTTON);\n }", "title": "" }, { "docid": "e4215e38f5d7df27c820f4d42ae04c83", "score": "0.7219269", "text": "private void initialize() {\r\n\t\tthis.setSize(300, 200);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t}", "title": "" }, { "docid": "cc9ed28001db5df5cc7839239845e0ee", "score": "0.7219108", "text": "private void init() {\n\t\tsetupEventOption();\n\t\tcreateButton();\n\t\tsetupMainPanel();\n\t\tsetupPanel();\n\t}", "title": "" }, { "docid": "030ad92ac7741e725beb61e3bdea02ab", "score": "0.72163546", "text": "public InformationClientGUI() {\n\t\tsetUp();\n\t}", "title": "" }, { "docid": "dc2af645118fad1005483dc23fbbbdf3", "score": "0.7209065", "text": "private void initialize() {\n this.setContentPane(getJContentPane());\n this.setSize(250, 150);\n }", "title": "" }, { "docid": "547aca99c2a90edce3842444bd00110e", "score": "0.71986675", "text": "public FrontUI() {\n initComponents();\n }", "title": "" }, { "docid": "39b2f9378ef5d72a80784d5331fcf943", "score": "0.71978605", "text": "private void initialize() {\n\n\t\tthis.setSize(457, 361);\n\t\tthis.setContentPane(getJContentPane());\n\t\tthis.setTitle(\"Book flights\");\n\t}", "title": "" }, { "docid": "bf7bb3a29797118b1a4085e5358f21db", "score": "0.7195316", "text": "public void init() {\n setLayout( new BorderLayout() );\n setSize(500,500);\n setTitle(\"Chat Window\");\n add( \"Center\", new Client( host, port ) );\n setVisible(true);\n }", "title": "" }, { "docid": "96a3cffa9c092af02208a70c22a9c897", "score": "0.71909094", "text": "private void initialize() {\r\n\t\tthis.setSize(586, 538);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"Trace Analyzer\");\r\n\t}", "title": "" }, { "docid": "fe012a44a03e237fbd056cb2e611828c", "score": "0.7164126", "text": "private void initialize() {\r\n\t\tthis.setSize(874, 398);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"数据检索界面\");\r\n\t}", "title": "" }, { "docid": "661a1e777c08c07c41527625c0cca493", "score": "0.7157582", "text": "private void initialize()\r\n {\r\n this.setSize(300, 200);\r\n this.setContentPane(getJContentPane());\r\n }", "title": "" }, { "docid": "d5ce30b522d842628d4bd2984560f046", "score": "0.71542776", "text": "private void initializeGUI(){\n this.setDefaultCloseOperation(EXIT_ON_CLOSE);\n this.setExtendedState(MAXIMIZED_BOTH);\n navBar = new NavigationBar(this);\n homePage = new PageHome(this, navBar);\n this.add(homePage);\n this.setVisible(true);\n }", "title": "" }, { "docid": "90790594ca632ec6412fd5f553fc8687", "score": "0.7145531", "text": "public void init() {\n launchMenu();\n }", "title": "" }, { "docid": "00349f04225eb8515825c6d2d064b50a", "score": "0.7143569", "text": "void initUISettings();", "title": "" }, { "docid": "afb2f016f1e906aec0d66247e846d082", "score": "0.7140832", "text": "public SimpleExample() {\n\t\tinitUI();\n\t}", "title": "" }, { "docid": "c507bfa1378183ad72df5d86bca5b502", "score": "0.7132276", "text": "private void initUI() {\n\n user = UserHandler.getInstance().getUser();\n\n userCodeTextView.setText(user.getName() + \" \" + user.getUserCode());\n\n TaskAdapter taskAdapter = new TaskAdapter(user.getTasks(), this);\n recyclerView.setLayoutManager(new LinearLayoutManager(this));\n recyclerView.setAdapter(taskAdapter);\n }", "title": "" }, { "docid": "8b4d11e1b2211582f9854cdaeb6bdf9e", "score": "0.71321917", "text": "private synchronized void \n initUI()\n { \n super.initUI(128.0, false);\n \n {\n pUserUseHistogram = null;\n pUserShareHistogram = null;\n pUsersByShareHistogram = null;\n \n pViewerPies = new ArrayList<ViewerPie>();\n }\n }", "title": "" }, { "docid": "6bf818a46d8f9e089c005989eff76ceb", "score": "0.71271294", "text": "private void initUI() {\r\n \r\n setTitle(\"Chart\");\r\n setSize(600, 400);\r\n setLocationRelativeTo(null);\r\n setDefaultCloseOperation(EXIT_ON_CLOSE);\r\n Container pane = getContentPane();\r\n pane.add(cp, BorderLayout.CENTER);\r\n }", "title": "" }, { "docid": "9054a826484d4fd18127a88dbdd95f65", "score": "0.711592", "text": "private void initialize() {\r\n\t\tthis.setSize(new Dimension(576, 389));\r\n\t\tthis.setJMenuBar(jMenuBar1);\r\n\r\n\t}", "title": "" }, { "docid": "b512ec9e9d5ebe41b0489cdc2911e5b1", "score": "0.7109246", "text": "public AdminGui() {\n initComponents();\n }", "title": "" }, { "docid": "8bc88d9a2ad510a3e29984d7d3ba71d6", "score": "0.7100155", "text": "public void initiate() {\n\t\taddTitle();\n\t\taddButtons();\n\t\tsetPreferredSize(new Dimension(700, 400)); // sets a specific size\n\t}", "title": "" }, { "docid": "3562c64ad6589831f653f09d86e81ef6", "score": "0.7098373", "text": "private void initialize() {\n\t\tthis.setSize(610, 251);\n\t\tthis.setTitle(\"Cargar Imágenes\");\n\t\tthis.setContentPane(getJContentPane());\n\t}", "title": "" }, { "docid": "9c959ad341fe4539b586fb3fabf8212c", "score": "0.7096611", "text": "private void initialize() {\r\n\t\tthis.setJMenuBar(getBarraDeMenuPrincipalJMenuBar());\r\n\t\tthis.setContentPane(getJContentPane());\r\n\r\n\t\tthis.setTitle(Configuracoes.getConfiguracao(Configuracoes.CONFIGURACAO_TITULO));\r\n\r\n\t\tthis.setResizable(false);\r\n\t\tthis.setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"/figuras/icones/star_grey.png\")));\r\n\t\tthis.addWindowListener(new WindowAdapter() {\r\n\t\t\tpublic void windowClosing(WindowEvent arg0) {\r\n\t\t\t\tsair();\r\n\t\t\t}\r\n\t\t\r\n\t\t\tpublic void windowClosed(WindowEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tsair();\r\n\t\t\t}\r\n\t\t});\r\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tthis.setBounds(new Rectangle(0, 0, 920, 600));\r\n\t\t\r\n\t\t// posiciona a janela no centro da tela\r\n\t\tToolkit kit = Toolkit.getDefaultToolkit();\r\n\t\tDimension screenSize = kit.getScreenSize();\r\n\t\tint screenHeight = screenSize.height;\r\n\t\tint screenWidth = screenSize.width;\r\n\t\tint width = this.getWidth();\r\n\t\tint height = this.getHeight();\r\n\t\tsetLocation((screenWidth - width) / 2, (screenHeight - height) / 2);\r\n\t}", "title": "" }, { "docid": "e29376735eb109c2aed756d1874cd0da", "score": "0.7096273", "text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(150, 150, 550, 400);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t mainMenuPanel = new MainMenuPanel(uni);\n\t addNewStudentPanel = new AddNewStudentPanel(uni);\n\t \n\t frame.setContentPane(mainMenuPanel);\n\t\tframe.setVisible(true);\n\t}", "title": "" }, { "docid": "bf0d50badb90c38cfa300244071cc882", "score": "0.70947367", "text": "private void initialize() {\n this.setSize(600, 400);\n this.setContentPane(getJContentPane());\n }", "title": "" }, { "docid": "7df767c67275a488af0ab31b934319fa", "score": "0.70847106", "text": "private void initUI() {\n \n add (new Board());\n \n setTitle (\"PacMan\");\n setDefaultCloseOperation (EXIT_ON_CLOSE);\n pack();\n setLocationRelativeTo (null);\n setVisible (true); \n }", "title": "" }, { "docid": "0d1347561d76f723ab682fe0787643a0", "score": "0.7079171", "text": "public AnnuaireUI() {\n initComponents();\n controller = new AnnuaireControleur();\n controller.ajouterObserver(this);\n initTable();\n reloadFullTable();\n addManualListener();\n }", "title": "" }, { "docid": "c92f71716bae71af4f79aa5af2411733", "score": "0.7073789", "text": "private void initialize() {\r\n\r\n createFrame();\r\n\r\n createMainPanel();\r\n\r\n createSearchPanel();\r\n\r\n createTable();\r\n\r\n createControlPanel();\r\n\r\n createButtonPanel();\r\n\r\n createLogPanel();\r\n\r\n createSplitPanel();\r\n }", "title": "" }, { "docid": "0a6380bf15a0d0342c1271372cb46300", "score": "0.70733887", "text": "@FXML\n\tpublic void initialize() \n\t{\n\t\tlogOutIcon.setVisible(true);\n\t\tTooltip.install(logOutIcon, new Tooltip(\"LogOut\"));\t\n\t\thomeIcon.setVisible(true);\n\t\tTooltip.install(homeIcon, new Tooltip(\"Home Page\"));\n\t\t//show menuBar\n\t\tif(Zoo.getInstance().getSaveMyUser().getId()==0)\n\t\t{\n\t\t\t//this is admin\n\t\t\tmenuId.setVisible(true);\n\t\t\tmenuId2.setVisible(false);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tmenuId.setVisible(false);\n\t\t\tmenuId2.setVisible(true);\n\t\t}\n\t\t//adding to combox of visitor and snacks\n\t\tvisitorCombo.setItems(FXCollections.observableArrayList(Zoo.getInstance().getVisitors().values()));\n\t\tImage img2= new Image(\"images/buy1.gif\");\n\t\timg11 = new ImageView(img2);\n\t\timg11.setFitHeight(150);\n\t\timg11.setFitWidth(180);\n\t\thbox11.getChildren().add(img11);\n\t\tsnackCombo.setVisible(false);\n\t}", "title": "" }, { "docid": "e22a2fcbb6da3d124864bf57e228917a", "score": "0.70676017", "text": "public void init() {\n\t\tsetSize(APPLICATION_WIDTH, APPLICATION_HEIGHT);//sets size of application\n\t\tinitializeControlBar(); // creates GUI\n\t\tgraph = new NameSurferGraph();\n\t\tadd(graph);\n\t}", "title": "" }, { "docid": "fc2c9e8e8850672080ac160d3c108029", "score": "0.7066741", "text": "public void initialize() {\r\n\t\t//populate text area with Products\r\n\t\ttextAreaEmployee.setText(IKiosk.toString());\r\n\t\t\r\n\t\t//if Admin load Admin Page button\r\n\t\tif(LoginController.loger.getAccountType() >= 2)\r\n\t\t\tbuttonEmployeeAdminPage.visibleProperty().set(true);\r\n\t}", "title": "" }, { "docid": "7ae14ca996642efeb7c59eba2df29a25", "score": "0.70651996", "text": "public ShopUI() {\n initComponents();\n init();\n }", "title": "" }, { "docid": "54ba43acd733948138f920608f8fbb5f", "score": "0.70581", "text": "public GUI() { \n initComponents();\n }", "title": "" }, { "docid": "82e00791a2740948aaeb6c45af111a14", "score": "0.70580846", "text": "private void initialize() {\r\n this.setSize(960, 636);\r\n this.setJMenuBar(getMenuStripMain());\r\n this.setContentPane(this.getJContentPane());\r\n this.setTitle(\"JFrame\");\r\n this.getCMenuPiano();\r\n this.getCMenuTrackSelector();\r\n this.getCMenuTrackTab();\r\n this.getCMenuPositionIndicator();\r\n int count = menuStripMain.getMenuCount();\r\n for ( int i = 0; i < count; i++ ){\r\n JMenu jm = menuStripMain.getMenu( i );\r\n setMenuName( jm );\r\n }\r\n pictPianoRoll.setFocusTraversalKeysEnabled( false );\r\n trackSelector.setFocusTraversalKeysEnabled( false );\r\n }", "title": "" }, { "docid": "beecabd533de20ebe2eb68dc545a81d1", "score": "0.70521027", "text": "private void initialize() {\r\n\t\tthis.setSize(450, 450);\r\n\t\tthis.setResizable(false);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"Ingatlan\");\r\n\r\n\t\ttry {\r\n\t\t\tdbc = new DBControl();\r\n\t\t} catch (Exception e) {\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c2429ed6ef34ace6e071e9efa8905675", "score": "0.7051155", "text": "public StaticCounterUI() {\n\t\tinitComponents();\n\t}", "title": "" }, { "docid": "6c00f59000ee7950a81d182c6d88fd37", "score": "0.7044569", "text": "private void initialize() {\r\n\r\n\t\tthis.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);\r\n\t\tthis.setSize(489, 372);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setTitle(\"FTD2xx Device Explorer\");\r\n\t}", "title": "" }, { "docid": "f4a6a0c31cd20b7143167de99f1735ec", "score": "0.7042572", "text": "private void initialize() {\r\n\t\tthis.setLayout(new java.awt.FlowLayout());\r\n\t\tthis.add(getJLabel(), null);\r\n\t\tthis.add(getZoomLevelTextField(), null);\r\n\t\tthis.add(getZoomLevelSlider(), null);\r\n\t}", "title": "" }, { "docid": "43bd4e4f5408c34e02f2410d0f964f3d", "score": "0.7039943", "text": "private void initialize() {\r\n\t\tthis.setLayout(new BorderLayout(5, 5));\r\n\t\tthis.add(getSlider(), BorderLayout.CENTER);\r\n\t\tthis.add(getPText(), BorderLayout.EAST);\r\n\t}", "title": "" }, { "docid": "799366db4f8e6988a7e22fb64350d5f2", "score": "0.7035775", "text": "public Terminal_UI() {\n initComponents();\n terminal = new Terminal();\n state = new Terminal_State();\n }", "title": "" }, { "docid": "aa7238e3c795f75ae99515b34a35da90", "score": "0.703384", "text": "public GUI()\r\n {\r\n \tsuper();\r\n \tinit();\r\n\t\tupdateCenterPane(LOGIN);\r\n \tsetDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\r\n \tsetSize(400, 400);\r\n \tsetVisible(true);\r\n }", "title": "" }, { "docid": "2b71cf07761102c5301cbaee3b1988e5", "score": "0.703309", "text": "public GUI() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "92ea51bb7fd29bfb560a5ee11a706600", "score": "0.7031103", "text": "private void initialize() {\r\n\t\tthis.setSize(503, 415);\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\tthis.setModal(true);\r\n\t\tthis.setLocationRelativeTo(getOwner());\r\n\t}", "title": "" }, { "docid": "8f7703d702b2755777428cf644bf359a", "score": "0.7025194", "text": "public GUI() {\n initComponents();\n }", "title": "" }, { "docid": "8f7703d702b2755777428cf644bf359a", "score": "0.7025194", "text": "public GUI() {\n initComponents();\n }", "title": "" }, { "docid": "8f7703d702b2755777428cf644bf359a", "score": "0.7025194", "text": "public GUI() {\n initComponents();\n }", "title": "" }, { "docid": "8f7703d702b2755777428cf644bf359a", "score": "0.7025194", "text": "public GUI() {\n initComponents();\n }", "title": "" }, { "docid": "8f7703d702b2755777428cf644bf359a", "score": "0.7025194", "text": "public GUI() {\n initComponents();\n }", "title": "" }, { "docid": "8f7703d702b2755777428cf644bf359a", "score": "0.7025194", "text": "public GUI() {\n initComponents();\n }", "title": "" }, { "docid": "a36ce579ce5d4c8a1aa7afc76cbfb9c9", "score": "0.7025191", "text": "public MainGui() {\n initComponents();\n }", "title": "" }, { "docid": "3f7ccba9b1c6f656a7ffa8a1cf9e128e", "score": "0.70248246", "text": "@Override\n public void init() {\n consoleView = new ConsoleView();\n players = new ArrayList<FestivalPlayerView>(4);\n festivalCard = new JLabel();\n highestBid = new JLabel();\n endFestivalFromTieButton = new JButton();\n\n //setup view\n setBackground(Color.WHITE);\n setBorder(new EmptyBorder(BORDER, BORDER, BORDER, BORDER));\n }", "title": "" }, { "docid": "c2bfb407db5bbe8f775952541a3a9781", "score": "0.7024003", "text": "private void initialize() {\n this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));\n this.setSize(new Dimension(487, 237));\n this.add(getAskAfterPane(), null);\n this.add(getusefulDocumentsPane(), null);\n this.add(getNBadDocumentsPane(), null);\n this.add(getBadQueriesPane(), null);\n\t\t\t\n\t}", "title": "" }, { "docid": "305f991e082e719d3b3a9ed3b51ae641", "score": "0.70236146", "text": "private void initialiseUI() {\n Calendar cal = Calendar.getInstance();\n int year = cal.get(Calendar.YEAR);\n int month = cal.get(Calendar.MONTH);\n int day = cal.get(Calendar.DAY_OF_MONTH);\n dp.init(year,month,day,dateChangeHandler);\n locationTVsun.setText(location.getName());\n setTime(year, month, day);\n }", "title": "" }, { "docid": "0f858332cf959ff8b1b858e408a882cb", "score": "0.7022669", "text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(450, 120, 980, 652);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\tJMenuBar menuBar = new JMenuBar();\n\t\tframe.setJMenuBar(menuBar);\n\t\t\n\t\tJMenu menu = new JMenu(\"购票管理\");\n\t\tmenuBar.add(menu);\n\t\t\n\t\tJMenuItem menuItem = new JMenuItem(\"影讯\");\n\t\tmenuItem.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tVideoNewsView vv = new VideoNewsView();\n\t\t\t\tshowAnyWindow(vv);\n\t\t\t}\n\t\t});\n\t\tmenu.add(menuItem);\n\t\t\n\t\tJMenu menu_1 = new JMenu(\"个人管理\");\n\t\tmenuBar.add(menu_1);\n\t\t\n\t\tJMenuItem menuItem_1 = new JMenuItem(\"个人订单\");\n\t\tmenuItem_1.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tPersonalOrderView pov = new PersonalOrderView();\n\t\t\t\tshowAnyWindow(pov);\n\t\t\t}\n\t\t});\n\t\tmenu_1.add(menuItem_1);\n\t\t\n\t\tJMenuItem menuItem_2 = new JMenuItem(\"个人中心\");\n\t\tmenuItem_2.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tPersonalCenterView pcv = new PersonalCenterView();\n\t\t\t\tshowAnyWindow(pcv);\n\t\t\t}\n\t\t});\n\t\tmenu_1.add(menuItem_2);\n\t\t\n\t\tdesktopPane = new JDesktopPane();\n\t\tframe.getContentPane().add(desktopPane, BorderLayout.CENTER);\n\t\tdesktopPane.setLayout(null);\n\t\t\n\t\tframe.setTitle(\"用户个人信息/用户\");\n\t}", "title": "" }, { "docid": "6b916c47b1878f7890f8882edc7e08db", "score": "0.70162904", "text": "public void setupViewUI() {\n // Not implemented\n }", "title": "" }, { "docid": "f607df70fde8d0c7f91dda7608b6bcf9", "score": "0.7009929", "text": "@Override\n\tprotected void initUI()\n\t{\n\t\tbRun = ButtonFactory.createButtonFrame(this, \"Run\", UIConfig.ICON_CONFIG, WIDTH * 0.02, HEIGHT * 0.05);\n\t\tbRun.setSize(100, 50); // ! space needed for map\n\t\tregisterTooltip(bRun, \"Start the simulation\", UIConfig.ICON_CONFIG);\n\n\t\tbSave = ButtonFactory.createButtonFrame(this, \"Save\", UIConfig.ICON_OPEN, WIDTH - 0.02 * WIDTH - 100,\n\t\t\tHEIGHT * 0.05);\n\t\tregisterTooltip(bSave, \"<HTML>Save simulation settings and results for later use<HTML>\", UIConfig.ICON_OPEN);\n\n\t\taddListeners();\n\n\t\tsetVisible(true);\n\t}", "title": "" }, { "docid": "935032d6cc9ff7200fb2486b3e93655d", "score": "0.7006993", "text": "public Sesion() {\n initComponents();\n }", "title": "" } ]
2a11355f9a7d63e8fa6165d7213dc071
Appends the given element to the end of this List.
[ { "docid": "fe43f486942db0f7b458a80f02450045", "score": "0.0", "text": "void addLast(ET e) {\n\t\tEntry<ET> newEntry = new Entry<ET>(e, header, header.previous);\n\t\theader.previous.next = newEntry;\n\t\theader.previous = newEntry;\n\t\tsize++;\n\t}", "title": "" } ]
[ { "docid": "23f13c65737098c8f54498af74607399", "score": "0.7584922", "text": "public void append(Object element) {\r\n if (size == data.length) {\r\n expand();\r\n }\r\n\r\n data[size++] = element;\r\n\r\n }", "title": "" }, { "docid": "65ab70ec63de4b09ada6b34883b8a41b", "score": "0.7514855", "text": "public void append(Object element)\n {\n if(size == data.length)\n extend();\n data[size++] = element;\n }", "title": "" }, { "docid": "6147a650fe8dcf69506f4a4c29581681", "score": "0.7320661", "text": "void addToEnd(T element);", "title": "" }, { "docid": "3868dd0165b670da7e03abb71a54d1a0", "score": "0.72077394", "text": "@Override\n\tpublic void addLast(int element) throws Exception {\n\t\tadd(size(), element);\n\t}", "title": "" }, { "docid": "0d6c442547f28a77f2500591f4ad6d25", "score": "0.7083544", "text": "public void addLast(E e) {\n\t\tif (size == element.length)\n\t\t\texpand();\n\t\telement[size++] = e;\n\t}", "title": "" }, { "docid": "48e0f27d47bb3a227e086c8e046e7163", "score": "0.70553654", "text": "@Override\n\tpublic void addToRear(T element) {\n\t\tdoubler();\n\t\tlist[index] = element;\n\t\tindex++;\n\t}", "title": "" }, { "docid": "c1db0e4a91618bf15433283e360554b2", "score": "0.70290655", "text": "@Override\n public void offer(E element) {\n if(element == null)\n return;\n list.addLast(element);\n\n }", "title": "" }, { "docid": "73dc2f11785290989a3f08f05e0836ab", "score": "0.6956899", "text": "public void addLast(T element) {\n if (element == null) {\n throw new IllegalArgumentException();\n }\n Node n = new Node(element);\n n.element = element;\n if (sz == 0) {\n fr = n;\n lst = n;\n }\n else {\n lst.next = n;\n lst = n;\n }\n sz++;\n }", "title": "" }, { "docid": "199e55d8ad898b9b55e24b7f288d82c8", "score": "0.6915424", "text": "public void pushEnd(T element) {\r\n\t\tLinkedNode<T> node = new LinkedNode<T>();\r\n\t\tnode.data = element;//assign the data pointer.\r\n\t\t//these two are the same\r\n\t\t//if list is empty, make a new list\r\n\t\tif(this.head == null) {\r\n\t\t\tthis.head = new LinkedNode<T>();\r\n\t\t}\r\n\t\t//make the next reference null since it is at the end of the list\r\n\t\tnode.next = null;\r\n\t\t//make a new node to reference the previous ones and set them the their own next references.\r\n\t\tLinkedNode<T> rear = this.head;\r\n\t\twhile(rear.next != null) {\r\n\t\t\trear = rear.next;\r\n\t\t}\r\n\t\t//set previous's next reference to the current node.\r\n\t\trear.next = node;\r\n\t\tthis.count++;\r\n\t}", "title": "" }, { "docid": "e9f6f69a348cbeccf70256463653abfb", "score": "0.6870001", "text": "@Override\n public void add(T element) {\n add(listSize, element);\n }", "title": "" }, { "docid": "6695b63e7bb3da45330551d3d9f71b7d", "score": "0.6787282", "text": "@Override\r\n\tpublic ListInterface<T> append(T elem) throws NullPointerException{\n\t\tNode<T> append = new Node<T>(elem, null);\r\n\t\tif(elem == null)\r\n\t\t\tthrow new NullPointerException();\r\n\t\tif(head == null){\r\n\t\t\thead = append;\r\n\t\t\ttail = append;\r\n\t\t} \r\n\t\telse {\r\n\t\t\ttail.setNext(append);\r\n\t\t\ttail = tail.getNext();\r\n\t\t}\r\n\t\tsize++;\r\n\t\treturn this;\r\n\t}", "title": "" }, { "docid": "b8ba52a625f6ea0dace33f64c4325026", "score": "0.67507046", "text": "public void enqueue(T element) {\n list.addLast(element);\n length++;\n }", "title": "" }, { "docid": "b0433fffdff5850b96e07d178922a567", "score": "0.6592671", "text": "public void add(XNode element) {\n\t\tthis.add(-1, element);\n\t}", "title": "" }, { "docid": "64a827b4308e0cebdab8f99fa18efd49", "score": "0.65922874", "text": "public synchronized void write(E elem) {\n content.addLast(elem);\n this.notify();\n }", "title": "" }, { "docid": "9a950f450745274d1dab1b3361bb5be0", "score": "0.65802205", "text": "public void addAtEnd(final int theElement) throws Exception {\r\n\r\n// head.setNext(new LinkedNode<Integer>(theElement));\r\n if(head == null) {\r\n addAtFront(theElement);\r\n } else {\r\n addAtIndex(count, theElement);\r\n }\r\n \r\n }", "title": "" }, { "docid": "69ef3e3147f2e4410f21eb9185669765", "score": "0.657495", "text": "public void push(T element){\r\n this.setEspectadors(this.getEspectadors()+1);\r\n this.getLlistat().addLast(element);\r\n }", "title": "" }, { "docid": "39196a0ac7b897a5f7e03233b3472cc7", "score": "0.6509322", "text": "public void add(Object element) {\r\n add(new Object[] { element });\r\n }", "title": "" }, { "docid": "a88acf3ff2e0f0d92d70f1bb1577448e", "score": "0.65054476", "text": "public void add(E element) {\n add(size, element);\n }", "title": "" }, { "docid": "34483ea1642c198081e4738d85857121", "score": "0.64956266", "text": "public void addElement(Element element) {\n if (!elementList.contains(element)) {\n elementList.add(element);\n// elementReversedList.add(0,element);\n }\n element.setGroup(this);\n }", "title": "" }, { "docid": "2dff6a38402b745845fcddaa6a39ddcb", "score": "0.64954025", "text": "public static void addLast(Object o) {\n ensureCapacity();\n ++size;\n start = prev(start, elements.length);\n elements[start] = o;\n }", "title": "" }, { "docid": "2baaa45208bcf869852e5fe601a25486", "score": "0.6475148", "text": "public void addLast(E newElement) {\n Node<E> tempNode = new Node<>(newElement, null);\n if (isEmpty()) {\n head = tempNode;\n } else {\n tail.setNext(tempNode);\n }\n tail = tempNode;\n size++;\n }", "title": "" }, { "docid": "ed5467a26119e9ede8655e32c1e9eeef", "score": "0.64005214", "text": "public void add(T element) throws Exception{\r\n\t\tif (isFull())\r\n\t\t\tthrow new OverflowException();\r\n\t\telse if(element == null)\r\n\t\t\tthrow new NullElementException();\r\n\t\tarray[++tail] = element;}", "title": "" }, { "docid": "4ab661fe108eb5fb0c340ee89cf042dc", "score": "0.6389528", "text": "public void addLast(int e) {\n elements[tail] = e;\n tail = (tail + 1) & (elements.length - 1);\n if (tail == head) {\n doubleCapacity();\n }\n }", "title": "" }, { "docid": "5c642501c94c7a7cb9a29c2c382cc061", "score": "0.63644433", "text": "public void addLast(Object element) {\r\n\t\tNode newNode = new Node();\r\n\t\tnewNode.previous = last;\r\n\t\tlast.next = newNode;\r\n\t\tnewNode.data = element;\r\n\t\tnewNode.next = null;\r\n\t\tif(first == null) {\r\n\t\t\taddFirst(element);\r\n\t\t\tlast = first;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlast.next = newNode;\r\n\t\t\tlast = newNode;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1922fbe9d88c791d6f170d92a4f88a4d", "score": "0.6285745", "text": "public @Override boolean add(E element) {\n // TODO item #5\n // Rely on helper methods to keep this method small\n // This is THE MOST IMPORTANT method to get right because it will be used\n // in nearly every test\n \tthis.append(element);\n \treturn true;\n }", "title": "" }, { "docid": "dd4a2da7a66ce24abf799003d9cb3677", "score": "0.62634706", "text": "public void push(E element)\r\n { \n\t if (numElements >= elements.length - 1)\r\n\t\t expandCapacity();\n \n \t \n \t // Shift array to the right\n \t for (int i = numElements; i >= 0; i--)\n \t {\n \t\t \n \t\t elements[i + 1] = elements[i];\n \t }\n \t numElements++;\n \t \r\n elements[0] = element;\r\n }", "title": "" }, { "docid": "4e2ed4abd034543a6b84c5dd06f60dc0", "score": "0.62388253", "text": "@Override\n public void push(E item) {\n lst.addLast(item);\n }", "title": "" }, { "docid": "6435ca8ed31f57fd37c02786816e17cc", "score": "0.62376314", "text": "@Override\n\tpublic void addAfter(T element, T target) throws ElementNotFoundException {\n\t\tdoubler();\n\t\tint found = -1;\n\t\tfor (int i = 0; i < index; i++){\n\t\t\tif (list[i] == element){\n\t\t\t\tfound = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (found == -1) throw new ElementNotFoundException();\n\t\tfound++;\n\t\tfor (int i = index; i > found; i--){\n\t\t\tlist[i]=list[i-1];\n\t\t}\n\t\tlist[found] = element;\n\t\tindex++;\n\t}", "title": "" }, { "docid": "c66ca586a56707b89caa85538e916f41", "score": "0.6229178", "text": "void append(E e);", "title": "" }, { "docid": "04b33dafbd1430c7cf444ebc27effd4e", "score": "0.6207571", "text": "private Node append(E element) {\n // TODO item #4\n // This mid-size helper function will be used by other methods\n \t\n \t/**Construct new node*/\n \tNode n = new Node(tail, element, null);\n \t\n \t/**If the head is null, then the list is empty and Node n must be set as first*/\n \tif (head == null)\n \t\thead = n;\n \t\n \t/**If the tail is NOT null, then the appended Node n must be set as the node\n \t * succeeding the tail\n \t */\n \tif (tail != null)\n \t\ttail.succ = n;\n \t\t\n \t/**If the tail IS null, then the appended Node n must be set as the new tail*/\n \ttail = n;\n \tsize += 1;\n \treturn n;\n }", "title": "" }, { "docid": "b7491cc0ad477712f9ded2b7df00453b", "score": "0.61759186", "text": "public void insert(@NotNull E ele) {\n int i = binarySearchLastLessEquals(ele);\n if (i == -1) {\n super.insert(0, ele);\n } else {\n if (i == size - 1) {\n super.append(ele);\n } else {\n super.insert(i + 1, ele);\n }\n }\n }", "title": "" }, { "docid": "449bcc177caf409e0f8ca31ccbe2121a", "score": "0.6172507", "text": "public void addElement(T element){\n // Duplicar la capacidad si se llena\n if (size == capacity){\n ensureCapacity(2); \n }\n array[size] = element;\n size++;\n }", "title": "" }, { "docid": "cc26525fe2bd67a30576f02e7e530103", "score": "0.6169259", "text": "void addLast(E item);", "title": "" }, { "docid": "a48a558ac010fb04b8315abb52ecf5b4", "score": "0.6147425", "text": "public void push( T element ) {\n myList.addFirst( element );\n }", "title": "" }, { "docid": "e5337faa5004fcae2ad7ab2aa143b59d", "score": "0.61457145", "text": "@Override\n\t\tpublic void add(E element) {\n\t\t\tif (!nextOrPrevious)\n\t\t\t\tthrow new IllegalStateException(\n\t\t\t\t\t\t\"You have to call either next() or previous() at least once before calling add()\");\n\n\t\t\tUnremovedList.this.add(element);\n\t\t}", "title": "" }, { "docid": "3ac1610504cc9613c4932ab2ca39e1bd", "score": "0.6133831", "text": "public void addElement(Object element)\n {\n //initialize values\n ListIterator listIterator = listIterator();\n if (first == null)\n {\n addFirst(element);\n }\n else\n {\n while(listIterator.hasNext())\n {\n Object fruit = listIterator.next();\n if((element.toString()).compareTo((fruit).toString()) < 0)\n {\n listIterator.set(element);\n listIterator.add(fruit);\n return;\n }\n }\n listIterator.add(element);\n }\n }", "title": "" }, { "docid": "0004afdfdaa82f553b30bc4d7ec382de", "score": "0.61102545", "text": "public void push(E element) {\n addFirst(element);\n }", "title": "" }, { "docid": "631817d47d5c98b5b5e36c8fdf102646", "score": "0.6101206", "text": "void addLast(E e);", "title": "" }, { "docid": "29c1a749f93b30cded5804873df44a46", "score": "0.6100609", "text": "public void append(E v) {\r\n\t\t// TODO 3. This is the third method to write and test\r\n\t\tif (last == null) this.prepend(v);\r\n\t\telse {\r\n\t\t\tNode n= new Node(last, v, null);\r\n\t\t\tlast.next= n;\r\n\t\t\tlast= n;\r\n\t\t\tsize++ ;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b2be5d961b192fb5937bf10f8ef4cbde", "score": "0.60960066", "text": "@Override\n\tpublic void add(T element) {\n\t\tLinearNode<T> newNode = new LinearNode<T>(element);\n\t\tLinearNode<T> cur = this.front.getNext();\n\t\tLinearNode<T> prev = this.front;\n\n\t\t// Creates a temporary compator\n\t\tComparable<T> comp = (Comparable<T>) element;\n\n\t\t// Scrolls the list to the position where the element will be inserted\n\t\twhile (cur.getNext() != null) {\n\t\t\tif (comp.compareTo(cur.getValue()) >= 0) {\n\t\t\t\tprev = cur;\n\t\t\t\tcur = cur.getNext();\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t// Adds the element\n\t\tnewNode.setNext(cur);\n\t\tprev.setNext(newNode);\n\n\t\t// Increments the count\n\t\tthis.count++;\n\t}", "title": "" }, { "docid": "ffdfd87a35b48813f3eb913ce8b0565f", "score": "0.6061185", "text": "public void add(E element) {\n\t\tBSTNode node = insert(element);\n\t\tsize++;\n\t\tsplay(node,null);\n\t}", "title": "" }, { "docid": "db2bc1be33d41f14902b6b46818f6bac", "score": "0.60582894", "text": "@Override\r\n\tpublic void push(E element) {\r\n\t\tif (size == data.length)\r\n\t\t\tdoubleCapacity();\r\n\t\tdata[size++] = element;\r\n\t}", "title": "" }, { "docid": "7db3d5fb6a3e6356dd6523d09b15e682", "score": "0.6042117", "text": "public void push(T elemento){\n\t\tif(this.size() < dim)\n\t\t\tlist.add(elemento);\n\t}", "title": "" }, { "docid": "ecf1952d20a77797b117c5f2b293200d", "score": "0.6037136", "text": "@Override\n public boolean add(E element) {\n\n E o = element;\n\n if (this.contains(o)) {\n return false;\n } else {\n root = insertElement(root, o);\n size++;\n return true;\n }\n }", "title": "" }, { "docid": "7015d9d056823e544c923cdc08bcb83d", "score": "0.6025584", "text": "@Override\n public void insertAfter(Element<ListNode> element) {\n }", "title": "" }, { "docid": "2cc44e198dae0bdfeb7634de233d3b42", "score": "0.60105276", "text": "public void addLast(E item) {\n DLLIterator temp = new DLLIterator(size);\n temp.add(item);\n }", "title": "" }, { "docid": "89a12dd16ef76c67354f1fa61e88068a", "score": "0.59975755", "text": "public void addLast(T item) {\n if (isFull()) {\n resize(size * 2);\n }\n items[nextLast] = item;\n nextLast = plusOne(nextLast);\n size += 1;\n\n }", "title": "" }, { "docid": "9a8a2e48acc6f8709b2e6dd8eefa27ab", "score": "0.599525", "text": "public void add(T element) {\n Node<T> node = new Node<T>(element);\n\n if (this.size == 0) {\n this.head.setNextNode(node);\n } else {\n this.tail.setNextNode(node);\n }\n this.tail = node;\n this.size++;\n }", "title": "" }, { "docid": "f3c68303a8693068fb80d6874b55dfc1", "score": "0.59913874", "text": "@Override\n public void addLast(T newItem) {\n list.addLast(newItem);\n }", "title": "" }, { "docid": "b85c99a2259523587b6db633c15246bb", "score": "0.5987462", "text": "public boolean append(E elem) {\n\t\tif(head == null) {\n\t\t\thead = new Node(elem, null, null);\n\t\t\ttail = head;\n\t\t\tsize++;\n\t\t\tindices.add(0, tail);\n\t\t\treturn true;\n\t\t} else {\n\t\t\tNode<E> curr = new Node(elem, tail, null);\n\t\t\tif (tail != null) {\n\t\t\t\ttail.next=curr;\n\t\t\t}\n\t\t\t// tail.next => curr\n\t\t\ttail = curr;\n\t\t\tsize++;\n\t\t\tindices.add(size-1, tail);\n\t\t\treturn true;\n\t\t}\n\t}", "title": "" }, { "docid": "4f86cf52cb2088edaa3b4b6924c89b3e", "score": "0.5986509", "text": "public void add(Object element) {\r\n root = recAdd(element, root);\r\n }", "title": "" }, { "docid": "a4f19b145a48694af6b11710a64db4f7", "score": "0.59751844", "text": "@Override\n\tpublic void addToFront(T element) {\n\t\tdoubler();\n\t\tfor (int i = index; i > 0; i--){\n\t\t\tlist[i]=list[i-1];\n\t\t}\n\t\tlist[0] = element;\n\t\tindex++;\n\t}", "title": "" }, { "docid": "065f3de205feddd845b5f38e6379bf25", "score": "0.59747165", "text": "public @Override void add(int index, E element) {\n // TODO item #11\n // Rely on helper methods to keep this method small.\n // Note that a helper method could throw the exception; doesn't\n // have to be done here.\n \t\n \tif (index != size) \n \t\tinsertBefore(element, getNode(index));\n \telse \n \t\tappend(element);\n }", "title": "" }, { "docid": "f82653f2cadc8ea960969d1d25518d76", "score": "0.59409475", "text": "public static void push(Object el) {\n\t\tassert el != null;\n\t\tsize++;\n\t\tensureCapacity(size);\n\t\thead = (elements.length + head - 1) % elements.length;\n\t\telements[head] = el;\n\t}", "title": "" }, { "docid": "32bb88fd97441cd0ba395bcfbb77903c", "score": "0.5931159", "text": "public void add (Object element)\n\t\t{\n\t\t\tif (position == null)\n\t\t\t{\n\t\t\t\taddFirst(element);\n\t\t\t\tposition = first;\n\t\t\t}\n\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tNode newNode = new Node();\n\t\t\t\tnewNode.data = element;\n\t\t\t\tnewNode.next = position.next;\n\t\t\t\tposition.next = newNode;\n\t\t\t\tposition = newNode;\n\t\t\t}\n\t\t\n\t\t\tprevious = position;\n\t\t}", "title": "" }, { "docid": "7c3e534d625b2e3b453686fbc62f7e44", "score": "0.59295714", "text": "public void add(T elem) {\n if (size > capacity - 1) {\n this.capacity = this.getNextPowerOfTwo(this.capacity + 1);\n T[] newArr = (T[]) new Comparable[this.capacity];\n for (int i = 0; i < size; i++) {\n newArr[i] = this.arr[i];\n }\n this.arr = newArr;\n }\n\n arr[size++] = elem;\n int currentIndex = size - 1;\n\n this.swim(currentIndex);\n }", "title": "" }, { "docid": "1cda9651ede47b49f54d7546b7428b28", "score": "0.5921536", "text": "public static <E> List<E> concat(List<E> list, E element) {\n List<E> newList = new ArrayList<>(list.size() + 1);\n newList.addAll(list);\n newList.add(element);\n return newList;\n }", "title": "" }, { "docid": "ba6acd8de50684c5e74f768d805058d8", "score": "0.59156406", "text": "public void addElementAtIndex(int index, Element element) {\n if (!elementList.contains(element)) {\n index = Math.max(index, elementList.size()-1);\n elementList.add(index, element);\n// elementReversedList.add(elementReversedList.size()-index,element);\n }\n element.setGroup(this);\n }", "title": "" }, { "docid": "9dee2dc5beece27f1d737942b5f9aaa4", "score": "0.59008217", "text": "public void offer(T element) {\n elements.add(element);\n semaphore.release();\n }", "title": "" }, { "docid": "bee3431387e36e49c33d42683d87497f", "score": "0.58961934", "text": "public void add (Element element);", "title": "" }, { "docid": "e3f6197affedc4b0db830f443ac702ea", "score": "0.5889747", "text": "public void add(T element) {\n lock.lock();\n try {\n Object[] array = state.array;\n int newSize = array.length + 1;\n Object[] newArray = new Object[newSize];\n System.arraycopy(array, 0, newArray, 0, array.length);\n newArray[newSize - 1] = element;\n state = initiateState(newArray);\n } finally {\n lock.unlock();\n }\n }", "title": "" }, { "docid": "61af5bbd41092046f7e184388454a0d0", "score": "0.5876923", "text": "public void addLast(Item item) {\n if (item == null) {\n throw new NullPointerException();\n }\n this.list.addLast(item);\n }", "title": "" }, { "docid": "a39794acfb3435230b0ce6abc67ff78c", "score": "0.58507395", "text": "void addElement(final String element) {\r\n\r\n elements.add(element);\r\n\r\n }", "title": "" }, { "docid": "2b0c7a6a798c040770dcc716b1dd8739", "score": "0.5850094", "text": "@Nonnull\n public L add(@Nonnull L list, E element) {\n return this.add(list, list.size(), element);\n }", "title": "" }, { "docid": "4470494ef6ec96877f106bb7c9ab2697", "score": "0.5847843", "text": "public void addLast(Item item) {\n if (item == null) {\n throw new IllegalArgumentException();\n }\n checkArrayCapacity();\n items[last] = item;\n last = (last + 1) % items.length;\n }", "title": "" }, { "docid": "af82783f1b2b58b8e1625bafd5c7fbfe", "score": "0.5846927", "text": "@SuppressWarnings(\"unchecked\")\n public void add(Attribute element) {\n ((List<Object>) value).add(element);\n }", "title": "" }, { "docid": "c63e68229bf9378bd53d268a4693b21b", "score": "0.5837623", "text": "public void addLast(T item) {\n items[tail] = item;\n size += 1;\n if (tail == cap - 1) {\n tail = 0;\n } else {\n tail += 1;\n }\n if (head == tail) {\n this.resize();\n }\n }", "title": "" }, { "docid": "4cf3987f12fb7a53aa8202894699907a", "score": "0.5823532", "text": "public void push(Object elem){\n if(elementCount >= capacity){\n capacity = capacity * 2 + 1;\n container = Arrays.copyOf(container, capacity);\n }\n\n container[elementCount++] = elem;\n }", "title": "" }, { "docid": "c6bca41dccf98036e3fb04147d26fb30", "score": "0.5815621", "text": "@Override\n\tpublic boolean add(E element) {\n\t\tensureCapacityUp(size + 1);\n\n\t\tdata[firstToConsider + size++] = element;\n\n\t\tensureCapacityDown();\n\t\treturn true;\n\t}", "title": "" }, { "docid": "f56db1938ed61e7f57650428dbea7eef", "score": "0.58129406", "text": "public void push(Object item) {\n _list.addLast(item);\t\n }", "title": "" }, { "docid": "c1f370d6390e2c7649f10e4e1c818c55", "score": "0.5812658", "text": "void addToTail(final E item);", "title": "" }, { "docid": "291519138c89bcbd0ececb14bc0327ba", "score": "0.5809481", "text": "public void addLast(Item x) {\n if(size >= items.length) {\n resize(size + 1);\n }\n items[size] = x;\n size = size + 1;\n }", "title": "" }, { "docid": "ba3a94a3dca1b36bb37830a87faee19f", "score": "0.57952327", "text": "@Override\n public void addLast(Item itm) {\n List pointer = sentinel.prev;\n List last = new List(itm, sentinel.prev, sentinel);\n sentinel.prev = last;\n pointer.next = last;\n size += 1;\n }", "title": "" }, { "docid": "5fd9e7677253eb2c0157389d803c95d8", "score": "0.57948947", "text": "public void addLast(T x) {\n if(size == items.length) {\n resize(size*2);\n }\n items[nextLast] = x;\n nextLast = plusOne(nextLast);\n size += 1;\n }", "title": "" }, { "docid": "bc5aec39648320aa64f032a94091a444", "score": "0.579085", "text": "public void add(Object element) {\r\n\t\t\tif(position == null) {\r\n\t\t\t\taddFirst(element);\r\n\t\t\t\tposition = first;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tNode newNode = new Node();\r\n\t\t\t\tnewNode.data = element;\r\n\t\t\t\tnewNode.next = position.next;\r\n\t\t\t\tnewNode.previous = position;\r\n\t\t\t\tposition.next.previous = newNode;\r\n\t\t\t\tposition.next = newNode;\r\n\t\t\t\tposition = newNode;\r\n\t\t\t}\r\n\t\t\r\n\t\t}", "title": "" }, { "docid": "0f408c2c6199a4908258ca643301b9db", "score": "0.57810855", "text": "public void addObject(T element) {\r\n\t\t// check size\r\n\t\tNode<T> newNode = new Node<>(element);\r\n\t\tif (head == null) {\r\n\t\t\thead = tail = newNode;\r\n\t\t} else {\r\n\t\t\tnewNode.setNext(head);\r\n\t\t\thead = newNode;\r\n\t\t}\r\n\t\tsize++;\r\n\t}", "title": "" }, { "docid": "8f9e77ed02e2e940cdf846d79b79804d", "score": "0.57787573", "text": "public void append( Item item ) {\n\t\tsuper.add( item );\n\t}", "title": "" }, { "docid": "d23be2de97f0eb817f298f4ac0a9673d", "score": "0.57780385", "text": "public void addLast(T x) {\n if (size >= items.length) {\n resize(size*2);\n }\n items[nextLast] = x;\n size += 1;\n nextLast = incrIndex(nextLast);\n }", "title": "" }, { "docid": "61119d88d2e93831437da64a43daef72", "score": "0.57700324", "text": "public void addElement(HudElement el) {\n elements.add(el);\n }", "title": "" }, { "docid": "1ead0a4de7c0236c94e649e7f4a444d8", "score": "0.5767343", "text": "public void enqueue(T element) {\n if(null != element) {\n queue.addLast(element);\n }\n }", "title": "" }, { "docid": "1e8e34a395559b451b432ed1326a1941", "score": "0.5758705", "text": "public boolean add(Object element) {\n insert(element);\n return true;\n }", "title": "" }, { "docid": "b6e3c2ff1b33f954b6a18749df2bebc9", "score": "0.5754593", "text": "public void addLast(E e) {\n if (isEmpty()) {\n tail = new ListNode<E>(e, null);\n tail.next = tail;\n } else {\n ListNode<E> newNode = new ListNode<E>(e, tail.next);\n tail.next = newNode;\n tail = newNode;\n }\n\n size++;\n }", "title": "" }, { "docid": "5962e19beba4c8fdd870d178c045dcc8", "score": "0.5751286", "text": "public void insertAtEnd(int arr[],int sizeOfArray,int element)\n {\n //Your code here\n arr[sizeOfArray-1] = element;\n }", "title": "" }, { "docid": "8845788db67bfd8c458c5962b9edede1", "score": "0.57476705", "text": "int addElement(Object element) {\n return addElement(element, currentColumn);\n }", "title": "" }, { "docid": "250c4d6df9cee1b84e1fed7dd67f169c", "score": "0.5744616", "text": "public void add(Object element)\n {\n if (position == null) //never traversed yet\n {\n addFirst(element);\n position = first;\n }\n else\n {\n //making a new node to add\n Node newNode = new Node();\n newNode.data = element;\n newNode.next = position.next;\n //change the link to insert the new node\n position.next = newNode;\n //move the position forward to the new node\n position = newNode;\n }\n //this means that we cannot call remove() right after add()\n previous = position;\n }", "title": "" }, { "docid": "7f858ac8792b3fa6d498432d434fab8b", "score": "0.5733969", "text": "public Element addToXmlElement(Element element);", "title": "" }, { "docid": "063541659cdd62fabfbf5daf6144894b", "score": "0.57268476", "text": "public void add(Object it){\n listArray[listSize++] = it;\n }", "title": "" }, { "docid": "658cdd9b72cbda4c2f0236171e15e9d4", "score": "0.5724101", "text": "public boolean add(E element ){\n if(elements.length == size){\n this.ensureCapacity(5);\n }\n elements[size] = element;\n size++;\n return true ;\n }", "title": "" }, { "docid": "7ef7388856e6a3f62c2a1a6e86e743e8", "score": "0.57087564", "text": "public void insertLast(T value) {\n list.addLast(value);\n size++;\n }", "title": "" }, { "docid": "466eadd1369fe1b18452043dd64942bb", "score": "0.57062805", "text": "public void enqueue(Object element){\n\t\t// Do not add the element if the queue is already full\n\t\tif (isFull()) {\n\t\t\treturn;\n\t\t}\n\t\telse {\t\n\t\t\tA[rear] = element;\n\t\t\tif (rear == A.length - 1) {\n\t\t\t\t\trear = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\trear += 1;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "89a29c53f51bc757a90caa6cb72c1efd", "score": "0.5692256", "text": "public boolean add(T element) {\n\t\tif (size >= capacity) {\n\t\t\tcapacity *= 2;\n\t\t\tObject[] elementDataCopy = new Object[capacity];\n\t\t\tSystem.arraycopy(elementData, 0, elementDataCopy, 0, size);\n\t\t\telementData = elementDataCopy;\n\t\t}\n\t\telementData[size++] = element;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "756356c486868099c17328d5d8846be6", "score": "0.56904924", "text": "public void addLast(T i) {\n if (size == items.length) {\n resize(size * RESIZE_FACTOR);\n }\n items[nextLast] = i;\n size += 1;\n nextLast = indexIncr(nextLast);\n }", "title": "" }, { "docid": "c770cd8ec6c39689912699eb22b6f54b", "score": "0.5688468", "text": "public boolean add(Object element) {\n/* 164 */ if (null == element) {\n/* 165 */ throw new NullPointerException(\"Attempted to add null object to buffer\");\n/* */ }\n/* */ \n/* 168 */ if (this.m_full) {\n/* 169 */ throw new BufferOverflowException(\"The buffer cannot hold more than \" + this.maxElements + \" objects.\");\n/* */ }\n/* */ \n/* 172 */ this.m_elements[this.m_end++] = element;\n/* */ \n/* 174 */ if (this.m_end >= this.maxElements) {\n/* 175 */ this.m_end = 0;\n/* */ }\n/* */ \n/* 178 */ if (this.m_end == this.m_start) {\n/* 179 */ this.m_full = true;\n/* */ }\n/* */ \n/* 182 */ return true;\n/* */ }", "title": "" }, { "docid": "77e7433076ba014b311eac74de7c7893", "score": "0.5687442", "text": "public void push(E element);", "title": "" }, { "docid": "77e7433076ba014b311eac74de7c7893", "score": "0.5687442", "text": "public void push(E element);", "title": "" }, { "docid": "354bd30085466efc229b7395d00d94ac", "score": "0.5682084", "text": "public void addToRear(T element){\n\t DoubleNode<T> node = new DoubleNode<T>(element);\n\t\tif(isEmpty()) {\n \tfront = rear = node;\n \t} else {\n \trear.setNext(node);\n\t\t\trear = node;\n \t}\n\t\tcount++;\n\t}", "title": "" }, { "docid": "bf6c7408850a126deaf464e215d3c7b0", "score": "0.56725115", "text": "public void add(T element, int index) {\n\t\tif (index >= size || index < 0)\n\t\t\tthrow new IndexOutOfBoundsException(\"Illegal index:\" + index);\n\t\telse {\n\t\t\tSystem.arraycopy(elementData, index, elementData, index + 1, size - index);\n\t\t\telementData[index] = element;\n\t\t\tsize++;\n\t\t}\n\t}", "title": "" }, { "docid": "1f250dcb5c9a3a9369d49081c5d8ed7f", "score": "0.5672205", "text": "void add(E element);", "title": "" }, { "docid": "1f250dcb5c9a3a9369d49081c5d8ed7f", "score": "0.5672205", "text": "void add(E element);", "title": "" }, { "docid": "1f250dcb5c9a3a9369d49081c5d8ed7f", "score": "0.5672205", "text": "void add(E element);", "title": "" }, { "docid": "c9c0323d5568f1d16f68cf327c3b21f2", "score": "0.56701463", "text": "@Override\n\tpublic void add(int index, E element) {\n\t\tcheckBoundsInclusive(index);\n\t\tensureCapacityUp(size + 1);\n\n\t\tif (index == 0 && firstToConsider > 0)\n\t\t\tdata[--firstToConsider] = element;\n\t\telse {\n\t\t\tif (index != size)\n\t\t\t\tSystem.arraycopy(data, firstToConsider + index, data, firstToConsider + index + 1, size - index);\n\t\t\tdata[firstToConsider + index] = element;\n\t\t}\n\t\tsize++;\n\t\tensureCapacityDown();\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "32f7ac87239f27378fd06a243a9b2ce2", "score": "0.0", "text": "@Override\n\tprotected void onPause() {\n\t\tsuper.onPause();\n\t\tMobclickAgent.onPageEnd(getClass().getName() + \"\");\n\t}", "title": "" } ]
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" }, { "docid": "651ef6275f1a33ed6582a1599cab78d2", "score": "0.66211534", "text": "@Override\n\tpublic void bekle() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "c56ced5e9768caa7a88a0e86dc1d02eb", "score": "0.6557507", "text": "@Override\n\tpublic void pintate() {\n\t\t\n\t}", "title": "" }, { "docid": "534c466f09845319b9edaf959a891c09", "score": "0.6546559", "text": "@Override\r\n\tpublic void debriyaj() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.62550694", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "761f5db0b07474bff2090f23a6693efb", "score": "0.6211042", "text": "private void Prodto() {\n\n\t}", "title": "" }, { "docid": "74578344538dd194907dffc0406cacac", "score": "0.6166714", "text": "@Override\n public void suicide() {\n \n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "a2392cc71aaf87bc730f13f37ecdb439", "score": "0.6153736", "text": "private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}", "title": "" }, { "docid": "db51ad8e6f15ad35a767d84e1e1eda68", "score": "0.61275035", "text": "@Override\n\t\t\tpublic void cry() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "23f3a7415a3f7463e8a1124d06cf4cf2", "score": "0.609125", "text": "@Override\n\tpublic void valide() {\n\t\t\n\t}", "title": "" }, { "docid": "e24a2515146ce17481b567e14f6d3258", "score": "0.6075012", "text": "public void retrievecart() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "fba36b6a112c0dbc3dd5aa61fe730a40", "score": "0.60609394", "text": "@Override\n\tpublic void subir() {\n\t\t\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.605578", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "280c1f1bfe3582788f566eafe40085dd", "score": "0.60448366", "text": "@Override\n \tpublic void init() {\n \t\t\n \t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "2ba22ff158b6e941041f9460eddd0944", "score": "0.5991409", "text": "@Override\n public void operation() {\n \n }", "title": "" }, { "docid": "afc2a2ef708681a23da24526386fa543", "score": "0.5979341", "text": "@Override\r\n\tpublic void demo4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "951638c11e887c3f81bcc83306f4e413", "score": "0.5957303", "text": "@Override\r\n\tpublic void trunon() {\n\r\n\t}", "title": "" }, { "docid": "03a6fa2a6dc40f30e9f67797ea87ac0e", "score": "0.5950196", "text": "@Override\n\tvoid generate() {\n\t\t\n\t}", "title": "" }, { "docid": "86b315eabc97abef1ea325b454b16656", "score": "0.5934478", "text": "@Override\n\tpublic void veneno() {\n\t\t\n\t}", "title": "" }, { "docid": "4f4340003331db95a2feee0084056a02", "score": "0.59033096", "text": "@Override\n\tprotected void inicializar() {\n\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "c16fc3362f80f1c0559c76bf68be5792", "score": "0.58815277", "text": "@Override\n\tpublic void affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "a6c80a6456cfc74acaa16a2f9c3063c5", "score": "0.5881057", "text": "@Override\n\t\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "bf75e876384ccbd3516440064d914edb", "score": "0.585407", "text": "@Override\r\n\t\t\tpublic void process() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "22f2421f5b9cc11d1699c42857b4dfe9", "score": "0.5850562", "text": "protected void mo1582st() {\n }", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.58336115", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "d07c1f5c9d405e36c1ebf9e7e586652e", "score": "0.5830177", "text": "private Solution() {\n /** Not using this function**/\n }", "title": "" }, { "docid": "fab6f4103beb4667b90da1eb3672a4fa", "score": "0.5821835", "text": "@Override\n\tprotected void update() {\n\n\t}", "title": "" }, { "docid": "2be71c02c2e214eecbe2c8bd5dfe8cb0", "score": "0.58195674", "text": "@Override\n\tpublic void fortify() {\n\t\t\n\t}", "title": "" }, { "docid": "4112f041d618773e927eaf69a897467b", "score": "0.5817743", "text": "@Override\r\n\tpublic void tempup() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "8d9539007d174aa71cae3fdbfe4952c6", "score": "0.5801801", "text": "@Override \n\tpublic void init() {\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "5243b8d363dba36edfd9e64eb96cc9d5", "score": "0.57880706", "text": "@Override\n public int getStatus() {\n return 0;\n }", "title": "" }, { "docid": "b096eae650ba80789eb6446d859169a3", "score": "0.5776792", "text": "protected void mo1586sx() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "17cb0676e79dae45623dcbdd6cf2af58", "score": "0.5773822", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c897821a3b00faa6e582b1c5bd5b3c6", "score": "0.57677484", "text": "@Override\r\n\tpublic void direksiyon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "81ea0647fff57e17ec5107049b4dbf8b", "score": "0.57594514", "text": "@Override\n public int size() {\n return 1;\n }", "title": "" }, { "docid": "535ccad74dc29933b6b48fea680ba27c", "score": "0.5755988", "text": "@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1985dddb6264adc2fb069a687b25f36b", "score": "0.57541007", "text": "@Override\n\tpublic void groom() {\n\t\t\n\t}", "title": "" }, { "docid": "33572cd017818797318a53dbacbc00b9", "score": "0.57530975", "text": "@Override\r\n\t\t\tpublic void initialize() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a8b768dae1b52549249069e4d6a9253f", "score": "0.57492036", "text": "@Override\n public int getType() {\n return 0;\n }", "title": "" }, { "docid": "b6c53604ad2f38e9cacf958a442de4cf", "score": "0.57409", "text": "@Override\n\tprotected void initAfterData() {\n\n\t}", "title": "" }, { "docid": "734b1972ec29b58535c294e3962d017d", "score": "0.5736822", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "4f5334e4c63e1b16e38cf957e8576a25", "score": "0.5735921", "text": "@Override\n\tpublic void getHaned() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "a7ae27b45bb1a02a96ba4232264be825", "score": "0.57315516", "text": "@Override\n\tpublic void embarcar() {\n\t\t\n\t}", "title": "" }, { "docid": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.57304126", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "ba3ff1d644c6b502f46e78f3112e984c", "score": "0.57151", "text": "@Override\r\n\tpublic void toss() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "a1a79ff63f3eb784a0134fc70f7de913", "score": "0.57141805", "text": "@Override\n\tpublic void initdata() {\n\n\t}", "title": "" }, { "docid": "20aa3abef3af4ea8bcf5e834227be04c", "score": "0.57137775", "text": "@Override\n\tpublic void Pessoa() {\n\t\t\n\t}", "title": "" }, { "docid": "6894ea3aa25d3dee3c3dd8331b9a9cdd", "score": "0.57120746", "text": "@Override\n\t public int correr() {\n\t return 7;\n\t }", "title": "" }, { "docid": "d7405dbb7f385c28de1f97859172342b", "score": "0.5705621", "text": "@Override\n\tpublic void affiche() {\n\t}", "title": "" }, { "docid": "f9fa4d6203b441d4a00a824c3219ddb2", "score": "0.5704342", "text": "@Override\n\tprotected void doOperate() {\n\n\t}", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56896037", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "2d9072b54f55f18557f92b99be58ec2f", "score": "0.56886935", "text": "@Override\r\n public String toString() {\n\treturn null;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "af5603f291fb4fc9dd83e46e0602225b", "score": "0.56868714", "text": "@Override\r\n\tpublic void demo3() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.56740177", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "e8efac2ee01f452014413fb75d28b3a6", "score": "0.5659524", "text": "@Override\r\n\tpublic void initState() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1857996533d34551ac38dd34ec5213a3", "score": "0.56573755", "text": "public void koniecReplikacie() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
9e59ad98a8efe2e6c773d06eb0ad7c9a
don't want to have duplicate assignments in our list of solutions! override equals to return true for an Assignment if the same letters are in the same order in the assignment
[ { "docid": "307e5656c1cb3edad964635e64ee52ee", "score": "0.68850344", "text": "@Override\n public boolean equals(Object o) {\n BaseAssignment otherAssignment = (BaseAssignment) o;\n\n for (int i = 0; i < assignment.length; i++) {\n if (!assignment[i].equals(otherAssignment.assignment[i])) {\n return false;\n }\n }\n\n return true;\n }", "title": "" } ]
[ { "docid": "cf6a78a1230344ad88269d64fc790399", "score": "0.5991902", "text": "@Override\n public int hashCode() {\n int result = assignment != null ? Arrays.hashCode(assignment) : 0;\n result = 31 * result + (puzzleInput != null ? puzzleInput.hashCode() : 0);\n return result;\n }", "title": "" }, { "docid": "34e3435baa160a2255f96a8e1ef867f9", "score": "0.59724224", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif(obj instanceof PatternImpl){\n\t\t\n\t\t\tPatternImpl comparedPattern = (PatternImpl)obj;\n\t\t\tif(comparedPattern.pattern.length != this.pattern.length){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i<this.pattern.length; i++){\n\t\t\t\tif(this.pattern[i] != comparedPattern.pattern[i]){\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t\t\n\t}", "title": "" }, { "docid": "b685daf7e44010c223577d05741c278e", "score": "0.59122276", "text": "public boolean equals(Object o) {\n if (o instanceof Assignment) {\n Assignment thatAssignment = (Assignment)o;\n return name.equals(thatAssignment.name) &&\n totalPoints.equals(thatAssignment.totalPoints) &&\n percentGrade.equals(thatAssignment.percentGrade);\n }\n else {\n return false;\n }\n }", "title": "" }, { "docid": "3b59984eaf8d4d48d6497e22756c8609", "score": "0.58462024", "text": "@Override\n\tpublic boolean equivalent(final Examinable obj) {\n\t\tif (!(obj instanceof AssignmentStatement)) return false;\n\t\tfinal FProgram fp1 = new FProgram(ImmutableList.of(this));\n\t\tfinal FProgram fp2 = new FProgram(ImmutableList.of((AssignmentStatement)obj));\n\t\treturn fp1.equivalent(fp2);\n\t}", "title": "" }, { "docid": "3b1c33849760a26e50891368e4c3f9b5", "score": "0.58164704", "text": "@Override\n\tpublic boolean equals() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ea44607954cce457f6392513bb7d1742", "score": "0.5789697", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof AssignmentGroups)) {\r\n return false;\r\n }\r\n AssignmentGroups other = (AssignmentGroups) object;\r\n if ((this.groupName == null && other.groupName != null) || (this.groupName != null && !this.groupName.equals(other.groupName))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "8a29cda4436b2474746f8458255b01c9", "score": "0.5762034", "text": "@Override\n public boolean equals(Object other) {\n if (other == this) {\n return true;\n }\n\n // instanceof handles nulls\n if (!(other instanceof EditAssignmentDescriptor)) {\n return false;\n }\n\n // state check\n EditAssignmentDescriptor e = (EditAssignmentDescriptor) other;\n\n return getName().equals(e.getName())\n && getDeadline().equals(e.getDeadline())\n && getID().equals(e.getID())\n && getTags().equals(e.getTags());\n }", "title": "" }, { "docid": "6b6c96c5af2a0ca50d587d8df2ed3ef8", "score": "0.5742366", "text": "@Override\n\tpublic boolean equals(Object compare) {\n\t\tif(!(compare instanceof Solution)) {\n\t\t\treturn false;\n\t\t}\n\t\tSolution compareSolution = (Solution) compare;\n\t\tif (compareSolution.person.equals(person)\n\t\t\t\t&& compareSolution.room.equals(room)\n\t\t\t\t&& compareSolution.weapon.equals(weapon))\n\t\t\treturn true;\n\t\treturn false;\n\t\t\t\t\n\t}", "title": "" }, { "docid": "dac0ccae714b90b5e9039ac3a6dd5758", "score": "0.5713049", "text": "@Override\n public boolean equals(Object other){\n if (other instanceof CardSolution){\n CardSolution otherCardSolution = (CardSolution) other;\n return otherCardSolution.getSuit() == this.getSuit() &&\n otherCardSolution.getValue() == this.getValue();\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "7593b7f596773fa5f1be34da317edd3c", "score": "0.5690143", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Solution)) {\n return false;\n }\n Solution other = (Solution) object;\n if ((this.idsolution == null && other.idsolution != null) || (this.idsolution != null && !this.idsolution.equals(other.idsolution))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "213c9026cf35a107a7631a46ec22456f", "score": "0.5690081", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n if (this.getNodeList().size() != ((Face) o).getNodeList().size()) return false;\n\n Face face = (Face) o;\n boolean ordre = true;\n\n //Verifier ordre ou ordre inverse 1-2-3 3-2-1\n for (int i = 0; i < ((Face) o).getNodeList().size(); i++) {\n if ((this.getNodeList().get(i).getName() != (face).getNodeList().get(i).getName())||(!ordre)){\n ordre = false;\n if(this.getNodeList().get(i).getName() != (face).getNodeList().get(this.getNodeList().size()-1-i).getName()){\n return false;\n }\n }\n }\n return ordre;\n }", "title": "" }, { "docid": "e31f551a45137564e59d1163e7a13f58", "score": "0.5665656", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Letterofcredit)) {\n return false;\n }\n Letterofcredit other = (Letterofcredit) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "53a5f01c8536e884bae8280d49fadf8b", "score": "0.56321615", "text": "private boolean partialAssignmentMatches(\n List<Integer> varIndicesInLiteral,\n Map<GdlVariable, GdlConstant> fullAssignment) {\n for (int varIndex : varIndicesInLiteral) {\n GdlVariable var = assignmentOrder.get(varIndex);\n if (getCurValueForVarIndex(varIndex) !=\n fullAssignment.get(var)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "054121155b5e768750e118a4f5f6cc13", "score": "0.5603799", "text": "private static boolean equalPuzzle(Node a,Node b){\n for(int s=0;s<a.STATE.getPuzzle().length;s++){\n for(int h=0;h<b.STATE.getPuzzle().length;h++){\n if(a.STATE.getPuzzle()[s][h]!=b.STATE.getPuzzle()[s][h]){\n return false;\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "d1c36a940cb1fbd25b6f39a4e96cf34b", "score": "0.5585909", "text": "public boolean equals(Object o){\r\n\r\n // First clause: Test whether o is null before treating it as an object.\r\n // Second clause: Test whether o is of correct type.\r\n // Change this type when copying to another class.\r\n if(o != null && o.getClass() == getClass()) {\r\n\r\n // Now we know that o is not null and has the same type as this.\r\n\r\n // Do any calculation to determine whether o and this are the same Letter.\r\n // In this case, Letter implements Comparable, so we can use compareTo().\r\n return this.compareTo((Letter)o) == 0;\r\n }\r\n\r\n // Since o was null or not of type Letter, we can safely conclude\r\n // that o does not equal this.\r\n return false;\r\n }", "title": "" }, { "docid": "3ffa917bdd307b33442a1933cc401d44", "score": "0.5584989", "text": "@Override \npublic boolean equals(Object o){\n if(this == o){\n return true;\n }\n if(o == null){\n return false;\n }\n if(o instanceof MyString){\n MyString test = (MyString) o;\n if(test.caracteres.length != this.caracteres.length){\n return false;\n }\n else{\n for(int i=0; i<caracteres.length;i++){\n if(test.caracteres[i] != this.caracteres[i])\n return false;\n }\n } \n return true;\n } \n return false;\n}", "title": "" }, { "docid": "9c8370672bd4f80256df21aca66ddcd0", "score": "0.5565973", "text": "@Test\n\tpublic void testEquals() {\n\t\tSortedList<String> list1 = new SortedList<String>();\n\t\tSortedList<String> list2 = new SortedList<String>();\n\t\tSortedList<String> list3 = new SortedList<String>();\n\t\t\n\t\tlist1.add(\"abc\");\n\t\tlist1.add(\"def\");\n\t\tlist2.add(\"abc\");\n\t\tlist2.add(\"def\");\n\t\tlist3.add(\"fadlskjf;lsdjflkdj\");\n\t\t\n\t\t//Test for equality and non-equality\n\t\tassertTrue(list1.equals(list2));\n\t\tassertTrue(list2.equals(list1));\n\t\tassertFalse(list3.equals(list1));\n\t\tassertFalse(list1.equals(list3));\n\t\tassertFalse(list2.equals(list3));\n\t}", "title": "" }, { "docid": "62f89c6d6dabb3992868be0d9ec3bf97", "score": "0.55229276", "text": "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn this.hashCode()==obj.hashCode();\r\n\t}", "title": "" }, { "docid": "c88860519ed20412b8dff421edc80e07", "score": "0.5477374", "text": "private static boolean isEqual(Answer a1, Answer a2)\n\t{\n\t\tFSArray a1Tokens = a1.getTokenList();\n\t\tFSArray a2Tokens = a2.getTokenList();\n\t\t\n\t\tif (a1Tokens.size() < a2Tokens.size())\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tint size = a1Tokens.size();\n\t\tfor (int i = 0; i < size; i++)\n\t\t{\n\t\t\tif (!(((Token) a1Tokens.get(i)).getText().\n\t\t\t\t\tequals(((Token) a2Tokens.get(i)).getText())))\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "86c609603aebaa5feb55efe5a9d50efe", "score": "0.5465051", "text": "@Override\r\n\tpublic boolean visit(Assignment node) {\n\t\tASTNode localStoredTree = getParallelTree();\r\n\t\t\r\n\t\t// check for same node type in parallel tree\r\n\t\tif(localStoredTree instanceof Assignment){\r\n\t\t\tAssignment assign = (Assignment) localStoredTree;\r\n\t\t\t\r\n\t\t\t// check for an valid assignment operator (=> normal assignment \"=\")\r\n\t\t\tboolean validAssignmentOperator = (node.getOperator() == Assignment.Operator.ASSIGN) && (assign.getOperator() == Assignment.Operator.ASSIGN);\r\n\t\t\t\r\n\t\t\t// check if the left sides of both versions are the same\r\n\t\t\tboolean sameLeftSide = (node.getLeftHandSide().subtreeMatch(defaultMatcher, assign.getLeftHandSide()));\r\n\t\t\tboolean sameLeftType = (node.getLeftHandSide().resolveTypeBinding().isEqualTo(assign.getLeftHandSide().resolveTypeBinding()));\r\n\t\t\t\r\n\t\t\t// check if both assignments are type compatible\r\n\t\t\tboolean firstVersionCompatible \t= (node.getLeftHandSide().resolveTypeBinding().isSubTypeCompatible(node.getRightHandSide().resolveTypeBinding()));\r\n\t\t\tboolean secondVersionCompatible = (assign.getLeftHandSide().resolveTypeBinding().isSubTypeCompatible(assign.getRightHandSide().resolveTypeBinding()));\r\n\t\t\tboolean versionsCompatible = firstVersionCompatible || secondVersionCompatible;\r\n\t\t\tif(validAssignmentOperator && sameLeftSide && sameLeftType && versionsCompatible){\r\n\t\t\t\t// check the right operators\r\n\t\t\t\tvisitSubtree(node.getRightHandSide(), assign.getRightHandSide());\r\n\t\t\t}\t\t\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "e2d0ef7e06b1201c02f0d3d415985e16", "score": "0.5444694", "text": "private boolean areEqual() {\n\t\tfinal AutomatonState thatStartState = that.getStartState();\n\t\tfinal AutomatonState otherStartState = other.getStartState();\n\t\tstateMap.put(thatStartState, otherStartState);\n\t\t// Starting recursive comparison:\n\t\treturn areEqual(thatStartState, otherStartState);\n\t}", "title": "" }, { "docid": "4bff18abddc77d42951d4b6b5d8654cd", "score": "0.5438383", "text": "public static boolean isEqual() {\n\n\t\tif (iteration == recursion) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\n\t\t}\n\t}", "title": "" }, { "docid": "3d2a5c1238dbca9554d66cfb9c331737", "score": "0.5430342", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\tif (o instanceof DottedRule) {\n\t\t\tDottedRule other = (DottedRule)o;\n\t\t\tif (start == other.start &&\n\t\t\t\tdot == other.dot &&\n\t\t\t\trule == other.rule) {\n\t\t\t\t//(rule == other.rule || Arrays.deepEquals(rule.symbols, other.rule.symbols))) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "05288da903587217db2680d435c4269f", "score": "0.5428143", "text": "@Test\n\tpublic void testEquals() {\n\t\tSortedList<String> list1 = new SortedList<String>();\n\t\tSortedList<String> list2 = new SortedList<String>();\n\t\tSortedList<String> list3 = new SortedList<String>();\n\t\t\n\t\t//Make two lists the same and one list different\n\t\tlist1.add(\"apple\");\n\t\tlist1.add(\"banana\");\n\t\tlist1.add(\"blackberry\");\n\t\tlist2.add(\"apple\");\n\t\tlist2.add(\"banana\");\n\t\tlist2.add(\"blackberry\");\n\t\tlist3.add(\"blueberry\");\n\t\tlist3.add(\"cantalope\");\n\t\tlist3.add(\"kiki\");\n\t\t//Test for equality and non-equality\n\t\tassertTrue(list1.equals(list2));\n\t\tassertTrue(list2.equals(list1));\n\t\t\n\t\tassertFalse(list1.equals(list3));\n\t\tassertFalse(list2.equals(list3));\n\t\tassertFalse(list3.equals(list1));\n\t\tassertFalse(list3.equals(list2));\n\t}", "title": "" }, { "docid": "cf1b047b8435223ca2e64ddd9b26c006", "score": "0.54181814", "text": "@Override\r\n public boolean equals(Object obj)\r\n {\r\n weighted_graph tempGraph = (weighted_graph) obj;\r\n Iterator<node_info> aNode = getV().iterator();\r\n Iterator<node_info> bNode = tempGraph.getV().iterator();\r\n while (aNode.hasNext() && bNode.hasNext())\r\n {\r\n node_info a =aNode.next();\r\n node_info b =bNode.next();\r\n if (a.equals(b) == false)\r\n {\r\n return false;\r\n }\r\n if (getV(a.getKey()) !=null)\r\n {\r\n if (tempGraph.getV(b.getKey()) ==null)\r\n {\r\n return false;\r\n }\r\n Iterator<node_info> neighborsA = getV(a.getKey()).iterator();\r\n Iterator<node_info> neighborsB = tempGraph.getV(b.getKey()).iterator();\r\n while (neighborsA.hasNext()&& neighborsB.hasNext())\r\n {\r\n node_info neiA= neighborsA.next();\r\n node_info neiB= neighborsB.next();\r\n if (neiA.equals(neiB) == false)\r\n {\r\n return false;\r\n }\r\n if (getEdge(a.getKey(), neiA.getKey()) != tempGraph.getEdge(b.getKey(), neiB.getKey()))\r\n {\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n return true;\r\n\r\n }", "title": "" }, { "docid": "1785bfde22f5dd9de30dc80b3c9cd369", "score": "0.5414871", "text": "@Override\n\t\tpublic boolean equals(Object o) {\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "25e5b0de2ac29c15fb183ce96e2bdada", "score": "0.54106295", "text": "public boolean isComplete(Map<String, Object> assignment) {\r\n\t\tboolean complete = true;\r\n\t\tSet<String> domainKey = domains.keySet();\r\n\t\t\r\n\t\tSet<String> assignmentKey = assignment.keySet();\r\n\t\r\n\t\tIterator<String> iter = domainKey.iterator();\r\n\t\t\r\n\t\twhile(iter.hasNext() && complete){\r\n\t\t\tString current = iter.next();\r\n\t\t\tif(!assignmentKey.contains(current)){\r\n\t\t\t\tcomplete = false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn complete;\r\n\t}", "title": "" }, { "docid": "27f0ebfa7d0f2ee9a14426717f16f960", "score": "0.5398989", "text": "@Override\n public boolean equals(Object o){\n if (o instanceof Context){\n Context c = (Context)o;\n int marker = 0; //signifies whether it is end\n if (this.length() == c.length()){\n for (int i = 0; i < this.length(); i++){\n if (this.getWord(i) == c.getWord(i))\n marker = marker + 1; //increments as you go word by word\n }\n if (marker == this.length()) //if it reaches the end and everything is same, returns true\n return true;\n }\n else{\n return false;\n }\n return false;\n }\n else{\n return false;\n }\n }", "title": "" }, { "docid": "44a5c22b1bb01f49f16171605cc35b6c", "score": "0.53901297", "text": "@Override\n public boolean equals(Object obj) {\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"8f181c29-5f7b-479b-bebb-64a59982478e\");\n if (obj == this) {\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"22509fc8-7b2e-450a-b1b8-b7d9f975a2ea\");\n return true;\n }\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"3822d5b9-7f9f-4d55-bb43-3e27be73bc5e\");\n if (!(obj instanceof GridArrangement)) {\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"b9b81b1b-c51d-4e6a-934c-b4c553cbb3e3\");\n return false;\n }\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"1953c2f9-a171-4a58-a704-c8e75d058e56\");\n GridArrangement that = (GridArrangement) obj;\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"e1d84574-e7cd-4031-ae49-d984bbc87ed6\");\n if (this.columns != that.columns) {\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"5aa80b9a-faf3-4b04-a181-3ea3f014cd63\");\n return false;\n }\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"02d7eeff-d4a5-4a8b-93d2-6186a6a79e74\");\n if (this.rows != that.rows) {\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"340deba7-1e33-40bf-8b50-0a96c58e3fdb\");\n return false;\n }\n writeline(\"/home/ubuntu/results/coverage/GridArrangement/GridArrangement_5_10.coverage\", \"3276d35b-f15a-495d-bace-9eb8f4749b7f\");\n return true;\n }", "title": "" }, { "docid": "0fcd75701daaf02c4b2796863f67efbb", "score": "0.5380674", "text": "@Override\r\n\tpublic boolean equals(Object o) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0fcd75701daaf02c4b2796863f67efbb", "score": "0.5380674", "text": "@Override\r\n\tpublic boolean equals(Object o) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0fcd75701daaf02c4b2796863f67efbb", "score": "0.5380674", "text": "@Override\r\n\tpublic boolean equals(Object o) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0fcd75701daaf02c4b2796863f67efbb", "score": "0.5380674", "text": "@Override\r\n\tpublic boolean equals(Object o) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0fcd75701daaf02c4b2796863f67efbb", "score": "0.5380674", "text": "@Override\r\n\tpublic boolean equals(Object o) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0fcd75701daaf02c4b2796863f67efbb", "score": "0.5380674", "text": "@Override\r\n\tpublic boolean equals(Object o) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0fcd75701daaf02c4b2796863f67efbb", "score": "0.5380674", "text": "@Override\r\n\tpublic boolean equals(Object o) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "92c45b8a28867e23fde43756a69e9319", "score": "0.53783596", "text": "@Override\n public boolean equals(Object obj) {\n if (obj instanceof SAdd) {\n var other = (SAdd) obj;\n return other.eval().equals(this.eval());\n }\n return false;\n }", "title": "" }, { "docid": "34bdb7c226a9fb818d3a9e6212f8c92c", "score": "0.53684795", "text": "@Override\r\n\tpublic boolean equals(Object temp) {\r\n\t\tif(temp == null) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t/*\r\n\t\t * In this if statement we use the keyword 'instanceof' to\r\n\t\t * check if the object we have passed in is an instance of\r\n\t\t * Name class. This is so we don't run into a ParseException in\r\n\t\t * our next section of code\r\n\t\t */\r\n\t\tif(temp instanceof Name) {\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * In this section we do what is called casting,\r\n\t\t\t * casting allows us to set or Object class to the correct class\r\n\t\t\t * we want to work with such as the Name class.\r\n\t\t\t * \r\n\t\t\t * As has been mentioned many times Java works on a\r\n\t\t\t * hierarchical class. As all classes derive from the\r\n\t\t\t * Object class we can pass in and check against this object\r\n\t\t\t * and also cast it back to a Name object.\r\n\t\t\t */\r\n\t\t\tName name = (Name) temp;\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * In this if statement we do or check by test to see\r\n\t\t\t * if the variables with our class match that of the Object\r\n\t\t\t * passed into the method\r\n\t\t\t */\r\n\t\t\tif(this.title.equalsIgnoreCase(name.title)\r\n\t\t\t\t\t&& this.firstName.equalsIgnoreCase(name.firstName)\r\n\t\t\t\t\t&& this.lastName.equalsIgnoreCase(name.lastName)) {\r\n\t\t\t\t\r\n\t\t\t\t// If all variables match we return to say that the two\r\n\t\t\t\t// objects are the same\r\n\t\t\t\treturn true;\r\n\t\t\t} else {\r\n\t\t\t\t\r\n\t\t\t\t// return false if one of the variables does not match\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// return false as default as it means that the check was\r\n\t\t// completed\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "bf73f9674af5c67a05bb94c4cf530eff", "score": "0.53646874", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) return false;\n if (o == null || getClass() != o.getClass()) return false;\n NaviSet<T> naviSet = (NaviSet<T>) o;\n if (this.size() != naviSet.size()) return false;\n for (int i = 0; i < this.size(); i++) {\n if (!(this.data.get(i).equals(naviSet.data.get(i)))) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "5666b95ec74ca1a39df85bd323abd474", "score": "0.5362808", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\n\t\tif (obj == null)\n\t\t\treturn false;\n\n\t\tif (this.getClass() != obj.getClass())\n\t\t\treturn false;\n\n\t\tExpressionCollector other = (ExpressionCollector) obj;\n\n\t\tif (this.isTypeCorrect() && other.isTypeCorrect() && this.getValue() == other.getValue())\n\t\t\treturn true;\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b874259ce376c4610b35ade850ffd2fb", "score": "0.53624547", "text": "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\tif (obj instanceof NonconditionNode) {\r\n\t\t\tNonconditionNode temp = (NonconditionNode) obj;\r\n\t\t\treturn isEqualNextNode(temp)\r\n\t\t\t\t\t&& getNextNode().getExp().equals(\r\n\t\t\t\t\t\t\ttemp.getNextNode().getExp());\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "a7e2c739d83fe6d1d4f681adbfa24530", "score": "0.5353084", "text": "@Override\r\n\tpublic boolean equals(Object o) {\r\n\t\tif (! (o instanceof WordGram) || o == null){\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t// TODO: Complete this method\r\n\t\tWordGram wg = (WordGram) o;\r\n\t\tint counter = 0;\r\n\t\tfor (int k= 0; k< myWords.length; k++) {\r\n\t\t\tif (myWords[k].equals(((WordGram) o).wordAt(k))) {\r\n\t\t\t\tcounter ++;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (counter == myWords.length) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn false;\r\n\t\t}\r\n//\r\n\t}", "title": "" }, { "docid": "7a719c981a6d478acf992464dc99de98", "score": "0.53512686", "text": "private Boolean search(Set<Assignment> set, Assignment a){\n for (Assignment i: set){\n boolean r=a.getAssignmentID() == i.getAssignmentID();\n if(r){\n return TRUE;\n }\n }\n return FALSE;\n }", "title": "" }, { "docid": "645d685d7cb2423725b8b2691af6a394", "score": "0.53497016", "text": "@Override\n public boolean equals(Object obj) {\n return this == obj;\n }", "title": "" }, { "docid": "cca251b1c062e4e0ccee7b84434adf51", "score": "0.53470063", "text": "public boolean Equals(PuzzleBoard puzzle){\n \n for (int i = 0; i < board.length; i++) {\n for (int j = 0; j < board.length; j++) {\n if (board[i][j] != puzzle.board[i][j])\n return false;\n }//End of inner for loop\n }//End of outer for loop\n return true;\n }", "title": "" }, { "docid": "68a1fed4ed1d81043a76f53dd828abd9", "score": "0.5346662", "text": "@Override\n public boolean equals(Object obj) {\n if (obj == this) {\n return true;\n }\n else\n return false;\n }", "title": "" }, { "docid": "204accb25ee084d466914b2fa2a20512", "score": "0.53411543", "text": "public boolean equals(LinkedSet<T> s) {\n if (size == s.size() && complement(s).size() == 0) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "f478f9939c27e408c2dfb5ba18850111", "score": "0.5339368", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f478f9939c27e408c2dfb5ba18850111", "score": "0.5339368", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f478f9939c27e408c2dfb5ba18850111", "score": "0.5339368", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f478f9939c27e408c2dfb5ba18850111", "score": "0.5339368", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f478f9939c27e408c2dfb5ba18850111", "score": "0.5339368", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "9cc1eed4bf28dd3c306877762c8ae875", "score": "0.5337565", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b5256f32c45c87f7d16b29ed1a4065be", "score": "0.5330384", "text": "boolean derangement() {\n int counter = 0;\n for (int r = 0; r < _cycles.length; r += 1) {\n if (_cycles[r].length() == 1) {\n return false;\n } else {\n counter += _cycles[r].length();\n }\n }\n return counter == _alphabet.size();\n }", "title": "" }, { "docid": "7a8f1cae5f698bb758a2f7998a40eac7", "score": "0.532842", "text": "public boolean isEquality();", "title": "" }, { "docid": "943d1b2b0783d9007c17e3f3c383024a", "score": "0.53279364", "text": "@Override\n public boolean equals(Object obj) {\n if (obj instanceof Semester) {\n Semester other = (Semester) obj;\n\n return this.getName().equals(other.getName()) && this.getStudyProgram().getName().equals(other.getStudyProgram().getName());\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "e2c2554439311aa3c925b971a5a88717", "score": "0.53241515", "text": "public boolean repOK() {\n \n for (int i = 0; i < items.size()-1; i++) {\n for (int j = i+1; j < items.size(); j++) {\n if(items.get(i).equals(items.get(j))){\n return false;\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "49445e24316bfb910d0d005d22d5a12c", "score": "0.532393", "text": "@SuppressWarnings(\"unchecked\")\n public boolean equals(final Object obj) {\n if (this == obj) {\n return true;\n }\n\n if (!obj.getClass().equals(getClass())) {\n return false;\n }\n\n final CollectionPref<T> that = (CollectionPref<T>)obj;\n\n if (that.getAutoAdd() != getAutoAdd()) {\n return false;\n }\n\n return CalFacadeUtil.eqObjval(getPreferred(), that.getPreferred());\n }", "title": "" }, { "docid": "042719d8a64e555335d70610ae796d16", "score": "0.53223157", "text": "@Override\n public boolean equals(Object o) {\n if (o == this) {\n return true;\n }\n if (!(o instanceof PluralityBallot)) {\n return false;\n }\n PluralityBallot c = (PluralityBallot) o;\n return this.toString().equals(c.toString());\n }", "title": "" }, { "docid": "40e1f6319f50be8166a5d1446e41603e", "score": "0.5321938", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (!super.equals(obj))\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tCourse other = (Course) obj;\n\t\tif (credits != other.credits)\n\t\t\treturn false;\n\t\tif (instructorId == null) {\n\t\t\tif (other.instructorId != null)\n\t\t\t\treturn false;\n\t\t} else if (!instructorId.equals(other.instructorId))\n\t\t\treturn false;\n\t\tif (name == null) {\n\t\t\tif (other.name != null)\n\t\t\t\treturn false;\n\t\t} else if (!name.equals(other.name))\n\t\t\treturn false;\n\t\tif (section == null) {\n\t\t\tif (other.section != null)\n\t\t\t\treturn false;\n\t\t} else if (!section.equals(other.section))\n\t\t\treturn false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "40e1f6319f50be8166a5d1446e41603e", "score": "0.5321938", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (!super.equals(obj))\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tCourse other = (Course) obj;\n\t\tif (credits != other.credits)\n\t\t\treturn false;\n\t\tif (instructorId == null) {\n\t\t\tif (other.instructorId != null)\n\t\t\t\treturn false;\n\t\t} else if (!instructorId.equals(other.instructorId))\n\t\t\treturn false;\n\t\tif (name == null) {\n\t\t\tif (other.name != null)\n\t\t\t\treturn false;\n\t\t} else if (!name.equals(other.name))\n\t\t\treturn false;\n\t\tif (section == null) {\n\t\t\tif (other.section != null)\n\t\t\t\treturn false;\n\t\t} else if (!section.equals(other.section))\n\t\t\treturn false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "2f13f3827efed43f2f4d7eaf163281b4", "score": "0.53202623", "text": "@Override\n public boolean equals(Object other) {\n if (other == this) {\n return true;\n }\n\n // instanceof handles nulls\n if (!(other instanceof EditAssignmentCommand)) {\n return false;\n }\n\n // state check\n EditAssignmentCommand e = (EditAssignmentCommand) other;\n return targetID.equals(e.targetID)\n && editAssignmentDescriptor.equals(e.editAssignmentDescriptor);\n }", "title": "" }, { "docid": "b0b88088420c7a04fa2364fd9fb976ce", "score": "0.5310201", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (! (obj instanceof IPatternSignature))\n\t\t\treturn false;\n\t\tIPatternSignature otherSig = (IPatternSignature) obj;\n\t\tif (!patternName().equals(otherSig.patternName()))\n\t\t\treturn false;\n\t\tif (!RolePermissionAssignmentSignature.class.equals(obj.getClass()))\n\t\t\treturn Arrays.deepEquals(toArray(), otherSig.toArray());\n\t\tRolePermissionAssignmentSignature other = (RolePermissionAssignmentSignature) obj;\n\t\tif (fROLE == null) {if (other.fROLE != null) return false;}\n\t\telse if (!fROLE.equals(other.fROLE)) return false;\n\t\tif (fPERM == null) {if (other.fPERM != null) return false;}\n\t\telse if (!fPERM.equals(other.fPERM)) return false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "7c867c1c1bfc2bba2b30321fe86c6ad3", "score": "0.53099674", "text": "public boolean isEqual();", "title": "" }, { "docid": "5fe0b3b7cf7d6f76ab4837a2a9c2ae86", "score": "0.53073", "text": "@Override\n public boolean equals(Object ob) {\n return ob == this;\n }", "title": "" }, { "docid": "3d6404cf56576b3325bac9a2970907e4", "score": "0.52964824", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn name.equals(((A)obj).name.toString());\n\t}", "title": "" }, { "docid": "bc3b2fa2fd68f524935785de9d1e189f", "score": "0.52962613", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\t// TODO Implement this method\n StackTravList<E> temp = (StackTravList<E>)o;\n boolean areElementsEqual = this.left.equals(temp.left) && this.right.equals(temp.right);\n boolean isCursorSame = false;\n if(rightLength()==temp.rightLength())\n isCursorSame =true;\n\t\treturn (areElementsEqual && isCursorSame);\n\t}", "title": "" }, { "docid": "79080895b245193967c30ba7de41db78", "score": "0.52882916", "text": "public boolean equals(Object obj) {\r\n\t\tif(!(obj instanceof Formula)) {\r\n\t\t\treturn(false);\r\n\t\t} else {\r\n\t\t\tFormula other = (Formula)obj;\r\n\t\t\tfor(int i = 0; i < Math.min(other.formula.length, this.formula.length); i++) {\r\n\t\t\t\tif(!other.formula[i].equals(this.formula[i])) {\t\r\n\t\t\t\t\treturn(false);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn(other.formula.length == this.formula.length);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f4b3017bd78db31f3dc98e3f772882db", "score": "0.5267982", "text": "private static boolean isPermutation(String str1, String str2) {\n\t\tchar[] str1Array = str1.toCharArray();\n\t\tArrays.sort(str1Array);\n\t\t\n\t\tchar[] str2Array = str2.toCharArray();\n\t\tArrays.sort(str2Array);\n\t\t\n\t\treturn Arrays.equals(str1Array, str2Array);\n\t}", "title": "" }, { "docid": "659de627905f2ffb5f9e4d2a5242597e", "score": "0.52677745", "text": "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (o == null || getClass() != o.getClass()) {\n return false;\n }\n MainAC mainAC = (MainAC) o;\n if (mainAC.getId() == null || getId() == null) {\n return false;\n }\n return Objects.equals(getId(), mainAC.getId());\n }", "title": "" }, { "docid": "11d0e3aa68a0dfc61a3176be4a89d586", "score": "0.52649105", "text": "public boolean equals(Object obj) {\n/* 180 */ init();\n/* 181 */ return this.set.equals(obj);\n/* */ }", "title": "" }, { "docid": "c4b561805d2385023c0675909c8cf5ec", "score": "0.5260747", "text": "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "title": "" }, { "docid": "c4b561805d2385023c0675909c8cf5ec", "score": "0.5260747", "text": "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "title": "" }, { "docid": "c4b561805d2385023c0675909c8cf5ec", "score": "0.5260747", "text": "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "title": "" }, { "docid": "c4b561805d2385023c0675909c8cf5ec", "score": "0.5260747", "text": "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\r\n\t}", "title": "" }, { "docid": "fb02c9fc4d77f3588f370ec02658424b", "score": "0.52600753", "text": "public boolean equals(Set<T> s) {\n if (size == s.size() && complement(s).size() == 0) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "55f06f5aa33107173406eac9baeaca06", "score": "0.52558863", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof B5Keteranganumumtenagakerjainformal)) {\n return false;\n }\n B5Keteranganumumtenagakerjainformal other = (B5Keteranganumumtenagakerjainformal) object;\n if ((this.kKSArtNup == null && other.kKSArtNup != null) || (this.kKSArtNup != null && !this.kKSArtNup.equals(other.kKSArtNup))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "e3e6ea8f75cc050b6a4ae5e851fe40d0", "score": "0.5253809", "text": "boolean derangement() {\n int a = 0;\n for (String cycle: cyclical) {\n a += cycle.length();\n }\n return a == alphabet().size();\n }", "title": "" }, { "docid": "d98b52ed36fe0ed81c2e3abda95bb273", "score": "0.5247071", "text": "@Override\r\n public boolean equals(Object that) {\r\n if (this == that) {\r\n return true;\r\n }\r\n if (!(that instanceof AlternateUnit)) {\r\n return false;\r\n }\r\n AlternateUnit<?> thatUnit = (AlternateUnit<?>) that;\r\n return this.symbol.equals(thatUnit.symbol); // Symbols are unique.\r\n }", "title": "" }, { "docid": "d978bd4640c8ed2d71fd7a0506a2bcfd", "score": "0.5245303", "text": "@Override\n public boolean equals(Object o)\n {\n return this == o;\n }", "title": "" }, { "docid": "d157cde04ab9c3577261b50b26313eef", "score": "0.524388", "text": "@Override\n\tpublic boolean equals(Object o) {\n\t\treturn Pojomatic.equals(this, o);\n\t}", "title": "" }, { "docid": "efa57264cf845005617fd2c9a45ee3bc", "score": "0.5238723", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "title": "" }, { "docid": "efa57264cf845005617fd2c9a45ee3bc", "score": "0.5238723", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "title": "" }, { "docid": "efa57264cf845005617fd2c9a45ee3bc", "score": "0.5238723", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "title": "" }, { "docid": "efa57264cf845005617fd2c9a45ee3bc", "score": "0.5238723", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "title": "" }, { "docid": "efa57264cf845005617fd2c9a45ee3bc", "score": "0.5238723", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "title": "" }, { "docid": "efa57264cf845005617fd2c9a45ee3bc", "score": "0.5238723", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn super.equals(obj);\n\t}", "title": "" }, { "docid": "19528429cb7b51c8bb62fdd163055423", "score": "0.52376187", "text": "@Override\n public boolean equals(Object o) {\n return false;\n }", "title": "" }, { "docid": "19528429cb7b51c8bb62fdd163055423", "score": "0.52376187", "text": "@Override\n public boolean equals(Object o) {\n return false;\n }", "title": "" }, { "docid": "9a3a0743586f5959660533939f4f0fcd", "score": "0.52302366", "text": "@Override\n public boolean equals(Object obj) {\n return false;\n }", "title": "" }, { "docid": "cd17aaae18a00406fa1261357b734ebd", "score": "0.5222433", "text": "public boolean equals(Object o) {\n if (o.getClass() == this.getClass() &&\n this.getNumberOfArguments() ==\n ((PropositionalFormula) o).getNumberOfArguments()) {\n Iterator<Formula> mine = this.arguments();\n Iterator<Formula> yours = ((PropositionalFormula) o).arguments();\n while (mine.hasNext()) {\n if (!mine.next().equals(yours.next()))\n return false;\n }\n return true;\n } else\n return false;\n }", "title": "" }, { "docid": "ca241e6c6b6f8574dd0cefd2be1af0a1", "score": "0.52219325", "text": "@Override\n public boolean equals(Object other) {\n if (this == other) return true;\n if (other == null) return false;\n if (getClass() != other.getClass()) return false;\n \n // Arenas must have different names.\n if (other instanceof ArenaImpl && ((ArenaImpl)other).name.equals(name))\n return true;\n \n return false;\n }", "title": "" }, { "docid": "6db76b800eed041340bba743f89b5d0d", "score": "0.5214925", "text": "public boolean unorderedEquals(ConvexPolyhedron<E> S) {\n \n if(!(order == S.order)) return false; // Dimensionen stimmen nicht ueberein\n \n ConvexPolyhedron help = new ConvexPolyhedron(S.nodes);\n // test ob das ConvexPolyhedron aus den gleichen Punkten besteht\n int permutation = 0;\n int k = 1;\n for (int i=0; i<=order; i++) {\n for (int j=i; j<=order; j++) {\n if( (nodes[i] == help.nodes[j] )){\n permutation++;\n k=0;\n } \n }\n if((k==1)) return false; // ueberhaupt kein Knoten ist gleich\n else k=1;\n }\n if(permutation==order+1) return true;\n else return false;\n }", "title": "" }, { "docid": "9adf709a007386ab492f60a83e74c711", "score": "0.52126163", "text": "@Test\n public void equalsTest() {\n assertNotEquals(this.substitution, null);\n assertNotEquals(this.substitution, new Object());\n\n assertNotEquals(new Substitution(new Variable(\"Y\"), Functor.atom(\"homer\")), this.substitution);\n assertNotEquals(new Substitution(new Variable(\"X\"), Functor.atom(\"bart\")), this.substitution);\n assertEquals(new Substitution(new Variable(\"X\"), Functor.atom(\"homer\")), this.substitution);\n }", "title": "" }, { "docid": "b06d15dc6367ee2e33266c69698aebc1", "score": "0.5206924", "text": "public static void main(String[] args) {\n System.out.println(\"Answer for Question number: 11 \"\n + \" Name:- CHANDRA BHANU TATA\");\n System.out.println(\"----------------------------------------------------------\");\n Army a1 = new Army(\"Chandra\", 100, \"first\");\n Army a2 = new Army(\"Hemanth\", 100, \"second\");\n Army a3 = new Army(\"Pavan\", 100, \"thrid\");\n Army a4 = new Army(\"sai\", 100, \"fourth\");\n Army a5 = new Army(\"Jaya Krishna\", 100, \"fiveth\");\n Army a6 = new Army(\"Srikanth\", 100, \"sixth\");\n Army a7 = a6;\n /*\n * this invokes the equals method from Army class and returns true\n * if attribute values of object are same\n */\n System.out.println(\"h1 equals h2: \" + a1.equals(a2));\n System.out.println(\"h1 equals h5: \" + a1.equals(a5));\n System.out.println(\"h4 equals h5: \" + a4.equals(a5));\n System.out.println(\"h7 equals h6: \" + a6.equals(a7));\n System.out.println(\"\\n\");\n /*\n *== is used to compare the addresses of the objects.It returns true \n * only if the address of the objects is same\n */\n System.out.println(\"h1 equals h2: \" + (a1 == a2));\n System.out.println(\"h1 equals h5: \" + (a1 == a5));\n System.out.println(\"h4 equals h5: \" + (a4 == a5));\n System.out.println(\"h7 equals h6: \" + (a6 == a7));\n System.out.println(\"\\n\");\n /*\n *invokes the overrided hashcode method from army class and returns \n similar hashcode if the two objects has same attribute values values\n */\n System.out.println(a1.hashCode());\n System.out.println(a2.hashCode());\n System.out.println(a5.hashCode());\n System.out.println(a7.hashCode());\n\n }", "title": "" }, { "docid": "e822aa42cd7042df796cc1c548b7f5f4", "score": "0.5203776", "text": "public boolean equals(MyString1 s) {\n if(s.chars.length != chars.length) {\n return false;\n }\n for(int i = 0; i < chars.length; i++) {\n if(s.chars[i] != chars[i]) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "b0d04ddcb3d7f1abfbe0f7dddba9b864", "score": "0.5200929", "text": "private boolean isAlreadyAssigned(String subject, XComponent assignedGroupDataSet) {\r\n XComponent row;\r\n for (int index = 0; index < assignedGroupDataSet.getChildCount(); index++) {\r\n row = (XComponent) assignedGroupDataSet._getChild(index);\r\n if (subject.equals(row.getStringValue())) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "87345b6f83e9c817f1ef79442fae082e", "score": "0.51995015", "text": "@Override\n public boolean equals(Object obj) {\n if (!(obj instanceof OrderedIntList))\n return false;\n OrderedIntList match = (OrderedIntList) obj;\n\n Iterator<Integer> stb = smallToBig();\n Iterator<Integer> mstb = match.smallToBig();\n\n while (stb.hasNext() || mstb.hasNext()) {\n if (!(stb.hasNext()) || !(mstb.hasNext()) || (mstb.next() != stb.next()))\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "df0eb14f5450eef4ef014390c7c86fec", "score": "0.519077", "text": "@Override\n public boolean equals(final Object obj)\n {\n if (!(obj instanceof Chromosome))\n return false;\n\n final Chromosome that = (Chromosome)obj;\n\n for (final Gene<?> g1 : genes)\n {\n boolean found = false;\n for (final Gene<?> g2 : that.genes)\n {\n if (g1.equals(g2))\n {\n found = true;\n break;\n }\n }\n if (found == false)\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "cb5fe7e6890778bbbabc23cc0ee36444", "score": "0.5188406", "text": "@Override\n public boolean equals(@Nullable Object input) {\n if (input == this) { return true; }\n if (input == null) { return false; }\n if (!(input instanceof AssignmentTbl)) { return false; }\n AssignmentTbl other = (AssignmentTbl) input;\n return (SafeCheckEqual(this.ShiftDate, other.ShiftDate) &&\n SafeCheckEqual(this.StartDate, other.StartDate) &&\n SafeCheckEqual(this.EndDate, other.EndDate) &&\n SafeCheckEqual(this.ShiftNotes, other.ShiftNotes) &&\n this.JobSetup == other.JobSetup &&\n SafeCheckEqual(this.FieldContactName, other.FieldContactName) &&\n SafeCheckEqual(this.FieldContactPhone, other.FieldContactPhone) &&\n SafeCheckEqual(this.FieldContactEmail, other.FieldContactEmail) &&\n this.ShiftId == other.ShiftId &&\n this.JobId == other.JobId &&\n this.RailroadId == other.RailroadId &&\n this.ServiceType == other.ServiceType &&\n SafeCheckEqual(this.JobStartDate, other.JobStartDate) &&\n SafeCheckEqual(this.JobEndDate, other.JobEndDate) &&\n SafeCheckEqual(this.JobDescription, other.JobDescription) &&\n SafeCheckEqual(this.CustomerName, other.CustomerName) &&\n SafeCheckEqual(this.LocationName, other.LocationName) &&\n SafeCheckEqual(this.LocationLink, other.LocationLink) &&\n SafeCheckEqual(this.Subdivision, other.Subdivision) &&\n SafeCheckEqual(this.MilePostStart, other.MilePostStart) &&\n SafeCheckEqual(this.SupervisorRP, other.SupervisorRP) &&\n SafeCheckEqual(this.JobNumber, other.JobNumber) &&\n SafeCheckEqual(this.Notes, other.Notes) &&\n SafeCheckEqual(this.EquipmentDescription, other.EquipmentDescription) &&\n SafeCheckEqual(this.DistanceFromTracks, other.DistanceFromTracks) &&\n SafeCheckEqual(this.PermitNumber, other.PermitNumber) &&\n SafeCheckEqual(this.TrackSupervisor, other.TrackSupervisor) &&\n SafeCheckEqual(this.Restrictions, other.Restrictions) &&\n SafeCheckEqual(this.CostCenters, other.CostCenters)\n );\n }", "title": "" } ]
970e295064aa5321ff26dda6aa8ccd2a
Close the user interface.
[ { "docid": "7c1b3159a1f265852be14e089d05a1cf", "score": "0.0", "text": "@AfterEach\n public void after() {\n launcher.dispose();\n }", "title": "" } ]
[ { "docid": "89c50e940638eab779e8bf8fdcb70c32", "score": "0.77538794", "text": "public void closeUI() {\r\n\t\tm_Container.setVisible(false);\r\n\t}", "title": "" }, { "docid": "32e526cba04837d24d6382ed9f870bc1", "score": "0.7663259", "text": "public void closeUI() {\n\t\tloggingUI.close();\n\t}", "title": "" }, { "docid": "13c5da0b85e453d7a1a88c31f30cdfd6", "score": "0.7429585", "text": "public static void close() {\n\t\tGUI.close();\n\t}", "title": "" }, { "docid": "e6ebadb2492742410044251d34933a15", "score": "0.7197837", "text": "public void close(){\n window.dispose();\n }", "title": "" }, { "docid": "9548e184f6b212e66ae1c8e0820098e7", "score": "0.71966934", "text": "public static void close(){\n window.close();\n }", "title": "" }, { "docid": "8cf19f558e0f082311c0d152a06a3584", "score": "0.7154128", "text": "public void close() {\n\t\ttry {\n\t\t\tPluginServices.getMDIManager().closeWindow(this);\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\n\t\t\t//Si la ventana no se puede eliminar no hacemos nada\n\t\t}\n\t}", "title": "" }, { "docid": "e91d4e771d89502f7befd32f16ebb933", "score": "0.70788455", "text": "public void close() {\n\t\tthis.setVisible(false);\n\t}", "title": "" }, { "docid": "4f31bcb0bd32cf0af64a1aee8934940f", "score": "0.6880021", "text": "public void close ( ) {\r\n \r\n display.close();\r\n \r\n }", "title": "" }, { "docid": "e16b9e3a7bfb2ce1f966ec3955f43e99", "score": "0.6876347", "text": "public void close()\n {\n controller.close();\n }", "title": "" }, { "docid": "09c657ecf5aca2947c1732bb49c3df20", "score": "0.6818629", "text": "public void close() {\n\t\tjframe.setVisible(false);\n\t}", "title": "" }, { "docid": "7f7f900b0ff7861f56efbda5db46336f", "score": "0.6808041", "text": "public void closeWindow() {\n if (this.gui != null) {\n this.gui.dispose();\n }\n }", "title": "" }, { "docid": "4ae06e93da2580b2d0e5492422d1b0ef", "score": "0.6756471", "text": "void close() {\n this.rw.setVisible(false);\n }", "title": "" }, { "docid": "d6044c8459a0d25792efbc5212eebe79", "score": "0.6725073", "text": "public void close() {\r\n viewHandler.openView(\"home\");\r\n }", "title": "" }, { "docid": "e83ba59a791e95c44778f28bf3078254", "score": "0.6663165", "text": "private void exit(){\n this.setVisible( false );\n this.dispose();\n }", "title": "" }, { "docid": "4abfe3b81eb117ff2bf90d7aefde658d", "score": "0.66595143", "text": "private void closeWindow()\n\t{\n\t\tsetVisible(false);\n\t\tdispose();\n\t}", "title": "" }, { "docid": "9ced364d1813faa3771ac17b7b4ee832", "score": "0.6643656", "text": "public void close() {\n Stage stage = (Stage) userName.getScene().getWindow();\n stage.close();\n }", "title": "" }, { "docid": "28ef8eac2e05d2f98c6775e8eca62626", "score": "0.6634244", "text": "private void doClose() {\n setVisible(false);\n dispose();\n }", "title": "" }, { "docid": "26cf88d1fc4f8e6a909dd8ca5ddb2779", "score": "0.6595973", "text": "@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\twindow.close();\n\t\t\t}", "title": "" }, { "docid": "26cf88d1fc4f8e6a909dd8ca5ddb2779", "score": "0.6595973", "text": "@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\twindow.close();\n\t\t\t}", "title": "" }, { "docid": "d7f906257c9c3154e67c92050b1374a2", "score": "0.6578732", "text": "private void doClose() {\n\t\tsetVisible(false);\n\t\tdispose();\n\t}", "title": "" }, { "docid": "85071c74974d6a27486310bbbc2a8d79", "score": "0.6570092", "text": "public void closeScreen()\n {\n super.closeScreen();\n mc.displayGuiScreen(null);\n }", "title": "" }, { "docid": "586a4f438406bb9cd36b388ba44e4358", "score": "0.6549538", "text": "public void close() {\r\n ((BudgetJustificationForm) getControlledUI()).setVisible(false);\r\n }", "title": "" }, { "docid": "79c7bb35ad401f4c85f62c87f214f2bd", "score": "0.65307325", "text": "public void closeGUI()\n { \n // Show exit message\n JOptionPane.showMessageDialog(rootPane, \"Goodbye!\", \"Thanks for playing!\",JOptionPane.INFORMATION_MESSAGE);\n super.dispose();\n }", "title": "" }, { "docid": "1a5b761bd719b5e7116624ac7186374f", "score": "0.65224445", "text": "public void GUIclosing() {\r\n\t\tmainkinect.stop();\r\n\t}", "title": "" }, { "docid": "504985ec208014ed91261e33a3ea34ca", "score": "0.6486656", "text": "public void close() {\r\n\t\tShell shell = table.getShell();\r\n\t\t\r\n\t\tif (shell != null && !shell.isDisposed())\r\n\t\t\tshell.dispose();\r\n\t}", "title": "" }, { "docid": "504985ec208014ed91261e33a3ea34ca", "score": "0.6486656", "text": "public void close() {\r\n\t\tShell shell = table.getShell();\r\n\t\t\r\n\t\tif (shell != null && !shell.isDisposed())\r\n\t\t\tshell.dispose();\r\n\t}", "title": "" }, { "docid": "75fe34e3f4cf21ac15f10f20e3dcd58e", "score": "0.6486022", "text": "public static void closeDisplay() {\r\n\t\t\r\n\t\tDisplay.destroy();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e06e8a279fc30f687453822624d7c21a", "score": "0.648391", "text": "@SuppressWarnings(\"unused\")\n\tprivate static void closeJavaWindow(){\n\t\tSystem.exit(0);\n\t}", "title": "" }, { "docid": "0791f6956cc609e777bf92ea4f793f42", "score": "0.6464787", "text": "private void closeProgram()\n\t{\n\t\twindow.close();\n\t}", "title": "" }, { "docid": "9cac84b4bd854c714e792a15ebbeb341", "score": "0.64548135", "text": "private void close() {\n WindowEvent event =new WindowEvent(this, WindowEvent.WINDOW_CLOSING);\n Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(event); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "9e56b488efdee9545f0247e706a06c1e", "score": "0.64482707", "text": "public final void close() {\n\t\tif (open) {\n\t\t\tDisplay.destroy();\n\t\t\topen = false;\n\t\t}\n\t\tredrawRequested = true;\n\t}", "title": "" }, { "docid": "a0e15b9ab228027d609ca71f42018a2c", "score": "0.6438692", "text": "private void stopUI(BundleContext context) {\n\t\tserviceTracker.close();\n\t\tdashboard.close();\n\n\t}", "title": "" }, { "docid": "33f6ab5e28d6807277e848f12b66faad", "score": "0.643011", "text": "public void close() {\n\t\tquit();\n\t}", "title": "" }, { "docid": "3ad0de34f5b350800ed1dfb25f8a9a18", "score": "0.642231", "text": "public static void quitGui() {\n\t\tif (drumGui.isVisible()) {\n\t\t\tdrumGui.setVisible(false);\n\t\t}\n\t}", "title": "" }, { "docid": "e53cc9798305fde32c8a62260501f64a", "score": "0.64030665", "text": "@Override\r\n\t\t\tpublic void windowClosing(WindowEvent e) {\n\t\t\t\tsetVisible(false);\r\n\t\t\t\tdispose();\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t}", "title": "" }, { "docid": "cf4313b503aa1564b8fc4ee98979ed08", "score": "0.63795966", "text": "@FXML void closeHandler(ActionEvent event) {\n Platform.exit();\n }", "title": "" }, { "docid": "3a7abc60368d97577d55c81ac3d45794", "score": "0.63702774", "text": "public void close() {\n\t\tPlatform.runLater(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tstage.close();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "7ab30f8090e3d0e06356a13d89aedb5f", "score": "0.6369337", "text": "private void closeDialog()\r\n {\r\n editDlg.hide();\r\n }", "title": "" }, { "docid": "7a6b381747258a4d8ff67bbf4bfcbcad", "score": "0.63575673", "text": "private void close(){\n WindowEvent winClosing = new WindowEvent(this, WindowEvent.WINDOW_CLOSING);\n Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(winClosing);\n }", "title": "" }, { "docid": "f776ea12554f248a287cafae563aa015", "score": "0.63256633", "text": "private void windowClose() {\n \t\tif (GameData.getCurrentGame() != null)\n \t\t\tGameData.getCurrentGame().writeData();\n \t\t\n \t\tif (!Bonus.getAllQuestions().isEmpty()) \n \t\t\tBonus.writeData();\n \t\t\n \t\tSystem.exit(0);\n \t}", "title": "" }, { "docid": "4e3b9e603dfdf507baf02b6992a18803", "score": "0.63226515", "text": "@Override\n\tpublic void close() {\n\t\tif(dialog.isShowing()){\n\t\t\tdialog.dismiss();\n\t\t}\n\t}", "title": "" }, { "docid": "53e524c43629fe9742159051fb9f3dc8", "score": "0.6319307", "text": "@Override\n\tpublic void closeView() {\n\t\t\n\t}", "title": "" }, { "docid": "e24dc574819b1ddddaf3dc4208cc44cc", "score": "0.63006896", "text": "public void onClose() {\n controlBar.onClose();\n }", "title": "" }, { "docid": "243b6470bbf73714752e59f026948739", "score": "0.6297229", "text": "public void exit() {\n\t\tui.getView().unregisterProvider();\n\t}", "title": "" }, { "docid": "586f74d4cb156667036e369521f645aa", "score": "0.62904817", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tframe.dispose();\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "title": "" }, { "docid": "38fdacb60eea35b7e3ade13b646872ae", "score": "0.62862164", "text": "public void closeOptionsScreen(OptionsScreen optionsWindow) {\n\t\toptionsWindow.closeWindow();\t\t\n\t}", "title": "" }, { "docid": "d64d417536e405b88819f838939adbb4", "score": "0.627622", "text": "@Action(\"messages.actions.close\")\n public void close() {\n getView().closeDown();\n }", "title": "" }, { "docid": "4a87f3be094e6067aa691a670ceebcdb", "score": "0.62698627", "text": "@SuppressWarnings(\"deprecation\")\n public void close_Window(ActionEvent event) {\n Stage primaryStage = Main.getStage();\n primaryStage.close();\n }", "title": "" }, { "docid": "36b1f07358c3bc34bf834d6d393f9627", "score": "0.62601507", "text": "public void closeWindow() {\n stage.close();\n }", "title": "" }, { "docid": "dcad51ced1c1b01c7cd6e0229a0788cf", "score": "0.62514037", "text": "@Override\n\t\t\tpublic void windowClosing(WindowEvent e)\n {\n\t\t\t\te.getWindow().dispose();\n out.println(\"exit\");\n System.exit(0);\n }", "title": "" }, { "docid": "a17d5ce45d009164a8f4f4ef67181e61", "score": "0.624634", "text": "private void close()\r\n {\r\n ((Stage)m_btnOkay.getScene().getWindow()).close();\r\n }", "title": "" }, { "docid": "d03f1be8162102f6de7a8128762020e1", "score": "0.6246286", "text": "private void close() {\n\n this.finish();\n\n }", "title": "" }, { "docid": "928cb02052b5aea6f5a717e5cad54746", "score": "0.6232506", "text": "@Override\n public void closeMenu() {\n }", "title": "" }, { "docid": "836aa19ca082523d0ff8e7c7ec6ba7fa", "score": "0.6221029", "text": "@Override\n\tpublic void windowClosing(WindowEvent e) {\n\tthis.dispose();\t\n\t}", "title": "" }, { "docid": "c720f7f950d338072b3980365c20d581", "score": "0.6207362", "text": "@Override\n\t\t\tpublic void handle(ActionEvent arg0) {\n\t\t\t\tmainStage.close();\n\t\t\t}", "title": "" }, { "docid": "d61d799a3bd869303059c997b527db4c", "score": "0.6206658", "text": "private void close() {\n dialogStage.fireEvent(new WindowEvent(dialogStage, WindowEvent.WINDOW_CLOSE_REQUEST));\n }", "title": "" }, { "docid": "e6e4474be6b76c4d12001a63f9a50a27", "score": "0.6205747", "text": "protected void closeThis() {\n\t\tthis.setVisible(false);\n\t}", "title": "" }, { "docid": "e6e4474be6b76c4d12001a63f9a50a27", "score": "0.6205747", "text": "protected void closeThis() {\n\t\tthis.setVisible(false);\n\t}", "title": "" }, { "docid": "6dd695eca17481a8f3ddc6bf8228a6fd", "score": "0.61819184", "text": "public void actionClose() {\n mnFormResult = SGuiConsts.FORM_RESULT_CANCEL;\n setVisible(false);\n }", "title": "" }, { "docid": "8b01fb1d65e6139cdbc133ad68240567", "score": "0.61767864", "text": "public void windowClosed(WindowEvent e) {\n\t\tsetVisible(false);\n\t\tmainUI.setVisible(true);\n\t}", "title": "" }, { "docid": "856e6941fb8252d01b9d3ddbaba73960", "score": "0.6171349", "text": "@Override\n public void windowClosing(WindowEvent evt) {\n System.exit(0); // Terminate the program\n }", "title": "" }, { "docid": "856e6941fb8252d01b9d3ddbaba73960", "score": "0.6171349", "text": "@Override\n public void windowClosing(WindowEvent evt) {\n System.exit(0); // Terminate the program\n }", "title": "" }, { "docid": "8497d7bf7540df7279f1a17b61dcbb29", "score": "0.6149644", "text": "public void close(){\n glfwDestroyWindow(window);\n glfwTerminate();\n }", "title": "" }, { "docid": "be9ffa5e7c0f5029b152a3adb81a7e12", "score": "0.61454636", "text": "@Override\n\tpublic void closeTrophyPopup() {\n\t\t\n\t}", "title": "" }, { "docid": "17914d6cb01a0d55470bf3e671f72c6f", "score": "0.61415124", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tframe.dispose();\n\t\t\t\tnew UserAccount.Help_User();\n\t\t\t}", "title": "" }, { "docid": "50707372d199405dc225f0295772a510", "score": "0.613448", "text": "@Override\n public void pluginUIClosing(PluginUIEvent evt) {\n PluginUIContainer boardContainer = evt.getPluginUIContainer();\n BoardPanel boardPanel = (BoardPanel) containersToBoardPanels.get(boardContainer);\n\n if (boardPanel.isActive()) { // otherwise, the user is just closing a \"dead\" frame.\n Game game = boardPanel.getGame();\n\n Object result = OptionPanel.OK;\n if (game.getGameType() == Game.MY_GAME)\n result =\n getI18n()\n .confirm(\n OptionPanel.OK,\n game.isPlayed() ? \"resignDialog\" : \"unexamineDialog\",\n boardPanel);\n\n if (result == OptionPanel.OK) {\n getConn().quitGame(game);\n closeBoardContainer(boardContainer);\n }\n } else closeBoardContainer(boardContainer);\n }", "title": "" }, { "docid": "3de511e7274dfd22ea1a9bb413db099c", "score": "0.61336106", "text": "@Override\n public void exit() {\n Session.logoutUser();\n new LoginMenu().show();\n }", "title": "" }, { "docid": "d669618eb9d680315c37b55bf542e7da", "score": "0.6129939", "text": "public void closeACT(){\n\t\ttry {\n\t\t\tFileOutputStream fout = new FileOutputStream(\"./src/dat/\" + thisUser.getUserName()+\".dat\");\n \t\tObjectOutputStream oos = new ObjectOutputStream(fout);\n\t\t\toos.writeObject(new ArrayList<Album>(albums));\n\t\t\toos.close();\n\t\t} catch (IOException e) {e.printStackTrace();}\n\t\t\n\t\tStage primaryStage = new Stage();\n\t\tParent root = null;\n \n\t\talbumController.setUser(thisUser);\n primaryStage.setTitle(\"Albums Viewer\");\n String programPath = \"/forms/albums.fxml\";\n\n try{\n \troot = FXMLLoader.load(getClass().getResource(programPath));\n \t\n primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>() {\n public void handle(WindowEvent event) {\n\n // consume event\n event.consume();\n \n }\n });\n \n\t primaryStage.setScene(new Scene(root));\n\t }catch(Exception e){}\n \n primaryStage.show();\n primaryStage.setResizable(false);\n \n try{\n \tthis.init();\n }\n catch(Exception e){e.printStackTrace();}\n\t\t\t\t\n Stage thisStage = (Stage) exitBut.getScene().getWindow();\n thisStage.close();\n\t}", "title": "" }, { "docid": "a06596d899edf8e148f7f80c860e0d70", "score": "0.6122406", "text": "private void close(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_close\n this.setVisible(false);\n }", "title": "" }, { "docid": "26c76dd803da981befe2c8a43373a577", "score": "0.61091006", "text": "@Override\n\t public void windowClosing(WindowEvent evt) {\n\t System.exit(0); // Terminate the program\n\t }", "title": "" }, { "docid": "120c7c997f945e8d6b76d34754c3586b", "score": "0.61048025", "text": "@Override\n\tpublic void terminate() {\n\t\tmainFrame.dispose();\n\t\tinstructionsFrame.dispose();\n\t}", "title": "" }, { "docid": "67864d994600745fe58366250bd113af", "score": "0.6100564", "text": "public void close()\r\n\t{\r\n\t}", "title": "" }, { "docid": "45d991d0aec8662cb3c4fdfd1a496655", "score": "0.60958654", "text": "@Override\r\n\t\tpublic void closeMenu() {\n\t\t}", "title": "" }, { "docid": "1cbd36eccb892f8ee83c2257036bc379", "score": "0.6093555", "text": "@Override\r\n\tpublic void windowClosing(WindowEvent e) {\n\t\tsetVisible(false);\r\n\t}", "title": "" }, { "docid": "fd0d2af96e2e25892424156e28662dcf", "score": "0.60870886", "text": "public void exitActionPerformed(){\n frame.dispose();\n }", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "170a8970e110489a0eefa854056ab1f4", "score": "0.6087077", "text": "public void close();", "title": "" }, { "docid": "efa587f3a78e5f7afa1ed40f1361b565", "score": "0.6086367", "text": "@Override\r\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\texit.dispose();\r\n\t\t\t\t\t}", "title": "" }, { "docid": "816080df66b56fcf6953e78407b02b0f", "score": "0.6084047", "text": "default void close() {\n this.dispose();\n }", "title": "" }, { "docid": "b55df8ac43e7802fe77e422a1b73e779", "score": "0.6083078", "text": "private void closeWindow() {\n int dialogResult = JOptionPane.showConfirmDialog(null, \"Weet u zeker dat u dit scherm wilt sluiten zonder op te slaan?\", \"Sluiten\", JOptionPane.YES_NO_OPTION);\n if (dialogResult == JOptionPane.YES_OPTION) {\n this.dispose();\n }\n }", "title": "" }, { "docid": "79b72f0a4506333c01f1ef9b48b59551", "score": "0.60816985", "text": "public void close() {\n\t\tif (this.popupWindow != null) {\n\t\t\tthis.popupWindow.dismiss();\n\t\t}\n\t}", "title": "" }, { "docid": "4f8b4cd803f03514808d33d23a26b146", "score": "0.60803324", "text": "public static void closeWindow() {\n\t\tdriver.close();\n\t}", "title": "" }, { "docid": "e7d827271a849ece1f5e67ee6b2033d1", "score": "0.60783464", "text": "public void closeMainMenu() {\n\n\t\tbackgroundImage.setVisible(false);\n\t\tsingleplayer.setVisible(false);\n\t\tachievements.setVisible(false);\n\t\tmultiplayer.setVisible(false);\n\t\tcampaign.setVisible(false);\n\t\tmodding.setVisible(false);\n\t\tscroll.setVisible(false);\n\t\texit.setVisible(false);\n\t\ttitle.visible = false;\n\t}", "title": "" }, { "docid": "7e158820474c12601b3df0e595e3cd29", "score": "0.6078308", "text": "public void close() {\n \tfm.exit();\n }", "title": "" }, { "docid": "2370ade657b9f9f570ae1eaf72c4be6e", "score": "0.6071595", "text": "public void onGuiClosed() {}", "title": "" }, { "docid": "9dbc39e7ba7c7f0e336f006e4b65ffca", "score": "0.6062321", "text": "public void windowClosing(WindowEvent e) {\n\t\tvisible(false);\n\t\tthis.mainUI.visible(true);\n\n\t}", "title": "" }, { "docid": "d465367e897e6337c1c4befc9b3a516b", "score": "0.60622025", "text": "public final void close() throws PhidgetException {\n\t\tenableEvents(false);\n\t\tnativeClose();\n\t}", "title": "" }, { "docid": "61998435db82b991ba5f1f10fb25915e", "score": "0.6059638", "text": "public void close() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2b9f2ede2d58eb4b437d0d533b9c1bfc", "score": "0.60581887", "text": "public void closeWin() {\n\n Log.getInstance().info(\"Closing window with Passenger search\");\n Stage stage = (Stage) nameField.getScene().getWindow();\n stage.close();\n }", "title": "" }, { "docid": "39bb67d46692879107c6a3e6c8d4937b", "score": "0.6047706", "text": "public void close() {\n\t\t// TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "3f8ad83b5f79878cb3d9aeff3b32198c", "score": "0.6046428", "text": "public void windowClosing(WindowEvent we) { this.dispose(); System.exit(0); }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2c3befd0304cc44b544db6ddf097c44e", "score": "0.0", "text": "public Pregunta findByNumero(int i,int j) {\n\t\t\treturn preguntaRepository.findPreguntaByNumero(i,j);\n\t\t}", "title": "" } ]
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69742316", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.68059677", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.6648208", "text": "@Override\r\n\tpublic void 위험물회피() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "096eb77080c8c192fe461650f49ca14b", "score": "0.65149313", "text": "@Override\r\n public void catering() {\r\n\r\n }", "title": "" }, { "docid": "a21047eaafcc2c1ada6326bfbe33e0ad", "score": "0.64755934", "text": "@Override\r\n public void alquilar() {\n }", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64358324", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.6414421", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cc5af39f74474ffdb7b456b8a10d5774", "score": "0.6357822", "text": "@Override\r\n\tpublic void 길안내() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c18c3127184f8abd7be145ddb9d4c3e6", "score": "0.6348844", "text": "@Override\r\n\tpublic void 온도내리기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bde53ee3de9072b04cd122133e6162a1", "score": "0.6326172", "text": "public void soigner() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fdbf96893589fef5cdd1a8fe92e98938", "score": "0.62869394", "text": "@Override\n\tpublic void enfria() {\n\n\t}", "title": "" }, { "docid": "9ee6be05232928533401d708d518b6ed", "score": "0.62742454", "text": "@Override\r\n\t\t\tpublic void enginetype() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "83c17378086426b4324c4ea8c160e29d", "score": "0.626611", "text": "@Override\r\n\tpublic void provjeri() {\n\r\n\t}", "title": "" }, { "docid": "556495e35d508ac961dae051dd40b377", "score": "0.61844474", "text": "@Override\n\tpublic void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "9da42c54ca8fb8825afce96ad2d2781c", "score": "0.61519784", "text": "@Override\r\n\tpublic void comenzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce01e16cbc1fc0a29d28a4365b63f79d", "score": "0.6131432", "text": "@Override\n\tprotected void specialFuntion() {\n\t\t\n\t}", "title": "" }, { "docid": "c387be8fe936bea8d505f3a779d6ba15", "score": "0.61139184", "text": "@Override\n\tpublic void actualise() {\n\t\t\n\t}", "title": "" }, { "docid": "30c236da9912ee76f7962e7da2c72b59", "score": "0.6074856", "text": "@Override\n\tpublic void chante() {\n\t\t\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.605568", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f13a29996996a34a710d85285e104a7f", "score": "0.6034386", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "90586632a4af36d51003a1554ebef902", "score": "0.6030915", "text": "public void mo24205Oz() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "0b7a2d4389f8d1afdedab87d2ac4fb96", "score": "0.5973926", "text": "@Override\n\tprotected void generateData() {\n\t\treturn;\t\t\n\t}", "title": "" }, { "docid": "43f0eb79e8610935222f70ad7a047f4f", "score": "0.59676504", "text": "protected void Referesh() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "69f727ad790d8c02f9f110fb4190bf05", "score": "0.5958382", "text": "@Override\r\n\tpublic void 에어백펼치기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4fd121321f2d50da2f5700be65d017d8", "score": "0.59534895", "text": "@Override\n\tpublic void filngtonext() {\n\t\t\n\t}", "title": "" }, { "docid": "5289bcfa483e278c4782f4e45b7117eb", "score": "0.59168786", "text": "@Override\n\tpublic void generer() {\n\t\t\n\t}", "title": "" }, { "docid": "c52abf264dc130278399a6a822295dca", "score": "0.5916093", "text": "@Override\n\t\t\tpublic void e() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "661a589ba018609d85af5ba0fc651d02", "score": "0.5909626", "text": "@Override\n\t\tprotected void process() {\n\t\t}", "title": "" }, { "docid": "661a589ba018609d85af5ba0fc651d02", "score": "0.5909626", "text": "@Override\n\t\tprotected void process() {\n\t\t}", "title": "" }, { "docid": "c28afddea09ba99a1adc54b371dabaa1", "score": "0.59047043", "text": "@Override\r\n\tpublic void 온도높이기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5886539", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "6827ba40809e6f9bad9a043036edaa04", "score": "0.58847684", "text": "@Override\r\n\tpublic void dormir() {\n\t}", "title": "" }, { "docid": "6afb1e3a721c7314f12581b77ae35716", "score": "0.5883849", "text": "@Override\n\tprotected void colisao() {\n\t\t\n\t}", "title": "" }, { "docid": "40a41a107fa03a270a78b03d0bcf910d", "score": "0.58717483", "text": "private void ergebnisAuswerten() {\n\n\t}", "title": "" }, { "docid": "c5fa2315669c0925b60762f7cca5f0f6", "score": "0.58611465", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "a672d2d2a4b7bb037f7f20d62ff1f55e", "score": "0.58465064", "text": "@Override\n\tpublic void ss() {\n\t\t\n\t}", "title": "" }, { "docid": "fa29da40be3a8b33b07b21fe8e0ba298", "score": "0.5842648", "text": "@Override\n\tpublic void notity() {\n\t\t\n\t}", "title": "" }, { "docid": "4ff7fd5d2a0aebc561e81557b528262a", "score": "0.58340675", "text": "@Override\n\tprotected void initialize() {\n\n }", "title": "" }, { "docid": "f323cb003520a5608cea47c5412447e4", "score": "0.58295655", "text": "@Override\n\t\t\t\tpublic int characteristics() {\n\t\t\t\t\treturn 0;\n\t\t\t\t}", "title": "" }, { "docid": "089be79d90be02605e37d2a48b09e194", "score": "0.58192337", "text": "@Override\n\tpublic void gril() {\n\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5791661", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "630b43215e2b87f8b2bd389cae71f8a6", "score": "0.5789139", "text": "@Override\n\tprotected void dataAcquisition() {\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "79a702a1409937a9a2dd8f8167323190", "score": "0.5784611", "text": "@Override\n\tvoid promocja() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "86ca2b6b7e0174532c4a1f8a4dec7946", "score": "0.577024", "text": "@Override\r\n\tpublic void 주차보조() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e74841359f2b616460c1fcf1e3e0b696", "score": "0.57600427", "text": "@Override\n\tpublic void Oeffne_Schadenanlage() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "a8b768dae1b52549249069e4d6a9253f", "score": "0.5750039", "text": "@Override\n public int getType() {\n return 0;\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f98329c4ce112f2ebcf93e4b478576a0", "score": "0.5745665", "text": "@Override\r\n\tpublic void work4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6cfde2be0b51f55a421cdc3e28609c66", "score": "0.57384264", "text": "@Override\n\tprotected void salario() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f5fd4f1b89ecbb54b8b64a1b9e40552c", "score": "0.5733982", "text": "protected void mo7431b() {\n }", "title": "" }, { "docid": "3fb97b46c147b19f8180197325c66d34", "score": "0.5722489", "text": "@Override\n public void quite() {\n }", "title": "" }, { "docid": "f448e47f2da25727e964a3718545f012", "score": "0.5718643", "text": "public final void mo93547c() {\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.5714686", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "d7c48eb628caa38ca564de355edb7e6e", "score": "0.5709367", "text": "@Override\n public int getType() {\n return 1;\n }", "title": "" }, { "docid": "593053b99bc5abca6d010d9e21a31e6b", "score": "0.570741", "text": "@Override\r\n\tpublic void 자율주행하기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28872bba7a5c17cad13c73f21624cabc", "score": "0.57049847", "text": "@Override\n\tpublic void CreateRs() {\n\t\t\n\t}", "title": "" }, { "docid": "8e056894cd061aea767d71a9c1b43d97", "score": "0.5701457", "text": "@Override\n\tpublic void init(){\n\t}", "title": "" }, { "docid": "2102a3691307d06f0d2ee35d192fccc6", "score": "0.57008916", "text": "protected Encontro() {\n\t}", "title": "" }, { "docid": "e8f6ecd3f06f1f0e76ca511991b76265", "score": "0.5697829", "text": "protected void defesa(){}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.5696396", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "09b27558b293ecd91a8d2d3a705d8a37", "score": "0.5676146", "text": "@Override\n\t\t\tpublic void c() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.567194", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "75e13fc47dcc1e84b4615e5de4d4c091", "score": "0.56708115", "text": "@Override\n public String getName() {\n return null;\n }", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669723", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "81488a3212e9004be8808ba15e91f1a5", "score": "0.56636477", "text": "public final void mo93546b() {\n }", "title": "" }, { "docid": "1b6ae1f9acb8e538994b7d00bae50317", "score": "0.5662892", "text": "@Override\n\tprotected void skirmish() {\n\n\t}", "title": "" }, { "docid": "da07444f023c4f45aa766ef285cccf1c", "score": "0.56608945", "text": "@Override\n\tpublic void 吃斋() {\n\n\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" } ]
d48e19bb3591e8fee3d422697073792b
The information of stream. .google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
[ { "docid": "5273b131bc23c18216553591dd94cbc9", "score": "0.90500665", "text": "com.google.cloud.apigeeconnect.v1.StreamInfo getStreamInfo();", "title": "" } ]
[ { "docid": "1d4531747969a99f1115069c3efb2e2b", "score": "0.86346877", "text": "com.google.cloud.apigeeconnect.v1.StreamInfoOrBuilder getStreamInfoOrBuilder();", "title": "" }, { "docid": "77ff44a4f834dc638caaecea26b5dd90", "score": "0.8025469", "text": "com.akamai.akamill.stream.Stream.StreamInfo getStreaminfo();", "title": "" }, { "docid": "03a4a677e8723ae150a5a2599472a0de", "score": "0.80231386", "text": "com.akamai.akamill.stream.Stream.StreamInfoOrBuilder getStreaminfoOrBuilder();", "title": "" }, { "docid": "c81e5384c24ffe2c04d94422ae587c9a", "score": "0.7594311", "text": "public com.akamai.akamill.stream.Stream.StreamInfo getStreaminfo() {\n if (streaminfoBuilder_ == null) {\n return streaminfo_ == null ? com.akamai.akamill.stream.Stream.StreamInfo.getDefaultInstance() : streaminfo_;\n } else {\n return streaminfoBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "a457849be9b0f8238fa1d4bc9c6d2992", "score": "0.7509364", "text": "public com.akamai.akamill.stream.Stream.StreamInfo getStreaminfo() {\n return streaminfo_ == null ? com.akamai.akamill.stream.Stream.StreamInfo.getDefaultInstance() : streaminfo_;\n }", "title": "" }, { "docid": "05a21c337cf2f250ed3cc5007fbc8216", "score": "0.7376101", "text": "public com.akamai.akamill.stream.Stream.StreamInfoOrBuilder getStreaminfoOrBuilder() {\n if (streaminfoBuilder_ != null) {\n return streaminfoBuilder_.getMessageOrBuilder();\n } else {\n return streaminfo_ == null ?\n com.akamai.akamill.stream.Stream.StreamInfo.getDefaultInstance() : streaminfo_;\n }\n }", "title": "" }, { "docid": "f1ac31d4021d9773a4924d7945b25159", "score": "0.7348444", "text": "public com.akamai.akamill.stream.Stream.StreamInfoOrBuilder getStreaminfoOrBuilder() {\n return streaminfo_ == null ? com.akamai.akamill.stream.Stream.StreamInfo.getDefaultInstance() : streaminfo_;\n }", "title": "" }, { "docid": "5ec38f5aac449c87862c4199f621517d", "score": "0.6563175", "text": "public String getStream() {\n return stream;\n }", "title": "" }, { "docid": "8ffa239cf5853ec92394a6e22204295d", "score": "0.6438198", "text": "public String getStream() {\n return stream;\n }", "title": "" }, { "docid": "b1f0f1ac0a69035387f8676c536207dc", "score": "0.6366476", "text": "public boolean hasStreaminfo() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "ea4964ef979a0b998d8285a4fe3fbde0", "score": "0.6313418", "text": "public Builder setStreaminfo(com.akamai.akamill.stream.Stream.StreamInfo value) {\n if (streaminfoBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n streaminfo_ = value;\n onChanged();\n } else {\n streaminfoBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "title": "" }, { "docid": "b71f17f24672889a38e9f86dba81de4c", "score": "0.6310515", "text": "public boolean hasStreaminfo() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "083b0d8b3710c5e8fa058753f095a7ff", "score": "0.61732286", "text": "boolean hasStreamInfo();", "title": "" }, { "docid": "2246f0edf9456b8a9f2e8445b9fa5543", "score": "0.61193377", "text": "boolean hasStreaminfo();", "title": "" }, { "docid": "fce383f8afc79edd6ac03118f5b91380", "score": "0.6088783", "text": "public com.akamai.akamill.stream.Stream.StreamInfo.Builder getStreaminfoBuilder() {\n bitField0_ |= 0x00000004;\n onChanged();\n return getStreaminfoFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "873e811f554d2d043106ed34bd0b53dc", "score": "0.60489726", "text": "public String getStreamName() {\n return this.telemetryStream.getName();\n }", "title": "" }, { "docid": "4d68bde4713d74e7e8eab870b3be3976", "score": "0.59623104", "text": "static Map getStreamMetadata() {\n Map<String, String> wmbrStatusMap = new HashMap<>();\n XmlPullParser parser = setupXmlParser(CURRENT_INFO_URL);\n\n try {\n int eventType = parser.getEventType();\n\n while(eventType != XmlPullParser.END_DOCUMENT) {\n String tagName;\n\n if(eventType == XmlPullParser.START_TAG) {\n\n tagName = parser.getName();\n\n if (\"time\".equals(tagName)) {\n wmbrStatusMap.put(\"time\", parser.nextText());\n } else if (\"showname\".equals(tagName)) {\n // If the showname has an irregular character, it may be parsed incorrectly due to mismatched encodings\n // This block will attempt to convert to standard UTF-8\n String utfString;\n try {\n utfString = new String(parser.nextText().getBytes(StandardCharsets.ISO_8859_1), StandardCharsets.UTF_8);\n wmbrStatusMap.put(\"showName\", utfString);\n } catch (UnsupportedEncodingException e) {\n wmbrStatusMap.put(\"showName\", parser.nextText());\n e.printStackTrace();\n }\n } else if (\"showhosts\".equals(tagName)) {\n // If the host name has an irregular character, it may be parsed incorrectly due to mismatched encodings\n // This block will attempt to convert to standard UTF-8\n String utfString;\n try {\n utfString = new String(parser.nextText().getBytes(StandardCharsets.ISO_8859_1), StandardCharsets.UTF_8);\n wmbrStatusMap.put(\"showHosts\", utfString);\n } catch (UnsupportedEncodingException e) {\n wmbrStatusMap.put(\"showHosts\", parser.nextText());\n e.printStackTrace();\n }\n } else if (\"showid\".equals(tagName)) {\n wmbrStatusMap.put(\"showID\", parser.nextText());\n } else if (\"showurl\".equals(tagName)) {\n wmbrStatusMap.put(\"showUrl\", parser.nextText());\n } else if (\"temp\".equals(tagName)) {\n /* Android interprets the degree symbol incorrectly because of its default text encoding.\n To get it to display properly, we pass the text bitstream to a new UTF-8 string */\n String utfString;\n try {\n utfString = new String(parser.nextText().getBytes(StandardCharsets.ISO_8859_1), StandardCharsets.UTF_8);\n wmbrStatusMap.put(\"temperature\", utfString);\n } catch (UnsupportedEncodingException e) {\n wmbrStatusMap.put(\"temperature\", parser.nextText());\n e.printStackTrace();\n }\n } else if (\"wx\".equals(tagName)) {\n wmbrStatusMap.put(\"wx\", parser.nextText());\n }\n }\n\n eventType = parser.next(); // Advance the parser to the next tag\n }\n\n } catch (XmlPullParserException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return wmbrStatusMap;\n\n }", "title": "" }, { "docid": "10b675e37a0bb0cce3a629297c51a556", "score": "0.5829197", "text": "public void setStream(String stream) {\n this.stream = stream;\n }", "title": "" }, { "docid": "520a9417577273a6609337918e1f668e", "score": "0.582486", "text": "public Properties getStreamMap () {\n\treturn streamMap;\n }", "title": "" }, { "docid": "3cc6f9a219f9851deaad2ca03ef326b9", "score": "0.5820742", "text": "protected StreamInitiation getStreamInitiation() {\n return streamInitiation;\n }", "title": "" }, { "docid": "8aa1945bc0d13b1b0311f8a39f8f2a8a", "score": "0.5819526", "text": "private StreamInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "2e64d5116fc7f9e2e3443e66e2b17a17", "score": "0.57924366", "text": "public abstract IIOMetadata getStreamMetadata() throws IOException;", "title": "" }, { "docid": "b6dd2a3bb66ea07f7f4d5df35f71f7f2", "score": "0.57389104", "text": "public String GetStreamURL() {\n\t\t\n\t\t\n\t\tAuthCall ac = new AuthCall();\n\t\tString AV = ac.GatAuthToken();\n\t\tEncryptAPI ev1 = new EncryptAPI();\n\t\tString eValue1= ev1.Encrypt();\n\t\t\n\t\t\n\t\tSystem.out.println(eValue1);\n\t\tSystem.out.println(AV);\n\t\t\n\t\tRestAssured.baseURI= \"http://api.multitvsolution.com/automatorapi/v5/partner/stream\";\n\t\tRequestSpecification request = RestAssured.given();\n\t\t\n\t\t//Headers\n\t\trequest.header(\"Content-Type\",\"application/x-www-form-urlencoded\");\n\t\trequest.header(\"Authorization\", AV);\n\t\t\n\t\trequest.queryParam(\"Payload\", eValue1);\n\t\t\n\t\tResponse res = request.request(Method.GET);\n\t\t\n\t\tSystem.out.println(res.getBody().asString());\n\t\t\n\t\t\n\t\treturn res.getBody().asString();\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "6f20a26f8527b61faf8f3da688990e8f", "score": "0.57242566", "text": "public java.util.List<StreamPacketProtos.StreamPacket.StreamData> getStreamDataList() {\n return streamData_;\n }", "title": "" }, { "docid": "73c80e25c962b6acb7dd80248288c7ff", "score": "0.57141346", "text": "com.akamai.akamill.stream.Stream.StreamInfo.WindowType getWindowtype();", "title": "" }, { "docid": "0898aa3db357e6605804440c7c188cf4", "score": "0.57128", "text": "public String getStreamID() {\n return streamInitiation.getSessionID();\n }", "title": "" }, { "docid": "ca8e4db71a566eebcd09e7ad02aaef24", "score": "0.5650423", "text": "com.akamai.akamill.stream.Stream.HashInfoOrBuilder getHashinfoOrBuilder();", "title": "" }, { "docid": "cb1cbb3ae43b2857d8896c50aac391ba", "score": "0.56361866", "text": "Observable<PhotoInfoWrapper> getPublicPhotoStream();", "title": "" }, { "docid": "d46a82731517bd987ee45a59fd0c1744", "score": "0.5628324", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n com.akamai.akamill.stream.Stream.StreamInfo, com.akamai.akamill.stream.Stream.StreamInfo.Builder, com.akamai.akamill.stream.Stream.StreamInfoOrBuilder> \n getStreaminfoFieldBuilder() {\n if (streaminfoBuilder_ == null) {\n streaminfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.akamai.akamill.stream.Stream.StreamInfo, com.akamai.akamill.stream.Stream.StreamInfo.Builder, com.akamai.akamill.stream.Stream.StreamInfoOrBuilder>(\n getStreaminfo(),\n getParentForChildren(),\n isClean());\n streaminfo_ = null;\n }\n return streaminfoBuilder_;\n }", "title": "" }, { "docid": "158146c1ec52d349b31448b1ed8fddf1", "score": "0.5613123", "text": "public abstract String getStreamName();", "title": "" }, { "docid": "cc065f3f697df8a932fa14446a2b7aa5", "score": "0.5571679", "text": "public com.akamai.akamill.stream.Stream.HashInfo getHashinfo() {\n return hashinfo_ == null ? com.akamai.akamill.stream.Stream.HashInfo.getDefaultInstance() : hashinfo_;\n }", "title": "" }, { "docid": "6cc29aa954f0be8905cc13066f845f75", "score": "0.5569846", "text": "public com.akamai.akamill.stream.Stream.HashInfo getHashinfo() {\n if (hashinfoBuilder_ == null) {\n return hashinfo_ == null ? com.akamai.akamill.stream.Stream.HashInfo.getDefaultInstance() : hashinfo_;\n } else {\n return hashinfoBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "aceb358c8c6734fe9bb98de22ad0b386", "score": "0.5511791", "text": "public Builder mergeStreaminfo(com.akamai.akamill.stream.Stream.StreamInfo value) {\n if (streaminfoBuilder_ == null) {\n if (((bitField0_ & 0x00000004) == 0x00000004) &&\n streaminfo_ != null &&\n streaminfo_ != com.akamai.akamill.stream.Stream.StreamInfo.getDefaultInstance()) {\n streaminfo_ =\n com.akamai.akamill.stream.Stream.StreamInfo.newBuilder(streaminfo_).mergeFrom(value).buildPartial();\n } else {\n streaminfo_ = value;\n }\n onChanged();\n } else {\n streaminfoBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "title": "" }, { "docid": "647d148fdaa0f9dcaefb30c2e8f6853c", "score": "0.5465743", "text": "public Boolean getLiveStream() throws IOException{\r\n\t\ttry {\r\n\t\t\tHttpResponse<JsonNode> jsonResponse = Unirest.get(\"https://api.twitch.tv/kraken/streams/\"+channel.get(0))\r\n\t\t\t\t\t .header(\"accept\", \"application/json\")\r\n\t\t\t\t\t .header(\"Client-ID\", apiKey)\r\n\t\t\t\t\t .queryString(\"stream_type\", \"live\")\r\n\t\t\t\t\t .asJson();\r\n\t\t\tJSONObject json = jsonResponse.getBody().getObject();\r\n\t\t\tMap<String, Object> datas = this.getStreamDatas(json);\r\n\t\t\tif(!datas.get(\"stream\").toString().equals(\"null\")){\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t} catch (UnirestException e) {\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn null;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "92e6887529566a98686e984fad3e3c58", "score": "0.54596114", "text": "IDeviceStream getDeviceStream(UUID streamId) throws SiteWhereException;", "title": "" }, { "docid": "1b11371820767bc7e546309d9b1bc78b", "score": "0.54543537", "text": "public java.util.List<? extends StreamPacketProtos.StreamPacket.StreamDataOrBuilder>\n getStreamDataOrBuilderList() {\n return streamData_;\n }", "title": "" }, { "docid": "4ecfe06ddaaac4f1d0b315dd597f95ff", "score": "0.5442839", "text": "public String getDescription() {\n return streamInitiation.getFile().getDesc();\n }", "title": "" }, { "docid": "8c2362a2915859601384befa7e6697e1", "score": "0.5434188", "text": "@Override\n public ObjectStreamClass getObjectStreamClass() {\n\treturn streamClass;\n }", "title": "" }, { "docid": "8c31e608515e7264fe520292176beabe", "score": "0.5403465", "text": "private void checkStream() {\n String streamName = props.getStreamName();\n try {\n DescribeStreamResult result = kinesisClient.describeStream(streamName);\n String status = result.getStreamDescription().getStreamStatus();\n if (!\"ACTIVE\".equals(status)) {\n String msg = \"Stream \" + streamName + \" status is invalid: \" + status;\n throw new RuntimeException(msg);\n }\n } catch (ResourceNotFoundException e) {\n String msg = \"Stream \" + streamName + \" not found. Please create Stream in Kinesis.\";\n throw new RuntimeException(msg);\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "a68c4f046bc66aff0bd2c5ef8b806cea", "score": "0.53924745", "text": "com.akamai.akamill.stream.Stream.HashInfo getHashinfo();", "title": "" }, { "docid": "5997a68cc94139c1a13b5152def37785", "score": "0.5392351", "text": "org.kurento.client.VideoInfo getVideoInfo();", "title": "" }, { "docid": "c92892d39bfa3c033d25ac1a1686b964", "score": "0.5391296", "text": "public Integer getStreamId() {\n return streamId;\n }", "title": "" }, { "docid": "75188230fa28852e2bc592ba4542d0e3", "score": "0.5382605", "text": "public java.util.List<StreamPacketProtos.StreamPacket.StreamData> getStreamDataList() {\n return java.util.Collections.unmodifiableList(streamData_);\n }", "title": "" }, { "docid": "02d4c86a133584bdc918a7325e7c11fa", "score": "0.5370097", "text": "public RTPStream\n getStream();", "title": "" }, { "docid": "52d8445417968208fe8e2a83a2025fed", "score": "0.535149", "text": "public String getStreamId() {\n return streamId;\n }", "title": "" }, { "docid": "3ae6094dae842994ce816bf3e7f3456f", "score": "0.5346094", "text": "public PicoP_VideoCaptureInfo(){\n\t\tthis.videoStartPosition = new PicoP_Point();\n\t\tthis.hSyncPolarity = PicoP_PolarityE.ePOLARITY_NEGATIVE;\n\t\tthis.vSyncPolarity = PicoP_PolarityE.ePOLARITY_NEGATIVE;\n\t\tthis.pixelClockEdge = PicoP_PolarityE.ePOLARITY_NEGATIVE;\n\t\tthis.resolution = new PicoP_Extents();\n\t\tthis.pixelAspectRatio = 0;\n\t\tthis.colorSpace = PicoP_VideoColorSpaceE.eCOLOR_SPACE_RGB;\n\t\tthis.interlaceField = PicoP_InterlaceE.eINTERLACE_NONE;\n\t}", "title": "" }, { "docid": "98b9b218f1989ce98a1c1ef4c8417f46", "score": "0.5343607", "text": "public StreamSpecification getStreamSpecification() {\n return this.streamSpecification;\n }", "title": "" }, { "docid": "98d66d3c87ad850c2fce56324b37f8de", "score": "0.5341929", "text": "int getStreamFlags();", "title": "" }, { "docid": "8d1b676f959866a282dee4b5e8e62cdd", "score": "0.53416455", "text": "public LinkedList<String> getStream() {\r\n return stream;\r\n }", "title": "" }, { "docid": "4748823be3fd3e5c5e751522c20881f2", "score": "0.5340796", "text": "public String getStreamPath() {\n\t\treturn FileUtils.getWorkspaceDir() + \"/stream-\" + pointer.getName();\n\t}", "title": "" }, { "docid": "97090d2f090ee56f4d55670184d1f706", "score": "0.53337514", "text": "java.util.List<StreamPacketProtos.StreamPacket.StreamData>\n getStreamDataList();", "title": "" }, { "docid": "7fe30885af11a797a1ba57891fbe92c3", "score": "0.5324198", "text": "public UserStream userStream();", "title": "" }, { "docid": "b0123790bc799b96088ab560000709c7", "score": "0.5311784", "text": "public int getStreamDataCount() {\n return streamData_.size();\n }", "title": "" }, { "docid": "7b55f46248b5739a743a70a815e617a9", "score": "0.5304331", "text": "public int getStreamDataCount() {\n return streamData_.size();\n }", "title": "" }, { "docid": "ad8718655cdf8cddb3fdea5e14d951cc", "score": "0.5289957", "text": "public StreamPacketProtos.StreamPacket.StreamDataOrBuilder getStreamDataOrBuilder(\n int index) {\n return streamData_.get(index);\n }", "title": "" }, { "docid": "f6bd69022ceebe245c2a88669a69fc04", "score": "0.52885336", "text": "private void subscribeToStream(Stream stream) {\n Log.i(\"yuyong_video\", \"subscribeToStream: \");\n MyLog.writeLog(\"OkHttp\", \"subscribeToStream=================================== \");\n mSubscriber = new Subscriber(getActivity(), stream);\n mSubscriber.setVideoListener(this);\n mSession.subscribe(mSubscriber);\n }", "title": "" }, { "docid": "2fc237bdd85f1a95a66bc88b5d964918", "score": "0.5278687", "text": "int getStreamId();", "title": "" }, { "docid": "d9a3ba43e2550fcb34d9015b5117780e", "score": "0.5271983", "text": "static void setInfoStream() throws Exception {\n\n\t\tCollection collection = getCollection();\n\n\t\tString path = \"C:/tmp/info_stream.xml\";\n\t\tDocument doc = Dom4jUtils.getXmlDocument(new File(path));\n\t\tInfoStream myInfoStream = new InfoStream(doc.getRootElement().createCopy());\n\t\tmyInfoStream.setLink(\"yaba\");\n\n\t\tMetadataReader mdReader = collection.nsdlColl.metadata;\n\t\tModifyMetadataRequest request = new ModifyMetadataRequest(mdReader.getHandle());\n\n\t\tElement nsdl_dc = mdReader.getDataStream(\"nsdl_dc\");\n\t\tpp(nsdl_dc);\n\t\trequest.setDataStream(\"nsdl_dc\", nsdl_dc);\n\t\trequest.setDataInfoStream(\"nsdl_dc\", myInfoStream.asElement());\n\t\trequest.submit();\n\n\t\tpp(myInfoStream.asElement());\n\t}", "title": "" }, { "docid": "edde3d6c58f6eb59c56ea14a2cbe4f98", "score": "0.52655286", "text": "public String getStreamId() {\n return this.streamId;\n }", "title": "" }, { "docid": "195c4156dcf69aea0f8314ed0d501ec7", "score": "0.5260855", "text": "public com.akamai.akamill.stream.Stream.HashInfoOrBuilder getHashinfoOrBuilder() {\n if (hashinfoBuilder_ != null) {\n return hashinfoBuilder_.getMessageOrBuilder();\n } else {\n return hashinfo_ == null ?\n com.akamai.akamill.stream.Stream.HashInfo.getDefaultInstance() : hashinfo_;\n }\n }", "title": "" }, { "docid": "9d562ebedd553e377cfb9a4555470f96", "score": "0.5249934", "text": "public com.akamai.akamill.stream.Stream.HashInfoOrBuilder getHashinfoOrBuilder() {\n return hashinfo_ == null ? com.akamai.akamill.stream.Stream.HashInfo.getDefaultInstance() : hashinfo_;\n }", "title": "" }, { "docid": "0210fbf5f13993b81459ba7b829f7eb3", "score": "0.5248149", "text": "@Override\n\tpublic TokenStream getStream() {\n\t\treturn t_stream;\n\t}", "title": "" }, { "docid": "33ddc5890b848bba76c15b0c18a8e4c4", "score": "0.5231834", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getInfo() {\n return info_;\n }", "title": "" }, { "docid": "ff7bf73a6371cbecfdc32df086efb778", "score": "0.5229777", "text": "private String getStreamLink(Camera cam) {\n String streamLink = \"\";\n\n if (cam instanceof IPCamera) {\n streamLink = ((IPCamera) cam).getStreamLink();\n } else if (cam instanceof SimpleCamera) {\n streamLink = ((SimpleCamera) cam).getStreamLink();\n }\n\n return streamLink;\n }", "title": "" }, { "docid": "ad8df889d6df3f5bc23ce7001c09c75f", "score": "0.5208718", "text": "private void twitterStream() {\n\t\tfinal TwitterAPIToken token = DefaultTokenFactory.get(TwitterAPIToken.class);\n\t\tfinal Stream<Status> stream = new TwitterStreamDataset(token);\n\n\t\t// Get the URLs\n\t\tfinal Stream<URL> urlStream = stream.map(new TwitterURLExtractor()); \n\t\t// Transform/filter to get potential image URLs\n\t\tfinal Stream<URL> imageUrlStream = urlStream.map(new ImageSiteURLExtractor(false));\n\t\t\n\t\tfinal Stream<MBFImage> imageStream = imageUrlStream.map(ImageFromURL.MBFIMAGE_EXTRACTOR);\n\t\t\n\t\timageStream.map(new MultiFunction<MBFImage,MBFImage>() {\n\t\tHaarCascadeDetector detector = HaarCascadeDetector.BuiltInCascade.frontalface_default.load();\n\n\t\t@Override\n\t\tpublic List<MBFImage> apply(MBFImage in) {\n\t\t\tfinal List<DetectedFace>detected = detector.detectFaces(in.flatten());\n\t\t\tfinal List<MBFImage> faces = new ArrayList<MBFImage>();\n\t\t\tfor (final DetectedFace face : detected) {\n\t\t\t\tfaces.add(in.extractROI(face.getBounds()));\n\t\t\t}\n\n\t\t\treturn faces;\n\t\t\t\n\t\t\t\n\t\t}\n\t\t}).forEach(new Operation<MBFImage>() {\n\n\t\t\t@Override\n\t\t\tpublic void perform(MBFImage image) {\n\t\t\t\tDisplayUtilities.displayName(image, \"image\",true);\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t}", "title": "" }, { "docid": "966a950d0bde80297ae78c188998a0a6", "score": "0.5202057", "text": "@GET\n @Path(\"/streams/{stream-id}\")\n public void getStreamSpecification(HttpRequest request, HttpResponder responder,\n @PathParam(\"stream-id\") final String streamId) {\n dataList(responder, store, dsFramework, Data.STREAM, Constants.DEFAULT_NAMESPACE, streamId, null);\n }", "title": "" }, { "docid": "e4da78acdfcbe1d83497b05e28460254", "score": "0.51931447", "text": "public boolean getLiveStreaming() {\n return liveStreaming_;\n }", "title": "" }, { "docid": "33f8156e2581ea386753a3c413572f92", "score": "0.5191514", "text": "public String getStreamSource() {\n if (StringUtils.isBlank(streamSource)) {\n return FilenameUtils.normalize(outputDir + File.separator + namingOutput(elevation, \"streamSource\", \"Raster Dataset\", \"tif\"));\n }\n return this.streamSource;\n }", "title": "" }, { "docid": "d7f7d0e66c75aa39f492ac924e62da30", "score": "0.5174732", "text": "private DashboardEntry buildStreamModule() {\n List<GameConfig> storedGames = GameDB.getInstance(mContext).getAllUnfilteredGames();\n\n if (storedGames != null) {\n for (int i=0; i < storedGames.size(); i++) {\n if (i > 3) {\n break;\n }\n mRequestQueue.add(createStreamSummaryRequest(storedGames.get(i).getGameName(), mSummaries));\n }\n\n\n // Wait 4 seconds or 3 summary responses\n while (mTimeAwaitingTwitchSummaryResponse < 4000) {\n if (mSummaries.size() >= 3 || mSummaries.size() >= storedGames.size()) {\n break;\n }\n Log.i(TAG, \"Waiting for twitch calls to finish: \" + mTimeAwaitingTwitchSummaryResponse);\n try {\n Thread.sleep(100);\n mTimeAwaitingTwitchSummaryResponse += 100;\n } catch (InterruptedException ie) {\n }\n }\n }\n\n DashboardEntry dashboardEntry = new DashboardEntry();\n dashboardEntry.setHeader(\"FGC Streams on Twitch\");\n dashboardEntry.setType(DashboardEntry.TWITCH_STREAM_COUNT);\n StringBuilder sb = new StringBuilder(mSummaries.size() * 3);\n boolean isFirstItem = true;\n\n for (int i = 0; i < mSummaries.size(); i++) {\n if (isFirstItem) {\n isFirstItem = false;\n } else {\n sb.append(StringUtils.multipleLineBreaks(2));\n }\n sb.append(mSummaries.get(i).getGameNameFromQuery());\n sb.append(StringUtils.multipleLineBreaks(1));\n sb.append(\" \" + mSummaries.get(i).getChannels() + \" Live Streams \" +\n \"with \" + mSummaries.get(i).getViewers() + \" Viewers\");\n }\n dashboardEntry.setContent(sb.toString());\n return dashboardEntry;\n }", "title": "" }, { "docid": "278e25fd606e66c78db5ae421d44b95e", "score": "0.51492035", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getInfo() {\n return info_;\n }", "title": "" }, { "docid": "7bb2d550493b33929b442f7dced212f7", "score": "0.5138285", "text": "public int streamId()\n {\n return buffer().getInt(offset() + STREAM_ID_FIELD_OFFSET, LITTLE_ENDIAN);\n }", "title": "" }, { "docid": "32d39bd661f6767b943afad6395d5042", "score": "0.51362944", "text": "@GET\n @Path(\"/streams\")\n public void getStreams(HttpRequest request, HttpResponder responder) {\n appFabricDataHttpHandler.getStreams(RESTMigrationUtils.rewriteV2RequestToV3(request), responder,\n Constants.DEFAULT_NAMESPACE);\n }", "title": "" }, { "docid": "036320b4148c02a71f7bbb4941fd0e25", "score": "0.5119745", "text": "boolean getLiveStreaming();", "title": "" }, { "docid": "370bf4469c422df95b912ec59139f836", "score": "0.5117478", "text": "public int getStreamId() {\n return streamId_;\n }", "title": "" }, { "docid": "d5e0105d74ba2786050c504bca41ab5d", "score": "0.51111645", "text": "protected void configureStream(boolean startPreview) {\n stream = new R5Stream(new R5Connection(configuration));\n stream.setLogLevel(R5Stream.LOG_LEVEL_DEBUG);\n stream.connection.addListener(new R5ConnectionListener() {\n @Override\n public void onConnectionEvent(R5ConnectionEvent event) {\n Log.d(\"publish\", \"connection event code \" + event.value() + \"\\n\");\n switch (event.value()) {\n case 0://open\n Log.d(\"publish_xmpp: \", \"Connection Listener - Open\");\n break;\n case 1://close\n Log.d(\"publish_xmpp: \", \"Connection Listener - Close\");\n break;\n case 2://error\n Log.d(\"publish_xmpp: \", \"Connection Listener - Error: \" + event.message);\n break;\n }\n }\n });\n\n // Check the status of the stream\n stream.setListener(new R5ConnectionListener() {\n @Override\n public void onConnectionEvent(R5ConnectionEvent event) {\n switch (event) {\n case CONNECTED:\n Log.d(\"publish_xmpp: \", \"Stream Listener - Connected\");\n break;\n case DISCONNECTED:\n Log.d(\"publish_xmpp: \", \"Stream Listener - Disconnected\");\n // show dialog when recording going to be paused\n if (isPublishing && !isUserDisconnected && !stopByButton) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n UpdateViewWhenStreamStopped();\n SessionErrorWarningDialog(getString(R.string.go_back), getString(R.string.stream_error_title), getString(R.string.stream_error_message_play_stream));\n }\n });\n }\n break;\n case START_STREAMING:\n Log.d(\"publish_xmpp: \", \"Stream Listener - Started Streaming\");\n // Stop live button will enable after 15 seconds\n handler.postDelayed(new Runnable() {\n @Override\n public void run() {\n //Do after 15 seconds\n mReadyToStop = true;\n }\n }, 15000);\n break;\n case STOP_STREAMING:\n Log.d(\"publish_xmpp: \", \"Stream Listener - Stopped Streaming\");\n break;\n case CLOSE:\n Log.d(\"publish_xmpp: \", \"Stream Listener - Close\");\n break;\n case TIMEOUT:\n Log.d(\"publish_xmpp: \", \"Stream Listener - Timeout\");\n break;\n case ERROR:\n Log.d(\"publish_xmpp: \", \"Stream Listener - Error: \" + event.message);\n break;\n }\n }\n });\n\n // Set Audio\n r5Mic = new R5Microphone();\n\n // Attach camera to render as broadcast\n if (true) {\n setCamera();\n if (camera != null)\n stream.attachCamera(r5Cam);\n }\n\n //assign the surface to show the camera output\n surfaceForCamera = new R5VideoView(this);\n FrameLayout frame = ((FrameLayout) findViewById(R.id.preview_container));\n frame.removeAllViews();\n FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);\n frame.addView(surfaceForCamera, params);\n\n // attach broadcasting stream with local view\n surfaceForCamera.attachStream(stream);\n\n // Attach local Audio record with broadcasting stream\n if (true) {\n stream.attachMic(r5Mic);\n }\n\n if (false) {\n final R5AdaptiveBitrateController adaptiveBitrateController = new R5AdaptiveBitrateController();\n adaptiveBitrateController.AttachStream(stream);\n\n if (true) {\n //adaptiveBitrateController.requiresVideo = true;\n }\n }\n if (startPreview && camera != null)\n camera.startPreview();\n }", "title": "" }, { "docid": "4acb4b92df18a306214c7984b99fa9e8", "score": "0.5108616", "text": "@Override\n public boolean isStreamActive(String streamName)\n {\n return true;\n }", "title": "" }, { "docid": "0a5a7d62823fbe057404e33baa56f30f", "score": "0.5107733", "text": "public String info() {\n return string(sendInline(\"INFO\"));\n }", "title": "" }, { "docid": "f686cd990beafcd1dee77d50c067bf8b", "score": "0.5093042", "text": "@Override\r\n public String getSummary() {\r\n return \"Invalid stream error.\";\r\n }", "title": "" }, { "docid": "031ae1bec10427812c259fe82ac2c812", "score": "0.5091192", "text": "public String getInfoURI() {\n return infoURI;\n }", "title": "" }, { "docid": "e63dfe5c05fd5eb7a603ad065c2da03d", "score": "0.5079968", "text": "public IIOMetadata getStreamMetadata() throws IIOException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1cb570e69b6599ccc58e4af03dfad228", "score": "0.50787264", "text": "public StreamPacketProtos.StreamPacket.StreamData getStreamData(int index) {\n return streamData_.get(index);\n }", "title": "" }, { "docid": "cf57d3c41ca255ef29c9be3bbcbe42c3", "score": "0.50765353", "text": "public interface IVideoStreamSource\n{\n /**\n * @return Anzahl der verfügbaren AccessUnits\n */\n int available();\n\n /**\n * @return Die nächste verfügbare AccessUnit\n */\n byte[] getNextAccessUnit();\n\n void connect();\n}", "title": "" }, { "docid": "14a81713777cf888bb6a1605b07d4ec6", "score": "0.50760067", "text": "@java.lang.Override\n public com.google.cloud.datastream.v1alpha1.ConnectionProfile getConnectionProfile() {\n if (targetCase_ == 200) {\n return (com.google.cloud.datastream.v1alpha1.ConnectionProfile) target_;\n }\n return com.google.cloud.datastream.v1alpha1.ConnectionProfile.getDefaultInstance();\n }", "title": "" }, { "docid": "683b5b1fdfba18dbaf45ce2db1d4f5f7", "score": "0.5071253", "text": "public StreamPacketProtos.StreamPacket.StreamData getStreamData(int index) {\n return streamData_.get(index);\n }", "title": "" }, { "docid": "584729dd5881c9904f07f269d273fa86", "score": "0.5069432", "text": "StreamingAddDataSourceCallbacks(IngestStream stream) {\n ingestStream = stream;\n }", "title": "" }, { "docid": "b246640dbe784ad393c771a79f6f52a8", "score": "0.50538343", "text": "public PublicStream publicStream();", "title": "" }, { "docid": "a59e6b57c05e535b0ce8a5a713582fbd", "score": "0.5037882", "text": "public static interface IMI_data_SinkAnalyzedStreamInput extends Serializable {\n /**\n * Returns the input value for tuple field \"symbolId\".\n * @return the tuple value\n */\n public String getSymbolId();\n\n /**\n * Sets the output value for tuple field \"symbolId\".\n * @param symbolId the field value\n */\n public void setSymbolId(String symbolId);\n /**\n * Returns the input value for tuple field \"timestamp\".\n * @return the tuple value\n */\n public long getTimestamp();\n\n /**\n * Sets the output value for tuple field \"timestamp\".\n * @param timestamp the field value\n */\n public void setTimestamp(long timestamp);\n /**\n * Returns the input value for tuple field \"value\".\n * @return the tuple value\n */\n public double getValue();\n\n /**\n * Sets the output value for tuple field \"value\".\n * @param value the field value\n */\n public void setValue(double value);\n /**\n * Returns the input value for tuple field \"volume\".\n * @return the tuple value\n */\n public int getVolume();\n\n /**\n * Sets the output value for tuple field \"volume\".\n * @param volume the field value\n */\n public void setVolume(int volume);\n }", "title": "" }, { "docid": "06c8f14e0246265831c04f4eacdd6425", "score": "0.50359464", "text": "@SuppressWarnings(\"unchecked\")\n private JSONObject getStreamingMap() {\n JSONObject streaming = new JSONObject();\n streaming.put(\"active\", Boolean.FALSE);\n streaming.put(\"bufferSize\", 10);\n return streaming;\n }", "title": "" }, { "docid": "d0b3debd614acef1122fed0f51f6365c", "score": "0.5030747", "text": "public final SubLStream getStream(boolean followSynonymStream) { // SubLStream\n Errors.error(this + \" is not of type: STREAM.\");\n return null;\n }", "title": "" }, { "docid": "8a81acf6497a28538885ac980fba23d3", "score": "0.5030132", "text": "public boolean getLiveStreaming() {\n return liveStreaming_;\n }", "title": "" }, { "docid": "096937978a4c28ded811dd3f2911f585", "score": "0.49974006", "text": "java.util.List<? extends com.akamai.akamill.stream.Stream.FieldInfoOrBuilder> \n getSamplefinfoOrBuilderList();", "title": "" }, { "docid": "cf6ddfd1d305303e8b4ef06905d13c3d", "score": "0.49972975", "text": "com.mogujie.tt.protobuf.InterfaceStream.pbui_Item_MeetStreamPlayDetailInfo getItem(int index);", "title": "" }, { "docid": "9d47e2d8af9d9001d5cd68e3b6501af0", "score": "0.4996549", "text": "public String getQCStreamName()\n {\n return getConfigString(\"DLA_QC_STREAM\",\n \"org.jax.mgi.shr.dbutils.dao.Inline_Stream\");\n }", "title": "" }, { "docid": "f8c4299a390cac75b5038d339330396a", "score": "0.49854007", "text": "public static native int VR_IVRTrackedCamera_GetCameraVideoStreamFormat(Pointer instancePtr, int nDeviceIndex);", "title": "" }, { "docid": "9d3cfbd6676ebc692fe3eb47de78aa70", "score": "0.49846292", "text": "void stream(Stream stream);", "title": "" }, { "docid": "083c565209c422f45f394c0b1ae71a4f", "score": "0.49824876", "text": "@DSSource({DSSourceKind.FILE_INFORMATION})\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:33:57.901 -0500\", hash_original_method = \"2AB61FF2E7140B128AA8E0CB2E9AAED9\", hash_generated_method = \"4ED1F31638B10772A3D991934AC9340B\")\n \npublic static Uri getMediaScannerUri() {\n return Uri.parse(CONTENT_AUTHORITY_SLASH + \"none/media_scanner\");\n }", "title": "" }, { "docid": "2e516d1ea80136e9572e96867353bbc0", "score": "0.4981002", "text": "public String getInfo() {\n return info;\n }", "title": "" }, { "docid": "e00f6e2ac1440020e2e309d0912fcb54", "score": "0.49757922", "text": "public void openStream(StreamStatusCallback callback);", "title": "" }, { "docid": "6d4414c147caf90f81b63bbd7b6e346e", "score": "0.49752778", "text": "public String getInfo() { return this.info; }", "title": "" }, { "docid": "3685240db91e25ee1bd1f394622cd706", "score": "0.49741516", "text": "public String getType(StreamInfo info){\n\t\t\n\t\tString encoding=\"??\";\n\t\tif(info instanceof StreamCombined){\n\t\t\tStreamCombined sc=(StreamCombined) info;\n\t\t\tencoding=sc.c.toString();\n\t\t\treturn encoding;\n\t\t}\n\t\tif(info instanceof StreamVideo){\n\t\t\tStreamVideo sv=(StreamVideo)info;\n\t\t\tencoding=sv.c.toString();\n\t\t}\n\t\tif(info instanceof StreamAudio){\n\t\t\tStreamAudio sa=(StreamAudio) info;\n\t\t\tencoding=sa.audio.toString();\n\t\t\treturn encoding;\n\t\t}\n\t\treturn encoding;\n\t}", "title": "" } ]
18c2cbf4677b170ded936a1a8c2a10a1
Auto pilot fire against opponent
[ { "docid": "8a153078ef2210f3bd8db7f0869b2f33", "score": "0.0", "text": "public ApiResponse<FireSalvoShots> fireAutoPilotSalvoShotsUsingPOSTWithHttpInfo(String gameId)\n\t\t\tthrows UserApiException {\n\t\tcom.squareup.okhttp.Call call = fireAutoPilotSalvoShotsUsingPOSTValidateBeforeCall(gameId, null, null);\n\t\tType localVarReturnType = new TypeToken<FireSalvoShots>() {\n\t\t}.getType();\n\t\treturn apiClient.execute(call, localVarReturnType);\n\t}", "title": "" } ]
[ { "docid": "34cf1ea55464d01c4048a32d49943f2b", "score": "0.65746576", "text": "public void teleopPeriodic() {\n NetworkTable.getTable(\"camera\").putNumber(\"team\", 1259);\r\n compressor.start();\r\n /**\r\n boolean buttonPressed = operatorInputs.button7();\r\n if (buttonPressed) {\r\n colwellContraption1.set(!colwell1);\r\n colwellContraption2.set(!colwell2);\r\n }\r\n **/\r\n\r\n SmartDashboard.putBoolean(\"Is High Gear\", drive.isHighGear);\r\n SmartDashboard.putNumber(\"Left Power Is\", drive.leftPow);\r\n SmartDashboard.putNumber(\"Right Power Is\", drive.rightPow);\r\n SmartDashboard.putNumber(\"Speed\", drive.totalSpeed);\r\n shoot.emergencyDisablePid();\r\n shoot.moveToKickPos();\r\n shoot.moveToPickPos();\r\n shoot.quickButtonShoot(1.0, -0.95, 0.1);\r\n drive.setCoasting(shoot.getCoastingValue());\r\n drive.setPower();\r\n drive.shift();\r\n //drive.childProofing();\r\n\r\n pick.emergencyDisablePid();\r\n pick.getStepValues();\r\n if ((pick.getVoltage() > -.75 && pick.getVoltage() < -.7)) {\r\n pickerPID.disable();\r\n } else {\r\n pick.pick();\r\n }\r\n pick.setPosKicking();\r\n System.out.println(pick.getVoltage());\r\n System.out.println(\"Picker position \" + pickerPID.getVoltage());\r\n pick.lockKick();\r\n pick.spinGrabber();\r\n pick.spinReleaser();\r\n\r\n shoot.manualShooterControl();\r\n\r\n System.out.println(\"Left Drive Encoder Voltage: \" + drive.leftEncoderFix);\r\n System.out.println(\"Right Drive Encoder Voltage: \" + drive.rightEncoderFix);\r\n }", "title": "" }, { "docid": "13c0365298af976eed5553e448abfe35", "score": "0.65277725", "text": "public void teleopPeriodic() {\r\n Scheduler.getInstance().run();\r\n \r\n SmartDashboard.putNumber(\"Analog dist\", Math.round(ultraSonic.getAverageVoltage() * 1000 / 9.8));\r\n SmartDashboard.putBoolean(\"Digital\", !distSensor.get());\r\n SmartDashboard.putNumber(\"Pixy X value\", pixyInput.getAverageVoltage());\r\n SmartDashboard.putNumber(\"LeftFront Current\", pdp.getCurrent(14));\r\n SmartDashboard.putNumber(\"LeftRear Current\", pdp.getCurrent(15));\r\n SmartDashboard.putNumber(\"RightFront Current\", pdp.getCurrent(0));\r\n SmartDashboard.putNumber(\"RightRear Current\", pdp.getCurrent(1));\r\n SmartDashboard.putBoolean(\"IsIngesting\", isIngesting);\r\n SmartDashboard.putData(\"AutonAimGear\", new AutonAimGear());\r\n SmartDashboard.putData(\"SensorForward\", new SensorForward());\r\n SmartDashboard.putNumber(\"PixyWidth Value\", pixyWidth.getAverageVoltage());\r\n SmartDashboard.putData(\"DriveBackward\", new DriveBackward());\r\n // SmartDashboard.putNumber(\"Is Door Open\", GearScore.gearScoreDoor.get());\r\n \r\n \r\n lTrigger = oi.getXBoxController().getRawAxis(2);\r\n rTrigger = oi.getXBoxController().getRawAxis(3);\r\n pov = oi.getXBoxController().getPOV(0);\r\n if(lTrigger > 0.1)\r\n \tnew Climbing().start();\r\n if(rTrigger > 0.1) {\r\n \tif(shootMethod1) {\r\n \t\tshooter.trigger();\r\n \t} else {\r\n \t\t//new Shoot();\r\n \t}\r\n } else {\r\n \tnew ShooterSequenceOff().start();\r\n }\r\n \r\n if (isIngesting) {\r\n \t\tBallIntake.ballIntakeMotor.set(30);\r\n \t} else {\r\n \t\tBallIntake.ballIntakeMotor.set(0);\r\n \t}\r\n //if(pov == -1) {\r\n \t//\tpovActivated = false;\r\n //} else {\r\n \tif (pov != -1)\r\n \t\tif(pov > 90 && pov < 270) {\r\n \t\t\tshootSpeeed--;\r\n \t\t} else {\r\n \t\t\tshootSpeeed++;\r\n \t\t}\r\n \t\t\t\t\r\n //}\r\n SmartDashboard.putNumber(\"Climbing speeed\", shootSpeeed); \r\n \r\n\r\n }", "title": "" }, { "docid": "5087675e0c596e38dbbb587775e2b7e3", "score": "0.65194213", "text": "public void teleopPeriodic() {\r\n Scheduler.getInstance().run();\r\n if (! Robot.pixyCamera.read(0, 1, buffer))\r\n \tpixyValue = buffer[0] & 0xFF;\r\n \r\n lTrigger = oi.getXBoxController().getRawAxis(2);\r\n rTrigger = oi.getXBoxController().getRawAxis(3);\r\n pov = oi.getXBoxController().getPOV(0);\r\n \r\n /* Climbing control - variable on Left Trigger */\r\n if(lTrigger > 0.1)\r\n \tnew Climb().start();\r\n \r\n /* Shooting Balls - Right Trigger */\r\n if(rTrigger > 0.1) {\r\n \tif(shootMethod1) {\r\n \t\tShooter.trigger();\r\n \r\n \t} else {\r\n \t\t//new Shoot();\r\n \t}\r\n } else {\r\n \tnew ShooterSequenceOff().start();\r\n }\r\n \r\n if (isIngesting) {\r\n \t\tBallIntake.ballIntakeMotor.set(0.3);\r\n \t} else {\r\n \t\tBallIntake.ballIntakeMotor.set(0);\r\n \t}\r\n \r\n /* Allow adjusting Speed of Shooter Motor to test distance */\r\n //if(pov == -1) {\r\n \t//\tpovActivated = false;\r\n //} else {\r\n \tif (pov != -1)\r\n \t\tif(pov > 90 && pov < 270) {\r\n \t\t\tshootSpeeed--;\r\n \t\t} else {\r\n \t\t\tshootSpeeed++;\r\n \t\t}\r\n \t\t\t\t\r\n //}\r\n SmartDashboard.putNumber(\"Shooting speeed\", shootSpeeed);\r\n \r\n }", "title": "" }, { "docid": "3dafbac1d8804baf66a9e2eb91437cdb", "score": "0.64342505", "text": "@Override\n public void teleopPeriodic() {\n if (shooter.table.getEntry(\"tv\").getDouble(0.0) > 0) {\n target = true;\n codriver.setRumble(RumbleType.kLeftRumble, 1);\n codriver.setRumble(RumbleType.kRightRumble, 1);\n } else {\n target = false;\n codriver.setRumble(RumbleType.kLeftRumble, 0);\n codriver.setRumble(RumbleType.kRightRumble, 0);\n }\n\n // Intake Functions\n if (driver.getAButtonPressed()) {\n intake.down();\n intake.in();\n } else if (driver.getAButtonReleased()) {\n intake.stop();\n }\n\n if (driver.getBButtonPressed()) {\n intake.out();\n } else if (driver.getBButtonReleased()) {\n intake.stop();\n }\n\n if (driver.getYButtonPressed()) {\n intake.up();\n }\n\n // Prepare robot for trench run\n if (driver.getXButton()) {\n shooter.enableTrenchTilt();\n } else {\n shooter.disableTrenchTilt();\n }\n\n // unjam fondlers\n if (codriver.getYButtonPressed()) {\n shooter.unjam(true);\n }\n if (codriver.getYButtonReleased()) {\n shooter.unjam(false);\n }\n\n // Code only available before using the climber\n if (climb.stowed) {\n\n // Start the active aim of the ball shooter\n if (codriver.getTriggerAxis(Hand.kLeft) > 0.8) {\n\n // Control pipeline used by limelight for tracking\n if (codriver.getBumper(Hand.kLeft)) {\n shooter.table.getEntry(\"pipeline\").setNumber(9);\n shooter.threePtPanAdjustCoeff = shooter.highResThreePtPanAdjustCoeff;\n } else {\n shooter.table.getEntry(\"pipeline\").setNumber(8);\n shooter.threePtPanAdjustCoeff = shooter.defaultThreePtPanAdjustCoeff;\n }\n\n // Prepare for automated scoring\n shooter.enableActiveAim();\n shooter.disableShootOverride();\n if (codriver.getTriggerAxis(Hand.kRight) > 0.8) {\n shooter.enableShootWhenReady();\n } else {\n shooter.disableShootWhenReady();\n }\n } else {\n\n // Start shooting regardless of current aim\n shooter.disableActiveAim();\n if (codriver.getTriggerAxis(Hand.kRight) > 0.8) {\n shooter.enableShootOverride();\n } else {\n shooter.disableShootWhenReady();\n shooter.disableShootOverride();\n }\n }\n\n // Set PID values from dashboard. Remove once tuned\n if (codriver.getBButtonPressed()) {\n shooter.setPIDF();\n colourSensor.setPIDF();\n }\n\n // Get the shooter in position to spin the colour wheel\n if (codriver.getPOV() == 90) {\n shooter.tiltToSpin();\n drive.changeCutoffOrRange(false); // Enable Scaling of drive\n drive.setForwardLimit(0.3);\n drive.setTurnLimit(0.3);\n }\n\n // Return robot to normal operation\n if (codriver.getPOV() == 270) {\n shooter.untiltFromSpin();\n drive.changeCutoffOrRange(true); // Enable Cutoff of drive\n drive.setForwardLimit(1.0);\n drive.setTurnLimit(0.55);\n }\n }\n\n // Prepare climb arms for safe release\n if (driver.getBumper(Hand.kLeft) && driver.getBumper(Hand.kRight) && driver.getTriggerAxis(Hand.kLeft) > 0.8\n && driver.getTriggerAxis(Hand.kRight) > 0.8) {\n shooter.disableActiveAim();\n shooter.disableShootOverride();\n shooter.disableShootWhenReady();\n shooter.stowForever();\n intake.down();\n }\n\n // Release arms\n if (driver.getStartButton() && driver.getBackButton() && shooter.stowed) {\n climb.releaseArms();\n }\n\n // Prepare to use the colour wheel for a specific task\n if (codriver.getStartButtonPressed()) {\n colourSensor.startSpin();\n } else if (codriver.getBackButtonPressed()) {\n colourSensor.startTurn();\n }\n\n // Stop all spinning of the colour wheel\n if (codriver.getBackButtonReleased() || codriver.getStartButtonReleased()) {\n colourSensor.stopSpin();\n }\n\n // Grab input from codriver to manualy control turret until target is found\n final double codriverRightHandX = codriver.getX(Hand.kRight);\n final double codriverRightHandY = -1 * codriver.getY(Hand.kRight);\n\n // Limit speed upwards of climb arms\n\n // Grab input from driver to move the robot\n double y = driver.getY(Hand.kLeft) * -1;\n double x = driver.getX(Hand.kLeft);\n\n // Add a deadband\n if (y < 0.08 && y > -0.08) {\n y = 0;\n }\n\n if (x < 0.08 && x > -0.08) {\n x = 0;\n }\n\n // Manually control the gear shift\n if (driver.getBumper(Hand.kRight)) {\n drive.shiftGear(true);\n } else {\n drive.shiftGear(false);\n }\n\n // Do drive tasks\n drive.curveDrive(y, x);\n\n // Allow objects to be run\n climb.doThings(driver.getPOV());\n shooter.doThings(codriverRightHandX, codriverRightHandY, drive.speed());\n colourSensor.doThings();\n }", "title": "" }, { "docid": "9ed0db4809246700e479f07bc17a0b4a", "score": "0.6290232", "text": "public void calcLaunch(){\r\n\t\tdouble tempX, tempY;\r\n\t\tdouble tempAngle = Double.parseDouble(aPanel.getAngle().getText());\r\n\t\t// Check if the power is greater than 50, cap if it is\r\n\t\tif (Double.parseDouble(aPanel.getPower().getText()) > 50) {\r\n\t\t\ttempX = (Math.sin((90.0-tempAngle)/(180.0/Math.PI)))*50.0;\r\n\t\t\ttempY = (Math.cos((90.0-tempAngle)/(180.0/Math.PI)))*50.0;\r\n\t\t} else {\r\n\t\t\ttempX = ((Math.sin((90.0-tempAngle)/(180.0/Math.PI)))*Double.parseDouble(aPanel.getPower().getText()));\r\n\t\t\ttempY = ((Math.cos((90.0-tempAngle)/(180.0/Math.PI)))*Double.parseDouble(aPanel.getPower().getText()));\r\n\t\t}\r\n\t\t// If the projectile isn't flying, set it's values (velocities) and let 'er go\r\n\t\tif(!fPanel.proj.isFlying()) {\r\n\t\t\tfPanel.sling.release(90.0-tempX, tempY+400.0);\r\n\t\t\tsetAngle(tempAngle, fPanel.sling.calcPower(90.0 - tempX, tempY + 400.0));\r\n\t\t\tfPanel.proj.setvx(fPanel.sling.getvx());\r\n\t\t\tfPanel.proj.setvy(fPanel.sling.getvy());\r\n\t\t}\r\n\t\tfPanel.repaint();\r\n\t}", "title": "" }, { "docid": "f87a1687353d0fc93048a4a3285e91f9", "score": "0.62581414", "text": "public void shootFirework(Player p){\n final Firework fw = (Firework) p.getWorld().spawnEntity(p.getLocation(), EntityType.FIREWORK);\n FireworkMeta fwm = fw.getFireworkMeta();\n\n //Our random generator\n Random r = new Random();\n\n //Get the type\n int rt = r.nextInt(4) + 1;\n FireworkEffect.Type type = FireworkEffect.Type.BALL;\n if (rt == 1) type = FireworkEffect.Type.BALL;\n if (rt == 2) type = FireworkEffect.Type.BURST;\n if (rt == 3) type = FireworkEffect.Type.STAR;\n if (rt == 4) type = FireworkEffect.Type.CREEPER;\n if (rt == 5) type = FireworkEffect.Type.BALL_LARGE;\n\n //Get our random colours\n int r1i = r.nextInt(17) + 1;\n int r2i = r.nextInt(17) + 1;\n Color c1 = getColor(r1i);\n Color c2 = getColor(r2i);\n\n //Create our effect with this\n FireworkEffect effect = FireworkEffect.builder().flicker(false).withColor(c1).withFade(c2).with(type).trail(true).build();\n\n //Then apply the effect to the meta\n fwm.addEffect(effect);\n\n //Generate some random power and set it\n int rp = r.nextInt(2) + 1;\n fwm.setPower(rp);\n\n //Then apply this to our rocket\n fw.setFireworkMeta(fwm);\n fw.setPassenger(p);\n }", "title": "" }, { "docid": "823f16b5f1b3f2ebb612ce68e607a8ec", "score": "0.6211007", "text": "public void shoot(){\n front_left_wheel.setPower(0);\r\n back_left_wheel.setPower(0);\r\n back_right_wheel.setPower(0);\r\n front_right_wheel.setPower(0);\r\n shooter_thing.setPower(-0.2);\r\n pause(1000);\r\n shooter_thing.setPower(-0.4);\r\n pause(1000);\r\n shooter_thing.setPower(-0.5);\r\n pause(1000);\r\n shooter_thing.setPower(-0.6);\r\n pause(1000);\r\n shooter_thing.setPower(-0.785);\r\n }", "title": "" }, { "docid": "95323296240f159af9b97e8b076b32fd", "score": "0.61987656", "text": "protected void FireLaunch() {\n\t\tfindex++;\r\n\t\tfindex %= 10;\r\n\t\tif(findex == 0) {\r\n\t\t\tif(power == 1) {\r\n\t\t\t\tFire f1 = new Fire(plane.x, plane.y, 1); //middle fire\r\n\t\t\t\tfs.add(f1);\r\n\t\t\t}\r\n\t\t\telse if(power == 2) {\r\n\t\t\t\tFire f2 = new Fire(plane.x+40, plane.y+40, 2); //right side fire\r\n\t\t\t\tfs.add(f2);\r\n\t\t\t\tFire f3 = new Fire(plane.x-40, plane.y+40, 0); //left side fire\r\n\t\t\t\tfs.add(f3);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tFire f1 = new Fire(plane.x, plane.y, 1); //middle fire\r\n\t\t\t\tfs.add(f1);\r\n\t\t\t\tFire f2 = new Fire(plane.x+40, plane.y+40, 2); //right side fire\r\n\t\t\t\tfs.add(f2);\r\n\t\t\t\tFire f3 = new Fire(plane.x-40, plane.y+40, 0); //left side fire\r\n\t\t\t\tfs.add(f3);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "66a1b4c2aad729b2e0d1ced4ca750e53", "score": "0.61590844", "text": "void fire();", "title": "" }, { "docid": "fa7fbb900cc9014b40e52425c97ae1ce", "score": "0.6138597", "text": "private void justDoIt() {\n\n UpdateNbPointsEvent updateNbPointsEvent;\n\n /* gathering of the list of actions */\n\t\t\n List<Action> actionList = thinking.getIntentions().getActionsList();\n\t\t\n /* decision of the real number of actions to be done before the next exploration */\n\t\t\n actionList = moduleLearning.decideWhereToStopActions(actionList);\n\n /* Realisation of actions */\n\n for(Action action: actionList) {\n\n try {\n TimeUnit.MILLISECONDS.sleep(250);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n /* Usage of the Actuators */\n position = actuators.doAnAction(action, position);\n\n /* Updating the points */\n if((updateNbPointsEvent = updateNbPointsQueue.poll()) != null) {\n this.nbPoints += updateNbPointsEvent.getNbPoints();\n }\n\n /* Sending the event to the interface to inform about the change */\n updateInterfaceQueue.add(new UpdateInterfaceEvent(position, null, \"updatePositionRobot\"));\n updateInterfaceQueue.add(new UpdateInterfaceEvent(position, null,\"updateContenuPiece\"));\n updateInterfaceQueue.add(new UpdateInterfaceEvent(null, String.valueOf(this.nbPoints), \"updateAffichageNbPoints\"));\n }\n }", "title": "" }, { "docid": "0d8cb9b99c652dd92b437d97727b92be", "score": "0.61026007", "text": "@Override\n public void teleopPeriodic() {\n teleopShoot();\n teleopDrive();\n //teleopLEDs();\n teleopCollect();\n teleopExtendo();\n }", "title": "" }, { "docid": "d825e0f88b6a507a114d7423fdb43c22", "score": "0.608424", "text": "public void teleopPeriodic() {\n\n\t\tScheduler.getInstance().run();\n\t\t// notice we are clamping minimum values\n\t\toi.limitThreshold();\n\t\t// Drive\n\n\t\tpapasDrive.manualDrive(oi.thresholdedX, oi.thresholdedY, oi.thresholdedTwist);\n\n\t\t// Manual shooting.\n\t\tif (oi.shootStick.getTrigger() && !manualFireCommand.isRunning()) {\n\n\t\t\t// As soon as the user releases the trigger, isRunning() will become\n\t\t\t// false\n\t\t\t// and manualFireCommand.end() will be called automatically, turning\n\t\t\t// off\n\t\t\t// the feed and shooting wheels (in that order.)\n\t\t\tmanualFireCommand.start();\n\t\t}\n\t\tif (manualFireCommand.isRunning()) {\n\t\t\tshooting.updateVelocity(manualFireCommand.getVelocityFromJoystick());\n\t\t}\n\n\t\t// Gear Delivery\n\n\t\t// if (oi.gearIn != null) {\n\t\t// gear.pushIn();\n\t\t// } else if (oi.gearOut != null) {\n\t\t// gear.pullOut();\n\t\t// } else {\n\t\t// gear.stop();\n\t\t// }\n\n\t\t// Ball Intake\n\t\tif (oi.ballOut != null) {\n\t\t\tballGrabber.BallIn();\n\t\t}\n\n\t\t/**\n\t\t * Used for testing speed on the wheels.\n\t\t */\n\n\t}", "title": "" }, { "docid": "abb81d52e112e8c5d769857b19d3a57d", "score": "0.60771334", "text": "private void fire () {\r\n // first, method will find what location of the enemy, after that, shoot it\r\n ArrayList<CharBot> enemy = (ArrayList) getObjectsInRange(2000,CharBot.class);\r\n if ( enemy.size() > 0 && assignment > 0) {\r\n if ( enemy.get(0).getX() > getX() ) {\r\n getWorld().addObject(new HomeWork(5), getX()+10, getY());\r\n assignment --;\r\n }\r\n else if ( enemy.get(0).getX() < getX() ) {\r\n getWorld().addObject(new HomeWork(-5), getX()-10, getY());\r\n assignment --;\r\n }\r\n }\r\n delayFire = 10;\r\n }", "title": "" }, { "docid": "edf170b8fc6cd83cf25105418994ca8a", "score": "0.60635585", "text": "public void display() {\n luck = 1;\n if (powertimer2.isFinished()) {\n beamSpawn = random(0, 5);\n println(beamSpawn);\n if (beamSpawn <= luck) {\n beamActive = true;\n powertimer.start();\n }\n if (beamActive == true) {\n fill(0xff1317AD);\n ellipse(px, py, 30, 30);\n image(life, px-9, py-10, 20, 20);\n }\n\n\n //background(255);\n //luck =+ 1;\n }\n }", "title": "" }, { "docid": "0d7611b49a00bb3b35e8ea2388c27d5b", "score": "0.60456115", "text": "public void shootFlame() {\n // top flame\n FLAME.draw(super.getPipeX(),\n super.getTOP_PIPE_Y() + Window.getHeight()/2 + 10);\n // bottom flame\n FLAME.draw(super.getPipeX(),\n super.getBOTTOM_PIPE_Y() - Window.getHeight()/2 - 10,\n super.getROTATOR());\n }", "title": "" }, { "docid": "515dd536e04b2ec76a63ad1b00f15711", "score": "0.60438126", "text": "public void shotsFired(Graphics2D g2)\n {\n if(myShots != null) \n {\n myShots.drawMe(g2);\n shipProjHit(); \n }\n if(myAlienShots != null)\n {\n myAlienShots.drawMe(g2);\n alienProj1Hit();\n }\n if(myAlienShots2 != null)\n {\n myAlienShots2.drawMe(g2);\n alienProj2Hit();\n }\n if(myAlienShots3 != null)\n {\n myAlienShots3.drawMe(g2);\n alienProj3Hit();\n }\n if(myAlienShots4 != null)\n {\n myAlienShots4.drawMe(g2);\n alienProj4Hit();\n }\n if(waveNum > 1)\n {\n if(myAlienShots5 != null)\n {\n myAlienShots5.drawMe(g2);\n alienProj5Hit(); \n }\n if(myAlienShots6 != null)\n {\n myAlienShots6.drawMe(g2);\n alienProj6Hit(); \n }\n } \n }", "title": "" }, { "docid": "a10fcb2388ffafbd71811f670b4f978b", "score": "0.6016117", "text": "private void shoot(){ \r\n if (counter%20==0){ // the counter variable must be divisible by 20 for the shooting to occur (counter changes every act -ranomized)\r\n getWorld().addObject(new Arrow (getRotation() + randomMiss, this, \"horse\", base), getX(), getY()); // generate an arrow on the screen with the same rotation as the horse\r\n Greenfoot.playSound(\"bow.mp3\");\r\n }\r\n\r\n }", "title": "" }, { "docid": "1cec1319cfba167aaf1c767a54d46200", "score": "0.5987226", "text": "public void teleopPeriodic() {\n \tchassis.tankDrive(-batonGauche.getY(), -batonDroit.getY());\n }", "title": "" }, { "docid": "7f2898326adc6720acf8b7d890321bcf", "score": "0.5939261", "text": "@Override\n public void teleopPeriodic() { \n \n NetworkTable table = NetworkTableInstance.getDefault().getTable(\"limelight\");\n NetworkTableEntry tx = table.getEntry(\"tx\");\n NetworkTableEntry ty = table.getEntry(\"ty\");\n NetworkTableEntry ta = table.getEntry(\"ta\");\n\n double x = tx.getDouble(0.0);\n double y = ty.getDouble(0.0);\n double a = ta.getDouble(0.0);\n\n double ratioX = x/27;\n double ratioY = y/20.5;\n double ratioA = 1-(a/20);\n\n double min = .3; //MIN_SOMETHING_SPEED\n double sineWithSignum = Math.signum(ratioX)*(1-min)*Math.sin(ratioX*Math.PI/2)+(1+min)/2; //sine curve of adjustment\n //double ogDrive = (ratioX*.7+min)+ratioA*.3;\n //double newDrive = (ratioX*.7)+ min + (ratioA*.3);\n\n double newNewDrive = sineWithSignum + min + (ratioA*.3);\n\n driveTrain.tankDrive(newNewDrive + min, 12/13 * newNewDrive + min); //minimum + adjustment/slow down\n\n //double correctionRatio = -ratioX + 1;\n // double correctionX = (Math.signum(-ratioX)*ratioX*ratioX)+(2*ratioX)+(Math.signum(ratioX)*.2);\n //double correctionX = Math.sin(1.2*ratioX + .2);\n //double correctionX = (Math.signum(ratioX) == 1) ? Math.sin(1.2*ratioX + .2): Math.sin(1.2*ratioX - .2);\n\n\n SmartDashboard.putNumber(\"LimelightX\", x);\n SmartDashboard.putNumber(\"LimelightY\", y);\n SmartDashboard.putNumber(\"LimelightA\", a);\n //SmartDashboard.putNumber(\"correctionX\", correctionX); \n SmartDashboard.putNumber(\"ratioX\",ratioX);\n\n if (gamePad0.getRawButtonPressed(1)) {\n autoPilotStep = 1;\n autoPilotTimer.reset();\n }\n if (autoPilotStep == 1){\n if(autoPilotTimer.get()<.5){\n //driveTrain.tankDrive(-correctionX,correctionX*12/13);\n }\n else autoPilotStep = 2;\n }\n if (autoPilotStep == 2){\n autoPilotTimer.reset();\n if(autoPilotTimer.get()<3){\n //driveTrain.tankDrive(ratioY*.5, ratioY*.5);\n }\n }\n if(gamePad0.getRawButtonPressed(8)){ //start button is kill switch for autoPilot\n autoPilotStep=0;\n }\n \n //driveTrain.tankDrive(.65*ratioY,.65*ratioY*12/13);\n \n if(autoPilotStep==0){\n SmartDashboard.putNumber(\"leftStick\",gamePad0.getRawAxis(1));\n SmartDashboard.putNumber(\"rightStick\",gamePad0.getRawAxis(5));\n double leftStick = (-gamePad0.getRawAxis(1)*.6)*(gamePad0.getRawAxis(3)+1);\n double rightStick = (-gamePad0.getRawAxis(5)*.6)*(gamePad0.getRawAxis(3)+1);\n driveTrain.tankDrive(leftStick,rightStick*12/13);//12/13 is motor ratio for simon\n }\n arm.set(-gamePad0.getRawAxis(2));\n \n if(gamePad0.getRawButtonPressed(3)){\n //simon.set(.6);\n //vacuum.set(.5);\n gamePad0.setRumble(RumbleType.kRightRumble, 0.7);\n gamePad0.setRumble(RumbleType.kLeftRumble, 0.7);\n }\n else{\n //simon.set(.28);\n //vacuum.set(0);\n gamePad0.setRumble(RumbleType.kRightRumble, 0);\n gamePad0.setRumble(RumbleType.kLeftRumble, 0);\n }\n \n }", "title": "" }, { "docid": "7ed5c909bc98a864012e0fc71b53d139", "score": "0.5928292", "text": "public void act() {\n long msSinceLast = System.currentTimeMillis()-startTime;\n startTime = System.currentTimeMillis();\n if (msSinceLast <= 0) {\n msSinceLast = 5;\n } else if (msSinceLast > 999) {\n msSinceLast = 5;\n }\n deltaTime = 1000 / msSinceLast;\n Lopen(X1,Y1,X2,Y2, tijd, tijdInterval);\n \n if (detectsPlayer()) {\n Omgeving.getPlayer().setGameOver(true);\n }\n \n }", "title": "" }, { "docid": "b542dad18e706a84fc70962a55e6fec9", "score": "0.58860075", "text": "public void teleopPeriodic() {\n\n\t\tpdp.updateTable();\n\n\t\tcurrentAngle = gyro.getAngle();\n\n\t\tSmartDashboard.putString(\"Gyro Angle2 \", String.format(\"%.2f\", currentAngle));\n\n\t\tdriveJoystickButtons.updateState();\n\t\tdoorJoystickButtons.updateState();\n\n\t\tdrivePeriodic();\n\t\tdoorPeriodic();\n\t\twinchPeriodic();\n\n\t\tleftIRSensor = irSensorLeft.get();\n\t\trightIRSensor = irSensorRight.get();\n\n\t\tSmartDashboard.putString(\"Left IR \", Boolean.toString(leftIRSensor));\n\t\tSmartDashboard.putString(\"Right IR \", Boolean.toString(rightIRSensor));\n\t}", "title": "" }, { "docid": "38b1df6445d1a9ea50c5baaab551c4bb", "score": "0.5877092", "text": "@Override\n public void periodic() {\n switch (mState) {\n case DEFAULT_SHOOTING:\n switch(mShootingState) {\n case 0:\n mShooter.variableRPMShooter(ShooterConstants.kDefaultRPM);\n if (mShooter.atSpeed()) {\n mShootingState++;\n } else {\n break;\n }\n case 1:\n mFeeder.runFeeder();\n break;\n \n }\n break;\n case LONG_SHOT:\n switch(mShootingState) {\n case 0:\n mShooter.longShot();\n if (mShooter.atSpeed()) {\n mShootingState++;\n } else {\n break;\n }\n case 1:\n mFeeder.runFeeder();\n break;\n \n }\n break;\n case TUNING_SHOOTER:\n switch(mShootingState) {\n case 0:\n mShooter.tuningRPMShooter(ShooterConstants.kDefaultRPM);\n if (mShooter.atSpeed()) {\n mShootingState++;\n } else {\n break;\n }\n case 1:\n mFeeder.runFeeder();\n break;\n \n }\n \n break;\n case LIMELIGHT_SHOOTING:\n switch (mShootingState) {\n case 0:\n //int targetRPM = mLimelight.getRPM();\n //SmartDashboard.putNumber(\"Target RPMM\", targetRPM);\n mShooter.variableRPMShooter(mLimelight.getRPM());\n if (mShooter.atSpeed()) {\n mShootingState++;\n } else {\n break;\n }\n case 1:\n mFeeder.runFeeder();\n break;\n\n }\n break;\n default:\n mShooter.stopShooter();\n mFeeder.stopFeeder();\n break;\n\n\n }\n\n }", "title": "" }, { "docid": "805978fc8a682b2dfb6fc40d938aa7fc", "score": "0.587277", "text": "public void teleopPeriodic() {\n \tSmartDashboard.putData(lifter);\n \tSmartDashboard.putData(intake);\n \tSmartDashboard.putData(driveLeft);\n \tSmartDashboard.putData(driveCenter);\n \tSmartDashboard.putData(driveRight);\n \t\n Scheduler.getInstance().run();\n /*SmartDashboard.putNumber(\"AccelX\", accel.getX());\n SmartDashboard.putNumber(\"AccelY\", accel.getY());\n SmartDashboard.putNumber(\"AccelZ\", accel.getZ());*/\n }", "title": "" }, { "docid": "d1a929ba8652c5169ffd0b712a467a4a", "score": "0.5870702", "text": "public void updateShooting()\r\n {\r\n if (Mouse.isMouseL() && fireRate <=0)\r\n {\r\n double dx = Mouse.getX() - Game.getScreenWcenter();\r\n double dy = Mouse.getY() - Game.getScreenHcenter();\r\n double slope = Math.atan2(dy, dx);\r\n shoot(x, y, slope);\r\n fireRate = WizardProjectile.FIRE_RATE;\r\n }\r\n \r\n\r\n }", "title": "" }, { "docid": "5826bef460ec1b32b2a545eb5eaec97a", "score": "0.58585536", "text": "private void handleRound() {\n\t\tChatModule module = game.chatModule();\n\t\tBukkit.broadcastMessage(\"\");\n\t\tBukkit.broadcastMessage(module.formatSystemMessage(\n\t\t\t\t\"General quarters! The \" + currentlyPlaying.getFormattedName() + ChatColor.WHITE\n\t\t\t\t\t\t+ \" is preparing to fire!\"));\n\t\tBukkit.broadcastMessage(\"\");\n\n\t\tif (currentlyPlaying.equals(game.getBlueTeam())) {\n\t\t\tif (BattleshipAbility.isAbilityActive(BattleshipAbility.PRESSURE, game.getRedTeam())) {\n\t\t\t\tblueVote.getTimer().setTimeLeft(2);\n\t\t\t\tBattleshipAbility.removeActiveAbility(BattleshipAbility.PRESSURE, game.getRedTeam());\n\t\t\t}\n\n\t\t\tfor (GamePlayer gamePlayer : currentlyPlaying.getTeamMembers()) {\n\t\t\t\tPlayer player = gamePlayer.toBukkit();\n\t\t\t\tplayer.openInventory(blueGUI.getInventory());\n\t\t\t}\n\n\t\t\tfor (GamePlayer gamePlayer : game.getRedTeam().getTeamMembers()) {\n\t\t\t\tPlayer player = gamePlayer.toBukkit();\n\t\t\t\tplayer.openInventory(redPassiveGUI.getInventory());\n\t\t\t}\n\t\t\tblueVote.beginVote();\n\t\t} else {\n\t\t\tif (BattleshipAbility.isAbilityActive(BattleshipAbility.PRESSURE, game.getBlueTeam())) {\n\t\t\t\tredVote.getTimer().setTimeLeft(2);\n\t\t\t\tBattleshipAbility.removeActiveAbility(BattleshipAbility.PRESSURE, game.getBlueTeam());\n\t\t\t}\n\n\t\t\tfor (GamePlayer gamePlayer : currentlyPlaying.getTeamMembers()) {\n\t\t\t\tPlayer player = gamePlayer.toBukkit();\n\t\t\t\tplayer.openInventory(redGUI.getInventory());\n\t\t\t}\n\n\t\t\tfor (GamePlayer gamePlayer : game.getBlueTeam().getTeamMembers()) {\n\t\t\t\tPlayer player = gamePlayer.toBukkit();\n\t\t\t\tplayer.openInventory(bluePassiveGUI.getInventory());\n\t\t\t}\n\t\t\tredVote.beginVote();\n\t\t}\n\t}", "title": "" }, { "docid": "6c5544953a96b0e794ccc074b1f063e6", "score": "0.5816506", "text": "public void act() \r\n { \r\n updatePlayer();\r\n if (isTouching(Player.class))\r\n {\r\n pickup();\r\n }\r\n }", "title": "" }, { "docid": "fda6039e9771cbebab7b59e3c29e27f7", "score": "0.58066297", "text": "private void doShootAction() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3546ee5d0aea9067d7d6f523be36c23", "score": "0.5804013", "text": "public void doTheFlop() {\n intakePistons1.set(DoubleSolenoid.Value.kReverse);\n intakePistons2.set(DoubleSolenoid.Value.kReverse);\n deployed = true;\n }", "title": "" }, { "docid": "bc94486a7ff62c5546c9385fc8443823", "score": "0.5803856", "text": "public void fireAttempt() {\n\t\tlong currentTime = System.currentTimeMillis();\n\t\t// check if the time elapsed is more than the firing interval or not\n\t\tif (currentTime - timeLastFired < firingInterval) {\n\t\t\treturn; // abort the function\n\t\t} // end if\n\n\t\t// example: 123000999 - 123000971 < 300\n\t\tif (currentTime - timeLastFired > firingInterval){\n\t\ttimeLastFired = System.currentTimeMillis(); // record new last fired time\n\t\tBlast shot = new Blast( // create the shot graphic\n//\t\t\t\tthis, \"images/missile.png\", ship.getX() + 28, ship.getY() - 20);\n\t\t\t\tthis, \"missile.png\", ship.getX() + 28, ship.getY() - 20);\n\n\t\tentities.add(shot);\n\n\t\t} // end if\n\t}", "title": "" }, { "docid": "af862abb457f25e03d7b445e9edbbe88", "score": "0.58022577", "text": "public void fire(SpaceWars game) {\n \tif (game == null)\n \t\treturn;\n if(this.curEnergy > SHOT_COST && this.nextShotCountDown <= 0){\n \t this.nextShotCountDown = SHOT_COOLDOWN;\n \t this.curEnergy -= SHOT_COST;\n \t game.addShot(this.getPhysics());\n }\n }", "title": "" }, { "docid": "1af54a23e894d48b25a57f77d414490b", "score": "0.57960176", "text": "public void act() \n { \n if (((FlappyWorld)(getWorld())).isPaused == false)\n {\n this.setLocation( getX() + PIPE_SPEED, getY());\n } \n }", "title": "" }, { "docid": "4bdaaf934185d01213a2baf8536688b6", "score": "0.57838106", "text": "@Override\n public void periodic() {\n li.getDistance();\n // li.getArea();\n //System.out.println(\"aa\");\n tankDrive(RobotContainer.returnLeftJoy().getY(), RobotContainer.returnRightJoy().getY());\n \n }", "title": "" }, { "docid": "20e71203711b4263938a829b3f1892f5", "score": "0.5772998", "text": "public void shoot()\n {\n myShots = new Projectile(myShip.getX() + SHIP_CEN, myShip.getY());\n myShots.move();\n }", "title": "" }, { "docid": "a02dc6c183b39017401c5cbee417f3ab", "score": "0.5771012", "text": "public void teleopPeriodic() {\n operatorControl();\n resetGyro();\n //DriverCompensator.drive();\n\n PressureSwitch.autoSwitch();\n Lift.lift();\n //Lift.liftWheels();\n //Lift.reverseLiftWheels();\n \n \n \n }", "title": "" }, { "docid": "79a3b159adf905d1598dd7927f6255e1", "score": "0.5752812", "text": "void triggerOn(Resolution resolution, int step, int pitch, float gate, float velocity, int flags);", "title": "" }, { "docid": "2a88799c446e40bb31c1d85a0275ccca", "score": "0.574282", "text": "public void step() {\r\n \tif (s_penaltyShot)\r\n \t\tTactics.step(Team.s_players[0]);\r\n \t\r\n \tshowDebugPoint(true);\r\n \tsetAimOnStick(true);\r\n \t\r\n \tswitch(m_state) {\r\n \tcase STATE_CHASE_PLAYER:\r\n \t\t//Mathematics.radius(m_chasePlayer.getX(), m_chasePlayer.getY(), G, y2)\r\n \t\t{\r\n \t\t\tPosition direction = Mathematics.direction(m_chasePlayer.getX(), m_chasePlayer.getY(), Goalie.GOAL_POSITION.getX(), Goalie.GOAL_POSITION.getY());\r\n \t\t\tskate(m_chasePlayer.getX() + direction.getX() * CHASE_PLAYER_DISTANCE, m_chasePlayer.getY() + direction.getY() * CHASE_PLAYER_DISTANCE, MAX_SPEED);\r\n \t\t\t\r\n \t\t\tsetDebugPoint(m_chasePlayer.getX() + direction.getX() * CHASE_PLAYER_DISTANCE, m_chasePlayer.getY() + direction.getY() * CHASE_PLAYER_DISTANCE, Color.MAGENTA);\r\n \t\t}\r\n \t\t\r\n \t\t//skate(m_chasePlayer, MAX_SPEED);\r\n \t\t\r\n \t\t//setDebugPoint(m_chasePlayer.getX() + direction.getX() * CHASE_PLAYER_DISTANCE, m_chasePlayer.getY() + direction.getY() * CHASE_PLAYER_DISTANCE, Color.GREEN);\r\n \t\t\r\n \t\tbreak;\r\n \tcase STATE_CHASE_PUCK:\r\n \t\tIPuck puck = getPuck();\r\n \t\t\r\n \t\tint direction_x = (int) (Util.cosd(puck.getHeading()) * puck.getSpeed() * CHASE_PUCK_TIME),\r\n \t\t\tdirection_y = (int) (Util.sind(puck.getHeading()) * CHASE_PUCK_TIME * puck.getSpeed());\r\n \t\t\r\n \t\tdouble radius = Mathematics.radiusSquared(getX(), getY(), direction_x + puck.getX(), direction_y + puck.getY());\r\n \t\t\r\n \t\tskate(direction_x + puck.getX(), direction_y + puck.getY(), (int) Math.min(MAX_SPEED, radius * 1.0));\r\n \t\t\r\n \t\tsetDebugPoint(direction_x + puck.getX(), direction_y + puck.getY(), Color.GREEN);\r\n \t\t\r\n \t\t//skate(getPuck(), MAX_SPEED);\r\n \t\tbreak;\r\n \tcase STATE_CHARGE_FOR_GOAL:\r\n \t\t{\r\n \t\t\tdouble r = Mathematics.radiusSquared(getX(), getY(), -Goalie.GOAL_POSITION.getX(), Goalie.GOAL_POSITION.getY());\r\n \t\t\r\n\t \t\tif (r < (GOAL_RADIUS * 18) * (GOAL_RADIUS * 18)) {\r\n\t \t\t\tshoot(-Goalie.GOAL_POSITION.getX(), (GOAL_RADIUS - 6) * (Math.random() > 0.5 ? 1 : -1), MAX_SHOT_SPEED);\r\n\t \t\t}\r\n\t \t\telse\r\n\t \t\t\tskate(-Goalie.GOAL_POSITION.getX(), Goalie.GOAL_POSITION.getY(), MAX_SPEED);\r\n\t \t\t\r\n\t \t\tsetDebugPoint(-Goalie.GOAL_POSITION.getX(), Goalie.GOAL_POSITION.getY(), Color.RED);\r\n \t\t}\r\n \t\t\r\n \t\tbreak;\r\n \tcase STATE_PUSH_FORWARD:\r\n \t\tif (getPuck().getX() < 1733 / 2) {\r\n \t\t\tskate(1730 / 4, getY(), MAX_SPEED);\r\n \t\t\tsetDebugPoint(1730 / 4, getY(), Color.BLACK);\r\n \t\t}\r\n \t\telse {\r\n \t\t\tskate(1730, getY(), MAX_SPEED);\r\n \t\t\tsetDebugPoint(1730, getY(), Color.BLACK);\r\n \t\t}\r\n \t\tbreak;\r\n \tcase STATE_TAKE_PUCK:\r\n \t\tskate(getPuck(), MAX_SPEED);\r\n \t\t\r\n \t\tsetDebugPoint(getPuck().getX(), getPuck().getY(), Color.BLACK);\r\n \t\tbreak;\r\n \t}\r\n \t\r\n \tif (Mathematics.radiusSquared(getX(), getY(), Goalie.GOAL_POSITION.getX(), Goalie.GOAL_POSITION.getY()) < GOAL_RADIUS * 2)\r\n\t\t\tskate(getX() + 1000, getY(), MAX_SPEED);\r\n }", "title": "" }, { "docid": "19bc33466dffb326da3b3b7d3401e1a2", "score": "0.57332397", "text": "public void EnableShot(){\n EnableShot(0, 1);\n }", "title": "" }, { "docid": "ef2928ab513566e9bbc6526542638d25", "score": "0.5718021", "text": "@Override\n public void teleopPeriodic() {\n \t\n \tcontroller0.Update();\n \tcontroller1.Update();\n \tswitchboard.Update();\n \t\n \tif(controller0.WasClicked(ButtonName.Start)) {\n \t\tif(controller0.IsToggled(ButtonName.Start)) {\n \t\tcontrollerShoot = controller0;\n \tcontrollerLift = controller0;\n \t} else {\n \t\tcontrollerShoot = controller1;\n \tcontrollerLift = controller1;\n \t}\n \t}\n \t\n \t// Ball Pickup Section\n \t\n \tif(controllerPickup.WasDpadDirectionClicked(Direction.Up)) {\n \t\tballpickup.Toggle(BPState.Suck);\n \t} else if(controllerPickup.WasDpadDirectionClicked(Direction.Down)) {\n \t\tballpickup.Toggle(BPState.Blow);\n \t} else if(controllerPickup.WasDpadDirectionClicked(Direction.Right)) {\n \t\tballpickup.Toggle(BPState.Off);\n \t}\n \t\n \t// Lift Section\n \t\n \tif(controllerLift.WasClicked(ButtonName.Y)) {\n \t\tlift.StartClimb();\n \t}\n \t\n \tif(controllerLift.WasReleased(ButtonName.Y)) {\n \t\tlift.StopClimb();\n \t}\n \t\n \tif(controllerLift.IsPressed(ButtonName.Y)) {\n \t\tlift.Climb();\n \t}\n \t\n \tif(controllerLift.GetValue(AnalogName.RightTrigger) != 0 || controllerLift.JustZeroed(AnalogName.RightTrigger)){\n \t\tlift.SetSpeed(controllerLift.GetValue(AnalogName.RightTrigger));\n \t}\n \t\n \t// Shooter Section\n \t\n \tshooter.SetSpeeds(switchboard.GetAnalog(PotName.TopPot), switchboard.GetAnalog(PotName.BottomPot));\n \t\n \tif(controllerShoot.IsPressed(ButtonName.A)) {\n \t\tshooter.SimpleUpdateShooter();\n \t}\n \t\n \tif(controllerShoot.WasReleased(ButtonName.A)) {\n \t\tshooter.SimpleStopShooter();\n \t}\n \t\n \tif(controllerShoot.IsPressed(ButtonName.LB)) {\n \t\tshooter.SimpleUpdateAgitator();\n \t}\n \t\n \tif(controllerShoot.WasReleased(ButtonName.LB)) {\n \t\tshooter.SimpleStopAgitator();\n \t}\n \t\n \tif(controllerShoot.WasClicked(ButtonName.B)) {\n \t\tshooter.startShooter();\n \t}\n \t\n \tif(controllerShoot.IsPressed(ButtonName.B)) {\n \t\tshooter.UpdateShooter();\n \t}\n \t\n \tif(controllerShoot.WasReleased(ButtonName.B)) {\n \t\tshooter.stopShooter();\n \t}\n \t\n \t// Gyro Section\n \t\n \tif(controllerDrive.WasClicked(ButtonName.B)) {\n \t\tgyro.SetPlayerAngle();\n \t}\n \t\n \t/*\n \tif(controllerDrive.WasClicked(ButtonName.Select)) {\n \t\tgyro.Calibrate();\n \t\tgyro.SetPlayerAngle();\n \t}\n \t*/\n \t\n \tif(controllerDrive.JustZeroed(AnalogName.RightJoyX)){\n \t\tgyro.ResetTargetAngle();\n \t}\n \t\n \tgyro.Update(controllerDrive.GetValue(AnalogName.RightJoyX) != 0);\n \t\n \t// Auto Align Section\n \t\n \tif(controllerDrive.WasClicked(ButtonName.X)) {\n \t\tif(controllerDrive.IsToggled(ButtonName.X)) {\n \t\t\tauto.StartAuto(State.Aligning);\n \t\t} else {\n \t\t\tlightRelay.set(Relay.Value.kOff);\n \t\t}\n \t}\n \t\n \t// Speed Control Section\n \t\n \tif(controllerDrive.IsPressed(ButtonName.RB) || controllerDrive.IsPressed(ButtonName.LB)) {\n \t\tSetMaxSpeed();\n \t}\n \t\n \t\n \t// Drive Section\n \t\n \tdouble horizontal = 0;\n \tdouble vertical = 0;\n \tdouble rotation = 0;\n \tdouble gyroValue = 0;\n \t\n \tif(!controllerDrive.IsToggled(ButtonName.Select)) {\n\t \tif(controllerDrive.IsToggled(ButtonName.X)) {\n\t \t\tauto.Update();\n \t\t\thorizontal = auto.GetHorizontal();\n\t \t\tvertical = auto.GetVertical();\n\t \t\trotation = gyro.GetCompensation();\n\t \t\tgyroValue = 0;\n\t \t} else {\n\t \t\thorizontal = -controllerDrive.GetValue(AnalogName.LeftJoyX);\n\t \t\tvertical = -controllerDrive.GetValue(AnalogName.LeftJoyY);\n\t \t\trotation = controllerDrive.GetValue(AnalogName.RightJoyX);\n\t \t\trotation = rotation == 0 ? gyro.GetCompensation() : rotation;\n\t \t\tgyroValue = controllerDrive.IsToggled(ButtonName.A) ? 0 : gyro.GetAngle();\n\t \t}\n \t}\n \t\n \trobot.mecanumDrive_Cartesian(horizontal, vertical, rotation, gyroValue);\n \t//Drive(horizontal, vertical, rotation, gyroValue);\n }", "title": "" }, { "docid": "c403986ec196e10a8af9946e754040e5", "score": "0.57170004", "text": "public void fire(Point3F touch)\n {\n Point3F currentVelocity = touch.subtract(this.position).normalize();\n this.baseVelocity = currentVelocity;\n this.speedUp();\n this.updateVelocity();\n //myWorld.shotsFired++;\n }", "title": "" }, { "docid": "1327cd28ba2af33e0e112e462c15514c", "score": "0.571534", "text": "public void shoot() {\r\n\r\n\t\t// the saucer can only shoot if it is alive\r\n\t\tif (stillAlive && count != 0) {\r\n\r\n\t\t\t// create a new projectile with ship as a parameter\r\n\t\t\tnew Projectile(saucer.getX() + WIDTH / 2, saucer.getY() + HEIGHT,\r\n\t\t\t\t\tship, canvas);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "d0938da99c31a3c095a7f800cb2feefb", "score": "0.5712345", "text": "public IceTowerShootingBehavior(int frozenTime, int rateOfFire) {\n this.setFrozenTime(frozenTime);\n this.rateOfFire = rateOfFire;\n\n crittersInRange = new HashSet<>();\n towerTimer = new Timer(1000 - rateOfFire, new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n timeToShoot = true;\n }\n });\n }", "title": "" }, { "docid": "8bd1c7433b9b180617df9985fefe8d23", "score": "0.5710336", "text": "protected void execute() {\n \ttimerValue = timer.get();\n \tSystem.out.println(\"shooting: \" + timerValue);\n \tif (shooterPIDMode == false) {\n \t\tCommandBase.shooter.ConfigureShooterPID();\n \t\tshooterPIDMode = true;\n \t\tshooterVoltageMode = false;\n \t}\n\n \tif (initializePIDSlot == false) {\n \t\tif (this.closeShotPIDSlot) {\n \t\t\tCommandBase.shooter.SelectPIDProfileSlot(Shooter::CLOSE_SHOT_PID_VALUES);\n \t\t}\n \t\telse if (this.closeShotPIDSlot == false) {\n \t\t\tCommandBase.shooter.SelectPIDProfileSlot(Shooter::FAR_SHOT_PID_VALUES);\n \t\t}\n \t\tinitializePIDSlot = true;\n \t}\n\n \tcurrentShooterWheelRPM = CommandBase.shooter.getShooterWheelRPM();\n \tCommandBase.shooter.DriveShooterMotor(this.setpointRPM);\n\n \tif ((currentShooterWheelRPM >= this.setpointRPM) && beginTimerToLevelOutSetpoint == false) {\n \t\tbeginTimerToLevelOutSetpoint = true;\n \t\ttimer.reset();\n \t\ttimer.start();\n \t}\n \telse if (beginTimerToLevelOutSetpoint && timerValue >= WAIT_TIME_FOR_SHOOTER && moveAgitatorToShootFuel == false) {\n \t\tmoveAgitatorToShootFuel = true;\n \t\ttimer.stop();\n \t\ttimer.reset();\n \t}\n\n \tif (moveAgitatorToShootFuel) {\n \t\tif (startTimerForAgitator == false) {\n \t\t\tCommandBase.agitator.DriveAgitator(AGITATOR_MOTOR_POWER, AGITATOR_2_MOTOR_POWER);\n \t\t\ttimer.reset();\n \t\t\ttimer.start();\n \t\t\tstartTimerForAgitator = true;\n \t\t}\n \t\telse if (startTimerForAgitator && timerValue < WAIT_TIME_FOR_FUEL_TO_SHOOT_WITH_COLLECTION) {\n \t\t\tCommandBase.agitator.DriveAgitator(AGITATOR_MOTOR_POWER, AGITATOR_2_MOTOR_POWER);\n \t\t}\n \t\telse if (startTimerForAgitator && timerValue >= WAIT_TIME_FOR_FUEL_TO_SHOOT_WITH_COLLECTION) {\n \t\t\tCommandBase.agitator.DriveAgitator(0.0, 0.0);\n \t\t\ttimer.stop();\n \t\t\ttimer.reset();\n \t\t\tif (shooterVoltageMode == false) {\n \t\t\t\tCommandBase.shooter.ConfigureShooterVoltageMode();\n \t\t\t\tshooterPIDMode = false;\n \t\t\t\tshooterVoltageMode = true;\n \t\t\t}\n \t\t\tCommandBase.shooter.DriveShooterMotor(0.0);\n \t\t\tshotFuelIntoBoiler = true;\n \t\t}\n \t}\n\n \tif (timerValue >= TIME_TO_WAIT_UNTIL_RUNNING_COLLECTION_AFTER_AGITATOR_STARTS && moveAgitatorToShootFuel && startRunningCollection == false && doneDrivingCollection == false) {\n \t\tstartRunningCollection = true;\n \t}\n\n \tif (startRunningCollection && doneDrivingCollection == false) {\n \t\ttimerValue = timer.get();\n \t\tif (initializeTimerToRunCollection == false) {\n \t\t\tinitialTimeForRunningCollection = timerValue;\n \t\t\tinitializeTimerToRunCollection = true;\n \t\t}\n \t\tdifferenceBetweenCurrentTimeAndInitialTimeForRunningCollection = (timerValue - initialTimeForRunningCollection);\n\n \t\tif (differenceBetweenCurrentTimeAndInitialTimeForRunningCollection < TIME_TO_DRIVE_COLLECTION) {\n \t\t\tCommandBase.collection.DriveCollection(COLLECTION_MOTOR_POWER);\n \t\t}\n \t\telse if (differenceBetweenCurrentTimeAndInitialTimeForRunningCollection >= TIME_TO_DRIVE_COLLECTION) {\n \t\t\tCommandBase.collection.DriveCollection(0.0);\n \t\t\tdoneDrivingCollection = true;\n \t\t}\n \t}\n }", "title": "" }, { "docid": "6e226fd6f57f6c60d2bc6b9b0881f4f3", "score": "0.57021594", "text": "@Override\r\n\t\t\tpublic void act() {\n\r\n\t\t\t\tif (MinuteQuestButBetter.mc.points > 1) {\r\n\t\t\t\t\tMinuteQuestButBetter.mc.inagl();\r\n\t\t\t\t\tMinuteQuestButBetter.mc.decreasepoints();\r\n\t\t\t\t\tpoints.setText(\"\" + MinuteQuestButBetter.mc.dispoint());\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t}", "title": "" }, { "docid": "2e67ac6c1c5d8d9ec9eeaad82c3f3876", "score": "0.56928873", "text": "@Override\r\n public void teleopPeriodic() {\r\n Scheduler.getInstance().run();\r\n\t\tSmartDashboard.putNumber(\"Lift Position\", Robot.liftSystem.getPosition());\r\n\t\tRobot.driveSystem.drive(Robot.oi.joystick.getX()*Robot.oi.getAccelerateMultiplier(), Robot.oi.joystick.getY()*Robot.oi.getAccelerateMultiplier(),(Robot.oi.joystick.getZ()*0.75),0.0);\r\n }", "title": "" }, { "docid": "7ea2b8f73dc6780bcc6c04d46a94b554", "score": "0.5687787", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\tRobot.SliderPID.setSetpoint(sliderVisionError);\n\t\tsliderVisionError = table.getNumber(\"centx\", 0);\n\t\t//SmartDashboard.putNumber(\"centx2\", sliderVisionError);\n\t\t\n\t\tif(Robot.oi.secondaryStick.getRawButton(6)){\n\t\t\tsliderAutomatic = true;\n\t\t} else if(Robot.oi.secondaryStick.getRawButton(6) == false){\n\t\t\tsliderAutomatic = false;\n\t\t}\n\t\t\n\t\tif(Robot.oi.secondaryStick.getRawButton(1)){\n\t\t\tcentralizeSlider.start();\n\t\t} else if(Robot.oi.secondaryStick.getRawButton(1) == false) {\n\t\t\tcentralizeSlider.cancel();\n\t\t}\n\t\t\n\t\tif(Robot.oi.secondaryStick.getRawButton(4)){\n\t\t\tRobot.intakes.speed = .5;\n\t\t} else if(Robot.oi.secondaryStick.getRawButton(4) == false){\n\t\t\tRobot.intakes.speed = 1;\n\t\t}\n\t\t\n\t\tif(Robot.oi.secondaryStick.getRawButton(6)){\n\t\t\tRobot.PIDvisionactive = true;\n\t\t\tRobot.gearManipulator.gearManipBoth(-Robot.SliderPID.PIDvisionoutput);\n\t\t\tRobot.SliderPID.enable();\n\t\t} else if(Robot.oi.secondaryStick.getRawButton(6) == false){\n\t\t\tRobot.PIDvisionactive = false;\n\t\t\tRobot.SliderPID.disable();\n\t\t}\n\t\t\n\t\tDebug();\n\t\tDriverOutputs();\n\t\t//Robot.driveTrain.updatePosition();\n\t\tSmartDashboard.putNumber(\"Gear Enc\", Robot.gearManipulator.gearMotor.getEncPosition());\n \tSmartDashboard.putNumber(\"anglefix\", Robot.DrivingStraightPID.DrivingStraightOutput);\n\t\t\n\t}", "title": "" }, { "docid": "9af1f407db3efae4f8863e84c16d826e", "score": "0.567954", "text": "private void gripperOpen(){\n telemetry.addData(\"Function: \", \"gripperOpen\");\n do{\n cservo1.setPosition(0);\n cservo2.setPosition(1);\n }while (gamepad2.dpad_left);\n }", "title": "" }, { "docid": "ea429dc50688ac17ce1aa0ff9f58bf81", "score": "0.5677308", "text": "protected void execute() {\n\t\t//SmartDashboard.putBoolean(\"GEARS PLACER:: open \", true);\n\t\tGearsPlacer.getInstance().setPower(0.4586);\n\t}", "title": "" }, { "docid": "4f064e37553ad3222537dec496f0fcec", "score": "0.5677158", "text": "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\tdouble angle = 0.0;\n\t\t\tdouble velocity = 0.0;\n\t\t\tdouble interval = 0.0;\n\n\t\t\tangle = Double.parseDouble(angleField.getText());\n\t\t\tvelocity = Double.parseDouble(velocityField.getText());\n\t\t\tinterval = Double.parseDouble(intervalField.getText());\n\t\t\tSimulation.cf.shoot(angle, velocity, interval);\n\t}", "title": "" }, { "docid": "6831b97714aa2928a2f0368c143ab12d", "score": "0.56741697", "text": "@Override\n\tpublic void play(Player p) {\n\t\tif (p.supplyToHand(\"Silver\") == null) {\n\t\t\t// Sinon on previens qu'il y en a plus de disponible\n\t\t\tSystem.err.println(\"Il n'y a pas de carte Silver en reserve\");\n\t\t} else {\n\t\t\t// On met sur la pioche la carte silver\n\t\t\tp.putOnTopDraw(\"Silver\");\n\t\t}\n\t\t// On parcours la liste des adversaire;\n\t\tfor (Player op : p.otherPlayers()) {\n\t\t\t// On verifiqu'ils ne possède pas de carte Moat\n\t\t\t// Et qu'il souhaite la jouer\n\t\t\t// Si ce n'est pas le cas\n\t\t\tif (!this.otherPlayerGotReactionMoat(op)) {\n\t\t\t\t// On recupere les cartes victoire du joueurs\n\t\t\t\tCardList vicCard = op.getVictoryCards();\n\t\t\t\t// Si le joueur {code op} n'as pas de carte victoire en main\n\t\t\t\tif (vicCard.isEmpty()) {\n\t\t\t\t\t// On montre sa main\n\t\t\t\t\tSystem.out.println(op.cardsInHand().toString());\n\t\t\t\t} else {\n\t\t\t\t\t// Sinon on demande au joueur {code op} quelle carte il veut\n\t\t\t\t\t// defausser\n\t\t\t\t\tString input = op\n\t\t\t\t\t\t\t.chooseCard(\n\t\t\t\t\t\t\t\t\t\"Quelle carte victoire voulez vous mettre sur votre pioche ?\",\n\t\t\t\t\t\t\t\t\tvicCard, false);\n\t\t\t\t\t// On dévoile la carte et on la met au dessus de la pioche\n\t\t\t\t\tSystem.out.println(\"Carte mise en haut de la pioche : \"\n\t\t\t\t\t\t\t+ op.putOnTopDraw(input));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "8d2d127e5fa434153a1bb512b9a888cd", "score": "0.56633085", "text": "public void kill() {\r\n\t\tfor (int i=0;i<5;i++) {\r\n\t\t\tfloat angle=(float)(314*Math.random());\r\n\t\t\tfloat magnitude=(float)(15*Math.random());\r\n\t\t\tShrapnelGreen s=new ShrapnelGreen();\r\n ShrapnelBlue p=new ShrapnelBlue();\r\n\t\t\ts.Displacement(this.xLoc,this.yLoc);\r\n\t\t\ts.D=this.D;\r\n\t\t\ts.Velocity((float)(magnitude*Math.cos(angle)),(float)(magnitude*Math.sin(angle)));\r\n\t\t\ts.Acceleration((float)(magnitude*Math.cos(angle)/5),(float)(magnitude*Math.sin(angle)/5));\r\n\t\t\ts.owner=this;\r\n\t\t\tthis.projectiles.add(s);\r\n \r\n angle=(float)(314*Math.random());\r\n magnitude=(float)(15*Math.random());\r\n\t\t\tp.Displacement(this.xLoc,this.yLoc);\r\n\t\t\tp.D=this.D;\r\n\t\t\tp.Velocity((float)(magnitude*Math.cos(angle)),(float)(magnitude*Math.sin(angle)));\r\n\t\t\tp.Acceleration((float)(magnitude*Math.cos(angle)/5),(float)(magnitude*Math.sin(angle)/5));\r\n\t\t\tp.owner=this;\r\n\t\t\tthis.projectiles.add(p);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "46e18e5bb2fdbc8367963be15a98c383", "score": "0.56632704", "text": "public void onPickup(Player player);", "title": "" }, { "docid": "0ccc432951a318083e0e22157f133e57", "score": "0.5656174", "text": "public void act() \n {\n // Add your action code here.\n checkForPiper();\n }", "title": "" }, { "docid": "957b60aab9d2dcabfda9f859b7c5be8a", "score": "0.565492", "text": "public void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\n\t\tSmartDashboard.putBoolean(\"aimed\", Math.abs(Robot.camera.getXRight() - Aim.centerX) < Aim.threshold);\n\t\tSmartDashboard.putBoolean(\"left\", Robot.camera.getXRight() - Aim.centerX > 0);\n\t\tSmartDashboard.putBoolean(\"right\", Robot.camera.getXRight() - Aim.centerX < 0);\n\t}", "title": "" }, { "docid": "baf84a32444a88b64f1fa09066a73145", "score": "0.5654419", "text": "@Override\r\n\t\t\tpublic void act() {\n\r\n\t\t\t\tif (MinuteQuestButBetter.mc.points > 1) {\r\n\t\t\t\t\tMinuteQuestButBetter.mc.invit();\r\n\t\t\t\t\tMinuteQuestButBetter.mc.decreasepoints();\r\n\t\t\t\t\tpoints.setText(\"\" + MinuteQuestButBetter.mc.dispoint());\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t}", "title": "" }, { "docid": "d429c3f392d1ac81f41b073947621fb5", "score": "0.56521183", "text": "public void act() \n { \n \n if(!pause.isPaused) \n { \n\n // Add your action code here.\n\n accident();\n crash();\n\n if (beginning==1) {\n imageCaller();\n beginning=0;\n mouseY=getY();\n }\n\n locStop();\n\n if (locLocked ==0) { \n control();\n imageCaller();\n if(timer<0){\n timer = 10;\n circlemaker();\n }\n else\n {\n timer--;\n }\n\n }\n\n } \n }", "title": "" }, { "docid": "a7f94ceb88ac9d1ca9ba08f99ca2bf26", "score": "0.5638143", "text": "FireWorkHandler(){\n \n \n \n for(int i= 50; i <= 770; i = i + 75 ){\n fireworks.add(new FireWork(new IntVector2D(i,500), new IntVector2D(0,crazyJoe.nextInt(2)-3)));\n }\n \n \n }", "title": "" }, { "docid": "ff8555956174d4266a9c3cf2aee4f37d", "score": "0.56345606", "text": "public void fly();", "title": "" }, { "docid": "d99e1eab77b85f52dc865de9021244d3", "score": "0.56330216", "text": "@Override\n public void execute() {\n double powerIntake = auxStick.getY(Hand.kRight);\n if(powerIntake > .1) { // && !ballSubsystem.getBallSensorOuput()) { // Disabled because sensor is dead\n ballSubsystem.runIntake(powerIntake);\n } else if (powerIntake < -.1) {\n ballSubsystem.runIntake(powerIntake);\n } else {\n ballSubsystem.runIntake(0);\n }\n double powerIntakeLift = auxStick.getTriggerAxis(Hand.kRight) - auxStick.getTriggerAxis(Hand.kLeft);\n if(Math.abs(powerIntakeLift) > .1) {\n ballSubsystem.runLift(powerIntakeLift);\n } else {\n ballSubsystem.runLift(0);\n }\n }", "title": "" }, { "docid": "f4e0f849be885d679daac1fb09396b1d", "score": "0.5626144", "text": "@Override public void mouseReleased (MouseEvent e) {\n if (e.getButton () == MouseEvent.BUTTON1) {\n int mobInitialHP = E1.getCurrentHealth();\n \n if (turn == 1){\n if (P1 instanceof Assassin){\n ((Assassin) (P1)).stealth();\n narrationBox.setText(\"The \" + P1.getName() + \" went invisible!\");\n turnDone = true;\n } else if (P1 instanceof Cleric){\n int P1InitialHP = P1.getCurrentHealth();\n int P2InitialHP = P2.getCurrentHealth();\n ((Cleric) P1).healingCircle(P1, P2);\n int P1FinalHP = P1.getCurrentHealth();\n int P2FinalHP = P2.getCurrentHealth();\n int P1Heal = P1FinalHP - P1InitialHP;\n int P2Heal = P2FinalHP - P2InitialHP;\n narrationBox.setText(\"The \" + P1.getName() + \" healed the party!\"\n + \"\\nThe \" + P1.getName() + \" healed for \" + P1Heal + \" health!\"\n + \"\\nThe \" + P2.getName() + \" healed for \" + P2Heal + \" health!\");\n turnDone = true;\n } else if (P1 instanceof Paladin){\n targetedEffect = 32;\n narrationBox.setText(\"Who will the \" + P1.getName() + \" target?\");\n turn = 10;\n } else if (P1 instanceof Samurai){\n ((Samurai) P1).pierce(E1);\n int mobFinalHP = E1.getCurrentHealth();\n int dmg = mobInitialHP - mobFinalHP;\n narrationBox.setText(\"The \" + P1.getName() + \" peirced the \" + E1.getName() + \"!\" \n + \"\\nIt did \" + dmg + \" damage!\");\n turnDone = true;\n } else if (P1 instanceof Sorcerer){\n ((Sorcerer) P1).mindCrush(E1);\n int mobFinalHP = E1.getCurrentHealth();\n int dmg = mobInitialHP - mobFinalHP;\n narrationBox.setText(\"The \" + P1.getName() + \" crushed the mind of \" + E1.getName() + \"!\" \n + \"\\nIt did \" + dmg + \" damage!\");\n turnDone = true;\n } else if (P1 instanceof Stormcaller){\n ((Stormcaller) P1).tornado(E1);\n narrationBox.setText(\"The \" + P1.getName() + \" summoned a tornado to engulf the \" + E1.getName() + \"!\");\n turnDone = true;\n } else {\n System.out.println(\"something died\");\n }\n } else if (turn == 2){\n if (P2 instanceof Assassin){\n ((Assassin) (P2)).stealth();\n narrationBox.setText(\"The \" + P2.getName() + \" went invisible!\");\n turnDone = true;\n } else if (P2 instanceof Cleric){\n int P1InitialHP = P1.getCurrentHealth();\n int P2InitialHP = P2.getCurrentHealth();\n ((Cleric) P2).healingCircle(P1, P2);\n int P1FinalHP = P1.getCurrentHealth();\n int P2FinalHP = P2.getCurrentHealth();\n int P1Heal = P1FinalHP - P1InitialHP;\n int P2Heal = P2FinalHP - P2InitialHP;\n narrationBox.setText(\"The \" + P2.getName() + \" healed the party!\"\n + \"\\nThe \" + P1.getName() + \" healed for \" + P1Heal + \" health!\"\n + \"\\nThe \" + P2.getName() + \" healed for \" + P2Heal + \" health!\");\n turnDone = true;\n } else if (P2 instanceof Paladin){\n targetedEffect = 32;\n narrationBox.setText(\"Who will the \" + P2.getName() + \" target?\");\n turn = 11;\n } else if (P2 instanceof Samurai){\n ((Samurai) P2).pierce(E1);\n int mobFinalHP = E1.getCurrentHealth();\n int dmg = mobInitialHP - mobFinalHP;\n narrationBox.setText(\"The \" + P2.getName() + \" peirced the \" + E1.getName() + \"!\" \n + \"\\nIt did \" + dmg + \" damage!\");\n turnDone = true;\n } else if (P2 instanceof Sorcerer){\n ((Sorcerer) P2).mindCrush(E1);\n int mobFinalHP = E1.getCurrentHealth();\n int dmg = mobInitialHP - mobFinalHP;\n narrationBox.setText(\"The \" + P2.getName() + \" crushed the mind of \" + E1.getName() + \"!\" \n + \"\\nIt did \" + dmg + \" damage!\");\n turnDone = true;\n } else if (P2 instanceof Stormcaller){\n ((Stormcaller) P2).tornado(E1);\n narrationBox.setText(\"The \" + P2.getName() + \" summoned a tornado to engulf the \" + E1.getName() + \"!\");\n turnDone = true;\n } else {\n System.out.println(\"something died\");\n }\n }\n } \n }", "title": "" }, { "docid": "8261cace1a38f513881209b264b5d762", "score": "0.5620132", "text": "public void act() \n {\n bajavida(golpe);\n }", "title": "" }, { "docid": "f3be4460552a311d0b9d7a28a83e91c0", "score": "0.56169415", "text": "@Override\r\n\t\t\tpublic void act() {\n\r\n\t\t\t\tif (MinuteQuestButBetter.mc.points > 1) {\r\n\t\t\t\t\tMinuteQuestButBetter.mc.inluk();\r\n\t\t\t\t\tMinuteQuestButBetter.mc.decreasepoints();\r\n\t\t\t\t\tpoints.setText(\"\" + MinuteQuestButBetter.mc.dispoint());\r\n\t\t\t\t}\r\n\r\n\t\t\t}", "title": "" }, { "docid": "9bb249711e43f7a7eda3ac64aef2605c", "score": "0.56162876", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tif(joystick0.getRawButton(1))\n\t\t{\n\t\t\tgoal = 1.0;\n\t\t\tintegralTracker = 0;\n\t\t}\n\t\telse if(joystick0.getRawButton(2))\n\t\t{\n\t\t\tgoal = 0.0;\n\t\t\tintegralTracker = 0;\n\t\t}\n\t\telse if(joystick0.getRawButton(3))\n\t\t{\n\t\t\tgoal = 0.5;\n\t\t\tintegralTracker = 0;\n\t\t}\n\t\tcount = armEncoder.get();\n\t\teMeasure = armEncoder.getDistance();\n\t\tSystem.out.println(eMeasure);\n\t\terror = (360 * goal) - eMeasure;\n\t\tif(count % 5 == 0)\n\t\t{\n\t\t\tintegralTracker += error;\n\t\t}\n\t\trunningSpeed = ((error * proportional)/360) + ((integralTracker * Integral)/360);\n\t\t\n\t\tleftTalon.set(runningSpeed);\n\t\trightTalon.set(-runningSpeed);\n\t\t\n\t\tjoystickLValue = joystick0.getRawAxis(1);\n\t\tjoystickRValue = joystick0.getRawAxis(1)*0.913;\n\t\t\n//\t\tjoystickArmValue = -joystick1.getRawAxis(1);\n//\t\tjoystickGripIn = joystick1.getRawButton(0);\n//\t\tjoystickGripOut = joystick1.getRawButton(1);\n\t\t\n//\t\tleftTalon.set(1);\n//\t\trightTalon.set(-1);\n\t\t\n\t\t// For Calibration of sides\n \tif(joystick0.getRawAxis(2) < -0.1)\n \t{\n \t\tjoystickLValue -= joystick0.getRawAxis(2);\n \t\tjoystickRValue += joystick0.getRawAxis(2);\n \t}\n \tif(joystick0.getRawAxis(2) > 0.1)\n \t{\n \t\tjoystickLValue -= joystick0.getRawAxis(2);\n \t\tjoystickRValue += joystick0.getRawAxis(2);\n \t}\n\t\tmyDrive.tankDrive(joystickLValue, joystickRValue);\n\t}", "title": "" }, { "docid": "7d95fb0597755d9060db2fb35488701c", "score": "0.56140447", "text": "public void interact(Player p){\r\n // allows for some interaction with a player\r\n }", "title": "" }, { "docid": "b5c66c0293eeb5f3f934b5a3515e5f5e", "score": "0.56131536", "text": "public void run() {\n timer = new Timer(15, new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n if (firstTime) {\n if (key.isPress()) {\n yFrog = yFrog - 30;\n key.setPress(false);\n firstTime = false;\n }\n } else {\n if (key.isPress()) {\n yFrog = yFrog - 20;\n key.setPress(false);\n }\n yFrog++;\n lbFrog.setBounds(60, yFrog, 40, 40);\n for (int i = 0; i < pipes.size(); i++) {\n int x = pipes.get(i).getBounds().x - 1;\n int y = pipes.get(i).getBounds().y;\n pipes.get(i).setLocation(x, y);\n if (x <= -40) {\n pipes.remove(i);\n i--;\n }\n }\n addPoint();\n passedDistance++;\n if (passedDistance == PIPE_DISTANCE) {\n addPipe();\n passedDistance = 0;\n }\n if (isIntersect()) {\n timer.stop();\n endGame();\n }\n }\n }\n });\n timer.start();\n }", "title": "" }, { "docid": "6cfcc1c07ec0283bdbe772f243377374", "score": "0.5610485", "text": "private void drawPowerupSpawning() {\n if (frames < (applet.frameRate)) {\n switch (this.powerupType) {\n case 0:\n applet.fill(255, 0, 0);\n break;\n case 1:\n applet.fill(0, 255, 0);\n break;\n default:\n applet.fill(0, 0, 255);\n break;\n }\n float ellipseSize = powerupSize * (frames / (applet.frameRate));\n applet.noStroke();\n applet.ellipse(posX, posY, ellipseSize, ellipseSize);\n frames++;\n } else {\n powerupStatus = true;\n this.collisionBox = new CollisionBoxRect(this.posX, this.posY, 0, this.powerupSize, this.powerupSize);\n Applet.gameObjectArray.add(this);\n }\n }", "title": "" }, { "docid": "fd31c8791907e3ece59a6837af229182", "score": "0.5608226", "text": "private void basherAction(SpaceWars game) {\r\n pursueClosestSpaceShip(game);\r\n double myDistance = distanceFromClosest(game);\r\n if (myDistance <= SHIELD_DISTANCE) {\r\n shieldOn();\r\n } else {\r\n turnShieldOff();\r\n }\r\n }", "title": "" }, { "docid": "df8617c140d1bbf7e3c09af2a458b75f", "score": "0.5604358", "text": "protected void visionTrackToPeg(Robot robot) {\n // vision track to peg for 4 seconds\n long msTrackingPegStartTime = 0;\n robot.getVision().startTrackingPeg();\n msTrackingPegStartTime = System.currentTimeMillis();\n\n // drive for 5 seconds TODO: pull the 5000ms into a constant or even better into the SmartDashboard\n while (System.currentTimeMillis()-msTrackingPegStartTime < getMsForVisionTracking())\n {\n\n robot.getVision().processImageInPipeline();\n\n if (Robot.debug && robot.getVision().isPerformVisionTracking())\n System.out.println(\"visionTrackToPeg [y:\" + robot.getVision().getTapeY() + \"] isPerformVisionTracking=\"+robot.getVision().isPerformVisionTracking());\n\n robot.publishSubSystemStats();\n\n // TODO: need to refine what happens if there is no Tape showing in image, what value will y equal?\n if (robot.getVision().getTapeY() > 10) {//this number is the distance to stop tracking. TODO: Recalibrate this number\n if (Robot.debug)\n SmartDashboard.putBoolean(\"Close to Peg\", false);\n robot.followX(0.3);\n }\n else\n {\n if (Robot.debug)\n SmartDashboard.putBoolean(\"Close to Peg\", true);\n\n // we are close to the peg, slow down\n //robot.followX(0.2);\n // TODO: this would be the time to shimmy around if we are worried the robot might ping the beg on the gear.\n robot.getDrivetrain().setPower(0.2, 0.2);\n robot.getVision().stopTrackingPeg();\n }\n }\n\n robot.getDrivetrain().stop();\n }", "title": "" }, { "docid": "2b264fa00dd2b410e94c53e6babe95ee", "score": "0.56024826", "text": "void gotPotion();", "title": "" }, { "docid": "7bbe5d9c0c12b0a5b1b388e8ad77e191", "score": "0.5601186", "text": "@Override\n void execute() {\n if (robot != null && robot.getAmountOfEnergy() >= 1000)\n robot.shoot();\n }", "title": "" }, { "docid": "54e92bc19210e8d023f3502619af88d2", "score": "0.5600844", "text": "public void play(PlasterClash p) {\n super.play(p);\n ArrayList<Player> guys = p.opponents();\n for (Player guy : guys) {\n guy.discardRandom();\n }\n }", "title": "" }, { "docid": "42a000a5fcc0434b994d9c31a015835d", "score": "0.5596995", "text": "@Override\r\n\t\t\tpublic void act() {\n\r\n\t\t\t\tif (MinuteQuestButBetter.mc.points > 1) {\r\n\t\t\t\t\tMinuteQuestButBetter.mc.instr();\r\n\t\t\t\t\tMinuteQuestButBetter.mc.decreasepoints();\r\n\t\t\t\t\tpoints.setText(\"\" + MinuteQuestButBetter.mc.dispoint());\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t}", "title": "" }, { "docid": "9468b4fe79725d28ed2d9f163277d37a", "score": "0.5589597", "text": "public void act() \n {\n \n // Grab the world so we can use its methods.\n GameWorld wo = (GameWorld) getWorld();\n // Get the player's information and store it.\n UserInfo playerInfo = UserInfo.getMyInfo();\n int score = playerInfo.getScore();\n int fuel = wo.getFuel();\n \n // Make the fuel bar scale. This is probably not a great way to do it.\n int barsize = ( ( h - 8 + 100 ) / ( 100 ) ) * fuel;\n \n // Clear the image so it doesn't show old data.\n HUD.clear();\n \n // Draw the frame and the bar outline.\n HUD.drawRect( 0, 0, w - 4, h - 4 );\n HUD.drawRect( 3, 2, 14, h - 5 );\n\n // Show the fuel amount and the score.\n HUD.drawString( \"SCORE: \" + score, 20, 16 );\n HUD.drawString( \"FUEL: \" + fuel, 20, 32 );\n \n // If we haven't got our player yet, grab him.\n if( ply == null )\n {\n \n if( !getWorld().getObjects( player_class.class ).isEmpty() )\n {\n \n ply = getWorld().getObjects( player_class.class ).get( 0 );\n \n }\n }\n // Otherwise, let's show their powerups.\n else\n {\n \n if( ply.hasDoubleScore() )\n {\n \n HUD.drawString( \"x2 SCORE!\", 20, 48 );\n \n }\n \n if( ply.hasStrongerLasers() )\n {\n \n HUD.drawString( \"Double Lasers!\", 28, 64 );\n \n }\n \n if( ply.hasSpeed() )\n {\n \n HUD.drawString( \"Faster Ship!\", 28, 72 );\n \n }\n \n }\n \n // Set the HUD's colour to ~green~ because sci-fi, then draw our fuel bar.\n HUD.setColor(java.awt.Color.GREEN );\n \n HUD.fillRect( 5, 4, 11, barsize );\n \n // Clear the frame, then draw the HUD inside the frame.\n HUDFrame.clear();\n HUDFrame.drawImage( HUD, 2, 2 );\n \n }", "title": "" }, { "docid": "306f026c135f76750b2d530f37cc08d8", "score": "0.55827075", "text": "public void act() \r\n { mueve(); \r\n if(Greenfoot.mouseClicked(this)){ desaparece=1; Greenfoot.setWorld(new StickmanWorld());}\r\n if(desaparece==1){desapareceBotonPlay();}\r\n mouseSobreBoton();\r\n }", "title": "" }, { "docid": "3e0b41f50a7ba96d3baaf98db633e096", "score": "0.5581904", "text": "private void updateFire() {\n if(scale>=spread[LD38.FIRE]) {\n for(int i=0; i<game.entities.size(); i++) {\n Entity other = game.entities.get(i);\n\n if(other!=null && other!=this && other.type==game.PLANT) {\n if(collides(x, y, other.x, other.y, 12)) {\n // takeaway water\n other.waterLevel -= 2;\n other.sendWaterUpdate();\n\n if(other.waterLevel<=0) {\n // destroy the plant\n Packets.RemoveEntity re = new Packets.RemoveEntity();\n re.id = other.id;\n game.server.sendToAllUDP(re);\n game.entities.remove(other);\n }\n\n canSpread = true;\n }\n }\n }\n }\n }", "title": "" }, { "docid": "7325af3c4638507f96a227cdbaddaf2c", "score": "0.55811656", "text": "public void setPilot(PhysicalCard pilot) {\n _pilot = pilot;\n }", "title": "" }, { "docid": "9d3d6ac15659733341b4cd048f702e9d", "score": "0.558014", "text": "@Override public void mouseReleased (MouseEvent e) {\n if (e.getButton () == MouseEvent.BUTTON1) {\n if (turn == 1){\n if (P1 instanceof Assassin){\n ((Assassin) (P1)).smokescreen(E1);\n narrationBox.setText(\"The \" + P1.getName() + \" put down a smoke screen!\");\n turnDone = true;\n } else if (P1 instanceof Cleric){\n targetedEffect = 24;\n narrationBox.setText(\"Who will the \" + P1.getName() + \" target?\");\n turn = 10;\n } else if (P1 instanceof Paladin){\n ((Paladin) P1).illuminate(E1);\n narrationBox.setText(\"The \" + P1.getName() + \" illuminated the \" + E1.getName() + \"!\");\n turnDone = true;\n } else if (P1 instanceof Samurai){\n ((Samurai) P1).sidestep();\n narrationBox.setText(\"The \" + P1.getName() + \" prepared to dodge an oncoming attack!\");\n turnDone = true;\n } else if (P1 instanceof Sorcerer){\n ((Sorcerer) P1).debilitate(E1);\n narrationBox.setText(\"The \" + P1.getName() + \" debilitated the \" + E1.getName() + \"!\");\n turnDone = true;\n } else if (P1 instanceof Stormcaller){\n targetedEffect = 64;\n narrationBox.setText(\"Who will the \" + P1.getName() + \" target?\");\n turn = 10;\n } else {\n System.out.println(\"something died\");\n }\n } else if (turn == 2){\n if (P2 instanceof Assassin){\n ((Assassin) (P2)).smokescreen(E1);\n narrationBox.setText(\"The \" + P2.getName() + \" put down a smoke screen!\");\n turnDone = true;\n } else if (P2 instanceof Cleric){\n targetedEffect = 24;\n narrationBox.setText(\"Who will the \" + P2.getName() + \" target?\");\n turn = 11;\n } else if (P2 instanceof Paladin){\n ((Paladin) P2).illuminate(E1);\n narrationBox.setText(\"The \" + P2.getName() + \" illuminated the \" + E1.getName() + \"!\");\n turnDone = true;\n } else if (P2 instanceof Samurai){\n ((Samurai) P2).sidestep();\n narrationBox.setText(\"The \" + P2.getName() + \" prepared to dodge an oncoming attack!\");\n turnDone = true;\n } else if (P2 instanceof Sorcerer){\n ((Sorcerer) P2).debilitate(E1);\n narrationBox.setText(\"The \" + P2.getName() + \" debilitated the \" + E1.getName() + \"!\");\n turnDone = true;\n } else if (P2 instanceof Stormcaller){\n targetedEffect = 64;\n narrationBox.setText(\"Who will the \" + P2.getName() + \" target?\");\n turn = 11;\n } else {\n System.out.println(\"something died\");\n }\n }\n }\n \n }", "title": "" }, { "docid": "cf4c3efb5f9a9ddc7700a71cceaf1f23", "score": "0.5577859", "text": "@Override\n public void execute() {\n double tsp = topSetpoint.getAsDouble();\n double bsp = bottomSetpoint.getAsDouble();\n double tv = shooter.getTopVelocity();\n double bv = shooter.getBottomVelocity();\n if(MathUtil.withinTolerance(tv, tsp, 3)) {\n shooter.servoOpen();\n pneumatics.OpenSolenoid();\n }\n shooter.tpid.setSetpoint(tsp);\n shooter.bpid.setSetpoint(bsp);\n double calctop = shooter.tpid.calculate(tv);\n double calcBot = shooter.bpid.calculate(bv);\n shooter.setTopMotorVoltage(calctop + shooter.tff.calculate(tsp));\n shooter.setBottomMotorVoltage(calcBot + shooter.bff.calculate(bsp));\n }", "title": "" }, { "docid": "7f89d0e7a90748ebed387c780a45830e", "score": "0.5577112", "text": "private void p2Wins() {\n\n p2points++;//his points are increased\n Toast.makeText(this, p2Name +\" wins this game!\", Toast.LENGTH_SHORT).show();//toast is displayed\n updatepoints();//function to update points\n\n resetgame();//function to reset game\n }", "title": "" }, { "docid": "bc7a7ce8c118e6acf5d721d535ee3541", "score": "0.55750287", "text": "@Override\n\tpublic void action() {\n\t\tif(leftToMoveSideways > 10){\n\t\t\tsuppressed = false;\n\n\t\t\t//Gets initial position\n\t\t\tpose = pp.getPose();\n\t\t\tstart = pose.getLocation();\t\n\n\t\t\tLCD.drawString(\"Moving\", 0, 0);\n\n\t\t\t//Starts the movement\t\t\t\n\t\t\tpilot.forward();\n\n\t\t\t//The robot will move until the distance is 0 or the behavior is supressed\n\t\t\twhile(!suppressed && toMoveForward > 0){\n\t\t\t\tif(light.getNormalizedLightValue() < firstLight){ //If the floor is darker than the first one, it will be a carpet\n\t\t\t\t\tLCD.clear();\n\t\t\t\t\tSound.twoBeeps();\n\t\t\t\t\tLCD.drawString(\"Carpet\", 0, 0);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tLCD.clear();\n\t\t\t\t\tLCD.drawString(\"Moving\", 0, 0);\n\t\t\t\t} \n\t\t\t\t//Gets the pose to update how much it still has to move\n\t\t\t\tpose = pp.getPose();\n\t\t\t\ttoMoveForward = distanceTotal - Math.round(pose.distanceTo(start));\n\n\t\t\t\tThread.yield();\n\t\t\t}\n\t\t\t//If the behavior is suppressed or the movement finishes, it will stop the robot \n\t\t\tpilot.stop();\n\n\t\t\t//Resets the control variable if the movement was completed\n\t\t\tif(toMoveForward <= 0){\n\t\t\t\ttoMoveForward = distanceTotal;\n\t\t\t}\n\n\t\t\t//The robot will turn right twice if the behavior is not supressed (meaning it completed the whole move) and the counter is even\n\t\t\tif(direction%2 == 0 && !suppressed){\n\t\t\t\tpilot.rotate(90);\n\t\t\t\tpilot.travel(7,false);\n\t\t\t\tpilot.rotate(90);\n\t\t\t\tdirection++;\n\n\t\t\t\t//Updates the position\n\t\t\t\tpose = pp.getPose();\n\t\t\t\tstart = pose.getLocation();\n\n\t\t\t\t//Updates how much it still has to move sideways\n\t\t\t\tleftToMoveSideways = leftToMoveSideways - 7;\t\n\t\t\t}\n\t\t\t//The robot will turn left twice if the behavior is not supressed (meaning it completed the whole move) and the counter is odd\n\t\t\telse if (direction%2 != 0 && !suppressed){\n\t\t\t\tpilot.rotate(-90);\n\t\t\t\tpilot.travel(7,false);\n\t\t\t\tpilot.rotate(-90);\n\t\t\t\tdirection++;\n\n\t\t\t\t//Updates the position\n\t\t\t\tpose = pp.getPose();\n\t\t\t\tstart = pose.getLocation();\n\n\t\t\t\t//Updates how much it still has to move sideways\n\t\t\t\tleftToMoveSideways = leftToMoveSideways - 7;\n\t\t\t}\n\t\t\tLCD.clear();\n\t\t}\n\t\t//If there is no more room sideways, the program stops\n\t\telse{\n\t\t\tLCD.drawString(\"No room left - END\", 0, 0);\n\t\t\tButton.waitForAnyPress();\n\t\t\twhile(true){\n\t\t\t\t//Thread.yield();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "47c5b88d8fa532af95d57bbc39681d50", "score": "0.5569121", "text": "void fire() {\n Entity beam = FinalBossFactory.createBeam();\n beam.setPosition(\n this.entity.getCenterPosition().x - (beam.getScale().x/2),\n this.entity.getPosition().y - (beam.getScale().y)\n );\n fire.play();\n ServiceLocator.getGameArea().spawnEntity(beam);\n }", "title": "" }, { "docid": "920332dcacf181e10e1345a7edb47b96", "score": "0.55633366", "text": "void callPokemon() {\n Pokemon[] livingPokemons = getLivingPokemons();\n activePokemon = livingPokemons[new Random().nextInt(livingPokemons.length)];\n }", "title": "" }, { "docid": "6c39e58c543f14df4beba74e02640c7b", "score": "0.55622226", "text": "public void fly() {\n\t\tSystem.out.println(\"Flying...\");\n\t}", "title": "" }, { "docid": "63f870719a51f743c8ddeb30e1b66e90", "score": "0.5560439", "text": "public void newBolt() {\r\n if (col == Color.YELLOW) {\r\n wait++;\r\n if (wait > 45) {\r\n posX = -15;\r\n }\r\n if (wait == 30) {\r\n newX = (int) (Math.random() * 32) * 25;\r\n while (newX == posX) {\r\n newX = (int) (Math.random() * 32) * 25;\r\n }\r\n }\r\n if (wait > 45 && wait < 60) {\r\n alert = true;\r\n }\r\n if (wait > 60) {\r\n alert = false;\r\n posX = newX;\r\n wait = 0;\r\n }\r\n } else {\r\n wait++;\r\n if (wait > 35) {\r\n posX = -15;\r\n }\r\n if (wait == 35) {\r\n newX = (int) (Math.random() * 32) * 25;\r\n while (newX == posX) {\r\n newX = (int) (Math.random() * 32) * 25;\r\n }\r\n }\r\n if (wait > 35 && wait < 50) {\r\n alert = true;\r\n }\r\n if (wait > 50) {\r\n alert = false;\r\n posX = newX;\r\n wait = 0;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "04edf40a360db2c50c96dba47c176a8d", "score": "0.5554525", "text": "public void shooting(ActionQueue teleopActions) {\n if (Robot.xboxcontroller.getAButtonPressed()) {\n Robot.actionList.Aim(teleopActions);\n }\n\n //starts the automatic process of firing at the target\n if (Robot.xboxcontroller.getXButtonPressed()) Robot.actionList.FIRE_telop(teleopActions);\n\n //cancels all actions in the actionqueue\n if (Robot.xboxcontroller.getBButtonPressed()) teleopActions.abortShooter();\n }", "title": "" }, { "docid": "745251d256bef1338d08745aa674d85c", "score": "0.5539093", "text": "private void attackP2(){\n float xMID = getX() + getWidth()/2;\n float yMID = getY() + getHeight()/2;\n \n if (shootTimer.isActivated()) {\n \n shootTimer.restart(0.15);\n float xF = (float)Math.cos(theta) * 15;\n float yF = (float)Math.sin(theta) * 15;\n double num = Math.PI/12;\n double num2 = Math.PI/3;\n bullets.add(new Bullet(xMID + xF, yMID + yF, 10, 20, 10, theta-Math.PI + num, 8, Assets.images.get(\"BulletEnemyBlue\"), Bullet.BULLET_TYPE_ENEMY, Color.BLUE, lights));\n bullets.add(new Bullet(xMID - xF, yMID - yF, 10, 20, 10, theta-Math.PI - num, 8, Assets.images.get(\"BulletEnemyBlue\"), Bullet.BULLET_TYPE_ENEMY, Color.BLUE, lights));\n bullets.add(new GuidedBullet(xMID + xF, yMID + yF, 10, 20, 10, theta-Math.PI + num2, 8, Assets.images.get(\"BulletEnemyRed\"), Bullet.BULLET_TYPE_ENEMY, Color.RED, lights, player));\n bullets.add(new GuidedBullet(xMID - xF, yMID - yF, 10, 20, 10, theta-Math.PI - num2, 8, Assets.images.get(\"BulletEnemyRed\"), Bullet.BULLET_TYPE_ENEMY, Color.RED, lights, player));\n \n }\n shootTimer.update();\n \n if (shootTimer3.isActivated()) {\n \n shootTimer3.restart(Util.randNum(2, 4));\n \n bullets.add(new Bullet(xMID - 7.5f, yMID - 20, 15, 40, 30, theta-Math.PI, 20, Assets.images.get(\"Boss2Shot\"), Bullet.BULLET_TYPE_ENEMY, Color.YELLOW, lights));\n \n }\n shootTimer3.update();\n \n }", "title": "" }, { "docid": "9ab2ad008a7f8749345989d396536340", "score": "0.553724", "text": "public void PumpGallon() {\n model.pump();\n }", "title": "" }, { "docid": "69ceda6bf64b95810eae9c37e485996d", "score": "0.5531616", "text": "@Override\n\tpublic void update() {\n\t\t//Updating the boat:\n\t\tboat.update();\n\t\t\n\t\t//Updating background: \n\t\tif(!pier.isDead())\n\t\t\tbackgroundPositionY += speed;\n\t\t\n\t\t//Updating the Pier:\n\t\tpier.update();\n\t\t\n\t\t//Checking for collision with rocks:\n\t\tfor(Rock rock : rocks) {\n\t\t\tif(boat.containsPoint(rock)) {\n\t\t\t\tcollision();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Checking for collision with upgrades:\n\t\tfor(Upgrade upgrade : upgrades) {\n\t\t\tif(boat.containsPoint(upgrade)) {\n\t\t\t\tcollisionUpgrade(upgrade);\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Checking for collision with coins:\n\t\tfor(Coin coin : coins) {\n\t\t\tif(boat.containsPoint(coin)) {\n\t\t\t\tcoin.playSound();\n\t\t\t\tcoin.setDead(true);\n\t\t\t\tpoints += 20;\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\t//Randomly spawning rocks: \n\t\tif(!pier.isDead()) {\n\t\t\tif(Math.floor(Math.random()*25) == 3) {\n\t\t\t\tRock rock = null;\n\t\t\t\tswitch((int) Math.floor(Math.random()*4)) {\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\trock = new Rock(cm,ImageHandler.getImage(ImageHandler.ImageType.rock1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\trock = new Rock(cm,ImageHandler.getImage(ImageHandler.ImageType.rock2));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\trock = new Rock(cm,ImageHandler.getImage(ImageHandler.ImageType.rock3));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\trock = new Rock(cm,ImageHandler.getImage(ImageHandler.ImageType.rock4));\n\t\t\t\t\t\tbreak;\t\t\n\t\t\t\t}\n\t\t\t\tcounter++;\n\t\t\t\trocks.add(rock);\n\t\t\t\trock.init();\n\t\t\t\t//Checking if rock isnt overlapping\n\t\t\t\tif(checkCollision(rock)) \n\t\t\t\t\trock.setDead(true);\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Randomly spawning upgrades: \n\t\tif(!pier.isDead()) {\n\t\t\tif(Math.floor(Math.random()*175) == 3) {\n\t\t\t\tUpgrade upgrade = new Upgrade(cm);\n\t\t\t\tupgrade.init();\n\t\t\t\tif(checkCollision(upgrade) || upgradeActive) \n\t\t\t\t\tupgrade.setDead(true);\n\t\t\t\tupgrades.add(upgrade);\n\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Randomly spawning coins: \n\t\tif(!pier.isDead()) {\n\t\t\tif(Math.floor(Math.random()*25) == 3) {\n\t\t\t\tCoin coin = new Coin(cm);\n\t\t\t\tcoins.add(coin);\n\t\t\t\tcoin.init();\n\t\t\t\tif(checkCollision(coin))\n\t\t\t\t\tcoin.setDead(true);\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Randomly spawning clouds:\n\t\tif(!pier.isDead()) {\n\t\t\tif(Math.floor(Math.random()*25) == 3) {\n\t\t\t\tCloud cloud = new Cloud(cm);\n\t\t\t\tclouds.add(cloud);\n\t\t\t\tcloud.init();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(Cloud cloud : clouds)\n\t\t\tcloud.update();\n\t\t\n\t\t\n\t\t//Checking if rocks are out of the screen & if rocks are dead & if rocks are overlapping:\n\t\tIterator<Rock> it = rocks.iterator();\n\t\twhile(it.hasNext()) {\n\t\t\tRock rock = (Rock) it.next();\n\t\t\tif(rock.isDead())\n\t\t\t\tit.remove();\n\t\t\tif(!pier.isDead())\n\t\t\t\trock.update();\n\t\t}\n\t\t\n\t\t//Checking if upgrades are out of the screen & if upgrades are dead & if upgrades are overlapping:\n\t\tIterator<Upgrade> itU = upgrades.iterator();\n\t\twhile(itU.hasNext()) {\n\t\t\tUpgrade upgrade = (Upgrade) itU.next();\n\t\t\tif(upgrade.isDead())\n\t\t\t\titU.remove();\n\t\t\tif(!pier.isDead())\n\t\t\t\tupgrade.setMove(true);\n\t\t\telse\n\t\t\t\tupgrade.setMove(false);\n\t\t\tupgrade.update();\n\t\t}\n\t\t\n\t\t//Checking if rocks are out of the screen & if rocks are dead & if rocks are overlapping:\n\t\tIterator<Coin> itC = coins.iterator();\n\t\twhile(itC.hasNext()) {\n\t\t\tCoin coin = (Coin) itC.next();\n\t\t\tif(coin.isDead())\n\t\t\t\titC.remove();\n\t\t\tif(!pier.isDead())\n\t\t\t\tcoin.update();\n\t\t}\n\t\t\n\t\t//Checking if crash animation is over:\n\t\tif(boatCrash != null) {\n\t\t\tboatCrash.update();\n\t\t\tif(boatCrash.isDead()) \n\t\t\t\treset();\n\t\t}\n\t\t//Reaching the end of the game:\n\t\tif(counter == 100) {\n\t\t\tcounter++;\n\t\t\tpier.setDead(false);\n\t\t\tpier.setPositionY(-178);\n\t\t}\n\t\t\t\t\n\t\t//Pier fully popped out of the top of the screen & also checking if boat collides with the pier:\n\t\tif(pier.isDead()) {\n\t\t\tboat.setCollisionPier(false);\n\t\t\tif(boat.containsPoint(pier))\n\t\t\t\tboat.setCollisionPier(true);\n\t\t\telse\n\t\t\t\tboat.setCollisionPier(false);\n\t\t}\n\t\t\n\t\t//Boat reached end showing score: \n\t\tif(boat.reachedEnd()) {\n\t\t\tif(pointCounter == 0) {\n\t\t\t\tendText = \"Gefeliciteerd!\";\n\t\t\t\tcm.getScoreHandler().setScore(cm.getScoreHandler().getScore()+points);\n\t\t\t}\n\t\t\tif(pointCounter < points) {\n\t\t\t\tif(alpha < 0.2)\n\t\t\t\t\talpha += 0.0033;\n\t\t\t\tpointCounter+=3;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tpointCounter = points;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Upgrades:\n\t\tif(upgradeActive) {\n\t\t\tkeyFrame++;\n\t\t\tanimationKeyFrame++;\n\t\t\tif(speed == 10) { //Speed upgrade;\n\t\t\t\tif(keyFrame >= 180) {\n\t\t\t\t\tspeed = 6;\n\t\t\t\t\tif(boatCrash != null)\n\t\t\t\t\t\tboatCrash.setSpeed(6);\n\t\t\t\t\tfor(Coin coin : coins)\n\t\t\t\t\t\tcoin.setSpeed(6);\n\t\t\t\t\tfor(Upgrade upgrade2 : upgrades)\n\t\t\t\t\t\tupgrade2.setSpeed(6);\n\t\t\t\t\tfor(Rock rock : rocks)\n\t\t\t\t\t\trock.setSpeed(6);\n\t\t\t\t\tupgradeActive = false;\n\t\t\t\t\talpha = 0;\n\t\t\t\t\tkeyFrame = 0;\n\t\t\t\t\tanimationKeyFrame = 0;\n\t\t\t\t} \n\t\t\t\telse {\n\t\t\t\t\tif(boatCrash != null)\n\t\t\t\t\t\tboatCrash.setSpeed(10);\n\t\t\t\t\tfor(Coin coin : coins)\n\t\t\t\t\t\tcoin.setSpeed(10);\n\t\t\t\t\tfor(Upgrade upgrade2 : upgrades)\n\t\t\t\t\t\tupgrade2.setSpeed(10);\n\t\t\t\t\tfor(Rock rock : rocks)\n\t\t\t\t\t\trock.setSpeed(10);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(speed == 2) {\n\t\t\t\tif(keyFrame >= 280) {\n\t\t\t\t\tspeed = 6;\n\t\t\t\t\tif(boatCrash != null)\n\t\t\t\t\t\tboatCrash.setSpeed(6);\n\t\t\t\t\tfor(Coin coin : coins)\n\t\t\t\t\t\tcoin.setSpeed(6);\n\t\t\t\t\tfor(Upgrade upgrade2 : upgrades)\n\t\t\t\t\t\tupgrade2.setSpeed(6);\n\t\t\t\t\tfor(Rock rock : rocks)\n\t\t\t\t\t\trock.setSpeed(6);\n\t\t\t\t\tupgradeActive = false;\n\t\t\t\t\talpha = 0;\n\t\t\t\t\tkeyFrame = 0;\n\t\t\t\t\tanimationKeyFrame = 0;\n\t\t\t\t} \n\t\t\t\telse {\n\t\t\t\t\tif(boatCrash != null)\n\t\t\t\t\t\tboatCrash.setSpeed(2);\n\t\t\t\t\tfor(Coin coin : coins)\n\t\t\t\t\t\tcoin.setSpeed(2);\n\t\t\t\t\tfor(Upgrade upgrade2 : upgrades)\n\t\t\t\t\t\tupgrade2.setSpeed(2);\n\t\t\t\t\tfor(Rock rock : rocks)\n\t\t\t\t\t\trock.setSpeed(2);\n\t\t\t\t}\t\n\t\t\t}\n\t\t\telse if(speed == 6) { //Bonus points\n\t\t\t\tif(keyFrame >= 65) {\n\t\t\t\t\talpha = 0;\n\t\t\t\t\tupgradeActive = false;\n\t\t\t\t\tkeyFrame = 0;\n\t\t\t\t\tanimationKeyFrame = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(alpha > 0.1)\n\t\t\t\talpha -= 0.025;\t\n\t\t}\n\t\t\n\t\t//Boat reached top of the screen: <- when player presses A to continue;\n\t\tif(boat.reachedEnd()) {\n\t\t\tif(pointCounter == points)\n\t\t\t{\n\t\t\t\tif(cm.getInputHandler().isA1Pressed() || cm.getInputHandler().isA2Pressed())\n\t\t\t\t\tcm.getGameStateManager().next();\t\n\t\t\t\t\n\t\t\t}\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "78dad761809185cccc742a1edcaa48ad", "score": "0.55314195", "text": "@Override\r\n\t\tpublic void action() {\n\t\t\tif(battle_on == 0) {\r\n\t\t\t\tSystem.out.println(\"Vencedor: Jogador \"+vencedor);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"\\n***RODADA \"+rounds+\"***\");\r\n\t\t\t\r\n\t\t\tif(rounds == 0) {\r\n\t\t\t\tSystem.out.println(\"Que comece a batalha!\");\r\n\t\t\t}\r\n\r\n\t\t\trounds++;\r\n\t\t\t\r\n\t\t\tprintEstadoAtual();\r\n\t\t\t\r\n\t\t\t//Obt�m jogadas\r\n\t\t\tjogadas[0] = p0.getJogada(opcoes);\r\n\t\t\tjogadas[1] = p1.getJogada(opcoes);\r\n\t\t\t\r\n\t\t\t//As jogadas têm prioridades diferentes. Os jogadores selecionam suas jogadas e, então, a prioritária é executada\r\n\t\t\t//primeiro. A ordem de prioridade é a da disposição dos itens na array \"opcoes\" desta classe.\r\n\t\t\t//Se ambas as jogadas tiverem a mesma prioridade, o jogador 0 joga primeiro.\r\n\t\t\tint jogada_prioritaria = 0;\r\n\t\t\tint outra_jogada = 1;\r\n\t\t\tPlayer primeiro = p0;\r\n\t\t\tPlayer outro = p1;\r\n\t\t\t\r\n\t\t\t//Jogador 1 tem jogada prioritária\r\n\t\t\tif(jogadas[0] < jogadas[1]) {\r\n\t\t\t\tjogada_prioritaria = jogadas[0];\r\n\t\t\t\toutra_jogada = jogadas[1];\r\n\t\t\t\tprimeiro = p0;\r\n\t\t\t\toutro = p1;\r\n\t\t\t//Jogador 1 não tem jogada prioritária\r\n\t\t\t}else if(jogadas[1] <= jogadas[0]){\r\n\t\t\t\tjogada_prioritaria = jogadas[0];\r\n\t\t\t\toutra_jogada = jogadas[1];\r\n\t\t\t\tprimeiro = p0;\r\n\t\t\t\toutro = p1;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//Adicionar os eventos das jogadas\r\n\t\t\t\r\n\t\t\tswitch(jogada_prioritaria) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\taddEvent(new Fugir(System.currentTimeMillis(),primeiro.num));\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\taddEvent(new Trocar_Pokemon(System.currentTimeMillis(),primeiro));\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\taddEvent(new Usar_Item(System.currentTimeMillis(),primeiro));\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\taddEvent(new Atacar(System.currentTimeMillis(),primeiro,outro));\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\tswitch(outra_jogada) {\r\n\t\t\t\t\tcase 0:\r\n\t\t\t\t\t\taddEvent(new Fugir(System.currentTimeMillis(),outro.num));\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tcase 1: \r\n\t\t\t\t\t\taddEvent(new Trocar_Pokemon(System.currentTimeMillis(),outro));\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 2:\r\n\t\t\t\t\t\taddEvent(new Usar_Item(System.currentTimeMillis(),outro));\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 3:\r\n\t\t\t\t\t\taddEvent(new Atacar(System.currentTimeMillis(),outro,primeiro));\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\taddEvent(new Rodada(System.currentTimeMillis()));\r\n\t\t\r\n\t\t}", "title": "" }, { "docid": "acf9d39dfe77a2ca422ae0581fc5dd8d", "score": "0.55254006", "text": "public void alienHit(Graphics2D g2)\n {\n for(int i = 0; i < myAliens.size(); i++)\n {\n myAliens.get(i).drawMe(g2); \n }\n \n \n for(int i = 0; i < myAliens.size(); i++)\n {\n for(int a = 0; a < myShield.size(); a++)\n {\n if(myAliens.get(i).getY() + 40 > myShield.get(a).getY() && \n myAliens.get(i).getX() + 40 > myShield.get(a).getX() && \n myAliens.get(i).getX() < myShield.get(a).getX() + myShield.get(a).SIZE)\n {\n myShield.get(a).destroy();\n \n if(myShield.get(a).getLives() == 0)\n {\n myShield.remove(a);\n }\n }\n }\n } \n \n for(int i = 0; i < myAliens.size(); i++)\n {\n if(myShip.getY() + myShip.SIZE > myAliens.get(i).getY() + 40 && \n myShip.getY() < myAliens.get(i).getY() + 20 &&\n myShip.getX() + myShip.SIZE > myAliens.get(i).getX() && \n myShip.getX() < myAliens.get(i).getX() + 45)\n {\n myApp.switchScreen(\"lose\");\n redraw(myApp);\n restoreShip();\n }\n } \n }", "title": "" }, { "docid": "bcd836a748154f511264bee6af320d15", "score": "0.55241984", "text": "public void shoot() {\n if(feederState == FeederState.RETRACTED && mode == Mode.SHOOTING && targetVelocity * 0.9 <= currentVelocity && currentVelocity <= targetVelocity * 1.1) {\n feeder.setPosition(feederExtendedPosition);\n feederTimer.reset();\n feederState = FeederState.PUSHING;\n }\n }", "title": "" }, { "docid": "c1065cc44c780b5987462a7e3cfd1323", "score": "0.55229723", "text": "@Override\n\tpublic void action() {\n\t\ttry {\n\t\t\tThread.sleep(100);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t// update 100ms to simulated time\n\t\tagent.addupSimulatedTime(100);\n\t\t\n\t\tfor (AID neighborAgentAID:agent.getNeighborAIDList()) {\n\t\t\tagent.sendObjectMessageWithTime(neighborAgentAID, agent.getValueAtEachTSMap(), \n\t\t\t\t\tPROPAGATE_DPOP_VALUE, agent.getSimulatedTime());\n\t\t}\n\t}", "title": "" }, { "docid": "cdbfe4e9e0d64c1304e3ac20e8728faa", "score": "0.5521905", "text": "public void gearPiston(){\n \t//if(constants.alpha == true){\n\t \tif (piston.get() == DoubleSolenoid.Value.kForward){\n\t \t\tpiston.set(DoubleSolenoid.Value.kReverse);\n\t \t}else {\n\t \t\tpiston.set(DoubleSolenoid.Value.kForward);\n\t \t}\n\t \tif(Robot.drivetrain.gearUltraValue <= 2.5 + constants.ultrasonicTolerance){\n\t \t\tgearLight.set(DoubleSolenoid.Value.kReverse);\n\t \t}\n\t \tif(Robot.drivetrain.gearUltraValue > 2.5 + constants.ultrasonicTolerance){\n\t \t\tgearLight.set(DoubleSolenoid.Value.kForward);\n\t \t}\n\t }", "title": "" }, { "docid": "6e0b79f6a537d9cbb4a53082cf4e7f1a", "score": "0.55215406", "text": "@Override\n public void execute() {\n Vector2d pos = hopper.ballPosition();\n double offset = (pos.x - Constants.PIXYCAM.CENTER_X) / Constants.PIXYCAM.CENTER_X;\n\n drivetrain.setPower(\n MathUtil.clamp(Math.atan(offset) - Constants.POWER.AUTO_MIN,\n -Constants.POWER.AUTO_MAX, Constants.POWER.AUTO_MAX),\n MathUtil.clamp(-Math.atan(offset) - Constants.POWER.AUTO_MIN,\n -Constants.POWER.AUTO_MAX, Constants.POWER.AUTO_MAX));\n }", "title": "" }, { "docid": "db2524128472a253f35fc9e7d20394f4", "score": "0.5518869", "text": "protected void execute() {\n \trightShootControl.setSetpoint(Variables.shooterRPS);\n \trightShootControl.setF(Variables.shootFeedForward);\n \tif (rightShootControl.onTarget()) {\n \t\tVariables.rightShootReady = true;\n \t}\n \telse {\n \t\tVariables.rightShootReady = false;\n \t}\n }", "title": "" }, { "docid": "2073e15b767002f9733f583b84351d1b", "score": "0.5518153", "text": "@Override\n protected void execute() {\n double power = oi.getAuxiliary().getRightVerticalAxis();\n // System.out.println(\"Cargo arm joystick \"+power);\n\n\n // Positive power: towards body\n // Negative power: away from body\n if(power > 0) {\n power *= powerScalarTowardsBody;\n } else {\n power *= powerScalarAwayFromBody;\n }\n\n\n // System.out.println(\"Cargo arm power: \"+power);\n cargoArm.Lift(power);\n // System.out.println(\"Cargo arm: \"+ power);\n\n //TODO: override limit switch to intake/spit ball\n\n if(oi.getAuxiliary().getButtonX().isPressed()) {\n cargoArm.intake();\n } else if(oi.getAuxiliary().getButtonB().isPressed()) {\n cargoArm.spit();\n } else {\n cargoArm.off();\n }\n\n }", "title": "" }, { "docid": "bb3111ef099062cf3a37e03a73c135f2", "score": "0.5512266", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\tSmartDashboard.putNumber(\"PDP Voltage\", RobotMap.pdp.getVoltage());\n\t\tSmartDashboard.putNumber(\"PDP Total Current\", RobotMap.pdp.getTotalCurrent());\n\t\tSmartDashboard.putNumber(\"Power\", RobotMap.pdp.getTotalPower());\n\t\tSmartDashboard.putNumber(\"Yaw\", RobotMap.navX.getAngle());\n\t\tSmartDashboard.putNumber(\"EncoderLeft\", RobotMap.EncoderLeft.getDistance());\n\t\t// Ports for PDP\n\t\t\n\t\tSmartDashboard.putNumber(\"PDP Port0\", RobotMap.pdp.getCurrent(0));\n\t\tSmartDashboard.putNumber(\"PDP Port1\", RobotMap.pdp.getCurrent(1));\n\t\tSmartDashboard.putNumber(\"PDP Port2\", RobotMap.pdp.getCurrent(2));\n\t\tSmartDashboard.putNumber(\"PDP Port3\", RobotMap.pdp.getCurrent(3));\n\t\tSmartDashboard.putNumber(\"PDP Port4\", RobotMap.pdp.getCurrent(4));\n\t\tSmartDashboard.putNumber(\"PDP Port5\", RobotMap.pdp.getCurrent(5));\n\t\tSmartDashboard.putNumber(\"PDP Port6\", RobotMap.pdp.getCurrent(6));\n\t\tSmartDashboard.putNumber(\"PDP Port7\", RobotMap.pdp.getCurrent(7));\n\t\tSmartDashboard.putNumber(\"PDP Port8\", RobotMap.pdp.getCurrent(8));\n\t\tSmartDashboard.putNumber(\"PDP Port9\", RobotMap.pdp.getCurrent(9));\n\t\tSmartDashboard.putNumber(\"PDP Port10\", RobotMap.pdp.getCurrent(10));\n\t\tSmartDashboard.putNumber(\"PDP Port11\", RobotMap.pdp.getCurrent(11));\n\t\tSmartDashboard.putNumber(\"PDP Port12\", RobotMap.pdp.getCurrent(12));\n\t\tSmartDashboard.putNumber(\"PDP Port13\", RobotMap.pdp.getCurrent(13));\n\t\tSmartDashboard.putNumber(\"PDP Port14\", RobotMap.pdp.getCurrent(14));\n\t\tSmartDashboard.putNumber(\"PDP Port15\", RobotMap.pdp.getCurrent(15));\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t//SmartDashboard.putNumber(\"Distance\", RobotMap.ultra.getRangeInches());\n\t\tif(RobotMap.pdp.getCurrent(/*climberMotor*/7) < /*get value here*/ 0){\n\t\t\tOI.xboxController2.setRumble(GenericHID.RumbleType.kLeftRumble, 1);\n\t\t}\n\t\telse{\n\t\t\tOI.xboxController2.setRumble(GenericHID.RumbleType.kLeftRumble, 0);\n\t\t}\n\t\t//cameras.updateCam();\n\n\t}", "title": "" }, { "docid": "1b467995f505f28cc5e59cab5f795d03", "score": "0.5511469", "text": "public void fly() {\n\t\tSystem.out.println(\"I believe I can flyyyyy....\");\n\t}", "title": "" }, { "docid": "e0abcfb6057db3d8d38022c23848aed5", "score": "0.5509061", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tdrive.move();\n\t\tropeClimber.move();\n\t\tconveyorBelt.move();\n\t}", "title": "" }, { "docid": "86f1237700fde8d418840ed93f19aa2c", "score": "0.5502877", "text": "public void calculatePlayer_1_shot() {\n // On very first shot of each set, it's forbidden score points\n verifyWhitePinFalled();\n if (shotNumber == 1) {\n // add points for each white pin falled\n if (whiteOnYellow.isChecked()) {\n if (whitePinsFalled != 0) {\n player2points += 2 * whitePinsFalled;\n }\n\n // add points when red pin falls\n if (red_pin.isChecked() && whitePinsFalled == 0) {\n player2points += 10;\n } else if (red_pin.isChecked() && whitePinsFalled != 0) {\n player2points += 4;\n }\n\n // add points when the white ball touches the red one after it touched the yellow one\n if (whiteOnRed.isChecked()) {\n player2points += 4;\n } else {\n // add points when the yellow ball, touched by the white one, touches the red one\n if (whiteOnYellowOnRed.isChecked()) {\n player2points += 3;\n }\n }\n\n } else {\n // fault points\n player2points += 2;\n\n // points for every white pin falled\n if (whitePinsFalled != 0) {\n player2points += 2 * whitePinsFalled;\n }\n\n // points for red pin falled alone or with white ones\n if (red_pin.isChecked() && whitePinsFalled == 0) {\n player2points += 10;\n } else if (red_pin.isChecked() && whitePinsFalled != 0) {\n player2points += 4;\n }\n\n // points for touching red ball first\n if (whiteOnRed.isChecked()) {\n player2points += 4;\n }\n\n }\n } else {\n // add points for each white pin falled\n if (whiteOnYellow.isChecked()) {\n int points = 0;\n\n if (whitePinsFalled != 0) {\n points += 2 * whitePinsFalled;\n }\n\n // points for red pin falled alone or with white ones\n if (red_pin.isChecked() && whitePinsFalled == 0) {\n points += 10;\n } else if (red_pin.isChecked() && whitePinsFalled != 0) {\n points += 4;\n }\n\n // add points when the white ball touches the red one after it touched the yellow one\n if (whiteOnRed.isChecked()) {\n points += 4;\n } else {\n // add points when the yellow ball, touched by the white one, touches the red one\n if (whiteOnYellowOnRed.isChecked()) {\n points += 3;\n }\n\n }\n\n // if white ball strikes pins, all the points are loss and gained by the opponent player\n if (whiteOnPins.isChecked()) {\n player2points += points;\n } else {\n player1points += points;\n }\n\n } else {\n // fault points\n player2points += 2;\n\n // points for every white pin falled\n if (whitePinsFalled != 0) {\n player2points += 2 * whitePinsFalled;\n }\n\n // points for red pin falled alone or with white ones\n if (red_pin.isChecked() && whitePinsFalled == 0) {\n player2points += 10;\n } else if (red_pin.isChecked() && whitePinsFalled != 0) {\n player2points += 4;\n }\n\n // points for touching red ball first\n if (whiteOnRed.isChecked()) {\n player2points += 4;\n }\n }\n }\n\n shotNumber += 1;\n whitePinsFalled = 0;\n }", "title": "" }, { "docid": "ba8bfa1572a27c1488e2e2bb7906f720", "score": "0.5501156", "text": "@Override\n public void update() {\n if (world.isRemote && this.doBigFlame) {\n for (int i = 0; i < 40; i++) {\n ParticleUtil.spawnParticleFiery(world, getPos().getX() + 0.125f + 0.75f * Util.rand.nextFloat(), getPos().getY() + 0.75f + 0.5f * Util.rand.nextFloat(),\n getPos().getZ() + 0.125f + 0.75f * Util.rand.nextFloat(), 0.03125f * (Util.rand.nextFloat() - 0.5f), 0.125f * Util.rand.nextFloat(),\n 0.03125f * (Util.rand.nextFloat() - 0.5f), 255.0f, 224.0f, 32.0f, 0.75f, 9.0f + 9.0f * Util.rand.nextFloat(), 40);\n }\n doBigFlame = false;\n }\n //Spawn Fire particles\n if (world.isRemote) {\n for (int i = 0; i < 2; i++) {\n ParticleUtil\n .spawnParticleFiery(world, getPos().getX() + 0.3125f + 0.375f * Util.rand.nextFloat(), getPos().getY() + 0.625f + 0.375f * Util.rand.nextFloat(),\n getPos().getZ() + 0.3125f + 0.375f * Util.rand.nextFloat(), 0.03125f * (Util.rand.nextFloat() - 0.5f), 0.125f * Util.rand.nextFloat(),\n 0.03125f * (Util.rand.nextFloat() - 0.5f), 255.0f, 96.0f, 32.0f, 0.75f, 7.0f + 7.0f * Util.rand.nextFloat(), 40);\n }\n }\n }", "title": "" }, { "docid": "3415aeefb7fe55c148e1368c02cc24e7", "score": "0.54999393", "text": "@Override\n public void teleopPeriodic() {\n if (isDutyCycle()) {\n leadPidController.setReference(0, ControlType.kDutyCycle);\n } else {\n System.out.println(\"setPoint: \" + getSetPoint());\n leadPidController.setReference(getSetPoint(), ControlType.kVelocity);\n }\n NtHelper.setDouble(\"/pid/encoderPosition\", leadEncoder.getPosition());\n NtHelper.setDouble(\"/pid/encoderCount\", getEncoderCount());\n NtHelper.setDouble(\"/pid/encoderConversionFactor\", leadEncoder.getPositionConversionFactor());\n NtHelper.setDouble(\"/pid/velocity\", leadEncoder.getVelocity());\n\n }", "title": "" } ]
0c46b742b34888bd5d3e7fe6e3c6786f
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
[ { "docid": "9946c578ac7b7cf626e48b0cd7d62d7c", "score": "0.0", "text": "public ModifyBlueprintAttributeRequest(ModifyBlueprintAttributeRequest source) {\n if (source.BlueprintId != null) {\n this.BlueprintId = new String(source.BlueprintId);\n }\n if (source.BlueprintName != null) {\n this.BlueprintName = new String(source.BlueprintName);\n }\n if (source.Description != null) {\n this.Description = new String(source.Description);\n }\n }", "title": "" } ]
[ { "docid": "b4d2a6406ea6be2bb988058cd250ace7", "score": "0.64156985", "text": "public void set(String key, Object value);", "title": "" }, { "docid": "98c491c75f715b8fdfb401aa9fbdab59", "score": "0.6377414", "text": "public void set(String key, String value);", "title": "" }, { "docid": "9853def18ded91f0d2ba09287a4691d9", "score": "0.63751894", "text": "public V set(K key, V value);", "title": "" }, { "docid": "9853def18ded91f0d2ba09287a4691d9", "score": "0.63751894", "text": "public V set(K key, V value);", "title": "" }, { "docid": "de54bab3a266aa3e3184cbe9127e1a73", "score": "0.607907", "text": "@Override\n\tpublic void setObjectForKey(Object value, String key) {\n\t}", "title": "" }, { "docid": "6b098a424739f8858d6ae0c8415b5a13", "score": "0.59911734", "text": "public void setItem(Obj key, Obj value) {\n int len = objects.length / 2;\n for (int i = 0; i < len; i++) {\n if (objects[i] == null) {\n objects[i] = key;\n objects[i + len] = value;\n return;\n }\n }\n throw new RuntimeException();\n }", "title": "" }, { "docid": "4f087f2a9303a53f340d42865fcb914d", "score": "0.58547705", "text": "void put(Object key, Object value);", "title": "" }, { "docid": "6fb652be356a3e78426d82cb5aa26bf8", "score": "0.5843084", "text": "public void set(K key, V value) {\n\t\tsuper.put(key, value);\n\t}", "title": "" }, { "docid": "160fa5d971d43fbb912cae58ee73302b", "score": "0.57876503", "text": "public void setValue( K key, V value );", "title": "" }, { "docid": "47b7bf43559773114096de2870fbb0b0", "score": "0.5759702", "text": "@Override\n\t\tpublic synchronized Object put(Object key, Object value) {\n\t\t\tif (!sealed) {\n\t\t\t\t//setProperty calls put, so until the object is fully constructed, we \n\t\t\t\t//cannot seal it.\n\t\t\t\treturn super.put(key, value);\n\t\t\t}\n\t\t\t\n throw new UnsupportedOperationException(\"immutable properties are read only\");\n\t\t}", "title": "" }, { "docid": "97a83661d2a7b6a2b7e580c3bca7ea1c", "score": "0.5726934", "text": "private void setKey(T k) { key = k; }", "title": "" }, { "docid": "cb63d48903cb055c761d0bf3fbeee962", "score": "0.57180864", "text": "public void setSetEntry(String key, String value) throws Exception {\n if(hasSetEntry()) throw new Exception(\"Set entry already known.\");\n if(hasSaveKey() && saveKey.equals(key))\n throw new Exception(\"Detected potential collision in oracle.\");\n setEntry = new SimpleEntry<>(key, value);\n }", "title": "" }, { "docid": "1e93883c1036e59ff487b3139a95b26d", "score": "0.5702285", "text": "@Override\r\n\tpublic Object put(String key, Object value) {\n\t\tthis.hash = this.hash + (key.hashCode() + value.getClass().hashCode() + value.hashCode());\r\n\t\treturn super.put(key, value);\r\n\t}", "title": "" }, { "docid": "65e4da6250d196ecff13b891f694e186", "score": "0.5687197", "text": "public void setAsObject(String key, Object value) {\n\t\tput(key, value);\n\t}", "title": "" }, { "docid": "b1ad96b2fd98ef5248f3a881fcee34ca", "score": "0.5615758", "text": "@Override\n\tpublic void put(Object key, Object val) {\n\t\t\n\t}", "title": "" }, { "docid": "b1ad96b2fd98ef5248f3a881fcee34ca", "score": "0.5615758", "text": "@Override\n\tpublic void put(Object key, Object val) {\n\t\t\n\t}", "title": "" }, { "docid": "cb3019ca30af78c8b66a796f9b35e5b4", "score": "0.56079715", "text": "public void setOwnerKey(String newKey) throws Exception\r\n {\r\n tempOwnerKey = newKey;\r\n }", "title": "" }, { "docid": "325cba3b39b9bed22e98e38a9f6974fc", "score": "0.5607135", "text": "@Override // com.google.common.collect.ImmutableSet, com.google.common.collect.ImmutableCollection\n @GwtIncompatible\n public Object writeReplace() {\n return new KeySetSerializedForm(this.map);\n }", "title": "" }, { "docid": "dfe49e7c3d5bae63a995b7ec89f5d571", "score": "0.556385", "text": "@Override\r\n public synchronized Object put(Object key, Object value)\r\n {\n if( get(key)==null ) keys.add(key);\r\n return super.put(key,value);\r\n }", "title": "" }, { "docid": "108aacbc16b6663d958c237576d06674", "score": "0.5547352", "text": "void put(String key, Object value);", "title": "" }, { "docid": "726fb753403c722dc9943c06f3f85b77", "score": "0.55472875", "text": "@Override\n\tpublic void rawset(final LuaValue key, final LuaValue value) {\n\t\tif (!key.isinttype() || !this.arrayset(key.toint(), value))\n\t\t\tthis.hashset(key, value);\n\t}", "title": "" }, { "docid": "30cfcd6ce5b44d6e6e223a5924c93b64", "score": "0.5518083", "text": "public void setData (String key, Object value) {\n\tcheckDevice ();\n\tif (key == null) error (SWT.ERROR_NULL_ARGUMENT);\n\t\n\t/* Remove the key/value pair */\n\tif (value == null) {\n\t\tif (keys == null) return;\n\t\tint index = 0;\n\t\twhile (index < keys.length && !keys [index].equals (key)) index++;\n\t\tif (index == keys.length) return;\n\t\tif (keys.length == 1) {\n\t\t\tkeys = null;\n\t\t\tvalues = null;\n\t\t} else {\n\t\t\tString [] newKeys = new String [keys.length - 1];\n\t\t\tObject [] newValues = new Object [values.length - 1];\n\t\t\tSystem.arraycopy (keys, 0, newKeys, 0, index);\n\t\t\tSystem.arraycopy (keys, index + 1, newKeys, index, newKeys.length - index);\n\t\t\tSystem.arraycopy (values, 0, newValues, 0, index);\n\t\t\tSystem.arraycopy (values, index + 1, newValues, index, newValues.length - index);\n\t\t\tkeys = newKeys;\n\t\t\tvalues = newValues;\n\t\t}\n\t\treturn;\n\t}\n\t\n\t/* Add the key/value pair */\n\tif (keys == null) {\n\t\tkeys = new String [] {key};\n\t\tvalues = new Object [] {value};\n\t\treturn;\n\t}\n\tfor (int i=0; i<keys.length; i++) {\n\t\tif (keys [i].equals (key)) {\n\t\t\tvalues [i] = value;\n\t\t\treturn;\n\t\t}\n\t}\n\tString [] newKeys = new String [keys.length + 1];\n\tObject [] newValues = new Object [values.length + 1];\n\tSystem.arraycopy (keys, 0, newKeys, 0, keys.length);\n\tSystem.arraycopy (values, 0, newValues, 0, values.length);\n\tnewKeys [keys.length] = key;\n\tnewValues [values.length] = value;\n\tkeys = newKeys;\n\tvalues = newValues;\n}", "title": "" }, { "docid": "c151dff9426247dd520711a80b15f1e1", "score": "0.5516135", "text": "public void setItem(Obj key, Obj value) {\n objects.put(key, value);\n }", "title": "" }, { "docid": "a3dfd3f593ca74eaaaa72a1850fabd13", "score": "0.5514843", "text": "VALUE put(KEY key, VALUE value);", "title": "" }, { "docid": "afa4cbd1889a58cc8c1741a5f60653ce", "score": "0.5505412", "text": "public DocObject putOnce(String key, Object value) {\n if (key != null && value != null) {\n if (get(key) != null) {\n throw new DocException(\"Duplicate key \\\"\" + key + \"\\\"\");\n }\n put(key, value);\n }\n return this;\n }", "title": "" }, { "docid": "7cf87674ec761260725eaf55bbff09d5", "score": "0.55038375", "text": "public void set(String key, Object value) {\n stateMap.put(key, value);\n }", "title": "" }, { "docid": "a61d5eaad8e1c7bea821b30295fead16", "score": "0.54998904", "text": "@Test\n\tpublic void testConstructorClonesSet() {\n\t\tSet<String> s1 = new HashSet<String>();\n\t\ts1.add(\"A\");\n\t\ts1.add(\"B\");\n\t\tCappedSetOfStrings s = new CappedSetOfStrings(10, s1);\n\n\t\t// Change original set\n\t\ts1.add(\"C\");\n\n\t\t// Check CappedSetOfStrings hasn't changed\n\t\tCappedSetOfStrings s2 = new CappedSetOfStrings(10);\n\t\ts2.addString(\"A\");\n\t\ts2.addString(\"B\");\n\t\tassertEquals(s, s2);\n\n\t\t// Add to CappedSetOfStrings\n\t\ts1.remove(\"C\");\n\t\ts.addString(\"X\");\n\n\t\t// Check that Set hasn't changed\n\t\tSet<String> expected = new HashSet<String>();\n\t\texpected.add(\"A\");\n\t\texpected.add(\"B\");\n\t\tassertEquals(expected, s1);\n\t}", "title": "" }, { "docid": "bdded86d0bc2c86e371d00240d067da9", "score": "0.54969543", "text": "public void setObject(String key, Object v){\n\n Object old = getRawInPrototypeChain(key);\n if (old instanceof JsFunction \n && ((JsFunction) old).getParameterCount() == -1) {\n JsFunction nat = (JsFunction) old;\n JsArray stack = new JsArray();\n stack.setObject(0, v);\n evalNative(nat.index + 1, stack, 0, 0);\n return;\n } else if (old == null && scopeChain != null) {\n scopeChain.setObject(key, v);\n } else {\n if (data == null) {\n data = new Hashtable();\n }\n data.put(key, v == null ? UNDEFINED_PLACEHOLDER : v);\n }\n }", "title": "" }, { "docid": "07f9eef62665cda553d30c4944f0a48f", "score": "0.5453185", "text": "@Test\n public void testPut2() {\n System.out.println(\"put\");\n Object key = \"Hello\";\n Object value = \"world\";\n SimpleMap instance = new SimpleMap();\n\n \n Object result = instance.put(key, value);\n assertEquals(1, instance.size());\n\n Object expResult = value;\n result = instance.put(key, \"le monde\");\n assertEquals(expResult, result);\n assertEquals(1, instance.size());\n }", "title": "" }, { "docid": "f878ad264c85972e5c97b9eed72a93d8", "score": "0.5452334", "text": "public void set(final String key, final Object value) {\n lock.writeLock().lock();\n try {\n if (value.equals(configEntries.get(key))) {\n return;\n }\n \n configEntries.put(key, value);\n reportChangedKey(key);\n } finally {\n lock.writeLock().unlock();\n }\n }", "title": "" }, { "docid": "afffa806567d36740369c7fc06d90355", "score": "0.5441429", "text": "<K> void setData(DataKey<K> key, K data);", "title": "" }, { "docid": "58fff691a3291f2d430bea5554b56d53", "score": "0.54395527", "text": "public void put(String key, String value) {\n int k = getSetId(key);\n // check if key exists\n for(Entry e: sets[k]) {\n \tif(e.getKey().equals(key)) {\n \t\te.setValue(value);\n \t\te.setRefer(true);\n \t\treturn ;\n \t}\n }\n // does not exist\n if(sets[k].size() == numElem) { // remove one element\n \twhile(sets[k].getFirst().getRefer()) {\n \t\tEntry t = sets[k].remove();\n \t\tt.setRefer(false);\n \t\tsets[k].add(t);\n \t}\n \tsets[k].remove(); // remove the first element marked\n }\n // add a new entry\n sets[k].add(new Entry(key, value, false));\n }", "title": "" }, { "docid": "32581cc6772cbdf2db07dc57f7940b07", "score": "0.5438663", "text": "void renamenx(K key, K newkey);", "title": "" }, { "docid": "3c32978e2e2c6f6f2ce7eeafa4739b26", "score": "0.5437653", "text": "@Override\n public V put(@NotNull K key, @NotNull V value) {\n int hash = getHashingStrategy().computeHashCode(key);\n return put(key, hash, value, false);\n }", "title": "" }, { "docid": "9b1f07695fbf6a0b322f873b2860203f", "score": "0.5432762", "text": "public Object put(Object key, Object value) {\r\n touch(key);\r\n return map.put(key, value);\r\n }", "title": "" }, { "docid": "8cfe714db3b7f16c2de35bf8ded6e8e3", "score": "0.5422211", "text": "void put(K key, V object);", "title": "" }, { "docid": "22f9fa672b76cedf8ef9ae9f527f507c", "score": "0.54130316", "text": "public void duplicateMyKeys() throws IOException{\n\t\tString mySerialKey = serializeMyKeys();\n\t\tRemoteProcedureCall(mSuccessor, \"setReplicateKeys \" + mySerialKey);\n\t}", "title": "" }, { "docid": "c169a36c7fe2e559cebf936c7dfc8951", "score": "0.5408998", "text": "@Test\n public void testEquals() {\n final DefaultConfigurationKey k1 = key(TESTKEY);\n assertEquals(k1, k1);\n final DefaultConfigurationKey k2 = key(TESTKEY);\n assertEquals(k1, k2);\n assertEquals(k2, k1);\n assertEquals(k1.hashCode(), k2.hashCode());\n k2.append(\"anotherPart\");\n assertNotEquals(k1, k2);\n assertNotEquals(k2, k1);\n assertNotEquals(null, k1);\n assertNotEquals(TESTKEY, k1);\n }", "title": "" }, { "docid": "4302a7baf5e123ca514d3912937557d8", "score": "0.5406551", "text": "@Override\n public void set(final String key, final String value) {\n set(key, (Object) value);\n }", "title": "" }, { "docid": "cb2e806da1c3828b372d8172857ca5fc", "score": "0.53987557", "text": "public void setKey(K newKey) {\n key = newKey;\n }", "title": "" }, { "docid": "773490b6e69cbf252d2f6c42fbd68397", "score": "0.5391507", "text": "public abstract void doSet(Object dest, Object value);", "title": "" }, { "docid": "c7ccd4505bbccf66b2d5554417a55559", "score": "0.5388778", "text": "public void put(String key, Object value);", "title": "" }, { "docid": "f9b91dab7b9ee0973cd23e8f427351aa", "score": "0.5382396", "text": "<K> void rawSetData(DataKey<K> key, K data);", "title": "" }, { "docid": "bd5bc51c562e40d1ecfb988569e6d2dd", "score": "0.53800774", "text": "public setBlobMeta_args(setBlobMeta_args other) {\n if (other.is_set_key()) {\n this.key = other.key;\n }\n if (other.is_set_meta()) {\n this.meta = new SettableBlobMeta(other.meta);\n }\n }", "title": "" }, { "docid": "77e4fcaac3712c82b326858773b35af8", "score": "0.53780717", "text": "public void $put(String key, T object, int originator);", "title": "" }, { "docid": "a3c114a5da5b0aae2dfc3125dd395393", "score": "0.53703445", "text": "@Override\n\t\t@SuppressWarnings(\"unused\")\n\t\tpublic synchronized void putAll(Map<? extends Object, ? extends Object> t) {\n throw new UnsupportedOperationException(\"immutable properties are read only\");\n\t\t}", "title": "" }, { "docid": "1a076b2453293456dad715bac181a6e2", "score": "0.5367437", "text": "void put(K k, V v);", "title": "" }, { "docid": "b10638ce3df88b810141059e9b9bf35d", "score": "0.53458047", "text": "public void set(String key, Object value) {\n this.items.put(key, value);\n }", "title": "" }, { "docid": "261a2ebf36c73bd9096a34d06793ccb1", "score": "0.5344016", "text": "@Override\r\n\tpublic void put(String key, Object obj) {\n\t}", "title": "" }, { "docid": "e9eae423d4ac18e3c0d08b7e5aaed527", "score": "0.5322364", "text": "private void setKey(Object key) {\n Assertion.isNotNull(key, \"key is required\");\n this.key = key;\n }", "title": "" }, { "docid": "2f5deb0217f69a058032f766c76d0020", "score": "0.5321669", "text": "public void hashset(final LuaValue key, final LuaValue value) {\n\t\tif (value.isnil())\n\t\t\tthis.hashRemove(key);\n\t\telse {\n\t\t\tint index = 0;\n\t\t\tif (this.hash.length > 0) {\n\t\t\t\tindex = this.hashSlot(key);\n\t\t\t\tfor (Slot slot = this.hash[index]; slot != null; slot = slot.rest()) {\n\t\t\t\t\tStrongSlot foundSlot;\n\t\t\t\t\tif ((foundSlot = slot.find(key)) != null) {\n\t\t\t\t\t\tthis.hash[index] = this.hash[index].set(foundSlot, value);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this.checkLoadFactor()) {\n\t\t\t\tif (key.isinttype() && key.toint() > 0) {\n\t\t\t\t\t// a rehash might make room in the array portion for this key.\n\t\t\t\t\tthis.rehash(key.toint());\n\t\t\t\t\tif (this.arrayset(key.toint(), value))\n\t\t\t\t\t\treturn;\n\t\t\t\t} else {\n\t\t\t\t\tthis.rehash(-1);\n\t\t\t\t}\n\t\t\t\tindex = this.hashSlot(key);\n\t\t\t}\n\t\t\tfinal Slot entry = (this.m_metatable != null) ? this.m_metatable.entry(key, value) : LuaTable.defaultEntry(key, value);\n\t\t\tthis.hash[index] = (this.hash[index] != null) ? this.hash[index].add(entry) : entry;\n\t\t\t++this.hashEntries;\n\t\t}\n\t}", "title": "" }, { "docid": "32212b4b00a3049dda8ea19d3ca6fa4c", "score": "0.5319624", "text": "@Override\r\n \tpublic synchronized Object put(Object key, Object value) {\n \t\tObject o = super.put(key, value);\r\n \t\tfirePreferenceChanged();\r\n \t\treturn o;\r\n \t}", "title": "" }, { "docid": "3d0385aca87b86ea389663d84b786ef5", "score": "0.5300752", "text": "protected void setValue(int key, Object obj) {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e5d39ad0d15a2cee10c3155074345f39", "score": "0.52955246", "text": "<V> void put(Key key, V value);", "title": "" }, { "docid": "8bbed3e5fd9ce08f4e75c708d957277f", "score": "0.5269975", "text": "public V put(K key, V value)\r\n/* 372: */ {\r\n/* 373:1005 */ return putVal(key, value, false);\r\n/* 374: */ }", "title": "" }, { "docid": "d001797ad4e979083ac2963f534a3eac", "score": "0.5269092", "text": "public void set(String key, String value) {\n/* 1330 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "f306af0766b36b07ae2ae2e726b9cf2d", "score": "0.5268573", "text": "E set(E ref);", "title": "" }, { "docid": "6e323979f84f33a0e29e1c164aa508fd", "score": "0.5266165", "text": "public void override(E key) {\n\t\tthis.set.add(key);\n\t}", "title": "" }, { "docid": "a1648732a8ffa46ce18c4d17c3cf50d2", "score": "0.52628964", "text": "void setProperty(Object key, Object value);", "title": "" }, { "docid": "49871fdd5b46f703ef09236081d8a626", "score": "0.52596176", "text": "public Object put(Object key, Object value) {\n/* 131 */ return this.map.put(key, value);\n/* */ }", "title": "" }, { "docid": "ceaa9be8b8712159f55f20dfd399a807", "score": "0.5256099", "text": "void put(K key, V value);", "title": "" }, { "docid": "5f704b8144e9c54b4785be3b76cd73a2", "score": "0.52553374", "text": "public boolean put(Object key, String value);", "title": "" }, { "docid": "3662374c081caac25b102f91a42533d5", "score": "0.5231985", "text": "@Test\n\tpublic void testEqualsSameObject() {\n\t\tDiscontinueParametersAuditKey key = this.getDefaultKey();\n\t\tboolean equal = key.equals(key);\n\t\tAssert.assertTrue(\"same object not equal\", equal);\n\t}", "title": "" }, { "docid": "3d82c83fe5d3ba6441ae867fcd8d3d91", "score": "0.5230112", "text": "public void put(String key, String value);", "title": "" }, { "docid": "3890da3ad977ae940f252e53e16d7fbf", "score": "0.52273214", "text": "public void setStringToSet(String prefix, String key, String value) {\n redisTemplate2.opsForSet().add(prefix + KEY_SPLIT + key, value);\n Slf4jLogUtil.SimpleLogUtil.debug(\"RedisService:set cache key={},value={}\", prefix + KEY_SPLIT + key, value);\n }", "title": "" }, { "docid": "0f7254d3858d24d08d900b32a67b74c1", "score": "0.5215803", "text": "@Override\n public void setKey(String key, String value) {\n\n }", "title": "" }, { "docid": "11b086e2e87876cb8ffbb1404fd9caba", "score": "0.52138036", "text": "@Override\n\tpublic void setAll(Map<K, V> map) {\n\n\t}", "title": "" }, { "docid": "792be6d75d80e5460461f05509beaf30", "score": "0.5203279", "text": "@Override\n\tpublic void putAll(@SuppressWarnings(\"rawtypes\") Map oldMap) {\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tIterator<K> keysIter = oldMap.keySet().iterator();\n\t\twhile (keysIter.hasNext()) {\n\t\t\tObject k = keysIter.next();\n\t\t\tObject v = oldMap.get(k);\n\t\t\tput(k, v);\n\t\t}\n\t}", "title": "" }, { "docid": "48f1b964976085e5234fc165db6fd1b7", "score": "0.519154", "text": "public void store(Object key, Object value) {\n this.hold(key,value);\n }", "title": "" }, { "docid": "88acbca5e38f441eaadd046bc81e33a3", "score": "0.51913464", "text": "public <A> void put( Key<A> key, A value ){\r\n if( value == null ){\r\n remove( key );\r\n }\r\n else{\r\n scope.put( VALUES, key, value );\r\n }\r\n }", "title": "" }, { "docid": "75565d386cb97c9154c8ac4917d09de1", "score": "0.5187984", "text": "void copy(K source, K destination);", "title": "" }, { "docid": "6fa20758ee11e7b61565dc88da1406d4", "score": "0.5177448", "text": "@Override\r\n\tpublic void set(String key, String value) {\n\t\tvalueOperationRedis.set(key, value);\r\n\r\n\t}", "title": "" }, { "docid": "447fc803e28e32fd128e5adf3db005fc", "score": "0.5173347", "text": "V put(K key, V value);", "title": "" }, { "docid": "e1a047ba267395c35f9749757b851e0c", "score": "0.5172776", "text": "@Override\n public void put(String key, String value) {\n if(null != key && null != value) {\n super.put(key, value);\n }\n }", "title": "" }, { "docid": "160d2c87611c51866724acd9a48709a3", "score": "0.51560545", "text": "private void setAndReplicateState(String key, Object value) {\n\n if (configCtx != null && key != null && value != null) {\n\n try {\n if (log.isDebugEnabled()) {\n log.debug(\"Start replicating the property with key : \" + key\n + \" value : \" + value);\n }\n\n configCtx.setProperty(key, value);\n Replicator.replicate(configCtx, new String[]{key});\n\n if (log.isDebugEnabled()) {\n log.debug(\"Completed replication of the property with key : \" + key);\n }\n\n } catch (ClusteringFault clusteringFault) {\n handleException(\"Error during the replicating states \", clusteringFault);\n }\n }\n }", "title": "" }, { "docid": "5e99d044b1b92814f2db2bb4dc864008", "score": "0.5150897", "text": "protected void setKey(java.lang.String newKey) {\n\tkey = newKey;\n}", "title": "" }, { "docid": "aed68e7fd4201150c511ea7dbc0299a6", "score": "0.5140022", "text": "public getBlobMeta_args(getBlobMeta_args other) {\n if (other.is_set_key()) {\n this.key = other.key;\n }\n }", "title": "" }, { "docid": "d2ff57379817e6ba72cab7de589f53fc", "score": "0.51397294", "text": "public abstract void set(Integer key, Object object, boolean eternal) throws CacheException;", "title": "" }, { "docid": "e39444c2f6c3a1652b35dc2bd61bac7d", "score": "0.51298034", "text": "@Override\n\tpublic Object put(Object key, Object value) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "56c03f737b318fe71068a68d98439aa4", "score": "0.5119632", "text": "@GwtIncompatible(\"To be supported\")\n/* */ MapMaker keyEquivalence(Equivalence<Object> equivalence) {\n/* 149 */ Preconditions.checkState((this.keyEquivalence == null), \"key equivalence was already set to %s\", new Object[] { this.keyEquivalence });\n/* 150 */ this.keyEquivalence = (Equivalence<Object>)Preconditions.checkNotNull(equivalence);\n/* 151 */ this.useCustomMap = true;\n/* 152 */ return this;\n/* */ }", "title": "" }, { "docid": "50583b9ae6fbc9d0a9661d50409b9dbe", "score": "0.5103781", "text": "public void putAll(Map<K,V> other);", "title": "" }, { "docid": "0cb919a1f659760e8e8ab6b41da62f5d", "score": "0.5085646", "text": "private void copyValues(Inspectorate old) {\n\t\tthis.name = old.name;\n\t\tthis.id = old.id;\n\t}", "title": "" }, { "docid": "035df5f4c2532ed28edf7f79695f2c62", "score": "0.5082631", "text": "@Test\n\tpublic void testEqualsSimilarObject() {\n\t\tDiscontinueParametersAuditKey key1 = this.getDefaultKey();\n\t\tDiscontinueParametersAuditKey key2 = this.getDefaultKey();\n\t\tboolean equal = key1.equals(key2);\n\t\tAssert.assertTrue(equal);\n\t}", "title": "" }, { "docid": "50554b6598c3501645c7e40acf4f6f6b", "score": "0.5082594", "text": "void setKey(Object key) {\n\n this.key = key;", "title": "" }, { "docid": "296834931bd91b93dda96bbd527bb583", "score": "0.50823677", "text": "KeySetView(ConcurrentHashMapV8<K, V> map, V value)\r\n/* 3585: */ {\r\n/* 3586:4319 */ super();\r\n/* 3587:4320 */ this.value = value;\r\n/* 3588: */ }", "title": "" }, { "docid": "3181e1a97a8a085ba22b03c9e941c05e", "score": "0.5078771", "text": "protected void ddSet(String key, Object value) {\n ddSet(new DDTags(AkkaUtils.nextIdLong(), key), value);\n }", "title": "" }, { "docid": "47604acbcf092aa4a6bef1ebf13802dc", "score": "0.50773144", "text": "@Test\n public void keySetTest()\n {\n assertEquals(map.size(), 0);\n HSet s = map.keySet();\n\n fill(map);\n\n s = map.keySet();\n assertEquals(map.size(), s.size());\n \n HIterator it = s.iterator();\n while (it.hasNext())\n assertTrue(map.containsKey(it.next()));\n }", "title": "" }, { "docid": "8f455cb3c60571837e37693927b6ba1c", "score": "0.50744593", "text": "void setKeys(KeyType key1Type, KeyType key2Type, String key1Name, String key2Name);", "title": "" }, { "docid": "caf8f6ce508ccd375bab282ea0056366", "score": "0.5072339", "text": "@Override\n public void putValue(String key, Object value) {\n \n }", "title": "" }, { "docid": "dfca1afcd4b7f73da18498a3b7209587", "score": "0.50682276", "text": "public void put(K key, V value)\r\n/* 333: */ {\r\n/* 334:601 */ if (key == null) {\r\n/* 335:602 */ this.value = value;\r\n/* 336: */ } else {\r\n/* 337:604 */ this.map.put(key, value);\r\n/* 338: */ }\r\n/* 339: */ }", "title": "" }, { "docid": "b47f719121d569e0929062b41643f1c7", "score": "0.5062654", "text": "boolean put(K key, V value);", "title": "" }, { "docid": "ab9c5d3b930366c853fdd6dbe709e0d9", "score": "0.50559545", "text": "public String put(String key, String value);", "title": "" }, { "docid": "c12b17779102d18238d07d0445330f90", "score": "0.5053602", "text": "public V put(K key,V value);", "title": "" }, { "docid": "2aa06d5d991c8824da2716457f6782fe", "score": "0.50485754", "text": "public beginUpdateBlob_args(beginUpdateBlob_args other) {\n if (other.is_set_key()) {\n this.key = other.key;\n }\n }", "title": "" }, { "docid": "5db6594543dc15f166596be9e0522df9", "score": "0.50468576", "text": "void set(String key, String value, long ttl) throws Exception;", "title": "" }, { "docid": "c5223489bd9d0a0db6dbe6e62ef2637e", "score": "0.5042955", "text": "void put(String k, Object data) throws RemoteException;", "title": "" }, { "docid": "4f9277c7c0633916dd7796e82d95558b", "score": "0.50368726", "text": "@Override\n\tpublic void set(K name, V value) {\n\n\t}", "title": "" }, { "docid": "4053874c0304749f27214f27e839843b", "score": "0.5030755", "text": "public void setStringValueByKey(String key, String s) {\n\t\ttry {\n\t\t\thashMap.get(key).setValue(s);\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tLogger.logError(e, \"Error setting key. Key \" + key + \" not in dataset\");\n\t\t}\n\t}", "title": "" }, { "docid": "ec33c1936339f5de2b1d40b45b6e23e4", "score": "0.50306225", "text": "public static Map<String, Set<String>> cloneMap(\n Map<String, Set<String>> map\n ) {\n Map<String, Set<String>> clone = new HashMap<String, Set<String>>();\n for (String key : map.keySet()) {\n Set<String> set = new HashSet<String>();\n Set<String> orig = (Set<String>)map.get(key);\n set.addAll(orig);\n clone.put(key, set);\n }\n return clone;\n }", "title": "" }, { "docid": "62a5f414c6ee675e8ba801644001d615", "score": "0.5027846", "text": "public void putAll(Object key, Object[] o);", "title": "" }, { "docid": "20b05802c176e25f3846734c0aaa79df", "score": "0.50248736", "text": "public void put(Key key, Value value){\n root = put(root, key, value);\n }", "title": "" } ]
ac57ef16e96db987ed95008e45a5721d
Before the tasks execution
[ { "docid": "4d426550c4691077d0eee55083c71936", "score": "0.0", "text": "protected void onPreExecute(){\n mProgressDialog3.show();\n }", "title": "" } ]
[ { "docid": "b918066f317682cb39e5424ed58c7236", "score": "0.7795164", "text": "protected void beforeExecute(Runnable task) { }", "title": "" }, { "docid": "c2f245485677d83619ea89faa370a64b", "score": "0.7138382", "text": "@Override\n public void beforeExecution() {\n }", "title": "" }, { "docid": "698f2bad8654cebb80238d4a01fc6795", "score": "0.711132", "text": "protected void runExecutionerLoopBefore() {\n\t}", "title": "" }, { "docid": "ac60bb8117bb536f00a9adf31ddfa579", "score": "0.69015366", "text": "public void beforeExecute(CPUProcess process) {}", "title": "" }, { "docid": "6b7b49a80c4b7836149dd3dbfb9d46b1", "score": "0.68125933", "text": "public void beforeRun(Runnable runnable) {\r\n }", "title": "" }, { "docid": "72b5a6f8a27839cc02c1e6bb92d3cc49", "score": "0.67067605", "text": "@Override\n\tpublic void onPreExecute(GenericTask task) {\n\t}", "title": "" }, { "docid": "e5cc07ce68acee545cc5e0389d78ac8b", "score": "0.65883857", "text": "public void onPreExecute() {\n super.onPreExecute();\n this.helper.whenExecutionStarts();\n }", "title": "" }, { "docid": "1f726e44f0a99dc60075e8b3d2cb4be6", "score": "0.6516032", "text": "@Before\n\tpublic void before() {\n\t\tDatabase.getInstance().getTaskList().clear();\n\t}", "title": "" }, { "docid": "351339c4e549018844dcf3b13b9d35f8", "score": "0.6446733", "text": "boolean executeBeforeRunTask(ExecutionEnvironment environment);", "title": "" }, { "docid": "0734e08ad59bf09dd4267ffd3db8748c", "score": "0.6443698", "text": "@Override\n protected void onPreExecute(){\n //do before task doing in background\n }", "title": "" }, { "docid": "1aa1bf0aad4d8e7c09f0761545991e64", "score": "0.6422098", "text": "@Override\n protected void before() throws Throwable {\n if (isBeforeState(State.CREATED)) {\n this.doBefore();\n doStateTransition(State.BEFORE_EXECUTED);\n }\n }", "title": "" }, { "docid": "85e61b3c9b151502e054d5b726165878", "score": "0.6397103", "text": "@Override\r\n\tpublic void beforeJob(JobExecution arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "99407537ad44309a47981076b58d3e5d", "score": "0.63664794", "text": "@Override\r\n public void before() {\n if (asyncUI != null)\r\n asyncUI.before();\r\n }", "title": "" }, { "docid": "92d3735a2df985d8224f558c484df94b", "score": "0.6335111", "text": "@Override\n public void OnStartTask(ITask task)\n {\n \n }", "title": "" }, { "docid": "e92a2cfa3605ef7bf75209626502e107", "score": "0.63124484", "text": "default void beforeProcessStart() {\n }", "title": "" }, { "docid": "ec55fe0a815dee92fae94daa459a1098", "score": "0.63077056", "text": "@Override\n public void preExecute() {\n }", "title": "" }, { "docid": "58414b8e33fc1e5e5c4f29f0cac9cd1d", "score": "0.6298457", "text": "default void beforeProcessResume() {\n }", "title": "" }, { "docid": "75e2c1b3cf7f5ba6859feb3d31f56f1d", "score": "0.62772506", "text": "@Before\n public void before() {\n System.out.println(\"in before\");\n }", "title": "" }, { "docid": "8f71dc1378a1eaac9da55349486a0ecb", "score": "0.6229297", "text": "protected void beforeSetup() {\n\t}", "title": "" }, { "docid": "7ca064b32c3f33dddaad3a8509153636", "score": "0.6220222", "text": "@BeforeMethod\n\tpublic void beforeMethodWork()\n\t{\n\t\tSystem.out.println(\"I will be executing before every method\");\n\t}", "title": "" }, { "docid": "d72e491ab0bb7238ad1235c31e493782", "score": "0.6215468", "text": "protected void Task() {\n\t\t\n\t}", "title": "" }, { "docid": "50e27a45f8cce6a1540aa92a9f17bb58", "score": "0.61562186", "text": "@Override\r\n\tpublic void beforeStep(StepExecution stepExecution) {\n\t\t\r\n\t}", "title": "" }, { "docid": "ff8e381c1891661c2f4e91a55f79f74f", "score": "0.61509085", "text": "@Override\n\tprotected void task() {\n\n\t}", "title": "" }, { "docid": "eca2bbde807f3b0a2758f6bbceb2044e", "score": "0.61173654", "text": "public void beforeCompletion() {\n logger.log(BasicLevel.DEBUG, \"beforeCompletion\");\n }", "title": "" }, { "docid": "620f8093e6d36c996696c223a1014f11", "score": "0.61152345", "text": "@Override\n\tpublic void preStep() {\n\n\t}", "title": "" }, { "docid": "620f8093e6d36c996696c223a1014f11", "score": "0.61152345", "text": "@Override\n\tpublic void preStep() {\n\n\t}", "title": "" }, { "docid": "2a7803293db749886f3879709497be13", "score": "0.6111122", "text": "public void before() {\n\t\tSystem.out.println(\"this is before method\");\n\t}", "title": "" }, { "docid": "7e19ab7e044616b5ba1541863d71cb12", "score": "0.60960543", "text": "@Override\r\n\tpublic void preStep() {\n\t}", "title": "" }, { "docid": "06635c85a337343d0ce2d7fd2868c1f4", "score": "0.60958254", "text": "void taskStarted(Task task);", "title": "" }, { "docid": "ed856e0497cecca959a027cc14d56486", "score": "0.606615", "text": "public void startExecuting() {\r\n }", "title": "" }, { "docid": "d8fc03650159a7d2bcc0742c1a154e00", "score": "0.60400903", "text": "public void preSetup() {\n\t}", "title": "" }, { "docid": "dd91055071ffdc7db12ddc8892af6942", "score": "0.60359645", "text": "void beforeProcessJob(Job current);", "title": "" }, { "docid": "baa21f04339365041f7e8e96e896b5c0", "score": "0.60288936", "text": "public void preSetup() {\r\n // Any of your pre setup before the loop starts should go here\r\n }", "title": "" }, { "docid": "af8a36ebb2b41d6156eed02e28159182", "score": "0.60272455", "text": "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tUtils.log(\"onPreExecute\",\" start\");\n\t\t}", "title": "" }, { "docid": "034a12094fcd61844471dc2ea0896d1b", "score": "0.6018751", "text": "public void preSetup() {\r\n // Any of your pre setup before the loop starts should go here\r\n\r\n }", "title": "" }, { "docid": "f04060c2f048c706d19cc5dea34aab10", "score": "0.6018209", "text": "@Before\n\tpublic void beforeTests() {\n\t\tSystem.out.println(\"in beforeTests\");\n\t}", "title": "" }, { "docid": "6195afa487086f7b2cc23452dafce87d", "score": "0.59994286", "text": "@Before\r\n\tpublic void before() {\r\n\t\tSystem.out.println(\"Before\");\r\n\t}", "title": "" }, { "docid": "a6d9e835223045ea509ac89313bd2b27", "score": "0.59966546", "text": "public boolean beforeStart() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "afce951540eb8a80ed4c69e53a65e84a", "score": "0.5991889", "text": "@Before //dzieki tej adnotacji logika metody wykona za kazdym razem przed kazda metoda testowa\n\tpublic void setupBefore() {\n\t\tSystem.out.println(\"Method annotated before has been executed\");\n\t}", "title": "" }, { "docid": "6a2fc3289e83f07e16f9f65e0a815d79", "score": "0.59864986", "text": "@Override\n public void onProcess() {\n if(lastState != state) //Every time state changes, we update interrupted back to true\n interrupted = true;\n lastState = state;\n\n super.onProcess();\n // Can add anything here before tasks have been ran\n // Needed for the TaskScript to process the tasks\n //Can add anything here after tasks have been ran\n }", "title": "" }, { "docid": "3687e728e41f4da9382f2ca8a38a5e93", "score": "0.5964581", "text": "@Override\n\tpublic void taskStarted(TaskType type) {\n\t\t\n\t}", "title": "" }, { "docid": "9311a40f3b256eda24b1a831557d1180", "score": "0.595613", "text": "@Override\n public void beforeFirstLogic() {\n }", "title": "" }, { "docid": "dd089520080a01ebf35088e75068a958", "score": "0.59483576", "text": "@Override\n protected void before() throws Throwable {\n for (DockerComposeSpec spec : specs) {\n Map<String, Service> services = spec.runner.start(spec.forceRecreate);\n // Two services with the same name can exist in these files but docker-compose only run\n // one of them so we give a light warning here.\n services.keySet().stream()\n .filter(servicesByName::containsKey)\n .forEach(name -> logger.warn(\"Multiple services with the same name \" + name\n + \" is detected.\"));\n // Wait for callbacks to be run completely\n for (StartupCallback callback : spec.startupCallbacks) {\n callback.process(services);\n }\n servicesByName.putAll(services);\n }\n }", "title": "" }, { "docid": "d0da538abebc760c8abd5b12d30b9b1e", "score": "0.5938714", "text": "private static void setupTasks(){\n\t\tBukkit.getScheduler().runTaskTimer(Main.instance, new ForceFieldTask(), 1, 2*20);\r\n\t\tBukkit.getScheduler().runTaskTimer(Main.instance, new AssassinCompassTask(), 1, 2*20);\r\n\t\tBukkit.getScheduler().runTaskTimer(Main.instance, new KitInformTask(), 20*5, 5*20);\r\n\t\tBukkit.getScheduler().runTaskTimer(Main.instance, new WerewolfPotionTask(), 20*10, 10*20);\r\n\t\tBukkit.getScheduler().runTaskTimer(Main.instance, new SpidermanWebWalkTask(), 30, 20);\r\n\t\tBukkit.getScheduler().runTaskTimer(Main.instance, new PoseidonTask(), 25, 5*20);\r\n\t\tBukkit.getScheduler().runTaskTimer(Main.instance, new SpyCompassTask(), 35, 5*20);\r\n\t}", "title": "" }, { "docid": "37b682b117a873a5a41e527e5a4aaf9b", "score": "0.5923069", "text": "@Override\n\t\t\tprotected void onPreExecute() {\n\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1710afb44816fa8fe67b2b6537b1f4cc", "score": "0.5919653", "text": "@Override\n\tpublic void onPreExecute() {\n\t\tpreExecute();\n\t}", "title": "" }, { "docid": "b22ce3b3480c6c174408cc3c0b9e61ff", "score": "0.59169173", "text": "static void setup() {\n\t\tSystem.out.println(\"@BeforeAll - Execute once before all test methods in this class\");\n\t}", "title": "" }, { "docid": "fe1fb258cca66cd6312d3add1cd99e2b", "score": "0.591677", "text": "private void preProcess(ExecutionContext context) {\n\t\tString outcome = Misc.getOutcomeProperty().getValue(context.getActiveExecutable());\r\n\t\tif (trialCounter == 1 || (outcome != null && !outcome.equals(ExecutionOutcome.SKIP))) {\r\n\t\t\tupdateStatusPanel(context);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "854a67ab12c49b6211eb766edf48b1e1", "score": "0.5915778", "text": "@Override\n\tprotected void onPreExecute()\n\t{\n\t\tsuper.onPreExecute();\n\t\tLog.d(\"UpdateTask\", \"onPreExecute\");\n\t}", "title": "" }, { "docid": "b4bcacc2dffef401789aab3d0f616bef", "score": "0.588812", "text": "@Before\n public void before() {\n TaskQueryService tqs = mock(TaskQueryService.class);\n when(tqs.getItem(new TaskKey(TASK_ID_NO_PROCESS))).thenReturn(taskNoProcess);\n when(tqs.getItem(new TaskKey(TASK_ID_WITH_PROC))).thenReturn(taskWithProcess);\n when(tqs.getItem(new TaskKey(TASK_ID_NULL_DETAILS))).thenReturn(null);\n CallerMock<TaskQueryService> taskQueryServiceMock\n = new CallerMock<TaskQueryService>(tqs);\n\n // DataService caller mock\n CallerMock<DataServiceEntryPoint> dataServiceCallerMock\n = new CallerMock<DataServiceEntryPoint>(mock(DataServiceEntryPoint.class));\n\n presenter = new TaskProcessContextPresenter(\n viewMock,\n placeManager,\n taskQueryServiceMock,\n dataServiceCallerMock,\n procNavigationMock);\n }", "title": "" }, { "docid": "698de05743fb20f53f6b477baa141d0c", "score": "0.5886515", "text": "@Override\n\t\tprotected void onPreExecute() {\n\t\t}", "title": "" }, { "docid": "698de05743fb20f53f6b477baa141d0c", "score": "0.5886515", "text": "@Override\n\t\tprotected void onPreExecute() {\n\t\t}", "title": "" }, { "docid": "777f7765b7b4c9fb8d0517ff47e16d93", "score": "0.58824897", "text": "void before(Context ctx);", "title": "" }, { "docid": "c50799fde0258b6128992d72bde72ee4", "score": "0.58797705", "text": "@Override\n\t\t\tpublic void onPreExecute() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "d6851cf648c1e8d1ebd05c255679d891", "score": "0.5877707", "text": "public void start_tasks(){\r\n timer_.schedule(new shiftTask(),10000,10000);\r\n timer_.schedule(new ReportTask(),11000,10000);\r\n }", "title": "" }, { "docid": "6705168f00b1719b11be1ac9c4d4e57a", "score": "0.5870565", "text": "public void handlePreExecute()\n\t{\n\t\tfor (Command command : commands)\n\t\t{\n\t\t\tif (command instanceof PreExecute)\n\t\t\t{\n\t\t\t\t((PreExecute) command).preExecute(this);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f512c04b9c4068ed34564d39e30ad1c6", "score": "0.5867573", "text": "public void startTask()\n\t{\n\t\tthis.isSitting = true;\n\t\tthis.getEntity().setSit(true);\n\t}", "title": "" }, { "docid": "f0203e24cccc153143f657b0656c9d06", "score": "0.58519167", "text": "@Before()\n public void before() {\n\n }", "title": "" }, { "docid": "4de4214eecfa522d493deb9eb8c16686", "score": "0.58404255", "text": "private TypicalTasks() {}", "title": "" }, { "docid": "d0ef22ca3054f47e062ce0e39158e82b", "score": "0.58330554", "text": "private void doPrepareStart() {\n if (!processState.isStopped()) {\n return;\n }\n\n processState = ProcessState.STOPPED_START_PLANNED;\n logger.log(l -> l.info(\"Starting planned for {}\", processConfig.name));\n }", "title": "" }, { "docid": "1dd445346c482fd1512a950201469398", "score": "0.58177096", "text": "@Override\n protected void onPreExecute() {}", "title": "" }, { "docid": "9487ef7ea35d42b1d9e7adceecd02ca8", "score": "0.58163714", "text": "@Override\n\t\tprotected void _onPreExecute() {\n\n\t\t}", "title": "" }, { "docid": "6e2ecbc9e846507a51c81ce152be79ae", "score": "0.58066016", "text": "@Override\n\tpublic void preProcess() {\n\n\t}", "title": "" }, { "docid": "9d54af09ae7f2205a777571ea29a7692", "score": "0.5799528", "text": "@Override\n public void beforeLocalFork() {\n for (IngestItemRequest item : items) {\n ((ShardReplicationOperationRequest) item.request()).beforeLocalFork();\n }\n }", "title": "" }, { "docid": "0b79f0e902b09c50aa12c8e103168ab3", "score": "0.5781898", "text": "@Override\n protected void onPreExecute() {\n\n }", "title": "" }, { "docid": "0b79f0e902b09c50aa12c8e103168ab3", "score": "0.5781898", "text": "@Override\n protected void onPreExecute() {\n\n }", "title": "" }, { "docid": "be3b4ca85d1f41d47e0322c4fcad6f68", "score": "0.5780577", "text": "public static void runInOrder(Runnable... tasks) {\n for (Runnable task: tasks) {\n task.run();\n }\n }", "title": "" }, { "docid": "42c80ca5b810e967af51cbd4b753345d", "score": "0.57767755", "text": "@Override\n public void initializeTask() throws Exception {\n }", "title": "" }, { "docid": "c73f1fa99178f3f01a06f738eb66a1b4", "score": "0.577281", "text": "private void setupSimulationBeforeRun() {\n setupDummyOperatorAssignmentService();\n setupDummyPulloutsService();\n }", "title": "" }, { "docid": "13c74a22ce18b433a8a6a7af58e6bfe0", "score": "0.5771317", "text": "protected void onPreExecute()\n {\n // Perform setup - runs on user interface thread\n }", "title": "" }, { "docid": "52a313a143e44817a80526f46afc7587", "score": "0.5770344", "text": "@Override\n @Before\n public void before() throws Exception {\n\n super.before();\n }", "title": "" }, { "docid": "b32d96768181e52ff8e6b379a5fe2ce4", "score": "0.5768916", "text": "private void initializeTasks() {\r\n\t\t// Creates a Timeline that we'll add tasks to\r\n\t\tmodelAccess.timelineModel.addTimelineToList(new Timeline(\"TestTitle\", \"TestDescription\", LocalDate.now(), LocalDate.now().plusDays(300)));\r\n\t\tmodelAccess.setSelectedTimeline(modelAccess.timelineModel.timelineList.get(0));\r\n\t\t\r\n\t\tfor(int i = 0; i < 100; i++) {\r\n\t\t\tmodelAccess.getSelectedTimeline().taskList.add(new Task(\"TestTitle\" + i, \"TestDescription\" + i, LocalDate.now().plusDays(i), LocalDate.now().plusDays(1 + i), modelAccess.getSelectedTimeline()));\r\n\t\t}\r\n\t\t\r\n\t\tsetCurrentTask(0);\r\n\t}", "title": "" }, { "docid": "982e641f0be7731f366e60f8aeb5f0f8", "score": "0.5768315", "text": "@Override\n protected void runTask() {\n }", "title": "" }, { "docid": "284f7b0ae2841c876f406f5b830e5f17", "score": "0.5767947", "text": "@Before\n public void beforeTests() throws IOException, InterruptedException {\n core = new Core(102);\n map = new Map(core);\n }", "title": "" }, { "docid": "fd44297e06c53cc8ae80f2abe225f94f", "score": "0.5750863", "text": "private void doBefore() throws Throwable { //NOSONAR\n\n this.repository = this.createRepository();\n doStateTransition(State.CREATED);\n this.initialize();\n doStateTransition(State.INITIALIZED);\n }", "title": "" }, { "docid": "4140321c93553f2a7ae684bee8fc8387", "score": "0.5750306", "text": "default Result beforeCommand(Runtime runtime, VM vm, State state, ThreadId threadId, Command cmd) {\n return Result.CONTINUE;\n }", "title": "" }, { "docid": "0fefe15b98e236394bd8f6f0fc40c100", "score": "0.57439005", "text": "public void onExecutionStart() {\n\t\t\n\t}", "title": "" }, { "docid": "4417b105ff1028cab5a2a3a6f5c40cc7", "score": "0.57390183", "text": "public void before(JobExecution execution) {\n \t\tsynchronized (mutex) {\n \t\t\trunning++;\n \t\t\tjobExecutionRegistry.put(execution.getJobIdentifier(), execution);\n \t\t}\n \t\tfor (Iterator iterator = listeners.iterator(); iterator.hasNext();) {\n \t\t\tJobExecutionListener listener = (JobExecutionListener) iterator\n \t\t\t\t\t.next();\n \t\t\tlistener.before(execution);\n \t\t}\n \t}", "title": "" }, { "docid": "fae8004ccdeb536af302540ae4c47099", "score": "0.5735406", "text": "@BeforeEach\n public void beforeTest() {\n executor = new ScheduledThreadPoolExecutor(20, new NamedThreadFactory(Loza.CLIENT_POOL_NAME));\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "111f325a1901203320233e0337ff4848", "score": "0.57136816", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "b311f54d4bd59e3965281aad900227f7", "score": "0.570731", "text": "public void pre(){\n\t\ttick();\n\t}", "title": "" }, { "docid": "b50d47c6912de5090254b0591120b6fa", "score": "0.57044727", "text": "public abstract void activateTask();", "title": "" }, { "docid": "a09c145f6e348f3ae31f7870c4d391e7", "score": "0.5703545", "text": "@Override\r\n protected void onPreExecute() {\r\n }", "title": "" }, { "docid": "8e9d038e3559e0b6c1839925cb971d90", "score": "0.5694822", "text": "@Override\r\n\t\tprotected void onPreExecute() {\r\n\r\n\r\n\t\t}", "title": "" }, { "docid": "161e7ba93739508397043466ed5c595f", "score": "0.56887096", "text": "@BeforeJob\n public void beforeJob() {\n System.out.println(\"ErrorTestProcessor::beforeJob\");\n }", "title": "" }, { "docid": "e00483a01daa5a20e1df04e965a327a7", "score": "0.56839764", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "e00483a01daa5a20e1df04e965a327a7", "score": "0.56839764", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "e00483a01daa5a20e1df04e965a327a7", "score": "0.56839764", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "e00483a01daa5a20e1df04e965a327a7", "score": "0.56839764", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "e00483a01daa5a20e1df04e965a327a7", "score": "0.56839764", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "e00483a01daa5a20e1df04e965a327a7", "score": "0.56839764", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "e00483a01daa5a20e1df04e965a327a7", "score": "0.56839764", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "30f54fbf91e5502c1af489badf0f98c2", "score": "0.567509", "text": "@BeforeClass\n public void before() throws Exception\n {\n ITRetryUtil.retryUntilTrue(\n () -> coordinatorClient.areSegmentsLoaded(\"auth_test\"), \"auth_test segment load\"\n );\n\n setupHttpClients();\n setupUsers();\n setExpectedSystemSchemaObjects();\n }", "title": "" } ]
a7fc822fd9efc57b38471be053299224
Test of setCurrentPlayer method, of class Game.
[ { "docid": "bcb2bed62f9eca81b7c799b758a1fb3f", "score": "0.78259474", "text": "@Test\n public void testSetCurrentPlayer() {\n System.out.println(\"setCurrentPlayer\");\n Integer currentPlayer = 0;\n Game instance = new Game();\n instance.setCurrentPlayer(currentPlayer);\n }", "title": "" } ]
[ { "docid": "541c64122d87091b382e4aaea2f19b6f", "score": "0.7681846", "text": "void setCurrentPlayer(Player player);", "title": "" }, { "docid": "541c64122d87091b382e4aaea2f19b6f", "score": "0.7681846", "text": "void setCurrentPlayer(Player player);", "title": "" }, { "docid": "bb78fa944f0935b62edeb858350a9404", "score": "0.73552716", "text": "public void setCurrentPlayer (Player player)\n\t{\n\t\tthis.currentPlayer = player;\n\t}", "title": "" }, { "docid": "1bbc6539f4dd3c1352f0fe2fc0c8c943", "score": "0.7331591", "text": "protected void setCurrentPlayer()\n {\n if (this.getCurrentPlayer() == this.firstPlayer) this.currentPlayer = this.getSecondPlayer();\n else this.currentPlayer = this.getFirstPlayer();\n }", "title": "" }, { "docid": "0c326c62eefffc5e4055172ff4c24ea9", "score": "0.723417", "text": "public void setCurrentPlayer(Player currentPlayer) {\n\t\tthis.currentPlayer = currentPlayer;\n\t}", "title": "" }, { "docid": "8c90886c0d0dfb969ab160d8402b236d", "score": "0.7085627", "text": "public void setCurrentPlayer(int currentPlayer) {\n\t\tthis.currentPlayer = currentPlayer;\n\t}", "title": "" }, { "docid": "83b4200b6868b501fe4b8aa9082bb20c", "score": "0.69720554", "text": "public void setCurrentPlayer(int nPlayer){\n this.currentPlayer = nPlayer;\n }", "title": "" }, { "docid": "6f61a4f078e43ffb6ad4b0b956ca4bf1", "score": "0.6931339", "text": "@Test\n public void testCurrentPlayer() {\n //System.out.println(\"currentPlayer\");\n TicTacToeGame instance = new TicTacToeGame();\n String expResult = \"x\";\n String result = instance.currentPlayer();\n assertEquals(expResult, result);\n instance.changePlayer();\n assertEquals(\"o\", instance.currentPlayer());\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n //assertEquals(\"x\", )\n }", "title": "" }, { "docid": "7ba3c41bb9e922e43abe50ddfe98ecbc", "score": "0.68928844", "text": "@Test\r\n\tvoid testSetPlayer() {\r\n\t\tfinal Player player = new Player();\r\n\t\tfinal Army instance = new Army();\r\n\t\tinstance.setPlayer(player);\r\n\t\tassertThat(instance.getPlayer()).isEqualTo(player);\r\n\t}", "title": "" }, { "docid": "12f686c3cda00f8ae04177eb53edb99e", "score": "0.6854652", "text": "@Test\n public void testCurrentPlayer() {\n System.out.println(\"currentPlayer\");\n TixTacToe instance = new TixTacToe();\n instance.currentPlayer();\n assertEquals('O', instance.currentPlayer);\n \n }", "title": "" }, { "docid": "1daadb46c4f714889608af86affddd98", "score": "0.68368834", "text": "public void setCurrentPlayer(int pPlayer) {\n\t\tplayer = pPlayer;\n\t}", "title": "" }, { "docid": "f6b64f381e60270d207a2f8d0830ba95", "score": "0.675212", "text": "public void setCurrentPlayer(int player) {\n\t\tif (player == 0) {\n\t\t\tgameViewModel.rightTurnPInner.setBackground(Color.WHITE);\n\t\t\tgameViewModel.turnTracker.setForeground(Color.BLACK);\n\t\t\tgameViewModel.turnTracker.setText(gameViewModel.tracker1Name.getText() + \"'s Turn\");\n\t\t} else {\n\t\t\tgameViewModel.rightTurnPInner.setBackground(Color.BLACK);\n\t\t\tgameViewModel.turnTracker.setForeground(Color.WHITE);\n\t\t\tgameViewModel.turnTracker.setText(gameViewModel.tracker2Name.getText() + \"'s Turn\");\n\t\t}\n\t}", "title": "" }, { "docid": "87b0e631af345be215ca51582518dd94", "score": "0.67061275", "text": "@Test\r\n\tpublic void testGetPlayer() {\r\n\t\tClientModel client = new ClientModel();\r\n\t\tclient.setPlayer(player);\r\n\t\tassertEquals(player, client.getPlayer());\r\n\t}", "title": "" }, { "docid": "1329d0d331b48fd24617936c8f683bcd", "score": "0.67046803", "text": "public void setPlayer(Player player) {\r\n this.player = player;\r\n }", "title": "" }, { "docid": "880601d9c04b39c2136a281e1020bf42", "score": "0.66749245", "text": "public void setPlayer(Player p) {\r\n player = p;\r\n }", "title": "" }, { "docid": "7a5aa3ff46615ee0e831a136b043d306", "score": "0.66512924", "text": "@Test\n public void setPositionTest() {\n assertTrue(player.setPosition(4));\n assertEquals(player.getPosition(), 4);\n assertFalse(player.setPosition(-1));\n }", "title": "" }, { "docid": "baa2b89cf42054fd87310ef63b75d9ee", "score": "0.6640605", "text": "@Test\n public void testGetCurrentPlayer() {\n System.out.println(\"getCurrentPlayer\");\n Game instance = new Game();\n Integer expResult = 0;\n Integer result = instance.getCurrentPlayer();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "f7eabcef994435be64bf913f0d8831da", "score": "0.66050965", "text": "public void setPlayer(Player player) {\n this.player = player;\n }", "title": "" }, { "docid": "f7eabcef994435be64bf913f0d8831da", "score": "0.66050965", "text": "public void setPlayer(Player player) {\n this.player = player;\n }", "title": "" }, { "docid": "b88478da9c8c4158854fbe4b9b12d33e", "score": "0.66015047", "text": "@Test\n\tpublic void testInitPositif() {\n\t\ttestedPlayer.init(engine.getCurrentEnvironnement(), playerX, playerY, null);\n\t\tassertTrue(true);\n\t}", "title": "" }, { "docid": "11dce23004ef4a032972103f590a56d0", "score": "0.65419424", "text": "public void setPlayer(int player) {\n this.player = player;\n }", "title": "" }, { "docid": "24ca77279081c97461de701c7874658c", "score": "0.6502496", "text": "@Test\n public void testChangePlayer() {\n System.out.println(\"changePlayer\");\n TixTacToe instance = new TixTacToe();\n instance.changePlayer();\n assertEquals('X', instance.changePlayer());\n assertEquals('O', instance.changePlayer());\n }", "title": "" }, { "docid": "5cc742f88948f9caf744f1d4573407a9", "score": "0.65005857", "text": "@Test\n public void testChangePlayer() {\n //System.out.println(\"changePlayer\");\n TicTacToeGame instance = new TicTacToeGame();\n String expResult = \"\";\n String result = instance.changePlayer();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "b23a3b417b1a2eab122980416c6f1b99", "score": "0.6486086", "text": "public void setMyPlayer(Player player) {\n this.player = player;\n }", "title": "" }, { "docid": "d1bce0ee0a9827090b1ac269bbd8fd2d", "score": "0.6455863", "text": "private void setPlayer()\n\t{\n\t\tif(currentLevel < 10)\n\t\t{\n\t\t\tint x = r.nextInt(ROOM_WIDTH / CELL_WIDTH);\n\t\t\tint y = r.nextInt(ROOM_HEIGHT / CELL_HEIGHT);\n\t\t\twhile(level[x][y] != RandomLevelGenerator.FLOOR)\n\t\t\t{\n\t\t\t\tx = r.nextInt(ROOM_WIDTH / CELL_WIDTH);\n\t\t\t\ty = r.nextInt(ROOM_HEIGHT / CELL_HEIGHT);\n\t\t\t}\n\t\t\tdouble playerX = (double) x * CELL_WIDTH + 4;\n\t\t\tdouble playerY = (double) y * CELL_HEIGHT + 4;\n\t\t\tplayer.setX(playerX);\n\t\t\tplayer.setY(playerY);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tplayer.setX(ROOM_WIDTH / 2 - 8);\n\t\t\tplayer.setY(4 * ROOM_HEIGHT / 5);\n\t\t}\n\t}", "title": "" }, { "docid": "162364d7ddec37575dc05afbdf2a3596", "score": "0.64284813", "text": "@Test\n\tpublic void testSetIsMyTurn() {\n\t\tHumanPlayer testPlayer = new HumanPlayer(\"test\");\n\t\ttestPlayer.setIsMyTurn(true);\n\t\tassertEquals(true, testPlayer.getIsMyTurn());\n\t}", "title": "" }, { "docid": "4bb2de987c012975608df5099f4aa07a", "score": "0.6408099", "text": "public void setCurrentPlayer(Player p){\n while (playerOrder.getFirst() != p){\n currentPlayer = playerOrder.rotate();\n }\n }", "title": "" }, { "docid": "100c1ccb6d376c6cbaf925b16397a0b9", "score": "0.6407873", "text": "public void setPlayer(Player player) {\n\t\tthis.player = player;\n\t}", "title": "" }, { "docid": "2f53dee16320e6d39e82575f4ddc3b12", "score": "0.6399913", "text": "public abstract int playGame(int currentPlayer);", "title": "" }, { "docid": "cac6050c6ef01504ebb4720b2b76d38e", "score": "0.6396795", "text": "public void setPlayer(String player) {\r\n this.player = player;\r\n }", "title": "" }, { "docid": "566582bee5da9baa84fa523e260cdcd8", "score": "0.637051", "text": "@Test\n public void setNextPlayerTest() {\n\n Match match = new Match();\n\n List<Character> characters = new ArrayList<>();\n characters.add(Character.VIOLET);\n characters.add(Character.BANSHEE);\n characters.add(Character.DOZER);\n characters.add(Character.DISTRUCTOR);\n\n PlayerBoard playerBoard = new PlayerBoard();\n playerBoard.setDamage(new DamageTokens(characters));\n playerBoard.setMarks(new Marks(characters));\n Ammo ammo = new Ammo(0, 1, 2);\n playerBoard.setAmmo(ammo);\n\n List<Player> players = new ArrayList<>();\n Player player = new Player();\n player.setCharacter(Character.VIOLET);\n player.setPlayerBoard(playerBoard);\n players.add(player);\n Player player1 = new Player();\n player1.setCharacter(Character.BANSHEE);\n player1.setPlayerBoard(playerBoard);\n players.add(player1);\n Player player2 = new Player();\n player2.setCharacter(Character.DOZER);\n player2.setPlayerBoard(playerBoard);\n players.add(player2);\n Player player3 = new Player();\n player3.setCharacter(Character.DISTRUCTOR);\n player3.setPlayerBoard(playerBoard);\n players.add(player3);\n match.setPlayers(players);\n\n match.setBoard(match.getFactory().createBoard(\"Board1.json\", match.getPlayers()));\n match.setNumberOfPlayers(4);\n assertEquals(4, match.getNumberOfPlayers());\n\n match.setCurrentPlayer(player);\n match.setNextPlayer();\n assertEquals(player1, match.getCurrentPlayer());\n match.setNextPlayer();\n assertEquals(player2, match.getCurrentPlayer());\n match.setNextPlayer();\n assertEquals(player3, match.getCurrentPlayer());\n match.setNextPlayer();\n assertEquals(player, match.getCurrentPlayer());\n }", "title": "" }, { "docid": "ba8f40bdfc8fe4caa0f3759533cc051b", "score": "0.6363441", "text": "@Test\n public void isOnPlayer() {\n enemy.setLocation(0, 80);\n assertTrue(enemy.isOnPlayer());\n }", "title": "" }, { "docid": "930578ec260b986a831f83a331cbbce4", "score": "0.6350613", "text": "public void setCurrentPlayer(Piece piece)\n {\n currentPlayer = piece;\n }", "title": "" }, { "docid": "d602615aebd405f365f4f91fc884c788", "score": "0.6337974", "text": "public void setCurrentPlayer(String name) {\n // if the current player is the client's player\n if (thisPlayer.getName().equals(name)) currentPlayer = thisPlayer;\n\n else {\n // set the current player from otherPlayers\n for (SocketPlayer p : otherPlayers) {\n if (p.getName().equals(name)) {\n currentPlayer = p;\n return;\n }\n }\n }\n }", "title": "" }, { "docid": "3cf7d635fcab98aa0e0028fd45de7570", "score": "0.6328996", "text": "@Test\n\tvoid testInteract_Player() {\n\t\tassertEquals(true,test.interact(new Player()));\n\t\t//The game is win\n\t\tassertEquals(true,GameController.isGameWin());\n\t}", "title": "" }, { "docid": "ea02f803dea41ea8615788f124b7cd1c", "score": "0.6311661", "text": "public void setPlayer(int player) {\n\t\tthis.player = player;\n\t\trepaint();\n\t}", "title": "" }, { "docid": "95746600e8f9355ae76fcbfd318a441b", "score": "0.6310642", "text": "@Test\n public void testSetFirstPlayer() {\n Gamelogic logic = new Gamelogic(this.dice);\n logic.addPlayer(\"kalle\");\n logic.addPlayer(\"kalle\");\n logic.addPlayer(\"kalle\");\n String name = \"kalle1\";\n logic.setFirstPlayer(name);\n assertEquals(logic.playOrder.peek(), \"kalle1\");\n }", "title": "" }, { "docid": "8db2bc21b49e296ebe40c758da3ac25e", "score": "0.6281972", "text": "public void setPlayer(Integer player) {\r\n\t\tthis.player = player;\r\n\t}", "title": "" }, { "docid": "14bdd691760339e4d272854644ab944e", "score": "0.6271955", "text": "public void setplayer() {\n player = new Player();\n }", "title": "" }, { "docid": "5f393183f6c00678a8ccf78745f8f651", "score": "0.6268147", "text": "private void setUpPlayerAndLinkToGame ()\n throws ClassNotFoundException, IllegalAccessException,\n IllegalArgumentException,\n InvocationTargetException {\n\n player = ((PlayerTab) playerTab).getPlayer();\n\n for (Method m : EditingParser.getMethodsWithAnnotation(Class.forName(game.getClass()\n .getName()), Settable.class)) {\n if (m.getName().equals(\"setPlayer\")) {\n m.invoke(game, player);\n }\n }\n }", "title": "" }, { "docid": "580a62d82824c12b316d6830e1cd94fb", "score": "0.62546533", "text": "private void settingOfGame(Event event) {\n waitPlayers();\n waitWPC();\n playGame(event);\n }", "title": "" }, { "docid": "203860d547fcb422ef69bd2667aab50b", "score": "0.6241586", "text": "public void setPlayer(String player) {\n\t\tthis.player = player;\n\t\tsetChanged();\n\t\tnotifyObservers();\n\t}", "title": "" }, { "docid": "463d18caf3c16ab4bcecd5e4ecb85c54", "score": "0.61995417", "text": "private void changeActivePlayer(Player p) {\n\t\t\n\t\tactivePlayer = p;\n\t}", "title": "" }, { "docid": "b76d133674808b5246f828104729abf1", "score": "0.6177901", "text": "@Test\n public void testGetCurrentPlayerStatus() {\n System.out.println(\"getCurrentPlayerStatus\");\n Game instance = new Game();\n String expResult = null;\n String result = instance.getCurrentPlayerStatus();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "345cd55f007f99293ff95374e2204686", "score": "0.61713403", "text": "@Test\r\n public void testSetMoney() {\r\n System.out.println(\"setMoney\");\r\n int money = 0;\r\n Player instance = new Player();\r\n instance.setMoney(money);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "3237388fd6482f2ed5396ce453c47af9", "score": "0.61445963", "text": "public void switchPlayer() {\n currentPlayer = currentPlayer == player1 ? player2 : player1;\n }", "title": "" }, { "docid": "bfd725218c1efdba8fa658c67e2a3ecc", "score": "0.6140726", "text": "public void setOpponent(Player opponent) {\n this.opponent = opponent;\n// System.out.println(\"test1\");\n// output.println(\"MESSAFE Your opponent is coming.\");\n }", "title": "" }, { "docid": "6369c0d6bddadb45e4995f08e6878a02", "score": "0.6133172", "text": "void runTheGame() {\n\t\txPlayer.setOpponent(oPlayer);\n\t\toPlayer.setOpponent(xPlayer);\n\t}", "title": "" }, { "docid": "dc79eaeeec1533b08d4ee2ace0275671", "score": "0.6126235", "text": "private void switchPlayer() \r\n\t{\r\n\t\tif (currentPlayer == Player.A) \r\n\t\t{\r\n\t\t\tcurrentPlayer = Player.B;\r\n\t\t} else \r\n\t\t{\r\n\t\t\tcurrentPlayer = Player.A;\r\n\t\t}\r\n\t\textraTurn = false;\r\n\t}", "title": "" }, { "docid": "c22d575a7c043a50178f4fceedead551", "score": "0.6117252", "text": "void setoPlayer(Player oPlayer) {\n\t\tthis.oPlayer = oPlayer;\n\t}", "title": "" }, { "docid": "bf2fd2dbd83c1fb96edd4c38346eae73", "score": "0.6113827", "text": "public static void testAdvanceGo(){\n\t\tif (LeftPanel.getPlayer1().getPlayerNum() == RightPanel\n\t\t\t\t.getCurrentPlayer()) {\n\t\t\tLeftPanel.getPlayer1().setPlayerPos(\n\t\t\t\t\tPropertySetup.getGo().getPropPos());\n\t\t} else if (LeftPanel.getPlayer2().getPlayerNum() == RightPanel\n\t\t\t\t.getCurrentPlayer()) {\n\t\t\tLeftPanel.getPlayer2().setPlayerPos(\n\t\t\t\t\tPropertySetup.getGo().getPropPos());\n\t\t} else if (LeftPanel.getPlayer3().getPlayerNum() == RightPanel\n\t\t\t\t.getCurrentPlayer()) {\n\t\t\tLeftPanel.getPlayer3().setPlayerPos(\n\t\t\t\t\tPropertySetup.getGo().getPropPos());\n\t\t} else if (LeftPanel.getPlayer4().getPlayerNum() == RightPanel\n\t\t\t\t.getCurrentPlayer()) {\n\t\t\tLeftPanel.getPlayer4().setPlayerPos(\n\t\t\t\t\tPropertySetup.getGo().getPropPos());\n\t\t}\n\t}", "title": "" }, { "docid": "0c0d36dea63c9cc3c0dcc88c13d9cb8f", "score": "0.60911", "text": "@Test\r\n\tpublic void testChangePokemon() {\r\n\t\tBattleView bv = new BattleView(pc, model.getCurrentPlayer(), model.getOtherPlayer());\r\n\t\tbv.showView();\r\n\t\tassertEquals(JOptionPane.YES_OPTION, JOptionPane.showConfirmDialog(null, \"Screen should display the two Pokemon in battle mode.\\nDoes it look right?\"));\r\n\t\tmodel.getCurrentPlayer().setCurrentPokemon(model.getCurrentPlayer().getPokemon()[2]);\r\n\t\tbv.update(model.getCurrentPlayer(), model.getOtherPlayer());\r\n\t\tassertEquals(JOptionPane.YES_OPTION, JOptionPane.showConfirmDialog(null, \"Player's pokemon should change.\\nDoes it look right?\"));\r\n\t}", "title": "" }, { "docid": "0ed5d666dccd292e1dc7f0c31c284127", "score": "0.60896116", "text": "@Test\n\tpublic void testGetAddMultiPlayer() {\n\t\tPlayer player = new Player(gameManager);\n\t\tgameManager.setMultiplayer(player);\n\t\tassertNotNull(gameManager.getMultiplayer());\n\t}", "title": "" }, { "docid": "80234b0a682e740d5741a931a31972b6", "score": "0.6087003", "text": "@Test\n public void testSetCurrentSongIndex()\n {\n int idx = 5;\n manager.setCurrentSongIndex(idx);\n assertEquals(\"Wrong index\", idx, manager.getCurrentSongIndex());\n assertEquals(\"Wrong URI\", SONG_URI + idx, manager.getCurrentSongURI());\n }", "title": "" }, { "docid": "b276a6835878f30de342fd47a55cb92d", "score": "0.60863256", "text": "@BeforeClass\r\n\tpublic static void setUpPlayers() {\r\n\t\tPokemon[] pk1 = { new Bulbasaur(\"Bulbasaur\", 25), new Ivysaur(\"Ivysaur\", 30), new Venusaur(\"Venusaur\", 35) };\r\n\t\tPokemon[] pk2 = { new Charmander(\"Charmander\", 25), new Charmeleon(\"Charmeleon\", 30), new Charizard(\"Charizard\", 35) };\r\n\t\tmodel.getCurrentPlayer().setPokemon(pk1);\r\n\t\tmodel.getCurrentPlayer().setCurrentPokemon(model.getCurrentPlayer().getPokemon()[0]);\r\n\t\tmodel.getOtherPlayer().setPokemon(pk2);\r\n\t\tmodel.getOtherPlayer().setCurrentPokemon(model.getOtherPlayer().getPokemon()[0]);\r\n\t}", "title": "" }, { "docid": "4cd15affc5333e7679384835a88f4854", "score": "0.6082416", "text": "@Test\n\tpublic void legalPlayerCanStartNewGameInMiddleOfExisting() {\n\t\tLegalPlayer player = getLegalPlayer();\n\t\tplayer.setOpponent( opponent );\n\n\t\tfinal Position position = new Position( Side.WHITE );\n\t\t//pieces not on initial position to make sure no 'accident'\n\t\t//correct move\n\t\tposition.add( Side.WHITE, \"d1\", PieceType.KING );\n\t\tposition.add( Side.BLACK, \"a1\", PieceType.KING );\n\t\tplayer.setPosition( position, Side.WHITE );\n\n\t\tplayer.opponentSuggestsMeStartNewGameWhite();\n\n\t\tArgumentCaptor<Move> legalPlayerMove = ArgumentCaptor.forClass( Move.class );\n\t\tverify( opponent ).opponentMoved( legalPlayerMove.capture() );\n\n\t\tassertTrue( \"Legal player must play legally after switch of sides. Actual move: \" + legalPlayerMove.getValue(),\n\t\t\t\tPosition.getInitialPosition().getMoves().stream()\n\t\t\t\t.anyMatch( legalPlayerMove.getValue()::equals ) );\n\t}", "title": "" }, { "docid": "80ea2aea0f0152de4f9b6d4b58ffa159", "score": "0.60791135", "text": "public void setWinner(Player thePlayer) {\r\n\t\tthis.winner = thePlayer;\r\n\t}", "title": "" }, { "docid": "fe50a983fa4ad80e8dc536c07eb1f009", "score": "0.6072651", "text": "public void setoPlayer(Player oPlayer) {\n this.oPlayer = oPlayer;\n }", "title": "" }, { "docid": "6768fd7c86f464d67f714b25f7eee770", "score": "0.60662526", "text": "@Test\n public void testGetPlayer() {\n Gamelogic logic = new Gamelogic(this.dice);\n Player player = new Player(\"kalle\");\n logic.playerList.put(\"kalle\", player);\n assertEquals(logic.getPlayer(\"kalle\"), player);\n }", "title": "" }, { "docid": "e7a29d53afc651c304e9cb027b0c190b", "score": "0.6065851", "text": "public void PlayerSelectionMethod(int currentPlayer) {\r\n \r\n //Increase the counter for total completed moves\r\n\t\ttotalcompletedmoves = totalcompletedmoves+1;\r\n\t\t\r\n\t\t// System.out.println(\"PlayerSelectionMethod method current_player: \" +\r\n\t\t// current_player); Debugger\r\n\t\tif (currentPlayer == PLAYER1) { // PLAYER1 CASE\r\n\t\t\tif (player == 2 || player == 3 || player == 4) { // PLAYER1 CASE\r\n\t\t\t\tif (PLAYER1Points == 6) { // This is Player 1 case with 2 player\r\n\t\t\t\t\t\t\t\t\t\t\t// selection\r\n\t\t\t\t\twincondition(PLAYER1);//calls wincontion method\r\n\t\t\t\t}\r\n\t\t\t\tcurrent_player = PLAYER2; //set the current player to 2\r\n\t\t\t\tselection = false; //change the state of the selection to false\r\n\t\t\t\treturn;\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (currentPlayer == PLAYER2) { // Player2 Case\r\n\t\t\tif (player == 2) { // PLAYER2 CASE for two players\r\n\t\t\t\tif (PLAYER2Points == 6) { // This is Player 1 case with 2 player\r\n\t\t\t\t\t\t\t\t\t\t\t// selection\r\n\t\t\t\t\twincondition(PLAYER2);//calling wincondion\r\n\t\t\t\t}\r\n\t\t\t\tcurrent_player = PLAYER1;//set player current player to one\r\n\t\t\t\tselection = false;// PLAYER2 CASE for two players\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif (player == 3 || player == 4) { // PLAYER2 CASE for three players\r\n\t\t\t\t\t\t\t\t\t\t\t\t// or four players\r\n\t\t\t\tif (PLAYER2Points == 6) { // This is Player 1 case with 3 player\r\n\t\t\t\t\t\t\t\t\t\t\t// selection\r\n\t\t\t\t\twincondition(PLAYER2);\r\n\t\t\t\t}\r\n\t\t\t\tcurrent_player = PLAYER3;\r\n\t\t\t\tselection = false;// PLAYER2 CASE for three players\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (currentPlayer == PLAYER3) { // Player3 Case\r\n\t\t\tif (player == 3) { // PLAYER2 CASE for three players\r\n\t\t\t\tif (PLAYER3Points == 6) { // This is Player 1 case with 2 player\r\n\t\t\t\t\t\t\t\t\t\t\t// selection\r\n\t\t\t\t\twincondition(PLAYER3);\r\n\t\t\t\t}\r\n\t\t\t\tcurrent_player = PLAYER1;\r\n\t\t\t\tselection = false;// PLAYER2 CASE for two players\r\n\t\t\t\treturn;\r\n\t\t\t} else if (player == 4) {\r\n\t\t\t\tif (PLAYER3Points == 6) { // This is Player 3 case with 4 player\r\n\t\t\t\t\t// selection\r\n\t\t\t\t\twincondition(PLAYER3);\r\n\t\t\t\t}\r\n\t\t\t\tcurrent_player = PLAYER4;\r\n\t\t\t\tselection = false;// PLAYER4 CASE for two players\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (currentPlayer == PLAYER4) { // Player4 Case\r\n\t\t\tif (PLAYER4Points == 6) { // player4 case\r\n\t\t\t\twincondition(PLAYER4);\r\n\t\t\t}\r\n\t\t\tcurrent_player = PLAYER1;\r\n\t\t\tselection = false;// PLAYER2 CASE for two players\r\n\t\t\treturn;\r\n\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "a5b1c7de46a29a73ead3e4cd3d2ac0b4", "score": "0.6056174", "text": "@Before\n public void setUp() throws Exception {\n Gameboard.CreateGUI();\n player = new Player(\"Test\", 30000, 0, 1, 0, 0, 0, 0, false);\n }", "title": "" }, { "docid": "753fffa074ea0dadf901cc82aad3e01f", "score": "0.60471225", "text": "public void setNextPlayer() {\r\n player = player.next();\r\n }", "title": "" }, { "docid": "709e257cd1d5149ea96eb89aee06ff5d", "score": "0.604492", "text": "public void nextPlayer()\n {\n if(getCurrentPlayer().equals(Piece.WHITE))\n {\n setCurrentPlayer(Piece.BLACK);\n }\n else\n {\n setCurrentPlayer(Piece.WHITE);\n }\n }", "title": "" }, { "docid": "09a10ead451d124502c153c0e903ca93", "score": "0.6042308", "text": "@Test\n public void testPlayMove() {\n int expected = 5;\n int current = 2;\n\n /**\n * getCurrentPosition gets called twice while getting next-move and adding GameMove history\n * third call should return actual value for verifying\n */\n when(player.getCurrentPosition()).thenReturn(current).thenReturn(current).thenCallRealMethod();\n\n /**\n GameRule will return 'current' from any current-position and for any dice-value\n - Game moves are tested as part of GameRule class\n - Here only test Player logic\n */\n when(controller.getNextMove(anyInt(), anyInt())).thenReturn(expected);\n\n int actual = player.playMove(3);\n\n // assert new position is set to cell returned by GameRule\n Assert.assertEquals(expected, actual);\n // Game Move should be added in move hisotory\n Assert.assertEquals(actual, player.getCurrentPosition());\n }", "title": "" }, { "docid": "43e145e17a97d255a4c1e3f13f96ed1d", "score": "0.6036292", "text": "@Test\n public void testSetPlayers() {\n System.out.println(\"setPlayers\");\n Integer players = null;\n Game instance = new Game();\n instance.setPlayers(players);\n }", "title": "" }, { "docid": "1261c823f8a441698b9f0d6d0a938301", "score": "0.5984415", "text": "public Player setOpponent(Player opponent);", "title": "" }, { "docid": "5ae09ae3a0167a37f2bb7d485be6145e", "score": "0.597248", "text": "public void setCurrentLevel(GameLevel gameLevel);", "title": "" }, { "docid": "5cea62f35999e1b9740f0b6e968aa513", "score": "0.596874", "text": "@Test\n public void testSetDifficulty()\n {\n game1.setBotDifficulty(2);\n assertEquals(\"botdifficulty niet gelijk aan 2\", game1.getBotDifficulty(), 2);\n }", "title": "" }, { "docid": "8b06181e58f64a4bfac8e4d7dd29c277", "score": "0.59673756", "text": "private void switchPlayer() {\n\n currentPlayer = (currentPlayer == 'X') ? 'O' : 'X';\n }", "title": "" }, { "docid": "c0296249b2869cd5da0e40cdf6515ac3", "score": "0.59648347", "text": "private void switchCurrentPlayer() {\n\t\tcurrentPlayer = currentPlayer == PlayerColor.RED ? PlayerColor.BLUE\n\t\t\t\t: PlayerColor.RED;\n\t}", "title": "" }, { "docid": "c6a35e68c212d9d68fda018e4eb40584", "score": "0.5959864", "text": "private void setNextPlayer() {\n BigTwoPlayer nextPlayer = (BigTwoPlayer) getPlayerAtIndex((getPlayers().indexOf(currentPlayer) + 1)\n % getPlayers().size());\n currentPlayer.setCurrentPlayer(false);\n currentPlayer = nextPlayer;\n ((BigTwoPlayer) nextPlayer).setCurrentPlayer(true);\n }", "title": "" }, { "docid": "11f5c9e7c31c723ee2f39a4af145ec68", "score": "0.5959732", "text": "public static void setplayer() {\n\n musicSrv.setplayer();\n }", "title": "" }, { "docid": "bada6d3ac4f010588826788c88f63cbe", "score": "0.5947895", "text": "public static void setCurrentGame(Game game) {\n\t\tcurrentGame = game;\n\t}", "title": "" }, { "docid": "a0302e717c0b7d9be5164f06c91182b7", "score": "0.5932085", "text": "public void setPosition(Player player) {\n if (player == null) {\n System.out.println(\"\");\n return;\n }\n\n System.out.println(player.getUsername() + \" \" + player.getPosition());\n\n //Moves piece of active opponent to the position in the database\n for (int i = 0; i < opponents.size(); i++)\n if (opponents.get(i).equals(player)) {\n int currentPos = opponents.get(i).getPosition();\n int newPos = player.getPosition();\n\n if (currentPos != newPos) {\n movePiece(currentPos, newPos, images[i]);\n opponents.get(i).setPosition(newPos);\n }\n }\n }", "title": "" }, { "docid": "2909065686c4f26439375141180e8d3e", "score": "0.59243006", "text": "public void setTurn(Player player) throws PlayerNotFoundException {\n if (player.equals(player1)) {\n turn = false;\n\n } else if (player.equals(player2)) {\n turn = true;\n\n } else {\n throw new PlayerNotFoundException();\n\n }\n }", "title": "" }, { "docid": "e7f971834dd90ffbf0848d8a7fd18a80", "score": "0.59228444", "text": "Player getCurrentPlayer();", "title": "" }, { "docid": "f1f861c7e708a0b362993ac7c412854e", "score": "0.5918429", "text": "void changePlayer(int playerNumber);", "title": "" }, { "docid": "50b7c0100e6035923d7dedf14bc39245", "score": "0.59115213", "text": "@Test\n\tpublic void proveNeedToUpdatePositionAfterOurMove() {\n\t\tLegalPlayer player = getLegalPlayer();\n\t\tplayer.setOpponent( opponent );\n\n\t\tPosition position = new Position( Side.WHITE );\n\n\t\t//white King surrounded\n\t\tposition.add( Side.WHITE, \"h8\", PieceType.KING );\n\t\tposition.add( Side.BLACK, \"g8\", PieceType.KNIGHT ); //protects h6\n\t\tposition.add( Side.BLACK, \"f8\", PieceType.ROOK ); //protects g8\n\n\t\tposition.add( Side.BLACK, \"a6\", PieceType.ROOK ); //protects g6\n\n\t\tposition.add( Side.BLACK, \"h6\", PieceType.BISHOP ); //protects g7\n\n\t\tposition.add( Side.BLACK, \"a1\", PieceType.KING );\n\n\t\tplayer.setPosition( position, Side.WHITE );\n\n\t\tplayer.executeOurMove();\n\t\tverify( opponent ).opponentMoved( new Move( \"h8\", \"h7\" ) );\n\n\t\treset( opponent ); //NOT recommended by Mockito\n\t\tplayer.opponentMoved( new Move( \"a1\", \"a2\" ) );\n\n\t\tverify( opponent ).opponentMoved( new Move( \"h7\", \"h8\" ) );\n\t}", "title": "" }, { "docid": "5a82316a4673fc2716957077e055a112", "score": "0.58920634", "text": "public void setoPlayer(Player oPlayer) {\n\t\tthis.oPlayer = oPlayer;\n\t}", "title": "" }, { "docid": "19e924951cddadaa5ee90261716577d8", "score": "0.58874214", "text": "public void startPlaying(){\n gameController.getGame().addPlayer(new Player(ui.getUsername()).getUsername());\n gameController.getGame().setCurrentPlayer(0);\n player=gameController.getGame().getCurrentPlayer();\n ui.setGameState(gameController.getGame());\n ui.selectLeaderCards(player.getLeaderCards());\n }", "title": "" }, { "docid": "7a84f85c627f765c6deb852b6fd13863", "score": "0.58858263", "text": "@Test\n\tpublic final void activationTestPlayer() {\n\t\tpower.setPosY(15);\n\n\t\tsetOldValue();\n\t\tisNotActiveTest();\n\t\tPoint p = new Point(0, 15);\n\t\tPlayer player = new Player(p);\n\t\tCollisionDetection.addCollider(player);\n\t\tsetOldValue();\n\t\tpower.update(0);\n\t\tisActiveTest();\n\t\tpower.update(1);\n\t\tif (power.getPowerDuration() > 1) {\n\t\t\tisActiveTest();\n\t\t}\n\t\tsetOldValue();\n\t\tpower.update(10);\n\t\tisNotActiveTest();\n\n\t\tCollisionDetection.removeCollider(player);\n\t}", "title": "" }, { "docid": "7fa9eb2fef1fd0173becec4edef9c220", "score": "0.5880131", "text": "public void setStartingPlayer() {\n\n Random random = new Random();\n int numberOfPlayers = getModel().getPlayers().size();\n int randomInteger = random.nextInt(numberOfPlayers);\n\n getModel().setCurrentPlayer(getModel().getPlayers().get(randomInteger));\n getModel().notifyObservers( new DataBoard( LightConversion.getLightVersion( getBoard() ) ) );\n\n sendDataPlayers();\n }", "title": "" }, { "docid": "d220f60f4646ff0202398a11d3ebb9ea", "score": "0.5873916", "text": "protected void setGame(Game game) { this.game = game; }", "title": "" }, { "docid": "671d954b6fd816754cf6b88bb14b9245", "score": "0.5873728", "text": "public void setCurrentPlayerIndex(int currentPlayerIndex) {\n\t\tthis.currentPlayerIndex = currentPlayerIndex;\n\t}", "title": "" }, { "docid": "faa3dde4dc021f11c41af7bf9651f8da", "score": "0.5873438", "text": "void setGameResult(GameResult gameResult);", "title": "" }, { "docid": "5628a0d47455e3355e6fab66e0d92bb0", "score": "0.5860042", "text": "@Test\n public void testSetStatus() {\n System.out.println(\"setStatus\");\n String status = \"\";\n Game instance = new Game();\n instance.setStatus(status);\n }", "title": "" }, { "docid": "8deeb2d21d6a93992f75d5e88f6a3ca9", "score": "0.58509827", "text": "@Override\n public void getCurrentplayer(int gameID, Connection c) throws DALException{\n try {\n c.setAutoCommit(false);\n\n PreparedStatement statement = c.prepareStatement(\"SELECT CurrentplayerID FROM Currentplayer WHERE gameID = ?\");\n statement.setInt(1, gameID);\n\n ResultSet resultSet = statement.executeQuery();\n\n if (resultSet.next()) {\n for (Player player :game.getPlayers())\n if (player.getPlayerID() == resultSet.getInt(\"CurrentplayerID\")){\n game.setCurrentPlayer(player);\n }\n }\n\n } catch (SQLException e) {\n throw new DALException(e.getMessage());\n }\n }", "title": "" }, { "docid": "aa278dda08a1849db309cd76e683b29d", "score": "0.584973", "text": "public abstract Player currentPlayer();", "title": "" }, { "docid": "dbbe0c28ef4b1b119af0eab6cd8e74f5", "score": "0.584943", "text": "void setPlayerNumber(int number) ;", "title": "" }, { "docid": "a8354c84491cad29fc7113e578083c17", "score": "0.5843417", "text": "@Test\n public void getPlayerNumberTest() {\n assertEquals(player.getPlayerNumber(), 1);\n }", "title": "" }, { "docid": "ad2d5b5559e040017e190e67767e7518", "score": "0.5840896", "text": "public void play(){\n\t\t//Setup\n\t\tint playerToMove;\n\t\tboolean moveCorrect;\n\t\tint cardIndex1;\n\t\tint cardIndex2;\n\t\tint cardIndex3;\n\t\tScanner gameReader = new Scanner(System.in);\n\t\t\n\t\t\n\t\t//Game introduction\n\t\tSystem.out.println(\"Welcome to the Set Game!!\");\n\t\tSystem.out.println(\"Today's players are: \");\n\t\t//Print participating players\n\t\tfor(int i = 0; i < players.size(); i++){\n\t\t\tSystem.out.println(players.get(i)); //print players\n\t\t\tplayerScores[i] = 0;\n\t\t}\n\t\t\n\t\t//Main game loop\n\t\twhile(t.getCardCount() > 0){\n\t\t\t//Show cards\n\t\t\tSystem.out.println(t);\n\t\t\tt.showAllSets(); //SHOW ALL SETS FOR TESTING ONLY!\n\t\t\t\n\t\t\t//Enter a move (player number)\n\t\t\tSystem.out.println(\"To select a set, please enter the player number:\");\n\t\t\t\n\t\t\tplayerToMove = gameReader.nextInt();\n\t\t\t//player number validity check\n\t\t\tif(playerToMove < 0 || playerToMove >= playerScores.length){\n\t\t\t\tSystem.out.println(\"Player number out of bounds. Please select a valid player next time.\");\n\t\t\t\tcontinue; //try again\n\t\t\t}\n\t\t\t\n\t\t\t//Enter a move (card indices)\n\t\t\tSystem.out.println(\"Select the first card index: \");\n\t\t\tcardIndex1 = gameReader.nextInt();\n\t\t\tSystem.out.println(\"Select the second card index: \");\n\t\t\tcardIndex2 = gameReader.nextInt();\n\t\t\tSystem.out.println(\"Select the third card index: \");\n\t\t\tcardIndex3 = gameReader.nextInt();\n\t\t\t\n\t\t\t//catch out of bounds card indices\n\t\t\tif(cardIndex1 < 0 || cardIndex2 < 0 || cardIndex3 < 0 || cardIndex1 >= t.getCardCount() || cardIndex2 >= t.getCardCount() || cardIndex3 >= t.getCardCount()){\n\t\t\t\tSystem.out.println(\"Invalid card choice. One or more of the card indices chosen was out of bounds\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t//Execute move: Determine validity of Set and react appropriately\n\t\t\tmoveCorrect = move(playerToMove, cardIndex1, cardIndex2, cardIndex3);\n\t\t\tif(moveCorrect){\n\t\t\t\tSystem.out.println(players.get(playerToMove).getName() + \" has discovered a valid set, and now has \" + playerScores[playerToMove] + \" points.\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(players.get(playerToMove).getName() + \" has selected an invalid set, and now has \" + playerScores[playerToMove] + \" points.\");\n\t\t\t}\n\t\t\t\n\t\t\t//Check for game over\n\t\t\tif(!t.setsExist()){\n\t\t\t\tSystem.out.println(t);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t//Game Over!\n\t\t\n\t\t//detect winner index (max score) (doesn't work well for ties!)\n\t\t\n\t\tint winnerIndex = mostPointsPlayerIndex();\n\t\tSystem.out.println(\"GAME OVER!\");\n\t\tSystem.out.println(\"The winner is \" + players.get(winnerIndex).getName() + \", with \" + playerScores[winnerIndex] + \" points!\");\n\t\tSystem.out.println();\n\t\t\n\t\t//Print final scores\n\t\tSystem.out.println(\"Final scores: \");\n\t\tfor(int i = 0; i < playerScores.length; i++){\n\t\t\tSystem.out.println(players.get(i).getName() + \": \" + playerScores[i]);\n\t\t}\n\t\t\n\t\t//Update high scores\n\t\tupdateHighScores();\n\t\t\n\t\tgameReader.close();\n\t}", "title": "" }, { "docid": "5372d16d49f2e67675595309c1ec23d6", "score": "0.5840457", "text": "@Test\n public void testGameStart() {\n GameOptions gameOptions = new GameOptions();\n game.onReady(gameOptions, false);\n Assert.assertEquals(GameStatus.ON_READY_TO_START, game.getGameStatus());\n\n // ok, game started, game status have to be changed.\n game.start();\n Assert.assertEquals(GameStatus.IN_GAME, game.getGameStatus());\n }", "title": "" }, { "docid": "a3df7c4ea96dca104ebaaa6e943a307e", "score": "0.58380014", "text": "void setPlayerNumber();", "title": "" }, { "docid": "57601d5532bedfafccd65f2d5af0b175", "score": "0.5830962", "text": "protected void switchPlayers()\n {\n if (player == PLAYER1)\n player = PLAYER2;\n else \n player = PLAYER1;\n }", "title": "" }, { "docid": "3cd228a28905cec28b006b948d0baa06", "score": "0.5817445", "text": "public void setTurn(VPlayer player) {\n this.turn = player;\n }", "title": "" }, { "docid": "7de3211ab6dd1baddcce8dc171f9da0e", "score": "0.58169854", "text": "void setxPlayer(Player xPlayer) {\n\t\tthis.xPlayer = xPlayer;\n\t}", "title": "" }, { "docid": "96f98cb5c9efb5bb6e1f50087f360697", "score": "0.5815632", "text": "@Test\n public void onInitTest() {\n assertNotNull(player.getWarehouseDepot());\n assertNotNull(player.getDevelopmentSlot());\n assertNotNull(player.getWarehouseDepot());\n assertNotNull(player.getStrongbox());\n assertNull(player.getStartingCards());\n assertFalse(player.getFaithTrackPanels()[0]);\n assertFalse(player.getFaithTrackPanels()[1]);\n assertFalse(player.getFaithTrackPanels()[2]);\n assertEquals(player.getPosition(), 0);\n }", "title": "" }, { "docid": "62e689d989168d163311bd03ab2bfe7a", "score": "0.5809569", "text": "void setPlayer(String playerName) throws IOException;", "title": "" }, { "docid": "b0eb010ad0f075c3eb895b099fc093d0", "score": "0.58073556", "text": "private void setCurrentState(int rowNum,int colNum,int rows,int columns)\n {\n OXOPlayer currentplayer= gamemodel.getCurrentPlayer();\n gamemodel.setCellOwner(rowNum,colNum,currentplayer);\n if(checkWinner(rowNum, colNum, currentplayer)) { gamemodel.setWinner(currentplayer); }\n\n // check game drawn, and set next player\n int countownercell = checkOwnercell();\n if(countownercell == rows*columns) { gamemodel.setGameDrawn(); }\n OXOPlayer nextplayer= gamemodel.getPlayerByNumber(countownercell%gamemodel.getNumberOfPlayers());\n gamemodel.setCurrentPlayer(nextplayer);\n\n }", "title": "" }, { "docid": "4fa42009c4109911594391642450a32e", "score": "0.58028316", "text": "@Test\r\n\tpublic void testSwitchTurns() {\r\n\t\tBattleView bv = new BattleView(pc, model.getCurrentPlayer(), model.getOtherPlayer());\r\n\t\tbv.showView();\r\n\t\tassertEquals(JOptionPane.YES_OPTION, JOptionPane.showConfirmDialog(null, \"Screen should display the two Pokemon in battle mode.\\nDoes it look right?\"));\r\n\t\tmodel.changeTurn();\r\n\t\tbv.update(model.getCurrentPlayer(), model.getOtherPlayer());\r\n\t\tassertEquals(JOptionPane.YES_OPTION, JOptionPane.showConfirmDialog(null, \"Pokemon should flip with turn change.\\nDoes it look right?\"));\r\n\t}", "title": "" } ]
c61b71e972e9361af39b0854143a85a7
Concurrency test, worth running >10K times to spot concurrency issues.
[ { "docid": "362f360e4c55e01e5f247f455188d0a8", "score": "0.0", "text": "@Test\n void expiringAHostDoesntRaceWithConnectionAdding() throws Exception {\n Executor executor = Executors.newFixedSizeExecutor(1);\n try {\n sendServiceDiscoveryEvents(upEvent(\"address-1\"));\n assertConnectionCount(lb.usedAddresses(), connectionsCount(\"address-1\", 0));\n\n AtomicReference<Exception> e = new AtomicReference<>();\n AtomicReference<TestLoadBalancedConnection> connection = new AtomicReference<>();\n\n Future<Object> f = executor.submit(() -> {\n try {\n connection.set(lb.selectConnection(alwaysNewConnectionFilter(), null).toFuture().get());\n } catch (Exception ex) {\n e.set(ex);\n }\n return null;\n }).toFuture();\n\n sendServiceDiscoveryEvents(downEvent(\"address-1\"));\n f.get();\n\n Exception thrown = e.get();\n if (thrown != null) {\n // Connection was not added - SD event arrived before the attempt of adding the connection\n assertThat(thrown, instanceOf(ExecutionException.class));\n // Either the host was already CLOSED and removed from the usedHosts collection:\n assertThat(thrown.getCause(),\n either(instanceOf(NoAvailableHostException.class))\n .or(instanceOf(NoActiveHostException.class))\n // Or we selected the host and in the meantime it entered the CLOSED state:\n .or(instanceOf(ConnectionRejectedException.class)));\n assertAddresses(lb.usedAddresses(), EMPTY_ARRAY);\n assertNull(connection.get());\n } else {\n // Connection was added first -> Let's validate the host was properly EXPIRED:\n assertConnectionCount(lb.usedAddresses(), connectionsCount(\"address-1\", 1));\n\n // Confirm host is expired:\n ExecutionException ex = assertThrows(ExecutionException.class,\n () -> lb.selectConnection(alwaysNewConnectionFilter(), null).toFuture().get());\n assertThat(ex.getCause(), instanceOf(NoAvailableHostException.class));\n\n lb.closeAsyncGracefully().toFuture().get();\n verify(connection.get(), times(1)).closeAsyncGracefully();\n }\n } finally {\n executor.closeAsync().toFuture().get();\n }\n }", "title": "" } ]
[ { "docid": "4e660679b6083f3dfba0b33bc491fa31", "score": "0.6884008", "text": "public void testSimpleConcurrentAccess() throws InterruptedException {\n \r\n final SimpleHashCacheKeySerializer serializer = new SimpleHashCacheKeySerializer();\r\n \r\n Runnable runnable = new Runnable() {\r\n @Override public void run() {\r\n for(int i = 0; i<10000; i++) {\r\n serializer.serialize(\"foo\");\r\n }\r\n } \r\n };\r\n \r\n Thread t1 = new Thread(runnable);\r\n Thread t2 = new Thread(runnable);\r\n Thread t3 = new Thread(runnable);\r\n Thread t4 = new Thread(runnable);\r\n t1.start();\r\n t2.start();\r\n t3.start();\r\n t4.start();\r\n t1.join();\r\n t2.join();\r\n t3.join();\r\n t4.join();\r\n \r\n // naive test, we just expect test to go through and not crash\r\n }", "title": "" }, { "docid": "17655499c647a6bb23253ebeab41d18e", "score": "0.65932083", "text": "@Test\n public void threadCountClassesAndMethodsOneCoreOptimized() {\n unpack().disablePerCoreThreadCount()\n .parallelClassesAndMethods()\n .threadCount(3)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "d76f794f7cb401b11537a7990ab836ca", "score": "0.65826917", "text": "@Test\n @Ignore\n public void perf020CompareQueue() throws Exception {\n perfCompare(\"perf020CompareQueue\", 1000, 1000, 10);\n }", "title": "" }, { "docid": "f568a3658736b179b4bca6928e43e813", "score": "0.6562519", "text": "@Test\n public void testFairness() throws Exception {\n if (gridCount() == 1)\n return;\n\n // Total number of ops.\n final long opsCount = 10000;\n\n // Allowed deviation from uniform distribution.\n final double tolerance = 0.05;\n\n // Shared counter.\n final String OPS_COUNTER = \"ops_counter\";\n\n // Number of threads, one per node.\n final int threadCount = gridCount();\n\n final AtomicLong threadCounter = new AtomicLong(0);\n\n Ignite ignite = startGrid(gridCount());\n\n // Initialize reentrant lock.\n IgniteLock l = ignite.reentrantLock(\"lock\", true, true, true);\n\n // Initialize OPS_COUNTER.\n ignite.getOrCreateCache(OPS_COUNTER).put(OPS_COUNTER, (long)0);\n\n final Map<Integer, Long> counts = new ConcurrentHashMap<>();\n\n IgniteInternalFuture<?> fut = multithreadedAsync(\n new Callable<Object>() {\n @Override public Object call() throws Exception {\n final int localNodeId = (int)threadCounter.getAndIncrement();\n\n final Ignite grid = grid(localNodeId);\n\n IgniteClosure<Ignite, Long> closure = new IgniteClosure<Ignite, Long>() {\n @Override public Long apply(Ignite ignite) {\n IgniteLock l = ignite.reentrantLock(\"lock\", true, true, true);\n\n long localCount = 0;\n\n IgniteCountDownLatch latch = ignite.countDownLatch(\"latch\", threadCount, false, true);\n\n latch.countDown();\n\n latch.await();\n\n while (true) {\n l.lock();\n\n try {\n long opsCounter = (long)ignite.getOrCreateCache(OPS_COUNTER).get(OPS_COUNTER);\n\n if (opsCounter == opsCount)\n break;\n\n ignite.getOrCreateCache(OPS_COUNTER).put(OPS_COUNTER, ++opsCounter);\n\n localCount++;\n\n if (localCount > 1000) {\n assertTrue(localCount < (1 + tolerance) * opsCounter / threadCount);\n\n assertTrue(localCount > (1 - tolerance) * opsCounter / threadCount);\n }\n\n if (localCount % 100 == 0) {\n info(\"Node [id=\" + ignite.cluster().localNode().id() + \"] acquired \" +\n localCount + \" times. \" + \"Total ops count: \" +\n opsCounter + \"/\" + opsCount + \"]\");\n }\n }\n finally {\n l.unlock();\n }\n }\n\n return localCount;\n }\n };\n\n long localCount = closure.apply(grid);\n\n counts.put(localNodeId, localCount);\n\n return null;\n }\n }, threadCount);\n\n fut.get();\n\n long totalSum = 0;\n\n for (int i = 0; i < gridCount(); i++) {\n totalSum += counts.get(i);\n\n info(\"Node \" + grid(i).localNode().id() + \" acquired the lock \" + counts.get(i) + \" times. \");\n }\n\n assertEquals(totalSum, opsCount);\n\n l.close();\n\n ignite.close();\n }", "title": "" }, { "docid": "12a5930792f2f05b0a4c47fd76924b23", "score": "0.6529579", "text": "@Test\n public void parallelismTest() {\n // TODO: test parallelism\n }", "title": "" }, { "docid": "3963167caa6e3aecc96d9afc76289461", "score": "0.6520972", "text": "@Test\r\n public void testSE33()\r\n {\r\n pollAndCompareTest(33);\r\n }", "title": "" }, { "docid": "d685868438c4ddb4ebe7ae7cd9c10d6a", "score": "0.6508165", "text": "@Test\n public void testSync() throws InterruptedException {\n\n final int total = 200;\n Counter counter = new Counter(0);\n Thread thread1 = new Thread(new CounterThread(\"Thread - 1\", counter, total));\n Thread thread2 = new Thread(new CounterThread(\"Thread - 2\", counter, total));\n\n thread1.start();\n thread2.start();\n\n// thread2.join(); // TODO?\n\n assertEquals(2 * total, counter.getCounter().longValue());\n }", "title": "" }, { "docid": "d5b9ade49efad83b57b06e96a3d86dea", "score": "0.6456845", "text": "public static void main(String[] args) throws InterruptedException {\n Lock lock = new ReentrantLock();\n\n Runnable inc = () -> {\n for (int i = 0; i < 1_000_000; ++i) {\n if (lock.tryLock()) {\n try {\n ++value;\n } finally {\n lock.unlock();\n }\n }\n }\n };\n\n Runnable dec = () -> {\n for (int i = 0; i < 1_000_000; ++i) {\n lock.lock();\n try {\n --value;\n } finally {\n lock.unlock();\n }\n }\n };\n\n ExecutorService service = Executors.newFixedThreadPool(2);\n List<Future<Object>> futures = service.invokeAll(Arrays.asList(callable(inc), callable(dec)));\n for (Future<Object> future : futures) {\n System.out.println(future.isDone());\n try {\n System.out.println(future.get());\n } catch (ExecutionException e) {\n e.printStackTrace();\n }\n }\n service.shutdown();\n\n System.out.println(value);\n }", "title": "" }, { "docid": "c68a091383e225da405056b7e7f74efe", "score": "0.6438719", "text": "@Test\n public void threadCountAllOptimized() {\n unpack().parallelAll()\n .threadCount(3)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "c1bb7c8688bbc6e8b90aed5f7f8447d4", "score": "0.6423139", "text": "public long doTestConcurrent() throws CoreException, InterruptedException\n {\n FortranPreferences.PREFERRED_MODEL_BUILDER.setValue(\"concurrentModelBuilder\");\n System.out.println(\"----------------- Concurrent test --------------\");\n return doTestModel(true);\n }", "title": "" }, { "docid": "5546f39b5f459d05dd07ff0e41d780c0", "score": "0.6421442", "text": "private void doWork() {\n Random rand = new Random();\n long end = System.currentTimeMillis() + runtime;\n try {\n while (end > System.currentTimeMillis()) {\n synchronized (myArrayTestRoot) {\n int idx = rand.nextInt(myArrayTestRoot.length);\n // System.out.println(myArrayTestRoot[rand.nextInt(myArrayTestRoot.length)]);\n Assert.assertTrue(myArrayTestRoot[idx].equals(stringAry[idx]));\n }\n Thread.sleep((int) (Math.random() * 10));\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n arrayIndexTestCase();\n\n testNullArrayAccess();\n }", "title": "" }, { "docid": "b01e59837324bf0c36a8f81b73c056ac", "score": "0.6412038", "text": "@Test\r\n public void testSE31()\r\n {\r\n pollAndCompareTest(31); \r\n }", "title": "" }, { "docid": "0be5ec1dd69fb2a3cc958ebe54c46f5c", "score": "0.64057976", "text": "@Test\n @Ignore\n public void perf008CompareNoQueueLarge() throws Exception {\n perfCompare(\"perf008CompareNoQueueLarge\", 10000, 5000, 0);\n }", "title": "" }, { "docid": "da92f36caeb2a229f3d289f3a69616f3", "score": "0.64031655", "text": "@Test\n\tpublic void test_checkThread_providesProtectionAgainstMultipleThreadAccess() {\n\n\t\t// given\n\n\t\t// Note: with only 2 threads (workers) we can simulate the scenario of WorkspaceImpl object common access, but we will try one more scenario.\n\t\tint[] workersSizeTestData = { 2, 30 };\n\t\tint[] expectedErrorsOccurred = { workersSizeTestData[0] - 1, workersSizeTestData[1] - 1 }; // minus one of X workers, due to a Workspace object can have only one owner\n\n\t\tint runs = 15;\n\n\t\tfor (int i = 0; i < workersSizeTestData.length; i++) {\n\t\t\tfor (int run = 0; run < runs; run++) {\n\n\t\t\t\tfinal Workspace workspace = ServiceLoader.load(Workspace.class).iterator().next();\n\n\t\t\t\tassertNotNull(workspace);\n\n\t\t\t\tAtomicBoolean exceptionOccurred = new AtomicBoolean(false);\n\t\t\t\tLongAdder errorsCounter = new LongAdder();\n\n\t\t\t\tint workersSize = workersSizeTestData[i];\n\t\t\t\tint expectedErrors = expectedErrorsOccurred[i];\n\n\t\t\t\tPhaser phaser = new Phaser(workersSize + 1 /* plus one for junit test thread / waiter role */);\n\n\t\t\t\tCyclicBarrier rendezvous = new CyclicBarrier(workersSize,\n\t\t\t\t\t\t() -> System.out.println(\"all workers (size = \" + workersSize + \") at 'fair' position to access/test checkThread method\")\n\t\t\t\t);\n\n\t\t\t\tExecutorService workers = Executors.newFixedThreadPool(workersSize, new ThreadFactory() {\n\n\t\t\t\t\tprivate AtomicInteger idx = new AtomicInteger(0);\n\n\t\t\t\t\t@Override public Thread newThread(Runnable r) {\n\t\t\t\t\t\tThread t = new Thread(r);\n\t\t\t\t\t\tt.setName(\"checkThread-\" + idx.getAndIncrement());\n\t\t\t\t\t\treturn t;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\t// when\n\t\t\t\tfor (int k = 0; k < workersSize; k++) {\n\n\t\t\t\t\tworkers.submit(() -> {\n\t\t\t\t\t\t// ~~ rendezvous point ~~\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\trendezvous.await();\n\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\tThread.currentThread().interrupt();\n\t\t\t\t\t\t} catch (BrokenBarrierException ignored) {\n\t\t\t\t\t\t\tAssert.fail();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// ~~ actual work (simulate a scenario of usage) ~~\n\t\t\t\t\t\tWorkspaceSession workspaceSession = null;\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tworkspaceSession = workspace.startSession();\n\n\t\t\t\t\t\t\t// some random work\n\t\t\t\t\t\t\tlong randomMillisIONoise = 100 * (ThreadLocalRandom.current().nextInt(3) + 1);\n\t\t\t\t\t\t\tThread.yield();\n\t\t\t\t\t\t\tThread.sleep(randomMillisIONoise);\n\n\t\t\t\t\t\t\tworkspace.endSession(workspaceSession);\n\n\t\t\t\t\t\t} catch (Exception e) {\n\n\t\t\t\t\t\t\tif (e instanceof WorkspaceSessionException) {\n\t\t\t\t\t\t\t\texceptionOccurred.set(true);\n\t\t\t\t\t\t\t\terrorsCounter.increment();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (workspaceSession != null) {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tworkspace.endSession(workspaceSession);\n\t\t\t\t\t\t\t\t} catch (WorkspaceSessionException ignored) {\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tphaser.arriveAndDeregister();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t}\n\n\t\t\t\t// then\n\t\t\t\tphaser.arriveAndAwaitAdvance();\n\t\t\t\tassertTrue(exceptionOccurred.get());\n\t\t\t\tassertEquals(expectedErrors, errorsCounter.sum());\n\n\t\t\t\t// clean up\n\t\t\t\tworkers.shutdown();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f70dd51cb1aac85f59286d81d29511f7", "score": "0.6397519", "text": "@Test\r\n public void testSE32()\r\n {\r\n pollAndCompareTest(32);\r\n }", "title": "" }, { "docid": "714d2cf486eafb2092fe4186785acd8a", "score": "0.6374762", "text": "@Test\n @Ignore\n public void perf006CompareNoQueueSmall() throws Exception {\n perfCompare(\"perf006CompareNoQueueSmall\", 1000, 500, 0);\n }", "title": "" }, { "docid": "2b39f674ee049823fa27df0ab86e01ec", "score": "0.6367221", "text": "@Test\n\tvoid repeatedParallelCheckRedirect()\n\t{\n\t\tint threadCount = 8;\n\t\tint repeatCount = 1000;\n\t\tfor (int i = 0; i < repeatCount; i++)\n\t\t{\n\t\t\tparallelCheckRedirect(threadCount);\n\t\t}\n\t}", "title": "" }, { "docid": "9fba02b02800b67dc9a3260ad75949a9", "score": "0.63566035", "text": "@Test\n public void reusableThreadCountAllOptimized() {\n unpack().parallelAll()\n .disablePerCoreThreadCount()\n .threadCount(14)\n .threadCountSuites(2)\n .threadCountClasses(4)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "c096fb37a1dbe128b638e3d48d005229", "score": "0.6345267", "text": "@Test\n public void threadCountClassesAndMethodsOptimized() {\n unpack().parallelClassesAndMethods()\n .threadCount(3)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "3b99e4af2a43429220c12e7c1b560908", "score": "0.6343303", "text": "@Test\n public void whenSynchronizedStaticMethodWithXLoopsThenReturn2X() {\n Counter counter = new Counter(50_000_000);\n counter.count(false, true, false);\n assertThat(Counter.getSharedStatic(), is(100_000_000));\n }", "title": "" }, { "docid": "d88accfd5266dd75a012b55e2eee3562", "score": "0.63410115", "text": "@Test\r\n public void testSE11()\r\n {\r\n pollAndCompareTest(11);\r\n }", "title": "" }, { "docid": "79d3929ec2524dfe880ff0a76408d4e8", "score": "0.63287747", "text": "public void test_getAndIncrementXXX_crossMonotonicity() {\n final int nbrOfThreads = DEFAULT_NBR_OF_CELLS_FOR_TEST;\n final long nbrOfCalls = 100L * 1000L * nbrOfThreads;\n final int nbrOfCells = DEFAULT_NBR_OF_CELLS_FOR_TEST;\n final LongCounter counter = new LongCounter(0L,nbrOfCells);\n final AtomicReference<String> error = new AtomicReference<String>();\n runConcurrentCalls(new InterfaceFactory<Runnable>() {\n public Runnable newInstance() { return new Runnable() {\n public void run() {\n final long previous = counter.getAndIncrement();\n final long value = counter.getAndIncrementMonotonic(null);\n // cross-monotonicity test\n final boolean ok = (value > previous);\n if (!ok) {\n error.compareAndSet(null, \"previous = \"+previous+\", value = \"+value);\n // To stop the thread.\n assertTrue(false);\n }\n }\n };}\n }, nbrOfCalls, nbrOfThreads);\n assertEquals(null,error.get());\n }", "title": "" }, { "docid": "d70b6a2fe1fc28451bbb0803be1dd44c", "score": "0.6327751", "text": "private static void runTestOperations() {\r\n\t\t ExecutorService executor = Executors.newFixedThreadPool(NUM_THREADS);\r\n//\t\tExecutorService executor = new ScheduledThreadPoolExecutor(NUM_THREADS);\r\n\t\t// ExecutorService executor = new ForkJoinPool(NUM_THREADS);\r\n\r\n\t\tReadBalance[] readers = new ReadBalance[NUM_TRANSACTIONS * 2];\r\n\t\tOperation[] operations = new Operation[NUM_TRANSACTIONS * 2];\r\n\t\tfor (int i = 0; i < NUM_TRANSACTIONS; i++) {\r\n\t\t\toperations[i * 2] = withdrawals[i % NUM_ACCOUNTS];\r\n\t\t\toperations[(i * 2) + 1] = deposits[(i + 1) % NUM_ACCOUNTS];\r\n\r\n\t\t\treaders[i * 2] = new ReadBalance(i % NUM_ACCOUNTS, bank);\r\n\t\t\treaders[(i * 2) + 1] = new ReadBalance(i % NUM_ACCOUNTS, bank);\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tlong time = System.nanoTime();\r\n\t\t\tIntStream.range(0, operations.length).forEach(i -> {\r\n\t\t\t\texecutor.execute(operations[i]);\r\n//\t\t\t\texecutor.execute(readers[i]);\r\n\t\t\t});\r\n\t\t\tlong loopDone = System.nanoTime();\r\n\t\t\tFuture<Long> done = executor.submit(new Callable<Long>() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic Long call() throws Exception {\r\n\t\t\t\t\treturn System.nanoTime();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\texecutor.shutdown();\r\n\t\t\tboolean completed = executor.awaitTermination(TIMEOUT, TimeUnit.SECONDS);\r\n\t\t\tif (!completed)\r\n\t\t\t\tSystem.out.println(\"Operation failed to complete something\");\r\n\t\t\ttime = System.nanoTime() - time;\r\n\r\n\t\t\tSystem.out.println(\"Test operations finished.\");\r\n\t\t\tSystem.out.format(\"Delay [ms]: %.0f%n\", (done.get() - loopDone)/1E6);\r\n\t\t\tSystem.out.println(\"Completed: \" + completed);\r\n\t\t\tSystem.out.println(\"Time [ms]: \" + time / 1000000);\r\n\r\n\t\t\tfor (int i = 0; i < NUM_ACCOUNTS; i++) {\r\n\t\t\t\tint balance = bank.getAccountBalance(accountIds[i]);\r\n\t\t\t\tif (balance != 1000)\r\n\t\t\t\t\tSystem.out.println(\"Operation Mismatch:: Account: \" + accountIds[i] + \";\\tBalance: \" + balance);\r\n\t\t\t}\r\n\t\t} catch (Exception exception) {\r\n\t\t\texception.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "41467417809c192eb26dd1c29585bd50", "score": "0.6306827", "text": "public static void main(String[] args) {\n testThreadSafeSingletonNormal();\n// testThreadSafeSingletonUsingDoubleLocking();\n }", "title": "" }, { "docid": "cb89e3e6ae091b5fea1d4f0abb625d14", "score": "0.6301521", "text": "public void testConcurrency() throws InterruptedException {\r\n Graph<Vertex, Edge> graph = new ConcurrentGraphWrapper<>(new UndirectedGraph<>(), false);\r\n Vertex v1 = new Vertex(\"start\");\r\n Vertex v2 = new Vertex(\"end\");\r\n\r\n // add some reading threads and one writing thread\r\n final int numOfReadThreads = 3;\r\n final int numOfWriteThreads = 1;\r\n CountDownLatch latch = new CountDownLatch(numOfReadThreads + numOfWriteThreads);\r\n List<GraphThread> threads = new ArrayList<>();\r\n for (int i = 0; i < numOfReadThreads; i++) {\r\n threads.add(new ReadGraphThread(\"read-thread-\" + i, graph, v1, v2, latch));\r\n }\r\n for (int i = 0; i < numOfWriteThreads; i++) {\r\n threads.add(new WriteGraphThread(\"write-thread-\" + i, graph, v1, v2, latch));\r\n }\r\n\r\n Executor executor = Executors.newFixedThreadPool(threads.size());\r\n for (Runnable runnable : threads) {\r\n executor.execute(runnable);\r\n }\r\n\r\n latch.await(10, TimeUnit.SECONDS);\r\n\r\n for (GraphThread graphThread : threads) {\r\n assertTrue(graphThread.getName() + \" should exit succesfully\", graphThread.isSuccess());\r\n }\r\n }", "title": "" }, { "docid": "7ad15fa766840806ea611fad0f61a6e6", "score": "0.62755734", "text": "@GwtIncompatible // GWT is single threaded\n void verifyThreadSafe() {\n List<String> sample = Lists.newArrayList(\"a\", \"b\", \"c\");\n for (int delta : new int[] {-1, 0, 1}) {\n for (int i = 0; i < sample.size(); i++) {\n Collection<String> misleading = Helpers.misleadingSizeCollection(delta);\n List<String> expected = sample.subList(0, i);\n misleading.addAll(expected);\n assertEquals(\n \"delta: \" + delta + \" sample size: \" + i,\n Sets.newHashSet(expected),\n copyOf(misleading));\n }\n }\n }", "title": "" }, { "docid": "db2851c8ed383699b535810d05b2755d", "score": "0.6272862", "text": "@Test\r\n public void testSE15()\r\n {\r\n pollAndCompareTest(15);\r\n }", "title": "" }, { "docid": "d1326efa6b04e15ba502cd8408ca8fda", "score": "0.62562513", "text": "@Test\n public void threadCountSuitesAndMethodsOptimized() {\n unpack().parallelSuitesAndMethods()\n .threadCount(3)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "efec7076984e83075355af8fdadca9d9", "score": "0.6247821", "text": "@Test\n public void reusableThreadCountClassesAndMethodsOptimized() {\n unpack().parallelClassesAndMethods()\n .disablePerCoreThreadCount()\n .threadCount(6)\n .threadCountClasses(2)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "ed8c7f92709eae77a85434ba2b467f46", "score": "0.6240836", "text": "public void _test5217_concurrentActivation1() {\n \n runConformTest(\n new String[] {\n\t\t\"Team5217ca1.java\",\n\t\t\t \"\\n\" +\n\t\t\t \"import java.util.Random;\\n\" +\n\t\t\t \"public team class Team5217ca1 {\\n\" +\n\t\t\t \" R r;\\n\" +\n\t\t\t \" protected class R playedBy T5217ca1 {\\n\" +\n\t\t\t \" int rcount;\\n\" +\n\t\t\t \" callin void up() {\\n\" +\n\t\t\t \" rcount++;\\n\" +\n\t\t\t \" base.up();\\n\" +\n\t\t\t \" }\\n\" +\n\t\t\t \" up <- replace test;\\n\" +\n\t\t\t \" }\\n\" +\n\t\t\t \" Team5217ca1() { this.activate(ALL_THREADS); }\\n\" +\n\t\t\t \" public static void main(String[] args) {\\n\" +\n\t\t\t \" final Team5217ca1[] teams= new Team5217ca1[100];\\n\" +\n\t\t\t \" for(int i=0;i<100;i++)\\n\" +\n\t\t\t \" teams[i]= new Team5217ca1();\\n\" +\n\t\t\t \" Thread switcher= new Thread() {\\n\" +\n\t\t\t \" public void run() {\\n\" +\n\t\t\t \" Random r= new Random(5217);\\n\" +\n\t\t\t \" while (true) {\\n\" +\n\t\t\t \" int i= r.nextInt(100);\\n\" +\n\t\t\t \" if (teams[i].isActive())\\n\" +\n\t\t\t \" teams[i].deactivate(ALL_THREADS);\\n\" +\n\t\t\t \" else\\n\" +\n\t\t\t \" teams[i].activate(ALL_THREADS);\\n\" +\n\t\t\t \" }\\n\" +\n\t\t\t \" }\\n\" +\n\t\t\t \" };\\n\" +\n\t\t\t \" T5217ca1 b= new T5217ca1();\\n\" +\n\t\t\t \" switcher.start();\\n\" +\n\t\t\t \" for (int i=0; i<50000; i++)\\n\" +\n\t\t\t \" try {\\n\" +\n\t\t\t \" b.test();\\n\" +\n\t\t\t \" } catch (ArrayIndexOutOfBoundsException aioobe) {\\n\" +\n\t\t\t \" System.out.print(\\\"NOK\\\");\\n\" +\n\t\t\t \" System.exit(0);\\n\" +\n\t\t\t \" } catch (Throwable t) {\\n\" +\n\t\t\t \" t.printStackTrace();\\n\" +\n\t\t\t \" }\\n\" +\n\t\t\t \" System.out.print(\\\"OK\\\"); // no exception.\\n\" +\n\t\t\t \" System.exit(0);\\n\" +\n\t\t\t \" }\\n\" +\n\t\t\t \"}\\n\" +\n\t\t\t \" \\n\",\n\t\t\"T5217ca1.java\",\n\t\t\t \"\\n\" +\n\t\t\t \"public class T5217ca1 {\\n\" +\n\t\t\t \" public int count;\\n\" +\n\t\t\t \" void test() {\\n\" +\n\t\t\t \" this.count++;\\n\" +\n\t\t\t \" }\\n\" +\n\t\t\t \"}\\n\" +\n\t\t\t \" \\n\"\n },\n \"OK\");\n }", "title": "" }, { "docid": "de6dd79ecef54d3966a611115b7f2e93", "score": "0.62311774", "text": "public void testMultiThreaded(Runnable action) {\n ExecutorService threadPool = Executors.newFixedThreadPool(threadCount);\n\n long t0 = System.currentTimeMillis();\n\n for (int i = 0; i < threadCount; i++) {\n threadPool.submit(() -> {\n action.run();\n });\n }\n\n /* start !*/\n countDownLatch.countDown();\n\n try {\n threadPool.shutdown();\n threadPool.awaitTermination(10, TimeUnit.SECONDS);\n } catch (InterruptedException e) {\n // ignored\n }\n\n long t1 = System.currentTimeMillis();\n System.out.printf(\"Total execution time in TestHarness: %d milliseconds\\n\", t1 - t0);\n }", "title": "" }, { "docid": "e15ffbb88bb5e623dae9dfc32df15211", "score": "0.623098", "text": "@Test\r\n public void testSE10()\r\n {\r\n pollAndCompareTest(10);\r\n }", "title": "" }, { "docid": "75e460f521bc4f6bc9cd2f752e20be29", "score": "0.62299234", "text": "@Test\r\n public void testSE34()\r\n {\r\n pollAndCompareTest(34);\r\n }", "title": "" }, { "docid": "fd1718a4174564754988b09355a5bbdd", "score": "0.622445", "text": "@Test\n public void testAsynchStablizationAndCommunication() throws Exception {\n\t}", "title": "" }, { "docid": "9a0d414cdf02f0e551411eb98ccce711", "score": "0.6203286", "text": "@Test\n public void testConcurrencyParallelMethods() throws Exception {\n assumeThat(parameters.useExperimentalRunner, is(true));\n assumeThat(parameters.defaultConcurrency, is(Concurrency.PARALLEL_METHODS));\n ParallelMethodsDefaultParallelTest1.reset();\n invokeConsoleRunner(\"ParallelMethodsDefaultParallelTest1 ParallelMethodsDefaultParallelTest2\"\n + \" -default-concurrency PARALLEL_METHODS -parallel-threads 4\");\n assertEquals(\"pmdptest11 pmdptest12 pmdptest21 pmdptest22\", TestRegistry.getCalledTests());\n }", "title": "" }, { "docid": "5cff0d9ffd9683975e7e0441f9157f19", "score": "0.6201909", "text": "@Test\r\n public void testSE27()\r\n {\r\n pollAndCompareTest(27);\r\n }", "title": "" }, { "docid": "63155cb1dbc4eff394749371c79c0896", "score": "0.620124", "text": "@Test\n\tpublic void testConcurrentGetOnSameKeySets() throws InterruptedException, ExecutionException {\n\t\tConcurrentElasticHashMap<String, Integer> map =\n\t\t\t\tnew ConcurrentElasticHashMap<>();\n\t\trunConcurrentGetOnSameKeySets(map, 6, 20000, 4000000L);\n\t\tTestUtil.printMetrics(map);\n\t}", "title": "" }, { "docid": "a9d1d503411483ebf423287be7382d84", "score": "0.61990273", "text": "@Test\r\n public void testSE29()\r\n {\r\n pollAndCompareTest(29); \r\n }", "title": "" }, { "docid": "d23b22e8a504731a65a8f601fafa122f", "score": "0.61974", "text": "@Test\n public void runOutOfOrderConcurrencyTest() {\n ExecutorService tp = Executors.newFixedThreadPool(20);\n List<Throwable> errors = TestHelper.trackPluginErrors();\n try {\n TestConcurrencySubscriber tw = new TestConcurrencySubscriber();\n // we need Synchronized + SafeObserver to handle synchronization plus life-cycle\n Observer<String> w = serializedObserver(new SafeObserver<>(tw));\n\n Future<?> f1 = tp.submit(new OnNextThread(w, 12000));\n Future<?> f2 = tp.submit(new OnNextThread(w, 5000));\n Future<?> f3 = tp.submit(new OnNextThread(w, 75000));\n Future<?> f4 = tp.submit(new OnNextThread(w, 13500));\n Future<?> f5 = tp.submit(new OnNextThread(w, 22000));\n Future<?> f6 = tp.submit(new OnNextThread(w, 15000));\n Future<?> f7 = tp.submit(new OnNextThread(w, 7500));\n Future<?> f8 = tp.submit(new OnNextThread(w, 23500));\n\n Future<?> f10 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onComplete, f1, f2, f3, f4));\n try {\n Thread.sleep(1);\n } catch (InterruptedException e) {\n // ignore\n }\n Future<?> f11 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onComplete, f4, f6, f7));\n Future<?> f12 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onComplete, f4, f6, f7));\n Future<?> f13 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onComplete, f4, f6, f7));\n Future<?> f14 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onComplete, f4, f6, f7));\n // // the next 4 onError events should wait on same as f10\n Future<?> f15 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onError, f1, f2, f3, f4));\n Future<?> f16 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onError, f1, f2, f3, f4));\n Future<?> f17 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onError, f1, f2, f3, f4));\n Future<?> f18 = tp.submit(new CompletionThread(w, TestConcurrencySubscriberEvent.onError, f1, f2, f3, f4));\n\n waitOnThreads(f1, f2, f3, f4, f5, f6, f7, f8, f10, f11, f12, f13, f14, f15, f16, f17, f18);\n @SuppressWarnings(\"unused\")\n int numNextEvents = tw.assertEvents(null); // no check of type since we don't want to test barging results here, just interleaving behavior\n // System.out.println(\"Number of events executed: \" + numNextEvents);\n\n for (int i = 0; i < errors.size(); i++) {\n TestHelper.assertUndeliverable(errors, i, RuntimeException.class);\n }\n } catch (Throwable e) {\n fail(\"Concurrency test failed: \" + e.getMessage());\n e.printStackTrace();\n } finally {\n tp.shutdown();\n try {\n tp.awaitTermination(5000, TimeUnit.MILLISECONDS);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n RxJavaPlugins.reset();\n }\n }", "title": "" }, { "docid": "5b42b03b80009be68c3cff9a48325eb6", "score": "0.61866283", "text": "@Test\n public void testRace() throws Exception {\n // Each replica has its own AtomicInteger which counts the number of commands\n // it executed/replayed so far.\n final Replica[] replicas = new Replica[NUM_REPLICAS];\n for (int i = 0; i < replicas.length; i++) {\n final AtomicInteger counter = new AtomicInteger();\n replicas[i] = new Replica(String.valueOf(i), ROOT,\n command -> completedFuture(new Revision(counter.incrementAndGet())));\n }\n\n try {\n final Command<Revision> command =\n Command.push(\"foo\", \"bar\", Revision.HEAD, Author.SYSTEM, \"\", \"\", Markup.PLAINTEXT);\n\n final int COMMANDS_PER_REPLICA = 3;\n final List<CompletableFuture<Void>> futures = new ArrayList<>(replicas.length);\n for (final Replica r : replicas) {\n futures.add(CompletableFuture.runAsync(() -> {\n for (int j = 0; j < COMMANDS_PER_REPLICA; j++) {\n try {\n r.rm.execute(command).join();\n } catch (Exception e) {\n throw new Error(e);\n }\n }\n }));\n }\n\n for (CompletableFuture<Void> f : futures) {\n f.get();\n }\n\n for (Replica r : replicas) {\n for (int i = 0; i < COMMANDS_PER_REPLICA * replicas.length; i++) {\n @SuppressWarnings(\"unchecked\")\n final ReplicationLog<Revision> log =\n (ReplicationLog<Revision>) r.rm.loadLog(i, false).get();\n\n assertThat(log.result().major()).isEqualTo(i + 1);\n }\n }\n } finally {\n for (Replica r : replicas) {\n r.rm.stop();\n }\n }\n }", "title": "" }, { "docid": "867115eda626f8ca90bb9f9309515cdf", "score": "0.6179184", "text": "@Test\n @Ignore\n public void perf022AvailabilityQueue() throws Exception {\n perfCompare(\"perf022AvailabilityQueue\", 1000, 1000, 10);\n }", "title": "" }, { "docid": "1db774ba02d4f751066cd58e00b99173", "score": "0.61699116", "text": "@Test\n\tpublic void testNormalRun() {\n\t\tthreadOne.setUpThread(2);\n\t\tthreadTwo.setUpThread(2);\n\t\tthreadOne.start();\n\t\tthreadTwo.start();\n\t\ttry {\n\t\t\tThread.sleep(500);\n\t\t} catch (InterruptedException e) {\n\t\t\tlog.error(e.getMessage(), e);\n\t\t}\n\t\tassertEquals(threadOne.getCurrentCount(), threadTwo.getCurrentCount());\n\t}", "title": "" }, { "docid": "6c1e4a19774a1ed675719aa5d43deae2", "score": "0.61625457", "text": "@Test\r\n public void testSE16()\r\n {\r\n pollAndCompareTest(16);\r\n }", "title": "" }, { "docid": "568eb611715a49f346433abe649d4562", "score": "0.61586523", "text": "@Test\r\n public void testSE30()\r\n {\r\n pollAndCompareTest(30);\r\n }", "title": "" }, { "docid": "e7774f80511ec8bb94c1f2332aa5b555", "score": "0.6156237", "text": "@Test\r\n public void testSE17()\r\n {\r\n pollAndCompareTest(17);\r\n }", "title": "" }, { "docid": "1d8aee34358749fe1b8cbfc9f9b99525", "score": "0.61538815", "text": "@Test\r\n public void testSE12()\r\n {\r\n pollAndCompareTest(12); \r\n }", "title": "" }, { "docid": "99661d8cfe860c7ee5d3af7b706fb65d", "score": "0.6147304", "text": "@Override\n public void run() {\n /**\n lock.lock();\n try {\n AtomicIntegerTest.count++;\n }finally {\n lock.unlock();\n }\n **/\n AtomicIntegerTest.count.getAndIncrement();\n AtomicIntegerTest.count2++;\n }", "title": "" }, { "docid": "631301edd22ff96a1e525ff1a59d4c71", "score": "0.6143518", "text": "@Test\r\n public void testSE35()\r\n {\r\n pollAndCompareTest(35);\r\n }", "title": "" }, { "docid": "17cbdd56d69940d505e9ad5bfc79992a", "score": "0.6137353", "text": "@Test\t\n\tpublic void testConcurrentPutsDifferentKeys() throws InterruptedException, ExecutionException {\n\t\tConcurrentElasticHashMap<String,Integer> map = new ConcurrentElasticHashMap<>();\n\t\trunConcurrentPutDifferentKeys(map, 8, 100000);\n\t\tTestUtil.printMetrics(map);\n\t}", "title": "" }, { "docid": "76cd8b73fbbbd077b9cfb6cd7b75eb46", "score": "0.6135793", "text": "public void testTwoCounterSync() throws Exception\n {\n System.out.print(\"TwoCounterSync \");\n CounterSync counter = new CounterSync();\n CounterThread thread1 = new CounterThread(counter, 5);\n CounterThread thread2 = new CounterThread(counter, 5);\n thread1.start();\n thread2.start();\n thread1.join();\n thread2.join();\n System.out.println(counter.count);\n assertEquals(\"Wrong count\", 20, counter.count);\n }", "title": "" }, { "docid": "8309c81c5188143d4678f39ecd6ff35b", "score": "0.6132953", "text": "@Test\r\n public void testSE20()\r\n {\r\n pollAndCompareTest(20);\r\n }", "title": "" }, { "docid": "d4d6ab07c7377af201f4809fc4ad45a2", "score": "0.6127422", "text": "@Test\r\n public void testSE22()\r\n {\r\n pollAndCompareTest(22); \r\n }", "title": "" }, { "docid": "8a24ab96d6ea7b5d4a724928801c2e2c", "score": "0.61237377", "text": "@Test\n public void reusableThreadCountAll() {\n unpack().disableParallelOptimization()\n .parallelAll()\n .disablePerCoreThreadCount()\n .threadCount(14)\n .threadCountSuites(2)\n .threadCountClasses(4)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "cf199cff617e1ba7f7a9b8a59273ed45", "score": "0.6116551", "text": "@Test\r\n public void testSE21()\r\n {\r\n pollAndCompareTest(21); \r\n }", "title": "" }, { "docid": "1e1feb00d7dfbab11f997eb704b186f0", "score": "0.6112957", "text": "@Test\r\n public void testSE14()\r\n {\r\n pollAndCompareTest(14);\r\n }", "title": "" }, { "docid": "9f2ec8d51160fb5c6e50a96986c12a55", "score": "0.61124486", "text": "public static void main(String[] args) throws InterruptedException, NoSuchFieldException {\n Unsafe unsafe = getUnsafe();\n System.out.println(unsafe);\n\n /**\n * SimpleCounter\n * Counter result:9945588\n * Time passed in 362 ms\n *\n * SynCouter\n * Counter result:10000000\n * Time passed in 1994 ms\n *\n * LockCouter\n * Counter result:10000000\n * Time passed in 629 ms\n *\n * AtomicCouter\n * Counter result:10000000\n * Time passed in 700 ms\n *\n * CasCouter\n * Counter result:10000000\n * Time passed in 769 ms\n */\n ExecutorService service = Executors.newFixedThreadPool(1000);\n Counter counter = new CasCouter();\n long start = System.currentTimeMillis();\n for (int i = 0; i < 1000; i++){\n service.submit(new CounterRunnable(counter,10000));\n }\n service.shutdown();\n service.awaitTermination(1, TimeUnit.HOURS);\n long end = System.currentTimeMillis();\n System.out.println(\"Counter result:\" + counter.getCounter());\n System.out.println(\"Time passed in \" + (end - start) + \" ms\");\n }", "title": "" }, { "docid": "2d42ca271a4feb7fee0c7b04dbfc5993", "score": "0.6109646", "text": "public static void main() {\n // Simple test of each method to see how fast they are and their correctness.\n Map<String, Integer> result;\n Stream<String> filesnames = getFiles().stream();\n result = computeOccurences(filesnames);\n //result = computeOccurencesConcurrent(filesnames);\n result.forEach((key, value) -> System.out.println(key + \" -> \" + value));\n \n// doAndMeasure(() -> {\n// computeOccurences(filesnames);\n// });\n// doAndMeasure(() -> {\n// computeOccurencesConcurrent(filesnames);\n// });\n \n }", "title": "" }, { "docid": "46607d567e722fd9fffef3e91d433e29", "score": "0.610535", "text": "@Test\r\n public void testSE37()\r\n {\r\n pollAndCompareTest(37);\r\n }", "title": "" }, { "docid": "6b36c5b28a495ef8e2ff6a9f43836566", "score": "0.6104688", "text": "public static void main(String[] args) throws JSONException, InterruptedException, ExecutionException{\n\t\t\n\t\tint numThread = 10; \t\t\n\t\tfinal ActiveBlockingRunner[] runners = new ActiveBlockingRunner[numThread];\n\t\tfor (int i=0; i<numThread; i++){\n\t\t\trunners[i] = new ActiveBlockingRunner(null, null);\n\t\t}\n\t\t\n\t\tfinal ThreadPoolExecutor executor = new ThreadPoolExecutor(numThread, numThread, 0, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>());\n\t\texecutor.prestartAllCoreThreads();\n\t\t\n\t\tArrayList<Future<String>> tasks = new ArrayList<Future<String>>();\n\t\t\n\t\tString guid = \"zhaoyu\";\n\t\tString field = \"gao\";\n\t\tString noop_code = \"\";\n\t\ttry {\n\t\t\tnoop_code = new String(Files.readAllBytes(Paths.get(\"./scripts/activeCode/noop.js\")));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} \n\t\tJSONObject value = new JSONObject();\n\t\tvalue.put(\"string\", \"hello world\");\n\t\t\n\t\tActiveMessage msg = new ActiveMessage(guid, field, noop_code, value.toString(), 0, 500);\n\t\tint n = 1000000;\n\t\t\n\t\tlong t1 = System.currentTimeMillis();\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\ttasks.add(executor.submit(new SimpleTask(runners[0], msg)));\n\t\t}\n\t\tfor(Future<String> task:tasks){\n\t\t\ttask.get();\n\t\t}\n\t\t\n\t\tlong elapsed = System.currentTimeMillis() - t1;\n\t\tSystem.out.println(\"It takes \"+elapsed+\"ms, and the average latency for each operation is \"+(elapsed*1000.0/n)+\"us\");\n\t\tSystem.out.println(\"The throughput is \"+n*1000.0/elapsed);\n\t\t\n\t\t\n\t\t\n\t\t/**\n\t\t * Test runner's protected method\n\t\t */\n\t\tActiveBlockingRunner runner = new ActiveBlockingRunner(null, null);\n\t\tString chain_code = null;\n\t\ttry {\n\t\t\t\n\t\t\tchain_code = new String(Files.readAllBytes(Paths.get(\"./scripts/activeCode/permissionTest.js\")));\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttry {\n\t\t\trunner.runCode(guid, field, chain_code, value.toString(), 0, 0);\t\t\t\n\t\t\t// fail here\n\t\t\tassert(false):\"The code should not be here\";\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tSystem.exit(0);\n\t}", "title": "" }, { "docid": "d02e6d00f39c8acc742f7ee97a7437b9", "score": "0.6095327", "text": "@Test\r\n public void testSE25()\r\n {\r\n pollAndCompareTest(25);\r\n }", "title": "" }, { "docid": "d1cd3eb25c9bc4c6cae80f666c1afa13", "score": "0.60866284", "text": "@Test\r\n public void testSE23()\r\n {\r\n pollAndCompareTest(23);\r\n }", "title": "" }, { "docid": "35d14866510b92a25b48bb7f57807c09", "score": "0.6072205", "text": "@Test\r\n public void testSE28()\r\n {\r\n pollAndCompareTest(28); \r\n }", "title": "" }, { "docid": "117e18a54708de3c2376539065803aa2", "score": "0.60718435", "text": "private static void runTestTransactions() {\r\n\t\tExecutorService executor = Executors.newFixedThreadPool(NUM_THREADS);\r\n\t\t// ExecutorService executor = new ForkJoinPool(NUM_THREADS);\r\n\r\n\t\tReadBalance[] readers = new ReadBalance[NUM_TRANSACTIONS];\r\n\t\tTransaction[] transactions = new Transaction[NUM_TRANSACTIONS];\r\n\t\tfor (int i = 0; i < NUM_TRANSACTIONS; i++) {\r\n\t\t\ttransactions[i] = new Transaction(bank);\r\n\t\t\ttransactions[i].add(withdrawals[i % NUM_ACCOUNTS]);\r\n\t\t\ttransactions[i].add(deposits[(i + 1) % NUM_ACCOUNTS]);\r\n\r\n\t\t\treaders[i] = new ReadBalance(i % NUM_ACCOUNTS, bank);\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tlong time = System.nanoTime();\r\n\t\t\tIntStream.range(0, transactions.length).forEach(i -> {\r\n\t\t\t\texecutor.execute(transactions[i]);\r\n//\t\t\t\texecutor.execute(readers[i]);\r\n\t\t\t});\r\n\t\t\tlong loopDone = System.nanoTime();\r\n\t\t\tFuture<Long> done = executor.submit(new Callable<Long>() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic Long call() throws Exception {\r\n\t\t\t\t\treturn System.nanoTime();\r\n\t\t\t\t}\r\n\r\n\t\t\t});\r\n\t\t\texecutor.shutdown();\r\n\t\t\tboolean completed = executor.awaitTermination(TIMEOUT, TimeUnit.SECONDS);\r\n\t\t\tif (!completed)\r\n\t\t\t\tSystem.out.println(\"Transaction failed to complete something\");\r\n\t\t\ttime = System.nanoTime() - time;\r\n\r\n\t\t\tSystem.out.println(\"\\nTest transactions finished.\");\r\n\t\t\tSystem.out.format(\"Delay [ms]: %.0f%n\", (done.get() - loopDone)/1E6);\r\n\t\t\tSystem.out.println(\"Completed: \" + completed);\r\n\t\t\tSystem.out.println(\"Time [ms]: \" + time / 1000000);\r\n\r\n\t\t\tfor (int i = 0; i < NUM_ACCOUNTS; i++) {\r\n\t\t\t\tint balance = bank.getAccountBalance(accountIds[i]);\r\n\t\t\t\tif (balance != 1000)\r\n\t\t\t\t\tSystem.out.println(\"Transaction Mismatch:: Account: \" + accountIds[i] + \";\\tBalance: \" + balance);\r\n\t\t\t}\r\n\t\t} catch (Exception exception) {\r\n\t\t\texception.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a66da6f8b99b755f06a16c877b5b17b9", "score": "0.607048", "text": "@Test\r\n public void testSE18()\r\n {\r\n pollAndCompareTest(18);\r\n }", "title": "" }, { "docid": "d581e9cbe3e4ec2bf749bd313288ce24", "score": "0.6064837", "text": "@Test\r\n public void testSE26()\r\n {\r\n pollAndCompareTest(26);\r\n }", "title": "" }, { "docid": "267e802ad1a002e89c5fa4d4f7c93979", "score": "0.60638326", "text": "@Test\n public void runRxjava0() {\n\n Benchmark.benchmark()\n .threads(1)\n .concurrency(20000)\n .iterations(500)\n .rounds(10)\n .warmupConcurrency(10000)\n .warmupIterations(1000)\n .warmupRounds(1)\n .reportIntervalSeconds(3)\n .benchmarkTask((index, runnerContext) -> {\n Observable.just(index)\n .subscribe(integer -> {\n runnerContext.done(index);\n }, throwable -> {\n runnerContext.done(index);\n });\n }).start();\n }", "title": "" }, { "docid": "6541d2a7644ee7c7cd44121633923129", "score": "0.6060021", "text": "@Test\n public void correlationVectorIncrementIsUniqueAcrossMultipleThreads() {\n final int numberOfThreads = 1000;\n final CorrelationVector cV = new CorrelationVector();\n final CorrelationVector cV2 = CorrelationVector.extend(cV.getValue());\n\n final ArrayList<Thread> threads = new ArrayList<>();\n final ConcurrentLinkedQueue<String> incrementedCvs = new ConcurrentLinkedQueue<>();\n\n for (int i = 0; i < numberOfThreads; i++) {\n final Thread currentThread = new Thread(new Runnable() {\n @Override\n public void run() {\n incrementedCvs.add(cV2.increment());\n }\n });\n currentThread.start();\n threads.add(currentThread);\n }\n\n for (final Thread thread : threads) {\n try {\n thread.join();\n } catch (final InterruptedException e) {\n }\n }\n\n final HashSet<String> unique = new HashSet<String>();\n for (final String incrementedCv : incrementedCvs) {\n unique.add(incrementedCv);\n }\n\n Assert.assertEquals(numberOfThreads, unique.size());\n }", "title": "" }, { "docid": "897af1cc334477ee1e9d1537e4270392", "score": "0.60588515", "text": "@Test\n @Ignore\n public void perf007CompareNoQueueMedium() throws Exception {\n perfCompare(\"perf007CompareNoQueueMedium\", 5000, 2500, 0);\n }", "title": "" }, { "docid": "ae4953356b6e39399a25910677c7ac0e", "score": "0.6054994", "text": "@Test\n public void testConcurrencyBurstParallelMethods() {\n assumeThat(parameters.useExperimentalRunner, is(true));\n // Requires parallel methods\n assumeThat(parameters.defaultConcurrency, anyOf(is(Concurrency.PARALLEL_METHODS),\n is(Concurrency.PARALLEL_CLASSES_AND_METHODS)));\n MockBurstParallelMethodsTest.reset();\n invokeConsoleRunner(\"MockBurstParallelMethodsTest -parallel-threads 6\");\n assertEquals(\"bpmtest1:BOTTOM bpmtest1:CHARM bpmtest1:DOWN bpmtest1:STRANGE \"\n + \"bpmtest1:TOP bpmtest1:UP\",\n TestRegistry.getCalledTests());\n }", "title": "" }, { "docid": "01750b661e6efef2c753132b8f059b90", "score": "0.6050646", "text": "@Test\n public void reusableThreadCountSuitesAndMethodsOptimized() {\n unpack().parallelSuitesAndMethods()\n .disablePerCoreThreadCount()\n .threadCount(6)\n .threadCountSuites(2)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "fcdde79c1377a3d3e036704bbf55c388", "score": "0.6033154", "text": "@Test\n public void singleProgressConcurrencyTest() throws ExecutionException, InterruptedException {\n final int step = TOTAL / NUM_STEPS / NUM_THREADS;\n subject.setSize(TOTAL);\n ExecutorService executor = Executors.newFixedThreadPool(NUM_THREADS);\n ArrayList<Future<Integer>> futures = new ArrayList<>();\n // simple fractionWorked updated from multiple threads\n for (int i = 0; i < NUM_THREADS; i++) {\n Future<Integer> future = executor.submit(new Callable<Integer>() {\n int counter = 0;\n\n @Override\n public Integer call() {\n for (int j = 0; j < NUM_STEPS; j++) {\n String threadName = Thread.currentThread().getName();\n counter += step;\n subject.worked(step, threadName);\n try {\n Thread.sleep(2);\n } catch (InterruptedException e) {\n // nothing to do\n break;\n }\n System.out.println(subject.getWorkDone() + \"[\" + counter + \"] by \" + threadName);\n }\n return counter;\n }\n });\n futures.add(future);\n }\n for (Future<Integer> future : futures) {\n int count = future.get();\n assertEquals(TOTAL / NUM_THREADS, count);\n }\n // all done\n\n assertEquals(1.0, subject.getFractionDone(), 0.0001);\n\n FractionAssert assertFrac = FractionAssert.on(subject);\n assertFrac.expectedWorkDone(TOTAL).check();\n\n assertTrue(subject.isDone());\n }", "title": "" }, { "docid": "4c2c4a0f624a486e73a0bb77c30ddc0e", "score": "0.6033143", "text": "@Test\n public void tryCombinationsQuickly() {\n assumeTrue(TESTING_PERFORMANCE);\n assertThat(testResult(UpToTen.class), isSuccessful());\n }", "title": "" }, { "docid": "785b56b36a6de8ead9a8cba2fbbda87c", "score": "0.60167795", "text": "@Test\n public void testConcurrentSimple() throws InterruptedException {\n final NonBlockingSetInt nbsi = new NonBlockingSetInt();\n\n // In 2 threads, add & remove even & odd elements concurrently\n Thread t1 = new Thread() { public void run() { work_helper(nbsi,\"T1\",1); } };\n t1.start();\n work_helper(nbsi,\"T0\",1);\n t1.join();\n\n // In the end, all members should be removed\n StringBuffer buf = new StringBuffer();\n buf.append(\"Should be emptyset but has these elements: {\");\n boolean found = false;\n for( Integer x : nbsi ) {\n buf.append(\" \").append(x);\n found = true;\n }\n if( found ) System.out.println(buf);\n assertThat( \"concurrent size=0\", nbsi.size(), is(0) );\n for( Integer x : nbsi ) {\n assertTrue(\"No elements so never get here\",false);\n }\n _nbsi.clear();\n }", "title": "" }, { "docid": "92aae021c954a11be0241ffd8cdf43d9", "score": "0.6008429", "text": "@Test\n\tpublic void testCid31() throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "d3fbcbb4aa3094a8f9021ed4b72dd0d9", "score": "0.600261", "text": "@Test\n public void testAddition() throws InterruptedException {\n Thread.sleep(3000);\n }", "title": "" }, { "docid": "62aa10863b7d52e659dc17e431768d70", "score": "0.5997184", "text": "@Test(timeout = 1000)\n public void testPut100000() {\n testPutHelper(100000);\n }", "title": "" }, { "docid": "cc07ad1c6a993e4d145f80d8e197dfbc", "score": "0.59954906", "text": "default boolean concurrent() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "94440c49880a6be2f9d3d69e9fdf0a25", "score": "0.5986353", "text": "@Test\r\n\tpublic void BigTest() {\r\n\t\tReadFile();\r\n\t\t\r\n\t\tfor (int i=0; i<m_cases.size(); i++){\r\n\t\t\tTestCase testCase = m_cases.get(i);\r\n\t\t\tCoverageCalculator calc = new CoverageCalculator(testCase.getLength());\r\n\t\t\tfor (int j=0; j<testCase.numTowers(); j++){\r\n\t\t\t\tPair tower = testCase.getTower(j);\r\n\t\t\t\tcalc.addTower(tower.loc(), tower.size());\r\n\t\t\t}\r\n\t\t\tint answer = calc.getCoverage();\t\t\t\t\r\n\t\t\tif (answer == testCase.getAnswer()){\r\n\t\t\t\tSystem.out.println(\"Test \" + i + \" successful.\");\t\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tSystem.out.println(\"Test \" + i + \" failed.\");\r\n\t\t\t}\r\n\t\t\tassertEquals(testCase.getAnswer(), answer);\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1830c644ae088a3c3156f8cf1ed3c136", "score": "0.5980701", "text": "@Test\r\n public void testSE43()\r\n {\r\n pollAndCompareTest(43);\r\n }", "title": "" }, { "docid": "378b746f318baa673d0d5a541f5fc3f0", "score": "0.5977403", "text": "@Test\n public void threadCountSuitesAndClassesOptimized() {\n unpack().parallelSuitesAndClasses()\n .threadCount(3)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "a792d06d90770e4bc44b3de8a9877130", "score": "0.59762347", "text": "public static void main(String[] args) throws ExecutionException, InterruptedException\n {\n\n SequentialCollection<Object> collection = null;\n //test data structure that we'll operate\n collection = new EliminationBackoffStack<Object>(2, 10, false);\n //number of threads\n int threadCount = 2;\n //operations to perform\n int opCount = 10000000;\n Thread[] threads = new Thread[threadCount];\n\n for (int i = 0; i < threads.length; i++)\n {\n threads[i] = new Thread(createRunnable(collection, (opCount + threadCount) / threadCount));\n }\n double executeTimeMS = System.nanoTime();\n for (Thread thread : threads)\n {\n thread.start();\n }\n for (Thread thread : threads)\n {\n try\n {\n thread.join();\n }\n catch (InterruptedException e)\n {\n e.printStackTrace();\n }\n }\n executeTimeMS = (double) (System.nanoTime() - executeTimeMS) / 1000000000.0;\n System.out.println(\"\" + executeTimeMS);\n System.gc();\n }", "title": "" }, { "docid": "78357e351ae4f21e4b8cb1f86cbba3ea", "score": "0.5974866", "text": "public void test() {\n\t\tDeque<String> queue = new ConcurrentLinkedDeque<>();\r\n\t\tSet<Trump> trumps = new HashSet<>();\r\n\t\t\r\n\t\tExecutorService es = Executors.newFixedThreadPool(2);\r\n\t\tList<Future<Trump>> futures = new ArrayList<>();\r\n\t\t\r\n\t\tfor (int i=0;i<=5;i++)\r\n\t\t\tfutures.add(es.submit(new Speech(queue)));\r\n\t\t\r\n\t\ttry {\r\n\t\t\tfor (Future<Trump> future : futures)\r\n\t\t\t\ttrumps.add(future.get());\r\n\t\t\t\r\n\t\t\tfor (String message : queue) \r\n\t\t\t\tSystem.out.println(message);\r\n\t\t\tassertEquals(trumps.size(),1);\r\n\t\t\tassertEquals(Trump.getInstance().getCount(),1);\r\n\t\t}\r\n\t\tcatch(Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\tes.shutdown();\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a0f7846be2f2444eda34eef729546cd9", "score": "0.5972042", "text": "@Test\r\n public void testSE13()\r\n {\r\n pollAndCompareTest(13);\r\n }", "title": "" }, { "docid": "c21658bbe8a191be385108fcdd10592e", "score": "0.59666264", "text": "public void testCallableIsolation() throws Exception {\n DistributedExecutorService des = createDES(getCache());\n\n List<Future<Integer>> list = des.submitEverywhere(new SimpleCallableWithField());\n assert list != null && !list.isEmpty();\n for (Future<Integer> f : list) {\n assert f.get() == 0;\n }\n }", "title": "" }, { "docid": "4213015142741dd52ca7f0e511a6f3f2", "score": "0.5957147", "text": "@Test\n public void everyThreadCountClassesAndMethods() {\n unpack().parallelClassesAndMethods()\n .threadCount(3)\n .threadCountClasses(34)\n .threadCountMethods(66)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "52b06445e6665b72261c2730cd2b7bc9", "score": "0.59553504", "text": "@Test\n public void testClientCleanup() throws Throwable {\n final int threadCount = 20;\n final int clientCount = 100;\n\n VerifyClientCleanup threads[] = new VerifyClientCleanup[threadCount];\n\n for (int i = 0; i < threads.length; i++) {\n threads[i] = new VerifyClientCleanup(\"VCC\" + i, clientCount);\n threads[i].start();\n }\n\n for (int i = 0; i < threads.length; i++) {\n threads[i].join(600000);\n assertTrue(threads[i].current == threads[i].count);\n }\n }", "title": "" }, { "docid": "31a108aa6e58355ebb27bfc12c8db866", "score": "0.59531593", "text": "@Test\n public void testCore7() throws Exception {\n \ttstSub(7);\n }", "title": "" }, { "docid": "9acdc70ce957119077cd69f929d25a77", "score": "0.59529734", "text": "@Test\n @Ignore\n public void perf021StringQueue() throws Exception {\n perfCompare(\"perf021StringQueue\", 1000, 1000, 10);\n }", "title": "" }, { "docid": "a60cb021fef3775c522114448c71fb1c", "score": "0.5951602", "text": "@Test\n public void testSynchronizerInAction() throws InterruptedException {\n final int numberOfUpdates = 10000;\n final int numberOfReads = numberOfUpdates / 2;\n final int readThreadCount = 3;\n final int updateThreadCount = 2;\n\n final Synchronizer sync = new ReadWriteSynchronizer();\n final Account account1 = new Account();\n final Account account2 = new Account();\n account1.change(TOTAL_MONEY / 2);\n account2.change(TOTAL_MONEY / 2);\n\n final UpdateThread[] updateThreads = new UpdateThread[updateThreadCount];\n for (int i = 0; i < updateThreads.length; i++) {\n updateThreads[i] = new UpdateThread(sync, numberOfUpdates, account1, account2);\n updateThreads[i].start();\n }\n final ReaderThread[] readerThreads = new ReaderThread[readThreadCount];\n for (int i = 0; i < readerThreads.length; i++) {\n readerThreads[i] = new ReaderThread(sync, numberOfReads, account1, account2);\n readerThreads[i].start();\n }\n\n for (final UpdateThread t : updateThreads) {\n t.join();\n }\n for (final ReaderThread t : readerThreads) {\n t.join();\n assertEquals(0, t.getErrors());\n }\n sync.beginRead();\n assertEquals(TOTAL_MONEY, sumUpAccounts(account1, account2));\n sync.endRead();\n }", "title": "" }, { "docid": "c29f04292fc97c0e30d2489ff1eebe0d", "score": "0.59508765", "text": "public static void main(String[] args) throws Exception {\n timeSynchronization(\"10002998\");\n }", "title": "" }, { "docid": "3dea6b6c12837005782fc1b85dccc7f8", "score": "0.5950366", "text": "@Test\r\n public void testSE38()\r\n {\r\n pollAndCompareTest(38);\r\n }", "title": "" }, { "docid": "0220a93b6aeea588ec1d2877dffc452e", "score": "0.5947144", "text": "@Test\n public void threadCountClassesAndMethods() {\n unpack().disableParallelOptimization()\n .parallelClassesAndMethods()\n .threadCount(3)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "d281435ecc4f696f840560d792261401", "score": "0.59317935", "text": "public static void main(String[] args) throws InterruptedException {\n\t\tMap<Item, String> mapSeq = new ConcurrentHashMap<Item, String>();\r\n\t\t \r\n\t\tExecutorService inserts = Executors.newFixedThreadPool(100);\r\n\t\tExecutorService readers = Executors.newFixedThreadPool(200);\r\n\t\tfor (int i = 0; i < 100; ++i) {\r\n\t\t\tinserts.submit(new InsertItemWorker(mapSeq));\r\n\t\t}\r\n\t\t\r\n\t\tfor (int i = 0; i < 200; ++i) {\r\n\t\t\treaders.submit(new ReadItemWorker(mapSeq));\r\n\t\t}\r\n\t\t\r\n\t\tStopWatch watch = StopWatch.createStarted();\r\n\t\tinserts.shutdown();\r\n\t\treaders.shutdown();\r\n\t\tinserts.awaitTermination(10, TimeUnit.SECONDS);\r\n\t\treaders.awaitTermination(10, TimeUnit.SECONDS);\r\n\t\twatch.stop();\r\n\t\tSystem.out.println(\"cost times in ms: \" + watch.getTime());\r\n\t}", "title": "" }, { "docid": "89c839aa8e8f24ae9df44a48c3e807e1", "score": "0.59308666", "text": "@Test(timeout = 4000)\n public void test15() throws Throwable {\n J2EEClusterMsg j2EEClusterMsg0 = new J2EEClusterMsg();\n J2EEClusterMsg j2EEClusterMsg1 = new J2EEClusterMsg();\n j2EEClusterMsg1.setCount(1294L);\n boolean boolean0 = j2EEClusterMsg0.equals(j2EEClusterMsg1);\n assertEquals(1294L, j2EEClusterMsg1.getCount());\n assertFalse(boolean0);\n }", "title": "" }, { "docid": "b8c4a0a4b0d236ce4dc01ec7e63f78b5", "score": "0.5929702", "text": "@Test\n public void reusableThreadCountClassesAndMethods() {\n unpack().disableParallelOptimization()\n .parallelClassesAndMethods()\n .disablePerCoreThreadCount()\n .threadCount(6)\n .threadCountClasses(2)\n .setTestToRun(\"Suite*Test\")\n .executeTest()\n .verifyErrorFree(24);\n }", "title": "" }, { "docid": "45b4d04acec5f9885b9048170e6c9c59", "score": "0.591735", "text": "@Test\n public void testCyclicBarrierThreadsJust2OfUs() throws InterruptedException {\n final CyclicBarrier cb = new CyclicBarrier(3, () -> System.out.println(\"All parties are arrived at barrier, lets play\"));\n\n AtomicInteger counter = new AtomicInteger(0);\n List<Thread> threads = new ArrayList<>();\n // Run 10 threads to increment the same variable\n for (int i = 1; i <= 2; i++) {\n Thread thread = new Thread(new CyclicBarrierExample.Task(cb, counter), \"Thread #\" + i);\n thread.start();\n threads.add(thread);\n }\n Thread.sleep(300);\n System.out.println(\"All two threads are still waiting on barrier, but will never step forward\");\n assertEquals(3, cb.getParties());\n assertEquals(2, cb.getNumberWaiting());\n\n // Counter was never changed\n assertEquals(0, counter.intValue());\n // cleaning\n for(Thread thread: threads){\n thread.interrupt();\n }\n }", "title": "" }, { "docid": "dcb074861fa5c302e96007625fcd3d7b", "score": "0.59160715", "text": "@Test\n @Ignore\n public void perf023LargeMixedConditionsNoQueueSmall() throws Exception {\n perfMixedLargeConditions(\"perf023LargeMixedConditions\", 1000, 25, 1000, 0);\n }", "title": "" }, { "docid": "e1b5142e533120d396148e801cdafc37", "score": "0.5913521", "text": "@Test\n\tpublic void concurrencyApplicationTest() throws Exception{\n\t\tTestUtil.runMultithreaded(()->{\n\t\t\ttry {\n\t\t\t\tmvc\n\t\t\t\t.perform(\n\t\t\t\t\tget(\"/call/start\")\n\t\t\t\t\t.contentType(MediaType.APPLICATION_JSON)\n\t\t\t\t\t)\n\t\t\t\t.andExpect(status().isOk())\n\t\t\t\t.andExpect(content()\n\t\t\t\t\t\t.contentTypeCompatibleWith(MediaType.APPLICATION_JSON)\n\t\t\t\t\t\t);\n\t\t\t} catch(Exception ex) {\n\t\t\t\tfail(ex.getMessage());\n\t\t\t}\n\t\t}, 10);\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "d76db64b66c488ab821b4730c92feb0b", "score": "0.5904916", "text": "@Test\r\n public void testIncrementRuntimeMany() {\r\n final int rt = model.getRunningtime();\r\n for (int i = 0; i < 100; i ++) {\r\n model.incRuntime();\r\n }\r\n assertEquals(rt, model.getRunningtime());\r\n\r\n }", "title": "" }, { "docid": "fa1fd2ddf84af1fb6c5b7bf7d39251bd", "score": "0.5890507", "text": "public void longTest() throws Throwable {\n TEST_CONCURRENCY = 5000;\n\n final Duration runAtLeast = Duration.ofMinutes(5);\n final LocalDateTime before = LocalDateTime.now();\n\n while (Duration.between(before, LocalDateTime.now()).compareTo(runAtLeast) < 0) {\n construction();\n children();\n }\n }", "title": "" }, { "docid": "565eb9e4c5af03cf330f89499ec860b8", "score": "0.58891606", "text": "@Test(timeout=300000)\n public void test1() throws Throwable {\n Future<?> future = executor.submit(new Runnable(){ \n @Override public void run() { \n try {\n PipedOutputStream pipedOutputStream0 = new PipedOutputStream();\n PipedInputStream pipedInputStream0 = new PipedInputStream(pipedOutputStream0);\n Console console0 = new Console((RmiJmxClient) null, (InputStream) pipedInputStream0, false, false);\n VirtualDatabaseConsole virtualDatabaseConsole0 = console0.getConsoleModule();\n Connect connect0 = new Connect((AbstractConsoleModule) virtualDatabaseConsole0);\n String string0 = connect0.getCommandParameters();\n assertEquals(\"sql client\", connect0.getCommandName());\n assertEquals(\"controller.command.connect.params\", string0);\n } catch(Throwable t) {\n // Need to catch declared exceptions\n }\n } \n });\n future.get(4000, TimeUnit.MILLISECONDS);\n }", "title": "" } ]
efef6f3e6d27e37a575a35c6346851d5
Public method so that in tests we can override this to do nothing and maintain a mock instance of the PageNavigationController.
[ { "docid": "83dcbb44698f04e170d9bf1ac637abcb", "score": "0.61136407", "text": "@VisibleForTesting\n public void attachPageNavigationController(Context context) {\n if (context instanceof PageNavigationController) {\n this.pageNavigationController = (PageNavigationController) context;\n } else {\n throw new IllegalStateException(\"Activity hosting \" + getClass().getSimpleName() + \" must implement \"\n + \"PageNavigationController!\");\n }\n }", "title": "" } ]
[ { "docid": "e3e4cffd32a93ec3bf62e8cfe4119247", "score": "0.64353824", "text": "@Before\n public void navigateToTestPage() {\n pageFactory = new PageFactory();\n this.sessionId = getSessionId();\n driver = pageFactory.getDriver();\n String testUrl = wireMockRule.url(getTestPagePath());\n driver.navigate().to(\"about:blank\");\n driver.navigate().to(testUrl);\n driver.manage().deleteAllCookies();\n testPage = pageFactory.get(TestPage.class);\n }", "title": "" }, { "docid": "070095e4fb6da95597fa1ae0d423396d", "score": "0.6293673", "text": "@Test\r\n\tpublic void basePageNavigation() throws IOException, InterruptedException {\n\t\tLandingPage l = new LandingPage(driver);\r\n\t\t// compare the text from browser with actual value with the help of Assertions.\r\n\t\tAssert.assertTrue(l.getNavigationBar().isDisplayed());\r\n\t\tlog.info(\"Navigation bar is displayed\");\r\n\t}", "title": "" }, { "docid": "8d9c50f4dee6bfb3398a985117b8e33b", "score": "0.6059534", "text": "@Test\n\t\n\t\tpublic void basepagenavigation() throws IOException\n\t\t{\n\t\t\tdriver=initializeDriver();\n\t\t\t\n\t\t\tdriver.get(prop.getProperty(\"url\"));\n\t\t\t\n\t\t\t//driver.get(\"http://www.newtours.demoaut.com/\");\n\t\t\t\n\t\t\tLandingPage LP=new LandingPage(driver);\n\t\t\t\n\t\t\tAssert.assertTrue(LP.getIsDisplayed().isDisplayed());\n\t}", "title": "" }, { "docid": "9577c988096c20b7549d318c26766f78", "score": "0.59266967", "text": "@BeforeTest\n public abstract void setUpPage();", "title": "" }, { "docid": "c7498549403a4c6c896fba17f6d645e7", "score": "0.57050365", "text": "@Before\n public void setUp() {\n // mock sort and pageables\n Sort sort = Sort.by(DESC, \"_created_on\");\n Pageable p = PageRequest.of(0, 20, sort);\n this.newP = PageRequest.of(p.getPageNumber(), p.getPageSize() * 2, p.getSort());\n\n // mock webNotificationRepository\n when(webNotificationRepository.save(any(WebNotification.class))).thenReturn(new WebNotification());\n\n // mock AyncService methods that are used from WebNotificationsController.class\n when(service.checkToken(any(String.class))).thenReturn(CompletableFuture.completedFuture(true));\n when(service.isAssetValid(any(String.class))).thenReturn(CompletableFuture.completedFuture(true));\n when(service.isAuthorisedOrganization(any(String.class), any(Long.class))).thenReturn(CompletableFuture.completedFuture(true));\n when(service.getOrganizationId(any(String.class))).thenReturn(CompletableFuture.completedFuture(Long.parseLong(\"1\")));\n }", "title": "" }, { "docid": "e119c4dce1ff46fd3e87f5ee0a564664", "score": "0.5673086", "text": "@Override\n\tpublic void beforeNavigateForward(WebDriver driver) {\n\t\t\n\t}", "title": "" }, { "docid": "ffed8b32e26f36c86e8f0d5717b1fadd", "score": "0.56565857", "text": "@Before\r\n public void setUp() throws Exception {\r\n impl = new ContestLinksRetrievalAction();\r\n }", "title": "" }, { "docid": "494e87681f62b90cbf5a496acae3a2ce", "score": "0.56435746", "text": "@BeforeMethod\n\tpublic void setUp() {\n\t\tintialization();\n\t\ttasksPage = new TasksPage();\n\t\tdealsPage = new DealsPage();\n\t\tcontactsPage = new ContactsPage();\n\t\tloginPage = new LoginPage();\n\t\thomePage = loginPage.login(prop.getProperty(\"username\"), prop.getProperty(\"password\"));\n\t }", "title": "" }, { "docid": "a051933bbb5c1ea16471582fa94ae3b2", "score": "0.5635189", "text": "@BeforeMethod\n public void callPages() {\n loginPage = new LoginPage(driver);\n\n }", "title": "" }, { "docid": "d85fe07d97cdc97e285e9bc726c4c612", "score": "0.56243956", "text": "@Before\n public void setUp() {\n Mockito.reset(serviceMock);\n\n mockMvc = MockMvcBuilders.webAppContextSetup(webAppContext).build();\n }", "title": "" }, { "docid": "377709df54d8b5a80e6728367f0bd2fb", "score": "0.56066823", "text": "@Override\n public void afterNavigation(AfterNavigationEvent event) {\n }", "title": "" }, { "docid": "62642919669748dea278b6f5390da066", "score": "0.559459", "text": "@Before\n public void setup() {\n MockitoAnnotations.openMocks(this);\n DefaultMockMvcBuilder builder = MockMvcBuilders.webAppContextSetup(\n this.wac);\n this.mvc = builder.build();\n }", "title": "" }, { "docid": "666d383535730409a7314e28a6875b8e", "score": "0.55536556", "text": "@Before\r\n\tpublic void setUp() {\n\t\treset(mockService);\r\n\r\n\t\tmockMvc = MockMvcBuilders.webAppContextSetup(webApplicationContext).build();\r\n\t}", "title": "" }, { "docid": "f2a4d8c23c491da124bd133d9155ec73", "score": "0.55445147", "text": "@Before\n public void setup() throws Exception {\n service = Mockito.mock(PaymentsService.class);\n\n RequestHandlerFactory requestHandlerFactory = Mockito.mock(RequestHandlerFactory.class);\n\n requestHandler = Mockito.mock(ProcessPaymentV1RequestHandler.class);\n Mockito.when(requestHandlerFactory.getProcessPaymentHandler(Mockito.any())).thenReturn((ProcessPaymentV1RequestHandler) requestHandler);\n\n controller = new PaymentController(service, requestHandlerFactory);\n }", "title": "" }, { "docid": "19fdaeb107ce2050761d41e5e26d5dc2", "score": "0.54999685", "text": "@Test\n public void coreNavigationHandlerTest() {\n assertEquals(EspressoTestUtility.getCurrentActivity().getClass().getName(), HomeActivity.class.getName());\n\n ViewInteraction bottomNavigationItemView = onView(\n allOf(withId(R.id.core_navigation_plan), withContentDescription(\"Plan\"),\n childAtPosition(\n childAtPosition(\n withId(R.id.core_navigation),\n 0),\n 2),\n isDisplayed()));\n bottomNavigationItemView.perform(click());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n Log.e(TAG, Log.getStackTraceString(e));\n }\n\n assertEquals(EspressoTestUtility.getCurrentActivity().getClass().getName(), PlanActivity.class.getName());\n\n pressBack();\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n Log.e(TAG, Log.getStackTraceString(e));\n }\n\n assertEquals(EspressoTestUtility.getCurrentActivity().getClass().getName(), HomeActivity.class.getName());\n\n ViewInteraction bottomNavigationItemView2 = onView(\n allOf(withId(R.id.core_navigation_profile), withContentDescription(\"Profile\"),\n childAtPosition(\n childAtPosition(\n withId(R.id.core_navigation),\n 0),\n 3),\n isDisplayed()));\n bottomNavigationItemView2.perform(click());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n Log.e(TAG, Log.getStackTraceString(e));\n }\n\n assertEquals(EspressoTestUtility.getCurrentActivity().getClass().getName(), ProfileActivity.class.getName());\n\n pressBack();\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n Log.e(TAG, Log.getStackTraceString(e));\n }\n\n assertEquals(EspressoTestUtility.getCurrentActivity().getClass().getName(), HomeActivity.class.getName());\n\n ViewInteraction bottomNavigationItemView3 = onView(\n allOf(withId(R.id.core_navigation_activity), withContentDescription(\"Activity\"),\n childAtPosition(\n childAtPosition(\n withId(R.id.core_navigation),\n 0),\n 1),\n isDisplayed()));\n bottomNavigationItemView3.perform(click());\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n Log.e(TAG, Log.getStackTraceString(e));\n }\n\n assertEquals(EspressoTestUtility.getCurrentActivity().getClass().getName(), ActivityActivity.class.getName());\n\n pressBack();\n\n // Added a sleep statement to match the app's execution delay.\n // The recommended way to handle such scenarios is to use Espresso idling resources:\n // https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/index.html\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n Log.e(TAG, Log.getStackTraceString(e));\n }\n\n assertEquals(EspressoTestUtility.getCurrentActivity().getClass().getName(), HomeActivity.class.getName());\n }", "title": "" }, { "docid": "6ad01b80d64f28ca5e849e0c106493df", "score": "0.54976195", "text": "@BeforeMethod\n public void initTest() {\n open(INDEX_PAGE_URL.toString());\n getWebDriver().manage().window().maximize();\n indexPage = page(IndexPage.class);\n servicePage = page(ServicePage.class);\n }", "title": "" }, { "docid": "20b793eace4a72fd30a819f1cb1e233e", "score": "0.546905", "text": "public PageController()\n {\n }", "title": "" }, { "docid": "48ac4724ee28e9755fd8fc45c9951774", "score": "0.54652905", "text": "public void setUpController(){}", "title": "" }, { "docid": "1aa2d6b744553aa9687de870e14d4518", "score": "0.54234195", "text": "@BeforeMethod\n public void setup() throws Exception {\n driver.manage().window().maximize();\n driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n\n logInPage = new LogInPage(driver);\n homePage = new HomePage(driver);\n djangoPage = new DjangoPage(driver);\n filePage = new FilePage(driver);\n importPage = new ImportPage(driver);\n fileSystemPage = new FileSystemPage(driver);\n trashPage = new TrashPage(driver);\n myDataPage = new MyEMDataPage(driver);\n editorPage = new EditorPage(driver);\n\n }", "title": "" }, { "docid": "9379ee25b89c440ff8b6f183102be0fc", "score": "0.54092586", "text": "public void setUpBottomNavigation() {\n // Cannot use view binding for nav host fragment\n // See: https://stackoverflow.com/questions/60733289/navigation-with-view-binding\n NavHostFragment navHostFragment = (NavHostFragment) getSupportFragmentManager().findFragmentById(R.id.nav_host_fragment);\n if (navHostFragment != null) {\n NavController navController = navHostFragment.getNavController();\n NavigationUI.setupWithNavController(mBinding.bottomNavigation, navController);\n }\n }", "title": "" }, { "docid": "1a9437072cf2584f411f116a4bdc940a", "score": "0.5408496", "text": "@Test\r\n\tpublic void testPage() {\r\n\t\tString S=\"new Page\";\r\n\t\tPage P= new Page(S);\r\n\t\tP.setPageLink(S);\r\n\t\tassertEquals(\"new Page\",S);\r\n\t\tP.setIntrapage(1);\r\n\t\tassertEquals(1,P.getIntrapage());\t\t\r\n\t\tP.setIntrasite(4);\r\n\t\tassertEquals(4,P.getIntrasite());\r\n\t\tP.setExtSite(5);\r\n\t\tassertEquals(5,P.getExtSite());\r\n\t\tP.setIntResource(23);\r\n\t\tassertEquals(23, P.getIntResource());\r\n\t\tP.setBroken(2);\r\n\t\tassertEquals(2,P.getBroken());\r\n\t\tP.setExtPage(2);\t\r\n\t\tassertEquals(2,P.getExtPage());\r\n\t}", "title": "" }, { "docid": "c87076679b39a8ab6428169d33b2ba3c", "score": "0.5398307", "text": "@Before\n public void setup() {\n super.setup();\n cloudServiceMTPage = new CloudServiceMTPage(driver);\n }", "title": "" }, { "docid": "739c1ef8d5f84ee4a6b0cd347bedf6d5", "score": "0.5398144", "text": "@Override\n public void beforeNavigateRefresh( WebDriver driver )\n {\n\n }", "title": "" }, { "docid": "f2cdaa8158a20a6c1a393568f5f18a9c", "score": "0.5397184", "text": "@BeforeMethod\n public void goToHomePage() {\n\t objHomePage.clickOnShop();\n\t objHomePage.clickOnHome();\n }", "title": "" }, { "docid": "3aec9805f29b78cd84dc5679ff946d3e", "score": "0.5354376", "text": "public PageBase() {\n webDriver = DriverManager.getInstance().getWebDriver();\n PageFactory.initElements(webDriver, this);\n }", "title": "" }, { "docid": "7dff3857e10b2d911944892f2519baf6", "score": "0.5353303", "text": "@BeforeMethod\n\tpublic void setUp() {\n\t\tinitialization(); // to reach at homepage we have to login first\n\t\ttestUtil = new TestUtil(); //KKKK\n\t\tcontactsPage = new ContactsPage();\n\t\tloginPage = new LoginPage(); // loginpage object created so that we can use LoginPage class methods next line\n\t\thomePage = loginPage.login(prop.getProperty(\"username\"), prop.getProperty(\"password\"));\t\n\t}", "title": "" }, { "docid": "6a213b8c876b921720de1355621c7d39", "score": "0.5313824", "text": "@Override\n public void onCreate(@Nullable Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n presenter = new NavigatePresenter();\n }", "title": "" }, { "docid": "a8628c5f4655cab1c92fa0730af58463", "score": "0.5313805", "text": "@Override\n\tpublic void beforeNavigateBack(WebDriver driver) {\n\t\t\n\t}", "title": "" }, { "docid": "0cc34e5d4e204d8608af7a64668fc123", "score": "0.53091437", "text": "@Test(priority=2)\r\n\tpublic void Tc002_verify_Navigation_to_AddClusterManagerPage() {\n\t\tdashboardPage.verifyNavigattoAddClusterManagerPage();\r\n//Dnd.quit();\r\n\t}", "title": "" }, { "docid": "6695d679ae6c99ec32d09329a62b4613", "score": "0.52612454", "text": "@Override\n\tpublic BasePage waitForPage() {\n\t\treturn this;\n\t}", "title": "" }, { "docid": "77f22a1eb5564e97003a4984781e5b07", "score": "0.52484494", "text": "protected PageBase(){\n this.driver = Browser.getInstance();\n initElement(this);\n }", "title": "" }, { "docid": "6cdb112321b4771b52d6cb5b862e0d0c", "score": "0.52475846", "text": "public HomePageNavigation(ScenarioHook scenarioHook) {\r\n\t\tscenario = scenarioHook.getScenario();\r\n\t\tdriver = scenarioHook.getDriver();\r\n\t}", "title": "" }, { "docid": "f18414432821acf445f6419cacad156e", "score": "0.52428794", "text": "@Test\n public void loadToClickHome(){\n onView(withId(R.id.navigation_home)).perform(click());\n }", "title": "" }, { "docid": "81069e1b15173726a5cff93c5cb9cf8a", "score": "0.52330685", "text": "@Test\n public void selectCmsPage() {\n\n }", "title": "" }, { "docid": "8fbb75fc6fa9d7c07c55a556156ef04e", "score": "0.5229087", "text": "public abstract void correctPageLoaded();", "title": "" }, { "docid": "7def53a31fa67ae7943712bfed17a9b5", "score": "0.5226485", "text": "@Before\n\tpublic void GoToPage(){\n\t\ttry{\n\t\t\tif(creation == true){\n\t\t\t\tchrome_driver.get(Before_Class.url_page());\n\t\t\t\tCreating_a_Profile.CreateProfile(\"Testing Profile\");\n\t\t\t\tCreating_a_Profile.GotoCreate_page();\n\t\t\t\tCreating_a_Profile.CreateProfile(\"Profile Testing\");\n\t\t\t\tCreating_a_Profile.GotoCreate_page();\n\t\t\t\tcreation = false;\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tfail(\"Give it some error occured in the page\");\n\t\t}\n\t}", "title": "" }, { "docid": "8f525b0302a91a067c0d3c2bde131386", "score": "0.52157146", "text": "public void testSetPageCreator_null() {\n final WebClient webClient = new WebClient();\n try {\n webClient.setPageCreator(null);\n fail(\"Expected NullPointerException\");\n }\n catch( final NullPointerException e ) {\n // expected path\n }\n }", "title": "" }, { "docid": "de6f4f66223cc381c35c56e35dfb49fe", "score": "0.5215556", "text": "public void testGetPaginator() {\r\n assertNull(\"paginator should be null.\", action.getPaginator());\r\n Paginator paginator = mock(Paginator.class);\r\n action.setPaginator(paginator);\r\n assertSame(\"getPaginator() doesn't work properly.\", paginator, action.getPaginator());\r\n }", "title": "" }, { "docid": "fa1546a86f315a0946dff3c048d5971a", "score": "0.5213699", "text": "@Before\n public final void init() {\n mockMvc = MockMvcBuilders.webAppContextSetup(wac).build();\n }", "title": "" }, { "docid": "7689f2d173b8a4697d5a2839db69b66c", "score": "0.52045584", "text": "private void initNavigation() {\n Fragment fragment = new HomeFragment();\n navigationController.initNavigation(HomeActivity.this, fragment);\n }", "title": "" }, { "docid": "b38ef64bf84963d1a1f4524385de800c", "score": "0.520418", "text": "@Override\n\tpublic void afterNavigateForward(WebDriver driver) {\n\t\t\n\t}", "title": "" }, { "docid": "2fe251eacb99c17f27f9b9ed13ccd18b", "score": "0.5194212", "text": "@Override\n\tprotected void init(PageDto page, HttpServletRequest request,\n\t\t\tHttpServletResponse response, Model model) {\n\n\t}", "title": "" }, { "docid": "32511ad4573db68fdbbf3628da43c836", "score": "0.5193122", "text": "@BeforeMethod\n\tpublic void beforeMethod() {\n\t\tSystem.err.println(\"Navigate to URL: \" + baseURL);\n\t\tsession.navigate(baseURL);\n\n\t\t// Wait for page url to change\n\t\tPredicate<Session> urlChange = session -> session.getLocation()\n\t\t\t\t.matches(String.format(\"^%s.*\", baseURL));\n\t\tsession.waitUntil(urlChange, 1000, 100);\n\t}", "title": "" }, { "docid": "daf0cc73c001193de65ae5614db25beb", "score": "0.5191648", "text": "@Test\n public void page() {\n final PageDataRequest pageDataRequest = new PageDataRequest(0, 1, null, null, null);\n final Page<Permission> permissionsMocked = new PageImpl<>(List.of(new Permission(\"ID1\"), new Permission(\"ID2\")));\n given(permissionRepository.page(pageDataRequest)).willReturn(permissionsMocked);\n\n final Page<Permission> permissionsExpected = new PageImpl<>(List.of(new Permission(\"ID1\"), new Permission(\"ID2\")));\n\n final Page<Permission> permissionsResult = permissionService.page(pageDataRequest);\n\n assertSame(permissionsMocked, permissionsResult);\n assertNotSame(permissionsExpected, permissionsResult);\n assertEquals(permissionsExpected, permissionsResult);\n verify(permissionRepository, times(1)).page(pageDataRequest);\n }", "title": "" }, { "docid": "d5eb5aec0f18eccef8eb7e67197ed7f6", "score": "0.5189917", "text": "@Before\n public void setUp() throws Exception {\n controller = new ConnectionsController();\n connectionsTable = mock( XulTree.class );\n FieldUtils.writeDeclaredField( controller, \"connectionsTable\", connectionsTable, true );\n\n // and then spy the controller\n controller = spy( controller );\n\n databaseDialog = mock( DatabaseDialog.class );\n doReturn( databaseDialog ).when( controller ).getDatabaseDialog();\n databaseMeta = mock( DatabaseMeta.class );\n doReturn( databaseMeta ).when( databaseDialog ).getDatabaseMeta();\n doNothing().when( controller ).refreshConnectionList();\n doNothing().when( controller ).showAlreadyExistsMessage();\n\n repository = mock( Repository.class );\n controller.init( repository );\n }", "title": "" }, { "docid": "6eead29df77e335e291c02f0bb3a822d", "score": "0.51743567", "text": "@Before\r\n public void setup() {\r\n try {\r\n MockitoAnnotations.initMocks(this);\r\n } catch (NullPointerException e) {\r\n //waiting for fix\r\n }\r\n // System.setProperty(\"dexmaker.dexcache\", InstrumentationRegistry.getTargetContext().getCacheDir().getPath());\r\n favouritesPresenter = new FavouritesPresenterImpl(loaderManager, favouritesView, loader, tracksRepo);\r\n }", "title": "" }, { "docid": "1bf08889eff5e7a791f71fb0cf680fb6", "score": "0.5170202", "text": "@BeforeMethod\n\tpublic void setUp() {\n\t\tinitialization();\n\t\ttestUtil = new TestUtil();\n\t\thomePage = new HomePage();\n\t\tmobilePage = new MobilePage();\n\t\tcustomerLoginPage = new CustomerLoginPage();\n\t\ttvPage = new TvPage();\n\t\tmyWishlistPage = new MyWishlistPage();\n\t\twishlistSharingPage = new WishlistSharingPage();\n\t\tbrowserAlertHelper = new BrowserAlertHelper();\n\t\thomePage.ClickOnTvLink();\n\t\ttvPage.ClickOnLgAddToWishList();\n\t\tcustomerLoginPage.Login(prop.getProperty(\"Email\"), prop.getProperty(\"Password\"));\n\t\tmyWishlistPage.ClickOnShareWishList();\n\t}", "title": "" }, { "docid": "8c5d42e1a4ff88369e69fcde2b898dd4", "score": "0.5168433", "text": "@Override\n void createContextAndPage() {\n }", "title": "" }, { "docid": "612430343e9126634395279334aa2e3b", "score": "0.5156809", "text": "@Before\n public void setUp() throws Exception {\n mhomeActivity = homeActivityActivityTestRule.getActivity();\n }", "title": "" }, { "docid": "f3b900c74e239b0944a60abfbc776b02", "score": "0.5154674", "text": "@BeforeMethod\n public void initializeElements(){\n homePage = PageFactory.initElements(driver, HomePage.class);\n }", "title": "" }, { "docid": "aa1ce3989c5bd8e62e00c98424987f0a", "score": "0.5154184", "text": "protected void performPreCheckOnNav() {\n }", "title": "" }, { "docid": "c2dd85e04f57c47af54970ac82103cf9", "score": "0.5144195", "text": "public void testSetPaginator() {\r\n Paginator paginator = mock(Paginator.class);\r\n action.setPaginator(paginator);\r\n assertSame(\"setPaginator() doesn't work properly.\", paginator, action.getPaginator());\r\n }", "title": "" }, { "docid": "8e44a88db6edfea2d9bf0293d8712188", "score": "0.5137269", "text": "@BeforeClass\n public void initialize() {\n this.driver.navigate().to(this.createaccountpageURL);\n this.CreateaccountPage = PageFactory.initElements(this.driver, CreateAccountPage.class);\n }", "title": "" }, { "docid": "6eafe089b5d4181b166103942b88e014", "score": "0.5133936", "text": "public void setPageContext(PageContext page);", "title": "" }, { "docid": "cfb56fa0ebc304dd40c8c8eba1d026d2", "score": "0.51328367", "text": "@Test\n\tpublic void loadOnePagePerWebView(){\n\t}", "title": "" }, { "docid": "69949476f88590114124f7d1bd835112", "score": "0.51246107", "text": "@Test\n public void testClickFromEachNavigation(){\n onView(withId(R.id.navigation_home)).perform(click());\n onView(withId(R.id.navigation_events)).perform(click());\n onView(withId(R.id.navigation_notifications)).perform(click());\n onView(withId(R.id.navigation_contact)).perform(click());\n onView(withId(R.id.navigation_navigation_ask_city)).perform(click());\n }", "title": "" }, { "docid": "3da5aa3b9865a5d4da73ca0058cc8474", "score": "0.5124557", "text": "@BeforeMethod\n public void initTests(){\n homePage = PageFactory.initElements(driver,HomePageHelper.class);\n\n //loginPage = new LoginPageHelper(driver);\n loginPage = PageFactory.initElements(driver,LoginPageHelper.class);\n\n // boardPage = new BoardsPageHelper(driver);\n boardPage = PageFactory.initElements(driver,BoardsPageHelper.class);\n }", "title": "" }, { "docid": "af69bc46907b3fbb2fe2158193684a54", "score": "0.5124233", "text": "public BaseUIPage navigateTo(UIMapping pageMapping) {\n String navigateUrl = pageMapping.getLocator();\n seleniumManager.activeBrowser().get(navigateUrl);\n\n return UIControlBuilder.buildPage(pageMapping);\n }", "title": "" }, { "docid": "faf59134d282a949ac35b27575eef45b", "score": "0.51067996", "text": "@BeforeClass\n\tpublic void initHomePage() {\n\t\tlogger.info(\"Initialized the home page object\");\n\t\t//ExtentTestManager.getTest().log(LogStatus.INFO, \"Initialized the home page object\");\n\n\t\tif(getPlatform().equalsIgnoreCase(iosPlatform))\n\t\t\tiosHomePage = new HomePage(getDriver());\n\n\t\tif(getPlatform().equalsIgnoreCase(androidPlatform))\n\t\t\tandroidHomePage = new AndroidHomePage(getDriver());\n\t}", "title": "" }, { "docid": "1f31832272dda49132e695cfbbfb204a", "score": "0.509497", "text": "@Override\n public void testRenderMyPage() {\n\ttester.startPage(CustomerLookupPage.class, new PageParameters());\n\n\t// Check that the right page was rendered (no unexpected redirect or\n\t// intercept)\n\ttester.assertRenderedPage(CustomerLookupPage.class);\n\ttester.assertNoErrorMessage();\n\n }", "title": "" }, { "docid": "c7c14904be9de6199d9296cc516051bc", "score": "0.50948215", "text": "public void beforeNavigateForward(WebDriver arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "861a9772bb89e33e355e4e88a5ec7a0f", "score": "0.5080057", "text": "@BeforeMethod\n\tpublic void setup() {\n\t\tdriver.navigate().refresh();\n\n\t}", "title": "" }, { "docid": "5cb454c610c796203378a7c6bb533e19", "score": "0.50798196", "text": "@Before\n public void setup() {\n mockMvc = MockMvcBuilders\n .webAppContextSetup(context)\n .build();\n }", "title": "" }, { "docid": "178d40301b808a7b0d8b12345911feb3", "score": "0.50757813", "text": "@When(\"^I go to menu page$\")\n public void i_go_to_menu_page() throws Throwable {\n mock.getElement(\"test\").click();\n }", "title": "" }, { "docid": "b5bb63785c5ffb23c67e4fdacf659c42", "score": "0.50731313", "text": "private void assertModelWithPageBean(ModelAndView modelAndView, CMNavigation navigation, CMLinkable content) {\n assertThat(modelAndView)\n .isNotNull()\n .extracting(ModelAndView::getViewName)\n .containsOnly(DEFAULT_VIEW);\n\n assertThat(modelAndView)\n .extracting(HandlerHelper::getRootModel)\n .allMatch(Page.class::isInstance)\n .extracting(Page.class::cast)\n .extracting(Page::getContent, Page::getNavigation)\n .containsExactly(new Tuple(content, navigation));\n }", "title": "" }, { "docid": "f41c3563658ad0dbbfe29ba144cf5495", "score": "0.5061626", "text": "@Before\r\n\tpublic void setup() {\n\t\tnavigator = Web.createChrome();\r\n\t}", "title": "" }, { "docid": "69ca35285fd1a5088ead5544917e771c", "score": "0.50528854", "text": "@Test\n\tpublic void integrationTest() throws Exception {\n\t\tMockHttpSession httpSession = new MockHttpSession();\n\t\tSession session = sessionFactory.getSession(httpSession);\n\t\tPageRequest req = new PageRequest(\"uiframework\", \"home\", new MockHttpServletRequest(),\n\t\t new MockHttpServletResponse(), session);\n\t\tString html = pageFactory.handle(req);\n\t\tSystem.out.println(\"Result = \" + html);\n\t}", "title": "" }, { "docid": "c8f8e60cef26ac57249def6fb0d9db00", "score": "0.504957", "text": "private MockHttpServletResponse getMockHttpServletResponse() {\r\n\t\treturn new MockHttpServletResponse();\r\n\t}", "title": "" }, { "docid": "e4d131259087571bac41c14da599151d", "score": "0.50470376", "text": "public void setPage(Page page) {\r\n this.page=page;\r\n }", "title": "" }, { "docid": "fa67f367f46695357fd50be03edabdab", "score": "0.5044238", "text": "public DiscoverPage(WebDriver driver) {\r\n\r\n\t\tthis.driver = driver;\r\n\t\tPageFactory.initElements(this.driver, this);\r\n\r\n\t}", "title": "" }, { "docid": "793fc78bcb56736a5cb2a0524fdd8409", "score": "0.50439924", "text": "@Before\n public void setUp() {\n activity = rule.getActivity();\n assertNotNull(activity);\n clickOnListViewFragment();\n }", "title": "" }, { "docid": "e7984d3699bd98f4358f3a05ffdf5fbd", "score": "0.50427437", "text": "@Override\r\n\tpublic PageSource getPage() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "d451c6b74a29392d27f08e680b662166", "score": "0.50421053", "text": "public void beforeNavigateForward(WebDriver d) {\n\t\t\n\t}", "title": "" }, { "docid": "375413f3962773ed1ebb4ce340bdc986", "score": "0.5037987", "text": "@BeforeMethod\n\tpublic void setUp() {\n\t\tinitialization();\n\t\tloginPage = new LoginPage();\n\t\thomePage = loginPage.login(prop.getProperty(\"username\"), prop.getProperty(\"password\"));\n\t}", "title": "" }, { "docid": "8a0226eadd2c7397011ac2523b12268c", "score": "0.50329196", "text": "public interface NativePage {\n /**\n * @return The View to display the page. This is always non-null.\n */\n View getView();\n\n /**\n * @return The title of the page.\n */\n String getTitle();\n\n /**\n * @return The URL of the page.\n */\n String getUrl();\n\n /**\n * @return The hostname for this page, e.g. \"newtab\" or \"bookmarks\".\n */\n String getHost();\n\n /**\n * @return The background color of the page.\n */\n int getBackgroundColor();\n\n /**\n * @return True if the native page needs the toolbar shadow to be drawn.\n */\n boolean needsToolbarShadow();\n\n /**\n * Updates the native page based on the given url.\n */\n void updateForUrl(String url);\n\n /**\n * Called after a page has been removed from the view hierarchy and will no longer be used.\n */\n void destroy();\n}", "title": "" }, { "docid": "8a4d8456ed4122596fc24e76f0eb7511", "score": "0.5031211", "text": "@Before\n public void setup() {\n this.mockMvc = MockMvcBuilders.webAppContextSetup(webApplicationContext).build();\n }", "title": "" }, { "docid": "fd023ec374f46fa0d87232229e8c4848", "score": "0.5019665", "text": "public interface navigateToPage {\n\n public void OnPageNavigation(int currentItem);\n}", "title": "" }, { "docid": "70e1bb7e1e91d0f9e39dae1550c77767", "score": "0.501893", "text": "public LandingPage(WebDriver driver) {\n\t\t//assigning life to the driver\n\t\tthis.driver =driver;\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "f3b0b2ac4133f4bf8f0ce4f60c724cba", "score": "0.5015042", "text": "public void setPage(Page page) {\n this.page=page;\n }", "title": "" }, { "docid": "a8e1874c5287b2f06529a91896dade53", "score": "0.5013221", "text": "private MockHttpServletResponse getMockHttpServletResponse() {\n\t\treturn new MockHttpServletResponse();\n\t}", "title": "" }, { "docid": "3bbc2a9b6ba79532706ee1fdad91b815", "score": "0.5008755", "text": "@Override\n\tprotected void initOwnPageComponents() {\n\t}", "title": "" }, { "docid": "bee1af517f763e12185c946c398def0e", "score": "0.49949104", "text": "private DynamicPageProxy(SearchPathsSiteView view, String locatorName, Folder parentFolder, DynamicPage dynamicPage)\n {\n super(view, locatorName, parentFolder, dynamicPage.getName(), dynamicPage.isHidden());\n this.dynamicPageReference = new DynamicPageWeakReference(view.getPageManager(), dynamicPage);\n }", "title": "" }, { "docid": "67b2c77af8e8fb5dae390dac5994ccf7", "score": "0.4991953", "text": "protected AbstractPage(final WebDriver driver) {\n super(driver);\n }", "title": "" }, { "docid": "4c266d1e7b5ea6550f925b5d3a4d4ec2", "score": "0.49814585", "text": "private void setUpPageBrowser() {\n\t\tHasWidgets chapterPanel = editorFrame.getChapterPanel();\n//\t \n\t int PAGE = 0;\n\t currentPageNum = PAGE;\n//\t pageRanges = new ArrayList<>(workingUnit.getWordPageMap().keySet());\n//\t String imageUrl = pageRanges.get(PAGE).getDescription().getImageUrl();\n\t String imageUrl = workingUnit.getPages().get(PAGE).getUrl();\n\t setPageEditorInMode(PageStates.EDIT_WORD, PAGE,\n\t \t\t(int) workingUnit.getPages().get(PAGE).getStart(),\n\t \t\t(int) workingUnit.getPages().get(PAGE).getEnd(),\n\t \t\timageUrl, AnnotationTypes.CHAPTER_RANGE,\n\t \t\tnull);\n\t \n\t\t\n\t\tPageBrowserView view = new PageBrowserViewImpl(PageBrowserFactoryImpl.INSTANCE);\n\t\tPageBrowserPresenter presenter = new PageBrowserPresenterImpl(view, this, workingUnit);\n\t\tchapterPanel.clear();\n\t\tchapterPanel.add(view.asWidget());\n\t\t\n\t}", "title": "" }, { "docid": "4e8f822442b2f7d48182d22f13073a0a", "score": "0.49762362", "text": "@Test\r\n public void createServiceClassPageFactory() {\r\n throw new RuntimeException(\"Test not implemented\");\r\n }", "title": "" }, { "docid": "6fb2e8eedd40b1285ef9b75dff5fcf62", "score": "0.4972273", "text": "@Before\n public void setUp() {\n controller = new TransactionController(null, null);\n }", "title": "" }, { "docid": "335c46a901a348569ec4c6b4c62bf3d8", "score": "0.49711075", "text": "@Test\n public void testShowView() throws Exception{\n mockMvc.perform(get(\"/view/2345\"))\n .andExpect(status().isOk())\n .andExpect(forwardedUrl(\"/WEB-INF/pages/view.jsp\"));\n }", "title": "" }, { "docid": "ba104fc5056f376fa86d240aa4b679f1", "score": "0.49657843", "text": "@Test\n public void backPressed(){\n }", "title": "" }, { "docid": "fb3d660403b93490f8d10a0ea285336c", "score": "0.49643686", "text": "public WebDriver setupDriver() {\n\t\tdriver = _04_DriverSetup_PageNavigation.getWebDriver();\n\t\treturn driver;\n\t}", "title": "" }, { "docid": "eb3042c0063b7096787099815da31691", "score": "0.49638167", "text": "public final void setupActivity()\r\n {\r\n _solo = new Solo(getInstrumentation(), getActivity());\r\n\r\n // ensure no real HTTP requests get out\r\n _fetcher = new com.nicjansma.library.net.MockHttpFetcher();\r\n com.nicjansma.library.net.HttpUtils.setHttpFetcher(_fetcher);\r\n }", "title": "" }, { "docid": "51832a391b0f25fef91eda40496e928a", "score": "0.4962731", "text": "public SupportHomePage(LoggingSelenium selenium) {\n\t\tthis.selenium = selenium;\n\t\tselenium.logComment(\"Executing constructor of 'Support Home' Page Class\");\n\t\tassertTrue(\n\t\t\t\t\"This is not 'Support Home' Page, current page is: \"\n\t\t\t\t\t\t+ selenium.getLocation(),\n\t\t\t\tselenium.getTitle().equals(\"Support Home Page\"), selenium);\n\t}", "title": "" }, { "docid": "e2b458877e4ebcd329cc2c4f48489a2f", "score": "0.49591497", "text": "@Override\n\tpublic void navigate() {\n\t\t\n\t}", "title": "" }, { "docid": "1f1ebc3c01aa4dc0713e669f11e0f4ad", "score": "0.49558726", "text": "@Override\n public void navigateToHome() {\n }", "title": "" }, { "docid": "69f26f2428a77575d1a0887fb7d48db6", "score": "0.49522835", "text": "public void testLoginPage() {\n\t}", "title": "" }, { "docid": "a46f6767fa2d186888a2151007208dc5", "score": "0.4949631", "text": "@Before\n\tpublic void setup() {\n\n\t\tthis.mockMvc = MockMvcBuilders.webAppContextSetup(webApplicationContext).build();\n\t}", "title": "" }, { "docid": "b434dfafc4bfc1074111f7ab6d14c330", "score": "0.4944014", "text": "private void setUpNavigation() {\n NV.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n DL.closeDrawer(GravityCompat.START);\n\n if(!(Objects.equals(current_category,String.valueOf(menuItem.getTitle())))) {//判斷使者者是否點擊當前畫面的項目,若不是,根據所按的項目做出分別的動作\n Log.i(\"Current Item\",String.valueOf(menuItem.getTitle()));\n String str = String.valueOf(menuItem.getTitle());\n Log.i(\"menu\",str);\n adapter.clear();\n list.clear();\n\n current_category = str;\n\n\n adapter.clear();\n list.clear();\n Log.i(\"Adapter: \",\"Clear\");\n reference_contacts.removeEventListener(fileListener);\n reference_contacts.addValueEventListener(fileListener);\n\n\n }\n else {//點擊當前項目時,收起Navigation\n //DL.closeDrawer(GravityCompat.START);\n }\n return false;\n }\n });\n\n }", "title": "" }, { "docid": "72a8cb5b9f24577e072690358e7b6e26", "score": "0.4940051", "text": "public PageObject(HtmlElement pageIdentifierElement, String url, BrowserType browserType, String driverName, Integer attachExistingDriverPort, PageLoadStrategy pageLoadStrategy, boolean captureSnapshot, List<String> uiLibs) {\r\n\r\n \tfor (String uiLib: uiLibs) {\r\n \t\taddUiLibrary(uiLib);\r\n \t}\r\n \t\r\n \tsystemClock = Clock.systemUTC();\r\n \tthis.captureSnapshot = captureSnapshot;\r\n \t\r\n \tif (pageLoadStrategy == null) {\r\n \t\tthis.pageLoadStrategy = robotConfig().getPageLoadStrategy();\r\n \t} else {\r\n \t\tthis.pageLoadStrategy = pageLoadStrategy;\r\n \t}\r\n \t\r\n Calendar start = Calendar.getInstance();\r\n start.setTime(new Date());\r\n\r\n if (SeleniumTestsContextManager.getGlobalContext() != null\r\n && SeleniumTestsContextManager.getGlobalContext().getTestNGContext() != null) {\r\n suiteName = SeleniumTestsContextManager.getGlobalContext().getTestNGContext().getSuite().getName();\r\n outputDirectory = SeleniumTestsContextManager.getGlobalContext().getTestNGContext().getOutputDirectory();\r\n }\r\n \r\n // set the URL to context if it has been provided. This will then be used on Edge(IE-mode) creation to avoid cross zone boundaries\r\n if (SeleniumTestsContextManager.getThreadContext() != null && url != null) {\r\n \tSeleniumTestsContextManager.getThreadContext().setInitialUrl(url);\r\n }\r\n \r\n // creates the driver and switch to it. It may be done twice as when the driver is created, we automatically switch to it, but in case driver\r\n // is already created,\r\n driver = WebUIDriver.getWebDriver(true, browserType, driverName, attachExistingDriverPort);\r\n \r\n if (driver == null && url != null) {\r\n \tthrow new ConfigurationException(\"driver is null, 'browser' configuration may be empty\");\r\n }\r\n\r\n screenshotUtil = new ScreenshotUtil(driver);\r\n \r\n // open page\r\n openPage(url);\r\n \r\n // in case browser has been created outside of selenium and we attach to it, get initial window handles\r\n if (driver != null && attachExistingDriverPort != null && url == null) {\r\n \t((CustomEventFiringWebDriver)driver).updateWindowsHandles();\r\n }\r\n\r\n assertCurrentPage(false, pageIdentifierElement);\r\n\r\n Calendar end = Calendar.getInstance();\r\n\r\n long startTime = start.getTimeInMillis();\r\n long endTime = end.getTimeInMillis();\r\n logger.log(\"Open web page in :\" + (endTime - startTime) / 1000.0 + \" seconds\");\r\n \r\n setPageOnElements();\r\n }", "title": "" }, { "docid": "b691f9a5965d59ec858ed7db65334ce9", "score": "0.49372637", "text": "@Test\n\tpublic void loadMultiplePagesPerWebView(){\n\t}", "title": "" }, { "docid": "97192fcb521d0fa75d0de97b7d80bde5", "score": "0.49340594", "text": "public void beforeNavigateRefresh(WebDriver arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "f4f34d71ff3215a636933071487f6636", "score": "0.49311185", "text": "@Override\n public void afterNavigateRefresh( WebDriver driver )\n {\n\n }", "title": "" } ]
a3ca2bc72b1c50482dc2e81bd3f1d221
/ Determina si el producto es descarga directa de inventario o si es solo movimiento de almacen
[ { "docid": "328cd7121b94aabed8a86b5587ce7234", "score": "0.5965559", "text": "public Boolean es_directo(int m_product){\n\t\tString indic=\"N\";\n\t\tString query = \"select m_direct_delivery from m_product where m_product_id=\"+m_product;\n\t\tPreparedStatement pstmt = null;\n\t\tResultSet rs = null;\n\t\ttry\n\t\t{\n \t\tpstmt = DB.prepareStatement(query, \"M_Product\");\n\t\t\trs = pstmt.executeQuery();\n\t\t\twhile (rs.next())\n\t\t\t{\n\t\t\t\tindic = rs.getString(1);\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e){\n\t\t\t//log.info(e.toString());\n\t\t\treturn false;\n\t\t}\n\t\t\t\n\t\tif (indic.equalsIgnoreCase(\"Y\"))\n\t\t\t\treturn true;\n\t\telse\t\n\t\t\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "826dea8edfddce4a4c7096f7489dcd17", "score": "0.60414857", "text": "public boolean enDescente() {\r\n\t\treturn Sens.DESCENTE.equals(this.sens);\r\n\t}", "title": "" }, { "docid": "9dff76b9415055e051634683540f4dad", "score": "0.60174936", "text": "private boolean ExistTemporalAceptado() {\r\n\r\n boolean existe = false;\r\n try {\r\n String revisado = DBProducto.getExistPedTemporalAcep();\r\n log.debug(\"RETORNO :\" + revisado);\r\n if (revisado.equalsIgnoreCase(\"TRUE\")) {\r\n existe = true;\r\n }\r\n } catch (SQLException e) {\r\n log.error(\"\", e);\r\n FarmaUtility.showMessage(this, \"Ha ocurrido un al verificar la existencia de pedidos temporales\",\r\n txtCodProducto);\r\n }\r\n return existe;\r\n }", "title": "" }, { "docid": "0ab2ce497bde6245a8aa4707f96e3b9b", "score": "0.5954471", "text": "public static boolean checkifProductAvillable() {\r\n\t\tgetCurrentFunctionName(true);\r\n\t\tboolean state = true;\r\n\t\ttry {\r\n\t\t\tif (isGH()) {\r\n\t\t\t\tif (SelectorUtil.isDisplayed(PDPSelectors.GHUnavilable_Product_Message.get()))\r\n\t\t\t\t\tstate = false;\r\n\t\t\t} else {\r\n\t\t\t\tif (SelectorUtil.isDisplayed(PDPSelectors.Unavilable_Product_Message.get()))\r\n\t\t\t\t\tstate = false;\r\n\t\t\t}\r\n\t\t\tgetCurrentFunctionName(false);\r\n\t\t\treturn state;\r\n\t\t} catch (Exception e) {\r\n\t\t\tgetCurrentFunctionName(false);\r\n\t\t\tstate = true;\r\n\t\t\treturn state;\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "92d7a5b65f17194e3f37ef8ae237e3e5", "score": "0.5949996", "text": "private boolean puedeExtraer(double p_importe)\n {\n if((this.getSaldo() > p_importe) && (this.getLimiteDescubierto() > p_importe)){\n return true;\n }else{\n return false;\n }\n }", "title": "" }, { "docid": "9a432b0d74107f5c9c27f8b23032db8a", "score": "0.5926685", "text": "private boolean isImpegnoInAggiornamentoProvvisorio(){\n\t\tif(Constanti.MOVGEST_STATO_PROVVISORIO.equals(model.getImpegnoInAggiornamento().getStatoOperativoMovimentoGestioneSpesa())){\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "592d0b2d9358e49ecabb14faabaeed32", "score": "0.5864443", "text": "public boolean isRemovable(Product existedProduct, double amount, String date)\r\n {\r\n if (existedProduct.getAmount() - amount < 0)\r\n {\r\n return false;\r\n }\r\n\r\n Calendar cal = Calendar.getInstance();\r\n cal.set(Calendar.HOUR_OF_DAY, 0);\r\n cal.set(Calendar.MINUTE, 0);\r\n cal.set(Calendar.SECOND, 0);\r\n cal.set(Calendar.MILLISECOND, 0);\r\n\r\n Date today = cal.getTime();\r\n DateLabelFormatter formatter = new DateLabelFormatter();\r\n Date destinationDate = (Date) formatter.stringToValue(date);\r\n RemainsCounter remainsCounter = new RemainsCounter(productRepository, incomingRepository, outcomingRepository);\r\n\r\n long productID = existedProduct.getId();\r\n\r\n while (destinationDate.before(today))\r\n {\r\n double remainsAmount = remainsCounter.getRemainOfProductOnDate(productID, destinationDate);\r\n if (remainsAmount < amount)\r\n {\r\n return false;\r\n }\r\n cal.setTime(destinationDate);\r\n cal.add(Calendar.DATE, 1);\r\n destinationDate = cal.getTime();\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "fa718576cd77e854e50dc33ffd3c3a2a", "score": "0.58199865", "text": "boolean getIsProductEanGenerated();", "title": "" }, { "docid": "29dfe8b2b0807ed3d6c6fc14372ed7ee", "score": "0.57978886", "text": "public boolean esReservaAmbNotificacio() {\n return false;\n }", "title": "" }, { "docid": "75cae435650812d9f37b603f89a31c81", "score": "0.5796883", "text": "public boolean aprovado() {\n\t\tmediaNota();\n\t\tif (media >= 7) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4bea67a60cfe82ca359a5ad694e5560a", "score": "0.5789207", "text": "public static boolean esProductoCalzado(Long idproducto) {\n if(idproducto.longValue() == 51 ) {\n return false;\n\n }else if(idproducto.longValue() == 80 ){\n return true;\n }else {\n List<ProductMigradoFabrica> lr = Dao.getRoDaoSession().getProductMigradoFabricaDao().queryBuilder()\n .where(ProductMigradoFabricaDao.Properties.Idproducto.eq(idproducto)).limit(1).build().list();\n\n\n return lr.size() > 0;\n }\n\n\n\n }", "title": "" }, { "docid": "1b9fdba443f0053c59065307bebdfeaa", "score": "0.5780635", "text": "private boolean espacioDeCargaDisponible(double tamanio) {\r\n\r\n\t\treturn espacioDeCargaUsado + tamanio <= espacioMaximoDeCarga;\r\n\t}", "title": "" }, { "docid": "cb5f1e1bb3f7299608032fe2395c0a8b", "score": "0.5762613", "text": "private boolean isParzialmenteEmesso() {\n\t\tString methodName = \"isParzialmenteEmesso\";\n\t\t\n\t\tfor (SubdocumentoSpesa quota : doc.getListaSubdocumenti()) {\n\t\t\tif (isQuotaAZero(quota)) {\n\t\t\t\tcontinue; // da non considerare\n\t\t\t}\n\t\t\tif (quota.getOrdinativo() != null && quota.getOrdinativo().getUid() != 0) {\n\t\t\t\tlog.debug(methodName, \"Ho trovato almeno una quota con ordinativo, lo stato è PARZIALMENTE EMESSO\");\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t\n\t\tlog.debug(methodName, \"Non ho trovato nessuna quota con ordinativo, lo stato NON è PARZIALMENTE EMESSO\");\n\t\treturn false;\n\t}", "title": "" }, { "docid": "15354fa774a77f188c6684eb7852808b", "score": "0.5760435", "text": "public boolean taVazia() {\n return quantidadeElementos == -1;\n }", "title": "" }, { "docid": "d77139d91236eb52561f7299f6706f8d", "score": "0.57017785", "text": "private boolean ExistTemporalPendiente() {\r\n\r\n boolean existe = false;\r\n try {\r\n String revisado = DBProducto.getExistPedTemporalPend();\r\n log.debug(\"RETORNO :\" + revisado);\r\n if (revisado.equalsIgnoreCase(\"FALSE\")) {\r\n //no hay pendientes\r\n existe = true;\r\n }\r\n } catch (SQLException e) {\r\n log.error(\"\", e);\r\n FarmaUtility.showMessage(this, \"Ha ocurrido un al verificar la existencia de pedidos temporales\",\r\n txtCodProducto);\r\n }\r\n return existe;\r\n }", "title": "" }, { "docid": "0d7a3bfb931e7221c30b9487af07d663", "score": "0.5640399", "text": "public boolean checkOutOfStock(Product product)\r\n {\r\n if(product.getStock() == 0)\r\n {\r\n outOfStock = true;\r\n }\r\n else{\r\n outOfStock = false;\r\n }\r\n return outOfStock;\r\n }", "title": "" }, { "docid": "43d32bb2562448e31168f305670ab014", "score": "0.5627794", "text": "private boolean isProductOfASISPlan(ProductInfoType productInfo) {\r\n\t\tboolean isASISPlan = false;\r\n\t\tif(productInfo.getProductDetails() != null && productInfo.getProductDetails().getMetaData() != null \r\n\t\t\t\t&& productInfo.getProductDetails().getMetaData().getMetaData() != null){\r\n\t\t\tfor(String metaData : productInfo.getProductDetails().getMetaData().getMetaData()){\r\n\t\t\t\tif(metaData.equalsIgnoreCase(\"ASIS_PLAN\")){\r\n\t\t\t\t\tisASISPlan = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn isASISPlan;\r\n\t}", "title": "" }, { "docid": "66308c90a43d02eefb852cf0dc279c67", "score": "0.562207", "text": "private boolean isParzialmenteEmesso() {\n\t\tString methodName = \"isParzialmenteEmesso\";\n\t\t\n\t\tcountQuoteSenzaOrdinativo();\n\t\tcountQuoteEscludendoQuotaAZero();\n\t\t\n\t\tboolean result = numeroQuoteSenzaOrdinativo.compareTo(Long.valueOf(0))>=0 && ////0 incluso perchè possono essere emesse anche tutte le quote! ma se la somma è incongruente allora è parzialmente emesso\n\t\t\t\tnumeroQuoteSenzaOrdinativo.compareTo(numeroQuoteDelDocumento)<0; \n\t\t//2>=2 && 2<2\n\t\t//0>=2 && 0<2\n\t\tlog.debug(methodName, \"returning: \" + result);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "174d0594d9a6dc1cb34f0d86878ec7ef", "score": "0.5614172", "text": "boolean hasBelugaTransfer();", "title": "" }, { "docid": "89e76a90629e1f93d746540ce2157f37", "score": "0.5609555", "text": "@java.lang.Override\n public boolean hasPromotionAsset() {\n return assetDataCase_ == 15;\n }", "title": "" }, { "docid": "5c4ddfd4766da760ef4ae2b536733a91", "score": "0.5598167", "text": "public boolean hasLiveExchOrder() {\n return !m_live.isEmpty();\n\n// for(BiAlgoData live : m_live) {\n// if( live.hasLiveExchOrder() ) {\n// return true;\n// }\n// }\n// return false;\n }", "title": "" }, { "docid": "7690c9e3f8861d3ca213063a47d208f4", "score": "0.5584218", "text": "public boolean isModificabileFlagFrazionabile(){\n\t\tif(model.getImpegnoInAggiornamento().getStatoOperativoMovimentoGestioneSpesa().equals(Constanti.MOVGEST_STATO_PROVVISORIO)){\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "37d101f800099a61de1bd1c40999ab51", "score": "0.55801284", "text": "@java.lang.Override\n public boolean hasPromotionAsset() {\n return assetDataCase_ == 15;\n }", "title": "" }, { "docid": "e2383ceee6db1f861caacdfc37186b2f", "score": "0.557934", "text": "boolean hasOperatePai();", "title": "" }, { "docid": "e2383ceee6db1f861caacdfc37186b2f", "score": "0.557934", "text": "boolean hasOperatePai();", "title": "" }, { "docid": "73e3fb26a1789c131eb64975556dd2e8", "score": "0.55748296", "text": "public boolean esta_vazia() {\n\t\treturn (this.quantidade == 0);\n\t}", "title": "" }, { "docid": "7e6cf77b5f398ddf51f262cb307dc43e", "score": "0.5560286", "text": "public boolean abilitaModificaParereFinanziario() {\n\t\tboolean abilitazioneModifica = false;\n\t\t\n\t\t//SIAC-5288 settembre 2017 devo considerare anche il caso in cui \n\t\t//sia entrato in aggiornamento ma disponendo\n\t\t//solo dell'autorizzazione a modificare gsa,\n\t\t//quindi valuto anche isAbilitatoAggiornamentoGenerico:\n\t\tif(!isAbilitatoAggiornamentoGenerico()){\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tif(isEnteAbilitatoParereFinanziario() && isAzioneAbilitata(CodiciOperazioni.OP_SPE_gestisciParere)) {\n\t\t\tabilitazioneModifica = true;\n\t\t}\n\t\t\n\t\treturn abilitazioneModifica;\n\t}", "title": "" }, { "docid": "097eabbe2b35fc0f5717ce21f39447a0", "score": "0.5546101", "text": "public boolean isDisponivelAtivacao()\r\n\t{\r\n\t\treturn this.indDispAtivacao;\r\n\t}", "title": "" }, { "docid": "a2f7a6527da1fd2d33cedff11cdb02e1", "score": "0.5540478", "text": "public boolean pilhaVazia() {\n\n\t\tboolean resp;\n\t\tif (fundo == topo)\n\t\t\tresp = true;\n\t\telse\n\t\t\tresp = false;\n\n\t\treturn resp;\n\t}", "title": "" }, { "docid": "9d6f3ad28f29161fc561a2246267f549", "score": "0.5536164", "text": "public boolean isActGratuite() {\n return (cartOrdre == -1);\n }", "title": "" }, { "docid": "241ee22524ff80fe16f65197c2b87703", "score": "0.5534362", "text": "public static boolean checkifProductPuplished() {\r\n\t\tgetCurrentFunctionName(true);\r\n\t\tboolean state = true;\r\n\t\ttry {\r\n\t\t\tif (isGH()) {\r\n\t\t\t\tif (SelectorUtil.isDisplayed(PDPSelectors.GHUnPuplished_Product_Message.get()))\r\n\t\t\t\t\tstate = false;\r\n\t\t\t} else {\r\n\t\t\t\tif (SelectorUtil.isDisplayed(PDPSelectors.UnPuplished_Product_Message.get()))\r\n\t\t\t\t\tstate = false;\r\n\t\t\t}\r\n\t\t\tgetCurrentFunctionName(false);\r\n\t\t\treturn state;\r\n\t\t} catch (Exception e) {\r\n\t\t\tgetCurrentFunctionName(false);\r\n\t\t\tstate = true;\r\n\t\t\treturn state;\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "d53dc75c91d81c5a09642246a438983b", "score": "0.55228114", "text": "boolean hasPricesilver();", "title": "" }, { "docid": "65bc0ac367bfa81bf451f812abadd737", "score": "0.5509991", "text": "private boolean isEmesso() {\n\t\tfinal String methodName = \"isEmesso\";\n\t\t\n\t\t// SIAC-4749: se sono presenti i dati della fattura pagata/incassata, il documento e' automaticamente emesso\n\t\tboolean result = \n\t\t\t\tisDatiPagamentoValorizzati(doc.getDatiFatturaPagataIncassata())\n\t\t\t\t|| (sommaCongruente.booleanValue() && Long.valueOf(0).equals(countQuoteSenzaOrdinativo()));\n\t\tlog.debug(methodName, \"returning: \" + result);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "82ab97744fa06645ee3175756cac9336", "score": "0.55090296", "text": "public boolean isproductshow() {\n\t boolean b=driver.findElement(By.xpath(\"//div[@class='overview']/h1\")).getText().matches(\"Build your own mylaptop\"); \n\t\t return b ;\n\t }", "title": "" }, { "docid": "5366285668ed8906afe81250eaac140f", "score": "0.5496332", "text": "private boolean isHorarioFinVideo() throws Exception {\n\t\tString actual = Utiles.getFechaString(new Date(), \"dd-MM-yyyy\");\n\t\tDate horario = Utiles.getFecha(actual + Configuracion.HORA_FIN_VIDEOS);\n\t\tCalendar cal = Calendar.getInstance();\n\t\treturn cal.getTime().after(horario);\n\t}", "title": "" }, { "docid": "1ca74bea56717a863e547c9adb35c3f3", "score": "0.54942036", "text": "boolean isPaymentScheduleCapable(final Product product);", "title": "" }, { "docid": "173a80c7a1707f47d251336c312ddddb", "score": "0.5479549", "text": "private boolean overlapCheck(int productNo,Product product,ProductService service){ //중복확인 메소드\n\t\tproduct = service.getItemByNo(productNo);\n\t\tif(product == null){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "5bbf95d195626119ed939945557505ef", "score": "0.54736483", "text": "private Boolean isQuoteRilevantiIVAENumeroRegistrazioneCongruenti() {\n\t\tString methodName = \"isQuoteRilevantiIVAENumeroRegistrazioneCongruenti\";\n\t\t\n\t\tcountQuoteRilevantiIvaSenzaNumeroRegistrazione();\n\t\tboolean result = Long.valueOf(0).equals(numeroQuoteRilevantiIvaSenzaNumeroRegistrazione);\n\t\tlog.debug(methodName,\"returning: \"+result + \". numeroQuoteRilevantiIvaSenzaNumeroRegistrazione: \"+ numeroQuoteRilevantiIvaSenzaNumeroRegistrazione);\n\t\t\n\t\treturn result;\n\t\t\n\t}", "title": "" }, { "docid": "064aa88d63f4afd5b70f0ab40b28ed8e", "score": "0.5473514", "text": "private boolean hasEnoughMoneyForProduct(String product) {\r\n\t\treturn coinListToPrice(insertedCoins) >= getSelectedProductPrice(product);\r\n\t}", "title": "" }, { "docid": "c631556966cf4108a78ebe6ac75c8309", "score": "0.54641247", "text": "public boolean resolvido()\n { \n return secreto.equalsIgnoreCase(visivel);\n \n }", "title": "" }, { "docid": "e442b823eb20d217e428898b471dddc0", "score": "0.5457258", "text": "private boolean canMakeChangeWithProduct(String productName) {\r\n\t\tdouble value = Double.parseDouble(String.format(\"%.2f\", products.get(productName)));\r\n\t\tvalue = canMakeChangeWithQuarters(value);\r\n\t\tvalue = canMakeChangeWithDimes(value);\r\n\t\tvalue = canMakeChangeWithNickels(value);\r\n\t\treturn Double.parseDouble(String.format(\"%.2f\", value)) == 0;\r\n\t}", "title": "" }, { "docid": "2a9abb4114960eef1906bea32cc11a98", "score": "0.54409885", "text": "public boolean aprovarPedido(String evento) throws TransException {\n\n boolean sePedidoAprovado = true;\n PedidoVenda pedidoVenda = (PedidoVenda) this.pedido;\n\n try {\n if (validarDados(evento)) {\n //Atualizar dados de Crédito do Revendedor\n this.atualizaDadosCreditoRevendedor(pedidoVenda.getRevendedor());\n\n //verifica tipo de pagamento\n if (pedidoVenda.getPagamento().getFormaPagamento() == Enum_Forma_Pagamento.APRAZO.getCodigo()) {\n //verificar se o Revendedor tem limite utilizavel para cobrir o valor do Pedido\n //de acordo com o tipo de pedido\n \n //pegar o pagamento do pedido\n Pagamento pagamentoPedido = pedidoVenda.getPagamento();\n \n// if (pedidoVenda.getRevendedor().getLimiteUtilizavel() == 0\n// || pedidoVenda.getRevendedor().getLimiteUtilizavel() < pedidoVenda.getValorPedidoEscrito()) {\n if (pedidoVenda.getRevendedor().getLimiteUtilizavel() == 0\n || pedidoVenda.getRevendedor().getLimiteUtilizavel() <= (pagamentoPedido.getValor() - (pagamentoPedido.getBonus() - pagamentoPedido.getValorDinheiro()) )) { \n sePedidoAprovado = false;\n }\n }\n }\n } catch (ServerException ex) {\n throw new TransException(ex);\n }\n return sePedidoAprovado;\n }", "title": "" }, { "docid": "feae2c0009a5fa4fee163aa4fdae6cb7", "score": "0.54343826", "text": "private boolean isNotaCreditoAssociataAdUnSoloDocumento() {\n\t\tfinal String methodName = \"isNotaCreditoAssociataAdUnSoloDocumento\";\n\t\t\n\t\tboolean result = false;\n\t\tif(doc.getTipoDocumento().isNotaCredito()) {\n\t\t\tcountDocumentiPadreCollegati();\n\t\t\tlog.debug(methodName, \"numeroDocumentiPadreCollegati: \" + numeroDocumentiPadreCollegati);\n\t\t\tresult = Long.valueOf(1).compareTo(numeroDocumentiPadreCollegati) == 0; //true solo se \"esattamente\" 1.\n\t\t}\n\t\tlog.debug(methodName, \"returning: \" + result);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "bf22824aa151c0cd6a05ca79cb049aad", "score": "0.5427638", "text": "private boolean isEmesso() {\n\t\tString methodName = \"isEmesso\";\n\t\t\n\t\tfor (SubdocumentoSpesa quota : doc.getListaSubdocumenti()) {\n\t\t\tif (isQuotaAZero(quota)) {\n\t\t\t\tcontinue; // da non considerare\n\t\t\t}\n\t\t\tif (quota.getOrdinativo() == null || quota.getOrdinativo().getUid() == 0) {\n\t\t\t\tlog.debug(methodName, \"Ho trovato almeno una quota senza ordinativo, lo stato non può essere emesso\");\n\t\t\t\treturn false;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tlog.debug(methodName, \"è emesso? \" + sommaCongruente);\n\t\treturn sommaCongruente.booleanValue();\n\t}", "title": "" }, { "docid": "03a1b192ff223fda258792f742a58328", "score": "0.5420484", "text": "public boolean alcanzaLimiteDisponible(BigDecimal monto){\n if (monto.compareTo(montoLimite) > 0) return false;\n //Sino, me fijo los consumos VS las cobranzas para saber si le alcanza la plata\n BigDecimal limiteDisponible = montoLimite.subtract(liquidaciones.stream()\n .map(Liquidacion::calcularSaldoPendiente)\n .reduce(BigDecimal::add)\n .orElse(BigDecimal.ZERO));\n return monto.compareTo(limiteDisponible) <= 0;\n }", "title": "" }, { "docid": "6e597fbd3ec02f6b857ba853bccc2c3e", "score": "0.5415683", "text": "public boolean ehVazia() {\r\n\t\treturn lista.getTotalElementos() == 0;\r\n\t}", "title": "" }, { "docid": "db602decf77f7a681ad99d10b49b19e2", "score": "0.5413144", "text": "public boolean cartaAcquisibilePunti(Object o[]) {// metodo numero 2\n\t\tGiocatore giocatore = (Giocatore) (o[1]);\n\t\tint sogliaPM = (int) (o[13]);\n\t\tif (giocatore.getPunti().getPuntiMilitari() >= sogliaPM)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "de7ded66a16ca5adcb0855c9c0a8f7fe", "score": "0.5407784", "text": "public boolean isDisponibilidad() {\n return disponibilidad;\n }", "title": "" }, { "docid": "b94166a84baccfa27599c70fea6fc898", "score": "0.54014", "text": "private boolean isHorarioInicioVideo() throws Exception {\n\t\tString actual = Utiles.getFechaString(new Date(), \"dd-MM-yyyy\");\n\t\tDate horario = Utiles.getFecha(actual + Configuracion.HORA_INICIO_VIDEOS);\n\t\tCalendar cal = Calendar.getInstance();\n\t\treturn cal.getTime().after(horario);\n\t}", "title": "" }, { "docid": "45ea8f031f13b7dd2e88f4bb3547bb58", "score": "0.54005146", "text": "private boolean isImpegnoInAggiornamentoDefintivoNonLiquidabile(){\n\t\tif(Constanti.MOVGEST_STATO_DEFINITIVO_NON_LIQUIDABILE.equals(model.getImpegnoInAggiornamento().getStatoOperativoMovimentoGestioneSpesa())){\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "0a2a50d8f1a15aecc1aa0dec828fb2da", "score": "0.53950316", "text": "public boolean isSoldOut() {\r\n\t\tif(this.numSodas == 0)\r\n\t\t{\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7aa8eefc472a4dd91d6ebe2557bcf0ef", "score": "0.5390132", "text": "boolean isEstimated();", "title": "" }, { "docid": "6e933ec573540307f53d019c1157f309", "score": "0.53895086", "text": "@Override\r\n\tpublic Boolean aplicar(Muestra muestra) {\r\n\t\treturn muestra.getFechaEnvio().compareTo(this.fecha) >= 0;\r\n\t}", "title": "" }, { "docid": "fc2e3bad6f82b88368e09ebc57244f55", "score": "0.53879046", "text": "private boolean hasLinkToProduct(Productuom productuom) {\n return productuom.getProductid() != null;\n }", "title": "" }, { "docid": "e739482727f588e846c5c8bfc8e64a54", "score": "0.53865445", "text": "public boolean puedeIniciarDisposicion() {\n\t\t/*\n\t\t * Conflicto con Checkstyle. No se pueden declarar como final los\n\t\t * m&eacute;todos de beans EJB que hagan uso de dependencias inyectadas,\n\t\t * ya que dichas dependencias toman el valor null.\n\t\t */\n\t\tList<DocumentModel> docs = this.documentsListsManager\n\t\t\t\t.getWorkingList(CURRENT_DOCUMENT_SELECTION);\n\t\tboolean resultado = docs.size() > 0;\n\t\tfor (DocumentModel documento : docs) {\n\t\t\tresultado = resultado\n\t\t\t\t\t& documento.hasFacet(\"elemento_cdc\")\n\t\t\t\t\t& this.servicioArchivo.puedeIniciarDisposicion(\n\t\t\t\t\t\t\tthis.documentManager, documento);\n\t\t}\n\t\treturn resultado;\n\t}", "title": "" }, { "docid": "15ad56d68f81a5ba0f4058d84bc043fb", "score": "0.5380786", "text": "public boolean VerifyReserveYourProduct_message() {\n\t\tboolean flag = false;\n\n\t\tflag = CommonVariables.CommonDriver.get().findElement(Reservation_OR.RESERVEPRODUCT_LABEL).isDisplayed();\n\t\tif (flag) {\n\t\t\textentLogs.pass(\"ReserveYourProduct\", \"ReserveYourProductIsDisplayed\");\n\t\t} else {\n\t\t\textentLogs.fail(\"ReserveYourProduct\", \"ReserveYourProductIsNotDisplayed\");\n\t\t}\n\n\t\treturn flag;\n\t}", "title": "" }, { "docid": "c813de14c3b86baf6e2a3166b360fd09", "score": "0.5376975", "text": "public boolean comprobarReloj(){\n \n if (tiempo > 0) {\n \n return true;\n \n }else{\n \n return false;\n \n }\n \n }", "title": "" }, { "docid": "213748eec3f310ee3aaff40ce25983c5", "score": "0.53755504", "text": "public boolean estaVazia() {\n return tamanho == 0;\n }", "title": "" }, { "docid": "2bd40b8aa9ab76fb27d2b4337aaa1d42", "score": "0.5369795", "text": "public boolean esObjetivo() {\r\n\t\treturn Vol4==2;\r\n\t}", "title": "" }, { "docid": "8c4b1e7da1b6ac942b59f7297d48fdb9", "score": "0.53680927", "text": "protected boolean check() {\n\t\t if (mPublishProject.getProductAndroid()!=null||\n\t\t\t\t mPublishProject.getProductApple()!=null||\n\t\t\t\t mPublishProject.getProductCumputer()!=null) {\n\t\t return true;\n\t\t }\n\t\tShowToast(\"至少输入一个产品链接\");\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a3dc361c3b40d0dee0e4cd4b745071df", "score": "0.5368044", "text": "public boolean isPromotion() {\n return (this.promotion != null);\n }", "title": "" }, { "docid": "e55af27e2934aa366269c7660e915922", "score": "0.5356649", "text": "boolean isExternalRedelivered();", "title": "" }, { "docid": "51ee26902d1ff196d921616d36a1061c", "score": "0.5345557", "text": "public boolean onPrepositiolauseke() {\n \n if (this.prepositiot.containsKey(this.ekasana)) {\n return true;\n }\n \n return false;\n }", "title": "" }, { "docid": "01a7d67fc275611ad7b03fa5b44f5b2f", "score": "0.53447765", "text": "boolean isNilProductEan();", "title": "" }, { "docid": "01a7d67fc275611ad7b03fa5b44f5b2f", "score": "0.53447765", "text": "boolean isNilProductEan();", "title": "" }, { "docid": "4112cbacc81d6bc4aa3cc3f972bfa1d8", "score": "0.5342579", "text": "private boolean validaItemPedEspecial(int pTipoValidacion){\n \n boolean bResult = true;\n int dCantEstablecida = 0;\n try{\n dCantEstablecida = Integer.parseInt(DBInventario.obtieneCantMaxItemPedidoEspecial().trim());\n \n if(pTipoValidacion==ConstantsInventario.CONS_ING_PED_ESPC){\n if(VariablesInventario.vArrayListaProdsEsp.size()>dCantEstablecida){\n bResult = false;\n } \n }\n else if(pTipoValidacion==ConstantsInventario.CONS_ING_PROD_ESPC) {\n if (dCantEstablecida == 0)\n bResult = false;\n else if (dCantEstablecida <= VariablesInventario.vArrayListaProdsEsp.size()) {\n bResult = false;\n }\n }\n }\n catch(SQLException e){\n bResult = false;\n log.error(\"\",e);\n }\n \n if(!bResult){\n FarmaUtility.showMessage(this, \n \"El pedido excede el número de items establecido para el local\",\n null);\n }\n \n return bResult;\n }", "title": "" }, { "docid": "002376dc17bda6d69f0457084ff2878a", "score": "0.5330517", "text": "@Override\n public boolean condition(Food product) {\n return product.getPercentExpiryDate() >= percentTrash;\n }", "title": "" }, { "docid": "718bf46c47b4a020b8cb275bc9cb0ed3", "score": "0.5329328", "text": "public boolean cabeProceso(Proceso proceso) {\n int free = getTotalFree();\n return free >= proceso.getSize();\n }", "title": "" }, { "docid": "2a906013a4cd5ead47f46a3a4b9fe5f3", "score": "0.5325238", "text": "private boolean shouldMakeDelivery() {\n return !Server.getServerINSTANCE().getRemainingOrders().isEmpty();\n }", "title": "" }, { "docid": "d86d82cf77b0b4396878f8f5497dc7a3", "score": "0.53246325", "text": "@Override\n\tpublic boolean modificarProducto (Producto nuevo){\n \tboolean modificado = false;\n \t\n \t\tif(lista.containsKey(nuevo.getCodigo())==false) { //Comprobamos que el producto existe.\n \t\t\tSystem.out.println(\"No existe un producto con ese codigo\");\n \t\t\treturn modificado;\n \t\t}\n \t\n \tSystem.out.println(\"El precio actual de: \" + nuevo.getNombre() + \" es de \" + nuevo.getPrecio());\n \tSystem.out.println(\"Introduzca un nuevo precio para \" + nuevo.getNombre());\n \t\n \tfloat nuevoPrecio = leerFloat(); //El usuario introduce el nuevo precio.\n \t\n \t\twhile(nuevoPrecio <= 0) {\n \t\t\tSystem.out.println(\"El precio introducido debe ser mayor de 0�.\\nPorfavor vuelva a introducir el importe\");\n \t\t\tnuevoPrecio = leerFloat();\n \t\t}\n \t\n \tnuevo.setPrecio(nuevoPrecio);\n \tSystem.out.println(\"Se ha modificado el precio de: \" + nuevo.getNombre());\n \tSystem.out.println(\"El precio actual es de: \" + nuevo.getPrecio());\n modificado = true;\t\n \t\n \t\t\n \treturn modificado;\t\n \t\t\t\t\n }", "title": "" }, { "docid": "ea8f176c0bc204ec9fc7bb2b847dc51c", "score": "0.5316286", "text": "public boolean esVacia() {\n return inicio == null;\n }", "title": "" }, { "docid": "815ca3bdc6d67591058e8531a6d307a4", "score": "0.5312439", "text": "public boolean existeArticuloEnItems(Articulo nuevoArticulo) {\r\n\t\tboolean ban = false;\r\n\t\t// this.getInstance().getItems()\r\n\t\tfor (ItemComprobanteVenta icv : this.itemAux) {\r\n\t\t\tif (icv.getArticulo() != null) {\r\n\t\t\t\tif (icv.getArticulo().getId() == nuevoArticulo.getId()) {\r\n\t\t\t\t\tban = true;\r\n\t\t\t\t\t// agrego 1\r\n\t\t\t\t\ticv.setCantidad(icv.getCantidad() + 1);\r\n\t\t\t\t\teditarValoresItem(icv);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn ban;\r\n\t}", "title": "" }, { "docid": "59f6998026f491d859df2847fddf9a6a", "score": "0.5308928", "text": "protected boolean isCloseToArchon() {\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "b9a2685ec6746e96588aa982a7133a83", "score": "0.5290633", "text": "boolean isDealInCart();", "title": "" }, { "docid": "568e2871dc0599faff45d04772e44f94", "score": "0.528477", "text": "@Override\r\npublic int compareTo(Producto otroProd){\r\n /* se retorna un entero de la diferencia entre el precio con el precio de otro producto que viene\r\n como parámetro:\r\n positivo = el precio es el mayor\r\n negativo = el precio es el menor\r\n cero = el precio es igual\r\n */\r\n return this.getPrecio() - otroProd.getPrecio();\r\n \r\n}", "title": "" }, { "docid": "b7eacc2c78489fb2586ca25214f303e4", "score": "0.52776366", "text": "public boolean existeListaProduto_Possui() {\n\t\t\treturn listaprodutoPossui!= null;\n\t\t}", "title": "" }, { "docid": "f9a096f018104174d6cbf4525b6b4c81", "score": "0.5273587", "text": "private Boolean isQuoteRilevantiIVAENumeroRegistrazioneCongruenti(DocumentoSpesa ds) {\n\t\tString methodName = \"isQuoteRilevantiIVAENumeroRegistrazioneCongruenti\";\n\t\t\n\t\tBoolean almenoUnaQuotaRilevanteIva = almenoUnaQuotaRilevanteIVA(ds);\n\t\t\n\t\tif(almenoUnaQuotaRilevanteIva.booleanValue()){\n\t\t\tfor(SubdocumentoSpesa subdoc : ds.getListaSubdocumenti()) {\n\t\t\t\tBoolean flagRilevanteIva = subdoc.getFlagRilevanteIVA();\n\t\t\t\tif(Boolean.TRUE.equals(flagRilevanteIva) && StringUtils.isBlank(subdoc.getNumeroRegistrazioneIVA())) {\n\t\t\t\t\tlog.debug(methodName,\"la quota \"+ subdoc.getUid() + \" rilevanteIva non ha il numero di registrazione valorizzato. Returning false.\");\n\t\t\t\t\treturn Boolean.FALSE;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn Boolean.TRUE;\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "06cade67cf35f3c3ba63a0ae7cd13aaf", "score": "0.5270667", "text": "public boolean comprobarCambiosObjetoActivo();", "title": "" }, { "docid": "92c998c74b87caf3a34929cb7de29630", "score": "0.52595246", "text": "public boolean isResilier() {\n\t\treturn getStatut().equals(StatutContrat.RESILIER);\n\t}", "title": "" }, { "docid": "7081b59df87daf8c4fc9f90930454fd9", "score": "0.52486724", "text": "public boolean activarAtaqueEspecial() {\n return false;\n }", "title": "" }, { "docid": "1d6b8772ea143123f2ec6eaa25c47019", "score": "0.5245877", "text": "public boolean estaDisponible() \n\t{\n\t\treturn disponible;\n\t}", "title": "" }, { "docid": "979d12a67b2dd0d96399532c6727fdf1", "score": "0.5245156", "text": "@Override\n\tpublic final boolean mouvementPossible() {\n\t\t//on peut avancer a reculons si on peut avancer en arri�re\n\t\tfinal Event event = this.deplacement.getEventADeplacer();\n\t\tthis.direction = event.direction; //la direction affichee durant le Mouvement est celle de l'Event avant\n\t\tfinal Avancer mouvementFictif = new Avancer(Event.Direction.directionOpposee(event.direction), Main.TAILLE_D_UN_CARREAU);\n\t\tmouvementFictif.deplacement = this.deplacement; //Deplacement pour �viter la NullPointerException dans Avancer\n\t\t\n\t\t//puis on lance la verification traditionnelle\n\t\treturn mouvementFictif.mouvementPossible();\n\t}", "title": "" }, { "docid": "f2a0f5224265c817e4595336553116c7", "score": "0.5242343", "text": "private boolean isRegPro()\n {\n boolean blnRes=true;\n strAux=\"¿Desea guardar los cambios efectuados a éste registro?\\n\";\n strAux+=\"Si no guarda los cambios perderá toda la información que no haya guardado.\";\n switch (mostrarMsgCon(strAux))\n {\n case 0: //YES_OPTION\n switch (objTooBar.getEstado())\n {\n case 'n': //Insertar\n blnRes=objTooBar.insertar();\n break;\n case 'm': //Modificar\n blnRes=objTooBar.modificar();\n break;\n }\n break;\n case 1: //NO_OPTION\n blnHayCam=false;\n blnRes=true;\n// reversar_PagosAsociados();\n break;\n case 2: //CANCEL_OPTION\n blnRes=false;\n break;\n }\n return blnRes;\n }", "title": "" }, { "docid": "972bc0e0cc360399e55731c6bc698524", "score": "0.52416265", "text": "public boolean isIndicadorSaldoInicial()\r\n/* 330: */ {\r\n/* 331:474 */ return this.indicadorSaldoInicial;\r\n/* 332: */ }", "title": "" }, { "docid": "fde1ac9f7f5f34ab15c725a6c9c03733", "score": "0.5238257", "text": "private static boolean isSuspendAvailable() {\n String prodInfo = getSystemInfo();\n if (prodInfo.contains(\"AP-10\") || prodInfo.contains(\"T305\") || prodInfo.contains(\"SUD12\") || prodInfo.contains(\"SUD7\")) {\n Log.d(TAG, \"AP-10/T305/SUD12/SUD7 don't support Suspend function\");\n return false;\n } else {\n return true;\n }\n }", "title": "" }, { "docid": "4205913c8600bee843aac61082caba3a", "score": "0.52374595", "text": "public boolean isWithOfferSO();", "title": "" }, { "docid": "640ad530d6771f11ffbc8c9455ebb0d8", "score": "0.52314436", "text": "public boolean esVacio(){\n if (this.hi == null && this.hd == null) {\n \treturn true;\n } else {\n \treturn false;\n }\n }", "title": "" }, { "docid": "5950e0cfa01ff31c65122735a5f18240", "score": "0.52292496", "text": "public boolean temMais(){\n\t\treturn next < NUMCARTAS;\t\t\t\n\t}", "title": "" }, { "docid": "9e5d66ed6a89a16bcbed34ac9e60cc6a", "score": "0.52251273", "text": "public boolean isChangeAvailableForNextPurchase(){\n\n final int requiredNickelQty = 2;\n final int requiredDimeQty = 1;\n\n if(db.getQuantityOfCoin(nickel.getKey()) < requiredNickelQty ||\n db.getQuantityOfCoin(dime.getKey()) < requiredDimeQty) {\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "f179e23bc38ebd25c873e554d9d76c4c", "score": "0.5219399", "text": "public boolean esVacio() {\n return this.ultimo == 0;\n }", "title": "" }, { "docid": "2212190303447ad8283075136c1da984", "score": "0.52178776", "text": "private boolean itemsAvailable()\n\t{\n\t\treturn receivedFromOriginal && receivedFromCopy;\n\t}", "title": "" }, { "docid": "aa195c6a32b47c4165e3f64cc4716c89", "score": "0.5216712", "text": "boolean hasRemainJeton();", "title": "" }, { "docid": "50e46c2dd902b55d1956a7ae8dc8b121", "score": "0.5206678", "text": "public boolean getAbilitatoPrimaNotaDaFinanziaria() {\n\t\treturn \"TRUE\".equals(getEnte().getGestioneLivelli().get(TipologiaGestioneLivelli.GESTIONE_PNOTA_DA_FIN));\n\t}", "title": "" }, { "docid": "f1846d1f40adb7a3edd11ca89aa6aad0", "score": "0.5198873", "text": "public Boolean isAllowVendorDelivery(final Product item)\n\t{\n\t\treturn isAllowVendorDelivery( getSession().getSessionContext(), item );\n\t}", "title": "" }, { "docid": "5cb2f23feb95032931e70f2a6348bab9", "score": "0.51926976", "text": "public void Pedido() {\r\n for (int h = 0; h < 4; h++) {\r\n if ( productos[h].hayQueHacerPedido()) {\r\n System.out.println(\" AVISO :\\n\" + \"Pedir pedido urgente, ha legado a la cantidad minima de:\" + productos[h]);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "06d53df5f77ffd20e409299ae3ebd8d7", "score": "0.5191735", "text": "public boolean estaVacia() {\r\n return inicio == null;\r\n }", "title": "" }, { "docid": "53b8cd068748ea1254dd3ba399dbab9e", "score": "0.519074", "text": "private boolean sePresionoElBotonIzquierdo(Event event) {\n return (event.button == 1);\r\n }", "title": "" }, { "docid": "cce58179ef5f101c69cc5fb385524b76", "score": "0.5189232", "text": "private final boolean canDeliverEvents() {\n\t\tif(mMenuItem==null) return false;\n\t\tboolean enabled = true;\n\t\tMenuItem item = mMenuItem;\n\t\twhile( item != null ) {\n\t\t\tif( !item.getEnabled() ) {\n\t\t\t\tenabled = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\titem = item.getParent();\n\t\t}\n\t\treturn enabled;\n\t}", "title": "" }, { "docid": "941d9923f593a0355458eef31f01331a", "score": "0.51863664", "text": "public boolean puedeAtacar() {\n\t\treturn energia > 10;\n\t}", "title": "" }, { "docid": "35004337233c89c536d7487300b10a73", "score": "0.5186111", "text": "public boolean oRetornoAparaceu() {\n\t\tif (this.tipoRetorno.equals(\"vazio\") == false && this.temResultado == true) {\n\t\t\treturn true;\n\t\t}else if (this.tipoRetorno.equals(\"vazio\") == true && this.temResultado == false) {\n\t\t\treturn true;\n\t\t}else if (this.nomeMetodo.equals(\"principal\") == true && this.temResultado == false) {\n\t\t\tif (this.tipoRetorno.equals(\"vazio\") == true)\n\t\t\t\treturn true;\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"Erro! O metodo principal deve ser do tipo vazio\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t//System.out.println(\"Error! Esse metodo necessita de um resultado.\");\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b161ff4700d1e579439fbca3925edf85", "score": "0.51856744", "text": "public synchronized boolean depositar(){\n\n\t\tif(buff.size()==capacidad){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" } ]
efc87a9d7829f51ab9fa9f4bbc135db1
open the space and add its style
[ { "docid": "688de1dcfb59bae712b891954eac9996", "score": "0.0", "text": "public boolean open() {\n\t\tif (isOpen)\n\t\t\treturn true;\n\t\tisOpen = true;\n\t\tupdateText();\n\t\tif (isMine) {\n\t\t\tthis.btn.getStyleClass().add(flag? \"flag\":\"mine\");\n\t\t\tthis.btn.setMouseTransparent(true);\n\t\t}\n\t\telse if (minesAround>0) {\n\t\t\tthis.btn.getStyleClass().add(String.format(\"clicked%d\", minesAround));\n\t\t\t//this.setMouseTransparent(true);\n\t\t}\n\t\telse\n\t\t\tbtnFade();\n\t\tif (flag)\n\t\t\ttoggleFlag();\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "d0eb4f8e54f0cdc0b4279d4525735535", "score": "0.6173952", "text": "private void openStyle(String tag, TextStyle style, int start) {\n LinkedList<StyleMark> stack = styleStackMap.get(tag);\n\n if (stack == null) {\n stack = new LinkedList<>();\n styleStackMap.put(tag, stack);\n }\n\n stack.add(new StyleMark(style, start));\n }", "title": "" }, { "docid": "cf0ab3438d3aaca5511b7e95849436c2", "score": "0.60089624", "text": "Style createStyle();", "title": "" }, { "docid": "3d2273860c1e3ff944e390a5f3af3dc4", "score": "0.6005068", "text": "protected FormatCommand space() {\n return space(1);\n }", "title": "" }, { "docid": "8b10bdfdac59110b87f4be1bbbd8cd65", "score": "0.59765065", "text": "void addSpaces() {\n\t\tSystem.out.print(\" \");\n\t\tfor (int j = 0; j < 3; j++)\n\t\t\tSystem.out.print(\"| \");\n\t\tSystem.out.println(\"|\");\n\t}", "title": "" }, { "docid": "f0d2a0b4d39e68fce876839a85d7635d", "score": "0.5964534", "text": "public Style() {\n super.setSeparador(SEPARADOR);\n super.setSimboloIgual(SIMBOLO_IGUAL);\n super.setCaracterEncerrador(CARACTER_ENCERRADOR); \n }", "title": "" }, { "docid": "98fdb88ab5d63949534e9646f21ea84b", "score": "0.5862015", "text": "org.openxmlformats.schemas.drawingml.x2006.main.CTShapeStyle addNewStyle();", "title": "" }, { "docid": "122ff259353d1918e1961c2b50f17023", "score": "0.57975894", "text": "public void create(){\r\n\t\tsetEditable(false);\r\n\t\tgetCaret().setVisible(true);\r\n\t\tsetFont(new Font(\"Monospaced\",Font.PLAIN,12));\r\n\t\tsetMargin(new Insets(10,10,10,10));\r\n\t\tsetLineWrap(true);\r\n\t}", "title": "" }, { "docid": "55f21417a66d02167dea11bacd863647", "score": "0.5732656", "text": "public void addSpacing() {\n for(int i = 0; i < spaces; i++) {\n System.out.print(\" \");\n }\n }", "title": "" }, { "docid": "ba00cb538e6ea1e0fa45313ed258762f", "score": "0.5630418", "text": "private void inItContent() {\n String[] initString =\n {\"Use the mouse to place the caret.\",\n \"Use the edit menu to cut, copy, paste, and select text.\",\n \"Also to undo and redo changes.\",\n \"Use the style menu to change the style of the text.\",\n \"Use the arrow keys on the keyboard or these emacs key bindings to move the caret:\",\n \"Ctrl-f, Ctrl-b, Ctrl-n, Ctrl-p.\"};\n\n // define how to add in style\n SimpleAttributeSet[] attributeSet = new SimpleAttributeSet[initString.length]; // each string has its own attribute design\n attributeSet[0] = new SimpleAttributeSet();\n StyleConstants.setFontFamily(attributeSet[0],\"Arial\");\n StyleConstants.setFontSize(attributeSet[0], 16);\n attributeSet[1] = new SimpleAttributeSet(attributeSet[0]); // on top of having [0] attributes\n StyleConstants.setBold(attributeSet[1], true);\n attributeSet[2] = new SimpleAttributeSet(attributeSet[0]);\n StyleConstants.setItalic(attributeSet[2], true);\n attributeSet[3] = new SimpleAttributeSet(attributeSet[0]);\n StyleConstants.setFontSize(attributeSet[3], 26);\n attributeSet[4] = new SimpleAttributeSet(attributeSet[0]);\n StyleConstants.setBackground(attributeSet[4], Color.YELLOW);\n attributeSet[5] = new SimpleAttributeSet(attributeSet[0]);\n StyleConstants.setForeground(attributeSet[5], Color.RED);\n\n // use abstractDocument.insertString to insert string with its defined style\n for (int i = 0; i <initString.length; i++) {\n try {\n doc.insertString(doc.getLength(), initString[i] + \"\\n\",attributeSet[i]);\n } catch (BadLocationException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "768a39b785c00f8f9f1415bbad824853", "score": "0.55258787", "text": "boolean addStyleRange(StyleRange styleRange);", "title": "" }, { "docid": "d5e84c655b1429e610a24b8e2ce5cf79", "score": "0.5519387", "text": "private void indentSpaces(int numSpaces){\r\n for(int i = 0; i < numSpaces; i++){\r\n System.out.print(\" \");\r\n }\r\n }", "title": "" }, { "docid": "3bf6e2c6eb66cf0d2b671f4e6c3732bf", "score": "0.55000395", "text": "public void indent() {\n this.indent++;\n spacer += sp;\n }", "title": "" }, { "docid": "0d36ab10b94f3837035117939825c14e", "score": "0.5476045", "text": "private String printSpace(Space space) {\n int height = space.getHeight().getValue();\n String heightString;\n if (height == 10) {\n heightString = \"X\"; // dome\n } else {\n heightString = String.valueOf(height);\n }\n\n String colorStart = \"\"; // escape sequences for player workers color\n String colorEnd = \"\\u001b[0m\"; // reset color of following characters\n Worker occupied = space.getWorker();\n if (occupied != null) {\n colorStart = occupied.getOwner().getColor().getSequence();\n }\n\n return colorStart + heightString + colorEnd;\n }", "title": "" }, { "docid": "02701fd8f4a0accd0d35378254c0e883", "score": "0.5458825", "text": "private void printSpace(int level) {\n//\t\tif(level != 0){\n//\t\t\tSystem.out.print(\"\\u2514\");\n//\t\t}\n\t\tfor(int i = 0; i<level; i++){\n\t\t\tSystem.out.print(\"--\");\n\t\t}\n\t}", "title": "" }, { "docid": "40d5013bae770f2d6bb67aeaffb54397", "score": "0.5400812", "text": "private void initializeRightSpaces() {\n\t\t\n\t}", "title": "" }, { "docid": "03046e1c4b0fae8333d50fe4c725ca96", "score": "0.5385486", "text": "private void addStyles() {\n styles.add(factory.makeStyleVo(0, 2, \"ALIGN_CENTER\", \"VERTICAL_CENTER\", null, true));\n // 1 = BLACK font with SIZE 11 and GREY LIGHT background color\n styles.add(factory.makeStyleVo(0, 2, \"ALIGN_CENTER\", \"VERTICAL_CENTER\", null, true));\n // 2 = BLACK font with SIZE 10 and WHITE background color\n styles.add(factory.makeStyleVo(1, 1, \"ALIGN_RIGHT\", \"VERTICAL_CENTER\", DEFAULT_NUMBER_FORMAT, true));\n // 3 = BLACK font with SIZE 10 and ODD background color\n styles.add(factory.makeStyleVo(1, 2, \"ALIGN_RIGHT\", \"VERTICAL_CENTER\", DEFAULT_NUMBER_FORMAT, true));\n // 4 = BLACK font with SIZE 10 and WHITE background color\n styles.add(factory.makeStyleVo(1, 1, \"ALIGN_LEFT\", \"VERTICAL_CENTER\", null, true));\n // 5 = BLACK font with SIZE 10 and ODD background color\n styles.add(factory.makeStyleVo(1, 2, \"ALIGN_LEFT\", \"VERTICAL_CENTER\", null, true));\n // 6 = BLACK font with SIZE 10 and GREY LIGHT background color\n styles.add(factory.makeStyleVo(1, 4, \"ALIGN_RIGHT\", \"VERTICAL_CENTER\", DEFAULT_NUMBER_FORMAT, true));\n // 7 = BLACK font with SIZE 10 and GREY LIGHT background color\n styles.add(factory.makeStyleVo(1, 4, \"ALIGN_LEFT\", \"VERTICAL_CENTER\", null, true));\n // 8 = BLACK font with SIZE 10 and WHITE background color\n styles.add(factory.makeStyleVo(1, 1, \"ALIGN_RIGHT\", \"VERTICAL_CENTER\", null, false));\n // 9 = BLACK font with SIZE 10 and WHITE background color\n styles.add(factory.makeStyleVo(1, 1, \"ALIGN_LEFT\", \"VERTICAL_CENTER\", null, false));\n }", "title": "" }, { "docid": "0c5497b9fb78fbca08f8f048c7ecbfd4", "score": "0.5376959", "text": "void writeSpace() throws FormatterException;", "title": "" }, { "docid": "ee77e8b0e7ecde4a217ab6140e66810c", "score": "0.53492266", "text": "protected FormatCommand indent() {\n return indent(1);\n }", "title": "" }, { "docid": "ce0b9f5079fad6a1eeda75b61d89f827", "score": "0.5335273", "text": "ECells with(Style style);", "title": "" }, { "docid": "0f71289df96af839af43693fe978ef14", "score": "0.5296166", "text": "private void insertSpace(final int index)\n {\n mWidget.replaceCharacters(index, index, \" \");\n //we place the cursor after the inserted space\n mEditText.setCursorIndex(index+1);\n }", "title": "" }, { "docid": "bc7028f42e1dd77febfb7c390b9fc647", "score": "0.52959055", "text": "public void drawSpace() {\n noStroke();\n fill(getColor());\n rect(this.x * spaceSize, this.y * spaceSize,\n spaceSize, spaceSize);\n }", "title": "" }, { "docid": "16fe8de4268ee628a11f216c2515f990", "score": "0.52946633", "text": "private void printBottomOfSpaces() {\n System.out.print(\" |\"); //indent plus left border of space\n for (char x = 'a'; x < ('a' + chessboard.getXDimension()); x++) {\n System.out.print(\"______|\");\n }\n System.out.println();\n }", "title": "" }, { "docid": "c2b9e5241316cf95c235a370e9fb27b0", "score": "0.52850676", "text": "protected void openStyle(DOMOutputBuffer dom,\n StyleAttributes attributes) {\n }", "title": "" }, { "docid": "61a6a6c87ecadf052ce5862bafdcba23", "score": "0.52637786", "text": "protected Widget createSpacer() {\n\t\treturn new HTML(\"&nbsp;&nbsp;\");\n\t}", "title": "" }, { "docid": "40fb00488dc55d51010e1dbfd822f2ac", "score": "0.52622974", "text": "private void initializeLeftSpaces() {\n\t\t\n\t}", "title": "" }, { "docid": "672ed78ee4c26b3bed7f487f59e66cd3", "score": "0.5257668", "text": "public void addLotSpace(int s){\n this.spaces = spaces + s;\n }", "title": "" }, { "docid": "4862aadf297df5e749aa60d51f375b4f", "score": "0.5245123", "text": "public Style(String cadena_style) {\n this();\n setStyle(cadena_style);\n }", "title": "" }, { "docid": "2ba322faaa8c2455ade0bc23cda88c6f", "score": "0.5230535", "text": "private int getWindowDecorationStyle() {\r\n return getRootPane().getWindowDecorationStyle();\r\n }", "title": "" }, { "docid": "d7cfe75051dd30ba55ef6c0c353e29eb", "score": "0.5220341", "text": "protected void openStyleMarker(DOMOutputBuffer dom,\n StyleContainer attributes) {\n dom.openStyledElement(CSSConstants.STYLE_ELEMENT, attributes);\n }", "title": "" }, { "docid": "f74b3d348e951a01463a9c9bcee77bf8", "score": "0.52056026", "text": "Decoration createDecoration();", "title": "" }, { "docid": "ba09cbd27f4b8dfbf51159c06d929652", "score": "0.5200712", "text": "private void style() {\n\t\tMyResource.INSTANCE.getStlUIMenu().ensureInjected();\n\t\tWindow.setMargin(\"0px\");\n\t\tsetHeightContainer(105);\n\t\t//container.setHeight((height - 84) + \"px\");\n\t\t//scrollPanel.setWidth(\"100%\");\n\t\t//scrollPanel.setHeight(\"100%\");\n\t\t//cellList.addStyleName(MyResource.INSTANCE.getStlUIMenu().cellList());\n\t}", "title": "" }, { "docid": "b123fc936690eb625b8ffc53fd27d721", "score": "0.5199632", "text": "private void setTextAndSpace(){\n division.setLayoutX(300);\n division.setLayoutY(190);\n division.setStyle(\"-fx-font: 20px futura; -fx-text-fill: #16284f\");\n division.setFont(new Font(20));\n getChildren().add(division);\n\n //Add extra space to visualize complete in scroll panel\n if(number == 1) {\n Line l = new Line();\n l.setStartY(420);\n l.setStartX(0);\n l.setEndY(420);\n l.setEndX(0);\n getChildren().add(l);\n }\n }", "title": "" }, { "docid": "6230d87c20b9fafe83d8ecf51efb3bab", "score": "0.51970106", "text": "private void editDocument()\n\t{\n\t\tcomputeObjects();\n\t StyleContext sc = StyleContext.getDefaultStyleContext();\n\t javax.swing.text.AttributeSet aset = (javax.swing.text.AttributeSet) sc.addAttribute(SimpleAttributeSet.EMPTY, StyleConstants.Foreground, Color.magenta);\n\t javax.swing.text.AttributeSet asetObject = (javax.swing.text.AttributeSet) sc.addAttribute(SimpleAttributeSet.EMPTY, StyleConstants.Foreground, Color.blue);\n\t String txt = null;\n\t\ttry {\n\t\t\ttxt = document.getText(0, document.getLength());\n\t\t} catch (BadLocationException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t for(int i=0;i<txt.length();i++)\n\t {\t\n\t \ttry \n\t \t{\n\t \t\tfor(int j=0;j<objects.length;j++)\n\t \t\t{\n\t \t\t\tif(txt.substring(i,i+objects[j].length()).equals(objects[j]) && (txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || i==0 || txt.charAt(i-1)==';' || txt.charAt(i-1)=='\\t') && (txt.charAt(i+objects[j].length())==' '||txt.charAt(i+objects[j].length())=='('))\n\t \t\t\t\tdocument.setCharacterAttributes(i, objects[j].length(),asetObject,false);\n\t \t\t}\n\t\t\t\tif(txt.substring(i,i+5).equals(\"class\") && (txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || i==0 || txt.charAt(i-1)==';' || txt.charAt(i-1)=='\\t') && txt.charAt(i+5)==' ' )\n\t\t\t\t\tdocument.setCharacterAttributes(i, 5, aset, false);\n\t\t\t\tif(txt.substring(i,i+6).equals(\"public\") && (i==0 ||txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || txt.charAt(i-1)==';' || txt.charAt(i-1)=='\\t') && txt.charAt(i+6)==' ')\n\t\t\t\t\tdocument.setCharacterAttributes(i, 6, aset, false);\n\t\t\t\tif(txt.substring(i,i+7).equals(\"private\") && (i==0 ||txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || txt.charAt(i-1)==';'|| txt.charAt(i-1)=='\\t') && txt.charAt(i+7)==' ')\n\t\t\t\t\tdocument.setCharacterAttributes(i, 7, aset, false);\n\t\t\t\tif(txt.substring(i,i+9).equals(\"protected\") && (i==0 ||txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || txt.charAt(i-1)==';'|| txt.charAt(i-1)=='\\t') && txt.charAt(i+9)==' ')\n\t\t\t\t\tdocument.setCharacterAttributes(i, 9, aset, false);\n\t\t\t\tif(txt.substring(i,i+3).equals(\"for\")&& (i==0 ||txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || txt.charAt(i-1)==';'|| txt.charAt(i-1)=='\\t'))\n\t\t\t\t\tdocument.setCharacterAttributes(i, 3, aset, false);\n\t\t\t\tif(txt.substring(i,i+2).equals(\"if\")&& (i==0 ||txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || txt.charAt(i-1)==';'|| txt.charAt(i-1)=='\\t'))\n\t\t\t\t\tdocument.setCharacterAttributes(i, 2, aset, false);\n\t\t\t\tif(txt.substring(i,i+5).equals(\"while\")&& (i==0 ||txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || txt.charAt(i-1)==';'|| txt.charAt(i-1)=='\\t'))\n\t\t\t\t\tdocument.setCharacterAttributes(i, 5, aset, false);\n\t\t\t\tif(txt.substring(i,i+3).equals(\"try\")&& (i==0 ||txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || txt.charAt(i-1)==';'|| txt.charAt(i-1)=='\\t'))\n\t\t\t\t\tdocument.setCharacterAttributes(i, 3, aset, false);\n\t\t\t\tif(txt.substring(i,i+5).equals(\"catch\")&& (i==0 ||txt.charAt(i-1)==' '||txt.charAt(i-1)=='\\n' || txt.charAt(i-1)==';'|| txt.charAt(i-1)=='\\t'))\n\t\t\t\t\tdocument.setCharacterAttributes(i, 5, aset, false);\n\t\t\t} \n\t \tcatch (StringIndexOutOfBoundsException e) {}\n\t }\n\t }", "title": "" }, { "docid": "3832c4581603a3e87f008b16452d668a", "score": "0.51837814", "text": "public Cell<?> applySpacing (final Cell<?> cell) {\n\t\tcell.space(top, left, bottom, right);\n\t\treturn cell;\n\t}", "title": "" }, { "docid": "3b1c946e8e75610e2c263a51eb42116c", "score": "0.5179993", "text": "public StyleChangeDialog() {\r\n super(Dialog.D_OK_CANCEL, \"Choose Style\", Dialog.OK, null,\r\n Dialog.GLOBAL_STATUS);\r\n\r\n _borderStyle =\r\n new ObjectChoiceField(\"Border Style: \", _borderStyles, 0);\r\n _regionHorizontalAlign =\r\n new ObjectChoiceField(\"Horizontal Alignment: \",\r\n _horizontalAlignments, 0);\r\n _regionVerticalAlign =\r\n new ObjectChoiceField(\"Vertical Alignment: \",\r\n _verticalAlignments, 0);\r\n\r\n add(new SeparatorField());\r\n add(_borderStyle);\r\n add(_regionHorizontalAlign);\r\n add(_regionVerticalAlign);\r\n }", "title": "" }, { "docid": "235835387612b56ec691189493f2c20e", "score": "0.5176063", "text": "void addHyphens() {\n\t\tSystem.out.print(\" \");\n\t\tfor (int j = 0; j < 3; j++)\n\t\t\tSystem.out.print(\"+-----\");\n\t\tSystem.out.println(\"+\");\n\t}", "title": "" }, { "docid": "94ebd87c1c1685ac7bb03d3c2e0eece8", "score": "0.5150834", "text": "private void indent() {\n\t\tfor(int i = 0; i < indent; i++) {\n\t\t\tout.print(space);\n\t\t}\n\t}", "title": "" }, { "docid": "46546937082ba97f005865b4e31fd35f", "score": "0.51498246", "text": "private void colorDocument(int from, int length) {\n while (from < length) {\n int to = ((from / smsLength) + 1) * smsLength - 1;\n to = to<length-1?to:length-1;\n doc.setCharacterAttributes(from,to-from+1,getStyle(from),false);\n from = to + 1;\n }\n }", "title": "" }, { "docid": "84cca2f3d158447c3195431e207db6ce", "score": "0.5147256", "text": "protected FormatCommand outdent() {\n return outdent(1);\n }", "title": "" }, { "docid": "e7f0d97e2815ef9c68c8f05e2b56cb50", "score": "0.5146274", "text": "@Override\n\t\tpublic void run() {\n\t\t\tList<StyleRange> ranges = new ArrayList<>();\n\t\t\tString source = st.getText();\n\t\t\tColor black = Display.getDefault().getSystemColor(SWT.COLOR_BLACK);\n\t\t\tMatcher matcher = Pattern.compile(\"([a-zA-Z0-9]+\\\\.[a-zA-Z0-9]+)(\\\\r)?\\\\n\").matcher(source);\n\t\t\twhile (matcher.find()) {\n\t\t\t\tint start = matcher.start(1);\n\t\t\t\tint end = matcher.end(1);\n\t\t\t\tranges.add(new StyleRange(start, end-start, black, null, SWT.BOLD));\n\t\t\t}\n\t\t\tst.setStyleRanges(ranges.toArray(new StyleRange[] {}));\t\t\t\n\t\t}", "title": "" }, { "docid": "c5eab903222889124a7caafc8ef9ba9b", "score": "0.51454157", "text": "@Override\n\tpublic void insertStringInPane(int size, String text, Color cl) {\n\t\tStyledDocument doc = (StyledDocument) taShow.getDocument();\n\n\t // Create a style object and then set the style attributes\n\t Style style = doc.addStyle(\"Sty\", null);\n\t StyleConstants.setFontSize(style, size);\n\t StyleConstants.setForeground(style,cl);\n\n\t try {\n\t\t\tdoc.insertString(doc.getLength(), text, style);\n\t\t} catch (BadLocationException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tSystem.out.println(e);\n\t\t}\n\t \n\t}", "title": "" }, { "docid": "bb2e3b8658760f9a3a7de9842181e44e", "score": "0.5143914", "text": "public Space() { super(GeneratorConstants.SPACE); }", "title": "" }, { "docid": "550adca685c7abc96905b063e4ceffb1", "score": "0.5098095", "text": "public GroupStyle() \r\n {\r\n }", "title": "" }, { "docid": "c607301b0902ebbfc83e2b5478b64e46", "score": "0.5093622", "text": "public static void drawSpaces(int numSpaces)\r\n {\r\n for (int i=1; i<numSpaces; i++)\r\n {\r\n System.out.print(\" \");\r\n }\r\n }", "title": "" }, { "docid": "af778aef81b6956f7e0b645b2857e1a6", "score": "0.508734", "text": "private static String addSpacing(String value) {\r\n\t\treturn value.replace(\"\\n\", \"\\n\"+spacing);\r\n\t}", "title": "" }, { "docid": "40a6f282efbb632757072c2eb53ceef7", "score": "0.50651383", "text": "private void startStyle(Attributes paramAttributes) throws SAXException {\n/* 405 */ String str = null;\n/* */ \n/* 407 */ this._style = null;\n/* 408 */ for (int i = paramAttributes.getLength() - 1; i >= 0; i--) {\n/* 409 */ String str1 = paramAttributes.getQName(i);\n/* 410 */ if (str1.equals(\"clone\")) {\n/* 411 */ this\n/* */ \n/* 413 */ ._style = (ParsedSynthStyle)((ParsedSynthStyle)lookup(paramAttributes.getValue(i), ParsedSynthStyle.class)).clone();\n/* */ }\n/* 415 */ else if (str1.equals(\"id\")) {\n/* 416 */ str = paramAttributes.getValue(i);\n/* */ } \n/* */ } \n/* 419 */ if (this._style == null) {\n/* 420 */ this._style = new ParsedSynthStyle();\n/* */ }\n/* 422 */ register(str, this._style);\n/* */ }", "title": "" }, { "docid": "d4e8b743515859a4753a43f60e7f7de7", "score": "0.5040792", "text": "static WParagraphStyle createParagraphStyle(WordDocument document) throws Exception {\n\n\t\t// Applying the styles\n\t\tWParagraphStyle style = (WParagraphStyle) document.addParagraphStyle(\"Normal\");\n\t\tWCharacterFormat characterFormat = style.getCharacterFormat();\n\t\tWParagraphFormat paragraphFormat = style.getParagraphFormat();\n\n\t\tappendCharacterFormatToText(style.getCharacterFormat(), 11f, \"Calibri\");\n\t\tparagraphFormat.setBeforeSpacing((float) 0);\n\t\tparagraphFormat.setAfterSpacing((float) 8);\n\t\tparagraphFormat.setLineSpacing(13.8f);\n\t\tstyle = (WParagraphStyle) document.addParagraphStyle(\"Heading 1\");\n\n\t\tcharacterFormat = style.getCharacterFormat();\n\t\tparagraphFormat = style.getParagraphFormat();\n\t\tstyle.applyBaseStyle(\"Normal\");\n\n\t\tappendCharacterFormatToText(style.getCharacterFormat(), 16f, \"Calibri Light\");\n\t\tcharacterFormat.setTextColor((ColorSupport.fromArgb(46, 116, 181)).clone());\n\t\tparagraphFormat.setBeforeSpacing((float) 12);\n\t\tparagraphFormat.setAfterSpacing((float) 0);\n\t\tparagraphFormat.setKeep(true);\n\t\tparagraphFormat.setKeepFollow(true);\n\t\tparagraphFormat.setOutlineLevel(OutlineLevel.Level1);\n\t\treturn style;\n\t}", "title": "" }, { "docid": "cad48189ae57ab0a725061dd8bbcd40f", "score": "0.5037054", "text": "Separator createSeparator();", "title": "" }, { "docid": "e0c01357d54b2f1885dec94d878c06da", "score": "0.5031608", "text": "private Style getStyle(int offset) {\n if ((offset / smsLength) % 2 == 0) //even sms\n return regular;\n else\n return highlight;\n }", "title": "" }, { "docid": "fc760e4437f325a039f1ed9d1ae49521", "score": "0.50288224", "text": "public JMenuItemPad() {\r\n\t\tthis(0, 0, 0, 0, null, \"\");\r\n\t\tthis.setCursor(new Cursor(Cursor.HAND_CURSOR));\r\n\t}", "title": "" }, { "docid": "21c159aa7c8b7f023a05f490a8fd377a", "score": "0.50251585", "text": "public void insert( int position, String text, String styleClass ) {\r\n replace( position, position, text, Collections.singleton( styleClass ) );\r\n }", "title": "" }, { "docid": "dd8e96a0d784b4d6813bd24bb12b6a1e", "score": "0.50188893", "text": "public void printSpaces(int height, int lvl){\n\t\tfor(int i=0; i<height-lvl; i++){\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}", "title": "" }, { "docid": "8ab86c939ba4c85d04e717630c41a951", "score": "0.501466", "text": "public static String spacer(int spaces){\n\n StringBuilder html = new StringBuilder();\n\n for(int i=0;i<spaces;i++){\n html.append(\"&nbsp;\");\n }\n\n return html.toString();\n\n }", "title": "" }, { "docid": "a94f3075a2cfe91145f458b976e84b35", "score": "0.5010913", "text": "public void addStyle(String name, Object value);", "title": "" }, { "docid": "300341fde62d146a95a24ce142eb222b", "score": "0.5005788", "text": "org.openxmlformats.schemas.drawingml.x2006.main.CTTableStyleTextStyle addNewTcTxStyle();", "title": "" }, { "docid": "6083c1dcb1380401e14b08efa18a94c0", "score": "0.5001726", "text": "public void format() throws IOException {\n/* 175 */ if (this.textContent != null && !this.textContent.getParagraphs().isEmpty()) {\n/* */ \n/* 177 */ boolean isFirstParagraph = true;\n/* 178 */ for (PlainText.Paragraph paragraph : this.textContent.getParagraphs()) {\n/* */ \n/* 180 */ if (this.wrapLines) {\n/* */ \n/* 182 */ List<PlainText.Line> lines = paragraph.getLines(this.appearanceStyle\n/* 183 */ .getFont(), this.appearanceStyle\n/* 184 */ .getFontSize(), this.width);\n/* */ \n/* */ \n/* 187 */ processLines(lines, isFirstParagraph);\n/* 188 */ isFirstParagraph = false;\n/* */ \n/* */ continue;\n/* */ } \n/* 192 */ float startOffset = 0.0F;\n/* */ \n/* */ \n/* */ \n/* 196 */ float lineWidth = this.appearanceStyle.getFont().getStringWidth(paragraph.getText()) * this.appearanceStyle.getFontSize() / 1000.0F;\n/* */ \n/* 198 */ if (lineWidth < this.width)\n/* */ {\n/* 200 */ switch (this.textAlignment) {\n/* */ \n/* */ case CENTER:\n/* 203 */ startOffset = (this.width - lineWidth) / 2.0F;\n/* */ break;\n/* */ case RIGHT:\n/* 206 */ startOffset = this.width - lineWidth;\n/* */ break;\n/* */ \n/* */ default:\n/* 210 */ startOffset = 0.0F;\n/* */ break;\n/* */ } \n/* */ }\n/* 214 */ this.contents.newLineAtOffset(this.horizontalOffset + startOffset, this.verticalOffset);\n/* 215 */ this.contents.showText(paragraph.getText());\n/* */ } \n/* */ } \n/* */ }", "title": "" }, { "docid": "0d24322415876b42fd0ad0265385a424", "score": "0.49993628", "text": "private static void appendStyle(StringBuilder builder, Expression expression, int red, int green, int blue) {\n\t\tDotUtils.appendStyle(builder, quotes(expression), red, green, blue);\n\t}", "title": "" }, { "docid": "e5b415f5e8168110b7f59caf56b33573", "score": "0.4994679", "text": "public void styleItem(android.widget.TextView r11) {\n /*\n r10 = this;\n com.google.android.material.shape.MaterialShapeDrawable r0 = new com.google.android.material.shape.MaterialShapeDrawable\n r0.<init>()\n com.google.android.material.shape.MaterialShapeDrawable r1 = new com.google.android.material.shape.MaterialShapeDrawable\n r1.<init>()\n com.google.android.material.shape.ShapeAppearanceModel r2 = r10.itemShape\n r0.setShapeAppearanceModel(r2)\n com.google.android.material.shape.ShapeAppearanceModel r2 = r10.itemShape\n r1.setShapeAppearanceModel(r2)\n android.content.res.ColorStateList r2 = r10.backgroundColor\n r0.setFillColor(r2)\n int r2 = r10.strokeWidth\n float r2 = (float) r2\n android.content.res.ColorStateList r3 = r10.strokeColor\n r0.setStroke(r2, r3)\n android.content.res.ColorStateList r2 = r10.textColor\n r11.setTextColor(r2)\n int r2 = android.os.Build.VERSION.SDK_INT\n r3 = 21\n if (r2 < r3) goto L_0x003a\n android.graphics.drawable.RippleDrawable r2 = new android.graphics.drawable.RippleDrawable\n android.content.res.ColorStateList r3 = r10.textColor\n r4 = 30\n android.content.res.ColorStateList r3 = r3.withAlpha(r4)\n r2.<init>(r3, r0, r1)\n goto L_0x003b\n L_0x003a:\n r2 = r0\n L_0x003b:\n android.graphics.drawable.InsetDrawable r9 = new android.graphics.drawable.InsetDrawable\n android.graphics.Rect r3 = r10.insets\n int r5 = r3.left\n android.graphics.Rect r3 = r10.insets\n int r6 = r3.top\n android.graphics.Rect r3 = r10.insets\n int r7 = r3.right\n android.graphics.Rect r3 = r10.insets\n int r8 = r3.bottom\n r3 = r9\n r4 = r2\n r3.<init>(r4, r5, r6, r7, r8)\n androidx.core.view.ViewCompat.setBackground(r11, r9)\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.material.datepicker.CalendarItemStyle.styleItem(android.widget.TextView):void\");\n }", "title": "" }, { "docid": "aa43174fbbe8e951b1b13c7d4fccd856", "score": "0.49778998", "text": "CSS createCSS();", "title": "" }, { "docid": "f6273e379cafb35e2baae2188d1f1966", "score": "0.49743983", "text": "private void initializeBottomSpaces() {\n\t\t\n\t}", "title": "" }, { "docid": "074b3e5557af0ff6bb0949fe645a4a64", "score": "0.4962754", "text": "private void defineStyles()\n {\n short fontHeight = 11;\n XSSFDataFormat format = m_Wrkbk.createDataFormat();\n \n //\n // Normal Font\n m_FontNorm = m_Wrkbk.createFont();\n m_FontNorm.setFontName(\"Arial\");\n m_FontNorm.setFontHeightInPoints(fontHeight);\n \n //\n // defines bold font\n m_FontBold = m_Wrkbk.createFont();\n m_FontBold.setFontName(\"Arial\");\n m_FontBold.setFontHeightInPoints(fontHeight);\n m_FontBold.setBold(true);\n \n //\n // defines style column header, left-justified\n m_StyleHdrLeft = m_Wrkbk.createCellStyle();\n m_StyleHdrLeft.setFont(m_FontBold);\n m_StyleHdrLeft.setAlignment(HorizontalAlignment.LEFT);\n m_StyleHdrLeft.setVerticalAlignment(VerticalAlignment.TOP);\n \n m_StyleTxtL = m_Wrkbk.createCellStyle();\n m_StyleTxtL.setAlignment(HorizontalAlignment.LEFT);\n \n m_StyleTxtC = m_Wrkbk.createCellStyle();\n m_StyleTxtC.setAlignment(HorizontalAlignment.CENTER);\n m_StyleTxtC.setWrapText(true);\n \n m_StyleInt = m_Wrkbk.createCellStyle();\n m_StyleInt.setAlignment(HorizontalAlignment.RIGHT);\n m_StyleInt.setDataFormat(format.getFormat(\"0\"));\n \n m_StyleDouble = m_Wrkbk.createCellStyle();\n m_StyleDouble.setAlignment(HorizontalAlignment.RIGHT);\n m_StyleDouble.setDataFormat(format.getFormat(\"#,##0.00\"));\n \n m_StyleDate = m_Wrkbk.createCellStyle();\n m_StyleDate.setAlignment(HorizontalAlignment.RIGHT);\n m_StyleDate.setDataFormat(format.getFormat(\"mm/dd/yyyy\"));\n }", "title": "" }, { "docid": "15336e7c6b9c87192ad4c442fa822e09", "score": "0.49605444", "text": "private String getNewEdgeStyle() {\n return \" -fx-stroke: \" + toRGBCode(Edge_Color_Picker) + \";\\n\";\n }", "title": "" }, { "docid": "1325927859da35779f2fde5f0733b367", "score": "0.49554807", "text": "protected String setStyle(String columnName) {\n String style = \"style=\\\"width: auto;\\\"\";\n\n if (columnName.equals(\"Rating\")) {\n style = \"style=\\\"width: 6.5em;\\\"\";\n }\n else if (columnName.equals(\"#\")) {\n style = \"style=\\\"width: 3.5em;\\\"\";\n }\n\n return style;\n }", "title": "" }, { "docid": "070318ac363ee8ece982555899281e3a", "score": "0.4954315", "text": "private StackPane generateText(String text, int width, int height, String color) {\n Text box = new Text(text);\n box.setWrappingWidth(width);\n box.setLineSpacing(height);\n box.setFont(FONT);\n StackPane border = new StackPane();\n border.setBackground(new Background(new BackgroundFill(Paint.valueOf(color), CornerRadii.EMPTY, Insets.EMPTY)));\n border.getChildren().add(box);\n border.setBorder(new Border(new BorderStroke(Color.BLACK, BorderStrokeStyle.SOLID, CornerRadii.EMPTY, BorderWidths.DEFAULT)));\n return border;\n }", "title": "" }, { "docid": "a21fa12abcf7445678366d1bb4fa8d4b", "score": "0.49509266", "text": "private void underlines(){\r\n\t\t\tLine[] blanks = new Line[currentWord.length()];\r\n\t\t\tint xStart = 375;\r\n\t\t\tint lineLength = 25;\r\n\t\t\tint lineSpacing = 35;\r\n\t\t\tfor (int i = 0; i < currentWord.length(); i++){\r\n\t\t\t\tint xcoord = xStart + (lineSpacing * i);\r\n\t\t\t\tblanks[i] = new Line(xcoord, 225, xcoord - lineLength, 225);\r\n\t\t\t\tblanks[i].setStroke(Color.BLACK);\r\n\t\t\t\tblanks[i].setStrokeWidth(3);\r\n\t\t\t\tchildren.add(blanks[i]);\r\n\t\t}\r\n\t\t\ttext = initText();\r\n\t}", "title": "" }, { "docid": "e85c9ead9b72a3f91efcab95de7a14b6", "score": "0.4950149", "text": "public void setStyle(int newStyle) {\n\t\tthis.style = newStyle;\n\t}", "title": "" }, { "docid": "e17f39e9a4faef2552e8b63ed215de6f", "score": "0.49447224", "text": "public void resetStyle() {\n System.out.println(CONTROL_CODE + 0 + STYLE);\n }", "title": "" }, { "docid": "aa413dd0da7ec0d8130bf1b5e7d41900", "score": "0.4944263", "text": "public int getStyle() {\n return -1;\n }", "title": "" }, { "docid": "fbfb21a7361ea56a194341ac2edadc59", "score": "0.49412993", "text": "org.openxmlformats.schemas.drawingml.x2006.main.CTTableStyleCellStyle addNewTcStyle();", "title": "" }, { "docid": "ecfe5c393588b25c7f3594bcda6d4bef", "score": "0.4935694", "text": "private String getNewMenuStyle() {\n return \" -fx-background-color: linear-gradient(#706e6a,\" + toRGBCode(Menu_Item_Color_Picker) + \");\";\n }", "title": "" }, { "docid": "d026ccba352108fac41bcf98ad0352f0", "score": "0.49265957", "text": "public Graphics2D setToStandardWidth(Graphics g) {\r\n\t\tGraphics2D g2 = (Graphics2D) g;\r\n\t\tg2.setStroke(new BasicStroke(STANDARD_LINE_WIDTH));\r\n\t\treturn g2;\r\n\t}", "title": "" }, { "docid": "0dc0dfe383a84f9258c834cb6413feef", "score": "0.49262345", "text": "private static native void nAddStyleRun(/* Non Zero */ long nativeBuilderPtr,\n /* Non Zero */ long paintPtr,\n @IntRange(from = 0) int start,\n @IntRange(from = 0) int end,\n boolean isRtl);", "title": "" }, { "docid": "316f6f30c042af0265085d0d614867f0", "score": "0.49240637", "text": "public void addSpace(Space theSpace) {\n spaces.add(theSpace);\n }", "title": "" }, { "docid": "7c10da8f83d0d6597b32ea4d9cec6cd2", "score": "0.49197108", "text": "private void initStyles() {\n\t\tmxStylesheet stylesheet = getStylesheet();\n\t\t\n\t\tHashtable<String, Object> nodeStyle = new Hashtable<String, Object>();\n\t\tnodeStyle.put(mxConstants.STYLE_SHAPE, mxConstants.SHAPE_ELLIPSE);\n\t\tnodeStyle.put(mxConstants.STYLE_PERIMETER, mxConstants.PERIMETER_ELLIPSE);\n\t\tnodeStyle.put(mxConstants.STYLE_OPACITY, 100);\n\t\tnodeStyle.put(mxConstants.STYLE_FONTCOLOR, \"#000000\");\n\t\tnodeStyle.put(mxConstants.STYLE_FILLCOLOR, \"#FFFFFF\");\n\t\tnodeStyle.put(mxConstants.STYLE_STROKECOLOR, \"#FF0000\");\n\t\tnodeStyle.put(mxConstants.STYLE_STROKEWIDTH, 2);\n\t\tstylesheet.putCellStyle(\"NODE\", nodeStyle);\n\t\t\n\t\tHashtable<String, Object> completeStyle = new Hashtable<String, Object>();\n\t\tcompleteStyle.put(mxConstants.STYLE_STROKECOLOR, \"#000000\");\n\t\tstylesheet.putCellStyle(\"COMPLETE\", completeStyle);\n\t\t\n\t\tHashtable<String, Object> currentStyle = new Hashtable<String, Object>();\n currentStyle.put(mxConstants.STYLE_FILLCOLOR, \"#00FF00\");\n stylesheet.putCellStyle(\"CURRENT\", currentStyle);\n \n Hashtable<String, Object> initialStyle = new Hashtable<String, Object>();\n initialStyle.put(mxConstants.STYLE_SHAPE, mxConstants.SHAPE_DOUBLE_ELLIPSE);\n stylesheet.putCellStyle(\"INITIAL\", initialStyle);\n\t\t\n\t\tMap<String, Object> edge = new HashMap<String, Object>();\n\t edge.put(mxConstants.STYLE_ROUNDED, true);\n\t edge.put(mxConstants.STYLE_ORTHOGONAL, false);\n\t edge.put(mxConstants.STYLE_SHAPE, mxConstants.SHAPE_CONNECTOR);\n\t edge.put(mxConstants.STYLE_ENDARROW, mxConstants.ARROW_CLASSIC);\n\t edge.put(mxConstants.STYLE_STROKECOLOR, \"#000000\");\n\t edge.put(mxConstants.STYLE_STROKEWIDTH, 2);\n\t edge.put(mxConstants.STYLE_FONTCOLOR, \"#000000\");\n\t edge.put(mxConstants.STYLE_EDGE, \"PETRI_STYLE\");\n\t \n\t edge.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_BOTTOM);\n edge.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_LEFT);\n stylesheet.putCellStyle(\"EDGE\", edge);\n\t\tgetStylesheet().setDefaultEdgeStyle(edge);\n\t\t\n\t\t// Label position styles\t\t\n\t\tMap<String, Object> alignTC = new HashMap<String, Object>();\n\t\talignTC.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_TOP);\n\t\talignTC.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_CENTER);\n stylesheet.putCellStyle(\"ALIGN_TC\", alignTC);\n \n Map<String, Object> alignTR = new HashMap<String, Object>();\n alignTR.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_TOP);\n alignTR.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_RIGHT);\n stylesheet.putCellStyle(\"ALIGN_TR\", alignTR);\n \n Map<String, Object> alignTL = new HashMap<String, Object>();\n alignTL.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_TOP);\n alignTL.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_LEFT);\n stylesheet.putCellStyle(\"ALIGN_TL\", alignTL);\n \n Map<String, Object> alignMR = new HashMap<String, Object>();\n alignMR.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_MIDDLE);\n alignMR.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_RIGHT);\n stylesheet.putCellStyle(\"ALIGN_MR\", alignMR);\n \n Map<String, Object> alignML = new HashMap<String, Object>();\n alignML.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_MIDDLE);\n alignML.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_LEFT);\n stylesheet.putCellStyle(\"ALIGN_ML\", alignML);\n \n Map<String, Object> alignBC = new HashMap<String, Object>();\n alignBC.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_BOTTOM);\n alignBC.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_CENTER);\n stylesheet.putCellStyle(\"ALIGN_BC\", alignBC);\n \n Map<String, Object> alignBR = new HashMap<String, Object>();\n alignBR.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_BOTTOM);\n alignBR.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_RIGHT);\n stylesheet.putCellStyle(\"ALIGN_BR\", alignBR);\n \n Map<String, Object> alignBL = new HashMap<String, Object>();\n alignBL.put(mxConstants.STYLE_VERTICAL_ALIGN, mxConstants.ALIGN_BOTTOM);\n alignBL.put(mxConstants.STYLE_ALIGN, mxConstants.ALIGN_LEFT);\n stylesheet.putCellStyle(\"ALIGN_BL\", alignBL);\n\t}", "title": "" }, { "docid": "3c0289dc8c87f678135aad1dada3cc70", "score": "0.48871443", "text": "public MStyles(ANode parent) {\n\t\tthis(parent, -1);\n\t}", "title": "" }, { "docid": "2ff27a52ac2c5a7177c0f161f1a1b5b5", "score": "0.4883454", "text": "boolean isStyled();", "title": "" }, { "docid": "087a4f58d0e7ad79c2393b49b7cdd489", "score": "0.48784938", "text": "public final String getStyle() {\r\n return (style);\r\n }", "title": "" }, { "docid": "21b8c76a2e4a018efd089a216b8f3367", "score": "0.48711976", "text": "public void addHighlight(CssStyle style, int start, int end)\r\n\t{\r\n\t\tHL h = new HL();\r\n\t\th.style = style;\r\n\t\th.start = start;\r\n\t\th.end = end;\r\n\t\thighlights.add(h);\r\n\t\trequestLayout();\r\n\t}", "title": "" }, { "docid": "4566626c76fff7f0baabe141b6d7d0cb", "score": "0.48666632", "text": "public void increaseIndentation() {\n\t\tindentationLevel++;\n\t}", "title": "" }, { "docid": "68e5f2b9cef0888ea6f400a0617e8edf", "score": "0.48553544", "text": "void printSpaces(int numSpaces) {\n\t\tfor (int i = 0; i < numSpaces; i++) {\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println(tokenSequence);\n\n\t\tfor (int i = 0; i < children.size(); i++) {\n\t\t\tchildren.get(i).printSpaces(numSpaces + 1);\n\t\t}\n\t}", "title": "" }, { "docid": "f01b44b67253a18527939dbf7a2e2d85", "score": "0.48523167", "text": "private void beautifyMe(ArrayList<ShapeDataObj> lst2) {\n\t\tlst2.get(0).setLineWidth(2);\n\t}", "title": "" }, { "docid": "5e62d78b3fe30b55811259d67b628cdc", "score": "0.484981", "text": "private void printTopOfSpaces(int row) {\n boolean fill; // true if space is colored in\n // odd rows start with a black space, even with a white space\n fill = (row % 2) == 1;\n\n System.out.print(\" |\"); //indent plus left border of space\n for (char x = 'a'; x < ('a' + chessboard.getXDimension()); x++) {\n if (fill) System.out.print(\"______|\");\n else System.out.print(\" |\");\n\n fill = !fill; // toggle fill\n }\n System.out.println();\n }", "title": "" }, { "docid": "5e7336d8607a0cee494649f0602da580", "score": "0.48496473", "text": "private String spaces(int amount) {\n\t\tspace = \" \";\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tspace = space + \" \";\n\t\t}\n\t\treturn space;\n\t}", "title": "" }, { "docid": "e003bc448984697b7097038e9760457c", "score": "0.4849586", "text": "private VizStyle(String longName, String shortName) { this.longName=longName; }", "title": "" }, { "docid": "5521834e0dcfda9e8c309c07947e45ec", "score": "0.48480958", "text": "protected void indentOnce ()\n\tthrows SAXException\n {\n int n = indentStep;\n char ch[] = new char[n];\n for (int i = 0; i < n; i++) {\n ch[i] = ' ';\n }\n characters(ch, 0, n);\n }", "title": "" }, { "docid": "0952eaf88e53c163397c1b41c4bda535", "score": "0.48392078", "text": "public void Header()\n {\n parent.fill(255,35,111);\n parent.rect(0,0,parent.width, 50);\n parent.fill(0);\n parent.stroke(0);\n parent.textSize(20);\n parent.textAlign(CENTER);\n parent.text(\" Header \", parent.width/2 , 30);\n\n }", "title": "" }, { "docid": "b7532cd3b93e4f7984e7f5f3d618b7d8", "score": "0.48376378", "text": "T withStyleName(String styleName);", "title": "" }, { "docid": "057323e53a21e9a125004dc4984495d3", "score": "0.4837136", "text": "public String getStyle()\n {\n return style;\n }", "title": "" }, { "docid": "7a89e8bff89540fa350d2663b0bc672c", "score": "0.48238185", "text": "@Override\n\tprotected void getStyleXML(StringBuilder sb) {\n\t\tsuper.getStyleXML(sb);\n\n\t\t// allowOutlyingIntersections\n\t\tsb.append(\"\\t<outlyingIntersections val=\\\"\");\n\t\tsb.append(allowOutlyingIntersections);\n\t\tsb.append(\"\\\"/>\\n\");\n\n\t\t// keepTypeOnGeometricTransform\n\t\tsb.append(\"\\t<keepTypeOnTransform val=\\\"\");\n\t\tsb.append(keepTypeOnGeometricTransform);\n\t\tsb.append(\"\\\"/>\\n\");\n\n\t\tsb.append(\"\\t<startStyle val=\\\"\");\n\t\tsb.append(startStyle.toString());\n\t\tsb.append(\"\\\"/>\\n\");\n\n\t\tsb.append(\"\\t<endStyle val=\\\"\");\n\t\tsb.append(endStyle.toString());\n\t\tsb.append(\"\\\"/>\\n\");\n\t}", "title": "" }, { "docid": "0f9efde1ce1ac3993de8fc0a9c59b765", "score": "0.48237136", "text": "public void draw(GC gc, StyledText textWidget, int offset, int length) {\n\t\tif(gc.getBackground()==color) {\n\t\t\treturn;\n\t\t}\n\t\tgc.setBackground(color);\n\t\tgc.setAlpha(50);\n\t\t\n\t\tPoint lineStart = textWidget.getLocationAtOffset(offset);\n\t\tint nextLineOffset = textWidget.getOffsetAtLine(textWidget.getLineAtOffset(offset)+1);\n\t\tPoint nextLineStart = textWidget.getLocationAtOffset(nextLineOffset);\n\t\tPoint lastLineEnd = textWidget.getLocationAtOffset(offset+length);\n\t\t\n\t\t//a single line is highlighted...\n\t\tif(nextLineOffset>offset+length){\n\t\t\tgc.fillRectangle(lineStart.x,lineStart.y,lastLineEnd.x-lineStart.x,textWidget.getLineHeight());\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t//the first line is highlighted, and then some \n\t\tgc.fillRectangle(lineStart.x,lineStart.y,textWidget.getBounds().width,textWidget.getLineHeight());\n\t\t\n\t\t//the last line is highlighted\n\t\tgc.fillRectangle(0,lastLineEnd.y,lastLineEnd.x,textWidget.getLineHeight());\n\t\t\n\t\tif(nextLineStart.y>=lastLineEnd.y)\n\t\t\treturn;\n\t\t\n\t\t//the first, last, and some in between is highlighted \n\t\t\n\t\tgc.fillRectangle(0,nextLineStart.y,textWidget.getBounds().width,lastLineEnd.y-nextLineStart.y);\n\t}", "title": "" }, { "docid": "f7324459d1ae341fadad575a6588a225", "score": "0.4821991", "text": "public String getStyle(){\r\n return styleName;\r\n }", "title": "" }, { "docid": "ef6ce10a5cc9b59e2194f2d91c5ee8df", "score": "0.48183212", "text": "public String getCadenaStyle() {\n String cadena = super.getCadenaAtributos();\n return cadena;\n }", "title": "" }, { "docid": "67cb17fa0ff452e8b0bea1a116e03624", "score": "0.48149514", "text": "private void appendToPane(JTextPane tp, String msg, Color c) {\n chatText2.setEditable(true);\n StyleContext sc = StyleContext.getDefaultStyleContext();\n AttributeSet aset = sc.addAttribute(SimpleAttributeSet.EMPTY, StyleConstants.Foreground, c);\n\n aset = sc.addAttribute(aset, StyleConstants.FontFamily, \"Lucida Console\");\n aset = sc.addAttribute(aset, StyleConstants.Alignment, StyleConstants.ALIGN_JUSTIFIED);\n\n int len = tp.getDocument().getLength();\n tp.setCaretPosition(len);\n tp.setCharacterAttributes(aset, false);\n tp.replaceSelection(msg);\n chatText2.setEditable(false);\n }", "title": "" }, { "docid": "30ac209cbc47abd58c6b81a94d0b5e76", "score": "0.481171", "text": "public void actionPerformed(ActionEvent e)\n {\n \t int start = editorText.getSelectionStart();\n \t int end = editorText.getSelectionEnd();\n \t \n \t StyledDocument doc=editorText.getStyledDocument();\n \t\n\n \t if (start == end) { // No selection, cursor position.\n \t return;\n \t }\n \t if (start > end) { // Backwards selection?\n \t int life = start;\n \t start = end;\n \t end = life;\n \t } \n \t Style style = editorText.addStyle(\"annotated\", null);\n \t \n \t \n \t \n \t \n // Get the current font.\n Font textFont = editorText.getFont();\n\n // Retrieve the font name and size.\n String fontName = textFont.getName();\n int fontSize = textFont.getSize();\n\n // Start with plain style.\n int fontStyle = Font.PLAIN;\n\n // Determine which font is selected.\n if (monoItem.isSelected())\n fontName = \"Monospaced\";\n else if (serifItem.isSelected())\n fontName = \"Serif\";\n else if (sansSerifItem.isSelected())\n fontName = \"SansSerif\";\n\n // Determine whether italic is selected.\n if(e.getActionCommand().equals(\"italic\"))\n \t StyleConstants.setItalic(style, italicItem.isSelected());\n \n // Determine whether bold is selected.\n \n \n if(e.getActionCommand().equals(\"bold\"))\n \t StyleConstants.setBold(style, boldItem.isSelected());\n\n // Set the font as selected.\n \n doc.setCharacterAttributes(start, end - start, style, false);\n \n editorText.setFont(new Font(fontName, \n fontStyle, fontSize));\n }", "title": "" }, { "docid": "42885ff3c30cd94f0b0eec222c5d7a73", "score": "0.4811321", "text": "private boolean insertSpacesEnabled() {\n\t\tIPreferenceStore ps = new ScopedPreferenceStore(InstanceScope.INSTANCE,\n\t\t\t\t\"org.eclipse.ui.editors\");\n\t\tboolean enabled = ps.getBoolean(\"spacesForTabs\");\n\t\tLog.debug(enabled ? \"SpacesForTabs was enabled\" : \"SpacesForTabs was not enabled\");\n\t\treturn enabled;\n\t}", "title": "" }, { "docid": "bbc64d2af858dff7a62ac9ef6a36e99f", "score": "0.48092803", "text": "public SpacerButton( int w, int h, Color c ){\n\t\tsuper();\n\t\tthis.setPreferredSize( new Dimension( w, h ) );\n\t\tthis.setOpaque(true);\n\t\tthis.setBorderPainted(false);\n\t\tthis.setBorder( null );\n\t\tthis.setBackground( c );\n\t}", "title": "" }, { "docid": "7787560b84c823650c0a842ec3ec4525", "score": "0.4803619", "text": "public void setSpacesNum(int spacesNum) {\r\n this.spacesNum = spacesNum;\r\n }", "title": "" }, { "docid": "b4ad35b4b89a0bb1095f78f57731a32e", "score": "0.48028976", "text": "protected void doIndent ()\n\tthrows SAXException\n {\n\tif (indentStep > 0 && depth > 0) {\n\t int n = indentStep * depth;\n\t char ch[] = new char[n];\n\t for (int i = 0; i < n; i++) {\n\t\tch[i] = ' ';\n\t }\n\t characters(ch, 0, n);\n\t}\n }", "title": "" }, { "docid": "63886560c95346c7202364505d7dca6d", "score": "0.4802191", "text": "public void atc07SharedStyleDefintion();", "title": "" }, { "docid": "59419c02adbf88b9506537fd2d75f6bc", "score": "0.4792022", "text": "public Space(){\n super(800, 450, 1);\n prepare();\n }", "title": "" }, { "docid": "7dfa39d23366f2f6239a315fe067342f", "score": "0.47816184", "text": "private void printMiddleOfSpaces(int row) {\n boolean fill; // true if space is colored in\n // odd rows start with a black space, even with a white space\n fill = (row % 2) == 1;\n\n // indent plus row number plus left border of space\n System.out.print(\" \" + row + \" |\");\n for (char x = 'a'; x < ('a' + chessboard.getXDimension()); x++) {\n Piece temp = chessboard.at(x, row);\n if (temp == null) {\n // put underscores in the space if fill, spaces otherwise\n if (fill) System.out.print(\"______|\");\n else System.out.print(\" |\");\n }\n else { // print the piece in chess notation\n String str;\n if (fill) str = \"__\";\n else str = \" \";\n\n // place algebraic chess notation for the piece in the\n // middle of the space\n str += temp.colorNotation();\n str += temp.pieceNotation();\n\n if (fill) str += \"__|\";\n else str += \" |\";\n System.out.print(str);\n }\n fill = !fill; // toggle fill\n }\n System.out.println(\" \" + row);\n }", "title": "" } ]
c26a8c9ea088a6954c64fad31d413abb
display the correct state icon
[ { "docid": "3780cc85723234a73516ee45b71a71dc", "score": "0.86364555", "text": "private void displayStateIcon() {\r\n int newStateIcon = 0; // no state icon\r\n if (appState.getTrimState() == TRIM_ON)\r\n {\r\n newStateIcon = R.drawable.trimming_state;\r\n } else if (appState.getGamepadState() == GREC_RECORDING)\r\n {\r\n newStateIcon = R.drawable.gamepad_recording_state;\r\n } else if (appState.getGamepadState() == GREC_PLAYING)\r\n {\r\n newStateIcon = R.drawable.gamepad_playing_state;\r\n } else if (appState.getGamepadState() == GREC_PAUSED)\r\n {\r\n newStateIcon = R.drawable.gamepad_paused_state;\r\n } else if (appState.getGamepadState() == GREC_REWINDING)\r\n {\r\n newStateIcon = R.drawable.gamepad_rewinding_state;\r\n } else if (appState.getGamepadState() == GREC_ERASING)\r\n {\r\n newStateIcon = R.drawable.gamepad_erasing_state;\r\n }\r\n ImageView stateIconView = findViewById(R.id.image_id_state);\r\n stateIconView.setImageResource(newStateIcon);\r\n }", "title": "" } ]
[ { "docid": "9c88347bcd4eb2d6fe7bee61b9d778e9", "score": "0.71164834", "text": "public MaterialMenuDrawable.IconState getState();", "title": "" }, { "docid": "d92904e70467885c417d6d858f2c1944", "score": "0.67383295", "text": "@Override\n public void paintIcon(Component c, Graphics g, int x, int y) {\n state.paintIcon(c, g, x, y);\n }", "title": "" }, { "docid": "18fe42c4da3947fae802fe9e027e8041", "score": "0.65985394", "text": "public void setState(MaterialMenuDrawable.IconState state);", "title": "" }, { "docid": "21d26b2b14390d4ab0fc4bc0cad7f0ea", "score": "0.6571451", "text": "public String getStatusIcon() {\n return (isDone ? \"\\u2713\" : \"\\u2718\"); //return tick or X symbols\n }", "title": "" }, { "docid": "ed586319aaa0aecfad629ac81093df02", "score": "0.65546745", "text": "public String getStatusIcon() {\n return (isDone ? \"\\u2713\" : \"\\u2718\");\n //return tick or X symbols\n }", "title": "" }, { "docid": "5750bf0b2f4f5e729aa03f612a65a8b1", "score": "0.6526938", "text": "String getStatusIcon() {\n return (isDone ? \"✓\" : \"✘\");\n }", "title": "" }, { "docid": "98318f040d747a9ed233027b9a1d7bc9", "score": "0.650203", "text": "public void displayAppState() {\r\n displayBluetoothIcon();\r\n displayStateIcon();\r\n displayMessage();\r\n }", "title": "" }, { "docid": "63e79f8112a3f48d95c91147bc2c8576", "score": "0.64802647", "text": "public String getStatusIcon() {\n // return tick or X symbols\n return (isDone ? TICK : CROSS);\n }", "title": "" }, { "docid": "f7719bb67f73af422840ebeb975ae2df", "score": "0.64667416", "text": "public abstract ItemStack getDisplayIcon();", "title": "" }, { "docid": "2cb4f844d03e4cacf49ebcb8d5c5970d", "score": "0.643892", "text": "default boolean isShowIcon() {\n return true;\n }", "title": "" }, { "docid": "094b8659908267ba5e44980186e1ed16", "score": "0.6388229", "text": "public String getStatusIcon() {\n return (isDone ? \"X\" : \" \"); // mark done task with X\n }", "title": "" }, { "docid": "7e03b3cc9226ef3099c6bb3a9d821ad3", "score": "0.6379234", "text": "public String getStatusIcon() {\n return (this.isDone ? \"[X]\" : \"[ ]\");\n }", "title": "" }, { "docid": "00bff2f1fd27284e7676647b5e7b6bed", "score": "0.6314537", "text": "@Override\r\n public Image getOpenedIcon(int type)\r\n {\n return getIcon(type);\r\n }", "title": "" }, { "docid": "92533f0b0a3e3a4d6ce8a4e93b6e5e5a", "score": "0.6307126", "text": "private void displayBluetoothIcon() {\r\n ImageView bluetoothButton = findViewById(R.id.button_id_BLUETOOTH);\r\n int bluetoothStatusIcon = appState.getBluetoothState().getIconId();\r\n bluetoothButton.setImageResource(bluetoothStatusIcon);\r\n }", "title": "" }, { "docid": "b00c21e2502f74f5e4c967804c0cd522", "score": "0.62355727", "text": "public void switchFavouritesIcon(boolean state, View view) {\n ImageView icon = (ImageView) view.findViewById(R.id.favourite_icon);\n if (state) {\n icon.setImageResource(R.drawable.ic_star_filled);\n } else {\n icon.setImageResource(R.drawable.ic_star_empty);\n }\n }", "title": "" }, { "docid": "05a821863c1e43836759a262e714ed3f", "score": "0.6234322", "text": "@Override\n public void setCurrentState(int state, int position,int starNums) {\n ImageView ivStar = mViewGroup.findViewById(R.id.iv_star);\n switch (state) {\n case IRatingView.STATE_NONE:\n ivStar.setImageResource(R.drawable.icon_star_none);\n// textView.setText(\"none\");\n break;\n case IRatingView.STATE_HALF:\n ivStar.setImageResource(R.drawable.icon_star_half);\n\n// textView.setText(\"half\");\n break;\n case IRatingView.STATE_FULL:\n ivStar.setImageResource(R.drawable.icon_star_full);\n\n// textView.setText(\"full\");\n\n break;\n }\n }", "title": "" }, { "docid": "c6978b56f7c3011a08accaae9b62dd9d", "score": "0.61584765", "text": "public void animateState(MaterialMenuDrawable.IconState state);", "title": "" }, { "docid": "f22bd542ff74f756a8e4bed26e3913c8", "score": "0.6146514", "text": "private void updateIcon() {\n if (obj.isValid()) {\n Image icon = obj.getNodeDelegate().getIcon(BeanInfo.ICON_COLOR_16x16);\n if (icon != null) {\n putValue(Action.SMALL_ICON, new ImageIcon(icon));\n }\n }\n }", "title": "" }, { "docid": "80d9a0f8ed5b42830a502ebcd8aa6a8f", "score": "0.614381", "text": "protected void updateIcon(){\n\t\t\n\t\t// set the thing's icon to be the first animation frame\n\t\tthis.setPaletteItemIcon(new BufferedImage(OtherStuff.EDITOR_TILE_ICON_SIZE,OtherStuff.EDITOR_TILE_ICON_SIZE, BufferedImage.TYPE_INT_RGB));\n\t\tGraphics2D g2D = this.getPaletteItemIcon().createGraphics();\n\t\tAffineTransform xform = AffineTransform.getScaleInstance((double)((double)OtherStuff.EDITOR_TILE_ICON_SIZE/(double)OtherStuff.EDITOR_TILE_SIZE),(double)((double)OtherStuff.EDITOR_TILE_ICON_SIZE/(double)OtherStuff.EDITOR_TILE_SIZE));\n\t\tg2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);\n\t\tg2D.drawImage(this.getCurrentPaletteItem().getMainImage(), xform, null);\n\t\tg2D.dispose();\n\t\t\n\t\t//this.setPaletteItemIcon(_things.get(this.getCurrentIndex()).getIcon());\n\t\t\n\t}", "title": "" }, { "docid": "0e0acbfcab0e65d1c8c0f789ee572414", "score": "0.6124623", "text": "private void _createIcons() {\n\n TrDummyComponent dc = new TrDummyComponent();\n Image offImage = JrpImageLoad.getFromRes\n (dc, \"/edu/ucar/rap/titan/RdasControl/images/off_light_small.png\");\n Image onImage = JrpImageLoad.getFromRes\n (dc, \"/edu/ucar/rap/titan/RdasControl/images/on_light_small.png\");\n if (_normalState.equals(\"ON\")) {\n _normalIcon = new ImageIcon(onImage);\n _abnormalIcon = new ImageIcon(offImage);\n } else {\n _normalIcon = new ImageIcon(offImage);\n _abnormalIcon = new ImageIcon(onImage);\n }\n\n }", "title": "" }, { "docid": "8b5b40c9b4f98000f276150ff9df47f6", "score": "0.6087761", "text": "String getIcon();", "title": "" }, { "docid": "332f2e39f3c6771bbc346d2ae5ff1605", "score": "0.6087045", "text": "TextureRegion getActiveIcon();", "title": "" }, { "docid": "544ff903f7056e2e8c1b484b86109172", "score": "0.6081337", "text": "private void bluetoothIconStatus(String itor){\n\t\tif(itor == \"BLE connected\"){\n\t\t\tisConnectBlueTooth = true;\n\t\t\tbleConnect.setVisibility(View.VISIBLE);\n\t\t}\n\t\telse if(itor == \"BLE disconnected\"){\n\t\t\tisConnectBlueTooth = false;\n\t\t\tbleConnect.setVisibility(View.INVISIBLE);\n\t\t}\n\t}", "title": "" }, { "docid": "22bfc753bb650d510ed5bdf1736fd036", "score": "0.6073809", "text": "public void switchIcon() {\r\n isActive = true;\r\n SwingUtilities.invokeLater(new Runnable() {\r\n public void run() {\r\n if (trayIcon.getImage().equals(image)) {\r\n trayIcon.setImage(image2);\r\n } else {\r\n trayIcon.setImage(image);\r\n }\r\n }\r\n });\r\n }", "title": "" }, { "docid": "976494fccaf958be849dc6b869b73142", "score": "0.60617566", "text": "@Override\n public void paintIcon(Component c, Graphics g, int x, int y) {\n }", "title": "" }, { "docid": "ff1df97b2234e11c56cd334f7c0ba1bc", "score": "0.6021155", "text": "public void showUserType() {\n\n ImageIcon userNormal = new ImageIcon(getClass().getResource(\"../images/normalUser.png\"));\n Icon iconUserNormal = new ImageIcon(userNormal.getImage());\n\n ImageIcon userAdmin = new ImageIcon(getClass().getResource(\"../images/adminUser.png\"));\n Icon iconUserAdmin = new ImageIcon(userAdmin.getImage());\n\n GlobalsSingleton global = GlobalsSingleton.getInstance();\n \n if (global.getUserType().equals(\"Administrator\")){\n \n lbl_imageType.setIcon(iconUserAdmin);\n\n }\n \n else{\n\n lbl_imageType.setIcon(iconUserNormal);\n \n }\n\n }", "title": "" }, { "docid": "3ac3e9ab4074205d89bf71e42ac059c1", "score": "0.6017933", "text": "private void stateUICDOM(){\n\t\ttxtPhytoplanktonOption.setBackgroundDrawable(getResources().getDrawable( R.drawable.border_layout_switch));\n\t\ttxtPhytoplanktonOption.setTextColor(Color.parseColor(\"#FFFFFFFF\"));\t \n\t\ttxtCDOMOption.setBackgroundDrawable(getResources().getDrawable( R.drawable.border_layout_switch_selected));\n\t\ttxtCDOMOption.setTextColor(Color.parseColor(\"#FF000000\"));\n\t\tbPhytoplankton = false;\n\t}", "title": "" }, { "docid": "e34beb0fbfaf22210044298a1a6852b0", "score": "0.601383", "text": "public void showFigura(){\n setIcon( figura );\n }", "title": "" }, { "docid": "011b19455351134f67e887812c0e3cc8", "score": "0.5971568", "text": "boolean hasIcon();", "title": "" }, { "docid": "f0f565f804d2383eaa70188ecb930205", "score": "0.5925782", "text": "@Override\n\tpublic void showState() {\n\t\tSystem.out.println(\"æÒÏ·\");\n\t}", "title": "" }, { "docid": "c2bc15ab6b5164134947c474453967da", "score": "0.59211415", "text": "@Override\n\tpublic String getIcon() {\n\t\treturn this.getMenu().getIcon();\n\t}", "title": "" }, { "docid": "d6e1cac12251da7d2e80ae2ac6023510", "score": "0.59145266", "text": "java.lang.String getRewardIcon();", "title": "" }, { "docid": "34a0c5af8a4b4254c273a6892666e265", "score": "0.59045845", "text": "@Override\r\n\tpublic void updateLabel() {\n\t\tif(gamepiece != null) {\r\n\t\t\tgamepiece.updateLabel(this, lvNum);\r\n\t\t}\r\n\r\n\t\telse {\r\n\t\t\tif(goal != null) {\r\n\t\t\t\tImageIcon icon = createImageIcon(\"images/goal.png\");\r\n\t\t\t\tsetIcon(icon);\r\n\t\t\t} else if (portal != null) {\r\n\t\t\t\t//ImageIcon icon = createImageIcon(\"images/\" + lvNum + \"/portal.png\"); \r\n\t\t\t\tImageIcon icon = createImageIcon(\"images/magic1.png\");\r\n\t\t\t\tsetIcon(icon);\r\n\t\t\t} else {\r\n\t\t\t\tImageIcon icon = createImageIcon(\"images/floor.png\");\r\n\t\t\t\tsetIcon(icon);\r\n\t\t\t} \r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7c51d0abb5bffee1de46cc0bc067a23e", "score": "0.5870843", "text": "private void updateStatus () {\n var node = getTreeItem().getValue();\n if (!node.isGroup() && statusMap.containsKey (node.factory)) {\n var status = statusMap.get (node.factory);\n if (status.getState() == State.AVAILABLE) {\n label.setOpacity (1.0);\n var url = node.factory.getSourceUrl();\n if (url == null) {\n replaceStyle (icon, \".*-status\", \"available-status\");\n setIconAction (null);\n } // if\n else {\n replaceStyle (icon, \".*-status\", \"available-info-status\");\n setIconAction (event -> fireInfoRequest (node.factory));\n } // else\n } // if\n else if (status.getState() == State.UNAVAILABLE) {\n label.setOpacity (0.5);\n replaceStyle (icon, \".*-status\", \"disconnect-status\");\n setIconAction (null);\n } // else\n else if (status.getState() == State.ERROR) {\n label.setOpacity (0.5);\n replaceStyle (icon, \".*-status\", \"warning-status\");\n var errorMessage = status.getError().getMessage();\n if (errorMessage == null)\n errorMessage = \"Received \" + status.getError().getClass().getName() + \" error\";\n else\n errorMessage = errorMessage.replaceFirst (\"^[^:]+:\", \"\").trim();\n var message = \"Failed to initialize dataset access.\\n\" +\n errorMessage.replaceFirst (\"java\\\\.[^A-Z]+\\\\.\", \"\") + \".\";\n setIconAction (event -> showTooltip (event, message));\n } // else if\n } // if\n else {\n label.setOpacity (1.0);\n replaceStyle (icon, \".*-status\", \"available-status\");\n setIconAction (null);\n } // else\n }", "title": "" }, { "docid": "da76f2e655b53c9d2380fb13cede6fb9", "score": "0.58688605", "text": "public static String get(MobileIconState state) {\n return state.description;\n }", "title": "" }, { "docid": "31d6e33dcf253142965df0fcf5486ca8", "score": "0.58585215", "text": "public void show() {\n\t\tstate = true;\n\t}", "title": "" }, { "docid": "1db3f3fa4d147c60943112cb6293630b", "score": "0.5858171", "text": "@Override\n public String getDisplayName() {\n return icon.getName();\n }", "title": "" }, { "docid": "8d2a446253182c524f20d85ca6ae7913", "score": "0.5850524", "text": "public String getIcon() {return (icon);}", "title": "" }, { "docid": "cfb3bb0c6e91d9ae2a22a969913160b6", "score": "0.58480394", "text": "private void updateGlobalIcons() {\n }", "title": "" }, { "docid": "279aea77c823d7c45c5c6461ef7d2685", "score": "0.5837967", "text": "private void btnChangeState() {\n fav_btn.setEnabled(false);\n fav_btn.setText(\"Favourites\");\n fav_btn.setCompoundDrawablesWithIntrinsicBounds(R.drawable.ic_star_black_24dp, 0, 0, 0);\n }", "title": "" }, { "docid": "bb877b23cb2431b6a35a78e8148d1ca3", "score": "0.58299834", "text": "public void revealStatus() {\n\t\tsetBackground(text);\n\t\tturn.setForeground(backgroundShade);\n\t\tturnAnswer.setIcon(player1Icon);\n\t}", "title": "" }, { "docid": "f3a786d5a90bf62c9ef4526dac87bceb", "score": "0.5829574", "text": "TextureRegion getInactiveIcon();", "title": "" }, { "docid": "21ca06bff99bba0ec626660c9976b8dc", "score": "0.58243465", "text": "void changeFilteringIcon(boolean filtering);", "title": "" }, { "docid": "0ed4f21cbcb07c57507ddb9d9ef89bd7", "score": "0.58125466", "text": "public void showSmartkeyIcon(){\n\t\tif(ParentActivity.SmartKeyUse == CAN1CommManager.DATA_STATE_SMARTKEY_USE_ON)\n\t\t\tLayoutSmkIcon.setVisibility(View.VISIBLE);\n\t\telse\n\t\t\tLayoutSmkIcon.setVisibility(View.GONE);\n\t}", "title": "" }, { "docid": "11f759d679631ae16a12ad121ff6cb29", "score": "0.57953703", "text": "public void inactiveIcon() {\r\n isActive = false;\r\n SwingUtilities.invokeLater(new Runnable() {\r\n public void run() {\r\n trayIcon.setImage(inactiveImage);\r\n }\r\n });\r\n }", "title": "" }, { "docid": "0a7b06bbcbe35105952dc12b415399d2", "score": "0.5783434", "text": "@Override\r\n\tpublic void setImg(int state) {\n\t\t\r\n\t}", "title": "" }, { "docid": "a348d2b51e58ae824bf80018c205812c", "score": "0.5781804", "text": "@Override\n\tpublic IIcon getIcon(int side, int meta) {\n\t\tswitch (meta)\n\t\t{\n\t\tcase META_REAPPEARING_INACTIVE:\n\t\tdefault:\n\t\t\treturn TEX_REAPPEARING_INACTIVE;\n\t\tcase META_REAPPEARING_ACTIVE:\n\t\t\treturn TEX_REAPPEARING_ACTIVE;\n\t\tcase META_VANISH_INACTIVE:\n\t\t\treturn TEX_VANISH_INACTIVE;\n\t\tcase META_VANISH_ACTIVE:\n\t\t\treturn TEX_VANISH_ACTIVE;\n\t\tcase META_VANISH_LOCKED:\n\t\t\treturn TEX_VANISH_LOCKED;\n\t\tcase META_VANISH_UNLOCKED:\n\t\t\treturn TEX_VANISH_UNLOCKED;\n\t\tcase META_BUILDER_INACTIVE:\n\t\t\treturn TEX_BUILDER_INACTIVE;\n\t\tcase META_BUILDER_TIMEOUT:\n\t\t\treturn TEX_BUILDER_TIMEOUT;\n\t\tcase META_BUILDER_ACTIVE:\n\t\t\treturn TEX_BUILDER_ACTIVE;\n\t\tcase META_ANTIBUILDER:\n\t\t\treturn TEX_ANTIBUILDER;\n\t\tcase META_GHASTTRAP_INACTIVE:\n\t\t\tif (side >= 2)\n\t\t\t{\t\n\t\t\t\treturn TEX_GHASTTRAP_INACTIVE;\n\t\t\t}\n\t\t\telse if (side == 1)\n\t\t\t{\n\t\t\t\treturn TEX_GHASTTRAP_LID_INACTIVE;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn TFBlocks.towerWood.getIcon(side, 1);\n\t\t\t}\n\t\tcase META_GHASTTRAP_ACTIVE:\n\t\t\tif (side >= 2)\n\t\t\t{\t\n\t\t\t\treturn TEX_GHASTTRAP_ACTIVE;\n\t\t\t}\n\t\t\telse if (side == 1)\n\t\t\t{\n\t\t\t\treturn TEX_GHASTTRAP_LID_ACTIVE;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn TFBlocks.towerWood.getIcon(side, 1);\n\t\t\t}\t\n\t\tcase META_REACTOR_INACTIVE:\n\t\t\treturn TEX_REACTOR_INACTIVE;\n\t\tcase META_REACTOR_ACTIVE:\n\t\t\treturn TEX_REACTOR_ACTIVE;\n\t\t}\n\t}", "title": "" }, { "docid": "de535ae40903a225306da1579b1d94da", "score": "0.5781501", "text": "private JLabel getIsDisplayActive(int rowIdx, Object value)\n {\n if(immediateParent.getList().get(rowIdx).isActive())\n {\n ((JLabel)value).setIcon(Main_Window.Active_Schema_16x16_px);\n ((JLabel)value).setHorizontalAlignment(JLabel.CENTER);\n return ((JLabel) value);\n }\n else\n {\n ((JLabel)value).setIcon(Main_Window.Inactive_Schema_16x16_px);\n ((JLabel)value).setHorizontalAlignment(JLabel.CENTER);\n return ((JLabel) value);\n }\n }", "title": "" }, { "docid": "1ce29cd93026a6c44a2dc2f7e4dc28fe", "score": "0.5766406", "text": "void reset() {\n state = State.CLOSED;\n setIcon(ImageIcons.CLOSED.getResource());\n repaint();\n }", "title": "" }, { "docid": "70e69c78ab07ff0ec033dcb82ee6b05b", "score": "0.5742326", "text": "public Image getOpenedIcon(int type) {\n return getIcon(type);\n }", "title": "" }, { "docid": "783407b7f19eafa0a01342c4b846fcbc", "score": "0.57409215", "text": "public String getTypeIcon() {\n return \"T\";\n }", "title": "" }, { "docid": "93933d06bf3fe8682bd0579b7cde5f10", "score": "0.5735917", "text": "private void showSaveStatusByState(int i) {\n if (i != 1) {\n if (i != 2) {\n if (i == 3) {\n if (this.mIsSingleNetwork) {\n this.mSingleNetworkProcessingStatusView.setTextColor(Utils.getColorAttr(this.mActivity, 16844099));\n this.mSingleNetworkProcessingStatusView.setText(getString(C0017R$string.wifi_add_app_network_save_failed_summary));\n return;\n }\n this.mSummaryView.setTextColor(Utils.getColorAttr(this.mActivity, 16844099));\n this.mSummaryView.setText(getString(C0017R$string.wifi_add_app_network_save_failed_summary));\n }\n } else if (this.mIsSingleNetwork) {\n this.mSingleNetworkProcessingStatusView.setText(getString(C0017R$string.wifi_add_app_single_network_saved_summary));\n } else {\n this.mSummaryView.setText(getString(C0017R$string.wifi_add_app_networks_saved_summary));\n }\n } else if (this.mIsSingleNetwork) {\n this.mSingleNetworkProcessingStatusView.setTextColor(Utils.getColorAttr(this.mActivity, 16842808));\n this.mSingleNetworkProcessingStatusView.setText(getString(C0017R$string.wifi_add_app_single_network_saving_summary));\n this.mSingleNetworkProcessingStatusView.setVisibility(0);\n } else {\n this.mSummaryView.setTextColor(Utils.getColorAttr(this.mActivity, 16842808));\n this.mSummaryView.setText(getString(C0017R$string.wifi_add_app_networks_saving_summary, Integer.valueOf(this.mUiToRequestedList.size())));\n }\n }", "title": "" }, { "docid": "06e72ea218ab6a0a382fab01762aca31", "score": "0.57341886", "text": "public void setFavoriteIcon() {\n currFavoriteView = (ImageView) findViewById(R.id.isfavorite);\n if (currUnit.getIsFavorite()) {\n currFavoriteView.setImageResource(R.drawable.on_favorite);\n } else {\n currFavoriteView.setImageResource(R.drawable.off_favorite);\n }\n currFavoriteView.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n if (currUnit.getIsFavorite()) {\n currUnit.setIsFavorite(false);\n currFavoriteView.setImageResource(R.drawable.off_favorite);\n } else {\n currUnit.setIsFavorite(true);\n currFavoriteView.setImageResource(R.drawable.on_favorite);\n }\n\n }\n });\n\n }", "title": "" }, { "docid": "bc317845b2d32a98203ca876d63d62e9", "score": "0.5729321", "text": "private void toggleIcon(ListItemBinding bi, int position) {\n if (selectedItems.get(position, false)) {\n bi.lytImage.setVisibility(View.GONE);\n bi.lytChecked.setVisibility(View.VISIBLE);\n if (selectedIndex == position) selectedIndex = -1;\n } else {\n bi.lytImage.setVisibility(View.VISIBLE);\n bi.lytChecked.setVisibility(View.GONE);\n if (selectedIndex == position) selectedIndex = -1;\n }\n }", "title": "" }, { "docid": "ce37581483ed86e2bb08b14b488728fa", "score": "0.5727852", "text": "private void updateIcon() {\n BufferedImage image = new BufferedImage(iconWidth, iconHeight,\n BufferedImage.TYPE_INT_RGB);\n Graphics2D g2d = (Graphics2D) image.getGraphics();\n\n // turn antialiasing off\n g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_OFF);\n // we want fast rendering\n g2d.setRenderingHint(RenderingHints.KEY_RENDERING,\n RenderingHints.VALUE_RENDER_SPEED);\n\n // first draw white background to show semi-transparent color\n g2d.setColor(Color.WHITE);\n g2d.fillRect(0, 0, iconWidth, iconHeight);\n\n g2d.setColor(this.color);\n g2d.fillRect(0, 0, iconWidth, iconHeight);\n g2d.setColor(Color.GRAY);\n g2d.drawRect(0, 0, iconWidth - 1, iconHeight - 1);\n ImageIcon imageIcon = new ImageIcon(image);\n this.setIcon(imageIcon);\n g2d.dispose();\n }", "title": "" }, { "docid": "f94516a4f8fe095932ae90dd41d562cf", "score": "0.5711552", "text": "public void setStatusIcon(boolean b) {\n isDone = b;\n if (isDone) {\n num = 1;\n }\n }", "title": "" }, { "docid": "b8e9c3e893edb69f9607adac76607337", "score": "0.5710026", "text": "private void updateSecurityIcon() {\n mMediator.updateSecurityIcon(mLocationBarDataProvider.getSecurityIconResource(mIsTablet),\n mLocationBarDataProvider.getSecurityIconColorStateList(),\n mLocationBarDataProvider.getSecurityIconContentDescriptionResourceId());\n }", "title": "" }, { "docid": "4b0a9714d2d3753aeecc208988c7faf4", "score": "0.57051474", "text": "protected String iconResource () {\n return \"org/openide/resources/editorMode.gif\"; // NOI18N\n }", "title": "" }, { "docid": "8642011ca041fdfe03310f90b9e7f39a", "score": "0.57036537", "text": "@Override\n public String toString() {\n return this.LABEL + \": \" + this.state;\n }", "title": "" }, { "docid": "dcc696168edc23e6b7fb5d7e4c76e3d7", "score": "0.5700767", "text": "@Override\n\tpublic String getIcon() {\n\t\treturn _icon;\n\t}", "title": "" }, { "docid": "3cf6c14f24f929dfd215064e6fb79189", "score": "0.56978035", "text": "public void iconHandler(){\n\t\tif(tag == \"Ground\"){\n\t\t\ticon = new ImageIcon(\"3.png\");\n\t\t\tsetIcon(icon);\n\t\t}else if (tag == \"Wall\"){\n\t\t\ticon = new ImageIcon(\"1.png\");\n\t\t\tsetIcon(icon);\n\t\t}else if (tag == \"Enemy\"){\n\t\t\ticon = new ImageIcon(\"2.png\");\n\t\t\tsetIcon(icon);\n\t\t}else if (tag == \"Enter\"){\n\t\t\ticon = new ImageIcon(\"4.png\");\n\t\t\tsetIcon(icon);\n\t\t}else if (tag == \"Exit\"){\n\t\t\ticon = new ImageIcon(\"5.png\");\n\t\t\tsetIcon(icon);\n\t\t}else if (tag == \"Chest\"){\n\t\t\ticon = new ImageIcon(\"6.png\");\n\t\t\tsetIcon(icon);\n\t\t}else if (tag == \"Player\"){\n\t\t\ticon = new ImageIcon(\"7.png\");\n\t\t\tsetIcon(icon);\n\t\t}\n\t}", "title": "" }, { "docid": "f01736b637bf86959cdd0b8e599775b9", "score": "0.569743", "text": "@Nullable\n @Override\n public AtomFileIconsConfig getState() {\n return this;\n }", "title": "" }, { "docid": "564edae82761c1f463aa00c9b6abaf15", "score": "0.56726444", "text": "public void animatePressedState(MaterialMenuDrawable.IconState state);", "title": "" }, { "docid": "b33dfee58e4d94262dbe5f7095b614cc", "score": "0.56715643", "text": "public void updateBTStat() {\n int blueState = this.mBTadapter.getState();\n if (blueState == 12) {\n BTAnimaStop();\n this.mBTState.setImageResource(R.drawable.bt_on);\n } else if (blueState == 10) {\n BTAnimaStop();\n this.mBTState.setImageResource(R.drawable.bt_off);\n } else if (blueState == 13 || blueState == 11) {\n BTAnimaStart();\n }\n }", "title": "" }, { "docid": "3072a6adff165ddfb11d304c2e8a1b28", "score": "0.56627464", "text": "ImageIcon getStoneImage();", "title": "" }, { "docid": "afd986b01c36e5c8dac4ada25bb29b53", "score": "0.5662109", "text": "public Image getOpenedIcon(int type) {\n return original.getOpenedIcon(type);\n }", "title": "" }, { "docid": "8121e92361b2574e7e45d9d37656e364", "score": "0.5657932", "text": "private void updateCollapseIcon() {\n if (sectionLayout.getVisibility() == View.VISIBLE) {\n sectionHeader.setText(context.getString(R.string.expandedSectionHeader,\n sectionName));\n } else {\n sectionHeader.setText(context.getString(R.string.collapsedSectionHeader,\n sectionName));\n }\n }", "title": "" }, { "docid": "9bc51e3c7dc9354247bda781c11cb0cf", "score": "0.5654622", "text": "java.lang.String getState();", "title": "" }, { "docid": "25279c3efe93d8be27aab536db73ba78", "score": "0.56439734", "text": "public void displayState(){\n\t\t\tSystem.out.println(stateObject.printState());\n\t\t}", "title": "" }, { "docid": "54e66bbb6c93fcfb0d943c45950ed5a7", "score": "0.56397253", "text": "public abstract void updateIcon(Resource iconResource);", "title": "" }, { "docid": "20543bfc251f577a918c8d51471f06be", "score": "0.5637706", "text": "public void onIconSourceChange(){\n\t\t\tif(!isIconPathValid()){\n\t\t\t\tsetPageComplete(false);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tString location = iconPathText.getText().trim();\n\t\t\t\tNewProjectWizardState.iconPathChanged = true;\n\t\t\t\tNewProjectWizardState.useDefaultIcon = false;\n\t\t\t\tNewProjectWizardState.favIcon = location;\n\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n\t\t}", "title": "" }, { "docid": "1427ec6885af8a56db4848a3b1197ae9", "score": "0.5636876", "text": "@Override\n public String toString() {\n return \"[\" + getStatusIcon() + \"] \" + description;\n }", "title": "" }, { "docid": "e76b8ff5737d2c4be21fae15180d12bd", "score": "0.56366414", "text": "public void checkState() {\n switch (stato) {\n case 0:\n if (imgPremuta == 3) {\n imgacqua.setImageResource(R.drawable.acqua_riflessi);\n stato = 1;\n }\n break;\n case 1:\n if (imgPremuta == 1) {\n imgpiatto.setImageResource(R.drawable.piattino_rosso_acqua);\n stato = 2;\n }\n break;\n case 2:\n if (imgPremuta == 2) {\n imgsuzuri.setImageResource(R.drawable.suzuri_withink_meno);\n stato = 3;\n }\n break;\n case 3:\n if (imgPremuta == 1) {\n imgpiatto.setImageResource(R.drawable.piattino_rosso_diluito);\n Button buttonContinua = (Button) myFragmentView.findViewById(R.id.id_button3continua);\n buttonContinua.setVisibility(View.VISIBLE);\n stato = 4;\n }\n break;\n default:\n break;\n }\n }", "title": "" }, { "docid": "c36720da9ba87912072f17842c12a0be", "score": "0.5618658", "text": "private void toggleImage(){\r\n if(shown){\r\n createHiddenImage();\r\n shown = false;\r\n }else{\r\n createComboImage();\r\n shown = true;\r\n }\r\n }", "title": "" }, { "docid": "0a4dcb48752728a50b5a69e74995b4ab", "score": "0.56132656", "text": "public String getStateInfo();", "title": "" }, { "docid": "c4d2d7b1c38d8867772eba76a7535d6b", "score": "0.56110924", "text": "public String getStateString() ;", "title": "" }, { "docid": "acaaa82ee8b21c3191b3d38b932f85b1", "score": "0.56073874", "text": "private void toggleButtonImage() {\r\n\t\tif (isFlashOn) {\r\n\t\t\tbtnSwitch.setImageResource(R.drawable.toggle_onc);\r\n\t\t} else {\r\n\t\t\tbtnSwitch.setImageResource(R.drawable.toggle_offc);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0dafead5985b1322a94ec079930f6cad", "score": "0.5604552", "text": "@Override\n public void changed(GameState state) {\n if (state == GameState.NORMAL) {\n endTurnButton.setVisible(true);\n endTurnImage.setVisible(true);\n } else {\n endTurnButton.setVisible(false);\n endTurnImage.setVisible(false);\n }\n }", "title": "" }, { "docid": "90282d050967fd05c92956945a22dd37", "score": "0.559388", "text": "public String getIcon(){\n\t return this.icon;\n }", "title": "" }, { "docid": "8e374e36e2846530342132d0a3cf04bc", "score": "0.5592743", "text": "private void updateDisplay() {\n Current current = mForecast.getCurrent();\n\n mTemperatureLabel.setText(current.getTemperature() + \"\");\n mTimeLabel.setText(\"At \" + current.getFormattedTime() + \" it will be\");\n mHumidityValue.setText(current.getHumidity() + \"\");\n mPrecipValue.setText(current.getPrecipChance() + \"%\");\n mSummaryLabel.setText(current.getSummary());\n\n\n/* //getResources is deprecated.\n Drawable drawable = getResources().getDrawable(current.getIconId());\n mIconImageView.setImageDrawable(drawable);*/\n\n/* Drawable drawable = ResourcesCompat.getDrawable(getResources(), mCurrent.getIconId(), null);\n mIconImageView.setImageDrawable(drawable);*/\n\n Drawable drawable = ContextCompat.getDrawable(this, current.getIconId());\n mIconImageView.setImageDrawable(drawable);\n }", "title": "" }, { "docid": "9463f4086a2283c37e5fd5ee0dfebe32", "score": "0.55904967", "text": "@Override\n public String toString() {\n return String.format(\"[%s] %s\", this.getStatusIcon(), this.description);\n }", "title": "" }, { "docid": "254693362441b89e881f269114194881", "score": "0.558357", "text": "public static int getTypeIcon(int type) {\n switch (type) {\n case TaskItem.TYPE_ALL:\n return R.drawable.ic_type_other;\n case TaskItem.TYPE_PUBLIC:\n return R.drawable.ic_type_trash;\n case TaskItem.TYPE_IMPROVEMENT:\n return R.drawable.ic_type_issues;\n case TaskItem.TYPE_ARCHITECTURE:\n return R.drawable.ic_type_paint;\n default:\n return R.drawable.ic_type_other;\n }\n }", "title": "" }, { "docid": "24dec69bc9ff8b30ebaad485419cceaa", "score": "0.5580936", "text": "private void displayClickStatus() {\n\t\t// to be implemented next week\n\t}", "title": "" }, { "docid": "c7357e400d87199f168a949bbba2d54c", "score": "0.5573993", "text": "public void setIcon(int value) {\n this.icon = value;\n }", "title": "" }, { "docid": "5765f16dab1e108ea5a62029e0732677", "score": "0.55692", "text": "public Icon getIcon();", "title": "" }, { "docid": "ad38d9e2f2ed4de7cc84794f93130bc0", "score": "0.5556125", "text": "public void handleStateChanged(QSTile.State state) {\n super.handleStateChanged(state);\n this.mSecondLine.setVisibility(this.mShowAppLabel ? 0 : 8);\n }", "title": "" }, { "docid": "7d0e2962b467be3e972e7f8874bc111e", "score": "0.55554414", "text": "void randomizeIconLocation();", "title": "" }, { "docid": "7936f335ba7c27cd94773ab6df46ffaf", "score": "0.5554928", "text": "@Override\n public String getName() {\n return icon.getName();\n }", "title": "" }, { "docid": "ccf372f8a27da7b45aa9daebf4c03722", "score": "0.5552594", "text": "ImageIcon getIcon();", "title": "" }, { "docid": "79f4e7f9d414e3baf3c7f4add1aac574", "score": "0.553812", "text": "private void updateImage(){\r\n if(shown){\r\n createComboImage();\r\n } else \r\n createHiddenImage();\r\n }", "title": "" }, { "docid": "442b59df8b431a6ad2fdb1e20d586811", "score": "0.5537935", "text": "private void setIcon() {\n setTitle(\"\");\n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"287782-32.png\")));\n }", "title": "" }, { "docid": "24b6a99e46e5b14853c8b5a16026a469", "score": "0.5534928", "text": "public Integer getIcon(){\n switch (currency){\n case \"SHIL\":\n return R.drawable.blue;\n case \"DOLR\":\n return R.drawable.green;\n case \"QUID\":\n return R.drawable.yellow;\n default:\n return R.drawable.red;\n }\n }", "title": "" }, { "docid": "8124d0284be5a5dcf78b16cd278c7fb8", "score": "0.55339247", "text": "private void initializeIcons() {\n\t\t\n\t\tparking = (Button) this.findViewById(R.id.provider_parking);\n\t\tthis.addDescriptionToast(parking, \"The provider has parking\");\n\t\tcreditcard = (Button) this.findViewById(R.id.provider_creditcard);\n\t\tthis.addDescriptionToast(creditcard, \"The provider accepts credit card\");\n\t\taccepting = (Button) this.findViewById(R.id.provider_accepting);\n\t\tthis.addDescriptionToast(accepting, \"This provider accepts new patient\");\n\t\tappointment = (Button) this.findViewById(R.id.provider_appointments);\n\t\tthis.addDescriptionToast(appointment, \"Appointment Only\");\n\t\tPCP = (Button) this.findViewById(R.id.provider_PCP);\n\t\tthis.addDescriptionToast(PCP, \"Primary Care Provider\");\n\t\tspecialist = (Button) this.findViewById(R.id.provider_specialist);\n\t\tthis.addDescriptionToast(specialist, \"Specialist\");\n\n\t}", "title": "" }, { "docid": "18f9b5704c942bc925f7a6a083068cce", "score": "0.55308706", "text": "private void setIcon() {\n\t\tsearchIcon = new ImageIcon(\"search.png\");\n\t\tsearchLabel = new JLabel(searchIcon);\n\t\tsearchLabel.setBounds(100, 28, 32, 32);\n\t\tthis.add(searchLabel);\n\t}", "title": "" }, { "docid": "aeaaacc56ae3acf72f75317876ac84cd", "score": "0.553086", "text": "String getState();", "title": "" }, { "docid": "aeaaacc56ae3acf72f75317876ac84cd", "score": "0.553086", "text": "String getState();", "title": "" }, { "docid": "b598353708d070c6c34a163f21d02e59", "score": "0.55202097", "text": "@Override\n public void onItemClick(AdapterView<?> arg0, View arg1, int position, long id) {\n HashMap<String, String> hm = (HashMap<String, String>) arg0.getAdapter().getItem(position);\n selected_user_country_code = hm.get(\"txt\");\n\n String setflagicon = hm.get(\"flag\").toLowerCase();\n int flag_name = getResources().getIdentifier(setflagicon, \"drawable\", getPackageName());\n img_user_login_flag_icon.setImageResource(flag_name);\n\n }", "title": "" }, { "docid": "c31995508ac8cbeb5879c10a17c65473", "score": "0.55102366", "text": "private void evaluateMyCoffeeSitesIcon() {\n // Not show icon as a default\n MenuItem myCoffeeSitesMenuItem = mainToolbar.getMenu().size() > 1 ? mainToolbar.getMenu().findItem(R.id.action_my_coffeesites) : null;\n if (myCoffeeSitesMenuItem != null) {\n myCoffeeSitesMenuItem.setVisible(false);\n }\n }", "title": "" }, { "docid": "b05aa2cf65cc0acb389b0984866cf0d9", "score": "0.5507966", "text": "public void setGameModeIcon()\n {\n cornersIcon = new ImageIcon(getClass().getResource(\"/Images/CornersLogo.png\"));\n diagonalIcon = new ImageIcon(getClass().getResource(\"/Images/DiagonalLogo.png\"));\n horizontalIcon = new ImageIcon(getClass().getResource(\"/Images/HorizontalLogo.png\"));\n verticalIcon = new ImageIcon(getClass().getResource(\"/Images/VerticalLogo.png\"));\n lIcon = new ImageIcon(getClass().getResource(\"/Images/LLogo.png\"));\n tIcon = new ImageIcon(getClass().getResource(\"/Images/TLogo.png\"));\n xIcon = new ImageIcon(getClass().getResource(\"/Images/XLogo.png\"));\n allIcon = new ImageIcon(getClass().getResource(\"/Images/AllLogo.png\"));\n\n switch(currentMode)\n {\n case \"corners\":\n currentGameModeLogoImage.setIcon(cornersIcon);\n break;\n case \"diagonal\":\n currentGameModeLogoImage.setIcon(diagonalIcon);\n break;\n case \"horizontal\":\n currentGameModeLogoImage.setIcon(horizontalIcon);\n break;\n case \"vertical\":\n currentGameModeLogoImage.setIcon(verticalIcon);\n break;\n case \"l\":\n currentGameModeLogoImage.setIcon(lIcon);\n break;\n case \"t\":\n currentGameModeLogoImage.setIcon(tIcon);\n break;\n case \"x\":\n currentGameModeLogoImage.setIcon(xIcon);\n break;\n case \"all\":\n currentGameModeLogoImage.setIcon(allIcon);\n break;\n default:\n System.out.println(\"Error: Invalid game mode\");\n currentGameModeLogoImage.setVisible(false);\n break;\n }\n }", "title": "" }, { "docid": "8561f5fc9b3f7c4ff09d4489d00ee962", "score": "0.5503149", "text": "states getState();", "title": "" } ]
c1d1624900960ab4e56f4727567687f5
String representation of the team's schedule
[ { "docid": "f94a9ff3ade58c724b0a71eda039f4b0", "score": "0.82771015", "text": "public String scheduleToString() {\n\t\t\n\t\tString result = \"| \" + this.toString() + \" |\" + \"\\n\\n\";\n\t\t\n\t\tfor (int i = 1; i <= 16; i++) {\n\t\t\tString week = \"Week \" + i;\n\t\t\tGame g = this.schedule.get(week);\n\t\t\t\n\t\t\tresult += (week + \": \" );\n\t\t\t\n\t\t\tif (g.gamePlayed()) {\n\t\t\t\t\n\t\t\t\tif (g.winner == this) {\n\t\t\t\t\tresult += \"W \";\n\t\t\t\t}\n\t\t\t\telse if (g.winner == null) {\n\t\t\t\t\tresult += \"T \";\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tresult += \"L \";\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tresult += (this.schedule.get(week).toString() + \"\\n\\n\");\n\t\t}\n\t\t\n\t\tresult += \"\\n\\n\";\n\t\t\n\t\treturn result;\n\t\t\n\t}", "title": "" } ]
[ { "docid": "fbdee9862a3d68196b0196e37e026355", "score": "0.7540712", "text": "java.lang.String getSchedule();", "title": "" }, { "docid": "858b1a68b14e996f819004af9e0086eb", "score": "0.7201324", "text": "public String getRequestedScheduleStr() {\n if (requestedSchedule == null) {\n return null;\n }\n return requestedSchedule.stream().map(MyFlightNo.ScheduleUnit::getValue).map(o -> Integer.toString(o)).map(t -> \" +\" + t).collect(Collectors.joining(\" \"));\n }", "title": "" }, { "docid": "6fd32950b4ce987443e8335ad441248d", "score": "0.690097", "text": "public String toString()\n {\n String teamStr = \"Team \" + teamNumber;\n if (!name.equals(\"\")) \n teamStr += \", \" + name;\n return teamStr;\n }", "title": "" }, { "docid": "9f173c90a8fb7d66ee034ea7f61119af", "score": "0.6727334", "text": "public void testToString() {\n assertEquals(\"[Schedule] channel = channel; name = title; start = 25:30\", schedule.toString());\n\n }", "title": "" }, { "docid": "d108b565a9f8a6861e1c78c32b681e62", "score": "0.6697612", "text": "public String getEventSchedule() {\n DateTimeFormatter formattedDate = DateTimeFormatter.ofPattern(\"dd/MM/yyyy HH:mm\");\n return this.dateAndTime.format(formattedDate);\n }", "title": "" }, { "docid": "b018c5f478ec118f7a7b161d87c550c0", "score": "0.66631097", "text": "public String toString() {\r\n\t\tif (this.theStorms.isEmpty()) {\r\n\t\t\treturn \"There are no hurricanes present\";\r\n\t\t}\r\n\t\tString result = \"Hurricane Season Information:\\n\";\r\n\t\t\r\n\t\tfor (Hurricane current : this.theStorms) {\r\n\t\t\tresult += current.toString() + \"\\n\";\r\n\t\t}\r\n\t\t\r\n\t\tresult += \"\\nMinimum speed: \" + this.getMinimumSpeed() + \"\\n\";\r\n\t\tresult += \"Maximum speed: \" + this.getMaximumSpeed() + \"\\n\";\r\n\t\tresult += String.format(\"Average speed: %.2f\\n\", this.getAverageSpeed());\r\n\t\t\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "71ed4f39c9493cb59b584427b227c978", "score": "0.6646234", "text": "@Override\n\tpublic String toString()\n\t{\n\t\treturn (super.toString() + \"startTime = \" + EntertainmentContractSetting.TF.format(getDayStart()) + \" endTime = \" + EntertainmentContractSetting.TF.format(getDayEnd()));\n\t}", "title": "" }, { "docid": "bdddc655dd0d5ce11f6ad112d7b93da7", "score": "0.66386706", "text": "public String toString()\r\n/* 58: */ {\r\n/* 59:76 */ return \"Scheduled: \" + getAt();\r\n/* 60: */ }", "title": "" }, { "docid": "4740883f51ae4b8ed3d6fe4234077b6b", "score": "0.65971357", "text": "@Override\n\tpublic String toString() {\n\t\treturn String.format(\"[ %s - %s ]\", this.getSatisfaction(), this.getTime());\n\t}", "title": "" }, { "docid": "8e3fa90359eb348867c514303fbb8588", "score": "0.657897", "text": "@Override\n public String toString() {\n\n // Converting Instant to LocalDateTime and formatting is a hassle\n String startTime = Instant.ofEpochSecond(this.start).toString().substring(11, 16);\n String endTime = Instant.ofEpochSecond(this.end).toString().substring(11, 16);\n\n return this.title + \" \" + startTime + \" - \" + endTime + \" / \";\n }", "title": "" }, { "docid": "0f4190011af634f1bd0a60db8917aafc", "score": "0.656522", "text": "public String toSimpleString() {\r\n\t\tString ret = \"\";\r\n\t\tString actualStart = formatTimeByUnit(this.actualStart);\r\n\t\tString actualEnd = formatTimeByUnit(this.actualEnd);\r\n\t\tret = \"[\" + this.name + \"]-[\" + actualStart + \" ~ \" + actualEnd + \"]\";\r\n\t\treturn ret;\r\n\t}", "title": "" }, { "docid": "93d062ea8af9b66770c0fc8129eecc71", "score": "0.65280664", "text": "@Override\n public String toString() {\n return String.format(\"%s\\t%s\\t%s\\t%s\", this.name, this.team, this.sport, this.games);\n }", "title": "" }, { "docid": "9fe4b43b956e0206080a0a577a0db4a7", "score": "0.65172786", "text": "public String getScheduleName() {\n return scheduleName;\n }", "title": "" }, { "docid": "213a9b9e57f88b227dfe165d3e628ceb", "score": "0.6491411", "text": "@Override\r\n public String toString() {\r\n return \"Shift [\" + \"startAt=\" + startAt + \", id=\" + id + \", employeeId=\" + employeeId\r\n + \", locationId=\" + locationId + \", timezone=\" + timezone + \", endAt=\" + endAt\r\n + \", wage=\" + wage + \", breaks=\" + breaks + \", status=\" + status + \", version=\"\r\n + version + \", createdAt=\" + createdAt + \", updatedAt=\" + updatedAt\r\n + \", teamMemberId=\" + teamMemberId + \"]\";\r\n }", "title": "" }, { "docid": "f0d8839ff110c7a82ef5d22bec402c36", "score": "0.648118", "text": "public String toString() {\n\t\t\n\t\treturn toString(NAME_TO_STR, START_DATE_TO_STR, END_DATE_TO_STR, COMPLETED_TO_STR);\n\n\t}", "title": "" }, { "docid": "b9f4ceb1f1272c81a3c4af5e8cb03ba0", "score": "0.64686155", "text": "@Override\n public String toString() {\n\n return \"You have created a new workout: \" + workoutName + \" with movements \" + workoutBodyPart + \" at \" + workoutDate + \" to \" + startTime;\n }", "title": "" }, { "docid": "ad79e230c2455eb515e0253e51a84459", "score": "0.6382329", "text": "@Override\r\n\tpublic String toString() {\r\n\t\tString ret = null;\r\n\t\tString start = formatTimeByUnit(this.start);\r\n\t\tString end = formatTimeByUnit(this.end);\r\n\t\tString actualStart = formatTimeByUnit(this.actualStart);\r\n\t\tString actualEnd = formatTimeByUnit(this.actualEnd);\r\n\t\tString progressInDuration = \" [\" + this.getProgress() + \"/\" + this.getDuration() + \"]\";\r\n\t\tret = \"[\" + this.name + \"]-[\" + start + \" ~ \" + end + \"]-[\" + actualStart + \" ~ \" + actualEnd + \"]\" + progressInDuration;\r\n\t\tif (this.description != null) {\r\n\t\t\tret += \" \" + this.description;\r\n\t\t}\r\n\t\treturn ret;\r\n\t}", "title": "" }, { "docid": "f790a2b0442ee5a360fc365faa88022b", "score": "0.6369018", "text": "@Override\n public String toString() {\n String formattedDate = date.format(DateTimeFormatter.ofPattern(\"MMM d yyyy\"));\n String formattedStartTime = startTime.format(DateTimeFormatter.ofPattern(\"hh:mm a\"));\n String formattedEndTime = endTime.format(DateTimeFormatter.ofPattern(\"hh:mm a\"));\n return \"[E]\" + super.toString() + \" (at: \" + formattedDate + \", \"\n + formattedStartTime + \" - \" + formattedEndTime + \")\";\n }", "title": "" }, { "docid": "3a7ba332c4c859e40a87ea32cc72832f", "score": "0.6340066", "text": "@Override\r\n public String toString() {\r\n StringBuilder s = new StringBuilder(title);\r\n if (teamMembers.isEmpty()) {\r\n s.append(\"\\t\\t\\t\\t\\t\\t No Members\");\r\n } else {\r\n s.append(\"\\t\\t\\t\\t\\t\");\r\n for (TeamMember t : teamMembers) {\r\n s.append(\" \").append(t.getName()).append(\"\\n\\t\\t\\t\\t\\t\\t\");\r\n }\r\n }\r\n return s.toString();\r\n }", "title": "" }, { "docid": "f27119d73c6742510400cb4963898740", "score": "0.6332192", "text": "public String toString() {\n\t\treturn timeFormat.format(time);\n\t}", "title": "" }, { "docid": "740c530a249336e4910cecc849397898", "score": "0.6308964", "text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn \"{teamName: \" + teamName + \", gender: \" + gender + \", numberOfPlayers: \" + numberOfPlayers\r\n\t\t\t\t+ \", players: \" + players + \"}\";\r\n\t}", "title": "" }, { "docid": "3627b836c8c3f3249ec810c8a97045f4", "score": "0.62934315", "text": "@Test\n\t public final void testToString() {\n\t\t Airport airport1= new Airport(\"A101\",\"Spain\",\"Spain Airport\");\n\t\t Airport airport2= new Airport(\"A102\",\"India\",\"IGI Airport\");\n\t\t Flight flight= new Flight(new BigInteger(\"101\"),\"C101\",\"M101\",200);\n\t\t Schedule schedule= new Schedule(new BigInteger(\"1\"),airport1,airport2,\"12-06-2020\",\"13-06-2020\");\n\t\t ScheduledFlight sFlight1= new ScheduledFlight(new BigInteger(\"101\"),flight,120,schedule);\n\t\t String result = String.format(\"ScheduledFlight [scheduleFlightId=%3s, flight=%15s, availableSeats=%3s, schedule=%20s]\",\n\t\t\t\t sFlight1.getScheduleFlightId(), sFlight1.getFlight(), \n\t\t\t\t sFlight1.getAvailableSeats(), sFlight1.getSchedule());\n\t\t assertEquals(result, sFlight1.toString());\n\t }", "title": "" }, { "docid": "29e022552aa12d8e84ecdc0ab749951e", "score": "0.62843364", "text": "public String toString() {\n\t\t// System.out.println(\"in print\");\n\t\tString str = \"\";\n\t\tfor (int i = 0; i < size - 1; i++) {\n\t\t\tstr += team[i].getName() + \",\";\n\t\t}\n\t\tstr += team[size - 1].getName();\n\t\treturn str;\n\t}", "title": "" }, { "docid": "f1d5f8acbf733410c7076f00223e2759", "score": "0.6280505", "text": "public String toString(){\n\t\t\n\t\treturn this.hours + \":\" + this.minutes + \":\" + this.seconds + \":\" + this.frames;\n\t}", "title": "" }, { "docid": "427c8a7d2ef80c6efd38f7c1030a6c36", "score": "0.62561464", "text": "public void printSchedule() {\n\t\tSet<Integer> keyList = map.keySet();\t// make a Set<Integer> of key values\n\t\t// Iterate over the set of keys and grab the course belonging to it while also\n\t\t// grabbing the hours value and the days value\n\t\tfor (Integer code : keyList) {\t// loop through all the keys in keyList\n\t\t\tint value = code.intValue();\t\n\t\t\tint hours = value % 10;\t\t\t\t// 1s digit\n\t\t\tint days = (value / 100) % 10;\t\t// 100s digit\n\t\t\tCampusCourse course = map.get(code);\n\t\t\tSystem.out.println(week[days - 1] + \" \" + slot[hours - 1] + \" \" +\n\t\t\t\t\tcourse.getDepartment().getDepartmentName() + course.getCourseNumber() + \" \" +\n\t\t\t\t\tcourse.getName());\n\t\t}\n\t\tfor (OnlineCourse oCourse : onlineCourseList) {\n\t\t\tSystem.out.println(oCourse.getCourseNumber() + \" \" + oCourse.getName());\n\t\t}\n\t}", "title": "" }, { "docid": "d9f71ad7d643d072b8ea8a0564f861e9", "score": "0.62535775", "text": "@Override\n public String toString() {\n return String.format(\"%s-%s %s-%s %s\"\n , from, to, startTime(), endTime(), duration());\n }", "title": "" }, { "docid": "f00aa98f7ebe159072d5d44b0f1c4d17", "score": "0.62520677", "text": "public String toString() {\n return String.format(\"%-10s %-10s %-10s\", name, time, (type == EASY ? \"easy\" : (type == MEDIUM ? \"med\" : \"hard\"))) + ('\\n');\n }", "title": "" }, { "docid": "459301bdf96f18279615ff313b48a4fe", "score": "0.62412024", "text": "public String toString(){\n\t\treturn String.format(\"%s, %s, %s, %s, %s, %s, %s, %s, %s\",\n\t\t\t\tcourse, date, time, venue, lecturer, duration, repeat, max, compulsory);\n\t}", "title": "" }, { "docid": "b2a773d7a0cd49544077edb6cdcf63ce", "score": "0.6237484", "text": "public String toString(TimeFormat timeFormat);", "title": "" }, { "docid": "f752e3394042d8af08d43fa207ad85b5", "score": "0.6233904", "text": "@Override\n public String toString() {\n String taskDisplay = \"[\" + TASK_TYPE + \"]\";\n String timing = \" (by: \" + this.by + \")\";\n return taskDisplay + super.toString() + timing;\n }", "title": "" }, { "docid": "a2583f5248464cf450310111c78c3054", "score": "0.6209864", "text": "public String toString() {\n StringBuffer buf = new StringBuffer();\n if(_start !=null){\n buf.append(\"Start Date: \" + _start.getTime() + \"|\");\n if ( _end==null ) {\n buf.append( \"End Data: n/a\\n\" );\n } else {\n buf.append(\"End Date: \" + _end.getTime() + \"|\");\n }\n buf.append(\"Days Of Operation: \");\n Iterator iter = _daysOfOperation.iterator();\n while (iter.hasNext()) {\n buf.append(iter.next() + \" \");\n }\n buf.append(\"|\");\n buf.append(\"Origin Airport: \" + _origAirport + \"|\");\n buf.append(\"Origin Terminal: \" + _origTerminal + \"|\");\n buf.append(\"Origin Time: \" + _origTime + \"|\");\n buf.append(\"Destination Airport: \" + _destAirport + \"|\");\n buf.append(\"Destination Terminal: \" + _destTerminal + \"|\");\n buf.append(\"Destination Time: \" + _destTime + \"|\");\n buf.append(\"Aircraft: \" + _aircraft + \"|\");\n buf.append(\"Itinerary Variation: \" + _itinVariation + \"|\");\n buf.append(\"Leg Sequence: \" + _legSequence + \"|\");\n }\n return buf.toString();\n }", "title": "" }, { "docid": "0e89b1dbb183bd3f8e38cf20684d63de", "score": "0.6171229", "text": "public String toString(){\n return name +\" on \"+dateOf+\" at \"+location\n +\" beginning at \"+startTime\n +\" ending at \"+endTime;\n }", "title": "" }, { "docid": "f790b111c7f190b09a6f5dd6a9b7b75f", "score": "0.6166112", "text": "public String formattedString()\n {\n String s = \"\";\n ArrayList<Task> dummy = new ArrayList<>(getAllTasks().getValue());\n for (Task t:dummy) {\n s += t.getContent() +\"\\n\";\n }\n return s;\n }", "title": "" }, { "docid": "647c2e9cbc573bfe2a9ef030a5a50a87", "score": "0.616462", "text": "public String printTeam() {\n\t\tplayas = \"\";\n\t\t\n\t\tfor (int x = 0; x < players.size(); x++) {\n\t\t\tif (!(players.get(x).equals(\"null\"))) {\n\t\t\t\tplayas += players.get(x).getName() + \" \" + \"Position: \" + players.get(x).getPosition() + \"\\n\";\n\t\t\t}\n\t\t}\n\t\treturn teamName + \"\\n\" + playas;\n\t}", "title": "" }, { "docid": "f0b424d193b5e7e145ee0678c81324ab", "score": "0.6159049", "text": "@Override\n\tpublic String toString() {\n\t\treturn String.format(\"%s\t%s\t%s\t%s\t%s\t%s\t%s\", enrlCd, days, times, instructors, locations, max, space);\n\t}", "title": "" }, { "docid": "5839c108d1418aed77cba434c05133d5", "score": "0.6138035", "text": "@Override\n public String toString(){\n String startAMPM = toAMPM(startHour, startMin);\n String endAMPM = toAMPM(endHour, endMin);\n\n String s = getEventName() + \"\\n\" + month + \"/\" + day + \"/\" + year + \"\\n\" + startAMPM + \" - \" + endAMPM + \"\\n\"\n + eventDetails;\n return s;\n }", "title": "" }, { "docid": "63a3fc513ef8ba2c696bc3a104edd15b", "score": "0.6133026", "text": "public String toString() {\n\t\tString s = getName();\n\t\ts += \"\\n\\\"\" + getStartDate().toString();\n\t\ts += \"\\\" to \\\"\" + getEndDate().toString() +\"\\\" \\n\";\n\t\ts += \"Description: \"+ getDescription();\n\t\ts += \"\\nStatus: \"+ getStatus();\n\t\treturn s;\n\t}", "title": "" }, { "docid": "2aeef0990e4faf4487f69b580a58d291", "score": "0.6104177", "text": "@Override\n public String toString()\n {\n // returns the timestamp in the format YYYY-MM-DD hh:mm:ss\n // 2020-01-07 01:06:02\n return String.format(\"%04d-%02d-%02d %02d:%02d:%02d\",\n this.year, this.month, this.day,\n this.hour, this.minutes, this.seconds);\n }", "title": "" }, { "docid": "04097953b69964c49590304ec555375a", "score": "0.61029375", "text": "public void printScheduleBoard() {\n\t\tfor (int i=0; i < FileReaderMachine.getRoomSize(); i++) {\n\t\t\tscheduleBoard[i].printSchedule();\n\t\t}\n\t}", "title": "" }, { "docid": "e7e187824b6e2354e79e8c42be5a9aa1", "score": "0.61016434", "text": "@Override\n\tpublic String getTime() {\n\t\treturn Func.dateToString(schedule_date);\n\t}", "title": "" }, { "docid": "0b247296462bb308a5c0c4c2d3a83ffd", "score": "0.6101472", "text": "public String toString(){\n\t\treturn \"Process id: \" + id + \"\\t\\tArrival Time: \" + arrivalTime +\n\t\t\t\t\"\\tExpected Run Time: \" + expectedRunTime + \"\\t\\tPriority: \" + priority + \"\\n\";\n\t}", "title": "" }, { "docid": "f270889ef79b8f409da393aae8b30217", "score": "0.61008", "text": "public String teamToString(Team t)\n {\n switch(t)\n {\n case Black :\n return \"black\";\n case White :\n return \"white\";\n default :\n return \"neutral\";\n }\n }", "title": "" }, { "docid": "f2dbcdfb2c8d7dad4e77ab87ca79f8ea", "score": "0.6099156", "text": "public String toString() {\n\t\t\treturn \"\\n Player Name: \" + name + \"\\t Team:\" + team + \"\\t Goals:\" + goals;\n\t\t}", "title": "" }, { "docid": "b7294056faa02e2b5faeaab132520489", "score": "0.609532", "text": "@Override\n public String toString() {\n final String titlePrefix = jobNote.map(title -> title + \", \").orElse(\"\");\n final String keyExp = jobUnique.map(uq -> uq + \"(\" + jobKey + \")\").orElseGet(() -> jobKey.value());\n final String idExp = cron4jId.map(id -> id.value()).orElse(\"non-cron\");\n final String hash = Integer.toHexString(hashCode());\n return DfTypeUtil.toClassTitle(this) + \":{\" + titlePrefix + keyExp + \", \" + idExp + \", \" + cron4jTask + \"}@\" + hash;\n }", "title": "" }, { "docid": "bc75fbe936dbf79164a1703d9f961906", "score": "0.6094553", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getTimeToLiveInSeconds() != null)\n sb.append(\"TimeToLiveInSeconds: \").append(getTimeToLiveInSeconds()).append(\",\");\n if (getTurnsToLive() != null)\n sb.append(\"TurnsToLive: \").append(getTurnsToLive());\n sb.append(\"}\");\n return sb.toString();\n }", "title": "" }, { "docid": "528c789547b08179e6a09db10a7030b8", "score": "0.60935754", "text": "@Override\n public String toString() {\n String taskType = \"[E]\";\n String taskDescription = super.toString();\n String atDate = at.format(DateTimeFormatter.ofPattern(\"MMM d yyyy\"));\n String taskAt = \" (at: \" + atDate + \")\";\n\n return taskType + taskDescription + taskAt;\n }", "title": "" }, { "docid": "54ed7a79d39bdbc83f9dd04ee6ad9b87", "score": "0.60857415", "text": "public String toString() {\n String out = \"\"; // the \"null\" string\n\n if (hour == 0)\n out += \"12\";\n else if (hour <= 12)\n out += hour;\n else\n out += hour % 12;\n\n // assure two-digit minute\n if (minute <= 9)\n out += \":0\" + minute;\n else\n out += \":\" + minute;\n\n // assure two-digit minute\n if (second <= 9)\n out += \":0\" + second;\n else\n out += \":\" + second;\n\n if (hour <= 11)\n out += \" A.M.\";\n else\n out += \" P.M.\";\n\n return out;\n }", "title": "" }, { "docid": "1819a0889ed631a44d5d5419473805b6", "score": "0.6068507", "text": "public String toString(){\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"start: \").append(startDateTime.toString()).append(\",\");\n\t\tsb.append(\"end: \").append(endDateTime.toString());\n\t\treturn sb.toString();\n\t}", "title": "" }, { "docid": "e552139e0e9595fe9f138db6943237c1", "score": "0.60538447", "text": "public String toString() {\n return String.format(\"%d:%02d:%02d %s\",\n ((getHour() == 0 || getHour() == 12) ? 12 : getHour() % 12),\n getMinute(), getSecond(), (getHour() < 12 ? \"AM\" : \"PM\"));\n }", "title": "" }, { "docid": "3b72fb0458c8469e659bfd0d71708fa6", "score": "0.60529596", "text": "public String getScheduleId() {\n return scheduleId;\n }", "title": "" }, { "docid": "dd6d73cd3171df42dd509f2b08074a55", "score": "0.6051458", "text": "@Override\r\n public String toString() {\r\n String temp = String.format(\"%s%n\", worker);\r\n for (Shift shift : shifts) {\r\n temp += String.format(\"%s\", shift);\r\n }\r\n return temp;\r\n }", "title": "" }, { "docid": "00e155768e9d47552e2502fd55815bab", "score": "0.60464925", "text": "public String toString(){\n return (\"[\" + id + \", \" + timeArrive + \", \" + timeToDest + \"]\");\n }", "title": "" }, { "docid": "2e57bad01eb09321d8652515ccfe1d36", "score": "0.6045635", "text": "public String toString() {\n return \"\\n====================\\nTASK: \" + name + \"\\nPROJECT: \" + project + \"\\nDUE DATE: \" + dueDate + \"\\nSTATUS: \" + (status ? \"Done\" : \"Not Done\\n====================\");\n }", "title": "" }, { "docid": "210833f82dec498ce25df2ff4586142d", "score": "0.6038058", "text": "public String toString() {\n String task;\n task = String.format(\"%s:%s:%s\", pwHash, status, packet_type);\n return task;\n }", "title": "" }, { "docid": "8401543141cdacd6f2b78f919f363b82", "score": "0.6008904", "text": "public String toString() {\r\n\t\treturn String.format(\"B:%s-%s\", fromIsland.toString(), toIsland.toString());\r\n\t}", "title": "" }, { "docid": "9b17b10b0e7cb4c2452433a5e775b904", "score": "0.60064715", "text": "public String toString() {\r\n\r\n// double time = flightCost(dGraph, \"time\");\r\n// double cost = flightCost(dGraph, \"cost\");\r\n NumberFormat dollarFormatter = NumberFormat.getCurrencyInstance(Locale.US);\r\n String formattedCost = dollarFormatter.format(cost);\r\n //TODO: add str for more detailed flight info\r\n String str = \"\";\r\n str += \"visitOrder = \" + visitOrder;\r\n str += \", citiesLeft = \" + citiesLeft;\r\n String stops = numStops + \" stops.\";\r\n if (numStops == 0) {\r\n stops = \"Nonstop.\";\r\n }\r\n return airlineName + \": This flight from \" + getCityName(departCity) +\r\n \" to \" + getCityName(arrivalCity) + \" departs at: \" + departTime + \" and takes \" + String.format(\"%.1f\", duration) +\r\n \" hour(s). It costs \" + formattedCost + \". \" + stops;\r\n }", "title": "" }, { "docid": "4982faa6ce9c97a89073263cf88eb80c", "score": "0.6002759", "text": "public String morningMeeting(){\n return \"Accountants have meetings beginning at 8:15AM and run intil 8:45AM.\";\n }", "title": "" }, { "docid": "e2bd2e6136226cba19ffeb0e779694f5", "score": "0.5991615", "text": "@Override\n\t\tpublic String toString()\n\t\t{\n\t\t\tString carAmount = \"\";\n\t\t\tfor (CarAmount amount : this.carTypeAmount) {\n\t\t\t\tcarAmount += String.format(\"%s => %d; \", amount.carName, amount.amount);\n\t\t\t}\n\n\t\t\treturn String.format(\"%02d:%02d %03d d %03 w %s\", this.hour, this.minute, this.day, this.week, carAmount);\n\t\t}", "title": "" }, { "docid": "5fea3189353993ce6d4006d58511e897", "score": "0.59774745", "text": "public String toString(){\n String toString = \"\";\n toString = year + \" / \" + month + \" / \" + day;\n return toString;\n }", "title": "" }, { "docid": "7af6e34be637f6f0495d55362a0b9eb2", "score": "0.5974509", "text": "public String toString() {\n\t\treturn this.id + \" \" + this.player1 + \" \" + this.player2 + \" \" + this.gametype + \" \" + this.winner + \n\t\t\t\t\" \" + this.creditChange + \" \" + this.creditAfterPlayer1 + \" \" + this.creditAfterPlayer2 + \" \" + this.playedOn;\n\t}", "title": "" }, { "docid": "24b24ef742903b7a615b7c8421b491ec", "score": "0.5960207", "text": "public String toString() {\n return (\"Course: \" + name + \" Capacity: \" + capacity + \" Timing: \" + timing);\n }", "title": "" }, { "docid": "181b691961d28e7df4800e80a2cc6e2b", "score": "0.5958335", "text": "private static String createScheduleInJsonFormat(){\n\t\tJsonObject httpJson = new JsonObject();\n\t\tJsonObject scheduleInJson = new JsonObject();\n\t\tfor(Map.Entry<Integer,Boolean> hourPumpStatus : schedule.entrySet()){\n\n\t\t\tJsonObject stateForHourObj = new JsonObject();\n\t\t\tstateForHourObj.addProperty(PUMP_ON, hourPumpStatus.getValue());\n\t\t\tstateForHourObj.addProperty(PUMP_OFF, !hourPumpStatus.getValue());\n\n\t\t\tscheduleInJson.add(hourPumpStatus.getKey().toString(),stateForHourObj);\n\t\t}\n\t\tSystem.out.println(\"sending json :\\n\" + scheduleInJson.toString());\n\t\thttpJson.add(\"data\", scheduleInJson);\n\t\treturn httpJson.toString();\n\n\t}", "title": "" }, { "docid": "d210d0a33e01a0150f64d35a39a2e8cd", "score": "0.5953334", "text": "public String toString() {\n\t\treturn String.format(\"%d:%02d:%02d $s\", ((hour==0 || hour==12) ? 12 : hour % 12), minute, second, (hour < 12 ? \"AM\" : \"PM\") );\n\t}", "title": "" }, { "docid": "796f132ad74d457f7ddb42103b768da8", "score": "0.59472203", "text": "public String toString(){\n return (\"The current game type is tournament game and the ante is $\" + this.ante + \".\");\r\n }", "title": "" }, { "docid": "592d7819de16a34bdb9776df389a511f", "score": "0.59432274", "text": "public String toString() {\n StringBuilder bldr = new StringBuilder();\n bldr.append(\" territoryDelta=\").append(territoryDelta).append(\" captureScore=\")\n .append(captureScore).append(\"(b=\").append(blackCap).append(\" w=\")\n .append(whiteCap).append(\") positionalScore=\").append(positionalScore)\n .append(captures != null ? \" captures=\" + captures : \"\").append(\" worth=\")\n .append(worth).append(\" \\nposScores:\\n\");\n for (PositionalScore[] posScoreRow : positionalScores ) {\n for (PositionalScore pscore : posScoreRow) {\n bldr.append(pscore);\n }\n bldr.append(\"\\n\");\n }\n bldr.append(\"moves=\").append(moves);\n bldr.append(\"\\n\");\n\n return bldr.toString();\n }", "title": "" }, { "docid": "a551b31b3dc86beff8e93f8aa2c0c114", "score": "0.59425914", "text": "@Override\r\n\tpublic String toString()\r\n\t{\r\n\t\tSimpleDateFormat formatter = new SimpleDateFormat(\"MM/dd/yyyy HH:mm\");\r\n\t\t\r\n\t\treturn task + \", \" + formatter.format(dueDate);\r\n\t}", "title": "" }, { "docid": "21e3480d82686869a8c5914d894763aa", "score": "0.59421754", "text": "public HashMap<GregorianCalendar, ArrayList<String>> getSchedule(){\n return schedule;\n }", "title": "" }, { "docid": "5d3dc8f759518ef3e620b722c63f754a", "score": "0.59416544", "text": "public String toString() {\n\t\treturn \"examID: \" + this.id + \"dateOfExam: \" + this.dateOfExam + \"examDuration: \" + this.timeInMinutes\n\t\t\t\t+ \"examComposer: \" + this.author + \"examSubject: \" + this.subject + \"examCourse: \" + this.course + \"startingTime: \"+this.startingTime;\n\t}", "title": "" }, { "docid": "207b445d2f536fa462d78a08699c13ff", "score": "0.5939858", "text": "public synchronized String getSchedulingInfo() {\n return schedulingInfo;\n }", "title": "" }, { "docid": "fe534ea0101761a98a460866664dba40", "score": "0.59361404", "text": "public String toString() {\n\t\tSystem.out.println(bRName + \" \" + startDest + \" \" + endDest + \" \" + time);\n\t\treturn null;\n\t}", "title": "" }, { "docid": "97f06fc5011322e52ad4b4f04aed5f59", "score": "0.59209955", "text": "public String toString() {\n\t\t\n\t\tString toString = \"From: \";\n\t\ttoString = toString.concat(origin);\n\t\ttoString = toString.concat(\" (\");\n\t\ttoString = toString.concat(departureTime);\n\t\ttoString = toString.concat(\") to: \");\n\t\ttoString = toString.concat(destination);\n\t\ttoString = toString.concat(\" (\");\n\t\ttoString = toString.concat(arrivalTime);\n\t\ttoString = toString.concat(\") in \");\n\t\ttoString = toString.concat(duration);\n\t\ttoString = toString.concat(\" for \");\n\t\tif(fares != null)\n\t\t\ttoString = toString.concat(fares.toString());\n\t\telse\n\t\t\ttoString += null;\n\t\treturn toString;\n\t}", "title": "" }, { "docid": "319f5b6aa1daccf30b58d0b8598de786", "score": "0.59200007", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getSentiments() != null)\n sb.append(\"Sentiments: \").append(getSentiments()).append(\",\");\n if (getAbsoluteTimeRange() != null)\n sb.append(\"AbsoluteTimeRange: \").append(getAbsoluteTimeRange()).append(\",\");\n if (getRelativeTimeRange() != null)\n sb.append(\"RelativeTimeRange: \").append(getRelativeTimeRange()).append(\",\");\n if (getParticipantRole() != null)\n sb.append(\"ParticipantRole: \").append(getParticipantRole()).append(\",\");\n if (getNegate() != null)\n sb.append(\"Negate: \").append(getNegate());\n sb.append(\"}\");\n return sb.toString();\n }", "title": "" }, { "docid": "a15fe8aebfef839ffde53993f14f1658", "score": "0.590883", "text": "@Override\n public String toString() {\n return route + \"(\" + time + \")\" + \"\\n\" +\n station + \"\\n\" +\n notifyday + \"\\n\" +\n notifyTime;\n }", "title": "" }, { "docid": "63f92c96b79a23924df0ead6546bb0bd", "score": "0.59024036", "text": "public String toString()\r\n\t{\r\n\t\tif (hasVacancy())\r\n\t\t\treturn \"RoachMotel: Open Rooms\";\r\n\t\telse\r\n\t\t\treturn \"RoachMotel: No Vacancy\";\r\n\t}", "title": "" }, { "docid": "b598f07c9a9053b8fc19cab5a4b92d4a", "score": "0.5901455", "text": "public Schedule getSchedule() {\n\t\treturn this.schedule;\n\t}", "title": "" }, { "docid": "122e3aa9d1417d4877b8c5f4ea9dffad", "score": "0.59008634", "text": "@Override\r\n public String toString() {\r\n String out = (this.name + \"-\" + this.money + \"-\" + this.turn);\r\n if (this.resources.size() > 0){\r\n for (Tile t : this.resources){\r\n out += (\"-\" + t.x + \"_\" + t.y);\r\n }\r\n }\r\n return (out);\r\n }", "title": "" }, { "docid": "c6eed24f35b4e4072402817dbf95175f", "score": "0.58924395", "text": "@Override\n public String toSave() {\n return String.format(\"%s | %s\", super.toSave(),\n this.time.format(DateTimeFormatter.ofPattern(\"dd-MM-yyyy HHmm\")));\n }", "title": "" }, { "docid": "c6f9cd4e7837237198a2f1d7c820e4ab", "score": "0.5879899", "text": "private String boardToString()\n\t{\n\t\tStringBuilder boardStr = new StringBuilder();\n\n\t\tif(board.isEmpty())\n\t\t{\n\t\t\treturn \"{ no fireworks for now ! }\";\n\t\t}\n\t\telse\n\t\t{\n\t\t\tboardStr.append(\"{ \");\n\t\t\tif(board.containsKey(Color.BLUE))\n\t\t\t{\n\t\t\t\tboardStr.append(\" Blue = \");\n\t\t\t\tboardStr.append(board.get(Color.BLUE));\n\t\t\t}\n\n\t\t\tif(board.containsKey(Color.RED))\n\t\t\t{\n\t\t\t\tboardStr.append(\" Red = \");\n\t\t\t\tboardStr.append(board.get(Color.RED));\n\t\t\t}\n\n\t\t\tif(board.containsKey(Color.GREEN))\n\t\t\t{\n\t\t\t\tboardStr.append(\" Green = \");\n\t\t\t\tboardStr.append(board.get(Color.GREEN));\n\t\t\t}\n\n\t\t\tif(board.containsKey(Color.YELLOW))\n\t\t\t{\n\t\t\t\tboardStr.append(\" Yellow = \");\n\t\t\t\tboardStr.append(board.get(Color.YELLOW));\n\t\t\t}\n\n\t\t\tif(board.containsKey(Color.WHITE))\n\t\t\t{\n\t\t\t\tboardStr.append(\" White = \");\n\t\t\t\tboardStr.append(board.get(Color.WHITE));\n\t\t\t}\n\n\t\t\tboardStr.append(\" }\");\n\t\t}\n\t\treturn boardStr.toString();\n\t}", "title": "" }, { "docid": "f093bb62d174c9e23db0647f0c77571c", "score": "0.58759296", "text": "public String toString() {\n \t\tString validity;\n \t\tString active;\n \t\tif (isValid()) validity = \"1\";\n \t\telse validity = \"0\";\n \t\tif (isActive) active = \"1\";\n \t\telse active = \"0\";\n \t\tString data = \"\" + getType() + \";\" + validity + \";\" + getSetName() + \";\" + radio + \";\";\n \t\tswitch (radio) {\n\t \t\tcase 0: return data + time + \";\" + timeType + \";\" + active + \";\";\n\t \t\tcase 1: return data + startTime + \";\" + endTime + \";\"+ active + \";\";\n\t \t\tcase 2: \n\t \t\tcase 3: return data + \";\"+ active + \";\";\n\t \t\tdefault: return data;\n \t\t}\n \t}", "title": "" }, { "docid": "7a3421e8484b4f492932e66356c945b7", "score": "0.58711886", "text": "public String toString(){\n\t\tStringBuilder tmp = new StringBuilder();\n\t\ttmp.append(\"name: \"+this.getName()+\"\\nperiod: \"+period);\n\t\treturn new String(tmp);\n\t}", "title": "" }, { "docid": "cb4f4b68a867037cdb68b1db86e9cff2", "score": "0.5866635", "text": "@Override\n\tpublic String toString() {\n\t\treturn String.format(\"%1$tY%1$tm%1$td,%1$tR,%2$d,,%3$d\", outputDate,wattHourGenerated,wattHourConsumed); // format is date,generated,exported,peakpower,peaktime,condition,mintemp,maxtemp,comment,importpeak,importoffpeak,importshoulder,importhighshoulder,consumption\n\t}", "title": "" }, { "docid": "9c1bc02d2f7504c36896aac3d8bf15f8", "score": "0.58629763", "text": "private static void PrintSchedules(\n\t\t\tArrayList< WorkSchedule > arrSchedules )\n\t{\n\t\tint i = 0;\n\n\t\tfor( WorkSchedule schedule : arrSchedules )\n\t\t{\n\t\t\ti++;\n\n\t\t\tSystem.out.println( \"- Schedule \" + i + \" -\"\n\t\t\t\t\t+ \"\\n\\tClient ID: \" + schedule.getStrClient()\n\t\t\t\t\t+ \"\\n\\tState: \" + schedule.getState()\n\t\t\t\t\t+ \"\\n\\tStart Date: \" + schedule.getDateStart()\n\t\t\t\t\t+ \"\\n\\tEnd Date: \" + schedule.getDateEnd()\n\t\t\t\t\t+ \"\\n\\tDriver: \"\n\t\t\t\t\t+ schedule.getDriver().getUsername()\n\t\t\t\t\t+ \"\\n\\tVehicle: \"\n\t\t\t\t\t+ schedule.getVehicle().getRegNo() );\n\t\t}\n\t}", "title": "" }, { "docid": "df743814182dc773f754094cbb7f1ce3", "score": "0.586005", "text": "@Override\n\tpublic String toString() {\n\t\tfinal StringBuffer sb = new StringBuffer();\n\n\t\tsb.append(\"\\tYear:\\t\\t\" + getYear() + \"\\n\");\n\t\tsb.append(\"\\tMonth:\\t\\t\" + getMonth() + \"\\n\");\n\t\tsb.append(\"\\tDay:\\t\\t\" + getDay() + \"\\n\");\n\t\tsb.append(\"\\tHour:\\t\\t\" + getHour() + \"\\n\");\n\t\tsb.append(\"\\tMinute:\\t\\t\" + getMinute() + \"\\n\");\n\t\tsb.append(\"\\tSecond:\\t\\t\" + getSecond() + \"\\n\");\n\t\treturn sb.toString();\n\t}", "title": "" }, { "docid": "4ce8cc7f518ec6410e56a7f18c6fdfc5", "score": "0.585796", "text": "public String toString() {\n\t\treturn year+\"/\"+month+\"/\"+day; \n\t}", "title": "" }, { "docid": "7963a7e1a10aa0b096ba18f6b2482031", "score": "0.58411103", "text": "public String toString() {\n return (int) timeInSeconds / 3600 + \":\" + (int) (timeInSeconds / 60) % 60 + \":\" + (int) timeInSeconds % 60;\n }", "title": "" }, { "docid": "e4d4e9b225c9cbcb86288a7e20abfb15", "score": "0.58405805", "text": "public String workoutFormat() {\r\n\t\tString formatStr = \"Workout: \"+\"\\n\";\r\n\t\tType t = getType();\r\n\t\tint restTime;\r\n\t\tint exerciseNumber;\r\n\t\tchar letterNumber;\r\n\t\tswitch(t) {\r\n\t\tcase circuit :\r\n\t\t\tformatStr+=\"Directions: complete the series of exercises in succession with minimal rest in between. Once all exercises are completed, rest for prescribed amout of time, then repeat. \\n\"; \r\n\t\t\trestTime=rand.nextInt(2)+1; //either 1 or 2 mins\r\n\t\t\texerciseNumber=1;\r\n\t\t\tletterNumber = 'a';\r\n\t\t\tfor (Exercise e : orderedExerciseList) { //need to alterante primary and secondary?? alternate uni/bi lateral movements? \r\n\t\t\t\te.getFormat().setSets(1);\r\n\t\t\t\te.getFormat().setRepRange(10,12);\r\n\t\t\t\te.getFormat().setRestTime(0);\r\n\t\t\t\tformatStr+=(exerciseNumber+(\"\"+letterNumber)+\". \"+e+\"\\n\");\t\r\n\t\t\t\tletterNumber++;\t\t\r\n\t\t\t}\r\n\t\t\tformatStr+=(\"Rest || \" + restTime + \" mins\"+\"\\n\");\r\n\t\t\tformatStr+=(\"Repeat circuit for 3 sets \\n\");\t\r\n\t\t\tbreak;\r\n\t\tcase superset :\r\n\t\t\tformatStr+=\"Directions: complete one set of A and then B before resting. Repeat for all the prescribed sets before moving on to the next pair.\\r\\n\"; \r\n\t\t\t//8-10 reps, 3 sets of each superset then move to hte next\r\n\t\t\t//1a.\r\n\t\t\t//1b\r\n\t\t\t//back to back exercises with no rest in between. 1-2 mins of rest in between\r\n\t\t\trestTime=rand.nextInt(2)+1; //either 1 or 2 mins\r\n\t\t\tint numOfRestPeriods=this.NUM_TOTAL_EXERCISES/2; \r\n\t\t\texerciseNumber=1;\r\n\t\t\tint exerciseTracker=0;\r\n\t\t\twhile (numOfRestPeriods>0) {\r\n\t\t\t\tletterNumber = 'a';\r\n\t\t\t\tExercise e = orderedExerciseList.get(exerciseTracker);\r\n\t\t\t\te.getFormat().setSets(3);\r\n\t\t\t\te.getFormat().setRepRange(8,10);\r\n\t\t\t\te.getFormat().setRestTime(0);\r\n\t\t\t\tformatStr+=(exerciseNumber+(\"\"+letterNumber)+\". \"+e+\"\\n\");\t\r\n\t\t\t\tletterNumber++;\r\n\t\t\t\texerciseTracker++;\r\n\t\t\t\tExercise e2 = orderedExerciseList.get(exerciseTracker);\r\n\t\t\t\te2.getFormat().setSets(3);\r\n\t\t\t\te2.getFormat().setRepRange(8,10);\r\n\t\t\t\te2.getFormat().setRestTime(restTime);\r\n\t\t\t\tformatStr+=(exerciseNumber+(\"\"+letterNumber)+\". \"+e2+\"\\n\");\t\r\n\t\t\t\texerciseNumber++;\r\n\t\t\t\texerciseTracker++;\r\n\t\t\t\t//formatStr+=(\"Rest || \" + restTime + \" mins\");\r\n\t\t\t\tnumOfRestPeriods--;\t\t\r\n\t\t\t\t/*if (numOfRestPeriods!=0)\r\n\t\t\t\t\tformatStr+=\"\\n\";*/\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase regularLight:\r\n\t\t\t//15 reps, 1-2 mins rest in between. 2-3 sets\r\n\t\t\tformatStr+=\"Directions: complete each exercise and wait to complete its next set until alloted rest time has passed (if there's a lot of rest time in between, feel free to do a set of the next exercise in between to speed up workout) \\n\"; \r\n\t\t\trestTime=rand.nextInt(2)+1; //either 1 or 2 mins\r\n\t\t\tint setNumber = rand.nextInt(2)+2; //either 2 or 3 sets\r\n\t\t\tint repNumber = (setNumber == 2 ? 20 : 15); //if sets=2, then 20 reps, if sets=3 then do 15 reps\r\n\t\t\texerciseNumber=1;\r\n\t\t\tfor (Exercise e : orderedExerciseList) { //need to alterante primary and secondary?? alternate uni/bi lateral movements? \r\n\t\t\t\te.getFormat().setSets(setNumber);\r\n\t\t\t\te.getFormat().setRepRange(repNumber);\r\n\t\t\t\te.getFormat().setRestTime(restTime);\r\n\t\t\t\tformatStr+=(exerciseNumber+\". \"+e+\"\\n\");\r\n\t\t\t\texerciseNumber++;\r\n\t\t\t}\t\r\n\t\t\tbreak;\r\n\t\tcase regularMedium:\r\n\t\t\t//8-12 reps, 1-2 mins rest in between. 3-4 sets\r\n\t\t\tformatStr+=\"Directions: complete each exercise and wait to complete its next set until alloted rest time has passed (if there's a lot of rest time in between, feel free to do a set of the next exercise in between to speed up workout) \\n\"; \r\n\t\t\trestTime=rand.nextInt(2)+1; //either 1 or 2 mins\r\n\t\t\tsetNumber = rand.nextInt(2)+3; //either 3 or 4 sets\r\n\t\t\texerciseNumber=1;\r\n\t\t\tfor (Exercise e : orderedExerciseList) { //need to alterante primary and secondary?? alternate uni/bi lateral movements? \r\n\t\t\t\te.getFormat().setSets(setNumber);\r\n\t\t\t\te.getFormat().setRepRange(8,12);\r\n\t\t\t\te.getFormat().setRestTime(restTime);\r\n\t\t\t\tformatStr+=(exerciseNumber+\". \"+e+\"\\n\");\r\n\t\t\t\texerciseNumber++;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase regularHeavy:\r\n\t\t\t//5 reps, 3-4 mins rest in between, 5 sets\r\n\t\t\tformatStr+=\"Directions: complete each exercise and wait to complete its next set until alloted rest time has passed (if there's a lot of rest time in between, feel free to do a set of the next exercise in between to speed up workout) \\n\"; \r\n\t\t\trestTime=rand.nextInt(2)+3; //either 3 or 4 mins\r\n\t\t\tsetNumber = 5; //either 3 or 4 sets\r\n\t\t\trepNumber = 5; \r\n\t\t\texerciseNumber=1;\r\n\t\t\tfor (Exercise e : orderedExerciseList) { //need to alterante primary and secondary?? alternate uni/bi lateral movements? \r\n\t\t\t\te.getFormat().setSets(setNumber);\r\n\t\t\t\te.getFormat().setRepRange(repNumber);\r\n\t\t\t\te.getFormat().setRestTime(restTime);\r\n\t\t\t\tformatStr+=(exerciseNumber+\". \"+e+\"\\n\");\r\n\t\t\t\texerciseNumber++;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\treturn formatStr;\r\n\t}", "title": "" }, { "docid": "7cf83ed9a16dc02f366260411644a98f", "score": "0.58377963", "text": "public String toString()\n {\n String outString = \"\\nTeacher Id: \" + teacherId;\n outString += \"\\nTeacher Name: \" + teacherName;\n outString += \"\\nCourses: \\n\";\n for(Course course : courses)\n {\n outString += course.toString();\n }\n return outString; \n }", "title": "" }, { "docid": "be2870b7fb704e3caf5916bf02aa03c2", "score": "0.5836659", "text": "public String toString(){\r\n\t\tint giorno= data.get(GregorianCalendar.DAY_OF_MONTH);\r\n\t\tint mese= data.get(GregorianCalendar.MONTH)+1;\r\n\t\tint anno= data.get(GregorianCalendar.YEAR);\r\n\t\tint ora= data.get(GregorianCalendar.HOUR_OF_DAY);\r\n\t\tint minuti= data.get(GregorianCalendar.MINUTE);\r\n\t\tString stringaOra, stringaMinuti;\r\n\t\tif (ora<10) stringaOra= \"0\" + ora;\r\n\t\telse stringaOra= \"\" + ora;\r\n\t\tif (minuti<10) stringaMinuti= \"0\" + minuti;\r\n\t\telse stringaMinuti= \"\" + minuti;\r\n\t\treturn squadraCasa + \" - \" + squadraTrasferta +\" Stadio \" + stadio.toString() + \" del \" + giorno + \"/\" + mese + \"/\" + anno + \" alle \" + stringaOra + \":\" + stringaMinuti;\r\n\t}", "title": "" }, { "docid": "4f2a80a69f7c70db78a2579372b66210", "score": "0.5830593", "text": "@Override\n\tpublic String toString() {\n\t\tif (this.getStudentIdStr() != null)\n\t\t\treturn \"Ticket ID:\" + this.getTicketId() + \"\\r\\nMovie Name:\" + this.getMovieStr() + \"\\r\\nScreen:\"\n\t\t\t\t\t+ this.getScreenStr() + \"\\r\\nTime:\" + this.getTimeStr() + \"\\r\\nSeat:\" + this.getSeatStr()\n\t\t\t\t\t+ \"\\r\\nTicket Type:\" + this.getTypeStr() + \"\\r\\nStudent ID:\" + this.getStudentIdStr() + \"\\r\\nPrice:\"\n\t\t\t\t\t+ this.getPriceStr() + \"pounds\";\n\t\telse\n\t\t\treturn \"Ticket ID:\" + this.getTicketId() + \"\\r\\nMovie Name:\" + this.getMovieStr() + \"\\r\\nScreen:\"\n\t\t\t\t\t+ this.getScreenStr() + \"\\r\\nTime:\" + this.getTimeStr() + \"\\r\\nSeat:\" + this.getSeatStr()\n\t\t\t\t\t+ \"\\r\\nTicket Type:\" + this.getTypeStr() + \"\\r\\nPrice:\" + this.getPriceStr() + \"pounds\";\n\t}", "title": "" }, { "docid": "3d4e6a25a9e29ad2d891d5dd8b34a25b", "score": "0.5829982", "text": "public void printSchedule() {\r\n\t\tfor (Integer courseId : courseIds) {\r\n\t\t\tSystem.out.println(catalog.getCourse(courseId));\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "a885291b2a0f817b3e10e8d5ecb006f5", "score": "0.58283556", "text": "public String toString(TimeFormat timeFormat, ZoneId zoneId);", "title": "" }, { "docid": "8140da28585e2be6c744a8531d26858a", "score": "0.58264065", "text": "protected String asString(Timeslot timeslot) {\n String startString = timeslot.getStartingHour() + \"h\" + timeslot.getStartingMinute();\n String endString = timeslot.getEndingHour() + \"h\" + timeslot.getEndingMinute();\n return \"Créneau de \" + startString + \" à \" + endString;\n }", "title": "" }, { "docid": "dafcf4fbc025da4f5a0725ecebc61366", "score": "0.5825643", "text": "public String toString()\r\n {\r\n String formattedTripPlan = \"TripPlan[\";\r\n for (int i = 0; i < cities.size(); i++)\r\n {\r\n String city = cities.get(i);\r\n if (i == cities.size()-1)\r\n {\r\n formattedTripPlan += city;\r\n }\r\n else\r\n {\r\n formattedTripPlan += city + \",\";\r\n }\r\n }\r\n formattedTripPlan += \"]\";\r\n\r\n return formattedTripPlan;\r\n }", "title": "" }, { "docid": "023ae525d319f5f6c52f227caf8c4c1b", "score": "0.5825215", "text": "public Schedule getSchedule() { return schedule; }", "title": "" }, { "docid": "93703bbbf151097687c183104ea2e20f", "score": "0.5822062", "text": "public String toString()\n {\n \tString total = \"\\t\";\n \ttotal += eventName + \"\\n\\t\";\n \ttotal += \"Starts at: \" + start + \"\\n\\t\";\n \ttotal += \"Ends at : \" + end + \"\\n\\t\";\n \ttotal += \"Event description: \" + description + \"\\n\";\n \treturn total;\n }", "title": "" }, { "docid": "cf027c2b962659a109e830ce0e1cfda4", "score": "0.5816837", "text": "public Schedule getSchedule();", "title": "" }, { "docid": "c52c4cabdf4727a203d2a1a166f07c2e", "score": "0.5815683", "text": "public String toString() {\r\n\t\tString program = \"The performance includes \";\r\n\t\tprogram += arrangement;\r\n\t\treturn (program);\r\n\t}", "title": "" }, { "docid": "8edd5ab9fa3290de61743e388693adf9", "score": "0.58126897", "text": "public String toString() \n {\n String str = \"\";\n for(int i = 0; i < 3; i++) {\n for(int j = 0; j < 3; j++) {\n if(j<2) {\n str = str + board[i][j] + \" | \";\n } else {\n str = str + board[i][j];\n }\n }\n if(i<2) {\n str = str + \"\\n\" + \"----------\";\n } \n str = str + \"\\n\";\n }\n \n if(!winner.equals(EMPTY)) {\n if(winner.equals(TIE)) {\n str = str + \" You have Tied!\";\n } else {\n str = str + winner + \" Wins\";\n }\n }\n return str;\n }", "title": "" }, { "docid": "42a2ac3e62f4f5a7ce0d22965fe231ce", "score": "0.58045197", "text": "@Override\r\n\tpublic Schedule getSchedule() {\r\n\t\treturn this.schedule;\r\n\t}", "title": "" }, { "docid": "77abf181b7e1a6c31a1bc413001737b9", "score": "0.58039755", "text": "@Override\n public String toString(){\n return (\"Arrival Time: \" + this.arrivalTime + \", Process Id: \" + this.processId + \", Service Time: \" + this.serviceTime + \", Process Priority: \" + this.processPriority + \"\\n\");\n }", "title": "" } ]
4a98c8b60fe4e4281436ff0fa88e5620
string password = 7;
[ { "docid": "261dfea0305abd3cd162144fa9d3bc2f", "score": "0.0", "text": "public Builder clearPassword() {\n\n password_ = getDefaultInstance().getPassword();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.7666492", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.7666492", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.7666492", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.7666492", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.7666492", "text": "String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.7456939", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "3cc7f77aceeda86553e56766d149926a", "score": "0.74178016", "text": "public String password();", "title": "" }, { "docid": "86866a874fe91cc62f4abd2e025d4937", "score": "0.7309474", "text": "private String getPassword(String password) {\n\t\treturn password;\n\t}", "title": "" }, { "docid": "eafd92e722fbf0b9e2b36b87c5659023", "score": "0.7281824", "text": "public String getPassword();", "title": "" }, { "docid": "eafd92e722fbf0b9e2b36b87c5659023", "score": "0.7281824", "text": "public String getPassword();", "title": "" }, { "docid": "29bb0a1df1f3cf1848b53cbe6f5cd3cf", "score": "0.7149745", "text": "String hashPw(String password);", "title": "" }, { "docid": "4a4964aafe8910ae8d44b7516c5884ff", "score": "0.7089187", "text": "public String getPassword(){return password;}", "title": "" }, { "docid": "06c7eabbb63babca638c297bb9f60471", "score": "0.7086274", "text": "String getUserPassword(String username);", "title": "" }, { "docid": "3fbf5ed198aacf06794263486a9c7430", "score": "0.69836193", "text": "public abstract String getPassword();", "title": "" }, { "docid": "3fbf5ed198aacf06794263486a9c7430", "score": "0.69836193", "text": "public abstract String getPassword();", "title": "" }, { "docid": "611127c5d9424a471d95c04706c6747e", "score": "0.69027996", "text": "Builder password(String password);", "title": "" }, { "docid": "db6d6387da0d5576f5b548465a0c4133", "score": "0.68928367", "text": "public void setPassword(String s){\n password = s;\r\n }", "title": "" }, { "docid": "1c0c484f20fbaedebf4b592de3f48066", "score": "0.68741786", "text": "public String getPassword(){\n return password;\r\n }", "title": "" }, { "docid": "93bbe299ad290797949b33d4bae799e7", "score": "0.68664706", "text": "com.google.protobuf.StringValue getPassword();", "title": "" }, { "docid": "f0a5bc542cb051467c0549adbc4d8a3a", "score": "0.6829487", "text": "void setPassword(String password);", "title": "" }, { "docid": "822bfe2675bb971786427c12f85b5777", "score": "0.6827576", "text": "void setPassword(String pw);", "title": "" }, { "docid": "335e98f005e4c995dc187a206a4b6631", "score": "0.6823642", "text": "public String getPassword() \n{\nreturn (String)get_ValueE(\"Password\");\n}", "title": "" }, { "docid": "3320eb008d47cabf986bbb8ac3576379", "score": "0.681225", "text": "public String getPassword(){\n return password;\n}", "title": "" }, { "docid": "e34e51849b1847dfe5552f78a5db2526", "score": "0.68068475", "text": "String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "0d6f756593341a0aa372fb7e6ba02b8a", "score": "0.67994237", "text": "public String getPass();", "title": "" }, { "docid": "be44cf8c65a1f3efd3108a556448bf54", "score": "0.6770385", "text": "public String getPassword(){\n return password;\n }", "title": "" }, { "docid": "d5525fd83aec379ca02932b3b268c41b", "score": "0.6740024", "text": "public String getPassword()\r\n {\n return password;\r\n }", "title": "" }, { "docid": "64aa2879d436eacdb58e4ff116cb5e5c", "score": "0.6720677", "text": "String getSavedPassword();", "title": "" }, { "docid": "50e4c1f646ba6de1c384ccef8423d69d", "score": "0.67167383", "text": "public String getPassword()\r\n {\r\n return password;\r\n }", "title": "" }, { "docid": "ca01733a4f1d0bd348972ee4a0621798", "score": "0.67087775", "text": "public void setPassword (String newVar) {\n password = newVar;\n }", "title": "" }, { "docid": "a79bfa1cc43da5c6343a93671b7a6b81", "score": "0.6705748", "text": "public String getPassword(String paramParty);", "title": "" }, { "docid": "080915a03365823ef87e05a9ae9f9247", "score": "0.6695297", "text": "private String hash(String password) {\n int hash = 7;\n for (int i = 0; i < password.length(); i++) {\n hash = hash * 31 + password.charAt(i);\n }\n return Integer.toString(hash);\n }", "title": "" }, { "docid": "f448e587032d21ac5b99f7c3708f11bc", "score": "0.668898", "text": "public String getPassword()\n {\n return password;\n }", "title": "" }, { "docid": "ad1d5d5f6a308a8dbf9b42eb4140811c", "score": "0.668466", "text": "public String getPassword() {\n \treturn password;\n }", "title": "" }, { "docid": "811bf46eed7cd028aa4ab1f7f4712c20", "score": "0.66819286", "text": "public static String getPassword()\n {\n return password;\n }", "title": "" }, { "docid": "82757338d4bd16bdc2f71d12d2c652ca", "score": "0.6675818", "text": "public void setPassword(String password) {}", "title": "" }, { "docid": "53e7c21b4d86ac974e19e374684357e0", "score": "0.6635295", "text": "public String encrypt(String password);", "title": "" }, { "docid": "efa5931da16f1ecf1415a337d357fa67", "score": "0.6629557", "text": "public static String getPassword(){\r\n \treturn textPassword.getText();\r\n }", "title": "" }, { "docid": "344764589f4614e2006b256d71d5fc52", "score": "0.66266936", "text": "public String getPassword()\n {\n return password;\n }", "title": "" }, { "docid": "344764589f4614e2006b256d71d5fc52", "score": "0.66266936", "text": "public String getPassword()\n {\n return password;\n }", "title": "" }, { "docid": "344764589f4614e2006b256d71d5fc52", "score": "0.66266936", "text": "public String getPassword()\n {\n return password;\n }", "title": "" }, { "docid": "344764589f4614e2006b256d71d5fc52", "score": "0.66266936", "text": "public String getPassword()\n {\n return password;\n }", "title": "" }, { "docid": "584e29430b58330fc3b61ac0d0a8b99b", "score": "0.662447", "text": "public static int getPassword(Admin inAdmin)\n {\n int password = 0;\n\n return password;\n }", "title": "" }, { "docid": "1e7ef3db7d55e34ca6c4fab208e6a8c5", "score": "0.659977", "text": "public void setPassword(String value)\n {\n this.password = value;\n }", "title": "" }, { "docid": "b864000b7606dcc9f3f299a33e2af22b", "score": "0.6594971", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "21c06d21650422e4a6fd689c1738fc6e", "score": "0.6587409", "text": "Byte[] getPassword();", "title": "" }, { "docid": "4c3cdf43ba5a344a20ab3afbbd8e5012", "score": "0.6557697", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4c3cdf43ba5a344a20ab3afbbd8e5012", "score": "0.6557697", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "d13ce542e60799a69bc7f6b1cf86c710", "score": "0.655582", "text": "public static void main(String[] args)\r\n {\n int length = 8;\r\n System.out.println(geek_Password(length));\r\n }", "title": "" }, { "docid": "ea181a6c667bb9206a6fa6f8a951a73d", "score": "0.65440327", "text": "String getPassword(final User user);", "title": "" }, { "docid": "dc2a532dfee6489da08cfb5121ca578a", "score": "0.65363026", "text": "public void setPassword (String Password)\n{\nif (Password != null && Password.length() > 40)\n{\nlog.warning(\"Length > 40 - truncated\");\nPassword = Password.substring(0,40);\n}\nset_ValueE (\"Password\", Password);\n}", "title": "" }, { "docid": "26d8d8809c88b557106db52dd2542d9e", "score": "0.6534481", "text": "public String getPassword() {\r\n\t return password;\r\n\t }", "title": "" }, { "docid": "4ade184875a4ecf46a2b834376ca6505", "score": "0.6534052", "text": "public void setPassword(final String password);", "title": "" }, { "docid": "d1a6a82720680f48125e1ecacc77801d", "score": "0.6528763", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "56113c7135f06f5c9e599c5f1d35b7ac", "score": "0.6501147", "text": "public String getPassword () {\n return password;\n }", "title": "" }, { "docid": "68f5e760a8d4d2593f171d6caaf42980", "score": "0.6475923", "text": "public String getPassword(){\r\n\t\treturn this.password;\r\n\r\n\t}", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "c4ea43437bf369d65f805c7ba2a3868f", "score": "0.6468528", "text": "public String getPassword() {\r\n return password;\r\n }", "title": "" }, { "docid": "076dfb5004cc6db4a44f9b4647ef2f9d", "score": "0.64682853", "text": "public String getPassword() {\n return _pass_word;\n }", "title": "" }, { "docid": "6472d1608d51265a4b65a629fdd4e619", "score": "0.6450457", "text": "public String getPassword(){\n\t\treturn _password;\n\t}", "title": "" }, { "docid": "d812f2fa7d6d8fc9fa956cd5f67f9553", "score": "0.6449142", "text": "public void setPassword(String p) {\n this.password = p;\n }", "title": "" }, { "docid": "eb4421facd0027ef1d14375de7315e29", "score": "0.6443856", "text": "public void setPassword(String any) {\n password = any;\n }", "title": "" }, { "docid": "e290a5d7aad568920d4d1bcf79791e60", "score": "0.64419794", "text": "public String getPassword()\r\n {\r\n return new String ( passwd_.getPassword() );\t\r\n }", "title": "" }, { "docid": "bdfd255eac9fc2550a65df26c35f9843", "score": "0.64339596", "text": "BindingParam getPassword();", "title": "" }, { "docid": "aa7314271c3c15d3fd316b72071949f4", "score": "0.64334214", "text": "protected String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" }, { "docid": "4569d0b8862f7eca051a801487a9e33d", "score": "0.6424505", "text": "public String getPassword() {\n return password;\n }", "title": "" } ]
bef26f031f1eae638f42d008a088c3dc
This function return the number of sections in this course
[ { "docid": "6fe8d69bf842d12dbf3403c580a123bb", "score": "0.7412077", "text": "public int getNumSections() {\n\t\treturn numSections;\n\t}", "title": "" } ]
[ { "docid": "3afe0fac28e8e1834e777be6f81d2184", "score": "0.70683455", "text": "public int getLength() {\n return sections.size();\n }", "title": "" }, { "docid": "ffbd3c785997b53f69b33356fd2fe2c3", "score": "0.70286125", "text": "public abstract int getSectionItemCount(T section);", "title": "" }, { "docid": "39205651b8fbbda68846e3f777f31442", "score": "0.6938411", "text": "int getCoursesCount();", "title": "" }, { "docid": "32bdfc7a54410f24d7f2d312309bc7cd", "score": "0.6888419", "text": "public int getRowCount() {\n int sum = 0;\n for (Section row : sections) {\n sum += row.dataRows.getRowCount();\n }\n return sum;\n }", "title": "" }, { "docid": "77f37cc8d5e717feaa9a7fd06c16e0af", "score": "0.68359387", "text": "int getNumberOfParts();", "title": "" }, { "docid": "9bed6d4b0af13f73662def282a4f68bf", "score": "0.67986", "text": "public int numberOfSegments() {\n return lineSects.length;\n }", "title": "" }, { "docid": "c86e61fff87c57ce13014b1d0e6a4ea5", "score": "0.6705019", "text": "public int segmentsCount();", "title": "" }, { "docid": "fd2f4c4df2ce0e319adb507bc06a8df2", "score": "0.6446844", "text": "@Override\r\n\tpublic int getCourseCount() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "8632adec1a0c0ebf4f33fbd2a0428824", "score": "0.63334495", "text": "public int getCourseCountInDegreePlan() {\n\t\t\n\t String countQuery = \"SELECT * FROM \" + TABLE_COURSE + \" WHERE \" + KEY_GROUP_ID + \"!=-1\";\n\t Cursor cursor = db.rawQuery(countQuery, null);\n\t \n\t int count = cursor.getCount();\n\t cursor.close();\n\t \n\t // return count\n\t return count;\n\t}", "title": "" }, { "docid": "001e23ec740cf211b428cb2764afc09b", "score": "0.63283265", "text": "public int getSectionNum(){\n\t\treturn sectionNum;\n\t}", "title": "" }, { "docid": "2e54b47d79de0e9ef0f0b232eb19fba3", "score": "0.62842566", "text": "public int getCoursesCount() {\n return courses_.size();\n }", "title": "" }, { "docid": "c51323028ec694379f66c01ab707b7bd", "score": "0.62579834", "text": "public int numberOfSegments()\t{\n\t\tnoOfSegments=lineSegments.toArray(new LineSegment[lineSegments.size()]);\n\t\treturn noOfSegments.length;\n\t\t // the number of line segments\n\t }", "title": "" }, { "docid": "32f1cec60fd1bfd6987b366d95aeb7cd", "score": "0.62389565", "text": "public int getSectionNum() {\n\t\treturn sectionNum;\r\n\t}", "title": "" }, { "docid": "e1f6382d77861861a1474b0f41b98fd2", "score": "0.62179524", "text": "public int getCoursesCount() {\n return courses_.size();\n }", "title": "" }, { "docid": "f7a8b34ea52f0a80bc9fd84c31a58f13", "score": "0.6211141", "text": "public int numberOfSegments() {\n return lSegments.size();\n }", "title": "" }, { "docid": "996cc697f66f22049e9dbfd703b04b8d", "score": "0.61816365", "text": "public void setNumSections(int numSections) {\n\t\tthis.numSections = numSections;\n\t}", "title": "" }, { "docid": "11d1cf7cfe29e8040fdd317f069a9cf0", "score": "0.61552346", "text": "public int numberOfSegments() {\r\n // the number of line segments\r\n return lineSegments.size();\r\n }", "title": "" }, { "docid": "658dd7c0aab83290c9ef234cc3dccc67", "score": "0.61383635", "text": "public static int getNumStudents() {\r\n return numStudents;\r\n }", "title": "" }, { "docid": "2b38dc92f2f389e79be4f905ad29651b", "score": "0.6115508", "text": "public static int printAllCourses() {\n\t\tArrayList<Object> courses=fileController.getCourses();\n\n\t\tSystem.out.println(\"+-------------------------------------+\");\n\t\t\n\t\tSystem.out.println(\"| Course Code \\t \\t Course Name |\");\n\n\t\tSystem.out.println(\"+-------------------------------------+\");\n\t\tfor (int i = 0 ; i <courses.size() ; i++) {\n\t\t\tCourse cour = (Course)courses.get(i);\n\t\t\tSystem.out.println(i+1+\") \"+cour.getCourseCode()+\"\\t \\t \"+cour.getCourseName());\n\t\t}\t\n\t\t\n\t\treturn courses.size();\n\t}", "title": "" }, { "docid": "2163999aacad15033421a3a21cdfe00a", "score": "0.6087129", "text": "public int numberOfSegments() {\n return lines.size(); \n }", "title": "" }, { "docid": "c7003b79185310696c78f17ffaf4350d", "score": "0.60788745", "text": "public int numberOfSegments() {\n return segments.size();\n }", "title": "" }, { "docid": "c7003b79185310696c78f17ffaf4350d", "score": "0.60788745", "text": "public int numberOfSegments() {\n return segments.size();\n }", "title": "" }, { "docid": "7cd2e2d9b476d7b5f93a297120cd0019", "score": "0.6074957", "text": "int getStudentCount();", "title": "" }, { "docid": "e66b3ca5aae708e08e15335697005001", "score": "0.60713184", "text": "public int numberOfSegments() {\n\t\treturn al.size();\n\t}", "title": "" }, { "docid": "195fcc35ad9e2c9e5b7daaed75311dda", "score": "0.60659564", "text": "int getNoOfParties();", "title": "" }, { "docid": "b4b258d5d0f012d2f6d7c68a67c1d4da", "score": "0.6056595", "text": "public int getnumStudents()\n\t{\n\t\treturn studentCount;\n\t}", "title": "" }, { "docid": "7f44fbb5935696288c5dba8927bd8393", "score": "0.6040478", "text": "long numberOfBlocks();", "title": "" }, { "docid": "20e09ba340b0221a2f86dc2c7dbaeac1", "score": "0.6040047", "text": "int getBlocksCount();", "title": "" }, { "docid": "9c0a53a520b184c8b88c2271886798d2", "score": "0.60399735", "text": "public int numberOfSegments() {\n return ls.size();\n }", "title": "" }, { "docid": "489980bf0c9422473fcb446819904b1a", "score": "0.6032144", "text": "public int numberOfSegments() {\n return segments.size();\n }", "title": "" }, { "docid": "976d661a93e7881ec5b1de9c2d8016b2", "score": "0.60290223", "text": "int getCarPartCount();", "title": "" }, { "docid": "385892952544afa98b8fbf47928aff33", "score": "0.6021062", "text": "public int countCourseLevel(int level){\n\t\tint numOfCourse = 0;\n\t\tint courseLevel = 0;;\n\t\t\n\t\tfor (int i = 0; i < this.coursesTaught.length; i++) {\n\t\t\tcourseLevel = Math.floorDiv(this.coursesTaught[i].id, 100); // get the course level from the course id\n\t\t\tif(courseLevel == level){\n\t\t\t\tnumOfCourse++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn numOfCourse;\n\t}", "title": "" }, { "docid": "2445d57d6b6e28a35c5170cab958dfb1", "score": "0.6019455", "text": "public int numberOfSegments()\r\n {\r\n return segmentsList.size();\r\n }", "title": "" }, { "docid": "cb6bef421f0d62fb51f76f15f5dc2bc6", "score": "0.6018815", "text": "public int numberOfSegments(){\n return lineSeg.size();\n }", "title": "" }, { "docid": "afd5961d2db606b267e4e4fd631ab4fa", "score": "0.59904385", "text": "public int numberOfSegments() {\r\n return segments.length;\r\n }", "title": "" }, { "docid": "015d9f2ece02cf8fe27b7c05d7765771", "score": "0.5989957", "text": "public int getCourseCountInDegreePlanCompleted() {\n\t\t\n\t String countQuery = \"SELECT * FROM \" + TABLE_COURSE + \" WHERE \" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"!=? AND \" + KEY_GRADE + \"!=?\";\n\t Cursor cursor = db.rawQuery(countQuery, new String[] {\"-1\", \"None\", \"F \"});\n\t \n\t int count = cursor.getCount();\n\t cursor.close();\n\t \n\t // return count\n\t return count;\n\t}", "title": "" }, { "docid": "caff78b472cd435241234b90f986e8f0", "score": "0.59774333", "text": "int getMissionCount();", "title": "" }, { "docid": "8ff2bdf3871d8ad74deda871c8593fd1", "score": "0.5940916", "text": "public int getTotalSectors() {\n return cylinders * headsPerCylinder * sectorsPerTrack;\n }", "title": "" }, { "docid": "04306410e77b670276e870971a6dac8f", "score": "0.59294796", "text": "@Override\n public int unitCount(CAS aCas)\n {\n return aCas.getAnnotationIndex(CasUtil.getType(aCas, Sentence.class)).size();\n }", "title": "" }, { "docid": "afbb814e05a953a4dca01a8ef0e0ab15", "score": "0.5922927", "text": "public int numberOfSegments() {\n return segments.length;\n }", "title": "" }, { "docid": "afbb814e05a953a4dca01a8ef0e0ab15", "score": "0.5922927", "text": "public int numberOfSegments() {\n return segments.length;\n }", "title": "" }, { "docid": "a8eab429273d6b329977779855b135b5", "score": "0.5887296", "text": "public int getCCount() {\n\t\tint count = 0;\n\t\tCursor cursor;\n\t\t\n\t String countQuery = \"SELECT * FROM \" + TABLE_COURSE + \" WHERE \" + \n\t \t\t\"(\" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"=?) OR \" +\n\t \t\t\"(\" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"=?) OR \" +\n\t \t\t\"(\" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"=?)\";\n\t \n\t \n\t cursor = db.rawQuery(countQuery, new String[] {\"-1\", \"C+\", \"-1\", \"C \", \"-1\", \"C-\"});\n\t \n\t count += cursor.getCount();\n\t cursor.close();\n\t \n\t return count;\n\t}", "title": "" }, { "docid": "aa15a96b360ddfd35397dc5d5e5b413c", "score": "0.58756363", "text": "public int getCount() {\n int total = 0;\n\n if (mFilteredSections != null) {\n // If filter is active, get count from filtered sections\n for (FilteredSection filteredSection: mFilteredSections) {\n total += filteredSection.matches.size();\n }\n } else {\n // Filter not active, get count from regular section list.\n for (T section : mSections) total += getSectionItemCount(section);\n }\n\n return total;\n }", "title": "" }, { "docid": "50073f913ac1328deb250ecdd3c508ff", "score": "0.5865701", "text": "int getExamplesCount();", "title": "" }, { "docid": "50073f913ac1328deb250ecdd3c508ff", "score": "0.5865701", "text": "int getExamplesCount();", "title": "" }, { "docid": "2239db81ca0d43b14213853e134b5d2d", "score": "0.58559376", "text": "public int getNumberOfSegments() {\n if (!initialised) {\n initialise();\n }\n return segmentIndexes.length;\n }", "title": "" }, { "docid": "ebaf738c08e9b62f1667ed1b25767673", "score": "0.5855304", "text": "public int numStudents() {\n return numTeams() * 5;\n }", "title": "" }, { "docid": "b0d7ec9ab69df4031dabd14559261709", "score": "0.5854718", "text": "int getUnitArrCount();", "title": "" }, { "docid": "b0d7ec9ab69df4031dabd14559261709", "score": "0.5854718", "text": "int getUnitArrCount();", "title": "" }, { "docid": "b0d7ec9ab69df4031dabd14559261709", "score": "0.5854718", "text": "int getUnitArrCount();", "title": "" }, { "docid": "a1e9d0113426cd70ecd20ae086d46e4f", "score": "0.5853095", "text": "public final native int getSectionNumber()/*-{\n return this.i;\n }-*/;", "title": "" }, { "docid": "bb7c6737e462e28501343d862d736210", "score": "0.5852681", "text": "int getNumSubpartitions();", "title": "" }, { "docid": "82cbf4796fc0be1847eea66e24c31c03", "score": "0.5846406", "text": "int getNumberOfTestcases();", "title": "" }, { "docid": "9901886b768bbcfbc63899568d19d7b1", "score": "0.58372957", "text": "public int getNumberOfStudents()\n {\n return students.getNumberOfStudents();\n }", "title": "" }, { "docid": "86625a9b8b0ec7069056ca91ee6881ba", "score": "0.5837044", "text": "public int totalNumOfPieces();", "title": "" }, { "docid": "f9960dc61026916b07eef5183e782ec5", "score": "0.5836375", "text": "int getNumberOfPages();", "title": "" }, { "docid": "edcfc7eab9c47e3e3780d5169f740d8e", "score": "0.58267206", "text": "public int getTotalParts() {\r\n return totalParts;\r\n }", "title": "" }, { "docid": "010495f6d57d0a6016defbb2a1cec256", "score": "0.5815252", "text": "public void incrementSection() {\r\n incrementSection(1);\r\n }", "title": "" }, { "docid": "5f200045b3582cb267fd2b666dcf1eb6", "score": "0.58129513", "text": "int getCountOfUses();", "title": "" }, { "docid": "c717b5574e96879689eb7bfc0aca81f5", "score": "0.5806472", "text": "public int numberOfSegments() {\n return lineSegments.size();\n }", "title": "" }, { "docid": "c717b5574e96879689eb7bfc0aca81f5", "score": "0.5806472", "text": "public int numberOfSegments() {\n return lineSegments.size();\n }", "title": "" }, { "docid": "c717b5574e96879689eb7bfc0aca81f5", "score": "0.5806472", "text": "public int numberOfSegments() {\n return lineSegments.size();\n }", "title": "" }, { "docid": "9ab7c9fdc9c2f08838dee92d3315ed4a", "score": "0.5803298", "text": "public int getNumSegments() {\n return segmentID;\n }", "title": "" }, { "docid": "e1ee0535849f4acde413284ec549502f", "score": "0.57912517", "text": "public int numberOfSegments() {\r\n return size;\r\n }", "title": "" }, { "docid": "6b841117d749c0a629ad16f27b682ac3", "score": "0.57887274", "text": "public int getEnroll() {\r\n\t\treturn students.size();\r\n\t}", "title": "" }, { "docid": "354d8090a4460c6498cdf5ebc4110f2e", "score": "0.5762758", "text": "public abstract int getNumberOfSheets();", "title": "" }, { "docid": "7124173407aabeac17ad03b4b0ce09c9", "score": "0.57572055", "text": "public int getCourseCountInDegreePlanAttempted() {\n\t\t\n\t String countQuery = \"SELECT * FROM \" + TABLE_COURSE + \" WHERE \" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"!=?\";\n\t Cursor cursor = db.rawQuery(countQuery, new String[] {\"-1\", \"None\"});\n\t \n\t int count = cursor.getCount();\n\t cursor.close();\n\t \n\t // return count\n\t return count;\n\t}", "title": "" }, { "docid": "8d5fdabf65068e9f011ad4c1a1a030da", "score": "0.57561564", "text": "public int sizeOfDivArray()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(DIV$14);\n }\n }", "title": "" }, { "docid": "1df463143131813a0cc2ae07da37b4c6", "score": "0.57524693", "text": "public int getSectionsID()\n\t{\n\t\treturn m_iSectionID;\n\t}", "title": "" }, { "docid": "f11c3f46fba96a5c8f02282d661c5a6d", "score": "0.5735321", "text": "public int getNumberOfStudents() {\n\t\treturn numberOfStudents;\r\n\t}", "title": "" }, { "docid": "a37654daae9216ff167329d95227c40b", "score": "0.5732816", "text": "public int getBlocksCount();", "title": "" }, { "docid": "dc255edfe57a1c569c0c417c41e562de", "score": "0.5732533", "text": "int countByExample(ChapterExample example);", "title": "" }, { "docid": "4c0a1fb86ac718ca4fa30d9954288149", "score": "0.572765", "text": "int countByExample(EduCourseExample example);", "title": "" }, { "docid": "2e536d9b2ede350d70aaaaffa2e25d13", "score": "0.57065654", "text": "public int size() {\n int size = 0;\n for(int group = 0; group < groups; ++group) {size += clauses[group].size();}\n return size;}", "title": "" }, { "docid": "afc0a26514ab7b6bda7086e854275b89", "score": "0.56990486", "text": "@Override\n\tpublic <S extends Course> long count(Example<S> example) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "a8bf6a69f26e4408c3640df4ddade5bb", "score": "0.56987196", "text": "@Override\r\n\tpublic Integer findCount(Integer courseId) throws Exception {\n\r\n\t\treturn mapper.findCount(courseId);\r\n\t}", "title": "" }, { "docid": "02352f971d7541e37c916e67dbe26189", "score": "0.5695159", "text": "public int getNumberOfStudents() {\n\t\treturn numberOfStudents;\n\t}", "title": "" }, { "docid": "629cb36360bee038fb99c755724eeed2", "score": "0.567849", "text": "public int getTocCount() {\n \t\treturn tocs.length;\n \t}", "title": "" }, { "docid": "a54de8211f1c63812b1db121111e1eef", "score": "0.56732345", "text": "int getTrainingInfoCount();", "title": "" }, { "docid": "351edaa65d9e614ef7f9f06b9b8f8924", "score": "0.56701523", "text": "int sizeOfPartOfArray();", "title": "" }, { "docid": "a693e11d42d899564ea15f414985a06c", "score": "0.56671876", "text": "public int numberOfSegments() {\n return lineSegments.length;\n }", "title": "" }, { "docid": "a693e11d42d899564ea15f414985a06c", "score": "0.56671876", "text": "public int numberOfSegments() {\n return lineSegments.length;\n }", "title": "" }, { "docid": "2ed3b621b1aca5c59c15808afbdcb7d5", "score": "0.5661285", "text": "private void getTestCaseCount() {\n\t\tString line = null;\n\t\tif(fs.hasNextLine()) {\n\t\t\tline = fs.nextLine();\n\t\t\ttestCases = Integer.parseInt(line);\n\t\t}\n\t\telse\n\t\t\ttestCases = 0;\n\t}", "title": "" }, { "docid": "2b01a27983a4fa34fd6ba97d1df94fe0", "score": "0.5659781", "text": "int getNumberOfDocument();", "title": "" }, { "docid": "5787a879577878d845780651f5485c86", "score": "0.5658683", "text": "public int getACount() {\n\t\tint count = 0;\n\t\tCursor cursor;\n\t\t\n\t String countQuery = \"SELECT * FROM \" + TABLE_COURSE + \" WHERE \" + \n\t \t\t\"(\" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"=?) OR \" +\n\t \t\t\"(\" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"=?) OR \" +\n\t \t\t\"(\" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"=?)\";\n\t \n\t \n\t cursor = db.rawQuery(countQuery, new String[] {\"-1\", \"A+\", \"-1\", \"A \", \"-1\", \"A-\"});\n\t \n\t count += cursor.getCount();\n\t cursor.close();\n\t \n\t return count;\n\t}", "title": "" }, { "docid": "f991c6cef8c5392bcdc396bc81b8cfae", "score": "0.5658578", "text": "public int getNumOfCC(){\n\t\tint numOfCC = 0;\n\t\tfor(Agent agent : world.getWorldAgents()){\n\t\t\tif(agent.getStrategy().equals(Strategy.CC))\n\t\t\t\tnumOfCC++;\n\t\t}\n\t\treturn numOfCC;\n\t}", "title": "" }, { "docid": "3133c69a322f2f3412ca5b365da49b05", "score": "0.5636333", "text": "int getProblemCount();", "title": "" }, { "docid": "a2eee8f73f06cea19bb97e645a289570", "score": "0.5629514", "text": "public int getTotalStations();", "title": "" }, { "docid": "bc61b6c9eec07b553da3a0cd6876787b", "score": "0.56257826", "text": "BigInteger getNumberOfStations();", "title": "" }, { "docid": "c0a14e17989ce9820c4d52043232f4b6", "score": "0.5624268", "text": "public int getNumberOfStudents() {\n return numberOfStudents;\n }", "title": "" }, { "docid": "c0a14e17989ce9820c4d52043232f4b6", "score": "0.5624268", "text": "public int getNumberOfStudents() {\n return numberOfStudents;\n }", "title": "" }, { "docid": "ffb43c43f70a3dccbe98ebc27f99b46c", "score": "0.56213534", "text": "Integer getNoOfLocations();", "title": "" }, { "docid": "4ccf41cb09b4cdd76d7988a46b36c764", "score": "0.5620651", "text": "public int getStudentCount() {\n return student_.size();\n }", "title": "" }, { "docid": "e84e91feebfb97361fce0cbfaf90993b", "score": "0.5620128", "text": "public int numberOfSegments(int minLength) {\n\t\t// count is updated in segments() as elements are added to the stack\n\t\treturn count;\n\t}", "title": "" }, { "docid": "6e551c38e0c82b249ddf394eead82649", "score": "0.56030583", "text": "private int getNumberOfEntireHomeOrApartments() {\n int numberOfEntireHomeOrApartments = 0;\n\n for(AirbnbListing p: propertiesAtPriceRange) {\n if(p.getRoom_type().equals(\"Entire home/apt\"))\n numberOfEntireHomeOrApartments ++;\n }\n\n return numberOfEntireHomeOrApartments;\n }", "title": "" }, { "docid": "f8400fb56eb9ff580e12dec365f60068", "score": "0.5597984", "text": "int getTraitCount();", "title": "" }, { "docid": "af599b71e541c97b5ad93f8b342f5661", "score": "0.5596474", "text": "public int numFolds() {\n return mNumFolds;\n }", "title": "" }, { "docid": "e5a502c43a23dd3fab4d8cc79b07171d", "score": "0.55958414", "text": "public int getFCount() {\n\t\tint count = 0;\n\t\tCursor cursor;\n\t\t\n\t String countQuery = \"SELECT * FROM \" + TABLE_COURSE + \" WHERE \" + \n\t \t\t\"(\" + KEY_GROUP_ID + \"!=? AND \" + KEY_GRADE + \"=?)\";\n\t \n\t \n\t cursor = db.rawQuery(countQuery, new String[] {\"-1\", \"F \"});\n\t \n\t count += cursor.getCount();\n\t cursor.close();\n\t \n\t return count;\n\t}", "title": "" }, { "docid": "2d294abe11e1530e27c7a9ef9e161968", "score": "0.559209", "text": "int getNumPartitions();", "title": "" }, { "docid": "2d294abe11e1530e27c7a9ef9e161968", "score": "0.559209", "text": "int getNumPartitions();", "title": "" } ]
b53024c7e3d077a9a331e6757ce08939
repeated .com.spotify.proto.Op ops = 2;
[ { "docid": "09a3cb264dd4160681dfecb09768365a", "score": "0.0", "text": "public int getOpsCount() {\n if (opsBuilder_ == null) {\n return ops_.size();\n } else {\n return opsBuilder_.getCount();\n }\n }", "title": "" } ]
[ { "docid": "c5da8ee4d50f83f479434350ef9c4522", "score": "0.65035903", "text": "java.util.List<? extends com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder> \n getOpsOrBuilderList();", "title": "" }, { "docid": "c5da8ee4d50f83f479434350ef9c4522", "score": "0.65035903", "text": "java.util.List<? extends com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder> \n getOpsOrBuilderList();", "title": "" }, { "docid": "327b1b094b4af06f5a7d3317def1f6ce", "score": "0.6415433", "text": "com.spotify.playlist4.proto.Playlist4Ops.Op getOps(int index);", "title": "" }, { "docid": "327b1b094b4af06f5a7d3317def1f6ce", "score": "0.6415433", "text": "com.spotify.playlist4.proto.Playlist4Ops.Op getOps(int index);", "title": "" }, { "docid": "ce244830d21c614d4889029a34abe8b5", "score": "0.62398744", "text": "java.util.List<com.spotify.playlist4.proto.Playlist4Ops.Op> \n getOpsList();", "title": "" }, { "docid": "ce244830d21c614d4889029a34abe8b5", "score": "0.62398744", "text": "java.util.List<com.spotify.playlist4.proto.Playlist4Ops.Op> \n getOpsList();", "title": "" }, { "docid": "438aba0066f819bef3305bdcac2ec7c3", "score": "0.5928843", "text": "public java.util.List<? extends com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder> \n getOpsOrBuilderList() {\n return ops_;\n }", "title": "" }, { "docid": "438aba0066f819bef3305bdcac2ec7c3", "score": "0.5928843", "text": "public java.util.List<? extends com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder> \n getOpsOrBuilderList() {\n return ops_;\n }", "title": "" }, { "docid": "b5413ef3f8421df810488de0faed0019", "score": "0.5808212", "text": "com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder getOpsOrBuilder(\n int index);", "title": "" }, { "docid": "b5413ef3f8421df810488de0faed0019", "score": "0.5808212", "text": "com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder getOpsOrBuilder(\n int index);", "title": "" }, { "docid": "cd8fcc194b06603612155e874bb374f9", "score": "0.5790341", "text": "public java.util.List<? extends com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder> \n getOpsOrBuilderList() {\n if (opsBuilder_ != null) {\n return opsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(ops_);\n }\n }", "title": "" }, { "docid": "cd8fcc194b06603612155e874bb374f9", "score": "0.5790341", "text": "public java.util.List<? extends com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder> \n getOpsOrBuilderList() {\n if (opsBuilder_ != null) {\n return opsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(ops_);\n }\n }", "title": "" }, { "docid": "c3b06e5659800e27d61e9d9beaa73acf", "score": "0.5757374", "text": "public com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder getOpsOrBuilder(\n int index) {\n if (opsBuilder_ == null) {\n return ops_.get(index); } else {\n return opsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "c3b06e5659800e27d61e9d9beaa73acf", "score": "0.5757374", "text": "public com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder getOpsOrBuilder(\n int index) {\n if (opsBuilder_ == null) {\n return ops_.get(index); } else {\n return opsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "17969feaff675608bcabcc2f71733979", "score": "0.56633174", "text": "public interface OperationRequest {}", "title": "" }, { "docid": "ce897d54eaa12993921475b22b21dda5", "score": "0.56163186", "text": "public com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder getOpsOrBuilder(\n int index) {\n return ops_.get(index);\n }", "title": "" }, { "docid": "ce897d54eaa12993921475b22b21dda5", "score": "0.56163186", "text": "public com.spotify.playlist4.proto.Playlist4Ops.OpOrBuilder getOpsOrBuilder(\n int index) {\n return ops_.get(index);\n }", "title": "" }, { "docid": "54749bbedd9a8781508c65e1321cd8b6", "score": "0.54782856", "text": "public java.util.List<com.spotify.playlist4.proto.Playlist4Ops.Op> getOpsList() {\n return ops_;\n }", "title": "" }, { "docid": "54749bbedd9a8781508c65e1321cd8b6", "score": "0.54782856", "text": "public java.util.List<com.spotify.playlist4.proto.Playlist4Ops.Op> getOpsList() {\n return ops_;\n }", "title": "" }, { "docid": "744eddd5f3f6540eb2b47cedac10513b", "score": "0.54712296", "text": "public interface ProtoWithCallType extends Proto {\n CallType callType();\n}", "title": "" }, { "docid": "4a317fd527f8d7828f4afc3b385d81dd", "score": "0.5400222", "text": "public interface ExampleService {\n\n ExampleProto.SetResponse set(ExampleProto.SetRequest request);\n\n ExampleProto.GetResponse get(ExampleProto.GetRequest request);\n}", "title": "" }, { "docid": "ef3f18ff4f66f635725b458346f3c726", "score": "0.5329234", "text": "public java.util.List<com.spotify.playlist4.proto.Playlist4Ops.Op> getOpsList() {\n if (opsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(ops_);\n } else {\n return opsBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "ef3f18ff4f66f635725b458346f3c726", "score": "0.5329234", "text": "public java.util.List<com.spotify.playlist4.proto.Playlist4Ops.Op> getOpsList() {\n if (opsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(ops_);\n } else {\n return opsBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "273a3449cfa2d29a7c82c544c3365b11", "score": "0.5304824", "text": "public interface ZenlyProto$VOIPResponseOrBuilder extends MessageLiteOrBuilder {\n String getToken();\n\n ByteString getTokenBytes();\n}", "title": "" }, { "docid": "4040fc3ea3960ec1320369c1944c58d1", "score": "0.5298727", "text": "void addProtoActions(com.hps.july.persistence.ProtoAction aProtoActions) throws java.rmi.RemoteException;", "title": "" }, { "docid": "1927a93ef504076c17891cf40929165b", "score": "0.5298133", "text": "public interface OpNames {\n String and = \"and\";\n String or = \"or\";\n String not = \"not\";\n\n String eq = \"eq\";\n String ne = \"ne\";\n String lt = \"lt\";\n String lte = \"lte\";\n String gt = \"gt\";\n String gte = \"gte\";\n String count = \"count\";\n String distinct = \"distinct\";\n String in = \"in\";\n String like = \"like\";\n}", "title": "" }, { "docid": "60395a9a3bbec19f6e0fbb04b28aed87", "score": "0.5291069", "text": "com.yandex.ydb.OperationProtos.OperationParams getOperationParams();", "title": "" }, { "docid": "32a6077e4f8a4bca14629969bbacd0da", "score": "0.5284851", "text": "public com.spotify.playlist4.proto.Playlist4Ops.Op getOps(int index) {\n if (opsBuilder_ == null) {\n return ops_.get(index);\n } else {\n return opsBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "32a6077e4f8a4bca14629969bbacd0da", "score": "0.5284851", "text": "public com.spotify.playlist4.proto.Playlist4Ops.Op getOps(int index) {\n if (opsBuilder_ == null) {\n return ops_.get(index);\n } else {\n return opsBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "4ea4f25583f316dfa450752c55c6f9b6", "score": "0.5251297", "text": "com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();", "title": "" }, { "docid": "0bbe6601160682a0794cc14308968a3d", "score": "0.5250445", "text": "net.iGap.proto.ProtoResponse.ResponseOrBuilder getResponseOrBuilder();", "title": "" }, { "docid": "3d27b848139e19cf24fdf215e7f33d85", "score": "0.52218467", "text": "public interface Operation {\n}", "title": "" }, { "docid": "4e7a3cd2e69b02d35ab549f66519d380", "score": "0.520164", "text": "void secondaryAddProtoActions(com.hps.july.persistence.ProtoAction aProtoActions) throws java.rmi.RemoteException;", "title": "" }, { "docid": "efa07c2fd544dbdf369c861455983d07", "score": "0.5186404", "text": "public interface HelloOperations \n{\n String sayHello (String message);\n String sayHelp (String help);\n int getTimesPlayedByUser (String user, String song);\n int getTimesPlayed (String song);\n HelloApp.TopThreeUsers getTopThreeUsersBySong (String song);\n HelloApp.TopThreeSongs getTopThreeSongsByUser (String user);\n}", "title": "" }, { "docid": "044c905321e429d32960f57759b89492", "score": "0.51399595", "text": "ACT getOp();", "title": "" }, { "docid": "041998959bc1ebc3c8f28e7b5860db21", "score": "0.51395446", "text": "public void setOp(String op) {\n this.op = op;\n }", "title": "" }, { "docid": "2d2e881728950cb271d8fff6dad6eb53", "score": "0.5105527", "text": "void setOperations(CimiOperation[] operations);", "title": "" }, { "docid": "8ff32dde2cddf02f90aa1ea77a385fa5", "score": "0.51022404", "text": "public interface Operation {\n String description();\n void command();\n}", "title": "" }, { "docid": "8a726b00796357dda519fcc6bd99ed63", "score": "0.510201", "text": "public com.spotify.playlist4.proto.Playlist4Ops.Op getOps(int index) {\n return ops_.get(index);\n }", "title": "" }, { "docid": "8a726b00796357dda519fcc6bd99ed63", "score": "0.510201", "text": "public com.spotify.playlist4.proto.Playlist4Ops.Op getOps(int index) {\n return ops_.get(index);\n }", "title": "" }, { "docid": "f5814602c6fb9312348637f29340a52d", "score": "0.5101259", "text": "int getOpsCount();", "title": "" }, { "docid": "f5814602c6fb9312348637f29340a52d", "score": "0.5101259", "text": "int getOpsCount();", "title": "" }, { "docid": "436939ed07869946b7206d09cb30bcb3", "score": "0.5039415", "text": "interface BagOperations{\n int getCount(String item_name);\n}", "title": "" }, { "docid": "c7b8118b0e683785ba5a53cfe42c72f8", "score": "0.50340503", "text": "net.iGap.proto.ProtoResponse.Response getResponse();", "title": "" }, { "docid": "dc9166df6eab5cec9e47ae3ae536f39c", "score": "0.50301814", "text": "public interface ProtocalState {\n String START=\"start\";\n String WAIT_NEXT_DECODE=\"waitNextDecode\";\n String WAIT_RESPONSE=\"waitResponse\";\n String IDLE=\"idle\";\n}", "title": "" }, { "docid": "b84eb091b594aa246cd59335baee9268", "score": "0.50168234", "text": "CimiOperation[] getOperations();", "title": "" }, { "docid": "e6aeb49558efad08f0157cb572d765a2", "score": "0.5010144", "text": "public int getOpsCount() {\n return ops_.size();\n }", "title": "" }, { "docid": "e6aeb49558efad08f0157cb572d765a2", "score": "0.5010144", "text": "public int getOpsCount() {\n return ops_.size();\n }", "title": "" }, { "docid": "d46b3240f63b65e1c527b2523f689cc1", "score": "0.50084996", "text": "net.iGap.proto.ProtoRequest.RequestOrBuilder getRequestOrBuilder();", "title": "" }, { "docid": "b4e8f3f20b00242f6cf6385bd53e2d0c", "score": "0.4997377", "text": "interface CartAndBagOperations{\n void add(String item_description, int number);\n}", "title": "" }, { "docid": "b3ac4bf09d60723dc0ac7d4b10fe3a66", "score": "0.4983786", "text": "public Builder addOps(com.spotify.playlist4.proto.Playlist4Ops.Op value) {\n if (opsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureOpsIsMutable();\n ops_.add(value);\n onChanged();\n } else {\n opsBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "b3ac4bf09d60723dc0ac7d4b10fe3a66", "score": "0.4983786", "text": "public Builder addOps(com.spotify.playlist4.proto.Playlist4Ops.Op value) {\n if (opsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureOpsIsMutable();\n ops_.add(value);\n onChanged();\n } else {\n opsBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "84f63982f19dbad9a30904350848cf3d", "score": "0.49745566", "text": "public interface IShapeApi {\n @POST(\"ActivityFeed\")\n Call<List<Notification>> getActivityFeed(@Body PagedRequest request);\n\n @POST(\"Like\")\n Call<LikeResponse> like(@Body IdTypeRequest request);\n\n @POST(\"UnLike\")\n Call<LikeResponse> unlike(@Body IdTypeRequest request);\n\n @POST(\"GetLikers\")\n Call<List<Integer>> getLikers(@Body IdTypeRequest request);\n\n @POST(\"SendComment\")\n Call<CommentResponse> sendComment(@Body CommentRequest request);\n\n @POST(\"GetComments\")\n Call<List<CommentResponse>> getComments(@Body IdTypePagedRequest request);\n}", "title": "" }, { "docid": "5a48a26c3d301414376b647ada25d11b", "score": "0.49733463", "text": "public interface OpCodeConstants\n{\n int OP_NOP = 0;\n int OP_ACONST_NULL = 1;\n int OP_ICONST_M1 = 2;\n int OP_ICONST_0 = 3;\n int OP_ICONST_1 = 4;\n int OP_ICONST_2 = 5;\n int OP_ICONST_3 = 6;\n int OP_ICONST_4 = 7;\n int OP_ICONST_5 = 8;\n int OP_LCONST_0 = 9;\n int OP_LCONST_1 = 10;\n int OP_FCONST_0 = 11;\n int OP_FCONST_1 = 12;\n int OP_FCONST_2 = 13;\n int OP_DCONST_0 = 14;\n int OP_DCONST_1 = 15;\n int OP_BIPUSH = 16;\n int OP_SIPUSH = 17;\n int OP_LDC = 18;\n int OP_LDC_W = 19;\n int OP_LDC2_W = 20;\n int OP_ILOAD = 21;\n int OP_LLOAD = 22;\n int OP_FLOAD = 23;\n int OP_DLOAD = 24;\n int OP_ALOAD = 25;\n int OP_ILOAD_0 = 26;\n int OP_ILOAD_1 = 27;\n int OP_ILOAD_2 = 28;\n int OP_ILOAD_3 = 29;\n int OP_LLOAD_0 = 30;\n int OP_LLOAD_1 = 31;\n int OP_LLOAD_2 = 32;\n int OP_LLOAD_3 = 33;\n int OP_FLOAD_0 = 34;\n int OP_FLOAD_1 = 35;\n int OP_FLOAD_2 = 36;\n int OP_FLOAD_3 = 37;\n int OP_DLOAD_0 = 38;\n int OP_DLOAD_1 = 39;\n int OP_DLOAD_2 = 40;\n int OP_DLOAD_3 = 41;\n int OP_ALOAD_0 = 42;\n int OP_ALOAD_1 = 43;\n int OP_ALOAD_2 = 44;\n int OP_ALOAD_3 = 45;\n int OP_IALOAD = 46;\n int OP_LALOAD = 47;\n int OP_FALOAD = 48;\n int OP_DALOAD = 49;\n int OP_AALOAD = 50;\n int OP_BALOAD = 51;\n int OP_CALOAD = 52;\n int OP_SALOAD = 53;\n int OP_ISTORE = 54;\n int OP_LSTORE = 55;\n int OP_FSTORE = 56;\n int OP_DSTORE = 57;\n int OP_ASTORE = 58;\n int OP_ISTORE_0 = 59;\n int OP_ISTORE_1 = 60;\n int OP_ISTORE_2 = 61;\n int OP_ISTORE_3 = 62;\n int OP_LSTORE_0 = 63;\n int OP_LSTORE_1 = 64;\n int OP_LSTORE_2 = 65;\n int OP_LSTORE_3 = 66;\n int OP_FSTORE_0 = 67;\n int OP_FSTORE_1 = 68;\n int OP_FSTORE_2 = 69;\n int OP_FSTORE_3 = 70;\n int OP_DSTORE_0 = 71;\n int OP_DSTORE_1 = 72;\n int OP_DSTORE_2 = 73;\n int OP_DSTORE_3 = 74;\n int OP_ASTORE_0 = 75;\n int OP_ASTORE_1 = 76;\n int OP_ASTORE_2 = 77;\n int OP_ASTORE_3 = 78;\n int OP_IASTORE = 79;\n int OP_LASTORE = 80;\n int OP_FASTORE = 81;\n int OP_DASTORE = 82;\n int OP_AASTORE = 83;\n int OP_BASTORE = 84;\n int OP_CASTORE = 85;\n int OP_SASTORE = 86;\n int OP_POP = 87;\n int OP_POP2 = 88;\n int OP_DUP = 89;\n int OP_DUP_X1 = 90;\n int OP_DUP_X2 = 91;\n int OP_DUP2 = 92;\n int OP_DUP2_X1 = 93;\n int OP_DUP2_X2 = 94;\n int OP_SWAP = 95;\n int OP_IADD = 96;\n int OP_LADD = 97;\n int OP_FADD = 98;\n int OP_DADD = 99;\n int OP_ISUB = 100;\n int OP_LSUB = 101;\n int OP_FSUB = 102;\n int OP_DSUB = 103;\n int OP_IMUL = 104;\n int OP_LMUL = 105;\n int OP_FMUL = 106;\n int OP_DMUL = 107;\n int OP_IDIV = 108;\n int OP_LDIV = 109;\n int OP_FDIV = 110;\n int OP_DDIV = 111;\n int OP_IREM = 112;\n int OP_LREM = 113;\n int OP_FREM = 114;\n int OP_DREM = 115;\n int OP_INEG = 116;\n int OP_LNEG = 117;\n int OP_FNEG = 118;\n int OP_DNEG = 119;\n int OP_ISHL = 120;\n int OP_LSHL = 121;\n int OP_ISHR = 122;\n int OP_LSHR = 123;\n int OP_IUSHR = 124;\n int OP_LUSHR = 125;\n int OP_IAND = 126;\n int OP_LAND = 127;\n int OP_IOR = 128;\n int OP_LOR = 129;\n int OP_IXOR = 130;\n int OP_LXOR = 131;\n int OP_IINC = 132;\n int OP_I2L = 133;\n int OP_I2F = 134;\n int OP_I2D = 135;\n int OP_L2I = 136;\n int OP_L2F = 137;\n int OP_L2D = 138;\n int OP_F2I = 139;\n int OP_F2L = 140;\n int OP_F2D = 141;\n int OP_D2I = 142;\n int OP_D2L = 143;\n int OP_D2F = 144;\n int OP_I2B = 145;\n int OP_I2C = 146;\n int OP_I2S = 147;\n int OP_LCMP = 148;\n int OP_FCMPL = 149;\n int OP_FCMPG = 150;\n int OP_DCMPL = 151;\n int OP_DCMPG = 152;\n int OP_IFEQ = 153;\n int OP_IFNE = 154;\n int OP_IFLT = 155;\n int OP_IFGE = 156;\n int OP_IFGT = 157;\n int OP_IFLE = 158;\n int OP_IF_ICMPEQ = 159;\n int OP_IF_ICMPNE = 160;\n int OP_IF_ICMPLT = 161;\n int OP_IF_ICMPGE = 162;\n int OP_IF_ICMPGT = 163;\n int OP_IF_ICMPLE = 164;\n int OP_IF_ACMPEQ = 165;\n int OP_IF_ACMPNE = 166;\n int OP_GOTO = 167;\n int OP_JSR = 168;\n int OP_RET = 169;\n int OP_TABLESWITCH = 170;\n int OP_LOOKUPSWITCH = 171;\n int OP_IRETURN = 172;\n int OP_LRETURN = 173;\n int OP_FRETURN = 174;\n int OP_DRETURN = 175;\n int OP_ARETURN = 176;\n int OP_RETURN = 177;\n int OP_GETSTATIC = 178;\n int OP_PUTSTATIC = 179;\n int OP_GETFIELD = 180;\n int OP_PUTFIELD = 181;\n int OP_INVOKEVIRTUAL = 182;\n int OP_INVOKESPECIAL = 183;\n int OP_INVOKESTATIC = 184;\n int OP_INVOKEINTERFACE = 185;\n int OP_XXXUNUSEDXXX = 186;\n int OP_NEW = 187;\n int OP_NEWARRAY = 188;\n int OP_ANEWARRAY = 189;\n int OP_ARRAYLENGTH = 190;\n int OP_ATHROW = 191;\n int OP_CHECKCAST = 192;\n int OP_INSTANCEOF = 193;\n int OP_MONITORENTER = 194;\n int OP_MONITOREXIT = 195;\n int OP_WIDE = 196;\n int OP_MULTIANEWARRAY = 197;\n int OP_IFNULL = 198;\n int OP_IFNONNULL = 199;\n int OP_GOTO_W = 200;\n int OP_JSR_W = 201;\n int OP_BREAKPOINT = 202;\n}", "title": "" }, { "docid": "2b503c58c142a0b978b7113b739b754c", "score": "0.49694288", "text": "public interface RedisOperation {\n String getName();\n}", "title": "" }, { "docid": "7661540510655f1831f521a1098f1694", "score": "0.49663743", "text": "my.suveng.netty.learn.promote_protobuf.proto.MessageProto.Dog getDog();", "title": "" }, { "docid": "29dd13799790979683eb1ae5424050a0", "score": "0.49411651", "text": "interface CartOperations{\n void addBag(Bag bag_object, int bag_number); \n int getCount(String item_name);\n int getTotalCount();\n}", "title": "" }, { "docid": "eb57243d737c93baec0a22c2846f21fe", "score": "0.49138424", "text": "DTC_PB.DTCProtocol.PutCallEnum getPutOrCall();", "title": "" }, { "docid": "b3db3e3f638eaf27436ca6988e01d551", "score": "0.48981154", "text": "io.netifi.proteus.quickstart.service.protobuf.TransactedRequest.AddOrBuilder getAddOrBuilder();", "title": "" }, { "docid": "2d3da9f83d709c6dd09d65d92eed14ba", "score": "0.4891397", "text": "String getOp();", "title": "" }, { "docid": "f0994f0ce163f532e260ce85c7e4ad7a", "score": "0.48683366", "text": "@PUT(\"next_song\")\n Call<PlayerState> nextSong();", "title": "" }, { "docid": "34b3c5b8bf7699e7bffd316da8c2499c", "score": "0.48613542", "text": "my.suveng.netty.learn.promote_protobuf.proto.MessageProto.CatOrBuilder getCatOrBuilder();", "title": "" }, { "docid": "5aac1e62f8079e5594e6fe0bdd4ac87f", "score": "0.48599833", "text": "INS getOpTmh();", "title": "" }, { "docid": "dc434e614f4668f17d742c98d4c02cb6", "score": "0.48566723", "text": "interface FollowRequestApi {\n @C7729e\n @C7739o(mo20429a = \"/aweme/v1/commit/follow/request/approve/\")\n C18253l<ApproveResponse> approveRequest(@C7727c(mo20417a = \"from_user_id\") String str);\n\n @C7730f(mo20420a = \"/aweme/v1/user/following/request/list/\")\n C18253l<FollowRequestResponse> fetchFollowRequestList(@C7744t(mo20436a = \"max_time\") long j, @C7744t(mo20436a = \"min_time\") long j2, @C7744t(mo20436a = \"count\") int i);\n\n @C7729e\n @C7739o(mo20429a = \"/aweme/v1/commit/follow/request/reject/\")\n C18253l<RejectResponse> rejectRequest(@C7727c(mo20417a = \"from_user_id\") String str);\n }", "title": "" }, { "docid": "431d86b2d332171593a345e56aee705e", "score": "0.48546195", "text": "net.iGap.proto.ProtoRequest.Request getRequest();", "title": "" }, { "docid": "68bca30cbd565b1e36366a72ae1da236", "score": "0.48457256", "text": "public interface OperationRecorder {\n void record(OfferRecommendation offerRecommendation) throws Exception;\n}", "title": "" }, { "docid": "66e3b8b68f0a901f993fa5c7fd74f3c5", "score": "0.48263696", "text": "java.util.List<protobuf.run.Place> \n getPlacesList();", "title": "" }, { "docid": "1f186012a5b10cfebe23c9f5d49d8ecc", "score": "0.48262197", "text": "org.biocatalogue.x2009.xml.rest.SoapService.Operations getOperations();", "title": "" }, { "docid": "a6d8ad059a5e9586cf8815452f97cab2", "score": "0.4815705", "text": "java.util.List<? extends protobuf.run.PlaceOrBuilder> \n getPlacesOrBuilderList();", "title": "" }, { "docid": "e05cbdf4807d1c8ba9db2c03294005a8", "score": "0.48150983", "text": "OperationCall createOperationCall();", "title": "" }, { "docid": "b6fee518d396b7dfba2a2a102d1f6bb5", "score": "0.47982755", "text": "com.clarifai.grpc.api.Concept getObjectConcept();", "title": "" }, { "docid": "d50cce1dba7801aac6e4d7bf2f841d9a", "score": "0.47974756", "text": "public interface NetizenOperatorServiceApi {\n\n @Headers({\"Content-Type: application/json\",\"Accept: application/json\"})\n @POST(\"rpc\")\n Call<ResponseBody> postUploadAlbumResultQuest(@Body RequestBody requestBody);\n}", "title": "" }, { "docid": "e281ddaf0312e1a757889c2b12d4c6f9", "score": "0.47942168", "text": "void setOperations(org.biocatalogue.x2009.xml.rest.SoapService.Operations operations);", "title": "" }, { "docid": "e27dd584e02cdc8a631283f30c53ef71", "score": "0.4792779", "text": "public interface RetrofitApi {\n @C7730f(mo20420a = \"/aweme/v1/aweme/collect/\")\n C1592h<BaseResponse> collectAweme(@C7744t(mo20436a = \"aweme_id\") String str, @C7744t(mo20436a = \"action\") int i);\n\n @C7730f(mo20420a = \"/aweme/v1/challenge/collect/\")\n C1592h<BaseResponse> collectChallenge(@C7744t(mo20436a = \"ch_id\") String str, @C7744t(mo20436a = \"action\") int i);\n\n @C7730f(mo20420a = \"/aweme/v1/mix/collect/\")\n C1592h<BaseResponse> collectMix(@C7744t(mo20436a = \"mix_id\") String str, @C7744t(mo20436a = \"action\") int i);\n\n @C7730f(mo20420a = \"/aweme/v1/music/collect/\")\n C1592h<BaseResponse> collectMusic(@C7744t(mo20436a = \"music_id\") String str, @C7744t(mo20436a = \"action\") int i);\n\n @C7730f(mo20420a = \"/aweme/v1/poi/collect/\")\n C1592h<BaseResponse> collectPoi(@C7744t(mo20436a = \"poi_id\") String str, @C7744t(mo20436a = \"action\") int i);\n\n @C7730f(mo20420a = \"/aweme/v2/shop/seeding/collect/\")\n C1592h<BaseResponse> collectSeeding(@C7744t(mo20436a = \"seed_id\") String str, @C7744t(mo20436a = \"operate_type\") int i, @C7744t(mo20436a = \"user_id\") String str2);\n\n @C7730f(mo20420a = \"/aweme/v1/aweme/listcollection/\")\n C1592h<BaseResponse> fetchCollectAwemeList(@C7744t(mo20436a = \"cursor\") int i, @C7744t(mo20436a = \"count\") int i2);\n\n @C7730f(mo20420a = \"/aweme/v1/challenge/listcollection/\")\n C1592h<C27763b> fetchCollectChallengeList(@C7744t(mo20436a = \"cursor\") int i, @C7744t(mo20436a = \"count\") int i2);\n\n @C7730f(mo20420a = \"/aweme/v1/music/listcollection/\")\n C1592h<BaseResponse> fetchCollectMusicList(@C7744t(mo20436a = \"cursor\") int i, @C7744t(mo20436a = \"count\") int i2);\n\n @C7730f(mo20420a = \"/aweme/v1/poi/listcollection/\")\n C1592h<Object> fetchCollectPoiList(@C7744t(mo20436a = \"cursor\") int i, @C7744t(mo20436a = \"count\") int i2, @C7744t(mo20436a = \"longitude\") String str, @C7744t(mo20436a = \"latitude\") String str2);\n\n @C7730f(mo20420a = \"/aweme/v1/sticker/listcollection/\")\n C1592h<C27708k> fetchStickerList(@C7744t(mo20436a = \"cursor\") int i, @C7744t(mo20436a = \"count\") int i2);\n }", "title": "" }, { "docid": "508b0ee66dda121019810f0cdf76bb15", "score": "0.47889814", "text": "public WilsonTeleOp() {\n\n }", "title": "" }, { "docid": "7b802a9a47a709f587eddad558d9d711", "score": "0.47813392", "text": "public interface ZenlyProto$RecoSendRecommendationResponseOrBuilder extends MessageLiteOrBuilder {\n boolean getSentToNewcomer();\n\n boolean getSentToPotentialMatch();\n}", "title": "" }, { "docid": "ad867bc02a5ccba19d53dc0250b338a7", "score": "0.47783944", "text": "com.clarifai.grpc.api.ConceptOrBuilder getObjectConceptOrBuilder();", "title": "" }, { "docid": "2d9e3a8863dd49568ff6334cbec671b4", "score": "0.4768811", "text": "public interface MusicRankingPresenter {\n void requestRankingListAll(String format,String from,String method, int kflag);\n}", "title": "" }, { "docid": "a46fad0ba1ce113c8274ab8a427294e3", "score": "0.4765307", "text": "public void blast(String ops){\n }", "title": "" }, { "docid": "dc54135a5ec2c693f6855510c89b9374", "score": "0.47631013", "text": "MethodCallOp getCall2();", "title": "" }, { "docid": "cbcf10a2b1f17403442f0fc0bedd3100", "score": "0.4762594", "text": "interface Vehicle_Operation {\n \n \n \n public String right();\n public String left();\n public String reverse();\n public String accelerate();\n \n \n \n \n \n}", "title": "" }, { "docid": "35e587d654572c6a0f6f10d84a920c30", "score": "0.47572914", "text": "String getOpperation();", "title": "" }, { "docid": "343cdb4eb54ca5f3f0102da6f65251b5", "score": "0.47570845", "text": "tendermint.crypto.ProofOuterClass.ProofOpsOrBuilder getProofOpsOrBuilder();", "title": "" }, { "docid": "a6ed0cd7f6f83d786b1d9c154d065ef6", "score": "0.47296393", "text": "@Override\r\n\tpublic abstract void handleOperations(PrimitiveEnum message);", "title": "" }, { "docid": "baf5734e4da98be02882c78b7136c793", "score": "0.47274855", "text": "public interface _WorldStateOperations\n{\n long getUpdateID(Ice.Current __current);\n\n Ball getBallPosition(Ice.Current __current);\n\n Robot getYellowRobot(Ice.Current __current);\n\n Robot getBlueRobot(Ice.Current __current);\n\n int getPitch(Ice.Current __current);\n\n int getShootingDirection(Ice.Current __current);\n\n int getTeamColour(Ice.Current __current);\n}", "title": "" }, { "docid": "c51f2f1e6cf628bdc90c0ee45ef0e3d9", "score": "0.47236997", "text": "void setListOperations(List<CimiOperation> operations);", "title": "" }, { "docid": "73409df4e44c2a20021e567c1c9d4b7b", "score": "0.4723056", "text": "com.spotify.playlist4.proto.Playlist4Changes.ChangeInfoOrBuilder getInfoOrBuilder();", "title": "" }, { "docid": "73409df4e44c2a20021e567c1c9d4b7b", "score": "0.4723056", "text": "com.spotify.playlist4.proto.Playlist4Changes.ChangeInfoOrBuilder getInfoOrBuilder();", "title": "" }, { "docid": "dd0ad89350a53887dd1c08b698e2d2ef", "score": "0.4721397", "text": "my.suveng.netty.learn.promote_protobuf.proto.MessageProto.DogOrBuilder getDogOrBuilder();", "title": "" }, { "docid": "fc9b39f5508403a65cf9c138f5076bd0", "score": "0.47191173", "text": "org.biocatalogue.x2009.xml.rest.SoapService.Operations addNewOperations();", "title": "" }, { "docid": "f7e1124f78a548ad032bc59e1603c466", "score": "0.47183836", "text": "protobuf.run.Place getPlaces(int index);", "title": "" }, { "docid": "389bd4491d7e66a9d80e7abf06f6e519", "score": "0.4713274", "text": "public interface SeriesRequest {\n\n\n @GET(ApiConstants.POPULAR_SERIES)\n Call<TrackEntityHolder<SerieModel>> getSeriesPopular(@Query(\"api_key\") String apiKey,\n @Query(\"language\") String languaje,\n @Query(\"page\") int page);\n @GET(ApiConstants.SEARCH_POPULAR_SERIES)\n Call<TrackEntityHolder<SerieModel>> getSearchSeries(@Query(\"api_key\") String apiKey,\n @Query(\"language\") String languaje,\n @Query(\"query\") String query,\n @Query(\"page\") int page );\n\n\n}", "title": "" }, { "docid": "03b536d23be036f4a4a4dc9d07a6d46e", "score": "0.47080734", "text": "public interface TicTacToeEndpoint {\n\n @GET(\"/api/tictactoe/create\")\n Call<String> createTicTacToeGame(@Header(\"Cookie\") String jSessionId);\n\n @GET(\"/api/tictactoe/{gameHost}/game\")\n Call<TicTacToeGameDTO> getTTTGameState(@Path(\"gameHost\") String gameHost, String sessionId);\n\n @PATCH(\"/api/tictactoe/move\")\n Call<String> sendTTTInsertedSymbol(String coordinatesString, String sessionId);\n}", "title": "" }, { "docid": "f382f5d523303c7b9bd3d73bfdee611c", "score": "0.47065783", "text": "OperationCallExp createOperationCallExp();", "title": "" }, { "docid": "8cbc2714c7c4c45eb60da47c4b7e5822", "score": "0.47007492", "text": "my.suveng.netty.learn.promote_protobuf.proto.MessageProto.Message.Type getType();", "title": "" }, { "docid": "aca7cf423f34a28782915542255fc66b", "score": "0.46994734", "text": "public interface BotService {\n\n /**\n * Log in to the service.\n *\n * @param user the {@link User}\n * @return a token for further requests\n */\n @PUT(\"login\")\n Call<String> login(@Body User user);\n\n /**\n * Registers a new user on the service.\n *\n * @param user the {@link User}\n * @return a token for further requests\n */\n @POST(\"register\")\n Call<String> register(@Body User user);\n\n\n /**\n * Retrieves all available music APIs.\n *\n * @return the music APIs supported by the server\n */\n @GET(\"music_apis\")\n Call<List<MusicApi>> getMusicApis();\n\n /**\n * Searches for a song.\n *\n * @param apiName the music API to search with\n * @param query the search query\n * @return the search results\n */\n @GET(\"search\")\n Call<List<Song>> searchSong(@Query(\"api_name\") String apiName, @Query(\"query\") String query/*, @Query(\"max_fetch\") int maxFetch*/);\n\n /**\n * Returns a list of suggestions to play next.\n *\n * @param apiName the music API to search with\n * @return the suggested songs\n */\n @GET(\"suggestions\")\n Call<List<Song>> getSuggestions(@Query(\"api_name\") String apiName);\n\n /**\n * Returns the current state of the player.\n *\n * @return the player state\n */\n @GET(\"player_state\")\n Call<PlayerState> getPlayerState();\n\n /**\n * Adds a song to the queue.\n *\n * @param song the song to add\n * @return an undefined string response\n */\n @PUT(\"queue\")\n Call<String> enqueue(@Body Song song);\n\n /**\n * Removes a song from the queue.\n * Needs admin, mod or queue_remove permission.\n *\n * @param song the song to remove\n * @return an undefined string response\n */\n @PUT(\"queue?remove=true\")\n Call<String> dequeue(@Body Song song);\n\n /**\n * Pause or resume the current playback\n *\n * @return the new player state\n */\n @PUT(\"toggle_pause\")\n Call<PlayerState> togglePause();\n\n /**\n * Move to the next song in the queue.\n *\n * @return the new player state\n */\n @PUT(\"next_song\")\n Call<PlayerState> nextSong();\n\n /**\n * Moves a song already in the queue somewhere else in the queue.\n *\n * @param moveRequestBody a {@link MoveRequestBody} instance\n * @param after if not null, <i>toMove</i> will be moved after the <i>other</i> song\n * @return the new player state\n */\n @PUT(\"move\")\n Call<PlayerState> moveSong(@Body MoveRequestBody moveRequestBody, @Nullable @Query(\"after_other\") Object after);\n\n /**\n * Checks whether there is an admin registered on the server.\n *\n * @return whether there is the admin\n */\n @GET(\"has_admin\")\n Call<Boolean> hasAdmin();\n\n /**\n * Checks whether this user is admin.\n *\n * @return whether this user is the admin\n */\n @GET(\"is_admin\")\n Call<Boolean> isAdmin();\n\n /**\n * Checks whether this user has one of the given permissions.\n *\n * @param neededPermissions the permissions to check for\n * @return whether the users permissions aren't disjoint with the given permissions\n */\n @GET(\"has_permission\")\n Call<Boolean> hasPermission(@Body List<String> neededPermissions);\n\n /**\n * Returns the own permissions.\n *\n * @return a list of permissions\n */\n @GET(\"get_permissions\")\n Call<List<String>> getPermissions();\n\n /**\n * Claim admin rights on the server.\n * There can only be one admin.\n * Fails if this user is already admin.\n *\n * @return an admin token\n */\n @GET(\"claim_admin\")\n Call<String> claimAdmin();\n\n /**\n * Returns a list of available permissions a user can be granted.\n * Needs admin permission.\n *\n * @return a list of Permission objects.\n */\n @GET(\"get_available_permissions\")\n Call<List<Permission>> getAvailablePermissions();\n\n /**\n * Returns a list of users of the API.\n * Needs admin permission.\n *\n * @return a list of ApiUser objects.\n */\n @GET(\"get_users\")\n Call<List<ApiUser>> getUsers();\n\n\n /**\n * Grants a permission to a user.\n * Needs admin permission.\n * Takes effect after user logs out and in again.\n *\n * @param username the users username\n * @param permission the permission to grant\n * @return 'OK' on success\n */\n @PUT(\"grant_permission\")\n Call<String> grantPermission(@Query(\"target_username\") String username, @Body Permission permission);\n\n /**\n * Revokes a permission from a user.\n * Needs admin permission.\n * Takes effect after user logs out and in again.\n *\n * @param username the users username\n * @param permission the permission to revoke\n * @return 'OK' on success\n */\n @PUT(\"revoke_permission\")\n Call<String> revokePermission(@Query(\"target_username\") String username, @Body Permission permission);\n\n @PUT(\"exit_bot\")\n Call<String> exitBot();\n\n @PUT(\"reset_bot\")\n Call<String> resetBot();\n\n @GET(\"get_available_offline_playlists\")\n Call<List<Playlist>> getAvailablePlaylists();\n\n @GET(\"get_active_playlist\")\n Call<Playlist> getActivePlaylist();\n\n @PUT(\"mark_active\")\n Call<String> setActivePlaylist(@Query(\"playlist_id\") String playlistId);\n\n @GET(\"get_album_art\")\n Call<ResponseBody> getAlbumArt(@Query(\"song_id\") String songId);\n\n /**\n * Checks whether the bot is running and accepts the current token.\n *\n * @return \"yes\" (call won't be successful otherwise)\n */\n @GET(\"are_you_there\")\n Call<String> checkBotValidity();\n}", "title": "" }, { "docid": "c822887234a849685b3c305f3a4738ee", "score": "0.46983448", "text": "java.util.List<? extends protobuf.run.TokenOrBuilder> \n getTokensOrBuilderList();", "title": "" }, { "docid": "50fdb503a0dab41d2838828c0b5e5d2b", "score": "0.46961015", "text": "io.netifi.proteus.quickstart.service.protobuf.TransactedRequest.SubOrBuilder getSubOrBuilder();", "title": "" }, { "docid": "18f755ca91fda43bd3fbbd502e558fe9", "score": "0.4693028", "text": "public interface CallBackOperations \n{\n void message (String msg);\n}", "title": "" }, { "docid": "fbb1181e82bbcb5a3c0652ca8a5db2b9", "score": "0.46893427", "text": "public com.spotify.playlist4.proto.Playlist4Ops.Op.Builder addOpsBuilder() {\n return getOpsFieldBuilder().addBuilder(\n com.spotify.playlist4.proto.Playlist4Ops.Op.getDefaultInstance());\n }", "title": "" }, { "docid": "fbb1181e82bbcb5a3c0652ca8a5db2b9", "score": "0.46893427", "text": "public com.spotify.playlist4.proto.Playlist4Ops.Op.Builder addOpsBuilder() {\n return getOpsFieldBuilder().addBuilder(\n com.spotify.playlist4.proto.Playlist4Ops.Op.getDefaultInstance());\n }", "title": "" } ]
b3b7cddbce490d413e70dd21995f7c58
Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.
[ { "docid": "9807ef3f20fcd03f2067b92b5a77ab39", "score": "0.60033125", "text": "public abstract void accept(Visitor v);", "title": "" } ]
[ { "docid": "6265a8c4db8083524b66325e51ad98c6", "score": "0.6856384", "text": "void accept(ASTVisitor visitor);", "title": "" }, { "docid": "23d6ca3bdec6fc8b948b542b4db19a86", "score": "0.685072", "text": "void visit(Unknown node);", "title": "" }, { "docid": "23b9cb816f8470dfdb1fc8989c346040", "score": "0.67916864", "text": "public void visit(Visitor visitor) {\r\n\t}", "title": "" }, { "docid": "b644cd9306b28a8dbc13cd7336ad494c", "score": "0.67715347", "text": "@Override\r\n\tpublic void accept(I_Visitor visitor) {\n\t\tvisitor.visitNode(this);\r\n\t}", "title": "" }, { "docid": "212a75878dd7ee7903e15b14c1342736", "score": "0.67023337", "text": "@Override\n\tpublic void accept(ASTNodeVisitor visitor) {\n\t\tvisitor.visit(this) ;\n\t}", "title": "" }, { "docid": "bcf01aae6a52884dd5fc472ceabd4e0c", "score": "0.6695225", "text": "@Override\n public void visit(Node node) {\n }", "title": "" }, { "docid": "72a2e366c3f6aa1a48dbb2c95fadb02a", "score": "0.66762227", "text": "@Override\n\tpublic void accept(ASTVisitor visitor) {\n\t\tvisitor.visit(this);\n\t}", "title": "" }, { "docid": "36ecc322b219a16150bb9534051957d5", "score": "0.6647677", "text": "public void visit(EchoNode node);", "title": "" }, { "docid": "d1d195b1c142a201bf461bd664df1fb7", "score": "0.65387523", "text": "void visit(InstOf node);", "title": "" }, { "docid": "4ba37cc481f099193e95f86e6a8dca40", "score": "0.64729214", "text": "@Override\r\n\tpublic void accept(Visitor visitor) {\n\r\n\t}", "title": "" }, { "docid": "60b22e45f11f4ca8fcc10a052b7c840e", "score": "0.64660436", "text": "void visit(Call node);", "title": "" }, { "docid": "8776954c4d1f42a33990cc87b74b71ba", "score": "0.64361805", "text": "@Override\n\tpublic void accept(Visitor visitor) throws Exception {\n\t\tvisitor.visit(this);\n\t}", "title": "" }, { "docid": "a799d2cd0a4eaca3ce6fd7037d1940dd", "score": "0.64246595", "text": "void visit(Eor node);", "title": "" }, { "docid": "4fe4b929eba3bb163d6d1d77ba658f33", "score": "0.6401581", "text": "public void accept(Visitor visitor);", "title": "" }, { "docid": "d55aa8bc0f60dbb16bc598070664af8f", "score": "0.6379567", "text": "public interface NodeVisitor {\n\n\t/** called when accept is called on a Add node */\n\tvoid visit(Add node);\n\t/** called when accept is called on a Alloc node */\n\tvoid visit(Alloc node);\n\t/** called when accept is called on a Anchor node */\n\tvoid visit(Anchor node);\n\t/** called when accept is called on a And node */\n\tvoid visit(And node);\n\t/** called when accept is called on a Bad node */\n\tvoid visit(Bad node);\n\t/** called when accept is called on a Block node */\n\tvoid visit(Block node);\n\t/** called when accept is called on a Borrow node */\n\tvoid visit(Borrow node);\n\t/** called when accept is called on a Bound node */\n\tvoid visit(Bound node);\n\t/** called when accept is called on a Builtin node */\n\tvoid visit(Builtin node);\n\t/** called when accept is called on a Call node */\n\tvoid visit(Call node);\n\t/** called when accept is called on a Carry node */\n\tvoid visit(Carry node);\n\t/** called when accept is called on a Cast node */\n\tvoid visit(Cast node);\n\t/** called when accept is called on a Cmp node */\n\tvoid visit(Cmp node);\n\t/** called when accept is called on a Cond node */\n\tvoid visit(Cond node);\n\t/** called when accept is called on a Confirm node */\n\tvoid visit(Confirm node);\n\t/** called when accept is called on a Const node */\n\tvoid visit(Const node);\n\t/** called when accept is called on a Conv node */\n\tvoid visit(Conv node);\n\t/** called when accept is called on a CopyB node */\n\tvoid visit(CopyB node);\n\t/** called when accept is called on a Deleted node */\n\tvoid visit(Deleted node);\n\t/** called when accept is called on a Div node */\n\tvoid visit(Div node);\n\t/** called when accept is called on a DivMod node */\n\tvoid visit(DivMod node);\n\t/** called when accept is called on a Dummy node */\n\tvoid visit(Dummy node);\n\t/** called when accept is called on a End node */\n\tvoid visit(End node);\n\t/** called when accept is called on a Eor node */\n\tvoid visit(Eor node);\n\t/** called when accept is called on a Free node */\n\tvoid visit(Free node);\n\t/** called when accept is called on a IJmp node */\n\tvoid visit(IJmp node);\n\t/** called when accept is called on a Id node */\n\tvoid visit(Id node);\n\t/** called when accept is called on a InstOf node */\n\tvoid visit(InstOf node);\n\t/** called when accept is called on a Jmp node */\n\tvoid visit(Jmp node);\n\t/** called when accept is called on a Load node */\n\tvoid visit(Load node);\n\t/** called when accept is called on a Minus node */\n\tvoid visit(Minus node);\n\t/** called when accept is called on a Mod node */\n\tvoid visit(Mod node);\n\t/** called when accept is called on a Mul node */\n\tvoid visit(Mul node);\n\t/** called when accept is called on a Mulh node */\n\tvoid visit(Mulh node);\n\t/** called when accept is called on a Mux node */\n\tvoid visit(Mux node);\n\t/** called when accept is called on a NoMem node */\n\tvoid visit(NoMem node);\n\t/** called when accept is called on a Not node */\n\tvoid visit(Not node);\n\t/** called when accept is called on a Or node */\n\tvoid visit(Or node);\n\t/** called when accept is called on a Phi node */\n\tvoid visit(Phi node);\n\t/** called when accept is called on a Pin node */\n\tvoid visit(Pin node);\n\t/** called when accept is called on a Proj node */\n\tvoid visit(Proj node);\n\t/** called when accept is called on a Quot node */\n\tvoid visit(Quot node);\n\t/** called when accept is called on a Raise node */\n\tvoid visit(Raise node);\n\t/** called when accept is called on a Return node */\n\tvoid visit(Return node);\n\t/** called when accept is called on a Rotl node */\n\tvoid visit(Rotl node);\n\t/** called when accept is called on a Sel node */\n\tvoid visit(Sel node);\n\t/** called when accept is called on a Shl node */\n\tvoid visit(Shl node);\n\t/** called when accept is called on a Shr node */\n\tvoid visit(Shr node);\n\t/** called when accept is called on a Shrs node */\n\tvoid visit(Shrs node);\n\t/** called when accept is called on a Start node */\n\tvoid visit(Start node);\n\t/** called when accept is called on a Store node */\n\tvoid visit(Store node);\n\t/** called when accept is called on a Sub node */\n\tvoid visit(Sub node);\n\t/** called when accept is called on a SymConst node */\n\tvoid visit(SymConst node);\n\t/** called when accept is called on a Sync node */\n\tvoid visit(Sync node);\n\t/** called when accept is called on a Tuple node */\n\tvoid visit(Tuple node);\n\t/** called when accept is called on a Unknown node */\n\tvoid visit(Unknown node);\n\t\n\n\t/**\n\t * Default Visitor: A class which implements every visit function of\n\t * the NodeVisitor interface with a call to the defaultVisit function.\n\t * Usefull as base for own visitors which need to treat all nodes\n\t * equally or only need to override some visit functions.\n\t */\n\tpublic static abstract class Default implements NodeVisitor {\n\n\t\tpublic void defaultVisit(Node n) {}\n\t\t\n\t\n\t\t@Override\n\t\tpublic void visit(Add node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Alloc node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Anchor node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(And node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Bad node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Block node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Borrow node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Bound node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Builtin node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Call node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Carry node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Cast node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Cmp node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Cond node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Confirm node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Const node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Conv node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(CopyB node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Deleted node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Div node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(DivMod node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Dummy node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(End node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Eor node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Free node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(IJmp node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Id node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(InstOf node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Jmp node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Load node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Minus node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Mod node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Mul node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Mulh node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Mux node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(NoMem node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Not node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Or node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Phi node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Pin node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Proj node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Quot node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Raise node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Return node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Rotl node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Sel node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Shl node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Shr node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Shrs node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Start node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Store node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Sub node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(SymConst node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Sync node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Tuple node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\n\t\t@Override\n\t\tpublic void visit(Unknown node) {\n\t\t\tdefaultVisit(node);\n\t\t}\n\t\t\n\t}\n\n}", "title": "" }, { "docid": "4f728b7fd007e4dc87446edbc1f42a77", "score": "0.63051575", "text": "public void callArgVisitors(XPathVisitor visitor)\r\n {\r\n }", "title": "" }, { "docid": "95ca6573b126fe0617205f30a75d3568", "score": "0.6277331", "text": "void visit(Carry node);", "title": "" }, { "docid": "81646bf5badfc630c84ae75fec7f63ba", "score": "0.62706953", "text": "public void visit(T data);", "title": "" }, { "docid": "6d9e4a2e9c185b4079c88111a860140b", "score": "0.6270532", "text": "@Override\n public void accept(ASTVisitor v) {\n v.visit(this);\n }", "title": "" }, { "docid": "9ad57d59394dd3cb573b721876abe22f", "score": "0.6237627", "text": "public void accept(CodeGraphVisitor visitor) {\n\n }", "title": "" }, { "docid": "fddf39bb8a9b5ec07db7c37b6afc381a", "score": "0.6224063", "text": "public interface Visitor {\n\n /**\n * 对应于NodeA的访问操作\n */\n public void visit(NodeA node);\n\n /**\n * 对应于NodeB的访问操作\n */\n public void visit(NodeB node);\n\n}", "title": "" }, { "docid": "681ea6813798595b0d3ab67a0ab8aca6", "score": "0.62161326", "text": "public void visit(jq_Class c);", "title": "" }, { "docid": "ab1de635f4ed00a9db51c47da19aadbb", "score": "0.61931616", "text": "@Override\r\n\tpublic void accept(Visitor visitor) {\n\t\tvisitor.visit(this);\r\n\t}", "title": "" }, { "docid": "b9198cc7f29e97d438f4177a749a3415", "score": "0.6172466", "text": "@Override\n\tpublic void accept(Visitor v) {\n\t\t\n\t}", "title": "" }, { "docid": "b9198cc7f29e97d438f4177a749a3415", "score": "0.6172466", "text": "@Override\n\tpublic void accept(Visitor v) {\n\t\t\n\t}", "title": "" }, { "docid": "704cfc8a88883d1ad9c782564ad043f7", "score": "0.61555356", "text": "void visit(Dummy node);", "title": "" }, { "docid": "32c6331920e699c9e4e9b6f4526a4665", "score": "0.6105081", "text": "public void visit(TextNode node);", "title": "" }, { "docid": "9e5eabb14c1e698bed0db7ca9b7571b7", "score": "0.608665", "text": "public V visit(T t);", "title": "" }, { "docid": "6fa7340a0ca02e202e9132a5ff8ef4f0", "score": "0.60831505", "text": "@Override\n\tpublic void accept(Visitor<T> visitor) {\n\t\tvisitor.visit(this);\n\t}", "title": "" }, { "docid": "7b4af66cfd57d0d3053b2be05c207e86", "score": "0.60783815", "text": "private void generateVisitDeclaration(Class clazz)\n {\n pw.print(\"virtual void visit(\");\n pw.print(getCppClassName(clazz));\n pw.println(\" &)\");\n pw.println(\"{ unhandledVisit(); }\");\n }", "title": "" }, { "docid": "cf82e78cfff5f4d65309c508f6a82e91", "score": "0.6069497", "text": "void visit(Method m);", "title": "" }, { "docid": "93848382db99ea89d4ae87f112fe9296", "score": "0.60682106", "text": "@Override\n\tpublic void accept(GraphElementVisitor visitor) {\n\t\tvisitor.visit(this);\n\t}", "title": "" }, { "docid": "0a218668e998051dc1e6ad37ba9fa7cd", "score": "0.6065449", "text": "void visit(Jmp node);", "title": "" }, { "docid": "e8f740c113b538aa2c0e62b544aa19d6", "score": "0.6044933", "text": "public interface IVisitor {\n public void visit(Object object);\n}", "title": "" }, { "docid": "b247c1125784d84ff700f89d52b312b9", "score": "0.6039543", "text": "void visit(Sel node);", "title": "" }, { "docid": "a5d0e7642e5f2504620127702dd5c2f8", "score": "0.6038857", "text": "void accept0(ASTVisitor visitor) {\r\n\t\tboolean visitChildren = visitor.visit(this);\r\n\t\tif (visitChildren) {\r\n\t\t\t// visit children in normal left to right reading order\r\n\t\t\tacceptChildren(visitor, this.preDDocs);\r\n\t\t\tacceptChildren(visitor, this.modifiers);\r\n\t\t\tacceptChild(visitor, getReturnType());\r\n\t\t\tacceptChild(visitor, getName());\r\n\t\t\tacceptChildren(visitor, this.templateParameters);\r\n\t\t\tacceptChildren(visitor, this.arguments);\r\n\t\t\tacceptChildren(visitor, this.postModifiers);\r\n\t\t\tacceptChild(visitor, getConstraint());\r\n\t\t\tacceptChild(visitor, getPrecondition());\r\n\t\t\tacceptChild(visitor, getPostcondition());\r\n\t\t\tacceptChild(visitor, getPostconditionVariableName());\r\n\t\t\tacceptChild(visitor, getBody());\r\n\t\t\tacceptChild(visitor, getPostDDoc());\r\n\t\t}\r\n\t\tvisitor.endVisit(this);\r\n\t}", "title": "" }, { "docid": "30ef8d6b3a5f494a084a6494bcff8657", "score": "0.6026835", "text": "<R> R accept(TreeVisitor<R> visitor);", "title": "" }, { "docid": "f8aee173b4c2e9e61ef63be5ed558bc6", "score": "0.6026076", "text": "public interface NodeVisitable {\n\n void accept(NodeVisitor visitor);\n}", "title": "" }, { "docid": "a278a7ee72b01271382ce3b258cada58", "score": "0.6024974", "text": "public void accept(final org.dom4j.Visitor arg0) {\n \n }", "title": "" }, { "docid": "a278a7ee72b01271382ce3b258cada58", "score": "0.6024974", "text": "public void accept(final org.dom4j.Visitor arg0) {\n \n }", "title": "" }, { "docid": "1b18c42ee5923c20d3f3919b26c8d039", "score": "0.60129774", "text": "@Override public void VisitInstanceOfNode(ZInstanceOfNode Node) {\n\n\t}", "title": "" }, { "docid": "6647f6df4f0a97b0527ef50688ece724", "score": "0.6008989", "text": "public void acceptVisitor(Visitor visitor) {\n visitor.visit(this);\n\t}", "title": "" }, { "docid": "e706cdc0d2f174c12fceb938f659ff40", "score": "0.5991523", "text": "@Override\n public void visit(This instance) {\n }", "title": "" }, { "docid": "0ade5f1c3b6516c6347bdbd885949e31", "score": "0.5975982", "text": "@Override\n public void accept(ExpressionNodeVisitor visitor)\n {\n visitor.visit(this);\n }", "title": "" }, { "docid": "8b364ffe6bc602978a1e4c90406faea2", "score": "0.5969269", "text": "public void visit(DocumentNode node);", "title": "" }, { "docid": "c4e11551110558a103653b94f996a2e2", "score": "0.59649605", "text": "@Override\n\tpublic void visit(TreeNode tree) {\n\n\t}", "title": "" }, { "docid": "4c03209c3bb6ee6967aa7c842ebe3c8a", "score": "0.59508616", "text": "void visit(Div node);", "title": "" }, { "docid": "67df71230f64003cbaf24bf257ab69d7", "score": "0.59336233", "text": "void visit(Sub node);", "title": "" }, { "docid": "16cd90d36468499bc39c557734ae0b7e", "score": "0.593353", "text": "public abstract boolean visit(Node node);", "title": "" }, { "docid": "99f9c56ce4784baa77a1be1002ca39fc", "score": "0.59274143", "text": "void visit(Block node);", "title": "" }, { "docid": "257c6781cbbfd6a3e88f89a8923d167f", "score": "0.5907981", "text": "void visit(Anchor node);", "title": "" }, { "docid": "1894095c6c0265f5c296c413fb310b92", "score": "0.590603", "text": "@Override\n\tpublic void visit(Function arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "1894095c6c0265f5c296c413fb310b92", "score": "0.590603", "text": "@Override\n\tpublic void visit(Function arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "e42f81ed91fa7a66d92b89f5f461f1fc", "score": "0.5896485", "text": "@Override\n public void accept(SimulationObjectVisitor visitor) {\n \tvisitor.visit(this);\n }", "title": "" }, { "docid": "89e9ee109d7a0e097900827da1a1ee84", "score": "0.5881928", "text": "default void accept(ISceneElementVisitor visitor) {\n visitor.visit(this);\n }", "title": "" }, { "docid": "7a9d8fdede2c7300d883ad2d4c851ff0", "score": "0.586146", "text": "@Override\n\tpublic void traversal(Visitor<K, V> visitor) {\n\t\ttraversal(rootNode, visitor);\t\n\t}", "title": "" }, { "docid": "6903fda573bbe087648e69deea8f071f", "score": "0.5859472", "text": "void visit(Id node);", "title": "" }, { "docid": "f54315ab5f3a3a1569b2cc84708dd3d3", "score": "0.5853675", "text": "@Override\n\tpublic Object accept(Visitor<?> visitor) {\n\t\treturn visitor.visit(this);\n\t}", "title": "" }, { "docid": "233e6a3c32d7e4c11d52202ae1889cbd", "score": "0.5849134", "text": "@Override\r\n\tvoid accept(Visitor v) {\n\t\tv.visit(this);\r\n\t}", "title": "" }, { "docid": "7685ebfd2f96365038c3abe9d367df20", "score": "0.5836881", "text": "void visit(Start node);", "title": "" }, { "docid": "a4d7ce356857f27c26263b0cbeb887b1", "score": "0.5831444", "text": "public void getVisit() {\n\t}", "title": "" }, { "docid": "64eb40eb5e4eff504c737b60ddc62cf1", "score": "0.5829783", "text": "void visitNode (INode n, int id);", "title": "" }, { "docid": "9f372426369960078fa2985bb4d4b3ca", "score": "0.58216685", "text": "@Override\n\tpublic void accept(Visitor v) {\n\t\tv.visit(this);\n\n\t\t\n\t}", "title": "" }, { "docid": "50ee5810db2954b6950a629ebd394096", "score": "0.58166176", "text": "void visit(IJmp node);", "title": "" }, { "docid": "918c24ec2c7e94b7ba5579232880da47", "score": "0.58060014", "text": "void visit(CD cd);", "title": "" }, { "docid": "45dff0ac31db92e21aced9f7e31a8a75", "score": "0.5805086", "text": "@Override\n\tpublic void visit(MainNode mainNode) {\n\n\t}", "title": "" }, { "docid": "e666432c7e758721c7bcf4cb3183a0b7", "score": "0.579349", "text": "public void callArgVisitors(XPathVisitor visitor) {\n/* 126 */ if (null != this.m_arg0) {\n/* 127 */ this.m_arg0.callVisitors(this, visitor);\n/* */ }\n/* */ }", "title": "" }, { "docid": "0c7cc9311e767cecfc5cbedc976b3e58", "score": "0.5787315", "text": "public interface Visitor<T>\n{\n\tvoid beginVisit( T node );\n\t\n\tvoid beginVisitChild( T node, T child );\n\n\tvoid endVisitChild( T node, T child, Object childResult );\n\n\tObject endVisit( T node );\n}", "title": "" }, { "docid": "5c1849202c28e30c821c0803ae4959bd", "score": "0.5783442", "text": "public void accept(ParseNodeVisitor visitor) {\n\t\tvisitor.visitEnter(this);\n\t\tvisitChildren(visitor);\n\t\tvisitor.visitLeave(this);\n\t}", "title": "" }, { "docid": "44e7522a87355966e46c0b475c5580bc", "score": "0.5780986", "text": "interface Visitor {\n\t\n\tpublic double visit(SalesTrainee trainee);\n\tpublic double visit(Salesman salesman);\n\tpublic double visit(Boss boss);\n//\t***yukarıdaki metodların argumentinde type olarak Visitable kullanmak isteseydik \n//\t1. metod overloading yapamayacak ve her metoda farklı isim vermek zorunda kalacaktık\n//\t2. Visitable classında (boss, salesman ve salestrainee classlarında kullanılan) \n//\tyeni metodlar tanımlamak zorunda olacaktık***\n\n}", "title": "" }, { "docid": "8d31e81437156999a09f2290047b0156", "score": "0.5771427", "text": "void accept(IVisitorRobot visitor);", "title": "" }, { "docid": "8b53c0df9aeabe466ad204ff1ef00d79", "score": "0.57622975", "text": "public interface Visitor {\n public boolean discover(int node);\n\n public void examine(int node);\n\n public void finish(int node);\n }", "title": "" }, { "docid": "6b2191827bdc47e6d8592b3cdcab7b79", "score": "0.57564497", "text": "void accept0(ASTVisitor visitor) {\n if (visitor instanceof AjASTVisitor) {\n AjASTVisitor ajvis = ((AjASTVisitor) visitor);\n boolean visitChildren = ajvis.visit(this);\n if (visitChildren) {\n // visit children in normal left to right reading order\n acceptChild(ajvis, getJavadoc());\n if (this.ast.apiLevel >= AST.JLS3) {\n acceptChildren(ajvis, this.modifiers);\n }\n acceptChild(ajvis, getName());\n acceptChild(ajvis, getDesignator());\n acceptChildren(visitor, this.parameters);\n }\n ajvis.endVisit(this);\n }\n }", "title": "" }, { "docid": "695a45bfa962eded01e120656249f705", "score": "0.57349664", "text": "@Override\r\n\tpublic void accept(Visitor v) {\r\n\t\tv.visit(this);\r\n\t}", "title": "" }, { "docid": "64c77a2ca96b7a41166a17a344c9045e", "score": "0.5719479", "text": "@Override\r\n\tpublic void visitar(Obstaculo obstaculo) {\n\t\t\r\n\t}", "title": "" }, { "docid": "3488348c19f8c722a47efa8d2fcf2c46", "score": "0.5718377", "text": "public interface Visitor {\n\n\t\t \n\t\tpublic Object visit(List node, Object data);\n\n\t\t \n\t\tpublic Object visit(Opt node, Object data);\n\n\t\t \n\t\tpublic Object visit(Program node, Object data);\n\n\t\t \n\t\tpublic Object visit(Block node, Object data);\n\n\t\t \n\t\tpublic Object visit(Condition node, Object data);\n\n\n\t\t \n\n\t\tpublic Object visit(IdDecl node, Object data);\n\n\t\t \n\t\tpublic Object visit(IdUse node, Object data);\n\n\n\t\t \n\n\t\tpublic Object visit(Func node, Object data);\n\n\t\t \n\t\tpublic Object visit(FuncArgs node, Object data);\n\n\t\t \n\t\tpublic Object visit(FuncCall node, Object data);\n\n\t\t \n\t\tpublic Object visit(FuncCallArgs node, Object data);\n\n\n\t\t\t/* ------- statements ------- */\n\n\t\t \n\n\t\t\t/* ------- statements ------- */\n\n\t\tpublic Object visit(AssigmtStmt node, Object data);\n\n\t\t \n\t\tpublic Object visit(ReturnStmt node, Object data);\n\n\t\t \n\t\tpublic Object visit(WhileStmt node, Object data);\n\n\t\t \n\t\tpublic Object visit(IfStmt node, Object data);\n\n\t\t \n\t\tpublic Object visit(ElseIfStmt node, Object data);\n\n\t\t \n\t\tpublic Object visit(ElseIfStmts node, Object data);\n\n\t\t \n\t\tpublic Object visit(ElseStmt node, Object data);\n\n\n\t\t\t/* ----- binary expressions ----- */\t\n\n\t\t \n\n\t\t\t/* ----- binary expressions ----- */\t\n\n\t\tpublic Object visit(Numeral node, Object data);\n\n\n\t\t \n\n\t\tpublic Object visit(Mul node, Object data);\n\n\t\t \n\t\tpublic Object visit(Div node, Object data);\n\n\t\t \n\t\tpublic Object visit(Mod node, Object data);\n\n\n\t\t \n\n\t\tpublic Object visit(Add node, Object data);\n\n\t\t \n\t\tpublic Object visit(Sub node, Object data);\n\n\n\t\t \n\n\t\tpublic Object visit(GT node, Object data);\n\n\t\t \n\t\tpublic Object visit(LT node, Object data);\n\n\t\t \n\t\tpublic Object visit(GE node, Object data);\n\n\t\t \n\t\tpublic Object visit(LE node, Object data);\n\n\t\t \n\t\tpublic Object visit(EQ node, Object data);\n\n\t\t \n\t\tpublic Object visit(NE node, Object data);\n}", "title": "" }, { "docid": "ea5cef8c084d8264042777a7e9821ef0", "score": "0.57151604", "text": "@Override\r\n public final Void visit(final IRNode node) {\r\n handleNode(node);\r\n doAcceptForChildren(node);\r\n return null;\r\n }", "title": "" }, { "docid": "9e8dab0fd30cc375101938e510e429bc", "score": "0.57083976", "text": "@Override\n\tpublic <T> T accept(ExprVisitor<T> visitor) {\n\t\treturn visitor.visit(this);\n\t}", "title": "" }, { "docid": "7fefde7b195207c30b927cb4796b9394", "score": "0.5707129", "text": "@Override\n\tpublic <T> T accept(ASTVisitor<T> v) {\n\t\treturn v.visit(this);\n\t}", "title": "" }, { "docid": "8b2efeb6c51f9daa51702d3f4fbf0eed", "score": "0.5693954", "text": "void visit(Cast node);", "title": "" }, { "docid": "1bfa696bae33b19f5048a4f990746629", "score": "0.56728613", "text": "public Object visit(ObjectInfoObjectType n, Object argu) {\n Object _ret=argu;\nSystem.out.println(\"ObjectInfoObjectType\");\nTreeAttr attr = (TreeAttr)argu;\nSystem.out.println(attr.getType());\n _ret=n.syntaxPart.accept(this, _ret);\n //_ret=n.unitsPart.accept(this, _ret);\n //_ret=n.max_access.accept(this, _ret);\n //_ret=n.statusPart.accept(this, _ret);\n //_ret=n.descriptionPart.accept(this, _ret);\n //_ret=n.referencePart.accept(this, _ret);\n _ret=n.indexPart.accept(this, _ret);\n //_ret=n.defValPart.accept(this, _ret);\n return _ret;\n }", "title": "" }, { "docid": "d4817302b0928a9fd5f6440e3800deb6", "score": "0.56600726", "text": "void visit(Pin node);", "title": "" }, { "docid": "9100a95b5a430987ec2ed714d20bc0cd", "score": "0.56338704", "text": "void visit(Rotl node);", "title": "" }, { "docid": "4ee9872f3b3a9a692abb2998413d0bb3", "score": "0.5625434", "text": "public interface ASTVisitor<T> {\n\n}", "title": "" }, { "docid": "7026a9bfd2903c3c7d8ef9da87164b0f", "score": "0.5623704", "text": "public void accept(final Visitor visitor) {\r\n\t\tvisitor.visit(this);\r\n\t}", "title": "" }, { "docid": "41e625b784d46bc9bc4abfd1305f6a42", "score": "0.56035763", "text": "public interface Visitor {\n double visit(Vodka vodka);\n double visit(Tabacco tabacco);\n}", "title": "" }, { "docid": "c76078f3eb34455ab9c64003edbac844", "score": "0.5598587", "text": "protected void startVisit(Vertex<V> v) {}", "title": "" }, { "docid": "b6814783bc9b6ad03404d60e2a79b258", "score": "0.5595443", "text": "void visit(Shl node);", "title": "" }, { "docid": "976bcf61068a4b6f3171ed804446782e", "score": "0.5591721", "text": "@Override\r\n\tpublic void visit() {\n\t\tnew MyHandler().handle(this);\r\n\t}", "title": "" }, { "docid": "976bcf61068a4b6f3171ed804446782e", "score": "0.5591721", "text": "@Override\r\n\tpublic void visit() {\n\t\tnew MyHandler().handle(this);\r\n\t}", "title": "" }, { "docid": "976bcf61068a4b6f3171ed804446782e", "score": "0.5591721", "text": "@Override\r\n\tpublic void visit() {\n\t\tnew MyHandler().handle(this);\r\n\t}", "title": "" }, { "docid": "405833e65211ae3243b697a5f12acca8", "score": "0.5591223", "text": "public interface ClassVisitor {\n\n /**\n * Visits the header of the class.\n *\n * @param access the class's access flags (see {@link Constants}). This\n * parameter also indicates if the class is deprecated.\n * @param name the internal name of the class (see {@link Type#getInternalName\n * getInternalName}).\n * @param superName the internal of name of the super class (see {@link\n * Type#getInternalName getInternalName}). For interfaces, the super\n * class is {@link Object}. May be <tt>null</tt>, but only for the {@link\n * Object java.lang.Object} class.\n * @param interfaces the internal names of the class's interfaces (see {@link\n * Type#getInternalName getInternalName}). May be <tt>null</tt>.\n * @param sourceFile the name of the source file from which this class was\n * compiled. May be <tt>null</tt>.\n */\n\n void visit (\n int access,\n String name,\n String superName,\n String[] interfaces,\n String sourceFile);\n\n /**\n * Visits information about an inner class. This inner class is not\n * necessarily a member of the class being visited.\n *\n * @param name the internal name of an inner class (see {@link\n * Type#getInternalName getInternalName}).\n * @param outerName the internal name of the class to which the inner class\n * belongs (see {@link Type#getInternalName getInternalName}). May be\n * <tt>null</tt>.\n * @param innerName the (simple) name of the inner class inside its enclosing\n * class. May be <tt>null</tt> for anonymous inner classes.\n * @param access the access flags of the inner class as originally declared\n * in the enclosing class.\n */\n\n void visitInnerClass (\n String name,\n String outerName,\n String innerName,\n int access);\n\n /**\n * Visits a field of the class.\n *\n * @param access the field's access flags (see {@link Constants}). This\n * parameter also indicates if the field is synthetic and/or deprecated.\n * @param name the field's name.\n * @param desc the field's descriptor (see {@link Type Type}).\n * @param value the field's initial value. This parameter, which may be\n * <tt>null</tt> if the field does not have an initial value, must be an\n * {@link java.lang.Integer Integer}, a {@link java.lang.Float Float}, a\n * {@link java.lang.Long Long}, a {@link java.lang.Double Double} or a\n * {@link String String}. <em>This parameter is only used for static\n * fields</em>. Its value is ignored for non static fields, which must be\n * initialized through bytecode instructions in constructors or methods.\n */\n\n void visitField (int access, String name, String desc, Object value);\n\n /**\n * Visits a method of the class. This method <i>must</i> return a new\n * {@link CodeVisitor CodeVisitor} instance (or <tt>null</tt>) each time it\n * is called, i.e., it should not return a previously returned visitor.\n *\n * @param access the method's access flags (see {@link Constants}). This\n * parameter also indicates if the method is synthetic and/or deprecated.\n * @param name the method's name.\n * @param desc the method's descriptor (see {@link Type Type}).\n * @param exceptions the internal names of the method's exception\n * classes (see {@link Type#getInternalName getInternalName}). May be\n * <tt>null</tt>.\n * @return an object to visit the byte code of the method, or <tt>null</tt> if\n * this class visitor is not interested in visiting the code of this\n * method.\n */\n\n CodeVisitor visitMethod (\n int access,\n String name,\n String desc,\n String[] exceptions);\n\n /**\n * Visits the end of the class. This method, which is the last one to be\n * called, is used to inform the visitor that all the fields and methods of\n * the class have been visited.\n */\n\n void visitEnd ();\n}", "title": "" }, { "docid": "01ac59cfeef450ecac1e8915667e2d5c", "score": "0.5587671", "text": "void visit(Bound node);", "title": "" }, { "docid": "14ac2a841b5e1949c3af13824be78bbf", "score": "0.55856204", "text": "public interface Visitor {\n public void visit(ElementA a);\n public void visit(ElementB b);\n public void visit(ElementC c);\n}", "title": "" }, { "docid": "f5cc469420a994dc0e9c6b7074bec4b8", "score": "0.55812943", "text": "void visit(Bad node);", "title": "" }, { "docid": "be95d808c52190ed6394e669aef70ec0", "score": "0.5559252", "text": "@Override\n public void accept(IDebuggerVisitor visitor) {\n visitor.visite(this);\n }", "title": "" }, { "docid": "c45823a3bf56df0c9ffd00174ed4efdd", "score": "0.55544513", "text": "public void visitTree(ExprTreeVisitor visitor) {\n children().forEach(child -> {\n visitor.visitExpr(child);\n child.visitTree(visitor);\n });\n }", "title": "" }, { "docid": "fb11dfc4307f6df09c5a489f3d06771a", "score": "0.5554128", "text": "public void acceptRec(ASTVisitor visitor, Visitable.Order order)\n {\n if (order == Visitable.Order.PRE)\n {\n visitor.visit(this);\n }\n cls.acceptRec(visitor, order);\n if (order == Visitable.Order.POST)\n {\n visitor.visit(this);\n }\n }", "title": "" }, { "docid": "8cc8b44fe8febd365a6de11ca15ae371", "score": "0.5545135", "text": "void visit(Shrs node);", "title": "" } ]
d9fc47264208fd716a505bfb669c443e
Called when the user taps the enter patient data button
[ { "docid": "e52f7c8107c4658da5496780023b3af9", "score": "0.0", "text": "public void backToMainMenu(View view) {\n String caller = getIntent().getStringExtra(\"caller\");\n Log.d(\"pootie\", \"caller is \" + caller);\n Class callerClass;\n try {\n callerClass = Class.forName(caller);\n Intent intent = new Intent(this, callerClass);\n startActivity(intent);\n } catch (Exception e){\n Log.e(e.getMessage(),\"cannot get caller id\");\n }\n }", "title": "" } ]
[ { "docid": "834991f859a69b581cba5b1c06ad7e60", "score": "0.6542146", "text": "@Override\r\n\t\tpublic void onClick(View v) {\n\t\t\t\r\n\t\t\tstartActivity(new Intent(MainActivity.this,EnterDataActivity.class));\t\t\r\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "268d66ddd306999cdcd5b029ae9a859b", "score": "0.62196004", "text": "@Override\n public void onClick(View view) {\n Intent i = new Intent(MainActivity.this, EnterDataActivity.class);\n startActivityForResult(i, REQUEST_ID);\n }", "title": "" }, { "docid": "a3d96a492075487f350ec47d3e4a93c9", "score": "0.6007961", "text": "@Override\n public void onClick(View v) {\n moveToPatientForm();\n }", "title": "" }, { "docid": "61bdc25876bfd28500ded9c9991ee088", "score": "0.5941218", "text": "public void enterInformation(View view){\n String message = notes.getText().toString();\n\n //get the selected body system from the spinner\n String bodysystem = spinner.getSelectedItem().toString();\n\n //trying to save without a text or any selected stock answer\n if (message.length()== 0 && selected.size()==0) {\n Toast.makeText(getApplicationContext(),\"Please enter patient information.\",Toast.LENGTH_LONG).show();\n }\n\n //add the patient information to the database\n if (message.length() != 0){\n dbHelper.addPatientInformation(name, bodysystem, message);\n Toast.makeText(getApplicationContext(),\"Information saved for body system: \" + bodysystem+\".\",Toast.LENGTH_LONG).show();\n // clear edittext field after added information to database\n notes.setText(\"\");\n }\n if (selected.size()!= 0){\n for (String s: selected){\n //divide the stock answer\n String split[] = s.split(\":\");\n String bs = split[0];\n String sa = split[1].substring(1);\n //sanity check before inserting stock answer into patient database\n if (bs.equals(bodysystem)){\n dbHelper.addPatientInformation(name, bs, sa);\n }\n }\n selected.clear();\n Toast.makeText(getApplicationContext(),\"Information saved for body system: \" + bodysystem+\".\",Toast.LENGTH_LONG).show();\n uncheckCheckBox();\n }\n }", "title": "" }, { "docid": "c6dbfb4abc528526f52b63e76217457e", "score": "0.59352463", "text": "public void onClick(View arg0) {\n Intent nextScreen = new Intent(getApplicationContext(), AddTemperate.class);\n\n //Sending data to another Activity\n //nextScreen.putExtra(\"name\", inputName.getText().toString());\n //nextScreen.putExtra(\"email\", inputEmail.getText().toString());\n\n //Log.e(\"n\", inputName.getText() + \".\" + inputEmail.getText());\n\n startActivity(nextScreen);\n\n }", "title": "" }, { "docid": "241e23c8a6328c2c7e367675396ce938", "score": "0.592695", "text": "public void loadPatientData(View view)\n {\n \tIntent intent = new Intent(this, LoadPatientDataMenu.class);\n \t\n \tfinish();\n \tstartActivity(intent);\n }", "title": "" }, { "docid": "5bc3aa6bdb50bc674152cf0de938d976", "score": "0.5914635", "text": "@Override\n public void actionPerformed(ActionEvent arg0) {\n try {\n AddPatient pp = new AddPatient();\n mainFr.dispose();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "3588dcf8188a6ccd6ef587f5875b63f0", "score": "0.5914265", "text": "public void onClick(View arg0) {\n Intent nextScreen = new Intent(getApplicationContext(), AddDesert.class);\n\n //Sending data to another Activity\n //nextScreen.putExtra(\"name\", inputName.getText().toString());\n //nextScreen.putExtra(\"email\", inputEmail.getText().toString());\n\n //Log.e(\"n\", inputName.getText() + \".\" + inputEmail.getText());\n\n startActivity(nextScreen);\n\n }", "title": "" }, { "docid": "4e65291d7833b588fcd5d7e75416d336", "score": "0.5910897", "text": "public void getPatientData(View view)\n {\n \tIntent intent = new Intent(this, GetPatientDataMenu.class);\n \t\n \tfinish();\n \tstartActivity(intent);\n }", "title": "" }, { "docid": "1ae88b7cd6e331ff4c62b0b4aa03357e", "score": "0.58775747", "text": "void handleEnterKeyPressForInputPeople() {\n inputPeople.addKeyListener(new KeyAdapter() {\n @Override\n public void keyPressed(KeyEvent e) {\n if (e.getKeyCode() == KeyEvent.VK_ENTER) {\n addPeople();\n //inputPeople.setText(\"\");\n }\n }\n\n });\n }", "title": "" }, { "docid": "2b0cc4cc8cb36f3fa40f2291def210da", "score": "0.5861536", "text": "public void patientSelected() {\n\n\t\teditPatientButton.setDisable(false);\n\t}", "title": "" }, { "docid": "4f0e6813b68050bf81e5b60c93861e00", "score": "0.58303744", "text": "public void onClick(View arg0) {\n Intent nextScreen = new Intent(getApplicationContext(), AddTropical.class);\n\n //Sending data to another Activity\n //nextScreen.putExtra(\"name\", inputName.getText().toString());\n //nextScreen.putExtra(\"email\", inputEmail.getText().toString());\n\n //Log.e(\"n\", inputName.getText() + \".\" + inputEmail.getText());\n\n startActivity(nextScreen);\n\n }", "title": "" }, { "docid": "de84b8f3724fae1c57f953f28f3b7ec2", "score": "0.58083004", "text": "public void enterRegistrationDetails()\n {\n waitForClickable(_waitForClickable,100);\n //click on Male or Female button\n clickOnElement(_radioButton);\n //Type FirstName\n enterText(_firstName,loadProperty.getProperty(\"firstName\"));\n //Type LastName\n enterText(_lastName,loadProperty.getProperty(\"lastName\"));\n //Select day of date of birth\n selectFromDropdownByValue(_dateOfBirth,loadProperty.getProperty(\"dateOfBirth\"));\n //select month of birth\n selectFromDropdownByVisibleText(_monthOfBirth,loadProperty.getProperty(\"monthOfBirth\"));\n //select year of birth\n selectFromDropdownByValue(_yearOfBirth,loadProperty.getProperty(\"yearOfBirth\"));\n //type email address\n enterText(_email,loadProperty.getProperty(\"email\")+dateStamp()+\"@yahoo.com\");\n //type company name\n enterText(_companyName,loadProperty.getProperty(\"companyName\"));\n //type password\n enterText(_password,loadProperty.getProperty(\"password\"));\n //confirm password\n enterText(_confirmPassword,loadProperty.getProperty(\"confirmPassword\"));\n //click on register\n clickOnElement(_clickOnRegister);\n }", "title": "" }, { "docid": "eb5c7af9091e860d4be6e8e500764406", "score": "0.58032525", "text": "public void newPatientRegistration(View view) {\n Intent intent = new Intent(this, PatientRegistrationActivity.class);\n intent.putExtra(\"caller\", getIntent().getStringExtra(\"caller\"));\n startActivity(intent);\n }", "title": "" }, { "docid": "7f80a851a9c221133efb380256aee42f", "score": "0.5799005", "text": "@Override\n public void onClick(View view) {\n DateFormat df = new SimpleDateFormat(\"dd/MM/yyyy HH:mm\");\n Date today = Calendar.getInstance().getTime();\n date = df.format(today);\n JournalEntry newEntry = new JournalEntry(0, title, content, mood, date);\n EntryDatabase db = EntryDatabase.getInstance(getApplicationContext());\n EntryDatabase.insert(db, newEntry);\n\n// Return to main after submitting data\n Intent intentInput = new Intent(InputActivity.this, MainActivity.class);\n startActivity(intentInput);\n }", "title": "" }, { "docid": "007ce66b945943333f659cc7ed07604c", "score": "0.5794417", "text": "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n System.out.println(\"Request Code: \" + requestCode);\n System.out.println(\"Result Code: \" + resultCode);\n if (requestCode == ADD_PATIENT) {\n // Make sure the request was successful\n if (resultCode == RESULT_OK) {\n String name = data.getStringExtra(\"name\");\n DB.insertPatient(name, myDevice.getName());\n setListView();\n\n }\n }\n }", "title": "" }, { "docid": "3c4851c2c9a18e2241d5ab6627f29cf5", "score": "0.5784328", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(getApplicationContext(), InsertData.class);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "e9b7db305feb83465add8b23ccc3aaf9", "score": "0.5774314", "text": "public void patientCheckIn(View view) {\n\t\tstartActivity(PatientCheckIn.makeIntent(MainMenu.this, PATIENT_CHECKIN));\n\t}", "title": "" }, { "docid": "f53b04b7b4324be13453e38208467a86", "score": "0.577036", "text": "@Override\n public void onClick(View v) {\n if (existingCaretaker != null) {\n switch (caretakerRecordType) {\n case \"S\":\n case \"US\":\n caretakerRecordType = \"US\";\n mode = \"US\";\n break;\n case \"D\":\n case \"UD\":\n caretakerRecordType = \"UD\";\n mode = \"UD\";\n break;\n }\n }\n\n switch (animalRecordType){\n case \"S\":case \"US\":\n animalRecordType = \"US\";\n mode = \"US\";\n break;\n case\"D\":case\"UD\":\n animalRecordType = \"UD\";\n mode = \"UD\";\n break;\n }\n\n setTitle(\"ANIMAL RECORD\");\n refreshLayout();\n }", "title": "" }, { "docid": "5dcba95be46a1e82ebbdcd15677aff66", "score": "0.57501096", "text": "public void AddData(){\n EnterButton.setOnClickListener(new View.OnClickListener(){\n public void onClick(View v) {\n boolean isInserted = myDB.insertData(studyText.getText().toString());\n\n if (isInserted)\n Toast.makeText(AddActivity.this, \"Added\",Toast.LENGTH_LONG).show();\n else\n Toast.makeText(AddActivity.this,\"ERROR, not added\", Toast.LENGTH_LONG).show();\n }\n });//end of onclick listener\n }", "title": "" }, { "docid": "0a458f60b85e29d5caa5820e1576993f", "score": "0.573762", "text": "public static void handleAddPatient(ActionEvent event) throws IOException {\n\t\tif (Main.cred == 3) {\n\t\t\tJOptionPane.showMessageDialog(null, \"You do not have access to this feature\");\n\t\t} else {\n\t\t\tFXMLLoader fxmlLoader = new FXMLLoader(Main.class.getResource(\"PatientSingleViewAddWindow.fxml\"));\n\t\t\tParent root1 = (Parent) fxmlLoader.load();\n\t\t\tStage stage = new Stage();\n\t\t\tstage.setScene(new Scene(root1));\n\t\t\t// Set TitleBar Title\n\t\t\tstage.setTitle(\"New Patient\");\n\t\t\t// Set Titlebar icon\n\t\t\tstage.getIcons().add(new Image(\"file:Millennium-SmallLogo.png\"));\n\t\t\tstage.show();\n\n\t\t}\n\t}", "title": "" }, { "docid": "594b27d6ee0f2fd4bd2588720e488922", "score": "0.5730541", "text": "public void setSelectedPatient(){\n \n }", "title": "" }, { "docid": "8abf14ce58085462238bb2978fa8085b", "score": "0.57114065", "text": "@Override\r\n public void onClick(View view) {\r\n //Using an intent to send the entered information to the calendar app with the user\r\n Intent intent = new Intent(Intent.ACTION_INSERT)\r\n .setData(CalendarContract.Events.CONTENT_URI)\r\n .putExtra(CalendarContract.Events.TITLE, titleEditText.getText().toString())\r\n .putExtra(CalendarContract.Events.DESCRIPTION, detailsEditText.getText().toString())\r\n .putExtra(CalendarContract.Events.EVENT_LOCATION, locationEditText.getText().toString())\r\n .putExtra(CalendarContract.Events.AVAILABILITY, CalendarContract.Events.AVAILABILITY_BUSY);\r\n startActivity(intent);\r\n }", "title": "" }, { "docid": "2dca6361e55206e91f13d9b280ef7ab9", "score": "0.5694218", "text": "public void enterPersonalDetails()\n {\n sleep(5000);\n //click on Male button\n clickOnElement(_radioButton);\n //type first name\n enterText(_name,loadProperty.getProperty(\"name\"));\n //type last name\n enterText(_surname,loadProperty.getProperty(\"surname\"));\n //select date of birth\n selectFromDropdownByValue(_birthDate,loadProperty.getProperty(\"birthDate\"));\n //select month of birth\n selectFromDropdownByVisibleText(_birthMonth,loadProperty.getProperty(\"birthMonth\"));\n //select year of birth\n selectFromDropdownByValue(_birthYear,loadProperty.getProperty(\"birthYear\"));\n //type email address\n enterText(_emailAddress,loadProperty.getProperty(\"emailAddress\")+dateStamp()+\"@yahoo.com\");\n //type company name\n enterText(_companyName,loadProperty.getProperty(\"companyName\"));\n //type password\n enterText(_password1,loadProperty.getProperty(\"password1\"));\n //type confirm password\n enterText(_confirmPassword1,loadProperty.getProperty(\"confirmPassword1\"));\n //click on register button\n clickOnElement(_clickOnRegister);\n }", "title": "" }, { "docid": "0c6c6c65e5df3364abaa49af10690907", "score": "0.56898", "text": "public void setUpEnterKeyAction()\n\t{\n\t\ttfStudentID.setOnKeyPressed(new EventHandler<KeyEvent>() // Listen for the user to press a key\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void handle (KeyEvent keyEvent) // When the user presses a key\n\t\t\t{\n\t\t\t\tif (keyEvent.getCode() == KeyCode.ENTER) // If the key is Enter\n\t\t\t\t{\n\t\t\t\t\tsaveEntry(); // Attempt to save the student\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\ttfStudentName.setOnKeyPressed(new EventHandler<KeyEvent>() // Listen for the user to press a key\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void handle (KeyEvent keyEvent) // When the user presses a key\n\t\t\t{\n\t\t\t\tif (keyEvent.getCode() == KeyCode.ENTER) // If the key is Enter\n\t\t\t\t{\n\t\t\t\t\tsaveEntry(); // Attempt to save the student\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\ttfStudentCity.setOnKeyPressed(new EventHandler<KeyEvent>() // Listen for the user to press a key\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void handle (KeyEvent keyEvent) // When the user presses a key\n\t\t\t{\n\t\t\t\tif (keyEvent.getCode() == KeyCode.ENTER) // If the key is Enter\n\t\t\t\t{\n\t\t\t\t\tsaveEntry(); // Attempt to save the student\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tcbStudentState.setOnKeyPressed(new EventHandler<KeyEvent>() // Listen for the user to press a key\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void handle (KeyEvent keyEvent) // When the user presses a key\n\t\t\t{\n\t\t\t\tif (keyEvent.getCode() == KeyCode.ENTER) // If the key is Enter\n\t\t\t\t{\n\t\t\t\t\tsaveEntry(); // Attempt to save the student\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tcbStudentClass.setOnKeyPressed(new EventHandler<KeyEvent>() // Listen for the user to press a key\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void handle (KeyEvent keyEvent) // When the user presses a key\n\t\t\t{\n\t\t\t\tif (keyEvent.getCode() == KeyCode.ENTER) // If the key is Enter\n\t\t\t\t{\n\t\t\t\t\tsaveEntry(); // Attempt to save the student\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\ttaOutput.setOnKeyPressed(new EventHandler<KeyEvent>() // Listen for the user to press a key\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void handle (KeyEvent keyEvent) // When the user presses a key\n\t\t\t{\n\t\t\t\tif (keyEvent.getCode() == KeyCode.UP) // If the key is Enter\n\t\t\t\t{\n\t\t\t\t\tleft(); // Attempt to save the student\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\ttaOutput.setOnKeyPressed(new EventHandler<KeyEvent>() // Listen for the user to press a key\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void handle (KeyEvent keyEvent) // When the user presses a key\n\t\t\t{\n\t\t\t\tif (keyEvent.getCode() == KeyCode.DOWN) // If the key is Enter\n\t\t\t\t{\n\t\t\t\t\tleft(); // Attempt to save the student\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "ef8104ff61fcfd5413e33c8a5f51e523", "score": "0.5683572", "text": "@Override\n\tpublic void onClick(View v) {\n\t\t\n\t\tmDietName = dietNameEditText.getText().toString();\n\n\t\tmDietDate = dateEditText.getText().toString();\n\n\t\tmDietTime = timeEditText.getText().toString();\n\n\t\tmDietMenuDescription = menuDescriptionEditText.getText().toString();\n\n\t\t\n\t\tDietModel dietModelObject = new DietModel(mDietName, mDietDate,\n\t\t\t\tmDietTime, mDay, mDietMenuDescription);\n\t\tdietModelObject.setmProfileId(profileId);\n\n\t\tdietTableObject = new DietTableDataSource(thiscontext);\n\t\t\n\t\t\n\t\t\n\n\t\tlong numberOfRowAdded = dietTableObject.createDiet(dietModelObject);\n\t\t\n\t\t\n\t\t\n\t\tIntent intent = getActivity().getIntent();\n\t\t intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK\n\t\t | Intent.FLAG_ACTIVITY_NO_ANIMATION);\n\t\t getActivity().overridePendingTransition(0, 0);\n\t\t getActivity().finish();\n\t\t \n\t\t getActivity().overridePendingTransition(0, 0);\n\t\t startActivity(intent); \n\n\t\t/*Toast.makeText(getActivity(), String.valueOf(numberOfRowAdded),\n\t\t\t\tToast.LENGTH_SHORT).show();\n\t\tToast.makeText(this.getActivity(), \n\t \"Button is clicked!\", Toast.LENGTH_LONG).show(); */\n\t}", "title": "" }, { "docid": "ab191811a448464a8c21a3e9f66bb5b9", "score": "0.56784505", "text": "@Override\r\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tIntent intent=new Intent(LookAllPeopleNumberActivity.this,PersonalDataActivity.class);\r\n\t\t\t\t intent.putExtra(\"PersonalData\",pd);\r\n\t\t\t\t startActivity(intent);\r\n\t\t\t\t}", "title": "" }, { "docid": "969b4d05bc88a26f74c8308276eb3f24", "score": "0.5670672", "text": "@FXML\n public void onEnter(KeyEvent event) {\n try {\n if (event.getCode().equals(KeyCode.ENTER)) {\n\n start = LocalDate.parse(startDate.getText());\n end = LocalDate.parse(endDate.getText());\n if (start.isBefore(end)) {\n EmployeeViewRangeSuccessController.setDates(start, end);\n application.getSceneController()\n .activate(\"employeeViewRangeSuccess\");\n } else {\n viewAuctionsErrorText.setText(INVALID_ENTRY_PROMPT);\n }\n }\n } catch (Exception ex) {\n viewAuctionsErrorText.setText(INVALID_ENTRY_PROMPT);\n }\n }", "title": "" }, { "docid": "bd0dc68f1a2cb0efcc0be4a1918b874a", "score": "0.5651097", "text": "@Override\n public void onClick(View arg0) {\n Toast.makeText(getActivity(),\n \"Please enter date and time for a new time entry.\",\n Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "90e8dabf905b9a91fc934f2bb0a8aa7e", "score": "0.56449187", "text": "public void onStartDataButtonClick(View view) {\n\t\tshowStartDatePicker();\n\t}", "title": "" }, { "docid": "c7c8ddfe61089d750549eecf0fe3ae72", "score": "0.55816895", "text": "@Override\n public void EnterPinMsg(DataStore d) {\n System.out.println(\"Please Press (7) and Enter your Pin for Authentication\");\n\n }", "title": "" }, { "docid": "6a1d52529221ead03ae1e15bc12ab933", "score": "0.55803263", "text": "public void goPatients() {\n setDisplayPane(systemViewsArray[1]);\n }", "title": "" }, { "docid": "9c55b21cde70c4f6a7647043639757ce", "score": "0.5569515", "text": "public void goDataEntry(View view){\n\n setResult(RESULT_OK);\n finish();\n\n }", "title": "" }, { "docid": "278233c18f9f92f6062b12f3c97752c1", "score": "0.5569313", "text": "@FXML\n private void handleReportSubmitPressed() throws IOException {\n if (isInputValid()) {\n setReportValues();\n ReportDatabase.getInstance().add(r);\n ReportDatabase.getInstance().setSourceUpdated(true);\n ReportDatabase.getInstance().saveSource();\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\n //alert.setTitle(\"Invalid Fields\");\n alert.setHeaderText(\"Thank you for submitting a report.\");\n //alert.setContentText(\"Thank you for submitting a report.\");\n alert.showAndWait();\n\n FXMLLoader loader = new FXMLLoader(getClass().getResource(\"../view/AppStartScreen.fxml\"));\n Stage stage = (Stage) submitSourceButton.getScene().getWindow();\n Parent root = loader.load();\n loader.<AppStartController>getController().setUser(user);\n stage.setScene(new Scene(root));\n stage.show();\n }\n }", "title": "" }, { "docid": "1eeb842ef79e670b5f290209ead78145", "score": "0.555992", "text": "public void actionPerformed( ActionEvent event )\r\n\t\t\t\t {\r\n\t\t\t\t\t sendData( event.getActionCommand() );\r\n\t\t\t\t\t enterField.setText( \"\" );\r\n\t\t\t\t }", "title": "" }, { "docid": "0f14123620ab53ec1ba2841e0441c853", "score": "0.5554936", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tMedicalRecordDialog mrd = new MedicalRecordDialog(patient, PatientFrame.this);\n\t\t\t\tmrd.setVisible(true);\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "ed72fe47aceeea080c7f274fdfd560ad", "score": "0.55484617", "text": "public void addPatient(){\r\n String pName = patName.getText();\r\n String insName = ins.getText();\r\n String address = addr.getText();\r\n String cCity = city.getText();\r\n String sState = state.getText();\r\n String postal = p_code.getText();\r\n String pPhone = phone.getText();\r\n \r\n \r\n DBQuery pDao = new DBQuery();\r\n pDao.insertPatients(pName, insName, address, cCity, sState, postal, pPhone);\r\n \r\n }", "title": "" }, { "docid": "a079d038a28ae36bc925690382f5b2b5", "score": "0.55435693", "text": "public void enterPressed();", "title": "" }, { "docid": "53737c057acd585945ca8ecef7b69a4c", "score": "0.5541613", "text": "@Override\r\n public void onClick(View view) {\n showPatientProfile();\r\n }", "title": "" }, { "docid": "ee427ad89a524d116abb26862f13c685", "score": "0.5540053", "text": "public void goImportPatients() {\n setDisplayPane(systemViewsArray[11]);\n }", "title": "" }, { "docid": "343060dd4a83d7da904f07ee2f752924", "score": "0.55366117", "text": "@Override\r\n public void enter(ViewChangeEvent event) {\n user.focus();\r\n }", "title": "" }, { "docid": "3a5c49b06f36166b3d933552b01fb82c", "score": "0.5531763", "text": "void clickedRegisterButton();", "title": "" }, { "docid": "9cc001c836359fe0d37e3c67af165002", "score": "0.5513791", "text": "private static void signin() {\n String date = LocalDate.now().format(DateTimeFormatter.ofPattern(\"dd-MM-yyyy\"));\n boolean choice = true;\n\n System.out.println(\"Enter your ID\");\n String id = Utility.getFreeText();\n String valid = cl.validateID(id);\n while (valid.equals(\"Invalid\")) {\n id = Utility.getFreeText();\n valid = cl.validateID(id);\n }\n switch (valid) {\n case \"Doctor\":\n System.out.println(\"Welcome doctor\");\n cl.getAppointment(id, date, \"Doctor\");\n do {\n System.out.println(\"1.Your appointment on any other date\\n2.Exit\");\n switch (Utility.getInt()) {\n case 1:\n System.out.println(\"Enter the date(dd-mm-yyyy eg. 31-01-2019)\");\n date = Utility.getString(\"date\");\n cl.getAppointment(id, date, \"Doctor\");\n break;\n case 2:\n choice = false;\n break;\n default:\n System.out.println(\"Invalid input\");\n }\n } while (choice);\n\n break;\n case \"Patient\":\n System.out.println(\"Welcome to our clinic\");\n cl.getAppointment(id, date, \"Patient\");\n do {\n System.out.println(\"1.Create new appointment\\n2.Search appointment on any other date\\n3.Exit\");\n\n switch (Utility.getInt()) {\n case 1:\n System.out.println(\"Enter ID or Name or Speciality\");\n List<String> idlist = cl.searchDoctor(Utility.getFreeText());\n if (idlist != null) {\n System.out.println(\"Enter the doctor ID to book appointment.\");\n String did = Utility.getFreeText();\n while (!idlist.contains(did)) {\n System.out.println(\"Enter correct id\");\n did = Utility.getFreeText();\n }\n System.out.println(\"Enter the date(dd-mm-yyyy. eg. 30-01-2019)\");\n LocalDate date1 = Utility.curnfutDate(Utility.getString(\"date\"));\n cl.createAppointment(id, did, date1);\n } else {\n System.out.println(\"No data found\");\n }\n break;\n case 2:\n System.out.println(\"Enter the date(dd-mm-yyyy eg. 31-01-2019)\");\n date = Utility.getString(\"date\");\n cl.getAppointment(id, date, \"Patient\");\n break;\n case 3:\n choice = false;\n break;\n default:\n System.out.println(\"Invalid input\");\n }\n } while (choice);\n break;\n }\n }", "title": "" }, { "docid": "4464a65f937173567355eb74cff6768b", "score": "0.5511475", "text": "public void enter() {\n UI.printMenuTitle( \"Create Party\" );\n UI.printDiv2();\n\n boolean validCharInfo = false;\n int wrongCount = 0;\n\n do {\n\n validCharInfo = createParty();\n\n if (!validCharInfo) {\n UI.printOutput(\"An error has occured while saving to the database.\");\n UI.printOutput(\"Please try again...\\n\");\n }\n\n wrongCount++;\n\n } while (!validCharInfo && wrongCount <= 3);\n\n if (validCharInfo) {\n UI.printOutput(\"Party has been created!\");\n }\n else {\n UI.printOutput(\"Too many attempts... Returning...\");\n }\n }", "title": "" }, { "docid": "21f82c6c3a8fc1d07f6b6b456fed6bc8", "score": "0.55099857", "text": "@Override\r\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\r\n\t\t\tsetAppointment();\r\n\t\t}", "title": "" }, { "docid": "7c82e362ccb43f0163863a2725020c64", "score": "0.55070335", "text": "void handleEnterKeyPressForInputCases() {\n inputCases.addKeyListener(new KeyAdapter() {\n @Override\n public void keyPressed(KeyEvent e) {\n if (e.getKeyCode() == KeyEvent.VK_ENTER) {\n addCases();\n //inputCases.setText(\"\");\n }\n }\n\n });\n }", "title": "" }, { "docid": "066b1df6a35e2e98f636fd74c03523a5", "score": "0.55040866", "text": "@Override\n public void onDataEntered(Pinview pinview, boolean fromUser) {\n }", "title": "" }, { "docid": "1a4dad245c3710b08401e76402d393a7", "score": "0.5496734", "text": "@Override\n public void onClick(View v) {\n if(!edInputActivity.getText().toString().trim().equals(\"\") &&\n edInputActivity.getText() != null){\n model.setHours(npHour.getValue());\n model.setMinutes(npMin.getValue() * 5);\n String activity = edInputActivity.getText().toString();\n model.setTitle(activity);\n addingNewChip(model,-1);\n alertDialog.dismiss();\n }else{\n edInputActivity.setError(\"Please Enter Title for Activity\");\n }\n\n\n }", "title": "" }, { "docid": "84bf9dc300e1e955f8d6e467f433bbd1", "score": "0.54942006", "text": "public void insertButtonAction() \r\n {\r\n gui.disableNext();\r\n gui.disablePrevious();\r\n String s1 = gui.getLastNameTextField();\r\n String s2 = gui.getFirstNameTextField();\r\n String s3 = gui.getEmailTextField();\r\n String s4 = gui.getPhoneNumberTextField();\r\n model.insertNewEntry( s1, s2, s3, s4 );\r\n }", "title": "" }, { "docid": "c5e65852bbbfdcae7db6750b9aeaaed2", "score": "0.54899555", "text": "@FXML\n public void enterInfo() {\n\n //input the slider input on click\n dataMap.InsertInput((int)mentalSlider.getValue(), (int)physicalSlider.getValue(), (int)happySlider.getValue(), commentBox.getText());\n\n // serialize the dailyInput hashmap to json string\n input_json = gson.toJson(dataMap.dailyInput);\n\n //serialize the dailyComment hashmap to json string\n comment_json = gson.toJson(dataMap.dailyComment);\n\n //Write JSON file for slider input\n try (FileWriter file = new FileWriter(\"data/healthNumData.json\")) {\n file.write(input_json);\n file.flush();\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n //Write JSON file for comment input\n try (FileWriter file = new FileWriter(\"data/commentData.json\")) {\n file.write(comment_json);\n file.flush();\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n //Remove previous instance (DataEntry) of today's date from tableData\n tableData.removeIf(o -> (o.getDate().equals(dataMap.date.getDateString())));\n\n //Add today's date and data entry into tableData as a DataEntry instance\n tableData.add(new DataEntry(dataMap.date.getDateString(), commentBox.getText(), (int)mentalSlider.getValue(), (int)physicalSlider.getValue(), (int)happySlider.getValue()));\n\n //refresh tableView\n dataTable.refresh();\n dataTable.sort();\n }", "title": "" }, { "docid": "1704b0c5e6217d2b4bb23f00667fe99b", "score": "0.54855084", "text": "@Override\n public void onClick(View v) {\n String isno = textid.getText().toString();\n String iname = editname.getText().toString();\n String isigner = editsigner.getText().toString();\n String iborrow = editborrow.getText().toString();\n String ireturn = editreturn.getText().toString();\n\n\n insertAudit(isno, iname, isigner, iborrow, ireturn);\n }", "title": "" }, { "docid": "a3365f9ebad73c7eafe0311f6afc6827", "score": "0.5476719", "text": "public void onClick(View arg0) {\n\t\t\t\tString nameET = ((EditText) findViewById(R.id.subject)).getText().toString();\n\t\t\t\tString locationET = ((EditText) findViewById(R.id.location)).getText().toString();\n\t\t\t\tString timebeginET = ((EditText) findViewById(R.id.fromTime)).getText().toString();\n\t\t\t\tString timeendET = ((EditText) findViewById(R.id.toTime)).getText().toString();\n\t\t\t\tDBAdapter dbAdapter = new DBAdapter(getApplicationContext());\n\t\t\t\tdbAdapter.open();\n\t\t\t\tdbAdapter.createRecord(nameET, locationET, timebeginET, timeendET);\n\t\t\t\tdbAdapter.close();\n\t\t\t}", "title": "" }, { "docid": "ed78715a17946a81c711fcd4b066f032", "score": "0.5463188", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tSystem.out.println(\"Enter\");\n\n\t\t\t}", "title": "" }, { "docid": "f0b9b190712a4a6c94ec1dcbad867f2e", "score": "0.5462051", "text": "private void onEnterPressed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_onEnterPressed\n this.myGuiHandler.addNewUser(this.nicknameInput.getText());\n this.myGuiHandler.hideAddNewUserPanel();\n }", "title": "" }, { "docid": "33fe33de5ccdcdf3676518ef55502da2", "score": "0.5461492", "text": "private void handleInsertPatient()\r\n\t{\n\t\ttry\r\n\t\t{\r\n\t\t\t// this.patientService.insert(this.getModel().getPatientSummaryVO());\r\n\t\t\tString emailContents = \"New patient upload:\\n\" + this.getModel().getPatientSummaryVO().toString()\r\n\t\t\t\t\t+ \"\\nUser: \" + this.getApplicationController().getLogin().getUserName() + \"\\n\";\r\n\t\t\tString adminEmail = this.molgenisUserService.findAdminEmail();\r\n\t\t\t// assuming: 'encoded' p.w. (setting deObf = true)\r\n\t\t\tthis.getEmailService().email(\"New patient upload for deb-central\", emailContents, adminEmail, true);\r\n\t\t\tthis.getModel().getMessages().add(new ScreenMessage(\"Patient successfully inserted\", true));\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthis.getModel().getMessages().add(new ScreenMessage(e.getMessage(), false));\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "69130848f8ab13613dfa09e0cb6d758d", "score": "0.545312", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tPatientDialog p = new PatientDialog(patient, PatientFrame.this);\n\t\t\t\tp.setVisible(true);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "9f5f96319cb2577efeaff1724952e7bc", "score": "0.54525167", "text": "@FXML\r\n public void buttonPressed2(KeyEvent e) {\r\n if (e.getCode().toString().equals(\"ENTER\")) {\r\n ActionEvent event = null;\r\n acessarTelaCadastro(event);\r\n \r\n }\r\n }", "title": "" }, { "docid": "37dc52793c86ce4c999b5b1c9ff61316", "score": "0.5451185", "text": "public void findPatient(View view) {\r\n\t\t\r\n\t\t// Gets input data from EditText view\r\n\t\tEditText hcnText = (EditText) findViewById(R.id.findHealthCardText);\r\n\t\tTextView message = (TextView) findViewById(R.id.findMessage);\r\n\t\t\r\n\t\t// Passes current database to the PatientFeaturesActivity.\r\n\t\tIntent intent = new Intent(this, PatientFeaturesActivity.class);\r\n\t\t\r\n\t\ttry {\r\n\t\t\tthis.patient = user.lookUpPatient(hcnText.getText().toString());\r\n\t\t\tintent.putExtra(\"patientKey\", this.patient);\r\n\t\t\tintent.putExtra(\"nurseKey\", this.user);\r\n\t\t\tmessage.setText(\"\");\r\n\t\t\tstartActivityForResult(intent,1);\r\n\t\t\t\r\n\t\t} catch (PatientNotFoundException e) {\r\n\t\t\t\r\n\t\t\tmessage.setText(\"Patient could not be Found\");\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "76444f6293a83533261bed82f7304fe1", "score": "0.54472506", "text": "@FXML\r\n public void addPatientButton(){\r\n //if any field is left empty while adding, show error\r\n if(addDoctorIDtf.getText().equals(\"\") || addPatientNametf.getText().equals(\"\") || addPatientAgetf.getText().equals(\"\")\r\n || addPatientWeighttf.getText().equals(\"\") || addGendertf.getText().equals(\"\") || addTreatmentIDtf.getText().equals(\"\")\r\n || addDoctorIDtf.getText().equals(\"\") || addRoomIDtf.getText().equals(\"\") || addPatientPhonetf.getText().equals(\"\")\r\n || addStayLengthtf.getText().equals(\"\")){\r\n\r\n Notifications.create().title(\"Error Adding Patient\")\r\n .text(\"Fields Cannot be left empty, please make sure all fields have valid information\")\r\n .showError();\r\n }\r\n //else if Patient ID already exists show error\r\n else if (checkDuplicate(addPatientIDtf.getText())) {\r\n Notifications.create().title(\"Duplicate Patient ID Error\")\r\n .text(\"A Patient already exits with this ID, please enter an ID that does not already exist!\")\r\n .showError();\r\n }\r\n //else insert info to table and database\r\n else{\r\n\r\n String patientID = addPatientIDtf.getText();\r\n String patientName = addPatientNametf.getText();\r\n String patientAge = addPatientAgetf.getText();\r\n String patientWeight = addPatientWeighttf.getText();\r\n String doctorID = addDoctorIDtf.getText();\r\n String treatmentID = addTreatmentIDtf.getText();\r\n String roomID = addRoomIDtf.getText();\r\n String stayLength = addStayLengthtf.getText();\r\n String patientPhone = addPatientPhonetf.getText();\r\n String gender = addGendertf.getText();\r\n\r\n patient pat = new patient();\r\n\r\n pat.setIdProperty(patientID);\r\n pat.setNameProperty(patientName);\r\n pat.setAgeProperty(patientAge);\r\n pat.setWeightProperty(patientWeight);\r\n pat.setPhoneProperty(patientPhone);\r\n pat.setGenderProperty(gender);\r\n pat.setStayLengthProperty(stayLength);\r\n pat.setDoctorIDProperty(doctorID);\r\n pat.setRoomIDProperty(roomID);\r\n pat.setTreatmentIDProperty(treatmentID);\r\n\r\n patientData.add(pat);\r\n\r\n String addButton = \"insert into patient(patientID, patientName, patientAge, patientWeight, gender, patientPhone, treatmentID, doctorID,roomID ,stayLength )\"\r\n +\"values (?,?,?,?,?,?,?,?,?,?)\";\r\n try {\r\n ps = mysql.prepareStatement(addButton);\r\n ps.setString(1,patientID);\r\n ps.setString(2,patientName);\r\n ps.setString(3,patientAge);\r\n ps.setString(4,patientWeight);\r\n ps.setString(5,gender);\r\n ps.setString(6,patientPhone);\r\n ps.setString(7,treatmentID);\r\n ps.setString(8,doctorID);\r\n ps.setString(9,roomID);\r\n ps.setString(10,stayLength);\r\n\r\n ps.executeUpdate();\r\n ps.close();\r\n ps = null; //might have to change this or take it away\r\n }\r\n catch (SQLException e) {\r\n //e.printStackTrace();\r\n\r\n }\r\n addPatientIDtf.clear();\r\n addPatientNametf.clear();\r\n addPatientAgetf.clear();\r\n addGendertf.clear();\r\n addPatientPhonetf.clear();\r\n addPatientWeighttf.clear();\r\n addStayLengthtf.clear();\r\n addDoctorIDtf.clear();\r\n addRoomIDtf.clear();\r\n addTreatmentIDtf.clear();\r\n\r\n }\r\n\r\n }", "title": "" }, { "docid": "99e8bd311a92658d95c790cf8cef6adf", "score": "0.5442444", "text": "@FXML\n public void askEnterPressed(KeyEvent keyEvent) {\n // If the enter key was pressed\n if(keyEvent.getCode().equals(KeyCode.ENTER)) {\n // Call the private method\n getAnAswer();\n\n // Restart the flag\n firstKey = true;\n }\n // If not, if the user is writting and this is the first key\n else if(firstKey){\n // Set the flag as false\n firstKey = false;\n\n // Remove the red border\n askTextField.getStyleClass().remove(\"error\");\n\n // And clear the ask and answer\n askTextField.setText(\"\");\n answerLabel.setText(\"\");\n }\n }", "title": "" }, { "docid": "904c7ab5dc074dd48ae942e56ceb2562", "score": "0.54414535", "text": "void handleEnterKeyPressForInputDays() {\n inputDays.addKeyListener(new KeyAdapter() {\n @Override\n public void keyPressed(KeyEvent e) {\n if (e.getKeyCode() == KeyEvent.VK_ENTER) {\n addDays();\n //inputDays.setText(\"\");\n }\n }\n\n });\n }", "title": "" }, { "docid": "38a6cd8383a3251caccd51efc4e24af9", "score": "0.5439532", "text": "public void inHouseRadioClick(MouseEvent event) {\r\n partMachineID.setText(\"Machine ID\");\r\n machineIDField.setPromptText(\"Machine ID\");\r\n }", "title": "" }, { "docid": "9d5e2bee0fe08ebf0ea6fec89ba5720f", "score": "0.54386103", "text": "public void switchToAddAirport(ActionEvent e) {\n resetView();\n addAirportViewController.makeVisible();\n switchToDataTab();\n }", "title": "" }, { "docid": "309602954b0611f0c9d35c656a1ee480", "score": "0.54365087", "text": "public void editButtonPushed(ActionEvent event) {\n\n\t\tSceneChanger sc = new SceneChanger();\n\t\tInteger idPatient = this.patientTable.getSelectionModel().getSelectedItem().getId();\n\t\tPacient pacient = this.patientTable.getSelectionModel().getSelectedItem(); // return\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// selected\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// patient\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// in\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// table\n\t\tTreatmentPatientViewController tpc = new TreatmentPatientViewController();\n\t\tsc.changeSceneFromlistAllPatientsViewTotreatmentPatientView(event, \"treatmentPatientView.fxml\", pacient,idPatient, tpc);\n\t}", "title": "" }, { "docid": "cc86cfb6ef8ddf8c216d394983427178", "score": "0.543244", "text": "public void onClick(View v) {\n\t\t\t\t\t\tContacts p = new Contacts();\n\t\t\t\t\t\tp.setAddr(addr.getText().toString());\n\t\t\t\t\t\tp.setSpec(spec.getText().toString());\n\t\t\t\t\t\tp.setFname(fn.getText().toString());\n\t\t\t\t\t\tp.setLname(ln.getText().toString());\n\t\t\t\t\t\tp.setNum(Integer.parseInt(numbr.getText().toString()));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\tinsertNewPatient(p);\n\t\t\t\t\t\tLog.d(\"VALUES\", p.toString());\n\t\t\t\t\t\tloadList(0);\n\t\t\t\t\t\td.cancel();\n\n\t\t\t\t\t}", "title": "" }, { "docid": "7f9d186bcdba94762d95d40c6879f107", "score": "0.5430688", "text": "public void onClick(View arg0) {\n Intent nextScreen = new Intent(getApplicationContext(), AddCool.class);\n\n //Sending data to another Activity\n //nextScreen.putExtra(\"name\", inputName.getText().toString());\n //nextScreen.putExtra(\"email\", inputEmail.getText().toString());\n\n //Log.e(\"n\", inputName.getText() + \".\" + inputEmail.getText());\n\n startActivity(nextScreen);\n\n }", "title": "" }, { "docid": "e90ec5a3ea2351711e4bf3e415d31417", "score": "0.54281086", "text": "@FXML\n public void handleAendern() throws SQLException, IOException {\n \tPerson selectedPerson = personTable.getSelectionModel().getSelectedItem();\n if (selectedPerson != null) {\n boolean okClicked = mainApp.showPersonAnpassDialog(selectedPerson);\n if (okClicked) {\n \tPersonDB.aenderePerson(selectedPerson);\n showPersonDetails(selectedPerson);\n }\n\n } else {\n // Nothing selected.\n \tkeinePersonSelektiert();\n }\n }", "title": "" }, { "docid": "649dcc05b4ecbd9372a01204a2abc99c", "score": "0.54258233", "text": "public void onEditDataPage()\n {\n view.editData();\n }", "title": "" }, { "docid": "1e066fa38622c07e8b22a33154ccee7a", "score": "0.5419936", "text": "@FXML\r\n public void buttonPressed3(KeyEvent e) {\r\n if (e.getCode().toString().equals(\"ENTER\")) {\r\n ActionEvent event = null;\r\n recuperarSenha(event);\r\n }\r\n }", "title": "" }, { "docid": "6a70ba745a19546d62901cdafd88ea06", "score": "0.5415024", "text": "public void buttonPress(){\n if(aCommand instanceof AddFoodCommand){\n AddFoodCommand afc = (AddFoodCommand) aCommand;\n afc.setBasic(name, calories, fats, carbs, protein);\n }\n else if(aCommand instanceof AddExerciseCommand){\n AddExerciseCommand aec = (AddExerciseCommand) aCommand;\n aec.setExercise(name, calories);\n }\n else if(aCommand instanceof SearchCommand){\n SearchCommand sc = (SearchCommand) aCommand;\n sc.setDate(date);\n }\n aCommand.execute();\n }", "title": "" }, { "docid": "677af17a106604ac93318a83c8c24200", "score": "0.54111546", "text": "@Override\n public void onClick(View v) {\n String data = textViewRemarks.getText().toString();\n // Call function\n createCustomDialog(\"Event Remarks\", \"Enter remarks.\", data, textViewRemarks);\n }", "title": "" }, { "docid": "a3f080236eb974220703d983e3c24fec", "score": "0.5408895", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\n\t\t\t\tenterClicked();\n\t\t\t\n\t\t\t}", "title": "" }, { "docid": "6d28fe53eefe5bdaa26c79ffcbc5995b", "score": "0.5396197", "text": "public void switchToAddAirline(ActionEvent e) {\n resetView();\n addAirlineViewController.makeVisible();\n switchToDataTab();\n }", "title": "" }, { "docid": "32e60a6c525129e70b36f38fec4eebc8", "score": "0.539523", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(LoginActivity.this, PatientActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "ca169d20fc1a24e27e6ebc5ba9cd6549", "score": "0.53712076", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n int age;\n try\n {\n age = Integer.parseInt(txtAge.getText());\n Auth.createPatientRequest(txtUsername.getText(), txtPassword.getText(), txtName.getText(), txtAddress.getText(), txtGender.getText(), age);\n JSONWriter.writeUsers();\n oldForm.setVisible(true);\n frame.dispose();\n }\n catch (Exception patientCreateException)\n {\n JOptionPane.showMessageDialog(null, \"You did not enter a valid age!\");\n }\n }", "title": "" }, { "docid": "d667b8ec4a5c2f1f9f5900c0fddd9d7b", "score": "0.5367233", "text": "public void enter()\r\n {\r\n //de momento va vacio\r\n }", "title": "" }, { "docid": "de9b440056e090640a294068bff1a276", "score": "0.53655845", "text": "public void inHouseButtonPressed(MouseEvent event) throws IOException\n {\n machineIdLabel.setText(\"Machine ID\");\n machineIdText.setPromptText(\"Machine ID\");\n }", "title": "" }, { "docid": "4a862013c412d251881cec879c8a6e09", "score": "0.5362835", "text": "@FXML\n\tpublic static void handleEditPatient(ActionEvent event) throws IOException {\n\t\tif (Main.cred == 3) {\n\t\t\tJOptionPane.showMessageDialog(null, \"You do not have access to this feature\");\n\t\t} else {\n\t\t\tParent patients_page_parent = FXMLLoader.load(Main.class.getResource(\"PatientSingleViewEditWindow.fxml\"));\n\n\t\t\tScene patients_page_scene = new Scene(patients_page_parent);\n\n\t\t\tStage secondarystage = (Stage) (((Node) event.getSource()).getScene().getWindow());\n\t\t\tsecondarystage.setScene(patients_page_scene);\n\t\t\tsecondarystage.show();\n\t\t}\n\t}", "title": "" }, { "docid": "298d0cebc18fd2c10dbec06de847bec0", "score": "0.53521484", "text": "public void goToInput(ActionEvent e){\n InputController.receiveDB(db);\n WindowSwitcher.goToPage(e, \"InputView\", 600, 400);\n }", "title": "" }, { "docid": "3b42f75338e9bb49918cc2dfdb2cd380", "score": "0.53456813", "text": "@Override\n\tpublic void onClick(View arg0) {\n\n\t\tgetData();\n\t\t\n\t}", "title": "" }, { "docid": "fbe9d08e36fa05661d8486e66840eb30", "score": "0.5342259", "text": "void tapOnSelectRoomButton();", "title": "" }, { "docid": "c93a6e5c04dd98e34b1f2d242baf6262", "score": "0.53382707", "text": "public void modifyAppointmentButtonPressed(ActionEvent actionEvent) throws IOException {\n selectedAppointment = appointmentCalendar.getSelectionModel().getSelectedItem();\n\n //saves the selected Appointment's index number for use in the ModifyAppointmentPage\n for (int i = 0; i < appointments.size(); i++) {\n if (appointments.get(i).equals(selectedAppointment)) {\n selectedAppointmentIndex = i;\n }\n }\n\n Parent root = FXMLLoader.load(getClass().getResource(\"../View/ModifyAppointmentPage.fxml\"));\n Scene MainPageScene = new Scene(root);\n\n Stage stage = (Stage) modifyAppointmentButton.getScene().getWindow();\n stage.setScene(MainPageScene);\n stage.show();\n }", "title": "" }, { "docid": "bd86c1f371c2d7eb75c429d856d5d53f", "score": "0.53373337", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\ttry{\n\t\t\t \topen();\n\t\t\t \n\t\t\t \tString date=HomeForServer.datess;//\"12\";\n\t\t\t \tString month=HomeForServer.monthss;//\"jan\";\n\t\t //\tString student_id=attendence.substring(0, 3);//\"100\";\n//\t\t\t \tattendence=attendence.substring(3, attendence.length());\n\t\t\t \tString manualA=\"Manually\";\n\n\t\t\t\t\tContentValues values=new ContentValues();\n\t\t\t\t\t\n\t\t\t\t\t//values.put(DataBaseHelper.ATTENDENCE, edtAttendence.getText().toString());\n\t\t\t\t\tvalues.put(DataBaseHelper.ATTENDENCE, String.valueOf(spinner.getSelectedItem()));\n\t\t\t\t\tvalues.put(DataBaseHelper.DATE, date);\n\t\t\t\t\tvalues.put(DataBaseHelper.MONTH, month);\n\t\t\t\t\tvalues.put(DataBaseHelper.STD_BRANCH, HomeForServer.branch);\n\t\t\t\t\tvalues.put(DataBaseHelper.STD_SEM, HomeForServer.semestar);\n\t\t\t\t\tvalues.put(DataBaseHelper.STD_SUBJECT, HomeForServer.subject);\n\t\t\t\t\tvalues.put(DataBaseHelper.STD_ID, edtStdId.getText().toString());\n\t\t\t\t\t\n\t\t\t\t\tvalues.put(DataBaseHelper.MOBILE_NAME, manualA);\n\t\t\t\t\t\n\t\t\t\t\tlong insertId=database.insert(DataBaseHelper.TABLE_ATTENDENCE, null, values);\n\t\t\t\t\t//System.out.println(\"Check\");\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"Data Saved\", Toast.LENGTH_LONG).show();\n\t\t\t\t\tclose();\n\t\t\t\t\tedtAttendence.setText(\"\");\n\t\t\t\t\tedtStdId.setText(\"\");\n\t\t\t \t}\n\t\t\t \tcatch (Exception e){\n\t\t\t \t\t\n\t\t\t \t\t\n\t\t\t \t}\n\t\t\t}", "title": "" }, { "docid": "ebdc554e6d5f72d0f169b78016f76af3", "score": "0.5335456", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif (e.getSource() == mkdrug)\r\n\t\t\tif (patient == null) {\r\n\t\t\t\tJOptionPane.showMessageDialog(panel, \"当前没有病人\");\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\ttry {\r\n\t\t\tnew Window_Prescribe();\r\n\t\t} catch (ClassNotFoundException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t} catch (InstantiationException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t} catch (IllegalAccessException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t} catch (UnsupportedLookAndFeelException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "19ec78e12025a87c7b6486d982ae9b4e", "score": "0.5332322", "text": "public void keyPressed(KeyEvent e) {\n\t\tif (e.getKeyChar() == KeyEvent.VK_ENTER) {\n\t\t\tString input = frame.getReminderText();\n\t\t\tMatcher remindMeTo = pRemindMeTo.matcher(input);\t\n\t\t\t\n\t\t\tif (remindMeTo.find()) {\n\t\t\t\tinput = input.replaceAll(\"[Rr]emind\\\\sme\\\\sto\\\\s\", \"\");\n\t\t\t\tDetails details = new Details(input);\n\t\t\t\tString info = details.remainderString();\n\t\t\t\twriter.writeLine(info);\n\t\t\t\tframe.addTodlmReminder(info);\n\t\t\t\t\n\t\t\t\tframe.setReminderText(null);\n\t\t\t}\t\n\t\t\t\n\t\t}\t\n\t\t\n\t}", "title": "" }, { "docid": "59f0900c7df569cdde1e3777b3057270", "score": "0.5325372", "text": "void enterDetail()\n {\n try {\n Supplier supplier = BackendFactory.getInstance().findSupplierByID(Long.parseLong(idSpinner.getSelectedItem().toString()));\n editTextOfName.setText(supplier.getName());\n editTextOfAddress.setText(supplier.getAddress());\n editTextOfPhoneNumber.setText(supplier.getPhoneNumber());\n editTextOfEmail.setText(supplier.getEmailAddress());\n editTextOfCustomerServiceNum.setText(supplier.getCustomerServicePhoneNumber());\n editTextOfReservationNum.setText(supplier.getReservationsPhoneNumber());\n switch (supplier.getGender())\n {\n case MALE:\n male.setChecked(true);\n break;\n case FEMALE:\n female.setChecked(true);\n break;\n }\n String typeString = supplier.getType().toString().toLowerCase(Locale.ENGLISH);\n supplierTypeSpinner.setSelection(((ArrayAdapter<String>) supplierTypeSpinner.getAdapter()).getPosition(typeString));\n }\n catch (Exception e) {\n //print the exception in a toast view\n Toast.makeText(UpdateSupplier.this, e.getMessage().toString(), Toast.LENGTH_LONG).show();\n }\n }", "title": "" }, { "docid": "486caf4c0f30d637db88698f7fac396a", "score": "0.53224796", "text": "public void btnContinueAction() {\n\t\t\n\t\t_status.setText(\"\");\n\t\t// Don't allow user enter the number greater than range\n\t\tif(_number >= _count || _number<1) {\n\t\t\t_status.setText(\"please enter the number with in the range\");\n\t\t}else {\n\t\t\t\t\n\t\tPane p = createContent();\n\t\t_root.setCenter(p);\n\t\t\n\t\t\n\t\ttfName2.setOnKeyPressed(new EventHandler<KeyEvent>() {\n\n\t\t\t@Override\n\t\t\tpublic void handle(KeyEvent event) {\n\t\t\t\tif (event.getCode() == KeyCode.ENTER) { \n\t\t\t\t\t\tbtnSubmitAction();\t\t\t\t\t\t\n\t\t \n\t\t }\t\n\t\t\t}\n\t\t\t\n\t\t});\n\n\t\t// exit to main menu, and refresh the new content\n\t\tbtnExit.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\t@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\tupdateListOfCreations();\n\t\t\t}\n\n\t\t});\n\t\t\n\t\t//start to create \n\t\tbtnSubmit.setOnAction(new EventHandler<ActionEvent>() {\n\n\t\t\t@Override\n\t\t\tpublic void handle(ActionEvent event) {\t\n btnSubmitAction(); \n\n\t\t\t}\n\n\t\t});\n\t\t\t\t\n\t\t}\n\n\t}", "title": "" }, { "docid": "e04b46698d8ecba8fc5a6c7f6031b112", "score": "0.5318774", "text": "@FXML // \n\tvoid frageSpeichernOnEnter(KeyEvent event) throws SQLException, IOException {\n\n\t\tif (event.getCode().equals(KeyCode.ENTER)) {\n\t\t\tspeichern();\n\t\t}\n\t}", "title": "" }, { "docid": "2fe6210db7e0c238bccfeae0a45e29f4", "score": "0.530965", "text": "@Override\n public void keyPressed(KeyEvent e) {\n if (e.getKeyCode() == KeyEvent.VK_ENTER) {\n // Calls the method to search/filter the student records in the table by the text field input\n searchStudentRecordTable();\n }\n }", "title": "" }, { "docid": "254a9f348fd790bebe567c941b254d68", "score": "0.5307163", "text": "public void setUpInterface(){\n sd = new SearchableDialog(PatientQuery.this, allPatients,\"Patient Search\");\n sd.setOnItemSelected(new OnSearchItemSelected(){\n public void onClick(int position, SearchListItem searchListItem){\n String newSmp = searchListItem.getTitle();\n String id = newSmp.split(\";\")[0];\n PatientInfo patient= patientList.get(0);\n\n for (PatientInfo patientInfo:patientList){\n if (patientInfo.id == id){\n patient = patientInfo;\n break;\n }\n }\n\n Intent intent = new Intent(PatientQuery.this, Orientation.class);\n intent.putExtra(\"patient\", patient);\n startActivity(intent);\n }\n });\n\n Button findPatient = findViewById(R.id.find_patient_button);\n CustomButton.changeButtonColor(this, findPatient, R.color.colorPrimaryDark,3, R.color.colorPrimaryDarkAccent);\n findPatient.setOnClickListener(new View.OnClickListener(){\n public void onClick(View view) {\n sd.show();\n }\n });\n\n }", "title": "" }, { "docid": "b2dda574ce9ba37248ca5817d886f513", "score": "0.530615", "text": "@FXML\r\n\tvoid enterPark(ActionEvent event) throws IOException {\r\n\t\tString toSend[] = { newOrder.getOrderID() + \"\", newOrder.getParkName() };\r\n\t\tMsg enterPark = new Msg(\"Enter park\", toSend);\r\n\t\tClientUI.chat.accept(enterPark);\r\n\t\tif (Client.order != null) {\r\n\t\t\t((Node) event.getSource()).getScene().getWindow().hide();\r\n\t\t\tFXMLLoader loader2 = new FXMLLoader();\r\n\t\t\tParent root2 = loader2.load(getClass().getResource(\"/gui/Entrance.fxml\").openStream());\r\n\t\t\tParkEntrance unplannedVisit = loader2.getController();\r\n\t\t\tunplannedVisit.loadEmployee(employee);\r\n\t\t\tunplannedVisit.start(root2);\r\n\t\t\tFXMLLoader loader = new FXMLLoader();\r\n\t\t\tParent root = loader.load(getClass().getResource(\"/gui/Invoice.fxml\").openStream());\r\n\t\t\tInvoice invoice = loader.getController();\r\n\t\t\tinvoice.loadOrder(newOrder);\r\n\t\t\tinvoice.start(root);\r\n\t\t} else {\r\n\t\t\tloadErrorMsg(\"Already entered the park\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "210dc09d0ce9007814bee9f8f3e92e53", "score": "0.53050673", "text": "public void onNewSubjectPressed() {\n UIFunctions.showNewSubject(((MainActivity) requireActivity()));\n }", "title": "" }, { "docid": "fd158ea3a6d097c19a7c99b9658f4c6b", "score": "0.52977484", "text": "public void doctorLogin(View view) {\n\n\t\t// An Intent is an operation to be performed. In this case,\n\t\t// the operation is to start a new activity. The activity will\n\t\t// be started later in this method when startActivity is called.\n\n\t\tIntent intent = new Intent(this, DoctorSelectionActivity.class);\n\n\t\t// Gets the account number from the first EditText field.\n\t\tEditText accountNumberText = (EditText) findViewById\n\t\t\t\t(R.id.account_number_field);\n\t\tString accountNumber = accountNumberText.getText().toString();\n\n\t\t// Gets the password from the second EditText field.\n\t\tEditText passwordText = (EditText) findViewById(R.id.password_field);\n\t\tString password = passwordText.getText().toString();\n\n\t\t// Get the Doctor according to the accountNumber and password.\n\t\tDoctor doctor = loginAccount.getDoctor(accountNumber, password);\n\t\tif (doctor != null) {\n\t\t\tPatientDataBase database;\n\t\t\ttry {\n\t\t\t\tdatabase = new PatientDataBase(this.getApplicationContext()\n\t\t\t\t\t\t.getFilesDir(), \"patientdata.txt\");\n\t\t\t\tintent.putExtra(\"nurseKey\", doctor);\n\t\t\t\tintent.putExtra(\"accountNumberKey\", accountNumber);\n\t\t\t\tintent.putExtra(\"databaseKey\", database);\n\t\t\t\t// Start DisplayActivity, passing extras (the Patient object)\n\t\t\t\t// via the intent.\n\t\t\t\tstartActivity(intent);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t}\n\t}", "title": "" }, { "docid": "04d1a7ec74e8b23cf4f13cde8f418952", "score": "0.5295949", "text": "public void onClick(View v) {\n\r\n\t\t\tIntent intent1 = new Intent(TaskInputActivity.this,\r\n\t\t\t\t\tDatePickActivity.class);\r\n\r\n\t\t\tintent1.putExtra(\"values\", 1);\r\n\r\n\t\t\tTabHomeActivity.home.startActivityForResult(intent1, REQUEST_CODE);\r\n\r\n\t\t}", "title": "" }, { "docid": "2867ef4267548f2c0337fd50983fd3cc", "score": "0.52854353", "text": "public void enter() {\n\tshowStatus((anchor != null)\n\t\t ? \"Go To \" + anchor.toExternalForm()\n\t\t : null);\n }", "title": "" }, { "docid": "59150f1f28caa29bbef45e1957e94eb8", "score": "0.52806574", "text": "protected void okPressed() {\n if (responsibilityName.getText().trim().equals(\"\")) {\n MessageDialog.openError(getShell(), \"Error\",\n \"Please enter the name of responsibility.\");\n responsibilityName.setFocus();\n return;\n }\n saveChanges();\n super.okPressed();\n }", "title": "" }, { "docid": "21716605ec34d50457d913e438a5d806", "score": "0.5278491", "text": "public void onClick(View v) {\n\n String newInterest = interestField.getText().toString();\n if (newInterest.trim().length() != 0) { //user input validation\n Log.d(TAG, \"Adding interest: \" + newInterest);\n DBH.writeNewInterest(authHelper.thisUserID, newInterest);\n dismiss();\n }\n }", "title": "" }, { "docid": "7de376bc9b772f2ea38dc5b898af2087", "score": "0.5275246", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t//saves doctor's suggestions for specific patient\n\t\t\tsuggestions = txtSuggestions.getText();\n\t\t\tnoteFromDoctor = new JTextArea(suggestions);\n\t\t\t\n\t\t\t/** if (suggestions saved properly to user)\n\t\t\t * {\n\t\t\t * \t\t//displays success message if account created\n\t\t\t * \t\tJOptionPane.showMessageDialog(createUser, \"Suggestions were submitted!\",\"A plain message\",\n\t\t\t\t\t\t\tJOptionPane.PLAIN_MESSAGE);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t//displays error message if account was not created\n\t\t\t\t\tJOptionPane.showMessageDialog(createUser, \"Error: did not submit\",\"Inane error\",\n\t\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\n\t\t\t\t}\n\t\t\t */\n\t\t\t\n\t\t\t}", "title": "" }, { "docid": "7440b9f9292f6e441a36ba15f1ff2e9a", "score": "0.5273462", "text": "public void input()\n\t{\n\t\tdob.input();\n\t\t//add.input();\n\t}", "title": "" }, { "docid": "5d6ee7abec671f26a8a468045a27c8c4", "score": "0.5265436", "text": "@Override\n \t\t\tpublic boolean onKey(View v, int keyCode, KeyEvent event) {\n \t\t\t\tif ((event.getAction() == KeyEvent.ACTION_DOWN)\n \t\t\t\t\t\t&& (keyCode == KeyEvent.KEYCODE_ENTER)) {\n \t\t\t\t\tconnect(userNameBox_.getText().toString());\n \t\t\t\t\treturn true;\n \t\t\t\t}\n \t\t\t\treturn false;\n \t\t\t}", "title": "" }, { "docid": "c109419cd690f0b9ad842f64c1bbd888", "score": "0.5258817", "text": "@FXML private void SelectHandler (ActionEvent event) throws IOException{\r\n Customer ApptToAdd = custNamesTableView.getSelectionModel().getSelectedItem();\r\n try{\r\n idField.setText(Integer.toString(ApptToAdd.getId()));\r\n nameField.setText(ApptToAdd.getName());\r\n }\r\n catch (Exception e){\r\n Alert alert = new Alert(Alert.AlertType.ERROR);\r\n alert.setTitle(\"ERROR\");\r\n alert.setHeaderText(\"Nothing Selected!\");\r\n alert.setContentText(\"You must select an appointment to edit!\");\r\n alert.showAndWait();\r\n }\r\n }", "title": "" } ]
00d38aa3c64175c69292775d66a2cdbe
Returns a specific repetition of STF3: "Staff Name" creates it if necessary
[ { "docid": "73c4bccf78aad65f32e72b1d03071be3", "score": "0.69667906", "text": "public XPN getStf3_StaffName(int rep) { \r\n\t\tXPN retVal = this.getTypedField(3, rep);\r\n\t\treturn retVal;\r\n }", "title": "" } ]
[ { "docid": "409c52ca646fa685fb67d799b19cff2c", "score": "0.7765386", "text": "public XPN insertStf3_StaffName(int rep) throws HL7Exception { \r\n return (XPN) super.insertRepetition(3, rep);\r\n }", "title": "" }, { "docid": "52d357914ebbb0cb86971dc17632b19e", "score": "0.71827555", "text": "public XPN insertStaffName(int rep) throws HL7Exception { \r\n return (XPN) super.insertRepetition(3, rep);\r\n }", "title": "" }, { "docid": "c0c8889de6167e499b366c98b45e1299", "score": "0.6880014", "text": "public XPN removeStf3_StaffName(int rep) throws HL7Exception { \r\n return (XPN) super.removeRepetition(3, rep);\r\n }", "title": "" }, { "docid": "73e27b52c002bcebf1c580b1455fc8ab", "score": "0.64770687", "text": "public int getStf3_StaffNameReps() {\r\n \treturn this.getReps(3);\r\n }", "title": "" }, { "docid": "83e01f34bd788d586f31dc9b890a06c2", "score": "0.62259805", "text": "public int getStaffNameReps() {\r\n \treturn this.getReps(3);\r\n }", "title": "" }, { "docid": "a3504838fad073e5b44a9a9bae6f12a5", "score": "0.61933744", "text": "public XPN removeStaffName(int rep) throws HL7Exception { \r\n return (XPN) super.removeRepetition(3, rep);\r\n }", "title": "" }, { "docid": "c140028446bb72842f7e3625281d7bd5", "score": "0.61782604", "text": "public IS insertStaffType(int rep) throws HL7Exception { \r\n return (IS) super.insertRepetition(4, rep);\r\n }", "title": "" }, { "docid": "a73267253999edbd7bdf0a01973d219a", "score": "0.6176126", "text": "public IS insertStf4_StaffType(int rep) throws HL7Exception { \r\n return (IS) super.insertRepetition(4, rep);\r\n }", "title": "" }, { "docid": "e243f4949d39250d27e9c04b69cb1a05", "score": "0.6127824", "text": "public XPN getStaffName(int rep) { \r\n\t\tXPN retVal = this.getTypedField(3, rep);\r\n\t\treturn retVal;\r\n }", "title": "" }, { "docid": "24b77ac501aa8cef3d4fc47ab39894aa", "score": "0.6064078", "text": "public CX insertStf2_StaffIdentifierList(int rep) throws HL7Exception { \r\n return (CX) super.insertRepetition(2, rep);\r\n }", "title": "" }, { "docid": "5d76abd5cb1311f62190599ae63aa14a", "score": "0.59903103", "text": "String getStaffID();", "title": "" }, { "docid": "95c85df8cb0d412d0dcaf804bff1db30", "score": "0.5972437", "text": "public XPN[] getStf3_StaffName() {\r\n \tXPN[] retVal = this.getTypedField(3, new XPN[0]);\r\n \treturn retVal;\r\n }", "title": "" }, { "docid": "ad5e1f371793e396fd946346dcefd7ab", "score": "0.58389246", "text": "public CX insertStaffIdentifierList(int rep) throws HL7Exception { \r\n return (CX) super.insertRepetition(2, rep);\r\n }", "title": "" }, { "docid": "5d90bea743f07afefade1a53a67ad195", "score": "0.5729916", "text": "public String getStaffName() {\n\t\treturn staffName;\n\t}", "title": "" }, { "docid": "ef164da651a7dab3e2f526e8ee31dd11", "score": "0.5703458", "text": "public String getCreatorStaffNumber() {\n\t\treturn creatorStaffNumber;\n\t}", "title": "" }, { "docid": "ac54f45ebafbe4d70d9b986af76fd035", "score": "0.5617293", "text": "private String generateName() {\n int i = (int) Math.floor(Math.random() * firstWord.size());\n int k = (int) Math.floor(Math.random() * lastWord.size());\n String name = (firstWord.get(i) + \" \" + middleWord.get(0) + \" \" + lastWord.get(k));\n return name;\n }", "title": "" }, { "docid": "b8b5639aaf348d59279d369e90b0186f", "score": "0.5531226", "text": "public String findStaff() {\n String sql = \"SELECT username AS username FROM \" + userTable + \" ORDER BY random() LIMIT 1\";\n return getString(executeQuery(sql), \"username\");\n }", "title": "" }, { "docid": "38dab04d4204e766cf1125f7dbbca5e1", "score": "0.55114096", "text": "public void testCreateReasearchStaff() throws Exception {\n HealthcareSite site = new LocalHealthcareSite();\r\n site.setCtepCode(strValue);\r\n site.setName(strValue);\r\n site.setDescriptionText(strValue);\r\n organizationService.save(site);\r\n\r\n // now save the research staff\r\n researchStaff = new LocalPersonUser();\r\n researchStaff.addHealthcareSite(site);\r\n researchStaff.setAssignedIdentifier(\"test-user\");\r\n researchStaff.setFirstName(\"test\");\r\n researchStaff.setLastName(\"user\");\r\n researchStaff.setEmail(\"test-user@test.org\");\r\n researchStaff.setLoginId(\"test-user@test.org\");\r\n personnelService.saveUser(researchStaff);\r\n\r\n // now change the staff details\r\n// researchStaff.setFirstName(\"changed\");\r\n// researchStaff.setEmail(\"test-user-changed@test.org\");\r\n// researchStaff.setAssignedIdentifier(\"changed\");\r\n// personnelService.merge(researchStaff);\r\n\r\n User user = personnelService.getCSMUserByUsername(\"test-user@test.org\");\r\n assertNotNull(userProvisioningManager.getGroups(user.getUserId().toString()));\r\n }", "title": "" }, { "docid": "984922e708c2319d7f8b9240e1d2a427", "score": "0.5501955", "text": "private Name creatName() {\n return new Name(mFirstName, mLastname, \"official\");\n\n /*\"\"name\"\": {\n \"\"use\"\": \"\"official\"\",\n \"\"given\"\": \"\"Bibin\"\",\n \"\"family\"\": \"\"Kurian\"\"*/\n }", "title": "" }, { "docid": "df20c12f3ca473dbedde956643244038", "score": "0.53769875", "text": "public String getStaffID() {\n\t\treturn staffID;\n\t}", "title": "" }, { "docid": "31090c0c3ed0a21470e0df77968f693b", "score": "0.5340627", "text": "public static void createStaffAccount(Scanner input) {\n\t\tSystem.out.println(\"Please enter the staff ID:\");\n\t\tint staffID = input.nextInt(); input.nextLine();\n\t\t\n\t\tSystem.out.println(\"Please enter the staff name:\");\n\t\tString name = input.nextLine();\n\t\t\n\t\tSystem.out.println(\"Please enter a gender (M/F):\");\n\t\tchar gender = input.nextLine().toUpperCase().charAt(0);\n\t\t\n\t\tSystem.out.println(\"Please enter the staff age:\");\n\t\tint age = input.nextInt(); input.nextLine();\n\t\t\n\t\tSystem.out.println(\"Please enter the staff address:\");\n\t\tString address = input.nextLine();\n\n\t\tSystem.out.println(\"Please enter the staff phone number (10 digits):\");\n\t\tString phone = input.nextLine();\n\n\t\tSystem.out.println(\"Please enter the job title (Doctor, Nurse, or Receptionist):\");\n\t\tchar jobTitle = input.nextLine().toUpperCase().charAt(0);\n\t\t\n\t\tString department = \"\";\n\t\t\n\t\t// enter department for doctor or nurse (not receptionist)\n\t\tif(jobTitle != 'R') { \n\t\t\tSystem.out.println(\"Please enter the department:\");\n\t\t\tdepartment = input.nextLine();\n\t\t}\n\t\t\n\t\t\n\t\tif(jobTitle == 'D'){ \n\t\t\t// enter professional title for doctor\n\t\t\tSystem.out.println(\"Please enter professional title:\");\n\t\t\tString profTitle = input.nextLine();\n\t\t\t\n\t\t\t//create doctor\n\t\t\tReasonableCare.createDoctor(staffID, name, age, gender, jobTitle, profTitle, department, phone, address);\n\t\t}\n\t\telse { \n\t\t\t// create nurse or receptionist\t\t\t\n\t\t\tReasonableCare.createStaff(staffID, name, age, gender, jobTitle, department, phone, address);\n\t\t}\n\t}", "title": "" }, { "docid": "cdc3ce9cced995fcd97fad0e7a815f50", "score": "0.53352475", "text": "@Override\n\t\tpublic String getName() {\n\t\t\tint i = (int )(Math.random() * 73 + 3);\n\t\t\treturn String.valueOf(i);\n\t\t}", "title": "" }, { "docid": "1dc26c46b2b3ad4bab02420621bf313c", "score": "0.5333456", "text": "@Override\n\t\tpublic String getName() {\n\t\t\tint i = (int )(Math.random() * 76 + 3);\n\t\t\treturn String.valueOf(i);\n\t\t}", "title": "" }, { "docid": "d54a05d0ed87c51d5174a3c3e22e52dc", "score": "0.5333448", "text": "public static String SubjectName() {\n\t\tString randomNo = \"SubjectName\" + rNo;\r\n\t\treturn randomNo;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "43d09f4df6ef3c3592e3b15f7ade7581", "score": "0.53192556", "text": "public String getCreateStaff() {\n return createStaff;\n }", "title": "" }, { "docid": "fd16abaec293f60d5b720d0060d78bbf", "score": "0.5295955", "text": "public CX removeStf2_StaffIdentifierList(int rep) throws HL7Exception { \r\n return (CX) super.removeRepetition(2, rep);\r\n }", "title": "" }, { "docid": "f67c6eafecf058aaab01e330210aa283", "score": "0.52776235", "text": "public Part build() {\n\t\tif (this.staveContents.size() == 1) {\n\t\t\treturn new SingleStaffPart(this.partAttributes,\n\t\t\t\t\tgetBuiltMeasures(this.staveContents.get(SINGLE_STAFF_NUMBER)));\n\t\t} else {\n\t\t\tfinal Map<Integer, Staff> staves = new HashMap<>();\n\t\t\tfor (int staffNumber : this.staveContents.keySet()) {\n\t\t\t\tstaves.put(staffNumber, new Staff(getBuiltMeasures(this.staveContents.get(staffNumber))));\n\t\t\t}\n\n\t\t\treturn new MultiStaffPart(this.partAttributes, staves);\n\t\t}\n\t}", "title": "" }, { "docid": "1b3e69706ccf89b61dd013980f58bed5", "score": "0.52770376", "text": "public IS removeStf4_StaffType(int rep) throws HL7Exception { \r\n return (IS) super.removeRepetition(4, rep);\r\n }", "title": "" }, { "docid": "4cdcd41e6775801994e6a54f057e860e", "score": "0.52619284", "text": "public XPN[] getStaffName() {\r\n \tXPN[] retVal = this.getTypedField(3, new XPN[0]);\r\n \treturn retVal;\r\n }", "title": "" }, { "docid": "e8ed9b76895afc6d1f9ee8db6a873439", "score": "0.5220153", "text": "@Override\n public String generateLastname() {\n \n String lastnamePre = dwarfLastnamePrefixList.get(randomizer.getRandomNumber(dwarfLastnamePrefixList.size()));\n String lastnameSuf = dwarfLastnameSuffixList.get(randomizer.getRandomNumber(dwarfLastnameSuffixList.size()));\n return lastnamePre + lastnameSuf;\n }", "title": "" }, { "docid": "fc383b62588a427ad4db58cc5b8ca6d6", "score": "0.5211637", "text": "public static String randomName () {\r\n\t\t\r\n\t\tString randomNames= \"Raja\"+ rNo;\r\n\t\treturn randomNames;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3281c7fbe63465225e5ddd96f8389023", "score": "0.51974696", "text": "public IS removeStaffType(int rep) throws HL7Exception { \r\n return (IS) super.removeRepetition(4, rep);\r\n }", "title": "" }, { "docid": "8f300bbccaee765259cb6d3e0f7eca95", "score": "0.5178113", "text": "private static String forFirstOrLastName(String name, int lenght) {\n\t\tString string = name;\n\t\t\n\t\tint diff = lenght - name.length();\n\t\t\n\t\tfor(int i = 0; i < diff; i++) {\n\t\t\tstring = string + \" \";\n\t\t}\n\n\t\treturn string;\n\t}", "title": "" }, { "docid": "1272772eb64a5725b0a1b6a5caba186b", "score": "0.51675296", "text": "public ItemStack createStaffModeItem(STAFF_MODE_ITEM staffItem) {\n String[] item = Core.getInstance().getConfig().getString(\"staff-mode.slot-item.\" + staffItem.getNode() + \".item\").split(\":\");\n ItemStack stack = new ItemStack(Material.valueOf(item[0]), 1, Short.parseShort(item[1]));\n ItemMeta meta = stack.getItemMeta();\n meta.setDisplayName(ChatColor.translateAlternateColorCodes('&', Core.getInstance().getConfig().getString(\"staff-mode.slot-item.\" + staffItem.getNode() + \".name\")));\n List<String> lore = new ArrayList<>();\n for (String all : Core.getInstance().getConfig().getStringList(\"staff-mode.slot-item.\" + staffItem.getNode() + \".lore\")) {\n lore.add(ChatColor.translateAlternateColorCodes('&', all));\n }\n meta.setLore(lore);\n stack.setItemMeta(meta);\n return stack;\n }", "title": "" }, { "docid": "56de6df9a879b86d42858818a6709965", "score": "0.5166345", "text": "private void transformFamilyname(Person p){\n\t\t\n\n\t\tString name = p.getFamilyName().trim();\n\t\tString prefix = null;\n\t\tString titleNoble = null;\n\t\tString titleElse = null;\n\t\tString title = null;\t \n\t\tString remainder = null;\n\n\t\tif(name != null){\n\t\t\tif(name.split(\"%\").length >1){\n\t\t\t\tname = name.split(\"%\")[0].trim();\n\t\t\t\tsetFamilyNameInterpreted(2); \t\n\t\t\t}\n\t\t\telse\n\t\t\t\tsetFamilyNameInterpreted(1);\t\n\n\t\t\tif(name.split(\",\").length >1){\n\t\t\t\tremainder = name.split(\",\")[1];\n\t\t\t\tname = name.split(\",\")[0];\n\t\t\t\tif(remainder.split(\"!\").length > 1){\n\t\t\t\t\tprefix = remainder.split(\"!\")[0];\t \t\t\n\t\t\t\t\ttitle = remainder.split(\"!\")[1];\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tprefix = remainder; \n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(name.split(\"!\").length >1){\n\t\t\t\t\ttitle = name.split(\"!\")[1]; \t\n\t\t\t\t\tname = name.split(\"!\")[0];\n\t\t\t\t}\t\n\t\t\t}\n\t\t}\n\n\t\tif(name != null){\n\t\t\tRef_FamilyName f = Ref.getFamilyName(name);\n\n\t\t\tif(f != null && f.getCode() != null && (f.getCode().equalsIgnoreCase(\"y\") || f.getCode().equalsIgnoreCase(\"u\")) && f.getName() != null && f.getName().length() > 0){\n\t\t\t\tname = f.getName();\n\t\t\t}\n\t\t\telse{\n\t\t\t\t//System.out.println(\"No usable name found, index = \" + index);\n\t\t\t\tif(f == null){\n\t\t\t\t\tRef_FamilyName f1 = new Ref_FamilyName();\n\t\t\t\t\tf1.setOriginal(name);\n\t\t\t\t\tf1.setCode(\"x\");\n\t\t\t\t\tRef.addFamilyName(f1);\n\t\t\t\t}\t\n\t\t\t}\n\t\t}\t \t \n\n\t\tif(prefix != null){\t \n\t\t\tRef_Prefix pr = Ref.getPrefix(prefix); \n\t\t\tif(pr != null && pr.getCode() != null && (pr.getCode().equalsIgnoreCase(\"y\") == true) && pr.getPrefix() != null && pr.getPrefix().length() > 0){\n\t\t\t\tprefix = pr.getPrefix(); \t\n\t\t\t} \n\t\t\telse{\n\t\t\t\tif(pr == null){\n\t\t\t\t\tRef_Prefix rp1 = new Ref_Prefix();\n\t\t\t\t\trp1.setOriginal(prefix);\n\t\t\t\t\trp1.setCode(\"x\");\n\t\t\t\t\tRef.addPrefix(rp1);\n\t\t\t\t}\n\t\t\t} \n\t\t} \n\n\t\tif(title != null){\n\t\t\tRef_Prefix pr = Ref.getPrefix(title);\n\t\t\tif(pr != null && pr.getCode() != null && (pr.getCode().equalsIgnoreCase(\"y\")) == true){\n\t\t\t\tif(pr.getTitleNoble() != null && pr.getTitleNoble().length() > 0)\n\t\t\t\t\ttitleNoble = pr.getTitleNoble();\n\t\t\t\tif(pr.getTitleOther() != null && pr.getTitleOther().length() > 0)\n\t\t\t\t\ttitleElse = pr.getTitleOther(); \n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(pr == null){\n\t\t\t\t\tRef_Prefix pr1 = new Ref_Prefix();\n\t\t\t\t\tpr1.setOriginal(title);\n\t\t\t\t\tpr1.setCode(\"x\");\n\t\t\t\t\tRef.addPrefix(pr1);\n\t\t\t\t}\n\t\t\t} \n\t\t}\n\n\t\tsetFamilyName(name);\n\t\tsetPrefixLastName(prefix);\n\t\tsetTitleNoble(titleNoble);\n\t\tsetTitleElse(titleElse); \n\t}", "title": "" }, { "docid": "ad10ab0539aa994ce53b1c4a123ae4eb", "score": "0.51469976", "text": "public String getDefaultName ()\r\n {\r\n switch (staffCount) {\r\n case 1:\r\n return constants.defaultSingleStaffPartName.getValue();\r\n\r\n case 2:\r\n return constants.defaultDoubleStaffPartName.getValue();\r\n\r\n default:\r\n return constants.defaultPartName.getValue();\r\n }\r\n }", "title": "" }, { "docid": "6cc4ea416336087b2e4b9c56b5a00914", "score": "0.5145084", "text": "public int getStf2_StaffIdentifierListReps() {\r\n \treturn this.getReps(2);\r\n }", "title": "" }, { "docid": "2d7621e29a068fae5edbdc2b559abded", "score": "0.51330614", "text": "public int getStaffID() {\n\t\treturn staffID.get();\n\t}", "title": "" }, { "docid": "fbbefc83751e83779a91c620628dfdc2", "score": "0.5132934", "text": "public void setStaffName(String staffName) {\n\t\tthis.staffName = staffName;\n\t}", "title": "" }, { "docid": "405c74ee016cdb20fe61172eae2d7cdf", "score": "0.51242", "text": "public Object getFnameL3() {\n return fnameL3;\n }", "title": "" }, { "docid": "3e4e4eb2f0b4992fcb2d04f7981c98f0", "score": "0.51163095", "text": "public CX getStf2_StaffIdentifierList(int rep) { \r\n\t\tCX retVal = this.getTypedField(2, rep);\r\n\t\treturn retVal;\r\n }", "title": "" }, { "docid": "48fa56d9c04951345cfaf08542b4f351", "score": "0.51084214", "text": "@Override\n\t\tpublic String getName() {\n\t\t\tint i = (int )(Math.random() * 70 + 3);\n\t\t\treturn String.valueOf(i);\n\t\t}", "title": "" }, { "docid": "f4dfd1493ef26a963c692c048b948e8a", "score": "0.5095331", "text": "public StaffFactory(Staff staff){\n this.staff = staff;\n }", "title": "" }, { "docid": "96371104c7dd04a3a18225013e631bc4", "score": "0.50885737", "text": "private String newFamilyId(){\n\n if (gc.getFamilies().isEmpty())\n return \"F1\";\n String idS = gc.getFamilies().get(gc.getFamilies().size()-1).getId().replace(\"F\", \"\");\n int id = Integer.parseInt(idS);\n idS = \"F\" + (id+1);\n return idS;\n }", "title": "" }, { "docid": "4f317e764b87e5a3ea322f2e4368989b", "score": "0.5079262", "text": "Staff()\n {\n super(\"(unknown name)\", 0000);\n room = \"(unknown room)\";\n }", "title": "" }, { "docid": "181d9ba8df1fd74dbf7ed7d2199a753b", "score": "0.5071567", "text": "public static String randomFirstName() {\n\n Random rand = new Random();\n return generateName(rand.nextInt(SCHEME_UPPER_BOUND), true);\n }", "title": "" }, { "docid": "f247a12bb2ba20a825e8bb3f871ba346", "score": "0.5053227", "text": "public BuildingNameType getFixture3()\n\t\tthrows Exception {\n\t\tif (fixture3 == null) {\n\t\t\tfixture3 = new BuildingNameType();\n\t\t\tfixture3.setCode(\"\");\n\t\t\tfixture3.setContent(\"\");\n\t\t\tfixture3.setType(\"\");\n\t\t\tfixture3.setTypeOccurrence(\"0123456789\");\n\t\t}\n\t\treturn fixture3;\n\t}", "title": "" }, { "docid": "dca2a068c592d97479d2bd102d966fd9", "score": "0.5046855", "text": "public IS getStf4_StaffType(int rep) { \r\n\t\tIS retVal = this.getTypedField(4, rep);\r\n\t\treturn retVal;\r\n }", "title": "" }, { "docid": "3856aae7d51c561bb94f88e4fbe729f6", "score": "0.5037475", "text": "public String getStaffId() {\n return staffId;\n }", "title": "" }, { "docid": "6224715d12af2a50a60e5c11713868b1", "score": "0.5036048", "text": "String getNewGroupName();", "title": "" }, { "docid": "6224715d12af2a50a60e5c11713868b1", "score": "0.5036048", "text": "String getNewGroupName();", "title": "" }, { "docid": "6224715d12af2a50a60e5c11713868b1", "score": "0.5036048", "text": "String getNewGroupName();", "title": "" }, { "docid": "6224715d12af2a50a60e5c11713868b1", "score": "0.5036048", "text": "String getNewGroupName();", "title": "" }, { "docid": "ca2e2bbb272ff56793ae473b9341aada", "score": "0.50025547", "text": "public CWE insertStf9_HospitalServiceSTF(int rep) throws HL7Exception { \r\n return (CWE) super.insertRepetition(9, rep);\r\n }", "title": "" }, { "docid": "aefe9d077f994e43aba4fe985d2d1815", "score": "0.49849397", "text": "public String makeName(ArrayList<basicUnitInfo> arg1) {\r\n String tmp = null;\r\n do {\r\n tmp = (firstNames[(int)(Math.random()*firstNames.length)]+\" \"+\r\n lastNames[(int)(Math.random()*lastNames.length)]);\r\n }\r\n while(nameExists(tmp, arg1) == true);\r\n return tmp;\r\n }", "title": "" }, { "docid": "250b61846922782273d56787715b0e5b", "score": "0.49832046", "text": "public CX removeStaffIdentifierList(int rep) throws HL7Exception { \r\n return (CX) super.removeRepetition(2, rep);\r\n }", "title": "" }, { "docid": "a560876b1a91a0510d5d0e5d97a39026", "score": "0.498078", "text": "public String getRandomFullName() {\n\t\treturn getRandomForename() + \" \" + getRandomSurname();\n\t}", "title": "" }, { "docid": "0b8baf702ec25664a2be7d658d37dbb9", "score": "0.49804544", "text": "private static String userFullNametoUpdate() \r\n {\r\n System.out.print(\"Enter First Name of Contact: \");\r\n return s.next();\r\n }", "title": "" }, { "docid": "115df90c04cb63ce58ee45ae63f94029", "score": "0.49761924", "text": "Staff(String name, int yearOfBirth, String roomNumber)\n {\n super(name, yearOfBirth);\n room = roomNumber;\n }", "title": "" }, { "docid": "66bf595ab7313f6ce335fd6e2451b0ed", "score": "0.49625617", "text": "String getFumigantName();", "title": "" }, { "docid": "e583efe1b30be0a84dd0a5ac9126eebe", "score": "0.49412242", "text": "private static void addToFam(String s) {\n\t\tint br = s.indexOf(' ');\n\t\tString rs = s.substring(br+1);\n\t\tif (rs.startsWith(\"@F\"))\n\t\t{\n\t\t\tString rest = rs.substring(2);\n\t\t\tint brx = rest.indexOf('@');\n\t\t\tcurrentFamily.ref = Integer.parseInt(rest.substring(0,brx));\n\t\t\tSystem.out.println(\"Adding family \" + currentFamily.ref);\t\t\t\n\t\t}\n\t\telse if (rs.startsWith(\"HUSB\"))\n\t\t{\n\t\t\tString rest = rs.substring(7); // skip over HUSB @I\n\t\t\tint brx = rest.indexOf('@');\n\t\t\tcurrentFamily.father = Integer.parseInt(rest.substring(0,brx));\t\t\t\n\t\t}\n\t\telse if (rs.startsWith(\"WIFE\"))\n\t\t{\n\t\t\tString rest = rs.substring(7); // skip over HUSB @\n\t\t\tint brx = rest.indexOf('@');\n\t\t\tcurrentFamily.mother = Integer.parseInt(rest.substring(0,brx));\t\t\t\t\t\t\n\t\t}\n\t\telse if (rs.startsWith(\"CHIL\"))\n\t\t{\n\t\t\tString rest = rs.substring(7); // skip over HUSB @\n\t\t\tint brx = rest.indexOf('@');\n\t\t\tcurrentFamily.children.add(Integer.parseInt(rest.substring(0,brx)));\t\t\t\t\t\t\n\t\t}\n\t\telse if (rs.startsWith(\"MARR\"))\n\t\t{\n\t\t\tcurrentFamily.relationship = 1;\n\t\t\tcurrentFamily.addingTo = Family.eDP.MARRIAGE;\n\t\t}\n\t\telse if (rs.startsWith(\"DATE\"))\n\t\t{\n\t\t\tString rest = rs.substring(5); // skip over DATE \n\t\t\tswitch (currentFamily.addingTo) {\n\t\t\tcase MARRIAGE:\n\t\t\t\tcurrentFamily.marriageDate = rest;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t};\t\t\t\n\t\t}\n\t\telse if (rs.startsWith(\"PLAC\"))\n\t\t{\n\t\t\tString rest = rs.substring(5); // skip over PLAC \n\t\t\tswitch (currentFamily.addingTo) {\n\t\t\tcase MARRIAGE:\n\t\t\t\tcurrentFamily.marriagePlace = rest;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t};\t\t\t\n\t\t}\n\t\telse if (rs.startsWith(\"DIV\"))\n\t\t{\n\t\t}\n\t\telse if (rs.startsWith(\"NOTE\"))\n\t\t{\n\t\t\tString rest = rs.substring(5); // skip over PLAC \n\t\t\tcurrentFamily.comment = rest;\n\t\t}\n\t\telse if (rs.startsWith(\"PFAM\"))\n\t\t{\n\t\t}\n\t\telse\n\t\t\tfamErrors++;\n\t}", "title": "" }, { "docid": "1c4cd37f4b0710fa3f10dea99d644618", "score": "0.49386647", "text": "public Staff getStaff() {\n\t\treturn staff;\n\t}", "title": "" }, { "docid": "eed0eb4a875374e095e1523d4cc92ebb", "score": "0.49375817", "text": "public void assignStaff(FoodTruck foodTruck, Staff staff) throws InvalidInputException;", "title": "" }, { "docid": "ecb65900df410c3963e45daf64074a1b", "score": "0.4937578", "text": "private void addAllStaff()\n\t{\n\t\tmmm.addStaff(\"CL1\", \"Ann\");\n\t\tmmm.addStaff(\"CL2\", \"Bob\");\n\t\tmmm.addStaff(\"TY1\", \"Che\",true,true);\n\t\tmmm.addStaff(\"TY2\", \"Dan\",true,false);\n\t\tmmm.addStaff(\"TY3\", \"Eve\",false,true);\n\t\tmmm.addStaff(\"TY4\", \"Fez\",false,false);\n\t\tmmm.addStaff(\"TR1\", \"Gil\",true,true,\"French\",12.0);\n\t\tmmm.addStaff(\"TR2\", \"Han\",true,false,\"French\",12.0);\n\t\tmmm.addStaff(\"TR3\", \"Kit\",false,true,\"German\",12.0);\n\t\tmmm.addStaff(\"TR4\", \"Lil\",false,false,\"German\",12.0);\n\n\n\n\n\t}", "title": "" }, { "docid": "e6fa2081c452eac1fb672d0dd594eeb3", "score": "0.49368578", "text": "public void setCreatorStaffNumber(String creatorStaffNumber) {\n\t\tthis.creatorStaffNumber = creatorStaffNumber;\n\t}", "title": "" }, { "docid": "41c43f67dd04afc56b788607f1ef2aa3", "score": "0.49327797", "text": "@Override\r\n\tpublic String getFortune() {\n\t\tint index=myRandom.nextInt(data.length);\r\n\t\t\r\n\t\tString theFortune=data[index];\r\n\t\t\r\n\t\treturn theFortune;\r\n\t}", "title": "" }, { "docid": "096ec1fd539a4448c870d128e913427d", "score": "0.49164292", "text": "public int getStaffIdentifierListReps() {\r\n \treturn this.getReps(2);\r\n }", "title": "" }, { "docid": "7d5155f31f9fce0f1f7c6adab7dbdf4f", "score": "0.4913302", "text": "MemberName createMemberName();", "title": "" }, { "docid": "9c7689daed62086bc3de554d9d3371ce", "score": "0.49069968", "text": "public String toString(){\n\t\n\treturn (\"Staff Info: \\nId Number: \\t\" + IDNUM + \"\\n\" + \"FirstName: \" + firstName + \"\\t surname: \" + lastName +\n\t\t\t\"\\t department: \" + department);\n}", "title": "" }, { "docid": "c61195fc3da756829e171c1ce7d3e1a6", "score": "0.49055168", "text": "public String getRegisteredName()\n/* 36: */ {\n/* 37:33 */ return this.teamName;\n/* 38: */ }", "title": "" }, { "docid": "87eb19f33c9e5e9754ea1572f5708268", "score": "0.49051902", "text": "public String UserName() \n\t{\n\t\tString name = \"\";\n\n\t\tint nameSeq = Integer.parseInt(surveyInfo[5]);\t//0=familyname first\n\n\t\tString familyName = surveyInfo[3];\n\t\tString GivenName = surveyInfo[4];\n\n\t\tif(nameSeq == 0)\n\t\t\tname = familyName + \" \" + GivenName;\n\t\telse\n\t\t\tname = GivenName + \" \" + familyName;\n\n\t\treturn name;\t\t\n\t}", "title": "" }, { "docid": "acf62490c4e51cb2cddd65857497dcaa", "score": "0.49004966", "text": "public int getStf4_StaffTypeReps() {\r\n \treturn this.getReps(4);\r\n }", "title": "" }, { "docid": "c4e762222cd33e2534048fa528c98a73", "score": "0.48808426", "text": "public String generateUsername(String firstName);", "title": "" }, { "docid": "8f8ee7339f0735adcc9ebbd0028ffe86", "score": "0.4875856", "text": "faculty(String name,int rollNumber){\n System.out.println(this);\n this.name = name;\n this.rollNumber = rollNumber;\n numOfFaculty++;\n }", "title": "" }, { "docid": "5d4339c7aedfbe64b0bbe6da12c69622", "score": "0.48714215", "text": "public String getFilm(int position){\n\t\t\n\t\tString filmName;\n\t\t\n\t\tfilmName = filmList[position];\n\t\t\n\t\treturn filmName;\n\t\t\n\t}", "title": "" }, { "docid": "a1dbf496e1a43138319c20ae7423bf64", "score": "0.48703516", "text": "@Override\n\tpublic String getFortune() {\n\t\tint index = myRandom.nextInt(data.length);\n\t\t\n\t\tString theFortune = data[index];\n\t\treturn theFortune;\n\t}", "title": "" }, { "docid": "af9cfc56a1846e17ed27542536e776f5", "score": "0.48581687", "text": "public DLN getStf22_DriverSLicenseNumberStaff() { \r\n\t\tDLN retVal = this.getTypedField(22, 0);\r\n\t\treturn retVal;\r\n }", "title": "" }, { "docid": "95921837047477977080a94ddf10e396", "score": "0.48565763", "text": "private int generateUniqueID() {\n return ++numberOfStations;\n }", "title": "" }, { "docid": "7b6a7bcea2c4de3c8ea04206a4cc091c", "score": "0.48516262", "text": "public int getStaffTypeReps() {\r\n \treturn this.getReps(4);\r\n }", "title": "" }, { "docid": "8d4d471f5d7084c38444f3a3f34a76df", "score": "0.48485225", "text": "@Override\n\tpublic String getFortune() {\n\t\tint index = myRandom.nextInt(data.size());\n\t\t\n\t\tString theFortune = data.get(index);\n\t\t\n\t\treturn theFortune;\n\t}", "title": "" }, { "docid": "5615c39350bd91f0b9947dd17e680d6a", "score": "0.4847953", "text": "public static String randomName() {\n\n StringBuilder firstName = new StringBuilder();\n StringBuilder lastName = new StringBuilder();\n\n Random rand = new Random();\n int schemeFirstName = rand.nextInt(SCHEME_UPPER_BOUND);\n int schemeLastName = rand.nextInt(SCHEME_UPPER_BOUND);\n\n firstName.append(generateName(schemeFirstName, true));\n lastName.append(generateName(schemeLastName, false));\n\n return String.format(\"%s %s\", firstName, lastName);\n }", "title": "" }, { "docid": "63f4480516ae2cb9c0ea3205b5570b7e", "score": "0.48397204", "text": "public Staff(String id, String password,String name,String title,String phoneNum) \n\t{\n\t\tthis.id = id;\n\t\tthis.password = password;\n\t this.name = name;\n\t this.title =title;\n\t this.phoneNum =phoneNum;\n\t}", "title": "" }, { "docid": "574b61e1f5ce47d22889a2987061e175", "score": "0.48381677", "text": "public String getName(){\n\t\t//return girl Name which is up online 10\n\t\treturn girlName;\n\t}", "title": "" }, { "docid": "2e8f28e0759c477ee399bff0380f47c9", "score": "0.4835408", "text": "@SystemAPI\n public String makeStaffMember(StaffRole role, String name, CampusInfo info) throws InvalidArgumentException, NotLoggedInException, SchedulableAlreadyExistsException {\n ac.checkLoggedIn();\n return PeopleCreator.SINGLETON.makeStaff(role, wc.getWorld(), name, info);\n }", "title": "" }, { "docid": "0ca9a936526c1313cd79dd2706590de0", "score": "0.48335722", "text": "private boolean checkDuplicate(String name3)\n {\n int flag = 0;\n for (DisplayOption duplicateContact: contactList)\n {\n if (duplicateContact.getFirstName().equals(name3))\n {\n flag = 1;\n break;\n }\n }\n return flag == 1;\n }", "title": "" }, { "docid": "e9ef569aee006f953469440c21490ebf", "score": "0.48295692", "text": "public String getForename() {\n\t\t//if we're after a man\n\t\tif((new Random()).nextBoolean()) {\n\t\t\tdouble rNum = Math.random() * MALE_FORENAME_TOTAL_PROB;\n\t\t\tfor(Name name : maleForenames) {\n\t\t\t\tif (rNum < name.getProb()) {\n\t\t\t\t\treturn name.getName();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null;\n\t\t\t//else, a woman\n\t\t} else {\n\t\t\tdouble rNum = Math.random() * FEMALE_FORENAME_TOTAL_PROB;\n\t\t\tfor(Name name : femaleForenames) {\n\t\t\t\tif (rNum < name.getProb()) {\n\t\t\t\t\treturn name.getName();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "31bdafe3ed408996867da9347771530b", "score": "0.48270696", "text": "private static void createLiterature() {\n List<Literature> existLit = literatureService.getAll();\n Boolean uniqueName = true;\n\n System.out.print(\"Name ->\");\n String name = sc.nextLine();\n\n for (Literature literature : existLit) {\n if (name.equalsIgnoreCase(literature.getName())) {\n System.out.println(\"This literature already exist. Try again.\");\n uniqueName = false;\n }\n }\n\n if (uniqueName) {\n Literature literature = new Literature();\n literature.setName(name);\n literatureService.save(literature);\n System.out.println(literature.getName() + \" Literature was created!\");\n }\n\n\n }", "title": "" }, { "docid": "a7329c2dfabd8a81d0f61d2d19dda599", "score": "0.4826234", "text": "public CWE insertHospitalServiceSTF(int rep) throws HL7Exception { \r\n return (CWE) super.insertRepetition(9, rep);\r\n }", "title": "" }, { "docid": "ad2558d4de5ae1b734ee811d26b2a1a8", "score": "0.4820129", "text": "public String getNameAndTally()\n {\n return getNameAndTally(0);\n }", "title": "" }, { "docid": "6991da3b36b55c08a7d5c994f79e4f5f", "score": "0.48137316", "text": "public CWE insertStf14_BackupPersonID(int rep) throws HL7Exception { \r\n return (CWE) super.insertRepetition(14, rep);\r\n }", "title": "" }, { "docid": "e5e6bc97bd48bd33d392a1e5555aa91e", "score": "0.48015645", "text": "public Staff (String StaffID, String StaffName,double salaryRate,double Salary,String Role){\n\n this.staffID = StaffID;\n this.name = StaffName;\n this.salaryRate = salaryRate;\n this.salary = Salary;\n this.Role = Role;\n }", "title": "" }, { "docid": "aa35139486f46d04534a0a93e0456508", "score": "0.47973186", "text": "private String buildUserName(String nFirstName, String nLastName){\n String newUserName = nFirstName.substring(0, 1) + nLastName;\n\n return newUserName;\n\n }", "title": "" }, { "docid": "c8bfab633d99a1d584ad927faa56bd27", "score": "0.47918293", "text": "public Staff ()\r\n {\r\n staffList = new StaffMember[8];\r\n\r\n staffList[0] = new Executive (\"Sam\", \"123 Main Line\",\r\n \"555-0469\", \"123-45-6789\", 2423.07);\r\n\r\n staffList[1] = new Employee (\"Carla\", \"456 Off Line\",\r\n \"555-0101\", \"987-65-4321\", 1246.15);\r\n staffList[2] = new Employee (\"Woody\", \"789 Off Rocker\",\r\n \"555-0000\", \"010-20-3040\", 1169.23);\r\n\r\n staffList[3] = new Hourly (\"Diane\", \"678 Fifth Ave.\",\r\n \"555-0690\", \"958-47-3625\", 10.55);\r\n\r\n staffList[4] = new Volunteer (\"Norm\", \"987 Suds Blvd.\",\r\n \"555-8374\");\r\n staffList[5] = new Volunteer (\"Cliff\", \"321 Duds Lane\",\r\n \"555-7282\");\r\n \r\n //Added two new employees\r\n staffList[6] = new Commission(\"Nicole\", \"28612 FairyTale Court\", \r\n \t\t \"867-5309\", \"101-11-0010\", 6.25, .2);\r\n staffList[7] = new Commission(\"Eddie\", \"10101101010011b Binary Way\", \r\n \t\t \"311-3268\", \"101-11-0011\", 9.75, .15);\r\n \r\n //Gave them hours worked\r\n ((Hourly)staffList[6]).addHours(35);\r\n ((Hourly)staffList[7]).addHours(40);\r\n \r\n //Gave them total sales\r\n ((Commission)staffList[6]).addSales(400);\r\n ((Commission)staffList[7]).addSales(950);\r\n\r\n ((Executive)staffList[0]).awardBonus (500.00);\r\n\r\n ((Hourly)staffList[3]).addHours (40);\r\n }", "title": "" }, { "docid": "8d9913b9e43926f8af69ea881ed6c09f", "score": "0.47859377", "text": "public BuildingNameType getFixture7()\n\t\tthrows Exception {\n\t\tif (fixture7 == null) {\n\t\t\tfixture7 = new BuildingNameType();\n\t\t\tfixture7.setCode(\"\");\n\t\t\tfixture7.setContent(\"0123456789\");\n\t\t\tfixture7.setType(\"0123456789\");\n\t\t\tfixture7.setTypeOccurrence(\"0123456789\");\n\t\t}\n\t\treturn fixture7;\n\t}", "title": "" }, { "docid": "a5a71a70ea5e94e853bf64f3fd72ae80", "score": "0.47816348", "text": "public NameFactory() {\n setNameLength();\n setRandomName();\n }", "title": "" }, { "docid": "e97b6bce95672e35ec935a577424a046", "score": "0.47677138", "text": "public String getFullName(int index);", "title": "" }, { "docid": "88932d76d2776ff862c1d7648084942e", "score": "0.47604585", "text": "private String getName(String statement) {\n statement = stringTrimmer(statement);\n int psn = 0;\n String userName = \"\";\n if(findKeyword(statement, \"im\") >=0) {\n psn = findKeyword(statement, \"im\");\n userName = statement.substring(psn + 3);\n\n } else if(findKeyword(statement, \"i am\") >=0) {\n psn = findKeyword(statement, \"i am\");\n userName = statement.substring(psn+5);\n }\n else if(findKeyword(statement, \"my name is\") >=0) {\n psn = findKeyword(statement, \"my name is\");\n userName = statement.substring(psn+11);\n } else if(findKeyword(statement, \"my names\") >=0) {\n psn = findKeyword(statement, \"my names\");\n userName = statement.substring(psn+9);\n } else if(findKeyword(statement, \"call me\") >=0) {\n psn = findKeyword(statement, \"call me\");\n userName = statement.substring(psn+8);\n }\n\n\n userName = userName.substring(0, 1).toUpperCase() + userName.substring(1);\n return userName;\n }", "title": "" }, { "docid": "11735e1c88220b8e9cd23b742dae1642", "score": "0.47556612", "text": "private String getOneNewBName(ArrayList prevNames){\n Random randomGenerator=new Random();\n ArrayList busProd=new ArrayList();\n if(allBusinessNames.size()==0) {\n makeBusinessNamesArrayList();\n }\n //What to do if no bus in db\n if(allBusinessNames.size()==0 || prevNames.size()>=allBusinessNames.size()) {\n return \"\";\n }\n int namesArraySize=allBusinessNames.size();\n int index = randomGenerator.nextInt(namesArraySize);\n //Needed to avoid having multiple copies of the same business\n String newName = (String) allBusinessNames.get(index);\n while(prevNames.contains(newName)) {\n index = randomGenerator.nextInt(namesArraySize);\n newName = (String) allBusinessNames.get(index);\n }\n return newName;\n }", "title": "" }, { "docid": "ed5231acb57e9f9e1ddb21af6aeb2b8f", "score": "0.47552523", "text": "public SchoolInfo name(Name name);", "title": "" }, { "docid": "c4c8581cb40196660c15e638ce82e559", "score": "0.47506717", "text": "public IS getStaffType(int rep) { \r\n\t\tIS retVal = this.getTypedField(4, rep);\r\n\t\treturn retVal;\r\n }", "title": "" } ]
cf861812ab253723305eabd494647858
Compute divergence of vFun with respect to variables varNames in case of composition of functions.
[ { "docid": "6aa51307895bb07ece58f0cd96eabd4c", "score": "0.7172997", "text": "public static MathFunc div(VecMathFunc vFun, String ...varNames) {\n\t\tMathFunc rlt = new FC(0.0);\n\t\tfor(int i=0;i<varNames.length;i++) {\n\t\t\tMathFunc fd = (MathFunc)vFun.get(i+1);\n\t\t\trlt = rlt.A(fd.diff(varNames[i]));\n\t\t}\n\t\treturn rlt;\n\t}", "title": "" } ]
[ { "docid": "4ce4631360905d3127978e87d0c238cd", "score": "0.7259148", "text": "public static MathFunc div(VecMathFunc vFun,ObjList<String> varNames) {\n\t\tMathFunc rlt = new FC(0.0);\n\t\tfor(int i=1;i<=varNames.size();i++) {\n\t\t\tMathFunc fd = (MathFunc)vFun.get(i);\n\t\t\trlt = rlt.A(fd.diff(varNames.at(i)));\n\t\t}\n\t\treturn rlt;\n\t}", "title": "" }, { "docid": "3bb005e62d5842b0722c5aba6a4a188e", "score": "0.59665596", "text": "public static MathFunc div(VecMathFunc vFun) {\n\t\tint dim = vFun.getDim();\n\t\tMathFunc rlt = C0;\n\t\tfor(int i=1; i<=dim; i++) {\n\t\t\tMathFunc fd = (MathFunc)vFun.get(i);\n\t\t\trlt = rlt.A(fd.diff(vFun.varNames().get(i-1)));\n\t\t}\n\t\treturn rlt;\n\t}", "title": "" }, { "docid": "28f15d468bd8fea00d352a32d67c51f3", "score": "0.57186186", "text": "public static VecMathFunc grad(MathFunc fun,ObjList<String> varNames) {\n\t\tVecMathFunc rlt = new SpaceVectorFunction(varNames.size());\n\t\tfor(int i=1;i<=varNames.size();i++)\n\t\t\trlt.set(i, fun.diff(varNames.at(i)));\n\t\treturn rlt;\n\t}", "title": "" }, { "docid": "1b5ec1693aedf9f0a8761b4b50d96469", "score": "0.5556154", "text": "public static VecMathFunc grad(MathFunc fun, String ...varNames) {\n\t\tVecMathFunc rlt = new SpaceVectorFunction(varNames.length);\n\t\tfor(int i=0;i<varNames.length;i++)\n\t\t\trlt.set(i+1, fun.diff(varNames[i]));\n\t\treturn rlt;\n\t}", "title": "" }, { "docid": "0471447ab4fab4390210ff905e21f59f", "score": "0.5278473", "text": "@Override\n\tpublic Double visitVar(VarContext ctx) {\n\t\tDouble result = var.get(ctx.VAR().toString());\n\t\tif (result == null) {\n\t\t\tthrow new IllegalArgumentException(\"Variable \" + ctx.VAR().toString() + \" not found\");\n\t\t}\n\t\t// Vorzeichen berücksichtigen\n\t\tif (ctx.sign() == null) {\n\t\t\treturn result;\n\t\t}\n\t\treturn visit(ctx.sign()) * result;\n\t}", "title": "" }, { "docid": "1ab23f6f5b581c1f15c511cfe46e6d3e", "score": "0.525208", "text": "public float[][] normalizeFVs_var (String fvIDs) {\n \n\n reader.readLines(SingleInfo.features, fvIDs);\n \n String[] featurevector = reader.nextLine();\n boolean first = true;\n float[] features = gimmeFeatures (featurevector[1]); \n \n\n float[][] normalizationParams = new float[features.length][2];\n \n float[] sum = new float[features.length];\n \n float[] squareDist = new float[features.length];\n \n int elements = 0;\n\n\n // Calculate the mean\n while (reader.hasNextLine()) {\n\n elements++;\n \n if (first) {\n // We already did read the first line, to calculate\n // the number of vectors we have to add.\n first = false;\n } else {\n featurevector = reader.nextLine();\n features = gimmeFeatures(featurevector[1]);\n }\n \n // Sum up all values\n for (int i=0; i<features.length; i++) {\n sum[i] += features[i];\n }\n \n }\n\n // Mean = sum / number of elements\n for (int i=0; i<features.length; i++) {\n normalizationParams[i][0] = sum[i]/(float)elements;\n }\n \n\n // Reset reader\n reader.readLines(SingleInfo.features, fvIDs);\n\n // Calculate the standard deviation\n while (reader.hasNextLine()) {\n\n featurevector = reader.nextLine();\n features = gimmeFeatures(featurevector[1]);\n \n // Sum up all distances to the mean, squared\n for (int i=0; i<features.length; i++) {\n float dist = features[i] - normalizationParams[i][0];\n squareDist[i] = squareDist[i] + dist * dist;\n }\n \n }\n \n // Standard deviation = sqrt(sum_square_dist / number of elements)\n for (int i=0; i<features.length; i++) {\n normalizationParams[i][1] = (float) Math.sqrt(squareDist[i]/(float)elements);\n }\n \n return normalizationParams;\n \n }", "title": "" }, { "docid": "e13c24cd7e657cbc86696ff841528088", "score": "0.511459", "text": "public Variable cYZDivergence(Variable v,Variable w){\r\n\t\tcheckDimensions(v,w);\r\n\t\tassignSubDomainParams(v);\r\n\t\t\r\n\t\tVariable div=new Variable(\"div\",v);\r\n\t\tdiv.setCommentAndUnit(\"divergence in Y-Z section (s^-1)\");\r\n\t\tdiv.setValue(undef);\r\n\t\t\r\n\t\tfloat[][][][] vdata=v.getData();\r\n\t\tfloat[][][][] wdata=w.getData();\r\n\t\tfloat[][][][] divdata=div.getData();\r\n\t\t\r\n\t\tif(v.isTFirst()){\r\n\t\t\tfor(int l=0;l<t;l++)\r\n\t\t\tfor(int i=0;i<x;i++)\r\n\t\t\tfor(int k=1;k<z-1;k++)\r\n\t\t\tfor(int j=1;j<y-1;j++)\r\n\t\t\tif(vdata[l][k][j+1][i]!=undef&&vdata[l][k][j-1][i]!=undef&&wdata[l][k+1][j][i]!=undef&&wdata[l][k-1][j][i]!=undef)\r\n\t\t\t\tdivdata[l][k][j][i]=\r\n\t\t\t\t(vdata[l][k][j+1][i]-vdata[l][k][j-1][i])/(dy*2f)+\r\n\t\t\t\t(wdata[l][k+1][j][i]-wdata[l][k-1][j][i])/(dz*2f);\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tfor(int l=0;l<t;l++)\r\n\t\t\tfor(int i=0;i<x;i++)\r\n\t\t\tfor(int k=1;k<z-1;k++)\r\n\t\t\tfor(int j=1;j<y-1;j++)\r\n\t\t\tif(vdata[k][j+1][i][l]!=undef&&vdata[k][j-1][i][l]!=undef&&wdata[k+1][j][i][l]!=undef&&wdata[k-1][j][i][l]!=undef)\r\n\t\t\t\tdivdata[k][j][i][l]=\r\n\t\t\t\t(vdata[k][j+1][i][l]-vdata[k][j-1][i][l])/(dy*2f)+\r\n\t\t\t\t(wdata[k+1][j][i][l]-wdata[k-1][j][i][l])/(dz*2f);\r\n\t\t}\r\n\t\t\r\n\t\treturn div;\r\n\t}", "title": "" }, { "docid": "b5e741b4a4d351601a75bc8a6203af6f", "score": "0.5052035", "text": "double evaluate(V variable);", "title": "" }, { "docid": "80c0b5528faec018569f764eaae8e641", "score": "0.50363684", "text": "@Override\n\tpublic Double visitVardec(VardecContext ctx) {\n\t\tDouble result = visit(ctx.exp());\n\t\t// Variable speichern\n\t\tvar.put(ctx.VAR().toString(), result);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "0abe0adbce5accdcb14197fcce0932d1", "score": "0.49477407", "text": "public static VecMathFunc grad(MathFunc fun) {\n\t\tList<String> names = fun.getVarNames();\n\t\tVecMathFunc rlt = new SpaceVectorFunction(names.size());\n\t\tfor(int i=0;i<names.size();i++)\n\t\t\trlt.set(i+1, fun.diff(names.get(i)));\n\t\treturn rlt;\n\t}", "title": "" }, { "docid": "d80cbc1ebadf1ac1dfd01245ea9d11d9", "score": "0.48954454", "text": "static int difvel(int vf,int vi){\n int difvelocidad;\n difvelocidad= vf - vi;\n return difvelocidad;\n }", "title": "" }, { "docid": "92f205bb60e4393b10ee89cd7ea29758", "score": "0.48926243", "text": "public static float var(float[] x){\r\n\t\tfloat v =0;\r\n\t\tfloat a = avg(x);\r\n\t\tint i = 0;\r\n\t\twhile (i<x.length){\r\n\t\t\tv += Math.pow(x[i], 2);\r\n\t\t\ti++;\r\n\t\t}\r\n\t\tv = v/(float) x.length;\r\n\t\treturn (v - (float)Math.pow(a, 2));\r\n\r\n\r\n\r\n\t}", "title": "" }, { "docid": "b70edeccc3336fc90e9233bd3ff6f8e4", "score": "0.4856249", "text": "@Override\n\tprotected void evaluate_(GroupVariable var, List<Double> objectives, List<Double> constraintViolations) {\n\t\tSet<Set<Member>> subgroups = var.decode();\n\n\t\t// check for hard constraints\n\t\tint violatedIsInGroup = desc.inOneGroup.size() - calcPresentSubsetGroups(subgroups, desc.inOneGroup);\n\t\tint violatedNotInGroup = calcPresentSubsetGroups(subgroups, desc.notInOneGroup);\n\t\tconstraintViolations.add((double) violatedIsInGroup + violatedNotInGroup);\n\t\t\n\t\t// calculate preferences and rejections satisfaction of each member\n\t\tMap<Member, Double> prefs = new PreferenceEvaluator().evaluate(var, desc);\n\t\tMap<Member, Double> rejs = new RejectionEvaluator().evaluate(var, desc);\n\n\t\t// calculate the individual satisfaction of each member\n\t\tDoubleSummaryStatistics statistics = new DoubleSummaryStatistics();\n\t\tfor (Member m : desc.getMembers()) {\n\t\t\tdouble satisfaction = 2 * prefs.get(m) + rejs.get(m);\n\t\t\tstatistics.accept(satisfaction);\t\t\n\t\t}\n\t\t\n\t\t//objectives.add(-statistics.getAverage());\n\t\tobjectives.add(-statistics.getSum());\n\t\t//objectives.add(-statistics.getMin());\n\t\t\n\t}", "title": "" }, { "docid": "f013f7adc3780ecd4a7c719b8c9324e5", "score": "0.4804129", "text": "public Variable c2DVorticity(Variable u,Variable v){\r\n\t\tcheckDimensions(u,v);\r\n\t\tassignSubDomainParams(u);\r\n\t\t\r\n\t\tVariable vor=new Variable(\"vor\",u);\r\n\t\tvor.setCommentAndUnit(\"vorticity (s^-1)\");\r\n\t\tvor.setValue(undef);\r\n\t\t\r\n\t\tfloat[][][][] udata=u.getData();\r\n\t\tfloat[][][][] vdata=v.getData();\r\n\t\tfloat[][][][] vordata=vor.getData();\r\n\t\t\r\n\t\tif(u.isTFirst()){\r\n\t\t\tfor(int l=0;l<t;l++)\r\n\t\t\tfor(int k=0;k<z;k++)\r\n\t\t\tfor(int j=1;j<y-1;j++){\r\n\t\t\t\tif(BCx==BoundaryCondition.Periodic){\r\n\t\t\t\t\t/*** east boundary ***/\r\n\t\t\t\t\tif(vdata[l][k][j][1]!=undef&&vdata[l][k][j][x-1]!=undef&&udata[l][k][j+1][0]!=undef&&udata[l][k][j-1][0]!=undef)\r\n\t\t\t\t\t\tvordata[l][k][j][0]=\r\n\t\t\t\t\t\t(vdata[l][k][j][1]-vdata[l][k][j][x-1])/(dx*2f)-\r\n\t\t\t\t\t\t(udata[l][k][j+1][0]-udata[l][k][j-1][0])/(dy*2f);\r\n\t\t\t\t\t\r\n\t\t\t\t\t/*** west boundary ***/\r\n\t\t\t\t\tif(vdata[l][k][j][0]!=undef&&vdata[l][k][j][x-2]!=undef&&udata[l][k][j+1][x-1]!=undef&&udata[l][k][j-1][x-1]!=undef)\r\n\t\t\t\t\t\tvordata[l][k][j][x-1]=\r\n\t\t\t\t\t\t(vdata[l][k][j][0]-vdata[l][k][j][x-2])/(dx*2f)-\r\n\t\t\t\t\t\t(udata[l][k][j+1][x-1]-udata[l][k][j-1][x-1])/(dy*2f);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tfor(int i=1;i<x-1;i++)\r\n\t\t\t\tif(vdata[l][k][j][i+1]!=undef&&vdata[l][k][j][i-1]!=undef&&udata[l][k][j+1][i]!=undef&&udata[l][k][j-1][i]!=undef)\r\n\t\t\t\t\tvordata[l][k][j][i]=\r\n\t\t\t\t\t(vdata[l][k][j][i+1]-vdata[l][k][j][i-1])/(dx*2f)-\r\n\t\t\t\t\t(udata[l][k][j+1][i]-udata[l][k][j-1][i])/(dy*2f);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tfor(int l=0;l<t;l++)\r\n\t\t\tfor(int k=0;k<z;k++)\r\n\t\t\tfor(int j=1;j<y-1;j++){\r\n\t\t\t\tif(BCx==BoundaryCondition.Periodic){\r\n\t\t\t\t\t/*** east boundary ***/\r\n\t\t\t\t\tif(vdata[k][j][1][l]!=undef&&vdata[k][j][x-1][l]!=undef&&udata[k][j+1][0][l]!=undef&&udata[k][j-1][0][l]!=undef)\r\n\t\t\t\t\t\tvordata[k][j][0][l]=\r\n\t\t\t\t\t\t(vdata[k][j ][1][l]-vdata[k][j][x-1][l])/(dx*2f)-\r\n\t\t\t\t\t\t(udata[k][j+1][0][l]-udata[k][j-1][0][l])/(dy*2f);\r\n\t\t\t\t\t\r\n\t\t\t\t\t/*** west boundary ***/\r\n\t\t\t\t\tif(vdata[k][j][0][l]!=undef&&vdata[k][j][x-2][l]!=undef&&udata[k][j+1][x-1][l]!=undef&&udata[k][j-1][x-1][l]!=undef)\r\n\t\t\t\t\t\tvordata[k][j][x-1][l]=\r\n\t\t\t\t\t\t(vdata[k][j][0][l]-vdata[k][j][x-2][l])/(dx*2f)-\r\n\t\t\t\t\t\t(udata[k][j+1][x-1][l]-udata[k][j-1][x-1][l])/(dy*2f);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tfor(int i=1;i<x-1;i++)\r\n\t\t\t\tif(vdata[k][j][i+1][l]!=undef&&vdata[k][j][i-1][l]!=undef&&udata[k][j+1][i][l]!=undef&&udata[k][j-1][i][l]!=undef)\r\n\t\t\t\t\tvordata[k][j][i][l]=\r\n\t\t\t\t\t(vdata[k][j][i+1][l]-vdata[k][j][i-1][l])/(dx*2f)-\r\n\t\t\t\t\t(udata[k][j+1][i][l]-udata[k][j-1][i][l])/(dy*2f);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn vor;\r\n\t}", "title": "" }, { "docid": "b8974030f065e000d2e87af3f59f1870", "score": "0.4796508", "text": "static Value getInstantiatedFunctions(ObjectLabel fn, Function fun, DeclareFunctionNode n, Solver.SolverInterface c) {\n if (Options.get().isPropNamePartitioning() && n.isExpression()) {\n PropVarOperations pv = c.getAnalysis().getPropVarOperations();\n FreeVariablePartitioning inheritingFreeVariablePartitioning = c.getState().getContext().getFreeVariablePartitioning();\n Set<String> freeVariableNames = c.getFlowGraph().getSyntacticInformation().getClosureVariableNamesTransitively(fun);\n if (inheritingFreeVariablePartitioning != null) { // remove the free variables where we already have FreeVariablePartitioning from the current context\n freeVariableNames = freeVariableNames.stream().filter(varname -> !inheritingFreeVariablePartitioning.hasInfoForVariable(varname)).collect(Collectors.toSet());\n }\n // read partitioned values for the free variables\n Map<String, PartitionedValue> partitionedValuesForVarNames = freeVariableNames.stream()\n .map(v -> Pair.make(v, UnknownValueResolver.getRealValue(pv.readVariable(v, null, false, false), c.getState())))\n .filter(p -> p.getSecond() instanceof PartitionedValue)\n .collect(Collectors.toMap(Pair::getFirst, p -> (PartitionedValue) p.getSecond()));\n // find partitioning nodes that are common to the partitioned free variables\n Set<AbstractNode> pns = getIntersectedPartitionNodes(partitionedValuesForVarNames.values());\n if (pns != null && !pns.isEmpty()) { // if pns is not null and empty, it means incomparable partition values\n // build partitioned function value\n Map<AbstractNode, Map<PartitioningQualifier, Value>> res =\n pns.stream().collect(Collectors.toMap(\n pn -> pn,\n pn -> partitionedValuesForVarNames.values().stream()\n .flatMap(v -> v.getPartitionQualifiers(pn).stream()\n .filter(q -> partitionedValuesForVarNames.values().stream().noneMatch(v1 -> c.getAnalysis().getUnsoundness().mayIgnorePartition(n, v1.getPartition(pn, q))))).distinct()\n .collect(Collectors.toMap(\n q -> q,\n q -> Value.makeObject(fn).setFreeVariablePartitioning(FreeVariablePartitioning.make(partitionedValuesForVarNames.keySet(), q).join(inheritingFreeVariablePartitioning))))));\n if (REPORT_USAGE) { // TODO: move to monitoring?\n if (!log.isDebugEnabled() && log.isInfoEnabled())\n System.out.print(\"\\r\");\n log.warn(\"Partitioning function value based on existing partitioned value of free variable at \" + n.getSourceLocation() + \" (\" + res.values().stream().mapToInt(Map::size).sum() + \" partitions)\");\n }\n return PartitionedValue.make(res);\n }\n // special case: no partitioned free variables, partition those free variables that have function values\n Map<String, Value> unpartitionedFreeVariables =\n freeVariableNames.stream()\n .map(v -> Pair.make(v, c.getState().readVariableDirect(v)))\n .filter(p -> p.getSecond().getFreeVariablePartitioning() == null && !(p.getSecond() instanceof PartitionedValue) && p.getSecond().getObjectLabels() != null && p.getSecond().getObjectLabels().stream().anyMatch(obj -> obj.getKind() == ObjectLabel.Kind.FUNCTION))\n .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond));\n if (!unpartitionedFreeVariables.isEmpty()) {\n PartitioningQualifier q = PartitioningQualifier.make(n, Property.makeOrdinaryProperty(PKey.make(Value.makeStr(unpartitionedFreeVariables.values().toString())))); // FIXME: hacky partition qualifier\n unpartitionedFreeVariables.forEach((key, value) -> c.getAnalysis().getPropVarOperations().writePropertyWithAttributes(c.getState().getExecutionContext().getVariableObject(),\n StringPKey.make(key),\n PartitionedValue.make(n, mapOf(q, value))));\n if (REPORT_USAGE) { // TODO: move to monitoring?\n if (!log.isDebugEnabled() && log.isInfoEnabled())\n System.out.print(\"\\r\");\n log.warn(\"Partitioning function value based on non-partitioned values of free variable at \" + n.getSourceLocation() + \" (1 partition)\");\n }\n return Value.makeObject(fn).setFreeVariablePartitioning(FreeVariablePartitioning.make(unpartitionedFreeVariables.keySet(), q));\n }\n // no function value partitioning (but keep the FreeVariablePartitioning)\n if (inheritingFreeVariablePartitioning != null) {\n // inherit FreeVariablePartitioning from the current context, if available\n return Value.makeObject(fn).setFreeVariablePartitioning(inheritingFreeVariablePartitioning);\n }\n }\n return Value.makeObject(fn);\n }", "title": "" }, { "docid": "4eccac0fdd180253aa44d1db81fc1830", "score": "0.47610244", "text": "public double variance();", "title": "" }, { "docid": "3b227a816d3140fbb18fc5614b719949", "score": "0.47500494", "text": "private static void varCheck() {\n if((vars.get(_lhs)) != null) {\n double val = vars.get(_lhs);\n System.out.println(val);\n }\n else if(compVars.get(_lhs) != null) {\n String val = compVars.get(_lhs);\n System.out.println(val);\n }\n else {\n System.out.println(\"Error: Illegal variable [no value or illegal name]!\");\n }\n }", "title": "" }, { "docid": "1ded66f591d1b3f4f156d9209980d401", "score": "0.47458184", "text": "public double getVarianceOfDifference(String s1, String s2) {\n LinkedHashMap<String, Statistic> g = myPairDiffStats.get(s1);\n Statistic stat = g.get(s2);\n return stat.getVariance();\n }", "title": "" }, { "docid": "7b75234f720bf4221c38f8d072eb2056", "score": "0.4685935", "text": "public double[] getVariancesOfDifferences() {\n List<Double> list = new ArrayList<>();\n for (String f : myPairDiffStats.keySet()) {\n LinkedHashMap<String, Statistic> g = myPairDiffStats.get(f);\n for (String s : g.keySet()) {\n list.add(getVarianceOfDifference(f, s));\n }\n }\n double[] x = new double[list.size()];\n int i = 0;\n for (Double d : list) {\n x[i] = d.doubleValue();\n i++;\n }\n return x;\n }", "title": "" }, { "docid": "023c91414046c4962113bbbfb48bf437", "score": "0.4682866", "text": "private double variance(double[] v)\r\n\t{\r\n\t\tdouble average = 0.0;\r\n\t\tfor(double d : v)\r\n\t\t\taverage += d;\r\n\t\taverage /= v.length;\r\n\t\tdouble variance = 0.0;\r\n\t\tfor(double d : v)\r\n\t\t\tvariance += Math.pow(d - average,2);\r\n\t\treturn variance / (v.length - 1);\r\n\t}", "title": "" }, { "docid": "44d59552db7f060c2197ca9f26230a12", "score": "0.4671936", "text": "double getVariance();", "title": "" }, { "docid": "bf645d420e7fde471349e563a3877af1", "score": "0.4647698", "text": "public FVDecomposition(Vector<FVolume> fVolumes) {\n this.setFVolumes(fVolumes);\n }", "title": "" }, { "docid": "4373bc2d74c1e48ae5a67bddbcd5575f", "score": "0.46346912", "text": "private static void minimizeVariance(){\n\n\t\ttry\n\t\t{\n\t\t\tdouble[] currentBestTPCS = new double[24];\n\t\t\tdouble[] currentBestTPCN1 = new double[24];\n\t\t\tdouble[] currentBestTPCN2 = new double[24];\n\t\t\tdouble[] currentBestTPCN3 = new double[24];\n\n\t\t\tint duration1 = Integer.parseInt(Constraints.get(0).split(\" \")[0]);\n\t\t\tint start1 = Integer.parseInt(Constraints.get(0).split(\" \")[1]);\n\t\t\tint end1 = Integer.parseInt(Constraints.get(0).split(\" \")[2]);\n\n\t\t\tint duration2 = Integer.parseInt(Constraints.get(1).split(\" \")[0]);\n\t\t\tint start2 = Integer.parseInt(Constraints.get(1).split(\" \")[1]);\n\t\t\tint end2 = Integer.parseInt(Constraints.get(1).split(\" \")[2]);\n\n\t\t\tint iter1 = getTotalIterations(duration1,start1,end1);\n\t\t\tint iter2 = getTotalIterations(duration2,start2,end2);\n\t\t\tint total_iterations = iter1*iter2;\n\n\t\t\tdouble[] bestTPCSArray;\n\t\t\tif(!bestTPCS.isEmpty())\n\t\t\t\tbestTPCSArray = getTPCSfromString(bestTPCS);\n\t\t\telse\n\t\t\t\tbestTPCSArray = new double[24];\n\n\t\t\tdouble[] TPCS = readFileIntoDoubleArray(System.getProperty(\"user.dir\")+File.separator+\"TPCS.txt\");\n\t\t\tdouble[] TPCN1 = readFileIntoDoubleArray(System.getProperty(\"user.dir\")+File.separator+\"TPCN_1.txt\");\n\t\t\tdouble[] TPCN2 = readFileIntoDoubleArray(System.getProperty(\"user.dir\")+File.separator+\"TPCN_2.txt\");\n\t\t\tdouble[] TPCN3 = readFileIntoDoubleArray(System.getProperty(\"user.dir\")+File.separator+\"TPCN_3.txt\");\n\n\t\t\tdouble variance = Double.MAX_VALUE;\n\t\t\t//Extensive search\n\n\t\t\tint [][] selectedPowerProfile =appliancePowerProfile.clone();\n\t\t\tfor (int l = 0; l < selectedPowerProfile.length; l++) \n\t\t\t{\n\t\t\t\tselectedPowerProfile[l] = appliancePowerProfile[l].clone();\n\t\t\t}\n\t\t\tfor(int l=0; l<24;l++)\n\t\t\t{\n\t\t\t\tselectedPowerProfile[9][l]=0;\n\t\t\t\tselectedPowerProfile[10][l]=0;\n\t\t\t}\n\t\t\tfor(int i=0;i<iter1;i++)\n\t\t\t{\n\t\t\t\tint [][] tempPowerProfile =appliancePowerProfile.clone();\n\t\t\t\tfor (int l1 = 0; l1 < tempPowerProfile.length; l1++) \n\t\t\t\t{\n\t\t\t\t\ttempPowerProfile[l1] = appliancePowerProfile[l1].clone();\n\t\t\t\t}\n\t\t\t\tfor(int l=0; l<24;l++)\n\t\t\t\t{\n\t\t\t\t\ttempPowerProfile[9][l]=0;\n\t\t\t\t\ttempPowerProfile[10][l]=0;\n\t\t\t\t}\n\t\t\t\tfor(int k=0;k<duration1;k++)\n\t\t\t\t{\n\t\t\t\t\ttempPowerProfile[9][(start1+i+k)%24] = 1;\n\t\t\t\t}\n\t\t\t\tfor(int j=0;j<iter2;j++)\n\t\t\t\t{\n\t\t\t\t\tfor(int l=0; l<24;l++)\n\t\t\t\t\t{\n\t\t\t\t\t\ttempPowerProfile[10][l]=0;\n\t\t\t\t\t}\n\t\t\t\t\tfor(int k1=0;k1<duration2;k1++)\n\t\t\t\t\t\ttempPowerProfile[10][(start2+j+k1)%24] = 1;\n\n\t\t\t\t\tdouble [] TPCN = calculateNodePowerConsumption(appliancePowerConsumption, tempPowerProfile);\n\n\t\t\t\t\tif(currentNode==1)\n\t\t\t\t\t\tTPCN1 = TPCN.clone();\n\t\t\t\t\telse if(currentNode == 2)\n\t\t\t\t\t\tTPCN2 = TPCN.clone();\n\t\t\t\t\telse if(currentNode == 3)\n\t\t\t\t\t\tTPCN3 = TPCN.clone();\n\n\t\t\t\t\tfor(int m=0;m<24;m++)\n\t\t\t\t\t{\t\t\t\n\t\t\t\t\t\tTPCS[m] = 0;\n\t\t\t\t\t\tif(m<TPCN1.length)\n\t\t\t\t\t\tTPCS[m] += TPCN1[m] ;\n\t\t\t\t\t\tif(m<TPCN2.length)\n\t\t\t\t\t\tTPCS[m] +=\tTPCN2[m] ;\n\t\t\t\t\t\tif(m<TPCN3.length)\n\t\t\t\t\t\tTPCS[m] +=\tTPCN3[m] ;\n\t\t\t\t\t}\n\t\t\t\t\tdouble avg = getAvgPCS(TPCS);\n\t\t\t\t\tdouble currentvar = getVariance(TPCS, avg);\n\t\t\t\t\tif(currentvar < variance)\n\t\t\t\t\t{\n\t\t\t\t\t\tfor (int n = 0; n < selectedPowerProfile.length; n++) \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tselectedPowerProfile[n] = tempPowerProfile[n].clone();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvariance = getVariance(TPCS, avg);\n\t\t\t\t\t\tcurrentBestTPCS = TPCS.clone();\n\t\t\t\t\t\tcurrentBestTPCN1 = TPCN1.clone();\n\t\t\t\t\t\tcurrentBestTPCN2 = TPCN2.clone();\n\t\t\t\t\t\tcurrentBestTPCN3 = TPCN3.clone();\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif(!bestTPCS.isEmpty())\n\t\t\t{\n\t\t\t\tbestVar = getVariance(bestTPCSArray,getAvgPCS(bestTPCSArray));\n\t\t\t\tif(Math.abs(bestVar-variance)<MINIMUM_DIFFERENCE)\n\t\t\t\t{\n\t\t\t\t\tconverging_iterations++;\n\t\t\t\t\tif(converging_iterations>=MAX_CONVERGING_ITERATIONS)\n\t\t\t\t\t{\t\n\t\t\t\t\t\tstop = true;\n\t\t\t\t\t\t//TODO : Communicate to network to stop\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tconverging_iterations=0;\n\t\t\t\t}\n\n\t\t\t\tif(variance < bestVar)\n\t\t\t\t{\n\t\t\t\t\tfor(int k =0;k < 24;k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tappliancePowerProfile[9][k] = selectedPowerProfile[9][k];\n\t\t\t\t\t\tappliancePowerProfile[10][k] = selectedPowerProfile[10][k];\n\t\t\t\t\t}\n\t\t\t\t\tbestTPCS = getStringFromTPCS(currentBestTPCS);\n\t\t\t\t\tbestVar = variance;\n\n\t\t\t\t\tif(currentNode==1)\n\t\t\t\t\t\twriteDoubleArrayToFile(System.getProperty(\"user.dir\")+File.separator+\"TPCN_1.txt\", currentBestTPCN1);\n\t\t\t\t\telse if(currentNode == 2)\n\t\t\t\t\t\twriteDoubleArrayToFile(System.getProperty(\"user.dir\")+File.separator+\"TPCN_2.txt\", currentBestTPCN2);\n\t\t\t\t\telse if(currentNode == 3)\n\t\t\t\t\t\twriteDoubleArrayToFile(System.getProperty(\"user.dir\")+File.separator+\"TPCN_3.txt\", currentBestTPCN3);\n\n\t\t\t\t\twriteDoubleArrayToFile(System.getProperty(\"user.dir\")+File.separator+\"TPCS.txt\", currentBestTPCS);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor(int k =0;k < 24;k++)\n\t\t\t\t{\n\t\t\t\t\tappliancePowerProfile[9][k] = selectedPowerProfile[9][k];\n\t\t\t\t\tappliancePowerProfile[10][k] = selectedPowerProfile[10][k];\n\t\t\t\t}\n\t\t\t\tbestTPCS = getStringFromTPCS(currentBestTPCS);\n\t\t\t\tbestVar = variance;\n\t\t\t\tif(currentNode==1)\n\t\t\t\t\twriteDoubleArrayToFile(System.getProperty(\"user.dir\")+File.separator+\"TPCN_1.txt\", currentBestTPCN1);\n\t\t\t\telse if(currentNode == 2)\n\t\t\t\t\twriteDoubleArrayToFile(System.getProperty(\"user.dir\")+File.separator+\"TPCN_2.txt\", currentBestTPCN2);\n\t\t\t\telse if(currentNode == 3)\n\t\t\t\t\twriteDoubleArrayToFile(System.getProperty(\"user.dir\")+File.separator+\"TPCN_3.txt\", currentBestTPCN3);\n\n\t\t\t\twriteDoubleArrayToFile(System.getProperty(\"user.dir\")+File.separator+\"TPCS.txt\", currentBestTPCS);\n\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(FILE_ERR_MSG);\n\t\t\tprintExceptionMessage();\n\t\t}\n\t}", "title": "" }, { "docid": "23faacfd28b28aac928d3567ac1ecbb1", "score": "0.46232155", "text": "static void addVarFactor(Variation vref, double factor_f) {\n if (vref == null) {\n return;\n }\n\n if (factor_f < -1) {\n return;\n }\n\n vref.cnt += (int) (factor_f * vref.cnt);\n vref.hicnt += (int) (factor_f * vref.hicnt);\n vref.locnt += (int) (factor_f * vref.locnt);\n vref.pmean += factor_f * vref.pmean;\n vref.qmean += factor_f * vref.qmean;\n vref.Qmean += factor_f * vref.Qmean;\n vref.nm += factor_f * vref.nm;\n vref.dirPlus += (int) (factor_f * vref.dirPlus);\n vref.dirMinus += (int) (factor_f * vref.dirMinus);\n }", "title": "" }, { "docid": "979f8d153058ec220f0595cd8f5812a8", "score": "0.4622789", "text": "public abstract Vector getPartialDifferentialString(String var, Vector fixedPoints);", "title": "" }, { "docid": "a6cf49dbce8533c4b3d1d78078193d73", "score": "0.46082306", "text": "private double dualResidual(List<EdgeNode> Vp, List<EdgeNode> V) throws Exception {\n double []x = new double[V.size()];\n int i =0;\n for (EdgeNode n : V) {\n double[] bikp = EdgeNode.getEdgeNodeData(Vp, n.scr, n.dst).relatedValue;// Vp.get(V.indexOf(n)).relatedValue;\n double[] ai = Vector.scale(Vector.sub(bikp, n.relatedValue), rho);\n// double normS = Vector.norm(ai);\n// ret = (ret > normS) ? ret : normS;\n x[i] = Vector.norm(ai);;\n i++; \n }\n return Vector.norm(x);\n }", "title": "" }, { "docid": "f0620785417819b98237a5fb4468e4ea", "score": "0.46042275", "text": "public void divisePar(double v) {\n fois(1 / v);\n }", "title": "" }, { "docid": "c0af05d5760a4e93ccde6bc1016359cb", "score": "0.4600206", "text": "static boolean var_check_func_name(Bytes name, boolean new_var)\n /* name: points to start of variable name */\n /* new_var: true when creating the variable */\n {\n /* Allow for w: b: s: and t:. */\n if (!(vim_strbyte(u8(\"wbst\"), name.at(0)) != null && name.at(1) == (byte)':')\n && !asc_isupper((name.at(0) != NUL && name.at(1) == (byte)':') ? name.at(2) : name.at(0)))\n {\n emsg2(u8(\"E704: Funcref variable name must start with a capital: %s\"), name);\n return true;\n }\n /* Don't allow hiding a function. When \"v\" is not null, we might be assigning\n * another function to the same var, the type is checked below. */\n if (new_var && function_exists(name))\n {\n emsg2(u8(\"E705: Variable name conflicts with existing function: %s\"), name);\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "f436b8ce746ca52c5536b1386bc2d896", "score": "0.4552644", "text": "@Override\r\n\tpublic void divLocal(float var) {\n\t\t\r\n\t}", "title": "" }, { "docid": "7b586319cb609ba799d615ec5fa3e5ea", "score": "0.45053786", "text": "public void getAllVariablesinExpression(Vector<String> v) ;", "title": "" }, { "docid": "5ca1915a1e4f00a0fc900eddc4a7a778", "score": "0.44987282", "text": "public static String getOldFunctionName(SprocPerfValue v) {\n String[] types;\n\n if (v.parameters == null || \"\".equals(v.parameters)) {\n types = new String[0];\n } else {\n types = v.parameters.split(\",\");\n }\n\n StringBuilder b = new StringBuilder();\n b.append(v.name).append(\"(\");\n int i = 0;\n for (String t : types) {\n if (i > 0) {\n b.append(\", \");\n }\n b.append(t);\n i++;\n }\n b.append(\")\");\n\n return b.toString();\n }", "title": "" }, { "docid": "7618e94e3bf77dd2bc2485d85988a146", "score": "0.44965282", "text": "protected double df(double v1, double v2, double n1, double n2) {\n return (((v1 / n1) + (v2 / n2)) * ((v1 / n1) + (v2 / n2))) /\n ((v1 * v1) / (n1 * n1 * (n1 - 1d)) + (v2 * v2) /\n (n2 * n2 * (n2 - 1d)));\n }", "title": "" }, { "docid": "779081fdf8cf63cd527a8941bc6e4740", "score": "0.44888604", "text": "public void div(DVector v) {\n x /= v.x;\n y /= v.y;\n z /= v.z;\n }", "title": "" }, { "docid": "52ec9b9417602a4f12423424df669a90", "score": "0.44767642", "text": "private void evaluateDerivate() {\n results1 = Horner(x, grade1, function1);\n fx1 = results1[grade1 - 1] - y;\n\n derivated1 = Horner(x, grade1, results1);\n dx1 = derivated1[grade1 - 2]; // Is grado-2 because is the value of the derivated evaluated in x\n\n results2 = Horner(x, grade2, function2);\n fx2 = results2[grade2 - 1] - y;\n\n derivated2 = Horner(x, grade2, results2);\n dx2 = derivated2[grade2 - 2]; // Is grado-2 because is the value of the derivated evaluated in x\n }", "title": "" }, { "docid": "d45d6bec0bd47436131544a8124d2018", "score": "0.4453834", "text": "@Test(groups = \"1s\")\n public void testGadavidd2() {\n Model model = new Model();\n IntVar xvar = model.intVar(\"xvar\", -1000, 1000, true);\n IntVar yvar = model.intVar(\"yvar\", -1000, 1000, true);\n yvar.eq(xvar.pow(3)).post();\n Assert.assertTrue(model.getSolver().solve());\n }", "title": "" }, { "docid": "7f0d22c1a596173ccd7777a05349b21e", "score": "0.4451507", "text": "public void testGetDivergenceFunction()\n {\n this.testSetDivergenceFunction();\n }", "title": "" }, { "docid": "584913357c61b90bd0ff025bbd9f4ec0", "score": "0.44487444", "text": "public static VecMathFunc curl(VecMathFunc vFun) {\n\t\tif(vFun.getDim() != 3)\n\t\t\tthrow new FutureyeException(\"Curl only operates in 3D space.\") ;\n\t\tMathFunc Ax = vFun.get(1) ;\n\t\tMathFunc Ay = vFun.get(2) ;\n\t\tMathFunc Az = vFun.get(3) ;\n\t\tList<String> names = vFun.varNames() ;\n\t\tString x = names.get(0) ;\n\t\tString y = names.get(1) ;\n\t\tString z = names.get(2) ;\n\t\tMathFunc curlX = Az.diff(y) - Ay.diff(z) ;\n\t\tMathFunc curlY = Ax.diff(z) - Az.diff(x) ;\n\t\tMathFunc curlZ = Ay.diff(x) - Ax.diff(y) ;\n\t\treturn new SpaceVectorFunction(curlX, curlY, curlZ);\n\t}", "title": "" }, { "docid": "470f4ca5380fd8cea024d0306b18718b", "score": "0.44478124", "text": "void mo123873a(C30466e eVar, float f);", "title": "" }, { "docid": "f5c9e72fd13c625bd3ac338c52984822", "score": "0.44149897", "text": "@Override\r\n\tpublic void divLocal(ShaderVar var) {\n\t\t\r\n\t}", "title": "" }, { "docid": "69257f354b55fa5fae5a6fb36e1e358f", "score": "0.43989453", "text": "public boolean AC_FC(Integer X, Integer V){\n\t\t//Reduce domain Dx\n\t\tD.get(X).clear();\n\t\tD.get(X).add(V);\n\t\t\n\t\t//Put in Q all relevant Y where Y>X\n\t\tArrayList<Integer> Q = new ArrayList<Integer>(); //list of all relevant Y\n\t\tint col = GetColumn(X);\n\t\tint row = GetRow(X);\n\t\tint cell_x = row / size;\n\t\tint cell_y = col / size;\n\t\t\n\t\t//all variables in the same column\n\t\tfor (int i=0; i<size*size; i++){\n\t\t\tif (GetVariable(i,col) > X) {\n\t\t\t\tQ.add(GetVariable(i,col));\n\t\t\t}\n\t\t}\n\t\t//all variables in the same row\n\t\tfor (int j=0; j<size*size; j++){\n\t\t\tif (GetVariable(row,j) > X) {\n\t\t\t\tQ.add(GetVariable(row,j));\n\t\t\t}\n\t\t}\n\t\t//all variables in the same size*size box\n\t\tfor (int i=cell_x*size; i<=cell_x*size + 2; i++) {\n\t\t\tfor (int j=cell_y*size; j<=cell_y*size + 2; j++){\n\t\t\t\tif (GetVariable(i,j) > X) {\n\t\t\t\t\tQ.add(GetVariable(i,j));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\t//REVISE(Y,X)\n\t\tboolean consistent = true;\n\t\twhile (!Q.isEmpty() && consistent){\n\t\t\tInteger Y = Q.remove(0);\n\t\t\tif (REVISE(Y,X)) {\n\t\t\t\tconsistent = !D.get(Y).isEmpty();\n\t\t\t}\n\t\t}\n\t\treturn consistent;\n\t}", "title": "" }, { "docid": "fe0d2867b2dfec75627957314e6dc5cd", "score": "0.4396128", "text": "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n System.out.println(\"Enter the value of v\");\n float v = sc.nextInt();\n System.out.println(\"Enter the value of u\");\n float u = sc.nextInt();\n System.out.println(\"Enter the value of a\");\n float a = sc.nextInt();\n System.out.println(\"Enter the value of s\");\n float s = sc.nextInt();\n\n float Result = (v * v - u * u) / (2 * a * s);\n System.out.println(Result);\n }", "title": "" }, { "docid": "b099c794f403da3b919ddbaa2fe02ac0", "score": "0.43959418", "text": "@Test(groups = \"1s\")\n public void testGadavidd1() {\n Model model = new Model();\n IntVar xvar = model.intVar(\"xvar\", -10000, 10000, true);\n IntVar yvar = model.intVar(\"yvar\", -10000, 10000, true);\n yvar.eq(xvar.pow(2)).post();\n Assert.assertTrue(model.getSolver().solve());\n }", "title": "" }, { "docid": "e8414d4d6caa288aed5506379b3076c1", "score": "0.43789414", "text": "public void solve() {\n List<Pair> pairs = new ArrayList<Pair>();\n for (int i = 0; i < vectors.size(); i++) {\n for (int j = 0; j < vectors.size(); j++) {\n if (i == j) continue;\n Pair pair = new Pair();\n pair.id1 = i;\n pair.id2 = j;\n pair.diff = ListUtils.sub(vectors.get(i), vectors.get(j));\n pairs.add(pair);\n }\n }\n\n // Group pairs b2-b1 with the same difference (up to a constant) into pair sets.\n Set<Pair> hit = new HashSet<Pair>();\n List<PairSet> sets = new ArrayList<PairSet>();\n int maxPairSetSize = 0;\n for (Pair pair : pairs) {\n if (hit.contains(pair)) continue;\n PairSet set = new PairSet();\n for (Pair pair2 : pairs) {\n if (differByConstant(pair.diff, pair2.diff)) {\n hit.add(pair2);\n set.pairs.add(pair2);\n }\n }\n maxPairSetSize = Math.max(maxPairSetSize, set.pairs.size());\n sets.add(set);\n //logs(\"Set %s\", set);\n }\n\n // Keep only pair sets of largest cardinality.\n // If each of the F factors have the same number of possible values K,\n // then each of the surviving sets contain only differences on one factor.\n List<PairSet> newSets = new ArrayList<PairSet>();\n for (PairSet set : sets) {\n if (set.pairs.size() == maxPairSetSize)\n newSets.add(set);\n }\n sets = newSets;\n\n // Try to group the pair sets into factors (sources):\n // {a1-a2, a1-a3, a1-a4, ...}, {b1-b2, b1-b3, b1-b4, ...}.\n // Keep only factors that involve the difference with one pivot (e.g., a1)\n List<Factor> factors = new ArrayList<Factor>();\n Set<PairSet> hitSet = new HashSet<PairSet>();\n for (PairSet set : sets) { // Take set = b2-b1, the first element of this factor\n if (hitSet.contains(set)) continue;\n\n hitSet.add(set);\n Factor factor = new Factor();\n factor.sets.add(set);\n\n for (PairSet set3 : sets) if (isNegative(set, set3)) hitSet.add(set3); // Remove negatives\n\n // Add sets (bins) of the form bi-b1.\n // That share the same id2's.\n for (PairSet set2 : sets) { // For each candidate set2...\n if (hitSet.contains(set2)) continue;\n\n if (!shareSameId1(set, set2)) continue;\n hitSet.add(set2);\n factor.sets.add(set2);\n\n // Will add set2 = bi-b1, so get rid of set1 - set2 for all set1 in factor.sets\n for (PairSet set1 : factor.sets) {\n for (PairSet set3 : sets) {\n if (triangle(set1, set2, set3) || triangle(set2, set1, set3))\n hitSet.add(set3);\n }\n }\n for (PairSet set3 : sets) if (isNegative(set2, set3)) hitSet.add(set3);\n }\n\n LogInfo.logs(\"Factor %s\", factor.sets);\n factors.add(factor);\n }\n\n int F = factors.size(); // Number of factors\n int[] K = new int[F]; // Number of possible values per cluster\n for (int f = 0; f < F; f++)\n K[f] = factors.get(f).sets.size() + 1;\n logs(\"K: %s\", Fmt.D(K));\n\n system = new LinearSystem();\n // Puts variables in order for display reasons\n for (int f = 0; f < F; f++)\n for (int i = 0; i < K[f]; i++)\n for (int j = 0; j < D; j++)\n system.varIndexer.getIndex(\"F\"+f+\"=\"+i+\"_\"+j);\n\n // Build constraint system based on differences - rank deficient\n if (false) {\n // A constraint for each difference pair and dimension\n for (int f = 0; f < F; f++) { // For each factor/source...\n Factor factor = factors.get(f);\n for (int i = 0; i < factor.sets.size(); i++) { // For each possible difference that the factor can take on...\n for (Pair pair : factor.sets.get(i).pairs) {\n String name = names.get(pair.id1) + \"-\" + names.get(pair.id2);\n for (int j = 0; j < D; j++) {\n Constraint c = new Constraint();\n c.name = name + \"_\" + j;\n c.target = pair.diff[j];\n String v1 = \"F\"+f+\"=\"+(i+1)+\"_\"+j;\n String v0 = \"F\"+f+\"=\"+0+\"_\"+j;\n c.add(v1, +1);\n c.add(v0, -1);\n if (!knownNormalization) {\n c.add(names.get(pair.id1) + \"_Z\", -1); // Normalization\n c.add(names.get(pair.id2) + \"_Z\", +1); // Normalization\n }\n system.add(c);\n if (j == 0) logs(\"%s - %s = %s = %s\", v1, v0, c.name, c.target);\n }\n break;\n }\n }\n }\n }\n\n // Still rank deficient, but best thing we have.\n if (true) {\n // A constraint for each vector and dimension\n Constraint[][] constraints = new Constraint[vectors.size()][D];\n for (int i = 0; i < vectors.size(); i++) {\n for (int j = 0; j < D; j++) {\n constraints[i][j] = new Constraint();\n constraints[i][j].name = names.get(i)+\"_\"+j;\n constraints[i][j].target = vectors.get(i)[j]; // Target value\n if (!knownNormalization)\n constraints[i][j].add(names.get(i)+\"_Z\", 1); // Normalization\n }\n }\n for (int f = 0; f < F; f++) { // For each factor...\n Factor factor = factors.get(f);\n for (int i = 0; i < factor.sets.size(); i++) { // For each possible difference that the factor can take on...\n for (Pair pair : factor.sets.get(i).pairs) {\n for (int j = 0; j < D; j++) {\n String v1 = \"F\"+f+\"=\"+(i+1)+\"_\"+j;\n String v0 = \"F\"+f+\"=\"+0+\"_\"+j;\n constraints[pair.id1][j].add(v0, 1);\n constraints[pair.id2][j].add(v1, 1);\n /*if (j == 0) {\n logs(\"ADD %s <- %s\", names.get(pair.id1), v0);\n logs(\"ADD %s <- %s\", names.get(pair.id2), v1);\n }*/\n }\n }\n }\n }\n system = new LinearSystem();\n for (int f = 0; f < F; f++)\n for (int i = 0; i < K[f]; i++)\n for (int j = 0; j < D; j++)\n system.varIndexer.getIndex(\"F\"+f+\"=\"+i+\"_\"+j); // Not necessary, but puts variables in order\n for (int i = 0; i < vectors.size(); i++)\n for (int j = 0; j < D; j++)\n system.add(constraints[i][j]);\n }\n\n system.solve(true);\n }", "title": "" }, { "docid": "4333270fc5b4062a398a47cc165ed54a", "score": "0.43646148", "text": "private double eval(double x, HashMap<Character, Double> varValues) {\n varValues.put('x', x);\n return equation.valueAt(varValues);\n }", "title": "" }, { "docid": "b4f6bcd06d0581e5d509d41f14a02716", "score": "0.4353405", "text": "public String visit(VarDeclaration n, String argu) {\n \t\t\n\t\t//System.out.println(\"argu \"+argu);\n \t\tString s0 = n.f0.accept(this, argu);\n \t\tString s1 = n.f1.accept(this, argu);\n \t\tString s2 = n.f2.toString(); \n\t\tif(classOrMethod.containsKey(s1)==true){\n\t\t\tSystem.out.println(\"Error: name \\\"\"+s1+\"\\\" already exists\");\n\t\t\tSystem.exit(4);\n\t\t}\n\n\t\tif(classOrMethod.containsKey(argu)==true && classOrMethod.get(argu)==\"class\"){\n\t\t\tif(classMember.isEmpty()==true || symbolt.SymbolTable1.containsKey(argu)==false){\n\t\t\t\tclassMember = new HashMap<String, String>();\n\t\t\t}\n\t\n\t\t\tif(classMember.containsKey(s1) == false){\n\t\t\t\tclassMember.put(s1, \"varMember\");\t\t//insert to SymbolTable1(className|member|spec)\n\t\t\t\tsymbolt.SymbolTable1.put(argu, classMember);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Error: name \\\"\"+s1+\"\\\" already exists\");\n\t\t\t\tSystem.exit(3);\n\t\t\t}\n\n\t\t\tif(classMemberType.isEmpty()==true || symbolt.SymbolTable2.containsKey(argu)==false){\n\t\t\t\tclassMemberType = new HashMap<String, String>();\n\t\t\t}\n\t\t\tif(classMemberType.containsKey(s1) == false){\n\t\t\t\tclassMemberType.put(s1, s0);\t\t\t//insert to SymbolTable2(className|member|type)\n\t\t\t\tsymbolt.SymbolTable2.put(argu, classMemberType);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Error2\");\n\t\t\t}\n\t\t}else if(classOrMethod.containsKey(argu)==true && classOrMethod.get(argu)==\"method\"){\n\t\t\tfor(Map.Entry<String, Map<String, String>> t4 : this.symbolt.SymbolTable4.entrySet()){\n\t\t\t\tString methodName = t4.getKey();\t\t//check if local variable is already being used in the method\n\t\t\t\tif(methodName==argu){\n\t\t\t\t\tfor(Map.Entry<String, String> e : t4.getValue().entrySet()){\n\t\t\t\t\t\tif(e.getKey()==s1){\n\t\t\t\t\t\t\tSystem.out.println(\"Error: name \\\"\"+s1+\"\\\" already exists as local variable\"+e.getKey()+e.getValue());\n\t\t\t\t\t\t\tSystem.exit(7);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(Map.Entry<String, Map<String, String>> t3 : this.symbolt.SymbolTable3.entrySet()){\n\t\t\t\tString mname = t3.getKey();\t\t\t//check if local variable name is already being used as a parameter in the method\n\t\t\t\tif(mname==argu){\n\t\t\t\t\tfor(Map.Entry<String, String> e : t3.getValue().entrySet()){\n\t\t\t\t\t\tif(e.getKey()==s1){\n\t\t\t\t\t\t\tSystem.out.println(\"Error: name \\\"\"+s1+\"\\\" already exists as parameter\"+e.getKey()+e.getValue());\n\t\t\t\t\t\t\tSystem.exit(8);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(methodVars.isEmpty()==true || symbolt.SymbolTable4.containsKey(argu)==false){\n\t\t\t\tmethodVars = new HashMap<String, String>();\n\t\t\t}\n\t\n\t\t\tif(methodVars.containsKey(s1) == false){\n\t\t\t\tmethodVars.put(s1, s0);\t\t\t\t//insert to SymbolTable4(methodName|localVar|type)\n\t\t\t\tsymbolt.SymbolTable4.put(argu, methodVars);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"Error4\");\n\t\t\t}\n\t\t}\n\t\tString s = s0+s1+s2;\n\t\treturn null;\n \t}", "title": "" }, { "docid": "d7f11bf623544bdbdde5d14db0dd9b0a", "score": "0.43425462", "text": "public void sspevd_(CHARACTER JOBZ,CHARACTER UPLO,INTEGER N,float[] AP,float[] W,float[] Z,INTEGER LDZ,float[] WORK,INTEGER LWORK,int[] IWORK,INTEGER LIWORK,INTEGER INFO);", "title": "" }, { "docid": "3d8d7ab4160d05974602a5cdb37e96ab", "score": "0.43236938", "text": "private static native void fndiverg0(Object zmid, int zmid_byte_offset, Object ztop, int ztop_byte_offset, Object zbot, int zbot_byte_offset, Object ptop, int ptop_byte_offset, Object pbot, int pbot_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset, Object dx, int dx_byte_offset, Object dy, int dy_byte_offset, Object f, int f_byte_offset, Object fnx, int fnx_byte_offset, Object fny, int fny_byte_offset, Object w1, int w1_byte_offset, Object dtdx, int dtdx_byte_offset, Object dtdy, int dtdy_byte_offset, Object qx, int qx_byte_offset, Object qy, int qy_byte_offset, Object fndiv, int fndiv_byte_offset);", "title": "" }, { "docid": "ec63b4e82ccca4161ea1fd36bbb63a7d", "score": "0.4320817", "text": "private static void varCreateAndResolve() throws ArithmeticException, IllegalArgumentException, EmptyStackException {\n if(_lhs.equals(\"i\")) {\n System.out.println(\"Error: Illegal assignment [i is unassignable].\");\n return;\n }\n if(compVars.get(_lhs) != null) {\n compVars.remove(_lhs);\n }\n if(_lhs.length() != 0 && _rhs.length() != 0) {\n if((RPNCal.isEquation(_lhs) || isVariable(_lhs) ) && _rhs.equals(\"?\")) {\n String[] tokens = tokens(_lhs);\n boolean flag = true;\n\n for(int i = 0; i < tokens.length; i++) {\n if(isVariable(tokens[i])) {\n if(vars.get(tokens[i]) != null) {\n tokens[i] = Double.toString(vars.get(tokens[i]));\n }\n else {\n System.out.println(\"Error: Illegal variable in equation!\");\n _lhs = \"\";\n _rhs = \"\";\n flag = false;\n break;\n }\n }\n }\n if(flag) {\n CreateVars obj = new CreateVars(tokens);\n System.out.println(obj.getValue());\n _rhs = \"\";\n _lhs = \"\";\n return;\n }\n else {\n return;\n }\n }\n else if(!isVariable(_lhs) && _lhs.length() != 0) {\n System.out.println(\"Error: Illegal Variable Name / operation.\");\n _lhs = \"\";\n _rhs = \"\";\n return;\n }\n if(RPNCal.isEquation(_rhs) || RPNCal.isNumber(_rhs)) {\n String[] tokens = tokens(_rhs);\n boolean flag = true;\n\n for(int i = 0; i < tokens.length; i++) {\n if(isVariable(tokens[i])) {\n if(vars.get(tokens[i]) != null) {\n tokens[i] = Double.toString(vars.get(tokens[i]));\n }\n else {\n System.out.println(\"Error: Illegal variable in equation!\");\n _lhs = \"\";\n _rhs = \"\";\n flag = false;\n break;\n }\n }\n }\n if(flag) {\n CreateVars obj = new CreateVars(_lhs, tokens);\n if(RPNCal.isNumber(Double.toString((obj.getValue())))) {\n vars.put(obj.getVarName(), obj.getValue());\n System.out.println(obj.getValue());\n }\n else {\n System.out.println(\"Error: illegal operation.\");\n }\n _rhs = \"\";\n _lhs = \"\";\n }\n }\n else {\n ;\n }\n }\n }", "title": "" }, { "docid": "9af2d0921f96e805d9d1c863757f47fe", "score": "0.43200025", "text": "Double Variance(int k,Double M[][])\n {\n Double variance=0.0;\n \n for(int i=0; i<M[k].length; i++)\n {\n Double wik=(M[k][i]-Wk(k,M));\n variance+=(wik*wik);\n }\n Double n=Double.valueOf(M[k].length);\n variance = (variance*n)/((n-1)*(n-1)*(n-1));\n return variance;\n }", "title": "" }, { "docid": "1bb16cc381c2bcee21c3f58a2779c778", "score": "0.43151835", "text": "public float varianza(){\n\t\t\n\t\tfloat sumatorio = 0.0f;\n\t\tfloat media = this.mediaAritmetica();\n\t\t\n\t\t\n\t\tfor (int n : vector) {\n\t\t\tsumatorio += (float) Math.pow((n-media),2);\n\t\t}\n\t\t\n\t\t\n\t\treturn sumatorio/vector.length;\n\t}", "title": "" }, { "docid": "ece5c4a28e1dcb586a91a96226efff1c", "score": "0.4313317", "text": "protected void update()\n {\n if (var <= minVar) var = minVar;\n sdev = Math.sqrt(var);\n probCoef = 1.0 / (sdev * sqrt_2pi);\n loglikCoef = Math.log(probCoef);\n normal = null;\n }", "title": "" }, { "docid": "fb1cb25b158a3b93552c5b817050aa0a", "score": "0.43099263", "text": "private void dfsUtil(int s, int v) {\n\n//\t\tSystem.out.println(String.format(\"s=%d v=%d\", s,v));\n\t\t// Mark reachability from\n\t\t// s to v as true.\n\t\tif(s==v){\n//\t\t\tif(adjList[v].contains(v)) // now the result is the same as for GraphClosure\n\t\t\ttc[s][v] = 1;\n\t\t\t}\n\t\telse\n\t\t\ttc[s][v] = 1;\n\t\t\t\n\t\t// Find all the vertices reachable\n\t\t// through v\n\t\tfor (int adj : adjList[v]) {\t\t\n\t\t\tif (tc[s][adj]==0) { // if not visited\n\t\t\t\tdfsUtil(s, adj);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "1630b9f4549d6098d1e9d3a1ed1ed254", "score": "0.42982456", "text": "public static double var(float[] x) {\n if (x.length < 2) {\n throw new IllegalArgumentException(\"Array length is less than 2.\");\n }\n\n double sum = 0.0;\n double sumsq = 0.0;\n for (float xi : x) {\n sum += xi;\n sumsq += xi * xi;\n }\n\n int n = x.length - 1;\n return sumsq / n - (sum / x.length) * (sum / n);\n }", "title": "" }, { "docid": "50d3d8dd511c3536a9bb423e7892a638", "score": "0.42919898", "text": "public static double cvVariance(double[] scores) {\n double sum = 0;\n double sumSquares = 0;\n for (double d : scores) {\n sum += d;\n sumSquares += d * d;\n }\n\n double avg = sum / scores.length;\n int n = scores.length;\n\n double variance = (sumSquares - (n * avg * avg)) / n;\n\n return variance;\n }", "title": "" }, { "docid": "14d935f2d9ee70849d4230666a3ad645", "score": "0.42909738", "text": "@Test\n public void testDifferentiation1() {\n final int freeParam = 3;\n final int order = 5;\n final FDSFactory<T> factory = buildFactory(freeParam, order);\n final FieldDerivativeStructure<T> f = factory.variable(0, 1.0);\n final int[] orders = new int[freeParam];\n orders[0] = 2;\n orders[1] = 1;\n orders[2] = 1;\n final T value = factory.getValueField().getZero().newInstance(10.);\n f.setDerivativeComponent(factory.getCompiler().getPartialDerivativeIndex(orders), value);\n final FieldDerivativeStructure<T> dfDx = f.differentiate(0, 1);\n orders[0] -= 1;\n Assert.assertEquals(1., dfDx.getPartialDerivative(new int[freeParam]).getReal(), 0.);\n Assert.assertEquals(value.getReal(), dfDx.getPartialDerivative(orders).getReal(), 0.);\n checkEquals(factory.constant(0.0), f.differentiate(0, order + 1), 0.);\n }", "title": "" }, { "docid": "b412740f1c9b886c176467f0460cc14b", "score": "0.42878082", "text": "public void calculateFitness() throws Exception {\n double variance = 0;\n fitness = 0;\n double[] intermediateResults = new double[GeneSet.functionValuesArr.length];\n String[] functionParts = this.data.split(\"(\\\\sADD\\\\s|\\\\sSUBTRACT\\\\s)\");\n ArrayList<String> simpleOperations = new ArrayList<>();\n Pattern pattern = Pattern.compile(\"(ADD | SUBTRACT)\");\n Matcher matcher = pattern.matcher(this.data);\n while (matcher.find()) {\n simpleOperations.add(matcher.group().trim());\n }\n int functionPartCounter = 0;\n for (String functionPart : functionParts) {\n int counter = 0;\n for (double[] value : GeneSet.functionValuesArr) {\n if (functionPartCounter == 0) {\n intermediateResults[counter] += calculatePart(functionPart, value[0]);\n } else {\n if (functionPartCounter < functionParts.length && functionParts.length > 1) {\n if (simpleOperations.get(functionPartCounter - 1).equals(\"ADD\"))\n intermediateResults[counter] += calculatePart(functionPart, value[0]);\n else {\n intermediateResults[counter] -= calculatePart(functionPart, value[0]);\n }\n }\n }\n if (functionPartCounter == functionParts.length - 1) {\n variance += Math.abs(intermediateResults[counter] - GeneSet.functionValuesArr[counter][1]);\n }\n\n counter++;\n }\n functionPartCounter++;\n }\n\n this.fitness = variance / GeneSet.functionValuesArr.length;\n\n }", "title": "" }, { "docid": "7ce041ede558818b4a4daf43f4fbb5a8", "score": "0.42844203", "text": "public void fixupVariables(Vector vars, int globalsSize) {\n/* 86 */ super.fixupVariables(vars, globalsSize);\n/* 87 */ this.m_functionExpr.fixupVariables(vars, globalsSize);\n/* */ }", "title": "" }, { "docid": "25c9c04d220d9d078904d1b312385999", "score": "0.42750028", "text": "public double computeValuations() {\r\n\t\tdouble result = 0.0d;\r\n\t\tAbstractOrder order = null;\r\n\t\tAbstractBundleOrder bundleOrder = null;\r\n\t\tint size = size();\r\n\t\tfor (int a = 0; a < size; a++) {\r\n\t\t\torder = getOrder(a);\r\n\t\t\tIterator bundleOrderIterator = order.getBundleOrders().values()\r\n\t\t\t\t\t.iterator();\r\n\t\t\twhile (bundleOrderIterator.hasNext()) {\r\n\t\t\t\tbundleOrder = (AbstractBundleOrder) bundleOrderIterator.next();\r\n\t\t\t\tresult += bundleOrder.getValuation();\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "5402ae08610b1a303542123b830208bc", "score": "0.42734113", "text": "private void computeEquationParts() {\n exp_multiplier = Math.sqrt(2.0 * Math.PI) / sigma / rho;\n exp_member = 4.0 * sigma * sigma;\n }", "title": "" }, { "docid": "f8e5802a7a60981e603593e9e71fb669", "score": "0.4265582", "text": "private static native void fndiverg1(Object zmid, int zmid_byte_offset, Object ztop, int ztop_byte_offset, Object zbot, int zbot_byte_offset, Object ptop, int ptop_byte_offset, Object pbot, int pbot_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset, Object dx, int dx_byte_offset, Object dy, int dy_byte_offset, Object f, int f_byte_offset, Object fnx, int fnx_byte_offset, Object fny, int fny_byte_offset, Object w1, int w1_byte_offset, Object dtdx, int dtdx_byte_offset, Object dtdy, int dtdy_byte_offset, Object qx, int qx_byte_offset, Object qy, int qy_byte_offset, Object fndiv, int fndiv_byte_offset);", "title": "" }, { "docid": "7529c512706069764379adda5feb7647", "score": "0.426279", "text": "public Variable c2DGradientMagnitude(Variable v){\r\n\t\tVariable grdx=cDerivative(v,Dimension.X);\r\n\t\tVariable grdy=cDerivative(v,Dimension.Y);\r\n\t\t\r\n\t\tVariable mag=grdx.hypotenuseEq(grdy);\r\n\t\t\r\n\t\tmag.setName(\"grdmag\");\r\n\t\tmag.setCommentAndUnit(\"magnitude of \"+v.getName()+\" gradient (\"+v.getUnit()+\" m^-1)\");\r\n\t\t\r\n\t\treturn mag;\r\n\t}", "title": "" }, { "docid": "7d11aa1301f08fd848e3e3b0920ebe09", "score": "0.4252832", "text": "public void g(a aVar) {\n d[] d2 = d();\n m();\n l(d2, aVar);\n c a2 = a();\n o h = this.f12557c ? a2.h() : a2.i();\n o b2 = this.f12557c ? a2.b() : a2.c();\n int e2 = e((int) h.d());\n int e3 = e((int) b2.d());\n int i = -1;\n int i2 = 0;\n int i3 = 1;\n while (e2 < e3) {\n if (d2[e2] != null) {\n d dVar = d2[e2];\n int c2 = dVar.c() - i;\n if (c2 == 0) {\n i2++;\n } else {\n if (c2 == 1) {\n i3 = Math.max(i3, i2);\n i = dVar.c();\n } else if (c2 < 0 || dVar.c() >= aVar.c() || c2 > e2) {\n d2[e2] = null;\n } else {\n if (i3 > 2) {\n c2 *= i3 - 2;\n }\n boolean z = c2 >= e2;\n for (int i4 = 1; i4 <= c2 && !z; i4++) {\n z = d2[e2 - i4] != null;\n }\n if (z) {\n d2[e2] = null;\n } else {\n i = dVar.c();\n }\n }\n i2 = 1;\n }\n }\n e2++;\n }\n }", "title": "" }, { "docid": "8b1b589f50012b03dbc28bc058c5a2b1", "score": "0.4240137", "text": "@Test\n public void shouldListVariablesFunction2() {\n Term term = new Term(new Value(1), new Division(), new Value(\"div\"));\n\n ListVariablesVisitor listVisitor = new ListVariablesVisitor();\n term.accept(listVisitor);\n\n final List<String> result = listVisitor.getVariables();\n\n assertThat(result, containsInAnyOrder(\"div\"));\n }", "title": "" }, { "docid": "9e6b88ee03b26dd1066fb188579bb2ef", "score": "0.4225731", "text": "public void propagateWithDivisions(boolean computeUtilitiesTable, boolean applySubsetRule, ArrayList<String> orderOfElim, boolean groupNoDependents){\n\t\t\n\t\tNode x;\n\t\n\t\tint i;\n\t\tArrayList<String> orderOfElimination;\n\t\tTreePotentialsSV tree;\n\t\tPotentialTable policyTable;\n\t\tPotentialTable utilitiesTable;\n\t\tTreePotentialsSV probTree;\n\t\tTreePotentialsSV utilTree;\n\n\t\t \n \t\t\n \t\t\n\t //Initializes the crono\n \t\t\n\t crono.start();\n \t\t\n\t // First at all, remove all results stored in results vector\n\n\t results.removeAllElements();\n \n //Now, I suppose there aren't any observations\n //\tnotRemoved=getNotObservedNodes();\n \t\t\n//We check if an elimination order is given\n\t if (orderOfElim == null){\n\t\t // Find out the order of elimination\n\t\t orderOfElimination=getTotalOrder();\n\t }\n\t else{\n\t\t orderOfElimination = orderOfElim;\n\t }\n\n\t tree = new TreePotentialsSV(network);\n\t \n\t utilTree=tree.quitUtilitiesTree();\n\t probTree=tree;\n\t \n\t //Remove consecutive operators\n\t utilTree.compactTree();\n\t \n\n\t//Statistics about the size of the problem\n\t\t//Statistics about the size of the problem\n\t\tdouble size = probTree.getSize()+utilTree.getSize();\n\t\tstatistics.addSize(size);\n\t\tSystem.out.println(\"The size of the potentials is: \"+size);\n\t\n\n// Loop to eliminate the variables\n\n for (i=0; i<orderOfElimination.size() ; i++) {\n \t\n \tif (applySubsetRule){\n \t\twhile (utilTree.applySubsetRule()==true){\n \t\t\n \t\t}\n \t}\n \n // Select next variable to remove\n\n x=network.getNode(orderOfElimination.get(i));\n\n // Store the operation\n \n statistics.addOperation(\"Variable elimination: \"+x.getName());\n \n System.out.println(\"Removing variable: \"+x.getName());\n\n switch (x.getKindOfNode()){\n \tcase Node.CHANCE:\n\t\tutilTree.eliminateWithDivisions(probTree,x,statistics,false);\n\t\tbreak;\n\tcase Node.DECISION:\n\t//\tThe result of the elimination of a decision is a vector \n //that contains two tables: one of utilities and other of policies\n\n\tif (computeUtilitiesTable){\n\t//Table with the utilities\n\t\t utilitiesTable=utilTree.getUtilitiesEliminationWithD(x);\n\t\t results.add(utilitiesTable);\n\t}\n\t\n\t//Table with the utilities to obtain the policy\n\tpolicyTable=utilTree.eliminateWithDivisions(probTree,x, statistics, groupNoDependents);\n\tresultsForPolicies.add(policyTable);\n }\n \n\n \n } // end for\n\n\n//Reduce the tree into an only leaf\nutilTree.getRoot().reduce();\n \n// Finally set the final utility about the evaluation\nstatistics.setFinalExpectedUtility(utilTree.getRoot().getRelation().getValues());\n\nif (computeUtilitiesTable==false){\n\t//results is irrelevant. However, we do it's equal than 'resultsForPolicies'\n \tresults=resultsForPolicies;\n}\n\n\n// Set the time needed to the evaluation\n\nstatistics.setTime(crono.getTime());\n\n/*if (computeUtilitiesTable){\n\tSystem.out.println(\"Evaluation with division of potentials, utilities and policies\");\n}\nelse{\n\tSystem.out.println(\"Evaluation with division of potentials, only policies\");\n}*/\n\n// Shows the time needed to complete the evaluation\n\n//crono.viewTime();\n\n \n \n \t\n}", "title": "" }, { "docid": "866f0dc67affd8475fd895868136d24b", "score": "0.42237034", "text": "@Test\n void associativityOfDerivative() {\n // https://www.wolframalpha.com/input/?i=derivative+of+%7B%7Ba%2Cb%7D%2C%7Bc%2Cd%7D%7D%7B%7Be%2Cf%7D%2C%7Bg%2Ch%7D%7D%7B%7B1%7D%2C%7B-1%7D%7D+by+f\n final ParameterMatrix w1 = new ParameterMatrix(0, 2, 2);\n final ParameterMatrix w2 = new ParameterMatrix(4, 2, 2);\n final VectorFunction vector = new ConstantVector(new double[] { 1.0, -1.0 });\n final MatrixVectorProductFunction multiplication = new MatrixVectorProductFunction(\n w2,\n new MatrixVectorProductFunction(\n w1,\n vector\n )\n );\n\n final int variableIndex = w1.indexFor(0, 1);\n final VectorFunction derivative = multiplication.differentiate(variableIndex);\n\n assertArgumentInvariant(8, values -> {\n final Vector derivativeVector = derivative.apply(values);\n final double firstVar = values[w2.indexFor(0, 0)];\n final double secondVar = values[w2.indexFor(1, 0)];\n\n assertEquals(2, derivativeVector.length(), \"Length not equal\");\n assertEquals(-1.0 * firstVar, derivativeVector.get(0), 0.0001);\n assertEquals(-1.0 * secondVar, derivativeVector.get(1), 0.0001);\n });\n }", "title": "" }, { "docid": "48997923822166dedd2bdafa81ed6af5", "score": "0.4223428", "text": "static void computeMeanVariance (double[] x, double[] y)\n {\n\tdouble meanX = computeMean (x);\n\tdouble meanY = computeMean (y);\n\tdouble varX = computeVariance (x, meanX);\n\tdouble varY = computeVariance (y, meanY);\n\n\t// Covariance:\n\tdouble total = 0;\n\tfor (int i=0; i<x.length; i++) {\n\t for (int j=0; j<y.length; j++) {\n\t\ttotal += (x[i]-meanX) * (y[i]-meanY);\n\t }\n\t}\n\tdouble cov = total / (x.length-1);\n\tSystem.out.printf (\" meanX=%6.3f, meanY=%6.3f varX=%6.3f, varY=%6.3f covariance=%6.3f \\n\", meanX, meanY, varX, varY, cov);\n }", "title": "" }, { "docid": "d317e32738a17a0e57b910bf83d33b8e", "score": "0.42226592", "text": "public double getHeVFormationEnergy(int heSize, int vSize) {\n\n\t\tdouble energy = Double.NEGATIVE_INFINITY;\n\t\t// The following coefficients are computed using the above and are used\n\t\t// to evaluate the full function f(x,y).\n\t\tdouble[] coefficients = { 0.0, 0.0, 0.0, 0.0 };\n\n\t\t// Check to see if the vacancy size is large enough that the energy can\n\t\t// be computed from the fit or if it is so small that the exact values\n\t\t// must be used instead.\n\t\tif (vSize > 2) {\n\t\t\t// Get the He/V ratio\n\t\t\tdouble x = 2.0 * (((double) heSize / (double) vSize) / 9.0) - 1.0;\n\t\t\t// Initialize the vacancy number\n\t\t\tdouble y = 0.0;\n\n\t\t\t// We have 2 fits, one for low V and one for high V\n\t\t\tif (vSize <= 27) {\n\t\t\t\t// Compute the vacancy number\n\t\t\t\ty = 2.0 * (((double) vSize - 1.0) / 26.0) - 1.0;\n\t\t\t\t// Get the coefficients\n\t\t\t\tcoefficients[0] = compute5thOrderLegendre(x, c0CoefficientsLow);\n\t\t\t\tcoefficients[1] = compute5thOrderLegendre(x, c1CoefficientsLow);\n\t\t\t\tcoefficients[2] = compute5thOrderLegendre(x, c2CoefficientsLow);\n\t\t\t\tcoefficients[3] = compute5thOrderLegendre(x, c3CoefficientsLow);\n\t\t\t} else {\n\t\t\t\t// Compute the vacancy number\n\t\t\t\ty = 2.0 * (((double) vSize - 1.0) / 451.0) - 1.0;\n\t\t\t\t// Get the coefficients\n\t\t\t\tcoefficients[0] = compute5thOrderLegendre(x, c0CoefficientsHigh);\n\t\t\t\tcoefficients[1] = compute5thOrderLegendre(x, c1CoefficientsHigh);\n\t\t\t\tcoefficients[2] = compute5thOrderLegendre(x, c2CoefficientsHigh);\n\t\t\t\tcoefficients[3] = compute5thOrderLegendre(x, c3CoefficientsHigh);\n\t\t\t}\n\t\t\t// Get the energy\n\t\t\tenergy = compute3rdOrderLegendre(y, coefficients);\n\n\t\t} else if ((vSize == 1 && heSize < heV1FormationEnergies.length)\n\t\t\t\t|| (vSize == 2 && heSize < heV2FormationEnergies.length)) {\n\t\t\t// Get the exact energy\n\t\t\tenergy = (vSize == 1) ? heV1FormationEnergies[heSize] : heV2FormationEnergies[heSize];\n\t\t}\n\n\t\treturn energy;\n\t}", "title": "" }, { "docid": "bd31ee51b54e2f9901977e1aec99665a", "score": "0.42191952", "text": "public void setVariable(ArrayList<FunVariable> fv) {\n\t\tfunVariable = fv;\n\t}", "title": "" }, { "docid": "ee6d1b34333311c6c2bffd68e23a7844", "score": "0.4214015", "text": "public Variable cYZVorticity(Variable v,Variable w){\r\n\t\tcheckDimensions(v,w);\r\n\t\tassignSubDomainParams(v);\r\n\t\t\r\n\t\tVariable vor=new Variable(\"vor\",v);\r\n\t\tvor.setCommentAndUnit(\"vorticity in Y-P section (s^-1)\");\r\n\t\tvor.setValue(undef);\r\n\t\t\r\n\t\tfloat[][][][] vdata=v.getData();\r\n\t\tfloat[][][][] wdata=w.getData();\r\n\t\tfloat[][][][] vordata=vor.getData();\r\n\t\t\r\n\t\tif(v.isTFirst()){\r\n\t\t\tfor(int l=0;l<t;l++)\r\n\t\t\tfor(int i=0;i<x;i++)\r\n\t\t\tfor(int k=1;k<z-1;k++)\r\n\t\t\tfor(int j=1;j<y-1;j++)\r\n\t\t\tif(wdata[l][k][j+1][i]!=undef&&wdata[l][k][j-1][i]!=undef&&vdata[l][k+1][j][i]!=undef&&vdata[l][k-1][j][i]!=undef){\r\n\t\t\t\tvordata[l][k][j][i]=\r\n\t\t\t\t(wdata[l][k][j+1][i]-wdata[l][k][j-1][i])/(dy*2f)-\r\n\t\t\t\t(vdata[l][k+1][j][i]-vdata[l][k-1][j][i])/(dz+dz);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tfor(int l=0;l<t;l++)\r\n\t\t\tfor(int i=0;i<x;i++)\r\n\t\t\tfor(int k=1;k<z-1;k++)\r\n\t\t\tfor(int j=1;j<y-1;j++)\r\n\t\t\tif(wdata[k][j+1][i][l]!=undef&&wdata[k][j-1][i][l]!=undef&&vdata[k+1][j][i][l]!=undef&&vdata[k-1][j][i][l]!=undef){\r\n\t\t\t\tvordata[k][j][i][l]=\r\n\t\t\t\t(wdata[k][j+1][i][l]-wdata[k][j-1][i][l])/(dy*2f)-\r\n\t\t\t\t(vdata[k+1][j][i][l]-vdata[k-1][j][i][l])/(dz+dz);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn vor;\r\n\t}", "title": "" }, { "docid": "36aea2ab6d51e8bff2779fb36ce03615", "score": "0.42134744", "text": "public void setfvecCD() {\n double densTBO =\n characterizeClass.PVTsimDensities[characterizeClass.getFirstPlusFractionNumber() - 6];\n // 0.71;\n // //characterizeClass.getDensLastTBP();\n fvecCD.set(0, 0, (characterizeClass.getCoef(2) + characterizeClass.getCoef(3)\n * Math.log(characterizeClass.getFirstPlusFractionNumber() - 1)) - densTBO);\n double temp = 0.0;\n double temp2 = 0;\n for (int i = characterizeClass.getFirstPlusFractionNumber(); i < characterizeClass\n .getLastPlusFractionNumber(); i++) {\n temp += Math.exp(characterizeClass.getCoef(0) + characterizeClass.getCoef(1) * (i))\n * characterizeClass.PVTsimMolarMass[i - 6];\n temp2 += Math.exp(characterizeClass.getCoef(0) + characterizeClass.getCoef(1) * (i))\n * characterizeClass.PVTsimMolarMass[i - 6]\n / (characterizeClass.getCoef(2) + characterizeClass.getCoef(3) * Math.log(i));\n }\n fvecCD.set(1, 0, temp / temp2 - characterizeClass.getDensPlus());\n }", "title": "" }, { "docid": "6adab18700dcf8be861d5a978c35a543", "score": "0.42097634", "text": "public void computeCalculations() {\n /*\n MEAN CALCULATION\n */\n double mArea = 0;\n double mPerimeter = 0;\n double m1 = 0;\n double m2 = 0;\n double m3 = 0;\n\n for (int i = 0; i < descriptors.size(); i++) {\n mArea += descriptors.get(i).getArea();\n mPerimeter += descriptors.get(i).getPerimeter();\n m1 += descriptors.get(i).getHuMoments()[0];\n m2 += descriptors.get(i).getHuMoments()[1];\n m3 += descriptors.get(i).getHuMoments()[2];\n }\n mean[0] = mArea / descriptors.size();\n mean[1] = mPerimeter / descriptors.size();\n mean[2] = m1 / descriptors.size();\n mean[3] = m2 / descriptors.size();\n mean[4] = m3 / descriptors.size();\n\n /*\n VARIANCE CALCULATION\n */\n\n mArea = 0;\n mPerimeter = 0;\n m1 = 0;\n m2 = 0;\n m3 = 0;\n\n for (int i = 0; i < descriptors.size(); i++) {\n mArea += (descriptors.get(i).getArea() - mean[0]) * (descriptors.get(i).getArea() - mean[0]);\n mPerimeter += (descriptors.get(i).getPerimeter() - mean[1]) * (descriptors.get(i).getPerimeter() - mean[1]);\n m1 += (descriptors.get(i).getHuMoments()[0] - mean[2]) * (descriptors.get(i).getHuMoments()[0] - mean[2]);\n m2 += (descriptors.get(i).getHuMoments()[1] - mean[3]) * (descriptors.get(i).getHuMoments()[1] - mean[3]);\n m3 += (descriptors.get(i).getHuMoments()[2] - mean[4]) * (descriptors.get(i).getHuMoments()[2] - mean[4]);\n }\n\n /*variance[0] = (mArea) / descriptors.size();\n variance[1] = (mPerimeter) / descriptors.size();\n variance[2] = (m1) / descriptors.size();\n variance[3] = (m2) / descriptors.size();\n variance[4] = (m3) / descriptors.size();*/\n\n variance[0] = ((mean[0] * 0.01) * (mean[0] * 0.01) + mArea) / descriptors.size();\n variance[1] = ((mean[1] * 0.01) * (mean[1] * 0.01) + mPerimeter) / descriptors.size();\n variance[2] = ((mean[2] * 0.01) * (mean[2] * 0.01) + m1) / descriptors.size();\n variance[3] = ((mean[3] * 0.01) * (mean[3] * 0.01) + m2) / descriptors.size();\n variance[4] = ((mean[4] * 0.01) * (mean[4] * 0.01) + m3) / descriptors.size();\n\n /*\n Variance correction\n */\n\n /*variance[0] = (mean[0] * 0.01) * (mean[0] * .01) / descriptors.size()\n + (descriptors.size() - 1) / descriptors.size() * variance[0];\n variance[1] = (mean[1] * 0.01) * (mean[1] * .01) / descriptors.size()\n + (descriptors.size() - 1) / descriptors.size() * variance[1];\n variance[2] = (mean[2] * 0.01) * (mean[2] * .01) / descriptors.size()\n + (descriptors.size() - 1) / descriptors.size() * variance[2];\n variance[3] = (mean[3] * 0.01) * (mean[3] * .01) / descriptors.size()\n + (descriptors.size() - 1) / descriptors.size() * variance[3];\n variance[4] = (mean[4] * 0.01) * (mean[4] * .01) / descriptors.size()\n + (descriptors.size() - 1) / descriptors.size() * variance[4];*/\n\n }", "title": "" }, { "docid": "0cfdde8310b9bb6d4cf9328ed31483e9", "score": "0.42038554", "text": "private void compute_new_v()\n {\n\t// p is fully initialized from x1\n\t //float[] p = _p;\n\t // pp is fully initialized from p\n\t //float[] pp = _pp; \n\t \n\t //float[] new_v = _new_v;\n\t \n \t//float[] new_v = new float[32]; // new V[0-15] and V[33-48] of Figure 3-A.2 in ISO DIS 11172-3\n\t//float[] p = new float[16];\n\t//float[] pp = new float[16];\n\t \n\t /*\n\t for (int i=31; i>=0; i--)\n\t {\n\t\t new_v[i] = 0.0f;\n\t }\n\t */\n\t \n\tfloat new_v0, new_v1, new_v2, new_v3, new_v4, new_v5, new_v6, new_v7, new_v8, new_v9;\n\tfloat new_v10, new_v11, new_v12, new_v13, new_v14, new_v15, new_v16, new_v17, new_v18, new_v19;\n\tfloat new_v20, new_v21, new_v22, new_v23, new_v24, new_v25, new_v26, new_v27, new_v28, new_v29;\n\tfloat new_v30, new_v31;\n\t \n\tnew_v0 = new_v1 = new_v2 = new_v3 = new_v4 = new_v5 = new_v6 = new_v7 = new_v8 = new_v9 = \n\tnew_v10 = new_v11 = new_v12 = new_v13 = new_v14 = new_v15 = new_v16 = new_v17 = new_v18 = new_v19 = \n\tnew_v20 = new_v21 = new_v22 = new_v23 = new_v24 = new_v25 = new_v26 = new_v27 = new_v28 = new_v29 = \n\tnew_v30 = new_v31 = 0.0f;\n\t\n\t\n//\tfloat[] new_v = new float[32]; // new V[0-15] and V[33-48] of Figure 3-A.2 in ISO DIS 11172-3\n//\tfloat[] p = new float[16];\n//\tfloat[] pp = new float[16];\n\n float[] s = samples;\n\t\n\tfloat s0 = s[0];\n\tfloat s1 = s[1];\n\tfloat s2 = s[2];\n\tfloat s3 = s[3];\n\tfloat s4 = s[4];\n\tfloat s5 = s[5];\n\tfloat s6 = s[6];\n\tfloat s7 = s[7];\n\tfloat s8 = s[8];\n\tfloat s9 = s[9];\n\tfloat s10 = s[10];\t\n\tfloat s11 = s[11];\n\tfloat s12 = s[12];\n\tfloat s13 = s[13];\n\tfloat s14 = s[14];\n\tfloat s15 = s[15];\n\tfloat s16 = s[16];\n\tfloat s17 = s[17];\n\tfloat s18 = s[18];\n\tfloat s19 = s[19];\n\tfloat s20 = s[20];\t\n\tfloat s21 = s[21];\n\tfloat s22 = s[22];\n\tfloat s23 = s[23];\n\tfloat s24 = s[24];\n\tfloat s25 = s[25];\n\tfloat s26 = s[26];\n\tfloat s27 = s[27];\n\tfloat s28 = s[28];\n\tfloat s29 = s[29];\n\tfloat s30 = s[30];\t\n\tfloat s31 = s[31];\n\t\t\n\tfloat p0 = s0 + s31;\n\tfloat p1 = s1 + s30;\n\tfloat p2 = s2 + s29;\n\tfloat p3 = s3 + s28;\n\tfloat p4 = s4 + s27;\n\tfloat p5 = s5 + s26;\n\tfloat p6 = s6 + s25;\n\tfloat p7 = s7 + s24;\n\tfloat p8 = s8 + s23;\n\tfloat p9 = s9 + s22;\n\tfloat p10 = s10 + s21;\n\tfloat p11 = s11 + s20;\n\tfloat p12 = s12 + s19;\n\tfloat p13 = s13 + s18;\n\tfloat p14 = s14 + s17;\n\tfloat p15 = s15 + s16;\n\t\n\tfloat pp0 = p0 + p15;\n\tfloat pp1 = p1 + p14;\n\tfloat pp2 = p2 + p13;\n\tfloat pp3 = p3 + p12;\n\tfloat pp4 = p4 + p11;\n\tfloat pp5 = p5 + p10;\n\tfloat pp6 = p6 + p9;\n\tfloat pp7 = p7 + p8;\n\tfloat pp8 = (p0 - p15) * cos1_32;\n\tfloat pp9 = (p1 - p14) * cos3_32;\n\tfloat pp10 = (p2 - p13) * cos5_32;\n\tfloat pp11 = (p3 - p12) * cos7_32;\n\tfloat pp12 = (p4 - p11) * cos9_32;\n\tfloat pp13 = (p5 - p10) * cos11_32;\n\tfloat pp14 = (p6 - p9) * cos13_32;\n\tfloat pp15 = (p7 - p8) * cos15_32;\n\n\tp0 = pp0 + pp7;\n\tp1 = pp1 + pp6;\n\tp2 = pp2 + pp5;\n\tp3 = pp3 + pp4;\n\tp4 = (pp0 - pp7) * cos1_16;\n\tp5 = (pp1 - pp6) * cos3_16;\n\tp6 = (pp2 - pp5) * cos5_16;\n\tp7 = (pp3 - pp4) * cos7_16;\n\tp8 = pp8 + pp15;\n\tp9 = pp9 + pp14;\n\tp10 = pp10 + pp13;\n\tp11 = pp11 + pp12;\n\tp12 = (pp8 - pp15) * cos1_16;\n\tp13 = (pp9 - pp14) * cos3_16;\n\tp14 = (pp10 - pp13) * cos5_16;\n\tp15 = (pp11 - pp12) * cos7_16;\n\t\n\n\tpp0 = p0 + p3;\n\tpp1 = p1 + p2;\n\tpp2 = (p0 - p3) * cos1_8;\n\tpp3 = (p1 - p2) * cos3_8;\n\tpp4 = p4 + p7;\n\tpp5 = p5 + p6;\n\tpp6 = (p4 - p7) * cos1_8;\n\tpp7 = (p5 - p6) * cos3_8;\n\tpp8 = p8 + p11;\n\tpp9 = p9 + p10;\n\tpp10 = (p8 - p11) * cos1_8;\n\tpp11 = (p9 - p10) * cos3_8;\n\tpp12 = p12 + p15;\n\tpp13 = p13 + p14;\n\tpp14 = (p12 - p15) * cos1_8;\n\tpp15 = (p13 - p14) * cos3_8;\n\n\tp0 = pp0 + pp1;\n\tp1 = (pp0 - pp1) * cos1_4;\n\tp2 = pp2 + pp3;\n\tp3 = (pp2 - pp3) * cos1_4;\n\tp4 = pp4 + pp5;\n\tp5 = (pp4 - pp5) * cos1_4;\n\tp6 = pp6 + pp7;\n\tp7 = (pp6 - pp7) * cos1_4;\n\tp8 = pp8 + pp9;\n\tp9 = (pp8 - pp9) * cos1_4;\n\tp10 = pp10 + pp11;\n\tp11 = (pp10 - pp11) * cos1_4;\n\tp12 = pp12 + pp13;\n\tp13 = (pp12 - pp13) * cos1_4;\n\tp14 = pp14 + pp15;\n\tp15 = (pp14 - pp15) * cos1_4;\n\n\t// this is pretty insane coding\n\tfloat tmp1;\n\tnew_v19/*36-17*/ = -(new_v4 = (new_v12 = p7) + p5) - p6;\n\tnew_v27/*44-17*/ = -p6 - p7 - p4;\n\tnew_v6 = (new_v10 = (new_v14 = p15) + p11) + p13;\n\tnew_v17/*34-17*/ = -(new_v2 = p15 + p13 + p9) - p14;\n\tnew_v21/*38-17*/ = (tmp1 = -p14 - p15 - p10 - p11) - p13;\n\tnew_v29/*46-17*/ = -p14 - p15 - p12 - p8;\n\tnew_v25/*42-17*/ = tmp1 - p12;\n\tnew_v31/*48-17*/ = -p0;\n\tnew_v0 = p1;\n\tnew_v23/*40-17*/ = -(new_v8 = p3) - p2;\n\t\n\tp0 = (s0 - s31) * cos1_64;\n\tp1 = (s1 - s30) * cos3_64;\n\tp2 = (s2 - s29) * cos5_64;\n\tp3 = (s3 - s28) * cos7_64;\n\tp4 = (s4 - s27) * cos9_64;\n\tp5 = (s5 - s26) * cos11_64;\n\tp6 = (s6 - s25) * cos13_64;\n\tp7 = (s7 - s24) * cos15_64;\n\tp8 = (s8 - s23) * cos17_64;\n\tp9 = (s9 - s22) * cos19_64;\n\tp10 = (s10 - s21) * cos21_64;\n\tp11 = (s11 - s20) * cos23_64;\n\tp12 = (s12 - s19) * cos25_64;\n\tp13 = (s13 - s18) * cos27_64;\n\tp14 = (s14 - s17) * cos29_64;\n\tp15 = (s15 - s16) * cos31_64;\n\n\t\n\tpp0 = p0 + p15;\n\tpp1 = p1 + p14;\n\tpp2 = p2 + p13;\n\tpp3 = p3 + p12;\n\tpp4 = p4 + p11;\n\tpp5 = p5 + p10;\n\tpp6 = p6 + p9;\n\tpp7 = p7 + p8;\n\tpp8 = (p0 - p15) * cos1_32;\n\tpp9 = (p1 - p14) * cos3_32;\n\tpp10 = (p2 - p13) * cos5_32;\n\tpp11 = (p3 - p12) * cos7_32;\n\tpp12 = (p4 - p11) * cos9_32;\n\tpp13 = (p5 - p10) * cos11_32;\n\tpp14 = (p6 - p9) * cos13_32;\n\tpp15 = (p7 - p8) * cos15_32;\n\t\n\n\tp0 = pp0 + pp7;\n\tp1 = pp1 + pp6;\n\tp2 = pp2 + pp5;\n\tp3 = pp3 + pp4;\n\tp4 = (pp0 - pp7) * cos1_16;\n\tp5 = (pp1 - pp6) * cos3_16;\n\tp6 = (pp2 - pp5) * cos5_16;\n\tp7 = (pp3 - pp4) * cos7_16;\n\tp8 = pp8 + pp15;\n\tp9 = pp9 + pp14;\n\tp10 = pp10 + pp13;\n\tp11 = pp11 + pp12;\n\tp12 = (pp8 - pp15) * cos1_16;\n\tp13 = (pp9 - pp14) * cos3_16;\n\tp14 = (pp10 - pp13) * cos5_16;\n\tp15 = (pp11 - pp12) * cos7_16;\n\n\n\tpp0 = p0 + p3;\n\tpp1 = p1 + p2;\n\tpp2 = (p0 - p3) * cos1_8;\n\tpp3 = (p1 - p2) * cos3_8;\n\tpp4 = p4 + p7;\n\tpp5 = p5 + p6;\n\tpp6 = (p4 - p7) * cos1_8;\n\tpp7 = (p5 - p6) * cos3_8;\n\tpp8 = p8 + p11;\n\tpp9 = p9 + p10;\n\tpp10 = (p8 - p11) * cos1_8;\n\tpp11 = (p9 - p10) * cos3_8;\n\tpp12 = p12 + p15;\n\tpp13 = p13 + p14;\n\tpp14 = (p12 - p15) * cos1_8;\n\tpp15 = (p13 - p14) * cos3_8;\n\n\t\n\tp0 = pp0 + pp1;\n\tp1 = (pp0 - pp1) * cos1_4;\n\tp2 = pp2 + pp3;\n\tp3 = (pp2 - pp3) * cos1_4;\n\tp4 = pp4 + pp5;\n\tp5 = (pp4 - pp5) * cos1_4;\n\tp6 = pp6 + pp7;\n\tp7 = (pp6 - pp7) * cos1_4;\n\tp8 = pp8 + pp9;\n\tp9 = (pp8 - pp9) * cos1_4;\n\tp10 = pp10 + pp11;\n\tp11 = (pp10 - pp11) * cos1_4;\n\tp12 = pp12 + pp13;\n\tp13 = (pp12 - pp13) * cos1_4;\n\tp14 = pp14 + pp15;\n\tp15 = (pp14 - pp15) * cos1_4;\n\t\n\n\t// manually doing something that a compiler should handle sucks\n\t// coding like this is hard to read\n\tfloat tmp2;\n\tnew_v5 = (new_v11 = (new_v13 = (new_v15 = p15) + p7) + p11)\n\t\t\t\t\t\t\t+ p5 + p13;\n\tnew_v7 = (new_v9 = p15 + p11 + p3) + p13;\n\tnew_v16/*33-17*/ = -(new_v1 = (tmp1 = p13 + p15 + p9) + p1) - p14;\n\tnew_v18/*35-17*/ = -(new_v3 = tmp1 + p5 + p7) - p6 - p14;\n\n\tnew_v22/*39-17*/ = (tmp1 = -p10 - p11 - p14 - p15)\n\t\t\t\t\t\t\t\t\t- p13 - p2 - p3;\n\tnew_v20/*37-17*/ = tmp1 - p13 - p5 - p6 - p7;\n\tnew_v24/*41-17*/ = tmp1 - p12 - p2 - p3;\n\tnew_v26/*43-17*/ = tmp1 - p12 - (tmp2 = p4 + p6 + p7);\n\tnew_v30/*47-17*/ = (tmp1 = -p8 - p12 - p14 - p15) - p0;\n\tnew_v28/*45-17*/ = tmp1 - tmp2;\n\n\t// insert V[0-15] (== new_v[0-15]) into actual v:\t\n\t// float[] x2 = actual_v + actual_write_pos;\n\tfloat dest[] = actual_v;\n\t\n\tint pos = actual_write_pos;\n\t\n\tdest[0 + pos] = new_v0;\n\tdest[16 + pos] = new_v1;\n\tdest[32 + pos] = new_v2;\n\tdest[48 + pos] = new_v3;\n\tdest[64 + pos] = new_v4;\n\tdest[80 + pos] = new_v5;\n\tdest[96 + pos] = new_v6;\n\tdest[112 + pos] = new_v7;\n\tdest[128 + pos] = new_v8;\n\tdest[144 + pos] = new_v9;\n\tdest[160 + pos] = new_v10;\n\tdest[176 + pos] = new_v11;\n\tdest[192 + pos] = new_v12;\n\tdest[208 + pos] = new_v13;\n\tdest[224 + pos] = new_v14;\n\tdest[240 + pos] = new_v15;\n\n\t// V[16] is always 0.0:\n\tdest[256 + pos] = 0.0f;\n\n\t// insert V[17-31] (== -new_v[15-1]) into actual v:\n\tdest[272 + pos] = -new_v15;\n\tdest[288 + pos] = -new_v14;\n\tdest[304 + pos] = -new_v13;\n\tdest[320 + pos] = -new_v12;\n\tdest[336 + pos] = -new_v11;\n\tdest[352 + pos] = -new_v10;\n\tdest[368 + pos] = -new_v9;\n\tdest[384 + pos] = -new_v8;\n\tdest[400 + pos] = -new_v7;\n\tdest[416 + pos] = -new_v6;\n\tdest[432 + pos] = -new_v5;\n\tdest[448 + pos] = -new_v4;\n\tdest[464 + pos] = -new_v3;\n\tdest[480 + pos] = -new_v2;\n\tdest[496 + pos] = -new_v1;\n\n\t// insert V[32] (== -new_v[0]) into other v:\n\tdest = (actual_v==v1) ? v2 : v1;\n\t\n\tdest[0 + pos] = -new_v0;\n\t// insert V[33-48] (== new_v[16-31]) into other v:\n\tdest[16 + pos] = new_v16;\n\tdest[32 + pos] = new_v17;\n\tdest[48 + pos] = new_v18;\n\tdest[64 + pos] = new_v19;\n\tdest[80 + pos] = new_v20;\n\tdest[96 + pos] = new_v21;\n\tdest[112 + pos] = new_v22;\n\tdest[128 + pos] = new_v23;\n\tdest[144 + pos] = new_v24;\n\tdest[160 + pos] = new_v25;\n\tdest[176 + pos] = new_v26;\n\tdest[192 + pos] = new_v27;\n\tdest[208 + pos] = new_v28;\n\tdest[224 + pos] = new_v29;\n\tdest[240 + pos] = new_v30;\n\tdest[256 + pos] = new_v31;\n\t\n\t// insert V[49-63] (== new_v[30-16]) into other v:\n\tdest[272 + pos] = new_v30;\n\tdest[288 + pos] = new_v29;\n\tdest[304 + pos] = new_v28;\n\tdest[320 + pos] = new_v27;\n\tdest[336 + pos] = new_v26;\n\tdest[352 + pos] = new_v25;\n\tdest[368 + pos] = new_v24;\n\tdest[384 + pos] = new_v23;\n\tdest[400 + pos] = new_v22;\n\tdest[416 + pos] = new_v21;\n\tdest[432 + pos] = new_v20;\n\tdest[448 + pos] = new_v19;\n\tdest[464 + pos] = new_v18;\n\tdest[480 + pos] = new_v17;\n\tdest[496 + pos] = new_v16; \t\t\t\n/*\n\t}\n\telse\n\t{\n\t\tv1[0 + actual_write_pos] = -new_v0;\n\t\t// insert V[33-48] (== new_v[16-31]) into other v:\n\t\tv1[16 + actual_write_pos] = new_v16;\n\t\tv1[32 + actual_write_pos] = new_v17;\n\t\tv1[48 + actual_write_pos] = new_v18;\n\t\tv1[64 + actual_write_pos] = new_v19;\n\t\tv1[80 + actual_write_pos] = new_v20;\n\t\tv1[96 + actual_write_pos] = new_v21;\n\t\tv1[112 + actual_write_pos] = new_v22;\n\t\tv1[128 + actual_write_pos] = new_v23;\n\t\tv1[144 + actual_write_pos] = new_v24;\n\t\tv1[160 + actual_write_pos] = new_v25;\n\t\tv1[176 + actual_write_pos] = new_v26;\n\t\tv1[192 + actual_write_pos] = new_v27;\n\t\tv1[208 + actual_write_pos] = new_v28;\n\t\tv1[224 + actual_write_pos] = new_v29;\n\t\tv1[240 + actual_write_pos] = new_v30;\n\t\tv1[256 + actual_write_pos] = new_v31;\n\n\t\t// insert V[49-63] (== new_v[30-16]) into other v:\n\t\tv1[272 + actual_write_pos] = new_v30;\n\t\tv1[288 + actual_write_pos] = new_v29;\n\t\tv1[304 + actual_write_pos] = new_v28;\n\t\tv1[320 + actual_write_pos] = new_v27;\n\t\tv1[336 + actual_write_pos] = new_v26;\n\t\tv1[352 + actual_write_pos] = new_v25;\n\t\tv1[368 + actual_write_pos] = new_v24;\n\t\tv1[384 + actual_write_pos] = new_v23;\n\t\tv1[400 + actual_write_pos] = new_v22;\n\t\tv1[416 + actual_write_pos] = new_v21;\n\t\tv1[432 + actual_write_pos] = new_v20;\n\t\tv1[448 + actual_write_pos] = new_v19;\n\t\tv1[464 + actual_write_pos] = new_v18;\n\t\tv1[480 + actual_write_pos] = new_v17;\n\t\tv1[496 + actual_write_pos] = new_v16;\t\n\t}\n*/\t\n }", "title": "" }, { "docid": "efdf8d26463f2ef7afb235aa2d6ebd2d", "score": "0.42000556", "text": "public static void fndiverg(java.nio.FloatBuffer zmid, java.nio.FloatBuffer ztop, java.nio.FloatBuffer zbot, java.nio.FloatBuffer ptop, java.nio.FloatBuffer pbot, java.nio.IntBuffer mni, java.nio.IntBuffer ni, java.nio.IntBuffer nj, java.nio.FloatBuffer dx, java.nio.FloatBuffer dy, java.nio.FloatBuffer f, java.nio.FloatBuffer fnx, java.nio.FloatBuffer fny, java.nio.FloatBuffer w1, java.nio.FloatBuffer dtdx, java.nio.FloatBuffer dtdy, java.nio.FloatBuffer qx, java.nio.FloatBuffer qy, java.nio.FloatBuffer fndiv)\n {\n boolean _direct = BufferFactory.isDirect(zmid);\n if (ztop != null && _direct != BufferFactory.isDirect(ztop))\n throw new RuntimeException(\"Argument \\\"ztop\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (zbot != null && _direct != BufferFactory.isDirect(zbot))\n throw new RuntimeException(\"Argument \\\"zbot\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (ptop != null && _direct != BufferFactory.isDirect(ptop))\n throw new RuntimeException(\"Argument \\\"ptop\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (pbot != null && _direct != BufferFactory.isDirect(pbot))\n throw new RuntimeException(\"Argument \\\"pbot\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (mni != null && _direct != BufferFactory.isDirect(mni))\n throw new RuntimeException(\"Argument \\\"mni\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (ni != null && _direct != BufferFactory.isDirect(ni))\n throw new RuntimeException(\"Argument \\\"ni\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (nj != null && _direct != BufferFactory.isDirect(nj))\n throw new RuntimeException(\"Argument \\\"nj\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (dx != null && _direct != BufferFactory.isDirect(dx))\n throw new RuntimeException(\"Argument \\\"dx\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (dy != null && _direct != BufferFactory.isDirect(dy))\n throw new RuntimeException(\"Argument \\\"dy\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (f != null && _direct != BufferFactory.isDirect(f))\n throw new RuntimeException(\"Argument \\\"f\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (fnx != null && _direct != BufferFactory.isDirect(fnx))\n throw new RuntimeException(\"Argument \\\"fnx\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (fny != null && _direct != BufferFactory.isDirect(fny))\n throw new RuntimeException(\"Argument \\\"fny\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (w1 != null && _direct != BufferFactory.isDirect(w1))\n throw new RuntimeException(\"Argument \\\"w1\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (dtdx != null && _direct != BufferFactory.isDirect(dtdx))\n throw new RuntimeException(\"Argument \\\"dtdx\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (dtdy != null && _direct != BufferFactory.isDirect(dtdy))\n throw new RuntimeException(\"Argument \\\"dtdy\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (qx != null && _direct != BufferFactory.isDirect(qx))\n throw new RuntimeException(\"Argument \\\"qx\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (qy != null && _direct != BufferFactory.isDirect(qy))\n throw new RuntimeException(\"Argument \\\"qy\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (fndiv != null && _direct != BufferFactory.isDirect(fndiv))\n throw new RuntimeException(\"Argument \\\"fndiv\\\" : Buffers passed to this method must all be either direct or indirect\");\n if (_direct) {\n fndiverg0(zmid, BufferFactory.getDirectBufferByteOffset(zmid), ztop, BufferFactory.getDirectBufferByteOffset(ztop), zbot, BufferFactory.getDirectBufferByteOffset(zbot), ptop, BufferFactory.getDirectBufferByteOffset(ptop), pbot, BufferFactory.getDirectBufferByteOffset(pbot), mni, BufferFactory.getDirectBufferByteOffset(mni), ni, BufferFactory.getDirectBufferByteOffset(ni), nj, BufferFactory.getDirectBufferByteOffset(nj), dx, BufferFactory.getDirectBufferByteOffset(dx), dy, BufferFactory.getDirectBufferByteOffset(dy), f, BufferFactory.getDirectBufferByteOffset(f), fnx, BufferFactory.getDirectBufferByteOffset(fnx), fny, BufferFactory.getDirectBufferByteOffset(fny), w1, BufferFactory.getDirectBufferByteOffset(w1), dtdx, BufferFactory.getDirectBufferByteOffset(dtdx), dtdy, BufferFactory.getDirectBufferByteOffset(dtdy), qx, BufferFactory.getDirectBufferByteOffset(qx), qy, BufferFactory.getDirectBufferByteOffset(qy), fndiv, BufferFactory.getDirectBufferByteOffset(fndiv));\n } else {\n fndiverg1(BufferFactory.getArray(zmid), BufferFactory.getIndirectBufferByteOffset(zmid), BufferFactory.getArray(ztop), BufferFactory.getIndirectBufferByteOffset(ztop), BufferFactory.getArray(zbot), BufferFactory.getIndirectBufferByteOffset(zbot), BufferFactory.getArray(ptop), BufferFactory.getIndirectBufferByteOffset(ptop), BufferFactory.getArray(pbot), BufferFactory.getIndirectBufferByteOffset(pbot), BufferFactory.getArray(mni), BufferFactory.getIndirectBufferByteOffset(mni), BufferFactory.getArray(ni), BufferFactory.getIndirectBufferByteOffset(ni), BufferFactory.getArray(nj), BufferFactory.getIndirectBufferByteOffset(nj), BufferFactory.getArray(dx), BufferFactory.getIndirectBufferByteOffset(dx), BufferFactory.getArray(dy), BufferFactory.getIndirectBufferByteOffset(dy), BufferFactory.getArray(f), BufferFactory.getIndirectBufferByteOffset(f), BufferFactory.getArray(fnx), BufferFactory.getIndirectBufferByteOffset(fnx), BufferFactory.getArray(fny), BufferFactory.getIndirectBufferByteOffset(fny), BufferFactory.getArray(w1), BufferFactory.getIndirectBufferByteOffset(w1), BufferFactory.getArray(dtdx), BufferFactory.getIndirectBufferByteOffset(dtdx), BufferFactory.getArray(dtdy), BufferFactory.getIndirectBufferByteOffset(dtdy), BufferFactory.getArray(qx), BufferFactory.getIndirectBufferByteOffset(qx), BufferFactory.getArray(qy), BufferFactory.getIndirectBufferByteOffset(qy), BufferFactory.getArray(fndiv), BufferFactory.getIndirectBufferByteOffset(fndiv));\n }\n }", "title": "" }, { "docid": "ae6d8a60bdf743db78a4c7ca84a352a5", "score": "0.4198687", "text": "@SuppressWarnings({\"unchecked\", \"cast\"}) public boolean isDUbefore(Variable v) {\n Object _parameters = v;\nif(isDUbefore_Variable_values == null) isDUbefore_Variable_values = new java.util.HashMap(4);\n if(isDUbefore_Variable_values.containsKey(_parameters))\n return ((Boolean)isDUbefore_Variable_values.get(_parameters)).booleanValue();\n int num = boundariesCrossed;\n boolean isFinal = this.is$Final();\n boolean isDUbefore_Variable_value = getParent().Define_boolean_isDUbefore(this, null, v);\n if(isFinal && num == boundariesCrossed)\n isDUbefore_Variable_values.put(_parameters, Boolean.valueOf(isDUbefore_Variable_value));\n return isDUbefore_Variable_value;\n }", "title": "" }, { "docid": "a240a56fca3fc3a6d937f00e9fbc4384", "score": "0.41936582", "text": "public Vect div(double d) {\r\n return mul(1 / d);\r\n }", "title": "" }, { "docid": "b82f08c2add67ee3358f32d26f0028e0", "score": "0.41916856", "text": "@Test\n public void shouldListVariablesFunction4() {\n Term term = new Term(new Value(27), new Division(), new Value(\"a\"));\n SubTerm subterm = new SubTerm(term, new Power() , new Term(new Value(\"b\")));\n ListVariablesVisitor listVisitor = new ListVariablesVisitor();\n subterm.accept(listVisitor);\n\n final List<String> result = listVisitor.getVariables();\n\n assertThat(result, containsInAnyOrder(\"a\", \"b\"));\n }", "title": "" }, { "docid": "64cab1c8cef112f1c61ccbf707ce59db", "score": "0.41908792", "text": "public final void proc_decl() throws RecognitionException {\n\t\tCommonTree ID1=null;\n\t\tCommonTree ID2=null;\n\n\t\ttry {\n\t\t\t// Fun/FunEncoder.g:122:2: ( ^( PROC ID formal ( var_decl )* com ) | ^( FUNC type ID formal ( var_decl )* com expr ) )\n\t\t\tint alt5=2;\n\t\t\tint LA5_0 = input.LA(1);\n\t\t\tif ( (LA5_0==PROC) ) {\n\t\t\t\talt5=1;\n\t\t\t}\n\t\t\telse if ( (LA5_0==FUNC) ) {\n\t\t\t\talt5=2;\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 5, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\n\t\t\tswitch (alt5) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// Fun/FunEncoder.g:122:4: ^( PROC ID formal ( var_decl )* com )\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,PROC,FOLLOW_PROC_in_proc_decl169); \n\t\t\t\t\tmatch(input, Token.DOWN, null); \n\t\t\t\t\tID1=(CommonTree)match(input,ID,FOLLOW_ID_in_proc_decl175); \n\t\t\t\t\t String id = (ID1!=null?ID1.getText():null);\n\t\t\t\t\t\t\t\t\t Address procaddr = new Address(\n\t\t\t\t\t\t\t\t\t obj.currentOffset(), Address.CODE);\n\t\t\t\t\t\t\t\t\t addrTable.put(id, procaddr);\n\t\t\t\t\t\t\t\t\t addrTable.enterLocalScope();\n\t\t\t\t\t\t\t\t\t currentLocale = Address.LOCAL;\n\t\t\t\t\t\t\t\t\t localvaraddr = 2;\n\t\t\t\t\t\t\t\t\t // ... allows 2 words for link data\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tpushFollow(FOLLOW_formal_in_proc_decl187);\n\t\t\t\t\tformal();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t// Fun/FunEncoder.g:134:5: ( var_decl )*\n\t\t\t\t\tloop3:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt3=2;\n\t\t\t\t\t\tint LA3_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA3_0==VAR) ) {\n\t\t\t\t\t\t\talt3=1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt3) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// Fun/FunEncoder.g:134:5: var_decl\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpushFollow(FOLLOW_var_decl_in_proc_decl193);\n\t\t\t\t\t\t\tvar_decl();\n\t\t\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tbreak loop3;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tpushFollow(FOLLOW_com_in_proc_decl200);\n\t\t\t\t\tcom();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t obj.emit11(SVM.RETURN, 0);\n\t\t\t\t\t\t\t\t\t addrTable.exitLocalScope();\n\t\t\t\t\t\t\t\t\t currentLocale = Address.GLOBAL;\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tmatch(input, Token.UP, null); \n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// Fun/FunEncoder.g:141:4: ^( FUNC type ID formal ( var_decl )* com expr )\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,FUNC,FOLLOW_FUNC_in_proc_decl217); \n\t\t\t\t\tmatch(input, Token.DOWN, null); \n\t\t\t\t\tpushFollow(FOLLOW_type_in_proc_decl223);\n\t\t\t\t\ttype();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tID2=(CommonTree)match(input,ID,FOLLOW_ID_in_proc_decl229); \n\t\t\t\t\t String id = (ID2!=null?ID2.getText():null);\n\t\t\t\t\t\t\t\t\t Address procaddr = new Address(\n\t\t\t\t\t\t\t\t\t obj.currentOffset(), Address.CODE);\n\t\t\t\t\t\t\t\t\t addrTable.put(id, procaddr);\n\t\t\t\t\t\t\t\t\t addrTable.enterLocalScope();\n\t\t\t\t\t\t\t\t\t currentLocale = Address.LOCAL;\n\t\t\t\t\t\t\t\t\t localvaraddr = 2;\n\t\t\t\t\t\t\t\t\t // ... allows 2 words for link data\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tpushFollow(FOLLOW_formal_in_proc_decl241);\n\t\t\t\t\tformal();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t// Fun/FunEncoder.g:154:5: ( var_decl )*\n\t\t\t\t\tloop4:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt4=2;\n\t\t\t\t\t\tint LA4_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA4_0==VAR) ) {\n\t\t\t\t\t\t\talt4=1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt4) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// Fun/FunEncoder.g:154:5: var_decl\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpushFollow(FOLLOW_var_decl_in_proc_decl247);\n\t\t\t\t\t\t\tvar_decl();\n\t\t\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tbreak loop4;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tpushFollow(FOLLOW_com_in_proc_decl254);\n\t\t\t\t\tcom();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tpushFollow(FOLLOW_expr_in_proc_decl260);\n\t\t\t\t\texpr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t obj.emit11(SVM.RETURN, 1);\n\t\t\t\t\t\t\t\t\t addrTable.exitLocalScope();\n\t\t\t\t\t\t\t\t\t currentLocale = Address.GLOBAL;\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tmatch(input, Token.UP, null); \n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "b5b2b17b592d3346eefe121a4e33619d", "score": "0.4189823", "text": "public static double partialDerivative(Evaluator e, Vector2d p, double epsilon, Var v) {\n\t\tdouble deriv;\n\t\tswitch (v) {\n\t\t\tcase x:\n\t\t\t\tderiv = ( e.evaluate(p.getX()+epsilon, p.getY()) - e.evaluate(p.getX()-epsilon, p.getY()) )\n\t\t\t\t \t\t/ (2*epsilon);\n\t\t\t\tbreak;\n\t\t\tcase y:\n\t\t\t\tderiv = ( e.evaluate(p.getX(), p.getY()+epsilon) - e.evaluate(p.getX(), p.getY()-epsilon) )\n\t\t \t\t\t\t/ (2*epsilon);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tderiv = 0;\n\t\t}\n\t\treturn deriv;\n\t}", "title": "" }, { "docid": "0fad85ff61010db6c6737e480f37da77", "score": "0.4181379", "text": "static private float normaliseVector(ArrayList<Double> differenceVector)\n {\n \tdouble sum=0;\n for(Double VectorComponent : differenceVector)\n {\n \tsum += Math.pow(VectorComponent, 2);\n }\n //System.out.println (Math.pow(sum, 0.5));\n return (float) Math.pow(sum, 0.5);\n }", "title": "" }, { "docid": "a277a6c35d9222997100abdc20d0e6a9", "score": "0.41750455", "text": "static public DVector div(DVector v1, DVector v2) {\n return div(v1, v2, null);\n }", "title": "" }, { "docid": "f9047d4608a5089c5b3cf9788dfe5b8f", "score": "0.4166968", "text": "public Value call(ValueVector paramValueVector, Context paramContext)\n/* */ throws JessException\n/* */ {\n/* 137 */ Context localContext = paramContext.getEngine().getGlobalContext().push();\n/* 138 */ localContext.clearReturnValue();\n/* 139 */ Value localValue1 = Funcall.NIL;\n/* */ \n/* */ try\n/* */ {\n/* 143 */ int i = this.m_arguments.size() - this.m_hasWildcard;\n/* */ \n/* */ \n/* 146 */ if (paramValueVector.size() < i + 1) {\n/* 147 */ throw new JessException(this.m_name, \"Too few arguments to deffunction\", this.m_name);\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 154 */ for (int j = 0; j < this.m_arguments.size(); j++) {\n/* 155 */ Argument localArgument = (Argument)this.m_arguments.get(j);\n/* 156 */ switch (localArgument.m_type)\n/* */ {\n/* */ case -2: \n/* */ break;\n/* */ \n/* */ \n/* */ case 8: \n/* 163 */ localContext.setVariable(localArgument.m_name, paramValueVector.get(j + 1).resolveValue(paramContext));\n/* */ \n/* 165 */ break;\n/* */ \n/* */ case 8192: \n/* 168 */ ValueVector localValueVector1 = new ValueVector();\n/* 169 */ for (int m = j + 1; m < paramValueVector.size(); m++) {\n/* 170 */ Value localValue2 = paramValueVector.get(m).resolveValue(paramContext);\n/* 171 */ if (localValue2.type() == 512) {\n/* 172 */ ValueVector localValueVector2 = localValue2.listValue(paramContext);\n/* 173 */ for (int n = 0; n < localValueVector2.size(); n++) {\n/* 174 */ localValueVector1.add(localValueVector2.get(n).resolveValue(paramContext));\n/* */ }\n/* */ } else {\n/* 177 */ localValueVector1.add(localValue2);\n/* */ } }\n/* 179 */ localContext.setVariable(localArgument.m_name, new Value(localValueVector1, 512));\n/* */ }\n/* */ \n/* */ }\n/* */ \n/* */ \n/* */ \n/* 186 */ j = this.m_actions.size();\n/* 187 */ for (int k = 0; k < j; k++) {\n/* 188 */ localValue1 = ((Value)this.m_actions.get(k)).resolveValue(localContext);\n/* */ \n/* 190 */ if (localContext.returning()) {\n/* 191 */ localValue1 = localContext.getReturnValue();\n/* 192 */ localContext.clearReturnValue();\n/* 193 */ break;\n/* */ }\n/* */ }\n/* */ } catch (JessException localJessException) {\n/* 197 */ localJessException.addContext(\"deffunction \" + this.m_name);\n/* 198 */ throw localJessException;\n/* */ } finally {\n/* 200 */ localContext.pop();\n/* */ }\n/* 202 */ return localValue1.resolveValue(localContext);\n/* */ }", "title": "" }, { "docid": "104ba02f8cd1f47a60fbdbdaaa7c774f", "score": "0.41608897", "text": "private boolean criticism(double[] v1,double[] v2){\n\t\tlogger.info(\"criticism\");\n\t\tboolean flag=true;\n\t\tProbabilityDistributionDiversity p=new ProbabilityDistributionDiversity();\n\t\tdouble diversity=p.getDiversity(v1, v2);\n\t\tif(deviation>diversity){\n\t\t\tflag=false;\n\t\t}\n\t\t\n\t\treturn flag;\n\t}", "title": "" }, { "docid": "7d0e102900127d31d1cc0a94136d0967", "score": "0.41589797", "text": "public R visit(Procedure n) {\n R _ret=null;\n String f_name = (String)n.f0.accept(this);\n funcs.add(f_name);\n funcs_ranges.put(f_name,new Vector());\n n.f1.accept(this);\n String size = (String)n.f2.accept(this);\n for(int i=0;i<Integer.parseInt(size);i++)\n {\n \t String full_name = f_name + \" \" + \"TEMP \" + i;\n \t live_ranges.put(full_name,new Vector());\n \t temp_names.add(full_name);\n \t Range obj = new Range();\n obj.start = tot_count;\n obj.end = tot_count;\n obj.gg = get_str(tot_count);\n obj.ff = get_str(obj.start);\n obj.full_name = full_name + \":\" + 0;\n \n funcs_ranges.get(f_name).add(obj);\n live_ranges.get(full_name).add(obj);\n }\n\n n.f3.accept(this);\n cur_func = f_name;\n n.f4.accept(this);\n return _ret;\n }", "title": "" }, { "docid": "93e5514f18a630ff465d72bd1488fc68", "score": "0.4151237", "text": "public double getVs() {\n return vs;\n }", "title": "" }, { "docid": "4ee853ea3ef727ce5c25f0afa38d4844", "score": "0.4149441", "text": "public VariableEliminationSV(IDWithSVNodes diag, Evidence e) {\n\t \n\t super(diag,e);\n\n\t observations = e;\n\t network = diag;\n\t crono=new Crono();\n\t \n\t resultsForPolicies=new Vector();\n \n\t // Modifies the IDiagram, to add non forgetting arcs,\n\t // to eliminate redundancy and to transform the set\n\t // of initial relations\n \n\t\tdiag.addNonForgettingArcs();\n\t\tdiag.removeBarrenNodes(); \n\t//\tdiag.eliminateRedundancy();\n\t\tcurrentRelations=getInitialRelations();\n\t\tmaximum=0;\n\t\tminimum=0;\n\t}", "title": "" }, { "docid": "e271116cb1fe0a71ee1c76cd04a240f7", "score": "0.4144602", "text": "@Test\n public void shouldListVariablesFunction1() {\n Term term = new Term(new Value(1), new Sum(), new Value(6));\n\n ListVariablesVisitor listVisitor = new ListVariablesVisitor();\n term.accept(listVisitor);\n\n final List<String> result = listVisitor.getVariables();\n\n assertThat(result, empty());\n }", "title": "" }, { "docid": "94a9c05640b736bb8075abca2523e654", "score": "0.41442636", "text": "static public double cdfDifferences(ArrayUtil x1, ArrayUtil y1, ArrayUtil x2, ArrayUtil y2, Filter1d f) {\n final int n = x1.size();\n final int m = x2.size();\n int i = 0, j = 0, iprev, jprev;\n double diff = 0;\n double v1 = 0, v2 = 0, curX, prevX;\n\n while (i < n && j < m) {\n iprev = i;\n jprev = j;\n\n if (x1.getValue(i) < x2.getValue(j)) {\n v1 = y1.getValue(i++);\n } else if (x2.getValue(j) < x1.getValue(i)) {\n v2 = y2.getValue(j++);\n } else // les deux positions sont identiques\n {\n v1 = y1.getValue(i++);\n v2 = y2.getValue(j++);\n }\n curX = 0.5 * (x1.getValue(i) + x2.getValue(j));\n prevX = 0.5 * (x1.getValue(iprev) + x2.getValue(jprev));\n\n diff += (v1 - v2) * (curX - prevX) * f.getValue(0.5 * (curX + prevX));\n }\n return diff;\n }", "title": "" }, { "docid": "b9be9cf0e9adaa6b8833ebf66b50a38c", "score": "0.41401806", "text": "public static FunctionStatistics getFunctionStatistics(Expression functionExp, VarStatistics[] varStatistics, double[] times,CartesianMesh cartesianMesh,BitSet inDomainBitSetOrig, VariableType variableType/*,int numSamplesPerDim*/) throws Exception{\r\n\t\tArrayList<Integer> inDomainIndexesInit = new ArrayList<>();\r\n\t\t//make list of all indexes in domain\r\n\t\tfor (int i = inDomainBitSetOrig.nextSetBit(0); i >= 0; i = inDomainBitSetOrig.nextSetBit(i + 1)) {\r\n\t\t\tif (i == Integer.MAX_VALUE) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tinDomainIndexesInit.add(i);\r\n\t\t}\r\n\r\n\t\tif (varStatistics.length == 0){\r\n\t\t\tdouble constantValue = functionExp.evaluateConstant();\r\n\t\t\tdouble[] minValues = new double[times.length];\r\n\t\t\tArrays.fill(minValues, constantValue);\r\n\t\t\tdouble[] maxValues = new double[times.length];\r\n\t\t\tArrays.fill(maxValues, constantValue);\r\n\t\t\treturn new FunctionStatistics(minValues,maxValues);\r\n\t\t}\r\n\t\tif(varStatistics[0].minValuesOverTime.length != times.length){//happens if viewing data of running sim\r\n\t\t\tdouble[] temp = new double[varStatistics[0].minValuesOverTime.length];\r\n\t\t\tSystem.arraycopy(times, 0, temp, 0, temp.length);\r\n\t\t\ttimes = temp;\r\n\t\t}\r\n//\t\tint numVars = varStatistics.length;\r\n\t\tlong numSamples = (inDomainIndexesInit.size()<10000?inDomainIndexesInit.size():10000);//Math.min(1000, b)\r\n//\t\tlong numSamples = numVars*numSamplesPerDim;\r\n\t\tArrayList<String> symbols = new ArrayList<>();\r\n//\t\tif (functionExp.hasSymbol(\"x\")){\r\n//\t\t\tnumSamples *= numSamplesPerDim;\r\n//\t\t}\r\n//\t\tif (functionExp.hasSymbol(\"y\")){\r\n//\t\t\tnumSamples *= numSamplesPerDim;\r\n//\t\t}\r\n//\t\tif (functionExp.hasSymbol(\"z\")){\r\n//\t\t\tnumSamples *= numSamplesPerDim;\r\n//\t\t}\r\n//\t\tboolean bSampleSpace = functionExp.hasSymbol(ReservedVariable.X.getSyntax()) || functionExp.hasSymbol(ReservedVariable.Y.getSyntax()) || functionExp.hasSymbol(ReservedVariable.Z.getSyntax());\r\n\t\t//\r\n\t\t// establishes order of values when evaluating, values={t,x,y,z,var1,var2, ... varN}\r\n\t\t//\r\n\t\tsymbols.add(\"t\");\r\n\t\tsymbols.add(\"x\");\r\n\t\tsymbols.add(\"y\");\r\n\t\tsymbols.add(\"z\");\r\n\t\tfor (VarStatistics varStat : varStatistics){\r\n\t\t\tsymbols.add(varStat.stateVariableName);\r\n\t\t}\r\n\t\tSimpleSymbolTable symTable = new SimpleSymbolTable(symbols.toArray(new String[0]));\r\n\t\tfunctionExp.bindExpression(symTable);\r\n\t\t\r\n\t\t// loop through time, at each time sample state variables (and x,y,z if necessary) to estimate\r\n\t\t// the min and max values for that time.\r\n\t\tRandom rand = new Random(0);\r\n\t\tdouble[] values = new double[symbols.size()];\r\n\t\tdouble[] minFunctionValues = new double[times.length];\r\n\t\tdouble[] maxFunctionValues = new double[times.length];\r\n//\t\tOrigin origin = cartesianMesh.getOrigin();\r\n//\t\tExtent extent = cartesianMesh.getExtent();\r\n\t\tfor (int tIndex=0; tIndex<times.length; tIndex++){\r\n\t\t\tArrayList<Integer> inDomainIndexes = new ArrayList<>(inDomainIndexesInit);\r\n\t\t\tvalues[0] = times[tIndex];\r\n\t\t\tdouble minValue = Double.POSITIVE_INFINITY;\r\n\t\t\tdouble maxValue = Double.NEGATIVE_INFINITY;\r\n\t\t\tfor (int sample=0; sample<numSamples; sample++){\r\n\t\t\t\tCoordinate coord = null;\r\n\t\t\t\tint rndIndex = rand.nextInt(inDomainIndexes.size());\r\n\t\t\t\tint index = inDomainIndexes.remove(rndIndex);\r\n\t\t\t\tif(variableType.equals(VariableType.MEMBRANE)){\r\n\t\t\t\t\tcoord = cartesianMesh.getCoordinateFromMembraneIndex(index);\r\n\t\t\t\t}else if(variableType.equals(VariableType.VOLUME)){\r\n\t\t\t\t\tcoord = cartesianMesh.getCoordinateFromVolumeIndex(index);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthrow new Exception(\"Not implemented \"+variableType.getTypeName());\r\n\t\t\t\t}\r\n\t\t\t\tvalues[1] = coord.getX();\r\n\t\t\t\tvalues[2] = coord.getY();\r\n\t\t\t\tvalues[3] = coord.getZ();\t\t\t\t\t\t\r\n\t\t\t\tfor (int varIndex=0; varIndex<varStatistics.length; varIndex++){\r\n\t\t\t\t\tdouble s = rand.nextDouble();\r\n\t\t\t\t\tvalues[4+varIndex] = s * varStatistics[varIndex].minValuesOverTime[tIndex] +\r\n\t\t\t\t\t\t\t\t\t\t(1-s) * varStatistics[varIndex].maxValuesOverTime[tIndex];\r\n\t\t\t\t}\r\n\t\t\t\tdouble evaluation = functionExp.evaluateVector(values);\r\n\t\t\t\tminValue = Math.min(minValue, evaluation);\r\n\t\t\t\tmaxValue = Math.max(maxValue, evaluation);\r\n\t\t\t}\r\n\t\t\tminFunctionValues[tIndex] = minValue;\r\n\t\t\tmaxFunctionValues[tIndex] = maxValue;\r\n//\t\t\tSystem.out.println(\"tIndex=\"+tIndex+\" min=\"+minValue+\" max=\"+maxValue);\r\n\t\t\t\r\n\t\t}\r\n\t\tFunctionStatistics functionStats = new FunctionStatistics(minFunctionValues,maxFunctionValues);\r\n\t\treturn functionStats;\r\n\t}", "title": "" }, { "docid": "b67e75237f1b46c47073b70e38a00128", "score": "0.41348788", "text": "public static void main(String[] args) {\n\r\n // create a scanner for user input\n Scanner input = new Scanner(System.in);\r\n \n // declare a constant\n final int THREE_ELEMENTS = 3;\n\n // create an array with 3 spots for the first vectors\n double[] elements1 = new double[THREE_ELEMENTS];\n\n // ask the user to type in the 3 values for the first vectors\n System.out.println(\"Please enter the 3 values for the first vector\");\n\n // put the three values of the first vector into the array using a loop\n for(int i = 0; i < THREE_ELEMENTS; i++){\n\n // putting the user's value into the array\n elements1 [i] = input.nextDouble();\n }\n\n // create a secont array with three spots for the second vector\n double[] elements2 = new double[THREE_ELEMENTS];\n\n // ask the user to enter the 3 values of the second vector\n System.out.println(\"Please enter the 3 values for the second vector\");\n\n // put the three values of the second vector into an array using a loop\n for(int i = 0; i < THREE_ELEMENTS; i++){\n\n // putting the user's value into the array\n elements2 [i] = input.nextDouble();\n }\n\n // create a variable to store the sum\n double sum = 0;\n\n // calculate the dot product using a loop\n for(int i = 0; i < 3; i++){\n\n // calculate the product of the first value in both arrays\n double products = elements1[i] * elements2[i];\n\n // add the products to sum\n sum = sum + products;\n\n }\n\n // print the dot product of the two vectors\n System.out.println(\"The dot product is \" + sum);\n\n\n\n\n\r\n }", "title": "" }, { "docid": "798db2fe9d53be5b13e2241c6dc3c231", "score": "0.4130083", "text": "public ValueAndModified computeValueAndModifiedImpl(ValueTuple full_vt) {\n Object val1 = var1().getValue(full_vt);\n Object val2 = var2().getValue(full_vt);\n\n int length1 = -1;\n int length2 = -2; // They must equal in the end\n\n if (val1 == null) {\n length1 = 0;\n }\n\n if (val2 == null) {\n length2 = 0;\n }\n\n if (val1 instanceof long[]) {\n length1 = ((long[]) val1).length;\n }\n\n if (val2 instanceof long[]) {\n length2 = ((long[]) val2).length;\n }\n\n if (val1 instanceof Object[]) {\n length1 = ((Object[]) val1).length;\n }\n\n assert val2 == null || val2 instanceof long[];\n\n if (length1 != length2) {\n // This derived variable is no longer interesting\n return new ValueAndModified(null, ValueTuple.MISSING_NONSENSICAL);\n }\n\n assert length1 == length2;\n\n int mod = ValueTuple.UNMODIFIED;\n int mod1 = var1().getModified(full_vt);\n int mod2 = var2().getModified(full_vt);\n if (mod1 == ValueTuple.MODIFIED) mod = ValueTuple.MODIFIED;\n if (mod2 == ValueTuple.MODIFIED) mod = ValueTuple.MODIFIED;\n if (mod1 == ValueTuple.MISSING_NONSENSICAL) mod = ValueTuple.MISSING_NONSENSICAL;\n if (mod2 == ValueTuple.MISSING_NONSENSICAL) mod = ValueTuple.MISSING_NONSENSICAL;\n /*\n * v1\\v2 Unm Mod Mis\n *\n * Unm Unm Mod Mis\n * Mod Mod Mod Mis\n * Mis Mis Mis Mis\n */\n\n long[] predicate = (long[]) val2;\n int count = 0;\n // Find length of output first\n for (int i = 0; i < predicate.length; i++) {\n if ((predicate[i] == choose) ^ !keep) count += 1;\n }\n\n if (val1 instanceof long[]) {\n long[] result = new long[count];\n long[] values = (long[]) val1;\n int j = 0;\n for (int i = 0; i < length1; i++) {\n if ((predicate[i] == choose) ^ !keep) {\n result[j] = (values[i]);\n j++;\n }\n }\n return new ValueAndModified(Intern.intern(result), mod);\n } else if (val1 instanceof Object[]) {\n /*@Interned*/ Object[] result = new /*@Interned*/ Object[count];\n @SuppressWarnings(\"interning\") // object invariant: array elements are interned\n /*@Interned*/ Object[] values = (/*@Interned*/ Object[]) val1;\n int j = 0;\n for (int i = 0; i < length1; i++) {\n if ((predicate[i] == choose) ^ !keep) {\n result[j] = (values[i]);\n j++;\n }\n }\n return new ValueAndModified(Intern.intern(result), mod);\n } else if (val1 == null) {\n return new ValueAndModified(null, mod);\n } else {\n throw new RuntimeException(\"Invalid input arrays\");\n }\n }", "title": "" }, { "docid": "35f6e7df274fd4f8224bcb8d5ba44a90", "score": "0.41277716", "text": "@Override\r\n\tpublic void derivative(double s, double[] u, double[] du) {\r\n\t\tdouble Bx = 0.0;\r\n\t\tdouble By = 0.0;\r\n\t\tdouble Bz = 0.0;\r\n\r\n\t\tif (_probe != null) {\r\n\r\n\t\t\tfloat b[] = new float[3];\r\n\r\n\t\t\t// convert to cm\r\n\t\t\tdouble xx = u[0] * 100;\r\n\t\t\tdouble yy = u[1] * 100;\r\n\t\t\tdouble zz = u[2] * 100;\r\n\r\n\t\t\t_probe.field((float) xx, (float) yy, (float) zz, b);\r\n\t\t\t// convert to tesla\r\n\t\t\tBx = b[0] / 10.0;\r\n\t\t\tBy = b[1] / 10.0;\r\n\t\t\tBz = b[2] / 10.0;\r\n\t\t}\r\n\r\n\t\tdu[3] = _alpha * (u[4] * Bz - u[5] * By); // vyBz-vzBy\r\n\t\tdu[4] = _alpha * (u[5] * Bx - u[3] * Bz); // vzBx-vxBz\r\n\t\tdu[5] = _alpha * (u[3] * By - u[4] * Bx); // vxBy-vyBx\r\n\t\tdu[0] = u[3];\r\n\t\tdu[1] = u[4];\r\n\t\tdu[2] = u[5];\r\n\t}", "title": "" }, { "docid": "0964e54a615a50b10207dd6bf8d2f463", "score": "0.41271898", "text": "public void ssbevd_(CHARACTER JOBZ,CHARACTER UPLO,INTEGER N,INTEGER KD,float[] AB,INTEGER LDAB,float[] W,float[] Z,INTEGER LDZ,float[] WORK,INTEGER LWORK,int[] IWORK,INTEGER LIWORK,INTEGER INFO);", "title": "" }, { "docid": "3186f627a7f654cd249ebd021d82ec40", "score": "0.4119651", "text": "public R visit(VarDeclaration n) {\n R _ret=null;\n n.f0.accept(this);\n n.f1.accept(this);\n n.f2.accept(this);\n return _ret;\n }", "title": "" }, { "docid": "307f28a0c7f5345e68a02e9447d66ff9", "score": "0.4117354", "text": "void method_94(float var1, float var2);", "title": "" }, { "docid": "957b6c66e6575e4c889d85c5045e6cf0", "score": "0.4117339", "text": "public HashSet<String> checkSemantics(Environment env){\n\t\t\n\t\tHashSet<String> res = new HashSet<>();\n\t\tHashSet<String> tmp = new HashSet<>();\n\t\t\n\t\tenv.pushScope();\n\t\t\n\t\tif (decs.size() > 0) env.setOffset(-1);\n\t\t\n\t\tfor(Node dec : decs)\n\t\t\tres.addAll(dec.checkSemantics(env));\n\t\t\n\t\tenv.settingFunSecondCheck(true);\n\t\t\n\t\tif (decs.size() > 0) env.setOffset(-1);\n\t\t\n\t\tfor(Node dec : decs) {\n\t\t\tHashSet<String> funErrors;\n\t\t\tif (dec instanceof FunDecNode) {\n\t\t\t\tfunErrors = dec.checkSemantics(env);\n\t\t\t\tres.addAll(funErrors);\n\t\t\t\ttmp.addAll(funErrors);\n\t\t\t}\n\t\t\telse tmp.addAll(dec.checkSemantics(env));\n\t\t}\n\t\t\n\t\tenv.settingFunSecondCheck(false);\n\t\t\n\t\tfor(Node stm : stms)\n\t\t\tres.addAll(stm.checkSemantics(env));\n\t\t\n\t\tHashSet<String> fin = new HashSet<>();\n\t\tfor(String s : res){\n\t\t\tif (tmp.contains(s)){\n\t\t\t\tfin.add(s);\n\t\t\t}\n\t\t}\n\t\tres.removeAll(tmp);\n\t\tres.addAll(fin);\n\t\t\n\t\tenv.popScope();\n\t\t\n\t\treturn res;\n\t\t\n\t}", "title": "" }, { "docid": "3f713e628acd7e4d9244d1b0b23dd436", "score": "0.41170394", "text": "private void evalSubregion(PixelPack source, int u, int v) {\n\t\tfinal float[] S1 = new float[3];\t// sum of pixel values\n\t\tfinal float[] S2 = new float[3];\t// sum of squared pixel values\n\t\tfor (int j = dm; j <= dp; j++) {\n\t\t\tfor (int i = dm; i <= dp; i++) {\t\t\n\t\t\t\tfloat[] cp = source.getPix(u + i, v + j);\n\n\t\t\t\tS1[0] = S1[0] + cp[0];\n\t\t\t\tS1[1] = S1[1] + cp[1];\n\t\t\t\tS1[2] = S1[2] + cp[2];\n\t\t\t\t\n\t\t\t\tS2[0] = S2[0] + sqr(cp[0]);\n\t\t\t\tS2[1] = S2[1] + sqr(cp[1]);\n\t\t\t\tS2[2] = S2[2] + sqr(cp[2]);\n\t\t\t}\n\t\t}\n\t\t// calculate the variance for this subregion:\n//\t\tS[0] = S2[0] - S1[0] * S1[0] / n;\n//\t\tS[1] = S2[1] - S1[1] * S1[1] / n;\n//\t\tS[2] = S2[2] - S1[2] * S1[2] / n;\n\t\t// total variance (scaled by n):\n//\t\tfloat Srgb = S[0] + S[1] + S[2];\n\t\tfloat Srgb = (S2[0] - sqr(S1[0]) + S2[1] - sqr(S1[1]) + S2[2] - sqr(S1[2])) / n;\n\t\tif (Srgb < Smin) { \n\t\t\tSmin = Srgb;\n\t\t\tAmin[0] = S1[0] / n;\n\t\t\tAmin[1] = S1[1] / n;\n\t\t\tAmin[2] = S1[2] / n;\n\t\t}\n\t}", "title": "" }, { "docid": "3f4b061e993e2ee7f83906310c51a47b", "score": "0.41098607", "text": "public VariableEliminationSV(IDWithSVNodes diag) {\n\t \n\t super(diag);\n\t \n\t crono=new Crono();\n\t \n\t resultsForPolicies=new Vector();\n\n\t \n\t // Modifies the IDiagram, to add non forgetting arcs,\n\t // to eliminate redundancy and to transform the set\n\t // of initial relations\n \n\t\tdiag.addNonForgettingArcs();\n\t\tdiag.removeBarrenNodes();\n\t//\tdiag.eliminateRedundancy();\n\t\tcurrentRelations=getInitialRelations();\n\t\tmaximum=0;\n\t\tminimum=0;\n\t \n\t}", "title": "" }, { "docid": "b513bd3e13ab4e7dbdccd2a5f69b2e20", "score": "0.41098237", "text": "static public DVector div(DVector v, double n) {\n return div(v, n, null);\n }", "title": "" }, { "docid": "cf2ab72f4a64dc4e8064fa1a0773c737", "score": "0.41075522", "text": "public static void main(String[] args) {\n ArrayList<Integer> list = new ArrayList<Integer>();\n list.add(3);\n list.add(2);\n list.add(7);\n list.add(2);\n \n System.out.println(\"The variance is: \" + variance(list));\n }", "title": "" }, { "docid": "ca6a97b57c6324f29ed9cbb4055379e9", "score": "0.41054386", "text": "public void merge(AggregateFunction agg)\r\n {\r\n if (agg != null && agg instanceof AbstractVarianceAggregator)\r\n {\r\n AbstractVarianceAggregator otherAgg = (AbstractVarianceAggregator) agg;\r\n if (myCount == 0)\r\n {\r\n // Nothing on this side yet. Just copy the other one over.\r\n myCount = otherAgg.myCount;\r\n mySum.addToSelf(otherAgg.mySum);\r\n myVarNumerator.addToSelf(otherAgg.myVarNumerator);\r\n }\r\n else if (otherAgg.myCount > 0)\r\n {\r\n // We have something on this side, and there's something on the\r\n // other side.\r\n \r\n // Merging algorithm adapted from \"Updating Formulae and a\r\n // Pairwise Algorithm for Computing Sample Variances\" by Chan,\r\n // Gloub, and LeVeque, November 1979, Stanford University.\r\n // temp = ((double) otherAgg.myCount / myCount) * mySum - otherAgg.mySum;\r\n DoubleDouble temp = new DoubleDouble(otherAgg.myCount);\r\n temp.divideSelfBy(myCount);\r\n temp.multiplySelfBy(mySum);\r\n temp.subtractFromSelf(otherAgg.mySum);\r\n // temp *= temp;\r\n temp.squareSelf();\r\n // myVarNumerator += otherAgg.myVarNumerator +\r\n // (double) myCount / (otherAgg.myCount * (myCount + otherAgg.myCount)) * temp;\r\n DoubleDouble temp3 = new DoubleDouble(myCount);\r\n temp3.divideSelfBy(otherAgg.myCount * (myCount + otherAgg.myCount));\r\n temp3.multiplySelfBy(temp);\r\n myVarNumerator.addToSelf(otherAgg.myVarNumerator);\r\n myVarNumerator.addToSelf(temp3);\r\n\r\n mySum.addToSelf(otherAgg.mySum);\r\n myCount += otherAgg.myCount;\r\n }\r\n }\r\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7b94d857ba041ce306c643c70a00b9fa", "score": "0.0", "text": "@Override\r\n\tpublic Bank printTransaction(String phoneNo) throws BankException {\n\t\treturn dao.printTransaction(phoneNo);\r\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "title": "" }, { "docid": "63918b2e510c9040bbddcac00095b41a", "score": "0.6605982", "text": "private void recuperation() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "6a98c5d2724fce37914819c5694da3c3", "score": "0.6509783", "text": "@Override\r\n\tpublic void anular() {\n\r\n\t}", "title": "" }, { "docid": "dae8b602ea36995333bfb23acf8fc88d", "score": "0.6496443", "text": "@Override\n\tpublic void respire() {\n\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "f099266a753a2faacd6b8dfa57904378", "score": "0.64321727", "text": "@Override\r\n\tpublic void courrir() {\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.6425563", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1068dc3e7725abba37b41c9a52dee06b", "score": "0.6386121", "text": "@Override\r\n\tpublic void tatmak() {\n\r\n\t}", "title": "" }, { "docid": "6141981a3ecff744fc5ac85a76ccce98", "score": "0.63590497", "text": "@Override\r\n\tpublic void avlan() {\n\t\t\r\n\t}", "title": "" }, { "docid": "98fb55d46118273a6e8a6d23841c620d", "score": "0.6327681", "text": "@Override\n\tpublic void eati() {\n\t\t\n\t}", "title": "" }, { "docid": "0792d032a803e20f3b87637fd91001d5", "score": "0.62811846", "text": "@Override\n\tpublic void getSugary() {\n\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a8ee8a5581ce765ec4ab398c0459e014", "score": "0.61750215", "text": "@Override\r\n\tpublic void koklama() {\n\r\n\t}", "title": "" }, { "docid": "0e69410f7365f8e3379273ee4419fb49", "score": "0.6149904", "text": "@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "d65d6c17fb978c0d576ada2c03cd49fe", "score": "0.61387193", "text": "@Override\n\tpublic void apagar() {\n\t\t\n\t}", "title": "" }, { "docid": "8bae22ac805011d799a49bd7b5316540", "score": "0.612467", "text": "@Override\n public int describeContents() {\n // Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "8c5b7f2508d01c106c784ecca7153f46", "score": "0.6119395", "text": "@Override\n\tvoid comer() {\n\t\t\n\t}", "title": "" }, { "docid": "7bc643d9ac7542f10430da7f200395d4", "score": "0.610188", "text": "@Override\n\tpublic void fiyat() {\n\t\t\n\t}", "title": "" }, { "docid": "7dadb1a7e45c020b2193294044375a9d", "score": "0.60646844", "text": "@Override\r\n \tpublic void init() {\n \t\t\r\n \t}", "title": "" }, { "docid": "04771723ee2c07e5fa5fe8c322190beb", "score": "0.60607964", "text": "@Override\n\tpublic void affichage() {\n\t\t\n\t}", "title": "" }, { "docid": "b7f027eb6ff62218a28c15c608504db7", "score": "0.6055265", "text": "@Override\n\tpublic void cafeteria() {\n\t\t\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "9dd1bbd8c949b94d0e93b83bfc68c88a", "score": "0.6021345", "text": "@Override\n\tpublic void aeronoticalinfo() {\n\t\t\n\t}", "title": "" }, { "docid": "2762ca3c2d0df2e43c2974f74b6f5794", "score": "0.6013198", "text": "public void mo23507LF() {\n }", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "119b459aa82980ed18ed9f73e4c0c1f6", "score": "0.5970375", "text": "public void mo8248e() {\n }", "title": "" }, { "docid": "c7fe9cc2a6c42140d48d92c4796a998c", "score": "0.5924626", "text": "@Override\r\n\t\t\t\t\t\tpublic void visitEnd() {\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "092f51e9c99cd4188e1aae23e1830dfd", "score": "0.58991617", "text": "protected void func_70626_be() {}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5891585", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "4790ff4cb67532ccdfaae8968e73fbc3", "score": "0.58832747", "text": "@Override\n protected void initData() {\n\n\n }", "title": "" }, { "docid": "023182f0f855d46c66b41a6d83583efa", "score": "0.5871911", "text": "@Override\r\n\tpublic void singen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d96d27dfdf5b1a8cc8b8a7627c83bc1", "score": "0.5869012", "text": "@Override\n public void afficher() {\n\n }", "title": "" }, { "docid": "298aa14afe5846b172f76bcf90564013", "score": "0.58663046", "text": "@Override\n\tprotected void initAfterData() {\n\t\t\n\t}", "title": "" }, { "docid": "e065a728f99482f0172c0250b07109a9", "score": "0.58587575", "text": "public void MIENTRAS() {\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "6c15d2233a095a738527f0099df0e328", "score": "0.58534765", "text": "@Override\n\tprotected void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7da3b15ef60da758589933b21890a100", "score": "0.5835782", "text": "@Override\n\t\t\tpublic void buscar() {\n\n\t\t\t}", "title": "" }, { "docid": "d56c498b25d1ea77dc09f49efcf80f6c", "score": "0.58347356", "text": "@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.5810359", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "ac3fa8f374744c1d8419fb42b093eb87", "score": "0.58098364", "text": "@Override\n public void ATOM() {\n\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "17bf5dfb3822657f7beb964bbcaf351d", "score": "0.58010787", "text": "private void getdata() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c1cba83b623b4186565c3383ace251b9", "score": "0.5798524", "text": "@Override\n public void RES() {\n\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "04320a5131c4ec5a83b61f5170f3303b", "score": "0.578828", "text": "private void refreash() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "96aa62cb7c02dc761fce03adeea3bae6", "score": "0.5768868", "text": "public void consumidor() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f76cff0faf8f5cac2bb5c9fa073b3900", "score": "0.5732497", "text": "private static void ispisiRemi() {\n\t\t\n\t}", "title": "" }, { "docid": "0da844a8d21284fc890b9866b17625b3", "score": "0.5729389", "text": "public void auton() {\r\n\r\n\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "e0989255fd1af22841693489e1afa33b", "score": "0.57214063", "text": "public void mo24349a() {\n }", "title": "" }, { "docid": "b860b78be8e10589ee5bd58e2ab7be8e", "score": "0.57196456", "text": "@Override\r\n\tpublic void autonomous() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "08ff281f85800b58e0eb77195be25bfc", "score": "0.5708199", "text": "public void finito() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "24b649f4fd4e2e8f4e195b19c09f4c8b", "score": "0.56936413", "text": "@Override\n public void FUNMAYORQ() {\n\n }", "title": "" }, { "docid": "b3c7aad07c4af0cfec14c4b0f0f289ef", "score": "0.5692504", "text": "@Override\n\tpublic void arb() {\n\n\t}", "title": "" }, { "docid": "8657ef720f12b2480d4363be4e46781e", "score": "0.5691313", "text": "protected boolean method_4310() {\r\n return true;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "45fd99bd8793c6d67c4f276a27b4fdca", "score": "0.5685153", "text": "@Override public int getDefensa(){\n\n return 0;\n\n }", "title": "" } ]
4a0cf2f5e98505b2eb17f97861afa130
Get a guild's name by it's IDd
[ { "docid": "a5f37066dfb9acd50a2a6258f8fc0c51", "score": "0.55679125", "text": "public String getNameById(@NotNull UUID uuid) {\n return ACFBukkitUtil.removeColors(getGuild(uuid).getName());\n }", "title": "" } ]
[ { "docid": "13c29e78ee204d867ddb7ca92b632a1f", "score": "0.71716505", "text": "@Nullable\n String getGuildPrefix(long guildId);", "title": "" }, { "docid": "ae096adba82fcf72ae726240504bd642", "score": "0.6727265", "text": "@NotNull\n default String getPrefix(long guildId)\n {\n String guildPrefix = getGuildPrefix(guildId);\n return guildPrefix == null ? getDefaultPrefix() : guildPrefix;\n }", "title": "" }, { "docid": "3f063a1737611d31fc7b1a9e04f4e647", "score": "0.64085805", "text": "String getName(String id);", "title": "" }, { "docid": "31dfb1d51da11d036190202f48421427", "score": "0.63295776", "text": "public List<String> getGuildNames() {\n return guilds.values().stream().map(Guild::getName).map(ACFBukkitUtil::removeColors).collect(Collectors.toList());\n }", "title": "" }, { "docid": "5a32cc531686344b1e18f35cfca7625d", "score": "0.62466", "text": "public GuildData get(long guildId) {\n\t\treturn this.guildData.computeIfAbsent(guildId, gId -> new GuildData());\n\t}", "title": "" }, { "docid": "c5437768984a678c05dc13e21de60c95", "score": "0.62267256", "text": "boolean hasGuildName();", "title": "" }, { "docid": "c5437768984a678c05dc13e21de60c95", "score": "0.62267256", "text": "boolean hasGuildName();", "title": "" }, { "docid": "1c5cf0bd8766585d2b44e96f4f3ff3ab", "score": "0.5975597", "text": "public String getDiscordName() {\n return discordName;\n }", "title": "" }, { "docid": "66251e217e8d46593b76eeaf4f6da2e1", "score": "0.59668964", "text": "boolean hasGuildId();", "title": "" }, { "docid": "66251e217e8d46593b76eeaf4f6da2e1", "score": "0.59668964", "text": "boolean hasGuildId();", "title": "" }, { "docid": "af89f40649cc9c1cd229e22c36a905b5", "score": "0.5860373", "text": "java.lang.String getNickname();", "title": "" }, { "docid": "29c1befeb7506598648e524782fa2caf", "score": "0.5798549", "text": "public String getPlayerNameByUUID() {\n return getOfflinePlayerByUUID().getName();\n }", "title": "" }, { "docid": "ebcb27c44644310902700ea6e173cff4", "score": "0.57892126", "text": "@Nullable\n public Guild getGuild(@NotNull OfflinePlayer p) {\n return getGuildByPlayerId(p.getUniqueId());\n }", "title": "" }, { "docid": "ce6a050a0a9ee85240d49ef978b1caf1", "score": "0.5771684", "text": "public String getNicknameById(String Id){\r\n final String[] result = new String[1];\r\n database.child(\"users\").child(Id).child(\"nickname\").addListenerForSingleValueEvent(new ValueEventListener() {\r\n @Override\r\n public void onDataChange(DataSnapshot snapshot) {\r\n result[0] = snapshot.getValue().toString();\r\n }\r\n\r\n @Override\r\n public void onCancelled(DatabaseError error) {\r\n result[0] = null;\r\n\r\n }\r\n });\r\n return result[0];\r\n }", "title": "" }, { "docid": "ec39163bc89e0345788a3b565111d61d", "score": "0.57681715", "text": "java.lang.String getPlayerName();", "title": "" }, { "docid": "ec39163bc89e0345788a3b565111d61d", "score": "0.57681715", "text": "java.lang.String getPlayerName();", "title": "" }, { "docid": "f26750ae825227b9d47374eaaa6cae7f", "score": "0.5658536", "text": "@Nullable\n public Guild getGuild(@NotNull UUID uuid) {\n return guilds.get(uuid);\n }", "title": "" }, { "docid": "b74a76d51e83029e392afcc54d1e72a5", "score": "0.56540215", "text": "public static String getNameFromId(String id) {\n return convertionMap.getOrDefault(id, null);\n }", "title": "" }, { "docid": "65331f267bc0f65dada4bba97dd90689", "score": "0.55988777", "text": "@CalledFromHotLoop\n @Nullable\n String lookupName(int id);", "title": "" }, { "docid": "368ebb6352d6c35c82a22e2066b9bd50", "score": "0.5587011", "text": "public static String getName(OfflinePlayer player, int charID)\r\n \t{\r\n \t\tif(DDataUtil.charExistsByID(player, charID)) return (String) DDataUtil.getCharData(player, charID, \"char_name\");\r\n \t\telse return null;\r\n \t}", "title": "" }, { "docid": "fded4d2a6257fc56079a5c883f69733c", "score": "0.55593026", "text": "String getPlayerName();", "title": "" }, { "docid": "eec9c3272ec6041e5e18afbdcd34e2b7", "score": "0.55387634", "text": "String getFleetMemberId();", "title": "" }, { "docid": "61abf194b11ee38ba9acc9eac829f64b", "score": "0.5496484", "text": "void setGuildPrefix(@NotNull String prefix, long guildId);", "title": "" }, { "docid": "7220da0757ade9311292e0d4619acbfb", "score": "0.54945785", "text": "String getNickName();", "title": "" }, { "docid": "b2d84a3789f6874e1c6baeb4f4442be2", "score": "0.54428536", "text": "String getNick();", "title": "" }, { "docid": "972174747e89f26721c3f374be334d22", "score": "0.54188526", "text": "public java.lang.String getNickName();", "title": "" }, { "docid": "8babe42dd58e176871a2bfdc1a44f911", "score": "0.5416913", "text": "java.lang.String getHangmogName();", "title": "" }, { "docid": "a50b8df673acf3b37862170efa657873", "score": "0.54167265", "text": "public static String getModName (Item item) {\r\n \r\n String itemID = GameData.getItemRegistry().getNameForObject(item).toString();\r\n return itemID.substring(0, itemID.indexOf(':'));\r\n }", "title": "" }, { "docid": "2c42b9f289c7bb0ed6297389a0d65c21", "score": "0.5390644", "text": "public String getDiscordId() {\n return discordId;\n }", "title": "" }, { "docid": "35cc54d57b5e410dd8c2959dfadea6b5", "score": "0.53683496", "text": "@Override\n\tpublic Admin getByname(Integer id) {\n\t\treturn assistantMapper.selectNameByPrimaryKey(id);\n\t}", "title": "" }, { "docid": "75ae5532e4afa4b43521875dbfe0cdbd", "score": "0.53653973", "text": "public String getName() {\n\t\treturn this.id;\n\t}", "title": "" }, { "docid": "aee612c808ca70758f8fcbed41f7cc3a", "score": "0.5334494", "text": "public List<String> getPublicGuilds() {\n return guilds.values().stream().filter(g -> !g.isPrivate()).map(Guild::getName).collect(Collectors.toList());\n }", "title": "" }, { "docid": "19b97fc911d7c805512e1fe499af2fef", "score": "0.53258914", "text": "@Nullable\n public Guild getGuildByPlayerId(@NotNull final UUID uuid) {\n final UUID guildID = memberCache.get(uuid);\n return guildID == null ? null : guilds.get(guildID);\n }", "title": "" }, { "docid": "5fa3773527467b1ee7946f80fc6fabce", "score": "0.5320586", "text": "public String getWikiNameById(String wikiId) throws Exception;", "title": "" }, { "docid": "590ae4ba566538e7bab99b68901f7242", "score": "0.5313928", "text": "@Override\n\tpublic String fullname() {\n\t\treturn getString(\"id\");\n\t}", "title": "" }, { "docid": "22eb98a8a2663c255e637451e2f2c3f5", "score": "0.5307085", "text": "public static String getPlayer(int id) {\r\n \t\tfor (Entry<String, Integer> entry : dbPlayers.entrySet())\r\n \t\t\tif (entry.getValue() == id)\r\n \t\t\t\treturn entry.getKey();\r\n \t\treturn null;\r\n \t}", "title": "" }, { "docid": "e7846db4561612d6ea8a28b27a841eea", "score": "0.5297432", "text": "public abstract String getFullnameById(String uid);", "title": "" }, { "docid": "07f611faa2c636fe9033bd3a316abd69", "score": "0.5286922", "text": "public static String getWorld(int id) {\r\n \t\tfor (Entry<String, Integer> entry : dbWorlds.entrySet())\r\n \t\t\tif (entry.getValue() == id)\r\n \t\t\t\treturn entry.getKey();\r\n \t\treturn null;\r\n \t}", "title": "" }, { "docid": "d0a540785666b4e8ac23643dbd371ffc", "score": "0.52835494", "text": "public GuildData get(GenericGuildEvent guildEvent) {\n\t\treturn this.get(guildEvent.getGuild().getIdLong());\n\t}", "title": "" }, { "docid": "47871731e877c1512b309a7b13caf881", "score": "0.5252121", "text": "@Override\n\tpublic GrandprixName getGrndName(int no) {\n\t\treturn grandprixNamesDAO.selectName(no);\n\t}", "title": "" }, { "docid": "d98254cb253dc3ff70ae3a972e68059e", "score": "0.5245478", "text": "public String getNameByID(int id) {\n\t\treturn String.format(\"%s %s\", userDaoJpa.get(id).getFirstName(), userDaoJpa.get(id).getLastName());\n\t}", "title": "" }, { "docid": "987364b67680a373935f65f5bbb0cd65", "score": "0.52339554", "text": "public String getName() {\n List<NameValuePair> params = new ArrayList<NameValuePair>();\n\n params.add(new BasicNameValuePair(\"playerID\", String.valueOf(globalVariables.getOwnPlayerID())));\n\n try {\n JSONObject name = jsonParser.makeHttpRequest(url_get_player_details, \"GET\", params);\n\n JSONArray AName = name.getJSONArray(\"player\");\n return AName.getJSONObject(0).getString(\"name\");\n } catch (JSONException e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "04a088a90cb4555eaa3d22a81036df5c", "score": "0.5220653", "text": "@Override\n\tpublic String getName(int id) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5b8b7d752023f03a2b60cee2381947f4", "score": "0.5213664", "text": "public String getId() {\n if (id == null || id.isEmpty()) {\n return id;\n }\n String pn = ClientProxyMembershipID.getPoolName();\n if (pn != null) {\n poolName = pn;\n }\n String result = id;\n if (poolName != null) {\n result += poolSeparator + poolName;\n }\n return result;\n }", "title": "" }, { "docid": "c37b3a48f8566a504d8e94b3f4b09e23", "score": "0.5211654", "text": "String getHeloName();", "title": "" }, { "docid": "cf39c35a2d71cc7fdcbdbb762a25a9a3", "score": "0.5211118", "text": "public String getName(int player)\n\t{\n\t\tif (player == 1)\n\t\t\treturn game.getPlayer1();\n\t\telse\n\t\t\treturn game.getPlayer2();\n\t}", "title": "" }, { "docid": "d0a1ecd1dbb1564b3d819cf046f67512", "score": "0.52059263", "text": "public String getName() {\n return (String) get(3);\n }", "title": "" }, { "docid": "990c4673e50bc1ebbfa2cc2c4e0d77b6", "score": "0.52037346", "text": "public static String name(int id) {\n if (SimpleShop.items.containsKey(Misc.string(id))) {\n return SimpleShop.items.get(Misc.string(id));\n }\n\n for (Material item : Material.values()) {\n if (item.getId() == id) {\n return item.toString();\n }\n }\n\n return Misc.string(id);\n }", "title": "" }, { "docid": "1069df6b639a7088975e1c40b0ac76b4", "score": "0.518578", "text": "public Joueur getPlayerFromId(int id_player);", "title": "" }, { "docid": "9f979c74b839a6af4e9dd58050a6ef16", "score": "0.5184704", "text": "public String getTeamNameForID( int id){\n\t\tString sqlQuery =\"Select Name from Verein where Verein.ID=\"+id;\n\t\tResultSet rs = sqlCon.sendQuery(sqlQuery);\n\t\tif (!isResultSetEmpty(rs)) {\n\t\t\ttry {\n\t\t\t\twhile (rs.next()) {\n\t\t\t\t\treturn rs.getString(\"Name\");\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} \n\t\treturn \"\";\n\t}", "title": "" }, { "docid": "af7e435e468d7c64027ed2580ca6b558", "score": "0.51834846", "text": "public String getNetName(String netID) throws Exception;", "title": "" }, { "docid": "52fd1e650d108a824ac273cddf7c2eb7", "score": "0.5183053", "text": "static String getName(Member m) {\n StringBuilder builder = new StringBuilder();\n if(m.getNickname() != null) {\n builder.append(m.getNickname());\n builder.append(\"/\");\n }\n builder.append(m.getUser().getName());\n return builder.toString();\n }", "title": "" }, { "docid": "21d82630df5437dfa490034a5002f493", "score": "0.517608", "text": "public static Guild findGuildBy(String searchArg, BotContainer container) {\n if (searchArg.matches(\"i\\\\d+\")) {\n OGuild rec = CGuild.findById(Integer.parseInt(searchArg.substring(1)));\n if (rec.id > 0) {\n return container.getShardFor(rec.discord_id).getJda().getGuildById(Long.toString(rec.discord_id));\n }\n } else if (searchArg.matches(\"^\\\\d{10,}$\")) {\n return container.getShardFor(searchArg).getJda().getGuildById(searchArg);\n }\n return null;\n }", "title": "" }, { "docid": "23ed8e6646363f7c2f781765a1d0a15c", "score": "0.5169506", "text": "public static String getHonorableName(Player player)\n\t{\n\t\tString name=null;\n\t\tif(GameMasterHandler.IsAdmin(player.getName()))\n\t\t{\n\t\t\tname = _getPrefixString(player,\"admin\");\n\t\t}\n\t\telse if(GameMasterHandler.IsAtleastGM(player.getName()))\n\t\t{\n\t\t\tname = _getPrefixString(player,\"gm\");\n\t\t}\n\t\telse if(GameMasterHandler.IsRank(player.getName(), Rank.HELPER))\n\t\t{\n\t\t\tname = _getPrefixString(player,\"helper\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tname = player.getName();\n\t\t}\n\t\treturn name;\n\t}", "title": "" }, { "docid": "028a9880eaa16d832c5d004003732514", "score": "0.5168264", "text": "public String packName(int idPack)\n {\n String name=null;\n ArrayList<String> names = new ArrayList<>();\n String sql = \"SELECT packName FROM paquetes WHERE packID=?\";\n try{\n con = conectar();\n ps = con.prepareStatement(sql);\n ps.setInt(1, idPack);\n rs = ps.executeQuery();\n while(rs.next()){\n name = rs.getString(\"packName\");\n }\n return name;\n }\n catch (Exception e)\n {\n return \"\";\n }\n }", "title": "" }, { "docid": "52464847a66f06da47538c9f48f7c55a", "score": "0.5166491", "text": "public String getUserName(String id) {\n\t\treturn dao.getUserName(id);\n\t}", "title": "" }, { "docid": "308c0d5aa701e1ce40f1490b35873507", "score": "0.51602083", "text": "public String getID()\r\n {\r\n return getName();\r\n }", "title": "" }, { "docid": "8f1f83babffd0b9b1adc6717ad804423", "score": "0.5154518", "text": "public String getPlayerName() {\n return getOfflinePlayerByString().getName();\n }", "title": "" }, { "docid": "034ad1f83b40933c2366cb37942bbc45", "score": "0.5152754", "text": "@SideOnly(Side.CLIENT)\r\n public static String getVillagerName (int id) {\r\n \r\n ResourceLocation skin = VillagerRegistry.getVillagerSkin(id, null);\r\n return (id >= 0 && id <= 4) ? vanillaVillagers[id] : (skin != null) ? skin.getResourceDomain() + \".\" + skin.getResourcePath().substring(skin.getResourcePath().lastIndexOf(\"/\") + 1, skin.getResourcePath().length() - 4) : \"misingno\";\r\n }", "title": "" }, { "docid": "09c440b6ec60772e9865367da06e5858", "score": "0.5133732", "text": "java.lang.String getBldGubun();", "title": "" }, { "docid": "85783d3b154aedf5d715e115b9283c9a", "score": "0.51112485", "text": "public static native String getGroupName(int id);", "title": "" }, { "docid": "7368237b6aa4757d64e41dc198348981", "score": "0.5110597", "text": "public String getFullname(String userId);", "title": "" }, { "docid": "db4d65632a069274584910f56a399b39", "score": "0.510968", "text": "String getUserNickName();", "title": "" }, { "docid": "4c5d27bd7f45ea4e2b4d01a7f1933778", "score": "0.5104347", "text": "public List<String> getInvitedGuilds(OfflinePlayer player) {\n return guilds.values().stream().filter(guild -> guild.getInvitedMembers().contains(player.getUniqueId())).map(Guild::getName).collect(Collectors.toList());\n }", "title": "" }, { "docid": "d2ecdca6171018ae80f98a61305dd8e7", "score": "0.51018906", "text": "@Override\n\tpublic String findnamebyid(String id) {\n\t\treturn usermapper.findnamebyid(id);\n\t}", "title": "" }, { "docid": "c8eaf643750edd10ec6c2225ee51b9ab", "score": "0.50938183", "text": "@Nullable\n public Guild getGuildByCode(@NotNull String code) {\n return guilds.values().stream().filter(guild -> guild.hasInviteCode(code)).findFirst().orElse(null);\n }", "title": "" }, { "docid": "d88aa84421f6bce7b0419fe5e59c26ff", "score": "0.50929254", "text": "public List<String> getJoinableGuild(Player player) {\n return Stream.concat(getInvitedGuilds(player).stream(),\n getPublicGuilds().stream())\n .map(ACFBukkitUtil::removeColors)\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "de14129942c356d34b10482639719cf1", "score": "0.5088111", "text": "public String getPlayerOneName() {\n return InputNameScreen.getInstance().getPlayer1Name();\n }", "title": "" }, { "docid": "dbd620e7e4e07d26c997673bff595511", "score": "0.5083093", "text": "public String getName(String id) {\n if (idToPerson.containsKey(id)) {\n return idToPerson.get(id).getName();\n }\n return null;\n }", "title": "" }, { "docid": "8d82d04f7bde16f3a5bd8c9cf2100125", "score": "0.508258", "text": "java.lang.String getFromBldGubun();", "title": "" }, { "docid": "cd8b8947c461395d7612b22d9202f19d", "score": "0.50822055", "text": "public String getName() {\n return className_ + \"-\" + id_;\n }", "title": "" }, { "docid": "8d6b576847ccb12789616330e845a208", "score": "0.50808364", "text": "public String getShortName() {\n return groupId.substring(groupId.lastIndexOf(\"/\")+1);\n }", "title": "" }, { "docid": "20569a21ccb9e7890410b7544fb5e3f1", "score": "0.50796604", "text": "Pair<String,String> getName(int ID) throws NotFoundException;", "title": "" }, { "docid": "c43792dd56a99944fc4333199409feb5", "score": "0.5078473", "text": "java.lang.String getGymId();", "title": "" }, { "docid": "9279fed2f6658cf244595b8748e40d42", "score": "0.50783545", "text": "public String getNick() {\r\n\t\tif (prefix.indexOf(\"!\") != -1) {\r\n\t\t\treturn prefix.substring(0, prefix.indexOf('!'));\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "a7cc6e64657779bab808ae1ed790eddb", "score": "0.50745434", "text": "public String getName() {\n return this.getMemberNameFormat().format(this.snapshot.getMemberName());\n }", "title": "" }, { "docid": "f912ea98a97f1499a2651697d717f42f", "score": "0.50721973", "text": "@Override\r\n\tpublic String getFullName(String userID) {\n\t\treturn Thread.currentThread().getName(); \r\n\t}", "title": "" }, { "docid": "c9c58345e9a4be8d779662c86a474f2a", "score": "0.5047388", "text": "public String getUsernameByID(int ID)\n\t{\n\t\tString username = \"\";\n\t\tStatement stmt = null;\n\t\tResultSet rs = null;\n\t\ttry {\n\t stmt = conn.createStatement();\n\t rs = stmt.executeQuery(\"SELECT Username FROM Users WHERE idUsers=\" + ID);\n\t rs.first();\n\t\t\t\n\t username = rs.getString(1);\n\t\t\t\n\t\t} catch (Exception exc) {\n\t\t\texc.printStackTrace();\n\t\t}\n\t\t\n\t\treturn username;\n\t}", "title": "" }, { "docid": "179da7ddab26f936485778c05fcb1c7b", "score": "0.5032336", "text": "public String getName(String uid) {\n\t\tLOG.trace(\"getName()\");\n\t\tLOG.debug(uid);\n\n\t\tconn = DBManager.getConnection();\n\t\tString sql = \"select name from s_member where uid = '\" + uid + \"';\";\n\t\tString nm = \"\";\n\t\ttry {\n\t\t\tpstmt = conn.prepareStatement(sql);\n\t\t\trs = pstmt.executeQuery();\n\n\t\t\twhile (rs.next()) {\n\t\t\t\tnm = rs.getString(1);\n\t\t\t}\n\t\t\treturn nm;\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tpstmt.close();\n\t\t\t\tconn.close();\n\t\t\t} catch (Exception e2) {\n\t\t\t\t// TODO: handle exception\n\t\t\t\te2.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\treturn nm;\n\t}", "title": "" }, { "docid": "9feb50a987f3c0d09ac2fd6be11450c4", "score": "0.5030456", "text": "String getIdWithPrefix();", "title": "" }, { "docid": "e3fac779ccd1ae6cf765585bf1748d9b", "score": "0.5027514", "text": "protected String getSiteCookieName(String poolID) {\n\n return (String) this.getFromPool(this.poolToSiteCookieName, poolID);\n\n }", "title": "" }, { "docid": "75fe087d6e0ac181f0ead859407b95d2", "score": "0.502331", "text": "public String getPlayerName(String player)\n\t{\n\t\tif( player.equals(\"Player1\"))\n\t\t{\n\t\t\treturn game.getPlayer1();\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn game.getPlayer2();\n\t\t}\n\t}", "title": "" }, { "docid": "91cdd6db99fa05972631a7f452d6bbec", "score": "0.5009308", "text": "public java.lang.String getNameOnShelf() {\n java.lang.Object ref = nameOnShelf_;\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 nameOnShelf_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "64fb74743da198648e9ccf57fe1f0028", "score": "0.50063044", "text": "public String getId() \n {\n return _name;\n }", "title": "" }, { "docid": "eb97c6a5de3358571bfa88185720ca66", "score": "0.49980092", "text": "@Override\n public Object getId() {\n return name_;\n }", "title": "" }, { "docid": "24af1a492f743c2fa5d490ed0c0504b0", "score": "0.4994742", "text": "public java.lang.String getNickname() {\n java.lang.Object ref = nickname_;\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 nickname_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "71efaae454492110d980714d61698a37", "score": "0.49790025", "text": "private String getHotelName(String hotelId) {\n\t\tStatus status;\n\t\tString name = null;\n\t\ttry (\n\t\t\t\tConnection connection = db.getConnection();\n\t\t\t\tPreparedStatement statement = connection.prepareStatement(\"SELECT name from hoteldata \\n\" +\n\t\t\t\t\t\t\"where id = ?\");\n\t\t) {\n\t\t\tstatement.setString(1, hotelId);\n\n\t\t\tResultSet results = statement.executeQuery();\n\t\t\tif (results.next()) {\n\t\t\t\tname = results.getString(\"name\");\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tstatus = Status.SQL_EXCEPTION;\n\t\t\tlog.debug(status, ex);\n\t\t}\n\t\treturn name;\n\t}", "title": "" }, { "docid": "769382c9a09649d32728734f160f8ed6", "score": "0.49775302", "text": "private static String getDbName(DiskId id) \n {\n return DBDIR + \"/\" + id.nodeId() + \"_\" + id.diskIndex() + \".db\";\n }", "title": "" }, { "docid": "979094111b09b0f1dfd72f795ed0dd1d", "score": "0.4977155", "text": "String getName() ;", "title": "" }, { "docid": "769246ec20117b81f8ad6192f8771b94", "score": "0.49764782", "text": "java.lang.String getShardName();", "title": "" }, { "docid": "eb9273c88843cd55a61bf3ac299dd4d9", "score": "0.49712816", "text": "java.lang.String getName( );", "title": "" }, { "docid": "d9c025da5f588989d1c34fd834883d39", "score": "0.4969839", "text": "@objid (\"e7f8000f-55ba-11e2-81b0-001ec947ccaf\")\n String getName(ObjId id) throws IOException;", "title": "" }, { "docid": "2d5bd58470ca382e40d695edac7900d5", "score": "0.49692157", "text": "public static String getRandomName ()\r\n\t{\r\n\t\tint index = Settings.RAND.nextInt(Settings.PLAYER_NAME.size());\r\n\r\n\t\tString ret = Settings.PLAYER_NAME.get(index);\r\n\t\tSettings.PLAYER_NAME.remove(index);\r\n\r\n\t\treturn ret;\r\n\t}", "title": "" }, { "docid": "a84089706acdb3075e67f4d87f56cae5", "score": "0.4968354", "text": "public String getPlayerName(Integer index) {\n UUID playerId = players.get(index);\n return names.get(playerId);\n }", "title": "" }, { "docid": "950bdba0e10a90d848fe6e37bc71bb65", "score": "0.49666318", "text": "@Nullable\n public GuildMember getGuildMember(@NotNull final UUID uuid) {\n final Guild guild = getGuildByPlayerId(uuid);\n return guild == null ? null : guild.getMember(uuid);\n }", "title": "" }, { "docid": "1dff8e79a78b25c0000b642ef7605668", "score": "0.4964917", "text": "public java.lang.String getNickname() {\n java.lang.Object ref = nickname_;\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 nickname_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "aad884ad62e1a0697e95364fd5d111f7", "score": "0.4951226", "text": "java.lang.String getNameOnShelf();", "title": "" }, { "docid": "ef2c09e0650fb4be5322b52b70bfd1ba", "score": "0.49383992", "text": "public String getDisplayName() {\n return id.getName();\n }", "title": "" }, { "docid": "fe6be74e2ef8075c1bb2d0a18e72b20d", "score": "0.49365824", "text": "private static String getPlayerName(int index) {\n return getPlayer(index).getName();\n }", "title": "" }, { "docid": "41ea8f2405759254b50a250ebc08e3dc", "score": "0.49359846", "text": "public java.lang.String getNameOnShelf() {\n java.lang.Object ref = nameOnShelf_;\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 nameOnShelf_ = s;\n }\n return s;\n }\n }", "title": "" } ]
4cf836f09111b137903791736cd4888d
Created by Vazgen on 07Jan17.
[ { "docid": "5dc533e20b47a59605c574e957638b1d", "score": "0.0", "text": "public interface ImageRepository extends JpaRepository<ImageEntity, Long> {\n}", "title": "" } ]
[ { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.6330353", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.6058702", "text": "public void mo27791d() {\n }", "title": "" }, { "docid": "8b6c961814c14fa02879570fd7e65ac5", "score": "0.6051837", "text": "@Override\r\n\tpublic void scarica() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6025156", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5eb303064635f4909e997c3effe2511d", "score": "0.6003692", "text": "public void mo27792e() {\n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.5917288", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "051f88f1f94e36fab8ec66de1946f037", "score": "0.58927625", "text": "public void mo27794g() {\n }", "title": "" }, { "docid": "fdf6bcd763ea5f5b221fd5a7669d1afb", "score": "0.58713967", "text": "public void mo28805a() {\n }", "title": "" }, { "docid": "381ca210fc42b87f9b8af474719578a0", "score": "0.5847394", "text": "public void mo41489c() {\n }", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.5833921", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "0b319072f0ae7225e83791b70ea23079", "score": "0.5755712", "text": "@Override\r\n\tpublic void ghhvhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "db4b95a4460fb609bcd3716b1a4b3e23", "score": "0.57269067", "text": "@Override\r\n\tpublic void compra() {\n\t\t\r\n\t}", "title": "" }, { "docid": "222e7b9d44422cda9de5df0085949df1", "score": "0.57263666", "text": "public void mo27793f() {\n }", "title": "" }, { "docid": "a1d358ef8dde60480477b5c8b2359c6d", "score": "0.5697595", "text": "@Override\n\tpublic void compra() {\n\t\t\n\t}", "title": "" }, { "docid": "6fc1bc8405449cd5caa1d0d4cc253eff", "score": "0.5694281", "text": "public void mo27783b() {\n }", "title": "" }, { "docid": "b42b054dfaac7d94036bce6ecf272a0e", "score": "0.56818956", "text": "private void pepe() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.56691784", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.5659917", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "203e120e0c17c7a390717d0ca9ff147a", "score": "0.5644536", "text": "public void mo11316JX() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56376153", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56376153", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56376153", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56376153", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56376153", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "37639652af6eed0fea7ffe5de5373e12", "score": "0.5633855", "text": "private void init() {\n \t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.56332904", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "e6068b0200c883e42ca4379e8b4390f4", "score": "0.5608214", "text": "@Override\n\tpublic void ihtiyacGidermek() {\n\t\t\n\t}", "title": "" }, { "docid": "9cfdb7a953eedd93829d98c1649d8fa2", "score": "0.55985636", "text": "@Override\r\n\tprotected void rodape() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.55950844", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.55950844", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.55769354", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "fa5eb14703b2a28ee4847f692d01e39d", "score": "0.5571407", "text": "@Override\r\n\tpublic void init() {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5554287", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "a46f6ccc5a2230632919d59213754a52", "score": "0.55424505", "text": "@Override\n\tpublic void grafikCizme() {\n\t\t\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.5541879", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "39970aed3dc3a7bed24f03fb23731e78", "score": "0.5527525", "text": "@Override\r\n\tpublic void laufen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "03143ee9b26aa8a7d43576d479e4400a", "score": "0.55261475", "text": "public final void mo55685Zy() {\n }", "title": "" }, { "docid": "7a64af47763e4842ef0277e0c557687f", "score": "0.5521814", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "7a64af47763e4842ef0277e0c557687f", "score": "0.5521814", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "0a0253176442144984bdd4e7e77af127", "score": "0.5515739", "text": "@Override\n\tpublic void same() {\n\t\t\n\t}", "title": "" }, { "docid": "1a69d70e6e0ab03826da865edbaa2710", "score": "0.55143595", "text": "@Override\r\n public void init() {\n \r\n }", "title": "" }, { "docid": "e8b6a10ed01f50fbe15d66c44e6b001f", "score": "0.54966825", "text": "public void mo28809c() {\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5485794", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "b048ca4f20a40ca0411a5330c06ce3d5", "score": "0.5485415", "text": "@Override\n\tpublic void infinteBatery() {\n\t\t\n\t}", "title": "" }, { "docid": "b7e98de900f4657495e91d5ff4bd6bd6", "score": "0.5485052", "text": "@Override\r\n\tpublic void init(){\r\n\t}", "title": "" }, { "docid": "2097402406ed48de16ed7ccfe28a85b4", "score": "0.54826194", "text": "public void mo5927b() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5477849", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.5471615", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "d673691f42a5a36d5d7e5d4f81aec55e", "score": "0.5469077", "text": "@Override\n\tpublic void reveiller() {\n\t\t\n\t}", "title": "" }, { "docid": "81e2e665536902ef3310e7a034f112ea", "score": "0.5469046", "text": "@Override\r\n\tpublic void apagar()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5467838", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5467838", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5467838", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5467838", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5465572", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "89685a97be106c5e65406e42741d0ec3", "score": "0.54547185", "text": "public void mo1383a() {\n }", "title": "" }, { "docid": "393237de9c40b0b47e9d2c845ed92ee5", "score": "0.5448378", "text": "public void mo45857a() {\n }", "title": "" }, { "docid": "b623306824ebd023ab9bf4fc0a66aaf3", "score": "0.5444468", "text": "public void mo5928c() {\n }", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.54433334", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "627bf6ef88b45b88b902a23fc9a6eb2b", "score": "0.54389405", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "12cb886ceb5e3e8b5a540a316317c996", "score": "0.54331726", "text": "private void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f02c338eb46eb5cdf9d19504df309595", "score": "0.5432915", "text": "public void mo28814l() {\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.5427721", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "60492bcc1b7f57299660c3da0f16ab25", "score": "0.5427694", "text": "@Override\n\tpublic void icmek() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.54269135", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.54269135", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54210603", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54210603", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "be30a755a49491d0c1db538cbb3c601d", "score": "0.53892237", "text": "@Override\r\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "f285568de1e43e60ad9e769b79128118", "score": "0.53611374", "text": "@Override\n public int getType() {\n return 0;\n }", "title": "" }, { "docid": "682feafb1e9964739086fde6ec19c88c", "score": "0.53518635", "text": "public void hejFrom(){\n\t}", "title": "" }, { "docid": "1e530a3abecfdbdcf6f7ca4bd7294921", "score": "0.5349167", "text": "@Override\n\tpublic void andar() {\n\t\t\n\t}", "title": "" }, { "docid": "0449d2500abd0eb1624d7773d0cf88dd", "score": "0.5346885", "text": "@Override\n\tpublic void ponisti() {\n\n\t}", "title": "" }, { "docid": "2be71c02c2e214eecbe2c8bd5dfe8cb0", "score": "0.53433", "text": "@Override\n\tpublic void fortify() {\n\t\t\n\t}", "title": "" }, { "docid": "e1834e089677c260b4af3324391b3b67", "score": "0.5341322", "text": "public final void mo62463l() {\n }", "title": "" }, { "docid": "91f4e7e88ad2f79be16e41fb98c69cb6", "score": "0.53238827", "text": "private void aviTomov() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5323327", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "29f3cdbb287e40f98a8d2f36bba2f27b", "score": "0.53217036", "text": "@Override\n\tpublic int eixos() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "eb92b32dc3cd795c7c394190cf409bd5", "score": "0.53129697", "text": "public void mo41487a() {\n }", "title": "" }, { "docid": "da5e9df869731b2ae1dfbbfdf12b8cd8", "score": "0.5311485", "text": "public void mo3351d() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5310882", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "5a6f7d8abe52665be43f14a776cdf8a0", "score": "0.5304757", "text": "@Override\n public void init()\n {\n }", "title": "" }, { "docid": "acbb02f47467f45f5ab2c3b2e5f7545d", "score": "0.5297221", "text": "public final void mo62452a() {\n }", "title": "" }, { "docid": "190a9f37225fa54ff86b6d69921bf532", "score": "0.5293719", "text": "private void flvTomov() {\n\t\t\n\t}", "title": "" }, { "docid": "70d974abd496677a87c8807bf56e0a5b", "score": "0.5290219", "text": "@Override\n public void desenhar() {\n \n }", "title": "" }, { "docid": "4035fa531ea39ae6ec9de1bec55c48b0", "score": "0.5287175", "text": "@Override\n\tpublic void sail() {\n\t\t\n\t}", "title": "" }, { "docid": "4035fa531ea39ae6ec9de1bec55c48b0", "score": "0.5287175", "text": "@Override\n\tpublic void sail() {\n\t\t\n\t}", "title": "" }, { "docid": "4035fa531ea39ae6ec9de1bec55c48b0", "score": "0.5287175", "text": "@Override\n\tpublic void sail() {\n\t\t\n\t}", "title": "" }, { "docid": "910a73fe385ff15980f32b27c036e70b", "score": "0.5285135", "text": "@Override\n\tpublic void izquierda() {\n\t\t// No hace nada\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.52820677", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "08c6d62200e5eee4b99e7fe5a43b2598", "score": "0.5268258", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "08c6d62200e5eee4b99e7fe5a43b2598", "score": "0.5268258", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "08c6d62200e5eee4b99e7fe5a43b2598", "score": "0.5268258", "text": "@Override\n public void init() {\n }", "title": "" } ]
29e1a604082c052e1b4a49f41db9b026
Gets the current player state. Used for testing.
[ { "docid": "cd82dd1736a3047c25af8e127dbcae08", "score": "0.816082", "text": "PlayerState getPlayerState() {\n return playerState;\n }", "title": "" } ]
[ { "docid": "c4c2d0efb70c837794e3f67ba301d063", "score": "0.8347539", "text": "public PlayerState getPlayerState() {\r\n return playerState;\r\n }", "title": "" }, { "docid": "be311f2c359ea1ecf9cad5d10ee198a5", "score": "0.82021296", "text": "public Player getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "7fe79b686364a83c1053f5fcb37116ef", "score": "0.81665784", "text": "public PlayerState getPlayerState() {\n return this.playerState;\n }", "title": "" }, { "docid": "6b27441a1835e77fd69481f512c67d46", "score": "0.7837549", "text": "public boolean getPlayerState()\n\t{\n\t\treturn blnPlayerState;\n\t\t\n\t}", "title": "" }, { "docid": "71bf4c72e90b7726cb9ac4c409beb101", "score": "0.78019387", "text": "public String getPlayerState() {\n String playerState = name + \" \" + actionArray[0] \n + \" \" + actionArray[1] + \" \" + actionArray[2] + \" \" + colorID + \" \";\n return playerState;\n }", "title": "" }, { "docid": "7b385a8098ca9d981221c33609139bff", "score": "0.74369955", "text": "public GameState GetState(){\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "fe6ba3348bf167da6bc74378f1d9a71a", "score": "0.73940307", "text": "public PlaybackStateCompat getPlaybackState() {\n }", "title": "" }, { "docid": "f7695abd9c991ecfd88576fb55ec661b", "score": "0.7331874", "text": "public @Nullable PlaybackState getPlaybackState() {\n try {\n return mSessionBinder.getPlaybackState();\n } catch (RemoteException e) {\n Log.wtf(TAG, \"Error calling getPlaybackState.\", e);\n return null;\n }\n }", "title": "" }, { "docid": "0ccc350235066e104ff163055f560f27", "score": "0.7317115", "text": "public PlaybackStateCompat getPlaybackState() {\n }", "title": "" }, { "docid": "a4693d81510db8fa482fbea2de029838", "score": "0.72919255", "text": "public GameState getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "b5ae025c3c993daa7788652722653288", "score": "0.69517887", "text": "public GameState getGameState() {\n return this.state;\n }", "title": "" }, { "docid": "a5e2234c4555cb9d1c3e443cc3183f36", "score": "0.6911655", "text": "public int getCurrentState() {\n return myState;\n }", "title": "" }, { "docid": "5c5487b731411567d36d1ec39f1b553d", "score": "0.69073796", "text": "public GameState getGameState() {\n return this.gameState;\n }", "title": "" }, { "docid": "6c9f591762577db7fbcb9c538bcd44ab", "score": "0.68703353", "text": "@PlayerState\n public abstract int getPlayerState();", "title": "" }, { "docid": "0b7faf89bf664e414a01557e677cc824", "score": "0.6859975", "text": "public GameState getGameState();", "title": "" }, { "docid": "bce3bafeb45cb625b3431919bc21015d", "score": "0.6839886", "text": "public String getCurrentState() {\n\t\treturn currentState;\n\t}", "title": "" }, { "docid": "4534863fe532f604868ba53bd8d3fb60", "score": "0.6819392", "text": "public String getCurrentPlayer() {\n return currentPlayer;\n }", "title": "" }, { "docid": "6956bd315b957c49cc2601c8cc38eb44", "score": "0.677485", "text": "public GameState getState(){\n\t\tGameState State=new GameState(this.points, this.currentBoard.getState());\n\t\t\n\t\treturn State;\n\t}", "title": "" }, { "docid": "44a9a855739e596df469665bd1928d78", "score": "0.67651343", "text": "public int getCurrentPlayer() {\n return player;\n }", "title": "" }, { "docid": "64592f47be5a1315fd4cb2c5baa02ec1", "score": "0.67218745", "text": "public GameObjectState getState() {\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "5a3191c006424e9b30750c8e02d8f154", "score": "0.6689021", "text": "public String getLocalState()\n {\n return localState;\n }", "title": "" }, { "docid": "dd8163c307514536f72387b7420a7ba0", "score": "0.66883516", "text": "@Override\n public GameState getGameState() {\n return this.gameState;\n }", "title": "" }, { "docid": "16b3f9eb4c2818136f1862472a5056e4", "score": "0.6668027", "text": "public S getCurrentState();", "title": "" }, { "docid": "008d311c174c8d16db83bfc2a2a2d5b5", "score": "0.6667226", "text": "public GameState getGameState(){\n return this.gameState;\n }", "title": "" }, { "docid": "ccccd1e5af52639d4d8595ff2f29a7fa", "score": "0.6646288", "text": "public byte getState(){\n\t\t/*\n\t\tOFFLINE((byte)0),\n ONLINE((byte)1),\n SAVING((byte)2);\n\t\t */\n\t\t//getWorld().getcWorld().update(this);\n\t\treturn state;\n\t}", "title": "" }, { "docid": "e7f971834dd90ffbf0848d8a7fd18a80", "score": "0.6636903", "text": "Player getCurrentPlayer();", "title": "" }, { "docid": "e7f971834dd90ffbf0848d8a7fd18a80", "score": "0.6636903", "text": "Player getCurrentPlayer();", "title": "" }, { "docid": "b4dd5cb79fe1b17d9d4ab1e5f99255d1", "score": "0.6630044", "text": "public String getCurrentPlayer() {\n\t\treturn _currentPlayer;\n\t}", "title": "" }, { "docid": "80382ea998c3544d76e1f467d19b9a58", "score": "0.66225904", "text": "public static Gamestatus getGameStatus() {\r\n\t\treturn STATUS;\r\n\t}", "title": "" }, { "docid": "cff59a1e9da65a527ba2fa21875a2b6b", "score": "0.6609818", "text": "public int getCurrentPlayer() {\n\t\treturn player;\n\t}", "title": "" }, { "docid": "fc074d0e55d3ba49a82618843c3a02a7", "score": "0.6607817", "text": "public CoreState getCurrentStatus() {\n return doStuffStrategy.determineCurrentStatus(this, 3000);\r\n }", "title": "" }, { "docid": "000c09e50185082b7e97164bd029215b", "score": "0.6594224", "text": "String getCurrentState() {\n return context.getString(allStates[currentIdx]);\n }", "title": "" }, { "docid": "a9486174acc3b5f59b1371dfad7286bb", "score": "0.6591874", "text": "public Player getCurrentPlayer() {\n return currentPlayer;\n }", "title": "" }, { "docid": "a9486174acc3b5f59b1371dfad7286bb", "score": "0.6591874", "text": "public Player getCurrentPlayer() {\n return currentPlayer;\n }", "title": "" }, { "docid": "afadc55efc63fd66639d0338929e5862", "score": "0.65709895", "text": "public int getPlayState(){\r\n\t\tif(player.getStatus() == BasicPlayer.PLAYING){\r\n\t\t\treturn songsToPlay.isEmpty() ? selectedPreset + 10 : selectedPreset;\r\n\t\t}\r\n\t\treturn -1;\r\n\t}", "title": "" }, { "docid": "8f43baf43401c844935cfd197203619d", "score": "0.6541873", "text": "public GameStatus getStatus() {\n\t\treturn status;\n\t}", "title": "" }, { "docid": "1dd4e1399d79ac08aeb0ea141855af76", "score": "0.6535271", "text": "GameState getGameState() {\n return gameState;\n }", "title": "" }, { "docid": "29482ebeef0bc83df252ef79adedac7d", "score": "0.653389", "text": "public State getCurrentState() {\n \t\treturn currentState;\n \t}", "title": "" }, { "docid": "7afd12fdbc795bf5e811304104ad0ca3", "score": "0.6525371", "text": "public boolean isCurrentPlayer() {\n return playerStatus.isActive;\n }", "title": "" }, { "docid": "15e48db09c0301ba6da903d0ef0eb137", "score": "0.6516032", "text": "public GameStatus getGameStatus() {\n return gameStatus;\n }", "title": "" }, { "docid": "dc0733208115e5d0fd0cec591c97bd17", "score": "0.6515877", "text": "public String toString() {\r\n\t\treturn gameState;\r\n\t}", "title": "" }, { "docid": "39bbf4ef43a9118387213dbf7da0ede2", "score": "0.65158415", "text": "public String getGameStatus() {\n return gameStatus;\n }", "title": "" }, { "docid": "2a753fabf8c2483341086735e10e9655", "score": "0.6508371", "text": "public String getCurrentState() {\n PPPoED.Type lastReceivedPkt = PPPoED.Type.getTypeByValue(this.packetCode);\n switch (lastReceivedPkt) {\n case PADI:\n return PppoeAgentEvent.Type.START.name();\n case PADR:\n case PADO:\n return PppoeAgentEvent.Type.NEGOTIATION.name();\n case PADS:\n return PppoeAgentEvent.Type.SESSION_ESTABLISHED.name();\n case PADT:\n // This case might never happen (entry is being removed on PADT messages).\n return PppoeAgentEvent.Type.TERMINATE.name();\n default:\n return PppoeAgentEvent.Type.UNKNOWN.name();\n }\n }", "title": "" }, { "docid": "a8e1e1318bf14900188e992b407e3124", "score": "0.6504195", "text": "public Player getCurrentPlayer()\n\t{\n\t\treturn current;\n\t}", "title": "" }, { "docid": "32a7d64403fc778bc7c7692b268ac8e9", "score": "0.6492883", "text": "public int getActivePlayer() {\n return activePlayer;\n }", "title": "" }, { "docid": "1c98518230cae80179db6ead66c894fa", "score": "0.64698905", "text": "public int getCurrentPlayer(){\n return this.currentPlayer;\n }", "title": "" }, { "docid": "d59cb7edc49b98268c14ba62fee762ca", "score": "0.6467676", "text": "public State getMyCurrentState () {\n return myCurrentState;\n }", "title": "" }, { "docid": "78d760e9a10ff1e25e5e7766d8b1d4e3", "score": "0.64656866", "text": "public static States getState() {\r\n\t\treturn currentState;\r\n\t}", "title": "" }, { "docid": "3a9ead9ce04e32bc27ed39726f10302b", "score": "0.64420414", "text": "public int activePlayer() {\n return this.activePlayer;\n }", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.6438819", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.6438819", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.6438819", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.6438819", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.6438819", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.6438819", "text": "int getState();", "title": "" }, { "docid": "33d1a25cc2313ef478e60dad207cee4e", "score": "0.643641", "text": "public State getCurrentState() {\n\t\treturn currentState;\n\t}", "title": "" }, { "docid": "33d1a25cc2313ef478e60dad207cee4e", "score": "0.643641", "text": "public State getCurrentState() {\n\t\treturn currentState;\n\t}", "title": "" }, { "docid": "032a453eda7523bb4fcb8d27593ae8d0", "score": "0.64324224", "text": "public TurtleState getCurrentState() {\n\t\treturn states.peek();\n\t}", "title": "" }, { "docid": "be2eaab7cb0d951f62b569f7d113a0c3", "score": "0.64288205", "text": "interface GameState {\n String WAITING_FOR_SECOND_PLAYER = \"WAITING_FOR_SECOND_PLAYER\";\n String TURN_HARE = \"TURN_HARE\";\n String TURN_HOUND = \"TURN_HOUND\";\n String WIN_HARE_BY_ESCAPE = \"WIN_HARE_BY_ESCAPE\";\n String WIN_HARE_BY_STALLING = \"WIN_HARE_BY_STALLING\";\n String WIN_HOUND = \"WIN_HOUND\";\n }", "title": "" }, { "docid": "374e37d2deaae98d7f4eee9bdfc8e481", "score": "0.6412634", "text": "public Player getCurrentPlayer(){\n return this.currentPlayer;\n }", "title": "" }, { "docid": "be9bf5ecaad8193f53aa45e59ed11d6a", "score": "0.6411742", "text": "public State getCurrentState() {\n return currentState;\n }", "title": "" }, { "docid": "1b941795756e97a4c5d3809299a79140", "score": "0.6400524", "text": "public StateName getCurrentState() {\n for (Map.Entry<StateName, StateI> entry : availableStates.entrySet()) {\n if (entry.getValue().equals(curState)) {\n return entry.getKey();\n }\n }\n return null;\n }", "title": "" }, { "docid": "5db3207323e8569dbd15eb734777fba0", "score": "0.63923466", "text": "@Override\n public String getState() {\n\n if(this.state == null){\n\n this.state = TestDatabase.getInstance().getClientField(token, id, \"state\");\n }\n\n return state;\n }", "title": "" }, { "docid": "a5f7e1911dbf7926b260c81abb72048f", "score": "0.63712436", "text": "public String getCurrentPlayer() {\r\n return this.playerIds[this.currentPlayer];\r\n }", "title": "" }, { "docid": "94b3b89d72645eebf91580cdecab1651", "score": "0.63380927", "text": "public ServerPlayer getCurrentPlayer() {\r\n\t\treturn this.currentPlayer;\r\n\t}", "title": "" }, { "docid": "8b6c4c860f3af98b061f09ac9391aee7", "score": "0.6329102", "text": "public Player getActivePlayer() {\r\n return activePlayer;\r\n }", "title": "" }, { "docid": "641c9d0e1b3591405030b66c35f4d1d2", "score": "0.63212603", "text": "public Byte getUserState() {\r\n return userState;\r\n }", "title": "" }, { "docid": "9660d2688df5ffdfb510da4256d261fa", "score": "0.63180304", "text": "@Override\n public BattleState getBattleState() {\n return state;\n }", "title": "" }, { "docid": "e2df3c6f97932bc2d5a02e926aeb1cfa", "score": "0.63167757", "text": "public byte getState() {\n return myState;\n }", "title": "" }, { "docid": "8e6a8cd333e6e5d38792e7ad4be4573a", "score": "0.6313126", "text": "public int getSoundState() {\n return preferences.getInt(\"sound_state\",0);\n }", "title": "" }, { "docid": "73d603cee8f49e63ccf77d09f9578d16", "score": "0.6305488", "text": "public String getState( )\r\n {\r\n if (isEating)\r\n return \"Eating\"; // Exit method w/ current state\r\n\r\n if (isSleeping)\r\n return \"Sleeping\";\r\n\r\n return \"Error in State\";\r\n }", "title": "" }, { "docid": "3d988f26e35c327cd7cbe06dc9bedc66", "score": "0.63042927", "text": "private void getPlayerStatusFromServer()\r\n\t{\r\n\t\ttry {\r\n\t\t\t// Create data input stream\r\n\t\t\tDataInputStream playerStatusInputFromServer = new DataInputStream(\r\n\t\t\t\t\tsocket.getInputStream());\r\n\t\t\tisPlayerAlive = playerStatusInputFromServer.readBoolean();\r\n\t\t\thasPlayerWon = playerStatusInputFromServer.readBoolean();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "15d89f934d5c2d9fe47708d87813002d", "score": "0.63010496", "text": "public State getState()\n\t{\n\t\treturn getState(conferenceInfo);\n\t}", "title": "" }, { "docid": "1706e4cf6177bf43deea91ed51663e2c", "score": "0.6299205", "text": "PowerState getState();", "title": "" }, { "docid": "8008c95d37f23a9e38a41d6ea558d4d7", "score": "0.6286059", "text": "State getState();", "title": "" }, { "docid": "8008c95d37f23a9e38a41d6ea558d4d7", "score": "0.6286059", "text": "State getState();", "title": "" }, { "docid": "8008c95d37f23a9e38a41d6ea558d4d7", "score": "0.6286059", "text": "State getState();", "title": "" }, { "docid": "8008c95d37f23a9e38a41d6ea558d4d7", "score": "0.6286059", "text": "State getState();", "title": "" }, { "docid": "aeaaacc56ae3acf72f75317876ac84cd", "score": "0.62852424", "text": "String getState();", "title": "" }, { "docid": "aeaaacc56ae3acf72f75317876ac84cd", "score": "0.62852424", "text": "String getState();", "title": "" }, { "docid": "aeaaacc56ae3acf72f75317876ac84cd", "score": "0.62852424", "text": "String getState();", "title": "" }, { "docid": "cb5f2664bf38592c0e61e0abc458508c", "score": "0.62842816", "text": "public static CurrentStatus getCurrentStatus() {\n\t\treturn GuiDemo2.currentStatus;\n\t}", "title": "" }, { "docid": "5db324bfb5d767590e37672ce1857fe6", "score": "0.6283052", "text": "public State getState();", "title": "" }, { "docid": "5db324bfb5d767590e37672ce1857fe6", "score": "0.6283052", "text": "public State getState();", "title": "" }, { "docid": "dcc169472d404f79fa10939b675dfe55", "score": "0.6280913", "text": "public int getState();", "title": "" }, { "docid": "dcc169472d404f79fa10939b675dfe55", "score": "0.6280913", "text": "public int getState();", "title": "" }, { "docid": "dcc169472d404f79fa10939b675dfe55", "score": "0.6280913", "text": "public int getState();", "title": "" }, { "docid": "dcc169472d404f79fa10939b675dfe55", "score": "0.6280913", "text": "public int getState();", "title": "" }, { "docid": "97e012334bca778e874f389ce154bee4", "score": "0.627632", "text": "@Override\n public String getCurrentPlayer() {\n return godPower.getCurrentPlayer();\n }", "title": "" }, { "docid": "895b5b0b061807fd80533f816914053a", "score": "0.62738097", "text": "public STATE getState() {\n\t\n\t\treturn state;\n\t}", "title": "" }, { "docid": "9bac7fcecf804a8d236b7a099e9ed210", "score": "0.62731695", "text": "public Player getActivePlayer() {\n return activePlayer;\n }", "title": "" }, { "docid": "52b6ebceaf12231f00b7aa31208c124d", "score": "0.62700844", "text": "public char getCurrentPlayer() {\n\t\treturn currentPlayer;\n\t}", "title": "" }, { "docid": "56ba09d8ae592091268bded7af0ed985", "score": "0.6257749", "text": "public State getState() {\n return state.get();\n }", "title": "" }, { "docid": "e414ca3473a20c368c607e1517f884e8", "score": "0.62562597", "text": "public State GetState()\n {\n return this.state;\n }", "title": "" }, { "docid": "7e3a8e33e3e3cfda6416fcfcc0353322", "score": "0.62542564", "text": "public String getState() \n\t{\n\t\treturn state;\n\t}", "title": "" }, { "docid": "1b354f9a3bce87deaa6f2247db083c24", "score": "0.6249696", "text": "public KetchLeader.State getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "379586b77680bfe9739fcaf80e47ee4c", "score": "0.62460434", "text": "public String getState()\n\t{\n\t\treturn state;\n\t}", "title": "" }, { "docid": "b752d9164432df55be176084950b62cb", "score": "0.6244663", "text": "public GameState getGameProgress() {\r\n return gameProgress;\r\n }", "title": "" }, { "docid": "6e93db4ec2560fbeb823d9974fcd9832", "score": "0.6244189", "text": "public int getVideoState() {\n return this.mVideoState;\n }", "title": "" }, { "docid": "658de003179ddc145291fc76d8cf5a9f", "score": "0.6243344", "text": "Player currentPlayer();", "title": "" } ]
45b6c43fce1b212f113f5c88c250eb83
our constructor, determining which browser to start with
[ { "docid": "5e915381906537d61154cf7c36b40d55", "score": "0.63038", "text": "public SeleniumWebDriver(Browsers browser) {\n\t\t\tswitch (browser) { // check our browser\n\t\t\tcase Firefox: {\n\t\t\t\tdriver = new FirefoxDriver();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase Chrome: {\n\t\t\t\tdriver = getChromedriver();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase InternetExplorer: {\n\t\t\t\tdriver = getIEdriver();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase Safari: {\n\t\t\t\tdriver = new SafariDriver();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t// if our browser is not listed, throw an error\n\t\t\tdefault: {\n\t\t\t\tSystem.out.println(\"Required browser is not found\");\n\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"Run browser\");\n\t\t}", "title": "" } ]
[ { "docid": "63ea2f6c01e7a840bfe2f7a288cb9b02", "score": "0.6841233", "text": "private BrowserOptions() {}", "title": "" }, { "docid": "cd0042a7a57025787c83abffbc2bfd09", "score": "0.6825991", "text": "static void setBrowser() {\n mBrowser = \"Firefox\";\n }", "title": "" }, { "docid": "59e6d51af84cd9f619c0dea1d45ced9e", "score": "0.6728088", "text": "@SuppressWarnings(\"static-access\")\n\tpublic void startBrowser() {\n\t\tif (browser.equalsIgnoreCase(\"ie\")) {\n\t\t\tSystem.setProperty(\"webdriver.ie.driver\",\n\t\t\t\t\t\"ChromeDriverServer/IEDriverServer.exe\");\n\t\t\tdriver = new InternetExplorerDriver();\n\t\t} else if (browser.equalsIgnoreCase(\"firefox\")\n\t\t\t\t|| browser.equalsIgnoreCase(\"ff\")) {\n\t\t\tdriver = new FirefoxDriver();\n\t\t} else if (browser.equalsIgnoreCase(\"chrome\")) {\n\t\t\tSystem.out.println(\"host is=\"\n\t\t\t\t\t+ YamlReader.getYamlValue(\"seleniumserverhost\"));\n\n\t\t\tif (YamlReader.getYamlValue(\"seleniumserver\").contains(\"local\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\",\n\t\t\t\t\t\t\"ChromeDriverServer/chromedriver.exe\");\n\t\t\t\tChromeOptions options = new ChromeOptions();\n\t\t\t\toptions.addArguments(\"--disable-extensions\");\n\t\t\t\toptions.addArguments(\"test-type\");\n\t\t\t\toptions.addArguments(\"start-maximized\");\n\t\t\t\tcapabilities.setCapability(ChromeOptions.CAPABILITY, options);\n\t\t\t\tdriver = new ChromeDriver(capabilities);\n\t\t\t}\n\t\t\tif (YamlReader.getYamlValue(\"seleniumserver\").contains(\"remote\")) {\n\t\t\t\tSystem.out.println(\"value is=\"\n\t\t\t\t\t\t+ YamlReader.getYamlValue(\"seleniumserverhost\"));\n\t\t\t\ttry {\n\t\t\t\t\tdriver = new RemoteWebDriver(new URL(\n\t\t\t\t\t\t\tYamlReader.getYamlValue(\"seleniumserverhost\")),\n\t\t\t\t\t\t\tcapabilities.chrome());\n\t\t\t\t} catch (MalformedURLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdriver.manage()\n\t\t\t\t.timeouts()\n\t\t\t\t.implicitlyWait(\n\t\t\t\t\t\tInteger.parseInt(YamlReader.getData(\"timeOut\")),\n\t\t\t\t\t\tTimeUnit.SECONDS);\n\t\tdriver.manage().window().maximize();\n\t\tdriver.manage().deleteAllCookies();\n\t\t_initObjects();\n\t}", "title": "" }, { "docid": "4bbe0eda94844604f7cb8f90ea0cb857", "score": "0.65917367", "text": "private BrowserLauncher() {\n }", "title": "" }, { "docid": "8ea52e4fa1bd27dd3368d02a6764f44a", "score": "0.6537148", "text": "private final void init()\n\t{\n\t\tString userAgent = getUserAgent().toLowerCase();\n\n\t\tboolean browserOpera = userAgent.indexOf(\"opera\") != -1;\n\t\tboolean browserSafari = userAgent.indexOf(\"safari\") != -1;\n\t\tboolean browserKonqueror = userAgent.indexOf(\"konqueror\") != -1;\n\n\t\t// Note deceptive user agent fields:\n\t\t// - Konqueror and Safari UA fields contain \"like Gecko\"\n\t\t// - Opera UA field typically contains \"MSIE\"\n\t\tboolean deceptiveUserAgent = browserOpera || browserSafari || browserKonqueror;\n\n\t\tboolean browserMozilla = !deceptiveUserAgent && userAgent.indexOf(\"gecko\") != -1;\n\t\tboolean browserFireFox = userAgent.indexOf(\"firefox\") != -1;\n\t\tboolean browserInternetExplorer = !deceptiveUserAgent && userAgent.indexOf(\"msie\") != -1;\n\n\t\tint majorVersion = -1, minorVersion = -1;\n\n\t\t// Store browser information.\n\t\tif (browserOpera)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.BROWSER_OPERA, Boolean.TRUE);\n\t\t}\n\t\telse if (browserKonqueror)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.BROWSER_KONQUEROR, Boolean.TRUE);\n\t\t}\n\t\telse if (browserSafari)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.BROWSER_SAFARI, Boolean.TRUE);\n\t\t}\n\t\telse if (browserMozilla)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.BROWSER_MOZILLA, Boolean.TRUE);\n\t\t\tif (browserFireFox)\n\t\t\t{\n\t\t\t\tproperties.setProperty(ClientProperties.BROWSER_MOZILLA_FIREFOX, Boolean.TRUE);\n\t\t\t}\n\t\t}\n\t\telse if (browserInternetExplorer)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.BROWSER_INTERNET_EXPLORER, Boolean.TRUE);\n\t\t\tif (userAgent.indexOf(\"msie 6.\") != -1)\n\t\t\t{\n\t\t\t\tmajorVersion = 6;\n\t\t\t}\n\t\t\telse if (userAgent.indexOf(\"msie 7.\") != -1)\n\t\t\t{\n\t\t\t\tmajorVersion = 7;\n\t\t\t}\n\t\t}\n\n\t\tif (majorVersion != -1)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.BROWSER_VERSION_MAJOR, Integer\n\t\t\t\t\t.valueOf(majorVersion));\n\t\t}\n\n\t\tif (minorVersion != -1)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.BROWSER_VERSION_MINOR, Integer\n\t\t\t\t\t.valueOf(minorVersion));\n\t\t}\n\n\t\t// Set quirk flags.\n\t\tif (browserInternetExplorer)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.PROPRIETARY_IE_CSS_EXPRESSIONS_SUPPORTED,\n\t\t\t\t\tBoolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_CSS_POSITIONING_ONE_SIDE_ONLY,\n\t\t\t\t\tBoolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_IE_REPAINT, Boolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_IE_SELECT_Z_INDEX, Boolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_IE_TEXTAREA_NEWLINE_OBLITERATION,\n\t\t\t\t\tBoolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_IE_SELECT_PERCENT_WIDTH, Boolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_IE_SELECT_LIST_DOM_UPDATE, Boolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_IE_TABLE_PERCENT_WIDTH_SCROLLBAR_ERROR,\n\t\t\t\t\tBoolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_CSS_BACKGROUND_ATTACHMENT_USE_FIXED,\n\t\t\t\t\tBoolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_CSS_BORDER_COLLAPSE_INSIDE, Boolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_CSS_BORDER_COLLAPSE_FOR_0_PADDING,\n\t\t\t\t\tBoolean.TRUE);\n\t\t\tif (majorVersion < 7)\n\t\t\t{\n\t\t\t\tproperties.setProperty(ClientProperties.PROPRIETARY_IE_PNG_ALPHA_FILTER_REQUIRED,\n\t\t\t\t\t\tBoolean.TRUE);\n\t\t\t}\n\t\t}\n\t\tif (browserMozilla)\n\t\t{\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_MOZILLA_TEXT_INPUT_REPAINT, Boolean.TRUE);\n\t\t\tproperties.setProperty(ClientProperties.QUIRK_MOZILLA_PERFORMANCE_LARGE_DOM_REMOVE,\n\t\t\t\t\tBoolean.TRUE);\n\t\t}\n\n\t\tif (log.isDebugEnabled())\n\t\t{\n\t\t\tlog.debug(\"determined user agent: \" + properties);\n\t\t}\n\t}", "title": "" }, { "docid": "5040d60acd2c93d8a2653bec155a4a59", "score": "0.65234894", "text": "static public WebDriver initializeBrowser(BrowserNames bname, String url ) {\n\t\tswitch (bname) {\r\n\t\tcase Chrome:\r\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"I:\\\\Software\\\\selenium\\\\chromedriver_win32\\\\chromedriver.exe\");\r\n\t\t\tdriver = new ChromeDriver();\r\n\t\t\tbreak;\r\n\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tdriver.get(url);\r\n\t\treturn driver;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2b56dc8a64b8bd04fe96933c46dfd173", "score": "0.64508176", "text": "public IBrowser createBrowser();", "title": "" }, { "docid": "03bda6bf8d5705564e984d29261b7d72", "score": "0.6433257", "text": "@Override\n\t\tpublic EmbeddedBrowser get() {\n\t\t\tEmbeddedBrowser browser2 = null;\n\t\t\t\n\t\t\tif (tab.tab.Browser.getSelectedItem().toString() == \"Firefox\") {\n\t\t\t\n\t\t\t\n\t\t\tbrowser2 = newFireFoxBrowser();\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tif (tab.tab.Browser.getSelectedItem().toString() == \"IE\") {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tbrowser2 = newIEBrowser();\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\nif (tab.tab.Browser.getSelectedItem().toString() == \"Chrome\") {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tbrowser2 = newChromeBrowser();\n\t\t\t\t\n\t\t\t\t}\n\n\nif (tab.tab.Browser.getSelectedItem().toString() == \"PhantomJS\") {\n\t\n\t\n\tbrowser2 = newPhantomBrowser();\n\t\n\t}\n\t\tif(tab.tab.Browser.getSelectedItem().toString() == \"Remote\") {\n\t\t\t\n\t\t\tbrowser2= newRemoteBrowser();\n\t\t\t\n\t\t}\t\n\t\t\treturn browser2;\n\t\t}", "title": "" }, { "docid": "6bb27014482cef2a77d81f92c056b13f", "score": "0.64296126", "text": "public BrowserWebDriver(String browser){\t\t\n\t\t\n\t\tswitch(browser.toLowerCase()) {\n\t\t\n\t\tcase \"htmlunit\": \n\t\tcase \"headless\": {\n\t\t\t\n\t\t\tthis.driver = new HtmlUnitDriver(); // true = js enabled\n\t\t\t\n\t\t\t((HtmlUnitDriver) driver).setJavascriptEnabled(true); // enable js\t\t\t\n\n\t\t\tbreak;\n\t\t}\n\t\tcase \"chrome\": {\n\t\t\t/**\n\t\t\t * Optional, if not specified, WebDriver will search your path for chromedriver.exe\n\t\t\t * This file must be first down loaded and extracted\n\t\t\t */\n\t\t\t\n\t\t\t// System.setProperty(\"webdriver.chrome.driver\", \"C:/Users/afarah/Desktop/SeleniumChromeDriver/chromedriver_win32/chromedriver.exe\");\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:/SeleniumDriverServers/chromedriver_win32/chromedriver.exe\");\n\n\t\t\tthis.driver = new ChromeDriver();\n\t\t\t\n\t\t\t\n\t\t\tCapabilities caps = ((RemoteWebDriver) driver).getCapabilities();\n\t\t\tbrowserName = caps.getBrowserName();\n\t\t\tbrowserVersion = caps.getVersion();\n\t\t\tjsEnabled = caps.isJavascriptEnabled();\n\n\t\t\t\n\t\t\tbreak;\n\t\t}\n\t\tcase \"internetexplorer\": \n\t\tcase \"ie\": {\n\t\t\t\n\t\t\tSystem.setProperty(\"webdriver.ie.driver\", \"C:/SeleniumDriverServers/IEDriverServer_Win32_2.46.0/IEDriverServer.exe\");\n\t\t\t//System.setProperty(\"webdriver.ie.driver\", \"C:/SeleniumDriverServers/IEDriverServer_x64_2.46.0/IEDriverServer.exe\");\n\n\t\t\tthis.driver = new InternetExplorerDriver();\n\t\t\tbreak;\n\t\t}\n\t\tcase \"firefox\": \n\t\tcase \"ff\": {\n\t\t\t\n\n\t\t\tthis.driver = new FirefoxDriver();\t\n\t\t\t\n\t\t\t/**\n\t\t\t * the following lines no longer needed, Selenium2.46 resolved\n\t\t\t * the \"FF stopped working...\" pop-up alert\n\t\t\t */\n\t\t\t\n\t\t\t//WebDriverWait wait = new WebDriverWait(this.driver, 5);\n\t //wait.until(ExpectedConditions.alertIsPresent());\n\t\t\t//Alert alert = this.driver.switchTo().alert(); // get rid off \"ff stopped working\" alert\n\t\t\t//alert.dismiss();\n\t\t\t\n\t\t\tCapabilities caps = ((RemoteWebDriver) driver).getCapabilities();\n\t\t\tbrowserName = caps.getBrowserName();\n\t\t\tbrowserVersion = caps.getVersion();\n\t\t\tjsEnabled = caps.isJavascriptEnabled();\n\t\t\t\n\t \n\t\t\t\n\t\t\tbreak;\n\t\t}\n\t\tdefault: {\n\t\t\tthis.driver = new HtmlUnitDriver();\n\t\t\tlog.info(\"Opening browser: \" + browser);\n\t\t\tbreak;\n\t\t}\n\t\t}\n\t\tthis.driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\n\t\tthis.driver.manage().window().maximize();\n\t\t\n\n\t\tlog.info(\"Opened browser: \" + browser);\t\n\t\tlog.info(browserName + \" version: \" + browserVersion + \", Java Script Enabled = \" + jsEnabled);\n\n\t\n\t\n\t}", "title": "" }, { "docid": "50d3e956c2d25e92e698a0e27f1c24a7", "score": "0.6372092", "text": "private void setDriver(String browserType)\n\t{\n\t\tSystem.out.println(\"Browser value is ::\"+ browserType);\n\t\tswitch(browserType)\n\t\t{\n\t\t\tcase \"chrome\":\n\t\t\t\tdriver = ChromeBrowser.init();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tlog.error(\"browser : \"+browserType+\" is invalid, Launching Firefox as browser of choice..\");\n\t\t\t\tdriver = FirefoxGeckoBrowser.init();\n\t\t}\n\t\t\t\n\t}", "title": "" }, { "docid": "ffea787d6395557e7d15ffc75fcc6dfa", "score": "0.6362298", "text": "private ice.iblite.Browser getBrowser1() {\n\tif (ivjBrowser1 == null) {\n\t\ttry {\n\t\t\tivjBrowser1 = new ice.iblite.Browser();\n\t\t\tivjBrowser1.setName(\"Browser1\");\n\t\t\t// user code begin {1}\n\t\t\t// user code end\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t// user code begin {2}\n\t\t\t// user code end\n\t\t\thandleException(ivjExc);\n\t\t}\n\t}\n\treturn ivjBrowser1;\n}", "title": "" }, { "docid": "0a31b2623b394c9d6dd08c4c7b09473b", "score": "0.636061", "text": "public WebDriver init_driver(String browserName) {\n\n\t\tSystem.out.println(\"browser name is \" + browserName);\n\n\t\tswitch (browserName.toLowerCase()) {\n\t\tcase \"chrome\":\n\t\t\tWebDriverManager.chromedriver().operatingSystem(OperatingSystem.LINUX).setup();\n\t\t\tWebDriverManager.chromedriver().setup();\n\t\t\tdriver = new ChromeDriver();\n\t\t\tbreak;\n\n\t\tcase \"firefox\":\n\t\t\tWebDriverManager.firefoxdriver().setup();\n\t\t\tdriver = new FirefoxDriver();\n\t\t\tbreak;\n\t\t\t\n\t\t\t\n//\t\tcase \"edge\":\n//\t\t\tSystem.setProperty(\"webdriver.edge.driver\", System.getProperty(\"user.dir\") + \"/Drivers/msedgedriver\");\n//\t\t\tdriver = new EdgeDriver();\n\n\n\t\tdefault:\n\t\t\tSystem.out.println(\"Please pass the correct browser : \" + browserName);\n\t\t\tbreak;\n\n\t\t}\n\t\treturn driver;\n\t}", "title": "" }, { "docid": "7dcb527f8383c32ad18dfaf8ee061f59", "score": "0.6358863", "text": "public WebDriver browsersetups() {\n\t\t\n\t\n\n\t\tif (prop.getProperty(\"browser\").equals(\"chrome\")) {\n\t\t\t\n\t\t\tlogger.info(\"Chrome browser is started..\");\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\",base_path + \"/src/main/resources/drivers/chromedriver.exe\");\n\n\t\t\tdriver = new ChromeDriver();\n\n\t\t} else if (prop.getProperty(\"browser\").equals(\"firefox\")) {\n\n\t\t\tlogger.info(\"Firefox browser is started..\");\n\t\t\tSystem.setProperty(\"webdriver.gecko.driver\",base_path + \"/src/main/resources/drivers/geckodriver.exe\");\n\n\t\t\tdriver = new FirefoxDriver();\n\n\t\t}\n\t\telse if(prop.getProperty(\"browser\").equals(\"Edge\"))\n\t\t{\n\t\t\tlogger.info(\"Microsoft Edge browser is started..\");\n\t\t\tSystem.setProperty(\"webdriver.edge.driver\",base_path + \"/src/main/resources/drivers/msedgedriver.exe\");\n\n\t\t\tdriver = new EdgeDriver();\n\t\t}\n\t\t\n\n\t\tdriver.manage().window().maximize();\n\t\tdriver.manage().deleteAllCookies();\n\t\tdriver.manage().timeouts().pageLoadTimeout(60, TimeUnit.SECONDS);\n\t\tdriver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);\n\t\tdriver.get(prop.getProperty(\"url\"));\n\t\treturn driver;\n\t}", "title": "" }, { "docid": "f15a7e62df616f33ef699a4311f1b600", "score": "0.6354473", "text": "@Override\n\tpublic void startApp(String browser, String url) {\n\t\t\n\t}", "title": "" }, { "docid": "8bb527df06365de8898e0926fca8cee1", "score": "0.63352555", "text": "public static void initialize() {\n \t\n boolean headless = false;\n if(headless) {\n Driver = new FirefoxDriver(binary, profile); System.err.println(\"headless\");\n } else if(!headless) {\n Driver = new FirefoxDriver(profile);\n } else {\n Driver = new FirefoxDriver(binary, profile); System.err.println(\"headless\");\n }\n \n }", "title": "" }, { "docid": "33f59492b7d3990b11da456eb49fe930", "score": "0.6327571", "text": "protected void initDefaultDesiredCapabilities() {\n LOGGER.info(\"Enter initDefaultDesiredCapabilities\");\n super.initDefaultDesiredCapabilities();\n if (os.equals(\"android\")) {\n dc.setBrowserName(MobileBrowserType.CHROME);\n } else {\n dc.setBrowserName(MobileBrowserType.SAFARI);\n }\n LOGGER.info(\"Exit initDefaultDesiredCapabilities\");\n }", "title": "" }, { "docid": "d3b1cbeb915d2d8b92240486a0edd233", "score": "0.6291663", "text": "@BeforeMethod\n public void initBrowser(){\n \n WebDriverManager.firefoxdriver().setup();\n\n options = new FirefoxOptions();\n options.setPageLoadStrategy(PageLoadStrategy.EAGER);\n }", "title": "" }, { "docid": "4a78a5f6cd4c261cdadbe278af716dc8", "score": "0.6281655", "text": "@Before//Before run All Feature file.\n public void openBrowser() {\n browserManager.setUpBrowser();//call Method of BrowserManager class\n }", "title": "" }, { "docid": "c59da35c55203de441edc0968ccefb00", "score": "0.6194798", "text": "protected NbProcessDescriptor defaultBrowserExecutable () {\n String b = \"mozilla\"; // NOI18N\n if (err.isLoggable(Level.FINE)) {\n err.log(Level.FINE, \"\" + System.currentTimeMillis() + \"> ExtBrowser: defaultBrowserExecutable: \");\n }\n if (Utilities.isWindows()) {\n String params = \"\"; // NOI18N\n try {\n // finds HKEY_CLASSES_ROOT\\\\\".html\" and respective HKEY_CLASSES_ROOT\\\\<value>\\\\shell\\\\open\\\\command\n // we will ignore all params here\n b = NbDdeBrowserImpl.getDefaultOpenCommand ();\n String [] args = Utilities.parseParameters(b);\n\n if (args == null || args.length == 0) {\n throw new NbBrowserException ();\n }\n b = args[0];\n if (args[0].toUpperCase().indexOf(\"IEXPLORE.EXE\") > -1) { // NOI18N\n setDDEServer(IEXPLORE);\n params = \"-nohome \"; // NOI18N\n } else if (args[0].toUpperCase().indexOf(\"MOZILLA.EXE\") > -1) { // NOI18N\n setDDEServer(MOZILLA);\n } else if (args[0].toUpperCase().indexOf(\"FIREFOX.EXE\") > -1) { // NOI18N\n setDDEServer(FIREFOX);\n } else if (args[0].toUpperCase().indexOf(\"CHROME.EXE\") > -1) { // NOI18N\n setDDEServer(CHROME);\n }\n params += \"{\" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + \"}\";\n return new NbProcessDescriptor(b, params);\n \n } catch (NbBrowserException e) {\n try {\n b = NbDdeBrowserImpl.getBrowserPath(\"IEXPLORE\"); // NOI18N\n if ((b != null) && (b.trim().length() > 0)) {\n setDDEServer(IEXPLORE);\n params += \"{\" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + \"}\";\n return new NbProcessDescriptor(b, params);\n }\n\n b = NbDdeBrowserImpl.getBrowserPath(\"MOZILLA\"); // NOI18N\n if ((b != null) && (b.trim().length() > 0)) {\n setDDEServer(MOZILLA);\n params += \"{\" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + \"}\";\n return new NbProcessDescriptor(b, params);\n }\n\n b = NbDdeBrowserImpl.getBrowserPath(\"FIREFOX\"); // NOI18N\n if ((b != null) && (b.trim().length() > 0)) {\n setDDEServer(FIREFOX);\n params += \"{\" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + \"}\";\n return new NbProcessDescriptor(b, params);\n }\n\n b = NbDdeBrowserImpl.getBrowserPath(\"chrome\"); // NOI18N\n if ((b != null) && (b.trim().length() > 0)) {\n setDDEServer(CHROME);\n params += \"{\" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + \"}\";\n return new NbProcessDescriptor(b, params);\n }\n } catch (NbBrowserException e2) {\n setDDEServer(IEXPLORE);\n b = \"C:\\\\Program Files\\\\Internet Explorer\\\\iexplore.exe\"; // NOI18N \n }\n } catch (UnsatisfiedLinkError e) {\n // someone is customizing this on non-Win platform\n b = \"iexplore\"; // NOI18N\n }\n params += \"{\" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + \"}\";\n return new NbProcessDescriptor (b, params);\n\n // Unix but not MacOSX\n } else if (Utilities.isUnix() && !Utilities.isMac()) {\n \n // Linux -> Mozilla should be default\n if (Utilities.getOperatingSystem() == Utilities.OS_LINUX) {\n b = \"mozilla\"; // NOI18N\n java.io.File f = new java.io.File (\"/usr/local/mozilla/mozilla\"); // NOI18N\n if (f.exists()) {\n b = f.getAbsolutePath();\n } else {\n f = new java.io.File (\"/usr/bin/firefox\"); // NOI18N\n if (f.exists()) {\n b = f.getAbsolutePath();\n }\n }\n // Solaris -> Netscape should be default\n } else if (Utilities.getOperatingSystem() == Utilities.OS_SOLARIS) {\n b = \"mozilla\"; // NOI18N\n java.io.File f = new java.io.File (\"/usr/sfw/lib/mozilla\"); // NOI18N\n if (f.exists()) {\n b = f.getAbsolutePath();\n }\n }\n\n return new NbProcessDescriptor( b,\n \"-remote \\\"openURL({\" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + \"})\\\"\", // NOI18N\n ExtWebBrowser.UnixBrowserFormat.getHint()\n );\n \n // OS/2\n } else if (Utilities.getOperatingSystem () == Utilities.OS_OS2) {\n return new NbProcessDescriptor(\n \"Netscape.exe\", // NOI18N\n // {URL}\n \" {\" + UnixBrowserFormat.TAG_URL + \"}\", // NOI18N\n ExtWebBrowser.UnixBrowserFormat.getHint()\n );\n \n // Mac OS\n } else if (Utilities.isMac()) {\n return new NbProcessDescriptor(\n \"/usr/bin/open\", // NOI18N\n // {URL}\n \" {\" + UnixBrowserFormat.TAG_URL + \"}\", // NOI18N\n ExtWebBrowser.UnixBrowserFormat.getHint()\n );\n \n // Other\n } else {\n return new NbProcessDescriptor(\n // empty string for process\n \"\", // NOI18N\n // {URL}\n \" {\" + UnixBrowserFormat.TAG_URL + \"}\", // NOI18N\n ExtWebBrowser.UnixBrowserFormat.getHint()\n );\n }\n }", "title": "" }, { "docid": "4d63d61949c96fd3346c6575ec28a678", "score": "0.6171687", "text": "public void openBrowser(String browser) {\n\t\tif (browser.equalsIgnoreCase(CHROME)) {\n\t\t\topenChromeBrowser();\n\t\t} else if (browser.equalsIgnoreCase(IEXPLORER)) {\n\t\t\topenIEBrowser();\n\t\t} else {\n\t\t\topenFirefoxBrowser();\n\t\t}\n\t}", "title": "" }, { "docid": "57be7cd75130fa96952a8f7a255aa3ba", "score": "0.6163736", "text": "public static void main(String args[])\r\n\t{\r\n\t\tNewBrowser newwebBrowser = new NewBrowser();\r\n\t}", "title": "" }, { "docid": "7c48c09845ee11d89eefa476d31cd737", "score": "0.61524457", "text": "private void setBrowser(String Browser) {\n if (Browser.toLowerCase().contains(\"internetexplorer\") || Browser.toLowerCase().contains(\"iexplorer\")\n || Browser.toLowerCase().contains(\"ie\"))\n Browser = \"internet explorer\";\n browser = Browser;\n }", "title": "" }, { "docid": "d134414d9142b06e263595b10471ae02", "score": "0.61321276", "text": "@SuppressWarnings(\"deprecation\")\r\n\tpublic static void initiateDriver() {\r\n\r\n\t\ttry {\r\n\r\n\t\t\tif (!strBrowser.isEmpty() && !strBrowser.equals(null)) {\r\n\r\n\t\t\t\t// checking the type of browser\r\n\t\t\t\tif (strBrowser.equalsIgnoreCase(\"Chrome\")) {\r\n\r\n\t\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", strChromeDriverPath);\r\n\t\t\t\t\tBaseClass.wbDriver = new ChromeDriver();\r\n\r\n\t\t\t\t} else if (strBrowser.equalsIgnoreCase(\"Firefox\")) {\r\n\r\n\t\t\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", strGeckoDriverPath);\r\n\t\t\t\t\tDesiredCapabilities capabilities = DesiredCapabilities.firefox();\r\n\t\t\t\t\tcapabilities.setCapability(\"marionette\", true);\r\n\t\t\t\t\tBaseClass.wbDriver = new FirefoxDriver(capabilities);\r\n\r\n\t\t\t\t} else if (strBrowser.equalsIgnoreCase(\"IE\")) {\r\n\r\n\t\t\t\t\tSystem.setProperty(\"webdriver.ie.driver\", strIEDriverPath);\r\n\t\t\t\t\tDesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();\r\n\t\t\t\t\t// capabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,true);\r\n\t\t\t\t\tcapabilities.setCapability(\"requireWindowFocus\", true);\r\n\t\t\t\t\tcapabilities.setCapability(\"ignoreZoomSetting\", true);\r\n\t\t\t\t\tBaseClass.wbDriver = new InternetExplorerDriver(capabilities);\r\n\r\n\t\t\t\t} else if (strBrowser.equalsIgnoreCase(\"EDGE\")) {\r\n\r\n\t\t\t\t\tSystem.setProperty(\"webdriver.edge.driver\", strEdgeDriverPath);\r\n\t\t\t\t\tBaseClass.wbDriver = new EdgeDriver();\r\n\r\n\t\t\t\t} else if (strBrowser.equalsIgnoreCase(\"HtmlUnit\")) {\r\n\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * DesiredCapabilities caps = new DesiredCapabilities();\r\n\t\t\t\t\t * caps.setJavascriptEnabled(true); // not really needed: JS enabled by default\r\n\t\t\t\t\t * caps.setCapability(PhantomJSDriverService.PHANTOMJS_EXECUTABLE_PATH_PROPERTY,\r\n\t\t\t\t\t * \"C:/phantomjs.exe\"); \r\n\t\t\t\t\t * WebDriver driver = new PhantomJSDriver(caps);\r\n\t\t\t\t\t */\r\n\t\t\t}\r\n\r\n\t\t\t\tdriver = new EventFiringWebDriver(BaseClass.wbDriver);\r\n\t\t\t\t// putting an implicit wait after every Action or Event\r\n\t\t\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\r\n\r\n\t\t\t\t// opening the browser\r\n\t\t\t\tLogFactory.info(\"opening the browser....\");\r\n\t\t\t\tdriver.navigate().to(BaseClass.URL);\r\n\t\t\t\tBaseClass.endImpersonateURL = BaseClass.URL+\"/wps/myportal/dpath/!ut/p/a1/04_SD9OPyvLKK_bOryzXNQ7Uj9SPMrQ0MLbQj8zJ1y_IcVQEAE4wkcg!/\";\r\n\t\t\t\tdriver.manage().window().maximize();\r\n\t\t\t\tdriver.manage().deleteAllCookies();\r\n\r\n\t\t\t} else {\r\n\r\n\t\t\t\tLogFactory.info(\"Invalid Browser\");\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tcatch (Exception e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "12cad60db818360d5d1410d3de6a5614", "score": "0.61225206", "text": "@BeforeMethod\n\tpublic void browserSetUp() {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\Chinmay\\\\Downloads\\\\chromedriver_win32\\\\chromedriver.exe\");\n\t\tInvokeBrowserSettings invoke = new InvokeBrowserSettings();\n\t\tdriver = invoke.invokeBrowser(\"chrome\", Constant.URL);\n\t}", "title": "" }, { "docid": "f4729f56e0dee48fe8953348fa3d4614", "score": "0.609473", "text": "public static void main(String[] args) {\n\n String browser = \"Chroe\";\n if(browser.equalsIgnoreCase(\"chrome\")){\n System.out.println(\"Chrome selected\");\n }else if(browser.equalsIgnoreCase(\"firefox\")) {\n System.out.println(\"firefox\");\n }else if(browser.equalsIgnoreCase(\"opera\")) {\n System.out.println(\"opera\"); }else if(browser.equalsIgnoreCase(\"safari\")) {\n System.out.println(\"safari\");}else\n {throw new RuntimeException(\"Invalid browser name: \" + browser);}\n\n\n }", "title": "" }, { "docid": "89c140b674b6f9caf7fbe05ecb995f54", "score": "0.6074065", "text": "public static WebDriver getBrowser() {\n Browsers browser;\n WebDriver driver = null;\n\n if(System.getProperty(BROWSER_PROP_KEY)==null){\n Log.info(\"Browser Type not specified, defaulting to Chrome\");\n browser = Browsers.CHROME;\n }else{\n browser = Browsers.browserForName(System.getProperty(BROWSER_PROP_KEY));\n }\n\n switch(browser) {\n case CHROME:\n driver = getChromeBrowser();\n break;\n case SAFARI:\n driver = getSafariBrowser();\n break;\n case FIREFOX:\n driver = getFirefoxBrowser();\n break;\n case IE:\n driver = getIEBrowser();\n break;\n default:\n Log.debug(\"Unable to determine browser type to create browser instance.\");\n }\n\n setBrowserSettings(driver);\n return driver;\n }", "title": "" }, { "docid": "3c6044bb5ed241dd9927925e699d66af", "score": "0.60667664", "text": "@BeforeMethod\r\n\tpublic void start() {\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"D:\\\\Automation_Environment\\\\ChromeIE_Drivers\\\\geckodriver.exe\");\r\n\t\twd = new FirefoxDriver();\r\n\t\t// --------To launch chrome browser\r\n\t\t// System.setProperty(\"webdriver.chrome.driver\",\r\n\t\t// \"D:\\\\Automation_Environment\\\\ChromeIE_Drivers\\\\chromedriver.exe\");\r\n\t\t// wd = new ChromeDriver();\r\n\t\t// --------To launch IE browser\r\n\t\t// System.setProperty(\"webdriver.ie.driver\",\r\n\t\t// \"D:\\\\Automation_Environment\\\\ChromeIE_Drivers\\\\IEDriverServer.exe\");\r\n\t\t// wd = new InternetExplorerDriver();\r\n\t}", "title": "" }, { "docid": "c2836770e69b30c4b753941a817ce332", "score": "0.60655195", "text": "private BaseClass()\n\t{\n\t\tString browser=ReadPropertyFile.get(\"Browser\");\n\t\tif(browser.equalsIgnoreCase(\"chrome\")|| browser.toUpperCase().contains(\"CHROME\"))\n\t\t{\n\t\t\ttry{\n\t\t\t\t\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\",System.getProperty(\"user.dir\")+\"\\\\Drivers\\\\chromedriver.exe\");\n\t\t\t\tChromeOptions options=new ChromeOptions();\n\t\t\t\toptions.addArguments(\"--incognito\");\n\n\t\t\t\tDesiredCapabilities capabilites=DesiredCapabilities.chrome();\n\t\t\t\tcapabilites.setCapability(ChromeOptions.CAPABILITY, options);\n\t\t\t\tdriver=new ChromeDriver(options);\n\t\t\t\t\t\n\t\t\t}\n\t\t\tcatch (Exception e)\n\t\t\t{\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\tdriver.manage().window().maximize();\n\t\tdriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\n\t\tdriver.get(ReadPropertyFile.get(\"url\"));\n\t\tdriver.manage().deleteAllCookies();\n\t}", "title": "" }, { "docid": "2d7d677288bc3fab774596a311db0c19", "score": "0.6060437", "text": "public static void Initialization() {\n\tString Browser = prop.getProperty(\"Browser\");\n\tif(Browser.equalsIgnoreCase(\"chrome\")) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", System.getProperty(\"user.dir\")+ \"\\\\src\\\\main\\\\resources\\\\chromedriver.exe\");\n\t//Opening Chrome in Incognito Mode\n\t\tChromeOptions options = new ChromeOptions();\n\t\toptions.addArguments(\"--Incognito\");\n\t\tdriver = new ChromeDriver(options);\n\t}\n\t\n\tdriver.get(prop.getProperty(\"URL\"));\n\tdriver.manage().window().maximize();\n\t\n}", "title": "" }, { "docid": "1a7d945678a78046790fc9f476c12eff", "score": "0.6024392", "text": "public final void setDriver(String browser) {\n if(browser == null || browser.isEmpty()){\n browser = Global_VARS.BROWSER;\n Log.info(\"Setting default browser\");\n }\n switch (browser){\n case \"firefox\" :\n Log.info(\"Initializing firefox browser. \");\n System.setProperty(Global_VARS.FIREFOX_DRIVER_NAME, Global_VARS.DRIVER_PATH + Global_VARS.FIREFOX_DRIVER_EXE);\n driver.set(new FirefoxDriver());\n OptionsManager.getFirefoxOptions();\n break;\n case \"chrome\" :\n Log.info(\"Initializing chrome browser. \");\n System.setProperty(Global_VARS.CHROME_DRIVER_NAME, Global_VARS.DRIVER_PATH + Global_VARS.CHROME_DRIVER_EXE);\n driver.set(new ChromeDriver());\n OptionsManager.getChromeOptions();\n break;\n\n }\n getDriver().manage().window().maximize();\n getDriver().manage().timeouts().implicitlyWait(Global_VARS.IMPLICIT_TIMEOUT, TimeUnit.SECONDS);\n }", "title": "" }, { "docid": "08c5a991ebdea23eb65956b1349850b5", "score": "0.6005246", "text": "public String GetBrowser()\n {\n return Pro.getProperty(\"Browser\");\n }", "title": "" }, { "docid": "3f9b13d7c208d8ef976d3fd2907d10af", "score": "0.59817827", "text": "public void selectBrowser() {\n if (SAUCE_LAB) {\n System.out.println(\"Running in SauceLab...... with browser \" + browser);\n\n if (browser.equalsIgnoreCase(\"Chrome\")) {\n DesiredCapabilities caps = DesiredCapabilities.chrome();\n caps.setCapability(\"platform\", \"Windows 7\");\n caps.setCapability(\"version\", \"67.0\");\n\n try {\n driver = new RemoteWebDriver(new URL(URL), caps);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n } else if (browser.equalsIgnoreCase(\"IE\")) {\n DesiredCapabilities caps = DesiredCapabilities.internetExplorer();\n caps.setCapability(\"platform\", \"Windows 10\");\n caps.setCapability(\"version\", \"11\");\n\n try {\n driver = new RemoteWebDriver(new URL(URL), caps);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n } else if (browser.equalsIgnoreCase(\"FireFox\")) {\n DesiredCapabilities caps = DesiredCapabilities.firefox();\n caps.setCapability(\"platform\", \"Windows 7\");\n caps.setCapability(\"version\", \"56\");\n caps.setCapability(\"name\", \"Testing on Firefox 56\");\n try {\n driver = new RemoteWebDriver(new URL(URL), caps);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n } else if (browser.equalsIgnoreCase(\"Safari\")) {\n DesiredCapabilities caps = DesiredCapabilities.safari();\n caps.setCapability(\"platform\", \"OS X 10.10\");\n caps.setCapability(\"version\", \"8.0\");\n try {\n driver = new RemoteWebDriver(new URL(URL), caps);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n } else if (browser.equalsIgnoreCase(\"edge\")) {\n DesiredCapabilities caps = DesiredCapabilities.edge();\n caps.setCapability(\"platform\", \"Windows 10\");\n caps.setCapability(\"version\", \"16.16299\");\n try {\n driver = new RemoteWebDriver(new URL(URL), caps);\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n } else {\n System.out.println(\"Wrong browser name or empty: \" + browser);\n }\n }\n // if sauce lab is false\n\n else {\n if (browser.equalsIgnoreCase(\"Chrome\")) {\n System.setProperty(\"webdriver.chrome.driver\", \"src\\\\test\\\\Resourses\\\\BrowserDirectory\\\\chromedriver.exe\");\n driver = new ChromeDriver();\n } else if (browser.equalsIgnoreCase(\"IE\")) {\n System.setProperty(\"webdriver.ie.driver\", \"src\\\\test\\\\Resourses\\\\BrowserDirectory\\\\IEDriverServer.exe\");\n driver = new InternetExplorerDriver();\n } else if (browser.equalsIgnoreCase(\"Firefox\")) {\n System.setProperty(\"webdriver.gecko.driver\", \"src\\\\test\\\\Resourses\\\\BrowserDirectory\\\\geckodriver.exe\");\n driver = new FirefoxDriver();\n } else {\n System.out.print(\"Wrong Browser\" + browser);\n }\n }\n }", "title": "" }, { "docid": "0315dfa12bae4f2b37021c393a5e340f", "score": "0.59744734", "text": "public interface IBrowserFactory {\n\t/**\n\t * Checks whether the factory can work on the user system.\n\t *\n\t * @return false if the factory cannot work on this system; for example the\n\t * required native browser required by browser adapters that it\n\t * creates is not installed.\n\t */\n\tpublic boolean isAvailable();\n\t/**\n\t * Obtains a new instance of a web browser.\n\t *\n\t * @return instance of IBrowser\n\t */\n\tpublic IBrowser createBrowser();\n}", "title": "" }, { "docid": "87d52b2d621de48e7844efa895a3a47a", "score": "0.5972308", "text": "public void openbrowser(String browser){\n\t\tTB.getBrowser(browser);\n\t\tdriver = TB.driver;\n\t}", "title": "" }, { "docid": "98b9e432eff390508935d704f9c1ff05", "score": "0.597026", "text": "@BeforeClass\r\n\tpublic void startBrowser(){\r\n\t\tBrowserInit browser = new BrowserInit(BrowserType.chrome);\r\n\t\t\r\n\t\tdriver = browser.driver;\r\n\t\tdu = new Do(driver);\r\n\t\twait = new Wait(driver);\r\n\t\tswtichw=new Switch(driver);\r\n\t\tfio = new WriteAndReadtxt();\r\n\t\tdriver.manage().window().maximize();\r\n\t}", "title": "" }, { "docid": "51c99b34e1068a6cd232127e69dc8f26", "score": "0.5947709", "text": "@BeforeTest\n\t public void startBrowser() throws IOException{\n\t\t\tPropertyConfigurator.configure(\".\\\\log4j\\\\Log4j.properties\");\n\t\t\t//Open FF Browser\n\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", \".\\\\driver\\\\geckodriver.exe\");\n\t\t\tDesiredCapabilities capabilities = DesiredCapabilities.firefox();\n\t\t\tcapabilities.setCapability(FirefoxDriver.MARIONETTE, false);// if Firefox version 46+ set Marionette Capability to false and Launch Firefox Driver\n\t\t\tdriver = new FirefoxDriver(capabilities);\n\t\t\t\n\t\t\t//Open Chrome Browser\n\t\t\t//System.setProperty(\"webdriver.chrome.driver\",\".\\\\driver\\\\chromedriver.exe\");\n\t //driver = new ChromeDriver();\n\t \n\t\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n\t\t\tdriver.manage().window().maximize();\n\t\t\t//insert NT credential for pop up authentication \n\t\t\tAutoIT_auth.NTlogin();\n\t\t\tdriver.get(ProdUrl);\n\t\t\t//driver.get(\"http://\"+GetNTLogin.usernm()+\":\"+GetNTLogin.passwd()+\"@\"+Url);\t\t\n\t\t\tAutoIT_auth.NTlogin();\n\t\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\n\t\t\t\n\t }", "title": "" }, { "docid": "0eb9d8efb7996b7eb0de90d0c4ea1251", "score": "0.59421486", "text": "@Test(timeout = TIMEOUT)\n \tpublic void testMultipleBrowsers() throws ConfigurationException, InterruptedException {\n \t\tCrawlSpecification spec = new CrawlSpecification(\"about:blank\");\n \t\tCrawljaxConfiguration cfg = new CrawljaxConfiguration();\n \t\tcfg.setCrawlSpecification(spec);\n \t\tcfg.setThreadConfiguration(new ThreadConfiguration(4));\n \n \t\tCrawljaxConfigurationReader reader = new CrawljaxConfigurationReader(cfg);\n \n \t\ttry {\n \n \t\t\tBrowserFactory factory =\n \t\t\t new BrowserFactory(reader.getBrowser(),\n \t\t\t reader.getThreadConfigurationReader(),\n \t\t\t reader.getProxyConfiguration(), null, 1, 1);\n \n \t\t\tfactory.requestBrowser();\n \t\t\tfactory.requestBrowser();\n \t\t\tEmbeddedBrowser b1 = factory.requestBrowser();\n \t\t\tfactory.freeBrowser(b1);\n \n \t\t\tfactory.close();\n \t\t} catch (Exception e) {\n \t\t\te.printStackTrace();\n \t\t\tfail(e.getMessage());\n \t\t}\n \t}", "title": "" }, { "docid": "7fb6bc040452630a2876989049e2d03f", "score": "0.5939973", "text": "private static String[] listOfBrowsers(){\n\t return new String[]{\"firefox\", \"chrome\", \"safari\"};\n }", "title": "" }, { "docid": "cdc9781a99816cc18b106616f470dd9f", "score": "0.59386617", "text": "@BeforeClass(description = \"Launch browser\")\n\tpublic void launchBrowser() {\n\t\tSystem.setProperty(\"webdriver.opera.driver\", \"src/main/resources/operadriver\");\n\t\tdriver = new OperaDriver();\n\t}", "title": "" }, { "docid": "7f9d386b6fe6567fff79a86c597872e8", "score": "0.59378207", "text": "@Parameters({ \"browserName\" })\n @BeforeClass\n public void beforeClass(@Optional(\"firefox\") String browserName) {\n webDriver = StartBrowser(browserName);\n webDriver.navigate().to(startURL);\n startPage = PageFactory.initElements(webDriver, StartPage.class);\n startPage.isPageLoaded();\n }", "title": "" }, { "docid": "c5523303eb1df31d7f00cc3c68b035f3", "score": "0.59315413", "text": "public String getBrowser() {\n return browser;\n }", "title": "" }, { "docid": "aa287c4dcf66c0183aab640fb7dc0a0a", "score": "0.59250027", "text": "public String getClientBrowser(HttpServletRequest request) {\n final String browserDetails = request.getHeader(\"User-Agent\");\n final String user = browserDetails.toLowerCase();\n\n String browser = \"\";\n\n // ===============Browser===========================\n if (user.contains(\"msie\")) {\n String substring = browserDetails.substring(browserDetails.indexOf(\"MSIE\")).split(\";\")[0];\n browser = substring.split(\" \")[0].replace(\"MSIE\", \"IE\") + \"-\" + substring.split(\" \")[1];\n } else if (user.contains(\"safari\") && user.contains(\"version\")) {\n browser = (browserDetails.substring(browserDetails.indexOf(\"Safari\")).split(\" \")[0]).split(\"/\")[0] + \"-\"\n + (browserDetails.substring(browserDetails.indexOf(\"Version\")).split(\" \")[0]).split(\"/\")[1];\n } else if (user.contains(\"opr\") || user.contains(\"opera\")) {\n if (user.contains(\"opera\"))\n browser = (browserDetails.substring(browserDetails.indexOf(\"Opera\")).split(\" \")[0]).split(\"/\")[0] + \"-\"\n + (browserDetails.substring(browserDetails.indexOf(\"Version\")).split(\" \")[0]).split(\"/\")[1];\n else if (user.contains(\"opr\"))\n browser = ((browserDetails.substring(browserDetails.indexOf(\"OPR\")).split(\" \")[0]).replace(\"/\", \"-\"))\n .replace(\"OPR\", \"Opera\");\n } else if (user.contains(\"chrome\")) {\n browser = (browserDetails.substring(browserDetails.indexOf(\"Chrome\")).split(\" \")[0]).replace(\"/\", \"-\");\n } else if ((user.indexOf(\"mozilla/7.0\") > -1) || (user.indexOf(\"netscape6\") != -1)\n || (user.indexOf(\"mozilla/4.7\") != -1) || (user.indexOf(\"mozilla/4.78\") != -1)\n || (user.indexOf(\"mozilla/4.08\") != -1) || (user.indexOf(\"mozilla/3\") != -1)) {\n browser = \"Netscape-?\";\n\n } else if (user.contains(\"firefox\")) {\n browser = (browserDetails.substring(browserDetails.indexOf(\"Firefox\")).split(\" \")[0]).replace(\"/\", \"-\");\n } else if (user.contains(\"rv\")) {\n browser = \"IE\";\n } else {\n browser = \"UnKnown, More-Info: \" + browserDetails;\n }\n return browser;\n }", "title": "" }, { "docid": "8bf37d2e90a1135e1b7be067c04078f6", "score": "0.58965915", "text": "protected WebDriver openBrowser(String browser, String port, String ipClient) {\n\t\tBrowser br = new Browser();\n\t\t\t\n\t\tif (driver.toString().toLowerCase().contains(\"chrome\")\n\t\t\t\t|| driver.toString().toLowerCase().contains(\"firefox\")\n\t\t\t\t|| driver.toString().toLowerCase().contains(\"internetexplorer\")) {\n\t\t\tdriver.manage().window().maximize();\n\t\t\tJavascriptExecutor js = (JavascriptExecutor) driver;\n\t\t\tjs.executeScript(\"window.focus();\");\t\t\t\n\t\t}\n\t\tdriver.manage().timeouts();\n\t\tDriverManager.setWebDriver(driver);\n\t\treturn driver;\n\t}", "title": "" }, { "docid": "67c00beb95bc16364912f13c1cda171a", "score": "0.58879685", "text": "public MiniBrowserWindow( Display display )\r\n\t{\r\n\t\tthis( display, UNTITLED, null );\r\n\t}", "title": "" }, { "docid": "6a1d3d2f51f7b423baa7779e070ee3c7", "score": "0.58675903", "text": "public static void main(String[] args)\r\n\t{\n\t\tWebDriver driver= null;\r\n\t\tSystem.out.println(\"enter browser type: IE or FF or chrome\");\r\n\t\tScanner sc= new Scanner(System.in);\r\n\t\tString brtype=sc.next();\r\n\t\tbrtype= brtype.toUpperCase();\r\n\t\t\r\n\t\tswitch(brtype)\r\n\t\t{\r\n\t\tcase \"FF\":\r\n\t\t\tdriver= new FirefoxDriver();\r\n\t\t\tbreak;\r\n\t\t\t\r\n\t\tcase \"IE\":\r\n\t\t\tSystem.setProperty(\"webdriver.IE.driver\", \"D:\\\\IEdriverserver.exe\");\r\n\t\t\tdriver= new InternetExplorerDriver();\r\n\t\t\tbreak;\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "c70e29cbeb83efe9a91c5a6c8c293e5a", "score": "0.5866982", "text": "@Given(\"^User open the browser$\")\n public void userOpenTheBrowser() throws Throwable {\n BaseClass objBaseClass = new BaseClass();\n /* String browsername = BaseClass.browsername;\n String platform = BaseClass.platformname;\n System.out.println(\"browsername \" + browsername);\n System.out.println(\"platform \" + platform);*/\n objBaseClass.executionFactory();\n\n\n }", "title": "" }, { "docid": "a1290e4218c24e5e5a610d99b2d0aa44", "score": "0.5851791", "text": "public Browser(WebDriver driver){\n\t\t_driver = driver;\n\t}", "title": "" }, { "docid": "0a38db3e8b357a0b9b4a2c289df1510f", "score": "0.5847733", "text": "public void setBrowser(SimpleBrowser browser) {\n\t\tthis.browser = browser;\n\t}", "title": "" }, { "docid": "a47eab4d9d8e78a901238a3b0b777f84", "score": "0.58473724", "text": "public abstract SafariBrowser launch(String udid) throws BrowserException;", "title": "" }, { "docid": "7a0a3aad4996992ef7babc8d62a8a769", "score": "0.5846942", "text": "public void Launch_browser()\r\n\t{\r\n\t\t System.setProperty(\"webdriver.chrome.driver\", drivers_path+\"chromedriver.exe\");\r\n\t\t driver=new ChromeDriver();\r\n\t\t driver.manage().window().maximize();\r\n\t}", "title": "" }, { "docid": "e8b8512236f920fff824d4384d6022de", "score": "0.58332527", "text": "public void initiateDriver(String browserType) \n\t{\t\t\n\t\tlog.info(\"Browser name present in config file :\" + browserType);\t\t \t\t\t\t\n\t\tlog.info(\"-----------------STARTED RUNNING SELENIUM TESTS ON LOCAL MACHINE------------------\");\n\t\tsetDriver(browserType);\t\n\t\t\n\t}", "title": "" }, { "docid": "b3d1027a3f9a8aa08d07c83761d481f3", "score": "0.582044", "text": "public static void setupBrowser(String browsername, String url) {\n if (browsername.equalsIgnoreCase(\"chrome\")) {\n System.setProperty(\"webdriver.chrome.driver\", \"src/main/resources/chromedriver.exe\");\n driver = new ChromeDriver();\n driver.get(url);\n } else {\n System.setProperty(\"webdriver.geckodriver.driver\", \"src/main/resources/geckodriver.exe\");\n driver = new FirefoxDriver();\n driver.get(url);\n }\n }", "title": "" }, { "docid": "ce5d8accbd9ffdcc889860fa584619a7", "score": "0.5815175", "text": "@BeforeMethod\n\tpublic void setup(){\n\t\tdriver=BrowseFactory.startbrowser(\"chrome\");\n\t\tdriver.manage().timeouts().implicitlyWait(15,TimeUnit.SECONDS);\n\t\tdriver.manage().window().maximize();\n\t\tdriver.get(\"http://www.sword-activerisk.com/\");\n\t}", "title": "" }, { "docid": "0f338bb1a459b121297ba977649f31e0", "score": "0.5807803", "text": "public static WebDriver setBrowser(String Browser) throws IOException, InterruptedException{\n\t\t\n\t\tif(Browser.equalsIgnoreCase(\"Chrome\"))\n\t\t{\t\n\t\t\tdriver = new ChromeDriver();\n\t\t\t\n\t\t} else if (Browser.equalsIgnoreCase(\"Firefox\"))\n\t\t{\n\t\t\t\n\t\t\tdriver = new FirefoxDriver();\n\t\t\t\n\t\t} \n\n\t\telse if (Browser.equalsIgnoreCase(\"IE\"))\n\t\t{\n\t\t\tdriver = new InternetExplorerDriver();\n\t\t}\n\t\t\n\t\tLandingPage landingPage = new LandingPage(driver);\n\t\tlandingPage.navigateToWebSite();\n\t\treturn driver;\n\t\t\n\t}", "title": "" }, { "docid": "83f92c05cf456e2e2c3f5e780c01d2de", "score": "0.5807679", "text": "public static WebDriver startBrowser(String browserName, String url)\n\t{\n\t\t\n\t\tif(browserName.equals(\"Firefox\")){\n\t\t\tdriver = new FirefoxDriver();\n\t\t\t}\n\t\telse if (browserName.equals(\"Chrome\")){\n\t\t\tdriver = new ChromeDriver();\n\t\t\t\n\t\t}\n\t\telse if (browserName.equals(\"IE\")){\n\t\t\tdriver = new InternetExplorerDriver();\n\t\t\t\n\t\t}\n\t\tdriver.manage().window().maximize();\n\t\tdriver.get(url);\n\t\t\n\t\t\n\t\treturn driver;\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "bbf2780a568fd311b55897e9e6e85195", "score": "0.58040994", "text": "@Given(\"^LAUNCHIng the browser$\")\n\tpublic void launching_the_browser8() {\n\tthe_user_launched_the_chrome_browser();\n\t}", "title": "" }, { "docid": "58f2e6d9bec51f26f44abcc491051a82", "score": "0.57643026", "text": "@Parameters(\"browserType\")\r\n\t@BeforeMethod\r\n\tpublic void loginsetup(String browser){\r\n//\tif(browsertype.equalsIgnoreCase(\"firefox\")){\r\n//\t\t\tdriver1 = new FirefoxDriver();\r\n//\t\t}else if (browsertype.equalsIgnoreCase(\"chrome\")){\r\n//\t\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"/Users/anandmahajan/Desktop/chromedriver\");\r\n//\t\t\tdriver1=new ChromeDriver();\r\n//\t\t}\r\n\t\telements.browserSetup(browser);\r\n\t\tlog.info(\"Browser setup successfull\");\r\n }", "title": "" }, { "docid": "1793028287e69530f43e5e72bb5e0895", "score": "0.57568157", "text": "@BeforeClass\n\t@Parameters({\"browser\"})\n\tpublic void classSetup(@Optional(\"chrome\") String browser) throws Exception {\n\t\tSystem.out.println(\"Current browser: \" + browser);\n\t\t\n\t\t// create the driver instance for the current thread\n\t\tDriverFactory.setDriver(browser, Boolean.parseBoolean(prop.getProperty(\"HEADLESS\")));\n\t\t\n\t\t// retrieve the driver instance for the current thread\n\t\tdriver = DriverFactory.getDriver();\n\t\t\n\t\t// configure the driver\n\t\tdriver.manage().window().maximize();\n\t\tdriver.manage().deleteAllCookies();\n\t\tdriver.manage().timeouts().pageLoadTimeout(Long.parseLong(System.getProperty(\"page.load.timeout\")), TimeUnit.SECONDS);\n\t\t\n\t\t// open AUT\n\t\tdriver.get(PageInfo.LOGIN_PAGE_URL);\n\t}", "title": "" }, { "docid": "f5eca26c501ab05859fc8ad799145ce8", "score": "0.57508343", "text": "@SuppressWarnings(\"deprecation\")\n\t@BeforeClass\n\t@Parameters(value = {\"browser\"})\n\tpublic void initDriver(String browser) {\n\t\ttry {\n//\t\t\tProperties propConfig = CommonUtils.getValFromResource();\n//\t\t\tString browser= CommonUtils.getPropertiesValue(\"browser\", propConfig);\n\t\t\tSystem.out.println(\"browser is \"+browser);\n\t\t\tDesiredCapabilities cap;\n\t\t\tcap = new DesiredCapabilities();\n\t\t\tcap.setJavascriptEnabled(true);\n\t\t\t\n\t\t\tif(!(browser.equals(\"null\")))\n\t\t\t{\n\t\t\t\tswitch(browser)\n\t\t\t\t{\n\t\t\t\tcase \"chrome\": \n\t\t\t\t\tClass<? extends WebDriver> driverClass = ChromeDriver.class;\n\t\t\t\t\tChromeDriverManager.getInstance(driverClass).setup(); \n\t\t\t\t\tdriver = new ChromeDriver(cap);\n\t\t\t\t\tdriver.manage().window().maximize();\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"ie\":\n\t\t\t\t\tSystem.setProperty(\"webdriver.ie.driver\", System.getProperty(\"user.dir\")+\"\\\\jars\\\\IEDriverServer.exe\"); \t\t\t\t\n\t\t\t\t\tcap.setCapability(InternetExplorerDriver.IGNORE_ZOOM_SETTING, true);\n\t\t\t\t\tcap.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);\n\t\t\t\t\tcap.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);\n\t\t\t\t\tdriver = new InternetExplorerDriver(cap);\t\t\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"firefox\":\n\t\t\t\t\t System.setProperty(\"webdriver.gecko.driver\", System.getProperty(\"user.dir\")+\"\\\\jars\\\\geckodriver.exe\");\n\t\t\t\t\t driver = new FirefoxDriver(cap);\t\t\t\t \n\t\t\t\t\tbreak;\n\t\t\t\tdefault: \n\t\t\t\t\tSystem.out.println(\"Please provide valid browser\");\n\t\t\t\t}\n\t\t\t\n\t\t\t\tdriver.manage().timeouts().pageLoadTimeout(60, TimeUnit.SECONDS);\n\t\t\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "56be0f9cfad0811f0a285963021d7414", "score": "0.5738371", "text": "@BeforeMethod\n public static void setUpBrowser() {\n //setting up chromedriver path\n System.setProperty(\"webdriver.chrome.driver\", \"C:\\\\soft\\\\chromedriver.exe\");\n //creating chromdriver object to open google chrome browser\n driver = new ChromeDriver();\n //maximising screen\n driver.manage().window().maximize();\n //applying implicity wait of 30 sec to the driver instance\n driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n //open url\n driver.get(\"https://demo.nopcommerce.com/\");\n }", "title": "" }, { "docid": "b2cf1cd031549f4e09125cef67ebd86d", "score": "0.5728979", "text": "public void OpenBrowser(String Browsername) {\n\n\t\ttry {\n\t\t\tif (Browsername.equalsIgnoreCase(\"chrome\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\",\n\t\t\t\t\t\tSystem.getProperty(\"user.dir\") + \"\\\\Browserlib\\\\chromedriver.exe\");\n\t\t\t\td = new ChromeDriver();\n\t\t\t\t// dynamically reading this .System.out.println(System.getProperty(\"user.dir\")\n\n\t\t\t} else if (Browsername.equalsIgnoreCase(\"Mozila\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.gecko.driver\",\n\t\t\t\t\t\tSystem.getProperty(\"user.dir\") + \"\\\\Browserlib\\\\geckodriver.exe\");\n\n\t\t\t\td = new FirefoxDriver();\n\t\t\t} else if (Browsername.equalsIgnoreCase(\"Opera\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.opera.driver\",\n\t\t\t\t\t\tSystem.getProperty(\"user.dir\") + \"Browserlib\\\\operadriver.exe\");\n\t\t\t\td = new OperaDriver();\n\n\t\t\t} else {\n\t\t\t\td = new SafariDriver();\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tlogger.log(Status.FAIL, e.getMessage());\n\t\t}\n\n\t\td.manage().timeouts().implicitlyWait(100, TimeUnit.SECONDS);\n\t\td.manage().window().maximize();\n\t\td.manage().timeouts().pageLoadTimeout(100, TimeUnit.SECONDS);\n\n\t\tif (prop == null) {\n\t\t\tprop = new Properties();\n\t\t\ttry {\n\t\t\t\tFileInputStream file = new FileInputStream(System.getProperty(\"user.dir\")\n\t\t\t\t\t\t+ \"\\\\src\\\\test\\\\resources\\\\ObjectRepository\\\\projectconfig.properties\");\n\t\t\t\tprop.load(file);\n\t\t\t} catch (Exception e) {\n\t\t\t\treportFail(e.getMessage());\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "7b25d4486145909cb4741a835799d048", "score": "0.57253325", "text": "public WebDriver initilize_driver() {\n\t\t\n\t\tString browser=\"chrome\";\n\t\tif(browser.equals(\"chrome\")){\n\t\tWebDriverManager.chromedriver().setup();\n\t\tdriver=new ChromeDriver();\n\t }\n\t\telse if(browser.equals(\"ff\")) {\n\t\t\tWebDriverManager.firefoxdriver().setup();\n\t\t\tdriver=new FirefoxDriver();\n\t\t}\n\tdriver.manage().window().fullscreen();\n\tdriver.manage().deleteAllCookies();\n\tdriver.manage().timeouts().pageLoadTimeout(20, TimeUnit.SECONDS);\n\tdriver.get(\"https://login.salesforce.com/\");\n\ttry {\n\t\tThread.sleep(3000);\n\t} catch (InterruptedException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\treturn driver;\n\t}", "title": "" }, { "docid": "aa442956a9f3ba7b7a489e7bd99b57fc", "score": "0.57246983", "text": "public static void launchBrowser() {\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", properties.getProperty(\"driverPath\"));\r\n\t\t\tdriver = new ChromeDriver();\r\n\r\n\t\t\tdriver.manage().window().maximize();\r\n\t\t\t//navigating the browser to given URL\r\n\t\t\tdriver.get(properties.getProperty(\"url\"));\r\n\t\t\t// using implicit wait for browser to navigate if any loading issues\r\n\t\t\tdriver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);\r\n\r\n\t\t}", "title": "" }, { "docid": "c48dd569254d5c0d3a339bf4079cedb1", "score": "0.5720019", "text": "public void invokeBrowser()\r\n\t{\r\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"C://Users/User/workspace_1/geckodriver-v0.24.0-win64/geckodriver.exe\");\r\n\t\t// sets the property the Firefox Browser\r\n\t\t\r\n\t\tdriver = new FirefoxDriver();\r\n\t\t\r\n\t\tdriver.manage().window().maximize();\r\n\t\t\r\n\t\tdriver.get(flipkartURL);\t\r\n\t}", "title": "" }, { "docid": "5e772c3b57bcc80c145b7c5c116efdaa", "score": "0.57198143", "text": "public static void Browsercode() throws AWTException\r\n\t{\r\n\t\tSystem.setProperty(\"webdriver.firefox.marionette\", \"C:\\\\Users\\\\cubic\\\\Desktop\\\\Nageshwari\\\\drivers\\\\geckodriver-v0.19.1-win64\\\\geckodriver.exe\");\r\n\t\t driver=new FirefoxDriver();\r\n\t driver.get(Browser_Data.link);\r\n\t \r\n\t \r\n\t\t \r\n\t\r\n\t}", "title": "" }, { "docid": "2d4881751cdbe66b489a5b3c78ec1992", "score": "0.57074356", "text": "public void openBrowser() throws Exception {\n\t\tlogger.info(\"Environment Status-->\"\n\t\t\t\t+ StringUtils.isNotBlank(System.getenv(\"SELENIUM_BROWSER\")));\n\t\tif (StringUtils.isNotBlank(System.getenv(\"SELENIUM_BROWSER\"))) {\n\t\t\tlogger.info(\"Running Environment is Saucelabs\");\n\t\t\tDesiredCapabilities desiredCapabilities = new DesiredCapabilities();\n\t\t\tdesiredCapabilities.setBrowserName(System\n\t\t\t\t\t.getenv(\"SELENIUM_BROWSER\"));\n\t\t\tlogger.info(\"Browser Name-->\" + System.getenv(\"SELENIUM_BROWSER\"));\n\t\t\tdesiredCapabilities.setVersion(System.getenv(\"SELENIUM_VERSION\"));\n\t\t\tlogger.info(\"Browser Version-->\"\n\t\t\t\t\t+ System.getenv(\"SELENIUM_VERSION\"));\n\t\t\tlogger.info(\"Platform Version-->\"\n\t\t\t\t\t+ System.getenv(\"SELENIUM_PLATFORM\"));\n\t\t\tdesiredCapabilities.setCapability(CapabilityType.PLATFORM,\n\t\t\t\t\tSystem.getenv(\"SELENIUM_PLATFORM\"));\n\t\t\tdesiredCapabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS,\n\t\t\t\t\ttrue); //\n\t\t\tdesiredCapabilities.setCapability(CapabilityType.HAS_NATIVE_EVENTS,\n\t\t\t\t\ttrue);\n\t\t\tif (System.getenv(\"SELENIUM_BROWSER\").trim()\n\t\t\t\t\t.equalsIgnoreCase(\"internet explorer\")) // to overcome\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// delete cookies\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// producing error\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// in IEBrowser\n\t\t\t\tdesiredCapabilities\n\t\t\t\t\t\t.setCapability(\"ie.ensureCleanSession\", true);\n\t\t\tdesiredCapabilities.setCapability(\"name\", this.getClass()\n\t\t\t\t\t.getSimpleName());\n\n\t\t\tif (StringUtils.containsIgnoreCase(host,\n\t\t\t\t\t\"https://projectne.thomsonreuters.com\")) {\n\t\t\t\tif (System.getenv(\"SELENIUM_BROWSER\")\n\t\t\t\t\t\t.equalsIgnoreCase(\"Chrome\")) {\n\t\t\t\t\tChromeOptions co = new ChromeOptions();\n\t\t\t\t\tco.addArguments(\"--user-agent=\" + USER_AGENT);\n\t\t\t\t\tdesiredCapabilities.setCapability(ChromeOptions.CAPABILITY,\n\t\t\t\t\t\t\tco);\n\t\t\t\t}\n\t\t\t}\n\t\t\tob = new RemoteWebDriver(\n\t\t\t\t\tnew URL(\n\t\t\t\t\t\t\t\"http://chinna_putha:e58d38dc-3d93-43e8-af25-5e3a1df25e8b@ondemand.saucelabs.com:80/wd/hub\"),\n\t\t\t\t\tdesiredCapabilities);\n\t\t\tString waitTime = CONFIG.getProperty(\"defaultImplicitWait\");\n\t\t\tString pageWait = CONFIG.getProperty(\"defaultPageWait\");\n\t\t\tob.manage().timeouts()\n\t\t\t\t\t.implicitlyWait(Long.parseLong(waitTime), TimeUnit.SECONDS);\n\t\t\ttry {\n\t\t\t\tob.manage()\n\t\t\t\t\t\t.timeouts()\n\t\t\t\t\t\t.implicitlyWait(Long.parseLong(pageWait),\n\t\t\t\t\t\t\t\tTimeUnit.SECONDS);\n\t\t\t} catch (Throwable t) {\n\t\t\t\tlogger.info(\"Page Load Timeout not supported in safari driver\");\n\t\t\t}\n\t\t\t// else part having local machine configuration\n\t\t} else {\n\t\t\tlogger.info(\"Running Environment is Local Machine\");\n\t\t\tif (CONFIG.getProperty(\"browserType\").equalsIgnoreCase(\"FF\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.gecko.driver\",\n\t\t\t\t\t\t\"drivers/geckodriver.exe\");\n\t\t\t\tob = new FirefoxDriver();\n\t\t\t} else if (CONFIG.getProperty(\"browserType\").equalsIgnoreCase(\"IE\")) {\n\t\t\t\tDesiredCapabilities capabilities = DesiredCapabilities\n\t\t\t\t\t\t.internetExplorer();\n\t\t\t\tcapabilities.setCapability(\n\t\t\t\t\t\tInternetExplorerDriver.IE_ENSURE_CLEAN_SESSION, true);\n\t\t\t\tcapabilities\n\t\t\t\t\t\t.setCapability(\n\t\t\t\t\t\t\t\tInternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,\n\t\t\t\t\t\t\t\ttrue);\n\t\t\t\tSystem.setProperty(\"webdriver.ie.driver\",\n\t\t\t\t\t\t\"drivers/IEDriverServer.exe\");\n\t\t\t\tob = new InternetExplorerDriver(capabilities);\n\t\t\t} else if (CONFIG.getProperty(\"browserType\").equalsIgnoreCase(\n\t\t\t\t\t\"Chrome\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\",\n\t\t\t\t\t\t\"drivers/chromedriver.exe\");\n\t\t\t\tDesiredCapabilities capability = DesiredCapabilities.chrome();\n\t\t\t\tcapability.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);\n\t\t\t\tChromeOptions co = new ChromeOptions();\n\t\t\t\tco.addArguments(\"--user-agent=\" + USER_AGENT);\n\t\t\t\tcapability.setCapability(ChromeOptions.CAPABILITY, co);\n\t\t\t\tob = new ChromeDriver(capability);\n\t\t\t} else if (CONFIG.getProperty(\"browserType\").equalsIgnoreCase(\n\t\t\t\t\t\"Safari\")) {\n\t\t\t\tDesiredCapabilities desiredCapabilities = DesiredCapabilities\n\t\t\t\t\t\t.safari();\n\t\t\t\tSafariOptions safariOptions = new SafariOptions();\n\t\t\t\tsafariOptions.setUseCleanSession(true);\n\t\t\t\tdesiredCapabilities.setCapability(SafariOptions.CAPABILITY,\n\t\t\t\t\t\tsafariOptions);\n\t\t\t\tob = new SafariDriver(desiredCapabilities);\n\t\t\t}\n\t\t\tString waitTime = CONFIG.getProperty(\"defaultImplicitWait\");\n\t\t\tString pageWait = CONFIG.getProperty(\"defaultPageWait\");\n\t\t\tob.manage().timeouts()\n\t\t\t\t\t.implicitlyWait(Long.parseLong(waitTime), TimeUnit.SECONDS);\n\t\t\ttry {\n\t\t\t\tob.manage()\n\t\t\t\t\t\t.timeouts()\n\t\t\t\t\t\t.pageLoadTimeout(Long.parseLong(pageWait),\n\t\t\t\t\t\t\t\tTimeUnit.SECONDS);\n\t\t\t} catch (Throwable t) {\n\t\t\t\tlogger.info(\"Page Load Timeout not supported in safari driver\");\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "3aeed100444aace9f54043f0ddbbfeee", "score": "0.5705496", "text": "public static void main(String[] args) {\n\t\tBrowser.main(args);\n\t}", "title": "" }, { "docid": "fa10db209233d5fb86cfb7d50f900fc3", "score": "0.5703061", "text": "@Override\n\tpublic void init(String remoteUrl, boolean startProxy) throws Exception {\n\t\tsetTimeout(30);\n\t\tsetBrowserName(\"Headless browser\");\n\t\tsetInitialized(true);\n//\t\tdbService = new DbService();\n//\t\treporter.report(\"Remote url from pom file is: \" + remoteUrl);\n//\t\tlogsFolder = folderName;\n\t\ttry {\n\n\t\t\tDesiredCapabilities capabilities = DesiredCapabilities.htmlUnit();\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(\"remote machine for headless browser is: \"+remoteUrl);\n\t\t\twebDriver = new RemoteWebDriver(new URL(remoteUrl + \"/wd/hub\"),\n\t\t\t\t\tcapabilities);\n\t\t\tdeleteCookiesAndCache();\n\t\t\tsetPageLoadTimeOut();\n\t\t\tsetScriptLoadTimeOut();\n//\t\t\treporter.stopLevel();\n\t\t} catch (Exception e) {\n\t\t\tlogger.error(\"Cannot register node or start the remote driver! \", e);\n\t\t}\n\t}", "title": "" }, { "docid": "3f16e79dbdea505f333b626d2256c496", "score": "0.57009125", "text": "public WebDriver init()\n\t{\t\n \tif(isProfilePresent())\n \t{\n \t\tlog.info(\"Firefox profile Exists\");\n \t\tlog.info(\"Launching firefox with specified profile\");\n\t\t\tdriver = FirefoxDriver(getProfilePath());\n\t\t}\n\t\telse\n\t\t{\n\t\t\tlog.info(\"Launching firefox with a new profile\");\n\t\t\tdriver = FirefoxDriver(); \t \n\t\t}\n\t return driver;\n\t}", "title": "" }, { "docid": "3f85b85d97128efcbbfcb55bf5812276", "score": "0.5697127", "text": "public static void SetDriver()\r\n\t{\n\t\tDesiredCapabilities cap = new DesiredCapabilities();\r\n\t\t//cap.setBrowserName(System.getenv(\"browserName\"));\r\n\t\tcap.setBrowserName(\"chrome\");\r\n//\t\ttdl.set(new FirefoxDriver());\r\n\t\t\r\n\t\ttry {\r\n\t\t\t//tdl.set(new RemoteWebDriver(new URL(System.getenv(\"hubURL\")), cap));\r\n\t\t\tSystem.out.println(\"************ Creating instace\");\r\n\t\t\ttdl.set(new RemoteWebDriver(new URL(\"http://localhost:4444/wd/hub\"), cap));\r\n\t\t} catch (MalformedURLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\tSystem.out.println(\"!!!!!!!!!!! Unable to create driver object\");\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\ttdl.get().manage().timeouts().implicitlyWait(0, TimeUnit.SECONDS);\r\n\t\tWebDriverFactory.getDriver().get(\"http://192.168.0.108/orangehrm-3.3.1\");\r\n\t\tWebDriverFactory.getDriver().manage().window().maximize();\r\n\t\t\t\t\r\n\t}", "title": "" }, { "docid": "a3cf81cfefdb33c74dffb5cf266c412e", "score": "0.56894714", "text": "public static WebDriver getBrowser(String browserName) {\n\t\tWebDriver driver = null;\n \n\t\tswitch (browserName) {\n\t\tcase \"Firefox\":\n\t\t\tdriver = drivers.get(\"Firefox\");\n\t\t\tif (driver == null) {\n\t\t\t\t//System.setProperty(\"webdriver.firefox.driver\",\"C:\\\\Users\\\\Mike\\\\WebDriver\\\\geckodriver.exe\");\n\t\t\t\tdriver = new FirefoxDriver();\n\t\t\t\tdriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\n\t\t\t\tdrivers.put(\"Firefox\", driver);\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\tbreak;\n\t\t\t\n\t\t\t\n\t\tcase \"IE\":\n\t\t\tdriver = drivers.get(\"IE\");\n\t\t\tif (driver == null) {\n\t\t\t\tSystem.setProperty(\"webdriver.ie.driver\",\"C:\\\\Users\\\\Mike\\\\WebDriver\\\\IEDriverServer.exe\");\n\t\t\t\tdriver = new InternetExplorerDriver();\n\t\t\t\tdriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\n\t\t\t\tdrivers.put(\"IE\", driver);\n\t\t\t\t\n\t\t\t}\t\t\t\n\t\t\tbreak;\n\t\t\t\n\t\t\t\n\t\tcase \"Chrome\":\n\t\t\tdriver = drivers.get(\"Chrome\");\n\t\t\tif (driver == null) {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Users\\\\Mike\\\\WebDriver\\\\chromedriver.exe\");\n\t\t\t\t\n\t\t\t\tMap<String, Object> prefs = new HashMap<String, Object>();\t\t\t\t\n\t\t \tprefs.put(\"download.prompt_for_download\", false);\n\t\t \tprefs.put(\"credentials_enable_service\", false);\t\n\t\t \tprefs.put(\"password_manager_enabled\", false);\n\t\t\t\tChromeOptions chromeOptions = new ChromeOptions();\n\t\t\t\tchromeOptions.addArguments(\"chrome.switches\",\"--disable-extensions\");\n\t\t \tchromeOptions.addArguments(\"disable-popup-blocking\");\n\t\t \tchromeOptions.addArguments(\"--disable-notifications\");\n\t\t \tchromeOptions.addArguments(\"disable-infobars\");\n\t\t \tchromeOptions.addArguments(\"--start-maximized\");\n\t\t \tchromeOptions.setExperimentalOption(\"prefs\", prefs);\n\t\t \tchromeOptions.addArguments(\"--test-type\");\n\t\t \tdriver = new ChromeDriver(chromeOptions);\t\n\t\t \tdriver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\n\t\t \tdrivers.put(\"Chrome\", driver);\t\t\t\n\t\t\t}\t\t\t\n\t\t\tbreak;\n\t\t}\n\t\t\n\t\treturn driver;\n\t}", "title": "" }, { "docid": "381ea003794952e90244f392e041c32d", "score": "0.5678724", "text": "@BeforeClass\n\tpublic static void beforeClass() throws MalformedURLException {\n\n\t\tDrivers.driver = Drivers.browser(\"firefox\");\n\t\tcommUtil.launchBrowser(\"http://demoqa.com/\");\n\t\tDrivers.driver.manage().window().maximize();\n\n\t\t// Drivers.driver = Drivers.browser(\"internetExplorer\");\n\t\t// commUtil.launchBrowser(\"http://demoqa.com/\");\n\t}", "title": "" }, { "docid": "381ea003794952e90244f392e041c32d", "score": "0.5678724", "text": "@BeforeClass\n\tpublic static void beforeClass() throws MalformedURLException {\n\n\t\tDrivers.driver = Drivers.browser(\"firefox\");\n\t\tcommUtil.launchBrowser(\"http://demoqa.com/\");\n\t\tDrivers.driver.manage().window().maximize();\n\n\t\t// Drivers.driver = Drivers.browser(\"internetExplorer\");\n\t\t// commUtil.launchBrowser(\"http://demoqa.com/\");\n\t}", "title": "" }, { "docid": "9c3c8a4f729271d24eedafc46936a584", "score": "0.56730735", "text": "public BrowsingClient() {\n\t\tthis(\"localhost\");\n\t}", "title": "" }, { "docid": "e787617939467fc7b34854d62ec44ba9", "score": "0.5669973", "text": "@Given(\"^Open the browser and launch the application$\")\n\tpublic void browserInitiate() throws Throwable {\n\t\tDriverInstance.setDriverInstance();\n\t}", "title": "" }, { "docid": "58c787ac4a881fc23f6438b9aacd1f54", "score": "0.56600094", "text": "@Given(\"^LAUNCHING THe browser$\")\n\tpublic void launching_THe_browser() {\n\tthe_user_launched_the_chrome_browser();\n\t}", "title": "" }, { "docid": "90b9a97622105ccd323a2c8cd24e02aa", "score": "0.56455785", "text": "protected MiniBrowserWindow( MiniBrowserWindow parent ) \r\n\t{\r\n\t __log.debug( \"ctor w/ parent\" );\r\n\t\t\r\n\t\t// NB: for sub shells inherit (pass along) display, title, images, etc.\r\n\t init( parent._display, parent._title, parent._images );\r\n\r\n\t onCreatePopUpWindow();\r\n\t}", "title": "" }, { "docid": "1d07eb4ceccb2b70074ff0c448fcac21", "score": "0.5643832", "text": "@Before\n public void initializeTest(){\n System.out.println(\"Opening browser\");\n //Declare the gecko driver path\n System.setProperty(\"webdriver.gecko.driver\", \"/Users/tulachanashok/Documents/Udemy-Selenium-Java/cucumber-newtours/geckodriver\");\n //Initialize the selenium webdriver class and create object\n driver = new FirefoxDriver();\n }", "title": "" }, { "docid": "d16966f703d223a7ee979a93306ae932", "score": "0.5636574", "text": "@Test(priority = 1)\n\tpublic void openBrowser() {\n\t\treadPropertyFile();\n\t\tinitializeBrowser();\n\t\tloginpage = new LoginPage();\n\t}", "title": "" }, { "docid": "a6f86af55bae327975be0c57f1aedd54", "score": "0.5635118", "text": "public Test121__network_topology(String browser) {\n\t \n\t System.out.println(\"Browser - \" + browser);\n\t this.usedBrowser = browser;\n }", "title": "" }, { "docid": "d7fd8da1564ad6f567ddd01b82eaa755", "score": "0.5632885", "text": "public Browser(Parameters oParameters) \n\t{\n\t\tthis.oParameters = oParameters;\n\n\t\t//DBOperation class object created to get input data from and write output data to DB\n\t\t//oDBOperation = new DBOperation(oParameters);\n\t\t\n\t\t/*\n\t\t * //AuraSetup class object created to get previous run data from and update run\n\t\t * status of new run to ALM and create/update JIRA in JIRA board oAuraSetup =\n\t\t * new AuraSetup(oParameters);\n\t\t */\n\t\t//creating a local driver to launch a browser\n\t\tdriver = local_createDriver(oParameters.GetParameters(\"BROWSER_TYPE\"));\n\n\t\t//Report class object created to start a new HTML report\n\t\toReport = new Report(driver, oParameters);\n\n\t\t//Created a string variable to store environment link\n\t\tString wikiURL = \"\";\n\t\tif (oParameters.GetParameters(\"ENVIRONMENT\").equalsIgnoreCase(\"QA\"))\n\t\t\twikiURL = \"http://localhost/login.do\";\n\t\tif (oParameters.GetParameters(\"ENVIRONMENT\").equalsIgnoreCase(\"DEVCERT\"))\n\t\t\twikiURL = \"\";\n\t\tif (oParameters.GetParameters(\"ENVIRONMENT\").equalsIgnoreCase(\"DEVTEST\"))\n\t\t\twikiURL = \"\";\n\t\tif (oParameters.GetParameters(\"ENVIRONMENT\").equalsIgnoreCase(\"JENKINS\"))\n\t\t\twikiURL = \"http://10.171.246.232:8080\";\n\t\t\n\t\ttry \n\t\t{\n\t\t\t\n\t\t\tThread.sleep(1000);\n\t\t\t\n\t\t\tdriver.navigate().to(wikiURL);\n\t\t\t\n\t\t\toReport.AddStepResult(\"URL Entered\", oParameters.GetParameters(\"ENVIRONMENT\") + \" Environment URL Entered\", \"SCREENSHOT\");\n\t\t\t\n\t\t\t//Storing wikiURL to hash table\n\t\t\toParameters.SetParameters(\"URL\", wikiURL);\n\t\t}\n\t\tcatch (Exception e1) \n\t\t{\n\t\t\tSystem.out.println(\"Exception caught : \" + e1.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "b8a4e661db7941502d7f29b838709540", "score": "0.5632195", "text": "public void launchbrowser() {\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\SN262736\\\\eclipse-workspace\\\\jvm\\\\src\\\\main\\\\java\\\\Utilities\\\\Broswers\\\\chromedriver.exe\");\r\n\t driver = new ChromeDriver();\r\n\t driver.get(\"https://www.amazon.com/\");\r\n\t}", "title": "" }, { "docid": "909b658aec7ce25189d51402a35ca43c", "score": "0.5631431", "text": "@Override\n\tpublic boolean startUp() throws Exception {\n\t\t\n\t\tserver = (IJidokaServer< ? >) JidokaFactory.getServer();\n\n\t\tclient = IClient.getInstance(this);\n\t\t\n\t\tbrowser = IWebBrowserSupport.getInstance(this, client);\n\n\t\treturn IRobot.super.startUp();\n\n\t}", "title": "" }, { "docid": "3538812f92752ad52a0bb28b7da1ab16", "score": "0.5628969", "text": "public BrowserRunner(final Class< ? extends WebTestCase> klass) throws Exception {\n super(klass.getName());\n assertTrue(\"Test case must extend WebTestCase\", WebTestCase.class.isAssignableFrom(klass));\n final TestClassRunnerForBrowserVersion ie6Runner =\n new TestClassRunnerForBrowserVersion(klass, BrowserVersion.INTERNET_EXPLORER_6_0);\n final TestClassRunnerForBrowserVersion ie7Runner =\n new TestClassRunnerForBrowserVersion(klass, BrowserVersion.INTERNET_EXPLORER_7_0);\n final TestClassRunnerForBrowserVersion ff2Runner =\n new TestClassRunnerForBrowserVersion(klass, BrowserVersion.FIREFOX_2);\n final TestClassRunnerForNoBrowser noBrowserRunner = new TestClassRunnerForNoBrowser(klass);\n\n //If a browser runner is not empty, add all browser runners\n if (!ie6Runner.isEmpty()) {\n add(ie6Runner);\n add(ie7Runner);\n add(ff2Runner);\n }\n if (!noBrowserRunner.isEmpty()) {\n add(noBrowserRunner);\n }\n }", "title": "" }, { "docid": "d0b90551174eca182412ce5300ba3780", "score": "0.5627171", "text": "@Given(\"^LAUNching the browser$\")\n\tpublic void launching_the_browser5() {\n\tthe_user_launched_the_chrome_browser();\t\t\n\t}", "title": "" }, { "docid": "a7e477da57280a6ee38c5c205bf2fc26", "score": "0.5625326", "text": "public static WebDriver openBrowser(String browser) {\r\n\t\tLog.info(\"******** :::: Inside the openBrowser :::::*********\");\r\n\t\tif (browser.equals(\"FF\")) {\r\n\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", rcf.getFirefoxPath());\r\n\t\t\tdriver = new FirefoxDriver();\r\n\t\t} else if (browser.equals(\"IE\")) {\r\n\t\t\tSystem.setProperty(\"webdriver.ie.driver\", rcf.getIEPath());\r\n\t\t\tdriver = new InternetExplorerDriver();\r\n\t\t} else if (browser.equals(\"GC\")) {\r\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", rcf.getChromePath());\r\n\t\t\tdriver = new ChromeDriver();\r\n\t\t}\r\n\r\n\t\tString appUrl = rcf.getApplicationURL();\r\n\t\tdriver.get(appUrl);\r\n\t\tdriver.manage().window().maximize();\r\n\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\r\n\t\treturn driver;\r\n\r\n\t}", "title": "" }, { "docid": "088ffbba0ea256bb0d030e2b6b895272", "score": "0.5618203", "text": "public final void setNewDefaultDriver() {\n\t\tsetDriver(new FirefoxDriver());\n\t}", "title": "" }, { "docid": "fc8637b3ccb2713413d3251c2021688d", "score": "0.5615974", "text": "@Parameters({\"browser\"})\n\t@BeforeTest\n\tpublic void launchChromeBrowser(String browser){\n\t\tif(browser.equalsIgnoreCase(\"chrome\")){\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./drivers/chromedriver.exe\");\n\t\t\tdriver=new ChromeDriver();\n\t\t}\n\t\telse if(browser.equalsIgnoreCase(\"ff\")){\n\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"./drivers/geckodriver_32.exe\");\n\t\t\tdriver=new FirefoxDriver();\n\t\t}\n\t\tdriver.manage().window().maximize();\n\t\tdriver.get(\"http://www.gmail.com/\");\n\t}", "title": "" }, { "docid": "75babcfd7624e74c88239f461675e8d5", "score": "0.5611546", "text": "@BeforeClass\r\n public static void openBrowser() throws MalformedURLException {\r\n\r\n DesiredCapabilities caps = DesiredCapabilities.chrome();\r\n /*caps.setCapability(\"platform\", \"Windows XP\");\r\n caps.setCapability(\"version\", \"43.0\");*/\r\n driver = new RemoteWebDriver(new URL(URL), caps);\r\n\r\n port = System.getenv(\"PORT\");\r\n if (port == null) {\r\n port = \"4567\";\r\n }\r\n baseUrl = \"http://localhost:\" + port;\r\n }", "title": "" }, { "docid": "fad5740307ccb90d0293b6eb146ce3e3", "score": "0.5608905", "text": "public void openSafariBrowser() {\n\t\tString safariPath = prop.getValue(\"path.safari\");\n\t\tString safariDriverPath = prop.getValue(\"web.driver.safari\");\n\n\t\tSystem.setProperty(safariDriverPath, safariPath);\n\t\tdriver = new SafariDriver();\n\t}", "title": "" }, { "docid": "884d731f2242c9815d79152661ee225b", "score": "0.5607818", "text": "@Given(\"^LAUNCHing the browser$\")\n\tpublic void launching_the_browser7() {\n\tthe_user_launched_the_chrome_browser();\n\t}", "title": "" }, { "docid": "fa125d738a42d4fee0b74fc1a507f9d9", "score": "0.5602041", "text": "public WebsiteCreator() {\n loadPage();\n }", "title": "" }, { "docid": "c1b92e0551c04f4408a24ff81c542324", "score": "0.5595053", "text": "@Given(\"^LAUNCHING THE Browser$\")\n\tpublic void launching_THE_Browser() {\n\tthe_user_launched_the_chrome_browser();\n\t}", "title": "" }, { "docid": "3b0087f098c6dd34eafa96f0587ce7a3", "score": "0.5594907", "text": "public static WebDriver driverInit(String browser, String appAddress, Boolean headless){\n\t checkAvailableBrowsers(browser);\n\t\tswitch(browser){\n\t\t\tcase \"firefox\": return firefoxDriver(appAddress, headless);\n\t\t\tcase \"chrome\": return chromeDriver(appAddress, headless);\n\t\t\tcase \"safari\": return safariDriver(appAddress);\n\t\t\tdefault: return chromeDriver(appAddress, headless);\n\t\t}\n\t}", "title": "" }, { "docid": "bffb0ffcfd7ea255685b38c21bb98e0a", "score": "0.55924356", "text": "@Test(priority = 1)\r\n\tpublic void SetearDriver() throws IOException {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\webdriver\\\\chromedriver.exe\"); // Para Chrome\r\n\t\tdriver = new ChromeDriver(); // para Chrome\r\n\t\tdriver.manage().window().maximize();\r\n\t\tString url = \"https://www.spotify.com/cl/\";\r\n\t\tdriver.get(url);\t\t\r\n\t}", "title": "" }, { "docid": "f36423ab90a25c534fea03d97599e3a7", "score": "0.5591576", "text": "private final void initializeBrowser() {\n this.internalBrowser.disableProperty().bind(this.interactionAllowed.not());\n this.internalBrowser.getEngine().setJavaScriptEnabled(true);\n this.internalBrowser.getEngine().getLoadWorker().stateProperty().addListener((stateValue, oldState, newState) -> {\n\n if (this.isSpinnerAllowed() && newState == Worker.State.RUNNING) {\n this.progressIndicator.setProgress(-1d);\n this.getChildren().add(this.progressIndicator);\n\n } else {\n this.progressIndicator.setProgress(0);\n this.getChildren().remove(this.progressIndicator);\n }\n\n PresentationBrowser.this.injectBackend(this.getBackend());\n PresentationBrowser.this.injectServer(SlideshowFXServer.getSingleton());\n });\n this.internalBrowser.getEngine().setOnError(errorEvent -> LOGGER.log(SEVERE, \"An error occurred in the internal browser\", errorEvent.getException()));\n this.internalBrowser.getEngine().setOnAlert(event -> DialogHelper.showAlert(\"SlideshowFX\", event.getData()));\n }", "title": "" }, { "docid": "11b4dd15aae72f56b3ce3084758dc59b", "score": "0.55753905", "text": "public interface IBrowser {\n\n\t/**\n\t * Cria um elemento\n\t *\n\t * @param tag\n\t * @param code\n\t * @param component\n\t */\n\tpublic void createElement(HWTagEnum tag, int code, HWComponent component);\n\n\t/**\n\t * Altera o texto de um componente\n\t *\n\t * @param code\n\t * @param text\n\t */\n\tpublic void setText(int code, String text);\n\n\t/**\n\t * Altera o texto de um componente\n\t *\n\t * @param code\n\t * @param link\n\t */\n\tpublic void setLink(int code, String link);\n\n\t/**\n\t * Atribui uma ação para um componente\n\t *\n\t * @param code\n\t */\n\tpublic void setAction(int code);\n\n\t/**\n\t * Adiciona um componente no corpo da página\n\t *\n\t * @param code\n\t */\n\tpublic void appendBody(int code);\n\n\t/**\n\t * Adiciona um filho no componente\n\t *\n\t * @param parentCode\n\t * @param childCode\n\t */\n\tpublic void appendChild(int parentCode, int childCode);\n\n\t/**\n\t * Adiciona um filho no componente\n\t *\n\t * @param parentCode\n\t * @param childCode\n\t */\n\tpublic void removeChild(int parentCode, int childCode);\n\n\t/**\n\t * Adiciona um filho no componente\n\t *\n\t * @param code\n\t * @param name\n\t */\n\tpublic void addClass(int code, String name);\n\n\t/**\n\t * Adiciona uma classe\n\t *\n\t * @param code\n\t * @param item\n\t */\n\tpublic void addClass(int code, int item);\n\n\t/**\n\t * Remove uma classe\n\t *\n\t * @param code\n\t * @param name\n\t */\n\tpublic void removeClass(int code, String name);\n\n\t/**\n\t * Remove uma classe\n\t *\n\t * @param code\n\t * @param item\n\t */\n\tpublic void removeClass(int code, int item);\n\n\t/**\n\t * @param code\n\t * @param key\n\t * @param value\n\t */\n\tpublic void addAttribute(int code, int key, int value);\n\n\t/**\n\t * @param code\n\t * @param key\n\t */\n\tpublic void removeAttribute(int code, int key);\n\n\t/**\n\t * Recupera um componente\n\t *\n\t * @param code\n\t * @return componente\n\t */\n\tpublic HWComponent getComponent(int code);\n\n\t/**\n\t * Retorna o buffer\n\t *\n\t * @return buffer\n\t */\n\tpublic List<HwBuffer> consumeBuffers();\n\n\t/**\n\t * Indica se houve o aperto de mão\n\t *\n\t * @return aperto de mão\n\t */\n\tpublic boolean isHandshaked();\n\n\t/**\n\t * Indica se houve o aporto de mão\n\t *\n\t * @param flag\n\t */\n\tpublic void setHandshaked(boolean flag);\n\n}", "title": "" }, { "docid": "bb3a96845d927f0048454685b5ec35d3", "score": "0.5569392", "text": "public void openChromeBrowser() {\n\t\tString chromePath = prop.getValue(\"path.chrome\");\n\t\tString chromeDriverPath = prop.getValue(\"web.driver.chrome\");\n\n\t\tSystem.setProperty(chromeDriverPath, chromePath);\n\t\tdriver = new ChromeDriver();\n\t}", "title": "" }, { "docid": "2fd87510666357f99c48c2cf1426070c", "score": "0.55687296", "text": "public BrowserPanel(BrowserFrame _frame)\n {\n frame = _frame;\n\n text = new JTextArea(0, 100);\n text.setLineWrap(true);\n text.setWrapStyleWord(true);\n text.setEditable(false);\n\n // Open the startup page.\n page = Element.getStartPage();\n getTextElements(page);\n frame.setTitle(page.getTitle().trim() + \" - Overacker NickFaux\");\n\n add(text);\n }", "title": "" }, { "docid": "fbb7050ace21c0cfd7cbbf91384108a5", "score": "0.5558324", "text": "@Given(\"^LAUNCHING THE browser$\")\n\tpublic void launching_THE_browser() {\n\tthe_user_launched_the_chrome_browser();\n\t}", "title": "" } ]
b61b403b622745fd2cb56f165f3cde98
Original signature : int sd_id128_from_string(const char, sd_id128_t) native declaration : /usr/include/systemd/sdid128.h:42
[ { "docid": "2656acfbaf2a255567ad528fa139502a", "score": "0.74599713", "text": "public static int sd_id128_from_string(Pointer<Byte > s, Pointer<sd_id128 > ret) {\n\t\treturn sd_id128_from_string(Pointer.getPeer(s), Pointer.getPeer(ret));\n\t}", "title": "" } ]
[ { "docid": "8d8e7c86a332a6d3940a8cf6210f4369", "score": "0.5907414", "text": "public static native long SignedRawInvoice_from_str(String s);", "title": "" }, { "docid": "c3f2418b7a880a7dd7d054bee61de3b5", "score": "0.5817313", "text": "public static native long SiPrefix_from_str(String s);", "title": "" }, { "docid": "145d676fac4a0dd955e860e981ce2f72", "score": "0.5629434", "text": "String getShortID() throws RemoteException;", "title": "" }, { "docid": "cfad5edec96397ce3568c2632c7fa21e", "score": "0.5438671", "text": "public ServiceId(DecodeState decodeState) throws JDtnException {\n\t\tsetServiceIdBytes(Utils.sdnvDecodeBytes(decodeState));\n\t}", "title": "" }, { "docid": "a1cc10055b2751b056e0e237cc1939a7", "score": "0.54314536", "text": "@DSComment(\"Package priviledge\")\n @DSBan(DSCat.DEFAULT_MODIFIER)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:01:25.785 -0500\", hash_original_method = \"A47433FA08CE7DFA194FC642B799E216\", hash_generated_method = \"5C3CF2A8B89A4104A3955E6247375751\")\n \nvoid scanIdentifier() {\n if (!eof) {\n StringBuilder identBuf = new StringBuilder(32);\n if (!isStopSymbol(symbol)) {\n identBuf.append(symbol);\n do {\n char ch = buffer[pos];\n if ((ch >= 'a') && (ch <= 'z') || (ch >= 'A') && (ch <= 'Z')\n || !isStopSymbol(ch)) {\n identBuf.append(buffer[pos]);\n pos++;\n } else {\n identifier = identBuf.toString();\n scanSymbol();\n return;\n }\n } while (pos != buffer.length);\n identifier = identBuf.toString();\n symbol = 0;\n eof = true;\n } else {\n // Ident starts with incorrect char.\n symbol = 0;\n eof = true;\n throw new GenericSignatureFormatError();\n }\n } else {\n throw new GenericSignatureFormatError();\n }\n }", "title": "" }, { "docid": "e6321aa691822a5050db71b71a9c3663", "score": "0.53546995", "text": "C1231d mo6492a(String str);", "title": "" }, { "docid": "281549a26f04d80e14225c81a2a7628e", "score": "0.53039676", "text": "void mo6494b(String str);", "title": "" }, { "docid": "d48242eb9e8dc7ce03d52d2d40b10ae6", "score": "0.5263043", "text": "java.lang.String getDeviceid();", "title": "" }, { "docid": "8064111a3ff854ba8975b791e67cb090", "score": "0.5255858", "text": "public abstract String getDSID();", "title": "" }, { "docid": "891994f01ba2912d42ddba84756e0ad0", "score": "0.5230986", "text": "public static native long Invoice_from_str(String s);", "title": "" }, { "docid": "506ddcf3a8ae26c03e3310fa826d458a", "score": "0.5194353", "text": "public SnomedCtIdentifier(long id) {\n\t\t_id = Long.toString(id);\n\t}", "title": "" }, { "docid": "219bf88d482373a84e255b8e86ea8d54", "score": "0.51902604", "text": "C15345b mo40516a(String str) throws RemoteException;", "title": "" }, { "docid": "377099ae2a99d904809035cf4ff01a6f", "score": "0.51874346", "text": "public static String id() { return \"IDL:DDS/OctetSeq:1.0\"; }", "title": "" }, { "docid": "e54ea30eb204da8e4328f3b998471286", "score": "0.51824135", "text": "public void m13467h(String str) {\n String str2 = \"device_id\";\n this.f10020c.mo11322c(str2, str);\n C2892n.m13814a(this.f10018a, this.f10022e, str2, str);\n }", "title": "" }, { "docid": "f3b4f432f21107611286e273d9b966f6", "score": "0.51819015", "text": "public interface ZCDSym {\n /* terminals */\n public static final int OCCURS = 62;\n public static final int SDPMASTER = 95;\n public static final int POINTER = 65;\n public static final int PACKED = 59;\n public static final int RECORDING = 38;\n public static final int DYNAMIC = 30;\n public static final int RELATIVE = 41;\n public static final int RENAMES = 58;\n public static final int ORGANIZATION = 36;\n public static final int PGMID = 20;\n public static final int LOCAL_SECTION = 12;\n public static final int BLOB = 47;\n public static final int SD = 42;\n public static final int LINAGE = 35;\n public static final int THRU = 86;\n public static final int RANDOM = 37;\n public static final int HEX_VAL = 7;\n public static final int FILLER = 56;\n public static final int USAGE = 76;\n public static final int DIV_ENV = 3;\n public static final int OBJECT_COMPUTER = 19;\n public static final int NUMERO = 6;\n public static final int PIC_DEC = 68;\n public static final int ACCESS = 25;\n public static final int SQLDATA = 92;\n public static final int DISPLAY = 84;\n public static final int LITCONCAT = 9;\n public static final int LITERAL = 8;\n public static final int FD = 31;\n public static final int PIC_NUM = 70;\n public static final int ALTERNATE = 26;\n public static final int PICTURE = 60;\n public static final int DFHCICS = 55;\n public static final int RECORD = 40;\n public static final int DEPENDING = 63;\n public static final int CLASS = 82;\n public static final int SELECT = 44;\n public static final int HIGHVAL = 78;\n public static final int FILE_SECTION = 10;\n public static final int ZERO = 77;\n public static final int QUOTE = 80;\n public static final int INDEX = 33;\n public static final int ORDER = 64;\n public static final int SDPDESC = 94;\n public static final int LPAR = 87;\n public static final int ASSIGN = 27;\n public static final int INSTALLATION = 24;\n public static final int LOWVAL = 79;\n public static final int DEC_POINT = 83;\n public static final int FILE_CONTROL = 14;\n public static final int RECORDS = 39;\n public static final int PIC_DEC_EMPTY = 69;\n public static final int DATEW = 22;\n public static final int CONF_SECTION = 15;\n public static final int NULL = 81;\n public static final int EOF = 0;\n public static final int RPAR = 88;\n public static final int ROWID = 74;\n public static final int PIC_ALPHA = 67;\n public static final int DATEC = 23;\n public static final int LABEL = 34;\n public static final int PIC_ALPHANUM = 66;\n public static final int IN = 90;\n public static final int SOURCE_COMPUTER = 18;\n public static final int error = 1;\n public static final int COMP6 = 54;\n public static final int COMP5 = 53;\n public static final int ENDSQL = 93;\n public static final int BLOB_LOCATOR = 48;\n public static final int COMP4 = 52;\n public static final int DATA = 29;\n public static final int COMP3 = 51;\n public static final int COMP2 = 50;\n public static final int COMP1 = 49;\n public static final int INDEXED = 32;\n public static final int ID = 5;\n public static final int PIC_FMT = 71;\n public static final int BLOCK = 28;\n public static final int SPACES = 75;\n public static final int OF = 91;\n public static final int BINARY = 46;\n public static final int PIC_V = 73;\n public static final int REDEFINES = 57;\n public static final int SEQUENTIAL = 43;\n public static final int AUTHOR = 21;\n public static final int ENDP = 85;\n public static final int SPECIAL_NAMES = 17;\n public static final int STATUS = 45;\n public static final int PIC_LEN = 72;\n public static final int VALUE = 61;\n public static final int TO = 89;\n public static final int IO_SECTION = 16;\n public static final int WORKING_SECTION = 11;\n public static final int DIV_ID = 2;\n public static final int LINKAGE_SECTION = 13;\n public static final int DIV_DATA = 4;\n}", "title": "" }, { "docid": "b487f541bc5844dc818774b1d85a96a0", "score": "0.51524365", "text": "public Dpid(String value) {\n this.value = HexString.toLong(value);\n }", "title": "" }, { "docid": "59d97950b3f7bd54205658a0eb8fa505", "score": "0.514809", "text": "private boolean readSID(InputStream stream) {\n byte[] start = new byte[0x16];\n try {\n DataInputStream reader = new DataInputStream(stream);\n reader.readFully(start);\n\n String st = new String(start);\n\n if (st.startsWith(\"PSID\")) {\n int version = start[4]*256 + start[5];\n// int offset = start[6]*256 + start[7];\n int addr = start[8]*256 + start[9];\n int iaddr = start[10]*256 + start[11];\n int paddr = start[12]*256 + start[13];\n int songs = start[14]*256 + start[15];\n int startsong = start[16]*256 + start[17];\n long speed = (start[18] << 24) + (start[19]<<16) +\n (start[20] << 8) + start[21];\n\n System.out.println(\"FOUND SID TUNE!\");\n System.out.println(\"Version: \" + version);\n System.out.println(\"LAddr: \" + addr);\n System.out.println(\"IAddr: \" + iaddr);\n System.out.println(\"PAddr: \" + paddr);\n System.out.println(\"Songs: \" + songs);\n System.out.println(\"StartSong: \" + startsong);\n System.out.println(\"Speed: \" + speed);\n\n byte[] str = new byte[0x20];\n for (int i = 0 ; i < songs; i++) {\n reader.readFully(str);\n System.out.println(\"Song \" + (i + 1));\n System.out.println(\"Name :\" + new String(str));\n reader.readFully(str);\n System.out.println(\"Author :\" + new String(str));\n reader.readFully(str);\n System.out.println(\"Copyright :\" + new String(str));\n }\n if (version == 2) {\n byte[] garbage = new byte[6];\n reader.readFully(garbage);\n }\n\n byte[] adr = new byte[2];\n reader.readFully(adr);\n// int startAddress = adr[1]*256 + adr[0];\n }\n } catch(Exception e) {\n System.out.println(\"Error while reading SID\");\n }\n return false;\n }", "title": "" }, { "docid": "af471392ca4b3e9f997d15da6a898dd1", "score": "0.5142934", "text": "private static native void initIDs();", "title": "" }, { "docid": "5a42a37fda8aea167c7def97112795cf", "score": "0.51387924", "text": "private native static void initIDs();", "title": "" }, { "docid": "74cbd17d0f7aa17cb6c6865173d5ee58", "score": "0.5119971", "text": "public void testUUID128ImplementationInvaildLen() {\n try {\n new UUID128Implementation(new byte[0]);\n fail(\"The length is invalid\");\n } catch (IllegalArgumentException iae) {\n // good\n }\n }", "title": "" }, { "docid": "0dfd640a663d9968b83a9b190a37929f", "score": "0.5101924", "text": "int getC2SCardId();", "title": "" }, { "docid": "0dfd640a663d9968b83a9b190a37929f", "score": "0.5101924", "text": "int getC2SCardId();", "title": "" }, { "docid": "113ab342bcf41c7f563b95df19694281", "score": "0.50485617", "text": "String getS_id();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.50260633", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.50260633", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.50260633", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.50260633", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.50260633", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.50260633", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.50260633", "text": "int getS2CCode();", "title": "" }, { "docid": "334c126d7fd4b4d581a33c3aefea0f47", "score": "0.5003239", "text": "public static String ext216(String s) {\n int len = s.length();\n if (len < 16) {\n for (int i = 0; i < 16 - len; i++) {\n s = \"0\" + s;\n }\n }\n return s;\n }", "title": "" }, { "docid": "6c23ce0dc8bd23894bec585ae9f210ac", "score": "0.49938723", "text": "static public String longUUIDToShort(String data) {\n\n String res = \"\";\n\n for (int i = 4; i < 8; i++) {\n res += data.charAt(i);\n }\n\n return res;\n }", "title": "" }, { "docid": "41a93f3adfbd777a59efb83ab56cb27c", "score": "0.49741322", "text": "String mo34655d();", "title": "" }, { "docid": "6e56fc6bba6ee3d32092e16ed50238f0", "score": "0.49653375", "text": "void mo10449d(String str);", "title": "" }, { "docid": "9c17a36f98bd546272ff1e713c25b5fd", "score": "0.49356657", "text": "private com.android.org.bouncycastle.asn1.ASN1ObjectIdentifier decodeOID(java.lang.String r1, java.util.Hashtable r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.org.bouncycastle.asn1.x509.X509Name.decodeOID(java.lang.String, java.util.Hashtable):com.android.org.bouncycastle.asn1.ASN1ObjectIdentifier, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.asn1.x509.X509Name.decodeOID(java.lang.String, java.util.Hashtable):com.android.org.bouncycastle.asn1.ASN1ObjectIdentifier\");\n }", "title": "" }, { "docid": "81b0f27809c97b8cba122e6382f27cb5", "score": "0.49330285", "text": "RDFSDatatype getXSDshort();", "title": "" }, { "docid": "6c041e6fc7197dee7cea2f98473ea137", "score": "0.49256104", "text": "public void testUUID128ImplementationNull() {\n try {\n new UUID128Implementation(null);\n fail(\"The given bytes arg is null\");\n } catch (NullPointerException npe) {\n // good\n }\n }", "title": "" }, { "docid": "e9556047a5b1adb678858de354975980", "score": "0.49246907", "text": "public static int sd_id128_get_machine(Pointer<sd_id128 > ret) {\n\t\treturn sd_id128_get_machine(Pointer.getPeer(ret));\n\t}", "title": "" }, { "docid": "583a7e5e65ee180a3590aab9e8037a0e", "score": "0.49229026", "text": "short ps2000_get_unit_info(short handle, byte[] string, short stringLength, short info);", "title": "" }, { "docid": "2f6fd9914ae14f4a73f196e7a9083701", "score": "0.49086803", "text": "public static int sd_id128_randomize(Pointer<sd_id128 > ret) {\n\t\treturn sd_id128_randomize(Pointer.getPeer(ret));\n\t}", "title": "" }, { "docid": "604764687cb51180265f3a536f1a82d6", "score": "0.4907024", "text": "void mo51648a(String str);", "title": "" }, { "docid": "1189989f7e73f9a7c16b41ed0a003956", "score": "0.48923844", "text": "@NoException public static native int pc_lib_add_pinned_public_key_from_certificate_string(@Cast(\"const char*\") BytePointer ca_string);", "title": "" }, { "docid": "b68438a60752aecea76bf06ba6fa4e10", "score": "0.48874992", "text": "C4393d mo4550b(String str);", "title": "" }, { "docid": "3161c3e6b1671a6ddb59452bb6918cec", "score": "0.48857832", "text": "long mo4545a(C2995s c2995s);", "title": "" }, { "docid": "0e10f3cc15aa77ab39d3eb6c1663fb66", "score": "0.48832515", "text": "private static native byte[] DeviceInfo_getNameBytes(long deviceInfo);", "title": "" }, { "docid": "1fc9b985e427206731906d14da2c398c", "score": "0.48772168", "text": "public native int getAdc(int pin);", "title": "" }, { "docid": "ed04171713cbd9144b56aa5bf9f7afaa", "score": "0.48710662", "text": "public java.lang.String getSigAlgOID() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: com.android.org.bouncycastle.jce.provider.X509CertificateObject.getSigAlgOID():java.lang.String, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.jce.provider.X509CertificateObject.getSigAlgOID():java.lang.String\");\n }", "title": "" }, { "docid": "b78d5f646f64333d18fe999018d0f184", "score": "0.4868543", "text": "public Isostdisots_29002_5ed_1techxmlschemaidentifierSimplifiedValidator() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "6a290546fd61178f2f30783506b591e4", "score": "0.48605126", "text": "@DISPID(61470) //= 0xf01e. The runtime will prefer the VTID if present\n @VTID(14)\n String id();", "title": "" }, { "docid": "958e05fed532291c05e38cd90d4d29e9", "score": "0.48528874", "text": "public String getSskxxd() {\n return sskxxd;\n }", "title": "" }, { "docid": "47b80eee50ff064d6bc8adc08a078eed", "score": "0.48500752", "text": "@Test\r\n\tpublic void extractIdNumberFromIdStringNormalTest() {\r\n\t\tClass[] parameterTypes = { java.lang.String.class };\r\n\t\tObject[] parameters = { VALID_DOG_ID_STRING };\r\n\t\tMethod extractIdNumberFromIdString = getPrivateMethod(UploadServiceImpl.class, \"extractIdNumberFromIdString\", parameterTypes);\r\n\t\ttry {\r\n\t\t\tString result = (String) extractIdNumberFromIdString.invoke(uploadService, parameters);\r\n\t\t\tassertEquals(result, VALID_DOG_ID_NUMBER);\r\n\t\t} catch (Exception e) {\r\n\t\t\tfail();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d0d6792574b2145fe40714641510fb0a", "score": "0.48450312", "text": "@DISPID(1) //= 0x1. The runtime will prefer the VTID if present\n @VTID(7)\n String id();", "title": "" }, { "docid": "0632b139b21f85534f3b9bc4cc0a46ac", "score": "0.48421392", "text": "public static Id build(String hex) {\n while (hex.length() < IdBitLength/4) \n hex = hex + \"0\";\n \n return build(hex.toUpperCase().toCharArray(), 0, hex.length());\n }", "title": "" }, { "docid": "bc306a060bf5660e5425b8f32804d6a7", "score": "0.48298934", "text": "private String idConvert(String rnc, String ap, String hd){\r\n\t\t//\"Lp nn Ap mm\"\r\n\t\tString[] token = hd.split(\" \");\r\n\t\treturn \"AP_\"+rnc+\"/\"+rnc+\"IN0/\"+token[1]+\"/\"+token[3];\r\n\r\n\t}", "title": "" }, { "docid": "0384ea7b749e13c7169517aa5233128e", "score": "0.48281974", "text": "@Override\n public ByteBuffer fromString(String source) throws MarshalException\n {\n ByteBuffer parsed = parse(source);\n if (parsed != null)\n return parsed;\n\n throw new MarshalException(String.format(\"Unable to make UUID from '%s'\", source));\n }", "title": "" }, { "docid": "4811e64cf5ba4b68ccc8746495e8fa3e", "score": "0.4817915", "text": "private static native int init(String eph);", "title": "" }, { "docid": "85fb44f8642f18dacab687e11759a48c", "score": "0.4809075", "text": "C4393d mo4551b(ByteString byteString);", "title": "" }, { "docid": "ea1e49217df5816b03be7df018a6f1c7", "score": "0.48063892", "text": "@Test\n public void checkBuildFromString() {\n CoreIdentifier coreIdentifier = CoreIdentifier.fromString(\"0150:08CE-252E-D0FA-49E3-B1A0-65E6-1D57-20DC/EAF1-8A27-A086-4019-A586-EAAF-9715-7BFA:DA\");\n verifyCoreIdentifierE2(coreIdentifier);\n }", "title": "" }, { "docid": "074f534dcfa0c6769fdd37b0f5829d29", "score": "0.4803335", "text": "byte id();", "title": "" }, { "docid": "007fe47edac609fcef369838f61c6a2b", "score": "0.47982657", "text": "public static C5163b m17516a(String str) {\n if (TextUtils.isEmpty(str)) {\n return null;\n }\n try {\n JSONObject jSONObject = new JSONObject(str);\n Object string = jSONObject.getString(\"deviceid\");\n String string2 = jSONObject.getString(\"imei\");\n int i = jSONObject.getInt(\"ver\");\n if (TextUtils.isEmpty(string) || string2 == null) {\n return null;\n }\n C5163b c5163b = new C5163b();\n c5163b.f21307a = string;\n c5163b.f21308b = string2;\n c5163b.f21309c = i;\n return c5163b;\n } catch (Throwable e) {\n DeviceId.m17532b(e);\n return null;\n }\n }", "title": "" }, { "docid": "121c1ce35ed18e3defefcba1aa700803", "score": "0.47982344", "text": "@NativeType(\"__u32\")\n public int stx_uid() { return nstx_uid(address()); }", "title": "" }, { "docid": "54c511ed4f07d8164259bf8d3852508a", "score": "0.47976747", "text": "private static native void installDLC(long pointer, int appID);", "title": "" }, { "docid": "749d4b8e386d8a357b58a34264ad0dd5", "score": "0.47941834", "text": "java.lang.String getSbDFId();", "title": "" }, { "docid": "e6f343ecad76a621dd311eac83e83317", "score": "0.4791205", "text": "String getSystemId();", "title": "" }, { "docid": "f25c9ed3058f085627fad3db815a3b63", "score": "0.4790581", "text": "long getTestSfixed64();", "title": "" }, { "docid": "027ae6de259cb182b895d1ab1476d0db", "score": "0.4775431", "text": "public String getIDDCode() {\n return iddcode;\n }", "title": "" }, { "docid": "ac5e75305a66e1f3cc97e5eb0a163944", "score": "0.47607872", "text": "public void readUUIDBox(int length){\r\n }", "title": "" }, { "docid": "afaa204f7c09e60073968da6b4459ee2", "score": "0.47601396", "text": "String getStratID();", "title": "" }, { "docid": "fc2ba4303c69be6fcc5cc38491d1c99c", "score": "0.47583613", "text": "public void readUUIDInfoBox(int length){\r\n }", "title": "" }, { "docid": "f3168b127750ce8fb0079a07b5288201", "score": "0.47563785", "text": "public native static String getDhcpError();", "title": "" }, { "docid": "3f571c5e69d98cd2e444d3712ace882e", "score": "0.47544682", "text": "public static int sd_id128_get_boot(Pointer<sd_id128 > ret) {\n\t\treturn sd_id128_get_boot(Pointer.getPeer(ret));\n\t}", "title": "" }, { "docid": "954f7798b11f5536d91b7a11e947ddca", "score": "0.4748486", "text": "private String getVaccineInformationSourceOid (String cd) {\n\t\tif (vaccineInformationSource.isEmpty()) {\n\t\t\t\tvaccineInformationSource = getCodeListByCodeSetNm(\"PHVS_VACCINEEVENTINFORMATIONSOURCE_NND\");\n\t\t}\n\t\treturn (getCodeSystemCd(cd,vaccineInformationSource));\t\n\t}", "title": "" }, { "docid": "d12289b173c30f86f026ca70e3fcabca", "score": "0.47420084", "text": "public static String escapeDAPIdentifier(String s) {\n return EscapeStrings.escapeString(s, _allowableInDAP);\n }", "title": "" }, { "docid": "00b9df9ce810c3f3b5607dbe236b84e6", "score": "0.4740721", "text": "public void mo88583a(String str) {\n }", "title": "" }, { "docid": "eb2997edf50bb1f546d7ca9c5deca0fe", "score": "0.47385508", "text": "private synchronized void registerToIDD() {\n\n\n\n\t\t//\t\tString underlyingDif = this.config.getProperty(\"rina.dif.supportingDIF\");\n\n\n\t\tIDD.iddEntry.Builder IDDEntry = IDD.iddEntry.newBuilder()\n\t\t//.addSupportingDIF(underlyingDif )\n\t\t//.addServiceURL(this.NMSName) \n\t\t.setDIFName(this.DIFName)\n\t\t.setNmsURL(this.IPCName);\n\n\n\t\tIDDEntry.build();\n\n\n\t\t//generate M_WRITE to IDD\n\n\t\tCDAP.objVal_t.Builder ObjValue = CDAP.objVal_t.newBuilder();\n\t\tByteString IDDentry = ByteString.copyFrom(IDDEntry.build().toByteArray());\n\t\tObjValue.setByteval(IDDentry);\n\t\tCDAP.objVal_t objvalue = ObjValue.buildPartial();\n\n\n\t\tCDAP.CDAPMessage M_WRITE_msg = message.CDAPMessage.generateM_WRITE\n\t\t( \"newNMSRegistration\",\n\t\t\t\tthis.IPCName,\t\t\n\t\t\t\tobjvalue, \n\t\t\t\t\"IDD\",//destAEInst\n\t\t\t\t\"IDD\",//destAEName\n\t\t\t\tthis.IDDName,//destApInst\n\t\t\t\tthis.IDDName,//destApName\n\t\t\t\t00001, //invokeID\n\t\t\t\t\"NMS\",//srcAEInst\n\t\t\t\t\"NMS\", //srcAEName\n\t\t\t\tthis.IPCName,//srcApInst\n\t\t\t\tthis.IPCName//srcApName\n\t\t);\n\n\n\t\ttry {\n\t\t\tif(this.tcpManager != null)\n\t\t\t{\n\t\t\t\tTCPFlow IDDFlow = this.tcpManager.allocateTCPFlow(this.IDDName);\n\t\t\t\tIDDFlow.sendCDAPMsg(M_WRITE_msg.toByteArray());\n\t\t\t}else\n\t\t\t{\n\t\t\t\tDTP.DTPMessage payload = DTPMessage.generatePayloadM_CDAP(M_WRITE_msg.toByteArray());\n\n\n\t\t\t\tSystem.out.println(\"IRM: IDDName is \" + this.IDDName);\n\t\t\t\tSystem.out.println(\"IRM: idd handle is \" + this.irm.getHandle(this.IDDName));\n\n\n\t\t\t\tthis.irm.send(this.irm.getHandle(this.IDDName), payload.toByteArray());\n\t\t\t}\n\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\n\t\tRIBdaemon.localRIB.RIBlog.infoLog(\"Enrollment Component: (\" +this.IPCName + \"): register(M_WRITE) to IDD sent\");\n\n\n\t}", "title": "" }, { "docid": "870d5ed52330bd331e8269ed90e60eff", "score": "0.47351262", "text": "boolean mo34702a(C19516d c19516d);", "title": "" }, { "docid": "42f030513c3c0c2646e3461ae36bb80b", "score": "0.47287628", "text": "public native void add_str_int(@Cast(\"const char*\") BytePointer str, int number);", "title": "" }, { "docid": "8a75db0942862118b5c6ac98f14d7008", "score": "0.47205728", "text": "public X509Name(java.lang.String r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: com.android.org.bouncycastle.asn1.x509.X509Name.<init>(java.lang.String):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.org.bouncycastle.asn1.x509.X509Name.<init>(java.lang.String):void\");\n }", "title": "" }, { "docid": "d5e2c1ca1bef747f8e87ac90fed093d0", "score": "0.47184795", "text": "private static native boolean isDlcInstalled(long pointer, int appID);", "title": "" }, { "docid": "d4ac153d7ff4b8660065bac3d3874b76", "score": "0.47172892", "text": "public int getDsid()\n/* */ {\n/* 92 */ return this.dsid;\n/* */ }", "title": "" }, { "docid": "06404a4f3670b09133b023460dd27c7e", "score": "0.47143158", "text": "void mo32982c(String str) throws RemoteException;", "title": "" }, { "docid": "a1261fca42a7dfcdacadd0744630ad80", "score": "0.4710195", "text": "public native String getEngineSerialNumber() throws DecoderException;", "title": "" }, { "docid": "4919975e00de55218e25f08f430087ab", "score": "0.46983582", "text": "NativeLong urg_scip_decode(byte data[], int size);", "title": "" }, { "docid": "02dbba68b8f7a722b43fa4c8be5c6a8d", "score": "0.46941966", "text": "public long getSVUID() throws RemoteException;", "title": "" }, { "docid": "7c42a0d7ce9415f33d9ad5b17c1e7f8d", "score": "0.4694123", "text": "public String CreateStringId(String Class);", "title": "" }, { "docid": "a7a463f3c5c9633f6431d1bf09b0c83f", "score": "0.46923596", "text": "static public UUID shortUUIDToLong(String service) {\n\n long serviceLong = Long.parseLong(service, 16);\n\n return new UUID(BT_UUID_UPPER_BITS + (serviceLong << 32), BT_UUID_LOWER_BITS);\n }", "title": "" }, { "docid": "ccf8fd0950051bb9ece90c3d54e54e8f", "score": "0.46888512", "text": "public String getDiscID () { return discid; }", "title": "" }, { "docid": "e120ff2f8c85bad1705cf11453c6121a", "score": "0.46877813", "text": "public void setSskxxd(String sskxxd) {\n this.sskxxd = sskxxd == null ? null : sskxxd.trim();\n }", "title": "" }, { "docid": "9ff612f74b5c915d4484e43927d48b96", "score": "0.46805677", "text": "private static native long getLabelsByString_0(long nativeObj, String str);", "title": "" }, { "docid": "81573cf4f6b34acf7400c66051d7bcfe", "score": "0.46764293", "text": "public static native String SiPrefix_to_str(long o);", "title": "" }, { "docid": "a52e4b357c4ff0f0db57eaaf422c8897", "score": "0.46748778", "text": "public DeCdeIdImpl() {\n }", "title": "" }, { "docid": "483901dbe6961bc5de85987be8b85888", "score": "0.46738464", "text": "public void respondToUSSDC(int msgType, java.lang.String senderCB, java.lang.String msIsdn, java.lang.String ussdString) throws ParseException {\n String endSession = \"2001\";\r\n String partA = \"0000007000000000000000ffffffff\";\r\n if (msgType == 2) {\r\n endSession = \"2003\";\r\n partA = \"0000007100000000000000ffffffff\";\r\n }\r\n\r\n String data = ussdString;\r\n\r\n String userrquestHex = Utilities.convertStringToHex(data);\r\n int index = userrquestHex.indexOf(\"a\");\r\n\r\n if (index != -1) {\r\n userrquestHex = userrquestHex.replaceAll(\"a\", \"0a\");\r\n }\r\n try {\r\n String response_string = partA + senderCB + endSession + Utilities.convertStringToHex(msIsdn) + \"00000000000000002a333630000000000000000000000000000000000044\" + userrquestHex;//\"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\";\r\n\r\n byte[] ussd_resp_string_b = Utilities.hexStringToByteArray(response_string);\r\n int commandLength = ussd_resp_string_b.length + 1;\r\n Logger.getLogger(ConnectClient.class.getName()).log(Level.INFO, \"Calculated command length {0}\", commandLength);\r\n Logger.getLogger(ConnectClient.class.getName()).log(Level.INFO, \"Resp {0}\", response_string);\r\n\r\n String cl = Integer.toHexString(commandLength);\r\n response_string = cl + response_string;\r\n Logger.getLogger(ConnectClient.class.getName()).log(Level.INFO, \"Comm length {0}\", cl);\r\n Logger.getLogger(ConnectClient.class.getName()).log(Level.INFO, \"combined :{0}\", response_string);\r\n\r\n byte[] responseInBytes = Utilities.hexStringToByteArray(response_string);\r\n clientSocket.getOutputStream().write(responseInBytes);\r\n clientSocket.getOutputStream().flush();\r\n\r\n Logger.getLogger(ConnectClient.class.getName()).log(Level.INFO, \"Size of the response sent to the user : {0}\", responseInBytes.length);\r\n\r\n Logger.getLogger(ConnectClient.class.getName()).info(\"USSD Continue response sent to the subscriber\");\r\n // log(\"USSD Continue response sent to the subscriber : \" + ussdContinuePadded);\r\n } catch (IOException ex) {\r\n Logger.getLogger(ConnectClient.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }", "title": "" }, { "docid": "ca182090f5bf39c9c674ec423d0b9d00", "score": "0.46683267", "text": "java.lang.String getSbDRUGId();", "title": "" }, { "docid": "39cf3ac6d479cab63e9cbe3a647806bc", "score": "0.46631044", "text": "@Test\r\n\tpublic void extractIdNumberFromIdStringInvalidIdLengthTest() {\r\n\t\tClass[] parameterTypes = { java.lang.String.class };\r\n\t\tObject[] parameters = { \"1234\" };\r\n\t\tMethod extractIdNumberFromIdString = getPrivateMethod(UploadServiceImpl.class, \"extractIdNumberFromIdString\", parameterTypes);\r\n\t\ttry {\r\n\t\t\textractIdNumberFromIdString.invoke(uploadService, parameters);\r\n\t\t\tfail();\r\n\t\t} catch (Exception e) {\r\n\t\t\tif (!(e.getCause() instanceof IllegalArgumentException)) {\r\n\t\t\t\te.getCause().printStackTrace();\r\n\t\t\t\tfail();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7e89b6055ae9629a58cfe10fae96f39d", "score": "0.46626857", "text": "String extractSecurityTokenId(SecurityTokenReferenceType str) throws Exception;", "title": "" }, { "docid": "fe9b177ccd607bf752337d9b81b3edde", "score": "0.46613538", "text": "private static native void setString_0(long nativeObj, String name, String value);", "title": "" }, { "docid": "bcb4208bad0f77e92739d6dada7779d6", "score": "0.46609592", "text": "Integer getGCGIDLen();", "title": "" }, { "docid": "c8092ab6db8342af9f1ed0920f43553b", "score": "0.46606183", "text": "Tracker mo57072c(String str);", "title": "" }, { "docid": "0c18e4204f54e5318a71be4acb5bbef2", "score": "0.46596232", "text": "private static void m12811a(ExtensionRegistryLite extensionRegistryLite, ByteString byteString) {\n if (extensionRegistryLite == null) {\n throw new NullPointerException(\"found null ExtensionRegistry\");\n } else if (byteString == null) {\n throw new NullPointerException(\"found null ByteString\");\n }\n }", "title": "" }, { "docid": "6420e5b682eda2b3fade0f503e3800dd", "score": "0.46554893", "text": "public static native byte[] DeviceInfo_getDeviceUIDBytes(long deviceInfo);", "title": "" } ]
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "12f2ca88fd3b9b2eb0e5a3af897d1e26", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n jLabel4 = new javax.swing.JLabel();\n jButton2 = new javax.swing.JButton();\n jLabel5 = new javax.swing.JLabel();\n jButton3 = new javax.swing.JButton();\n jButton4 = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jLabel2.setFont(new java.awt.Font(\"Times New Roman\", 1, 24)); // NOI18N\n jLabel2.setForeground(new java.awt.Color(255, 255, 255));\n jLabel2.setText(\"DAFTAR NAMA KELOMPOK\");\n getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 20, -1, -1));\n\n jLabel3.setFont(new java.awt.Font(\"Comic Sans MS\", 1, 12)); // NOI18N\n jLabel3.setForeground(new java.awt.Color(255, 255, 255));\n jLabel3.setText(\"Hamdan Dzikrurobbi (1202174252)\");\n getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 90, -1, -1));\n\n jButton1.setText(\"PIC\");\n getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 90, 80, 100));\n\n jLabel4.setFont(new java.awt.Font(\"Comic Sans MS\", 1, 12)); // NOI18N\n jLabel4.setForeground(new java.awt.Color(255, 255, 255));\n jLabel4.setText(\"Wafiudin Akbar (1202170066)\");\n getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 220, -1, -1));\n\n jButton2.setText(\"PIC\");\n getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 220, 80, 100));\n\n jLabel5.setFont(new java.awt.Font(\"Comic Sans MS\", 1, 12)); // NOI18N\n jLabel5.setForeground(new java.awt.Color(255, 255, 255));\n jLabel5.setText(\"M Thomi Rasyid (1202179832)\");\n getContentPane().add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 350, -1, -1));\n\n jButton3.setText(\"PIC\");\n getContentPane().add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 350, 80, 100));\n\n jButton4.setText(\"Kembali\");\n jButton4.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton4ActionPerformed(evt);\n }\n });\n getContentPane().add(jButton4, new org.netbeans.lib.awtextra.AbsoluteConstraints(530, 450, -1, -1));\n\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/tubesoop/bgnew.png\"))); // NOI18N\n getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(2, -5, 630, 500));\n\n pack();\n }", "title": "" } ]
[ { "docid": "cd0b28bea46d143fe752578508c201dc", "score": "0.77284056", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n }", "title": "" }, { "docid": "e8b4768b3e3c4c6ca716dae9d0c39df9", "score": "0.7493107", "text": "public RealEstatesForm() {\n initComponents();\n }", "title": "" }, { "docid": "4bbfe05cc175e36d651bc35bf0039652", "score": "0.74360615", "text": "public Mainform() {\n initComponents();\n \n }", "title": "" }, { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7393503", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7393503", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "b431c293f27700e21b92be92177c04a2", "score": "0.7346751", "text": "public UIForm() {\n initComponents();\n }", "title": "" }, { "docid": "37a5472d5b0f35cf64a077bc1dd978c4", "score": "0.7319037", "text": "public Form() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7290621", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7290621", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7290621", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "d3a53f58370a794f26006a784930f8b8", "score": "0.7262296", "text": "public PatDetails_GUI() {\n initComponents();\n }", "title": "" }, { "docid": "5db94d450d3a61db9bf0919e0a4c9e47", "score": "0.72578675", "text": "public Settings_Form() {\n\t\tinitComponents();\n\t\tthis.setLocationRelativeTo(null);\n\t\tsetTextFields();\n\t}", "title": "" }, { "docid": "a2932c04e2171d72b51775e937c4c541", "score": "0.72123724", "text": "public Form1() {\n initComponents();\n }", "title": "" }, { "docid": "81d45a20ed732bcd6dedf7f2b0b279c4", "score": "0.718182", "text": "public BookingFinalForm() {\n\n //setting bounds of frame\n this.setBounds(100,100,600,500);\n \n }", "title": "" }, { "docid": "28425600ef9ec80e82f03c8c1fc97f1d", "score": "0.7118923", "text": "public STD_VERWALTUNG_GUI() {\n initComponents();\n }", "title": "" }, { "docid": "6772005bb57f5d51b0486dfb4df53996", "score": "0.7071577", "text": "public Editorial() {\n initComponents();\n }", "title": "" }, { "docid": "8e6426acec09bd7d8941839da3b4ae8f", "score": "0.7070739", "text": "public AlapForm() {\n initComponents();\n }", "title": "" }, { "docid": "5404bd5b48c01940ff09ecf78aff0f75", "score": "0.70684546", "text": "public form() {\r\n\t\t// TODO Auto-generated constructor stub\r\n\t}", "title": "" }, { "docid": "c58a3c50604b103bf527bda149ca82f1", "score": "0.7049055", "text": "public CambiarContra_Form() {\n initComponents();\n }", "title": "" }, { "docid": "3a50f1029d74ca3be461298e0a51ec1e", "score": "0.70206577", "text": "public frmDoktorTanimlari() {\n initComponents();\n }", "title": "" }, { "docid": "f4b759b0eabda5922df2c2fb08ab2d21", "score": "0.6997248", "text": "public Newpatientform() {\n initComponents();\n }", "title": "" }, { "docid": "c847654ce9a8d1508110ef4143b7f57b", "score": "0.69884336", "text": "public SiParkirUI() {\n initComponents();\n }", "title": "" }, { "docid": "9b0cb168fcd80af9f1fa25903df601f1", "score": "0.69543856", "text": "public ItemForm() {\n initComponents();\n }", "title": "" }, { "docid": "5f10421a33305da5756d42032ef779d1", "score": "0.69470656", "text": "public FrmBarang() {\n initComponents();\n }", "title": "" }, { "docid": "485a92304965cba5e32a2a56fc95993c", "score": "0.69469965", "text": "public MainForm() {\r\n super(\"Main Form\");\r\n setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\r\n initComponents();\r\n }", "title": "" }, { "docid": "abca895b2170b8f8186464c00859db0a", "score": "0.6938558", "text": "public Kuis1() {\n initComponents();\n }", "title": "" }, { "docid": "f9a87b0b8df9ff1f04c283119bcf5f01", "score": "0.6926297", "text": "public displayform() {\n initComponents();\n }", "title": "" }, { "docid": "5cdd76d5cc764a2b816720f953a7027a", "score": "0.69262475", "text": "public PetunjukPenggunaan() {\n initComponents();\n }", "title": "" }, { "docid": "f7498ded95c7459dad1aa1125436d930", "score": "0.6925502", "text": "public GUI_ThemSuaQuanAo() {\n initComponents();\n }", "title": "" }, { "docid": "37b6840ba0594794d42cdb8f710d4395", "score": "0.69209343", "text": "public ur06b1() {\n initComponents();\n }", "title": "" }, { "docid": "50b81da83b435c4121d8d36034eabcb0", "score": "0.6913154", "text": "public pizzaordergui() {\n initComponents();\n }", "title": "" }, { "docid": "3d68e2c2d1cb4e5a084cff9b2c57447f", "score": "0.689217", "text": "public myForm() {\n\t\t\tinitComponents();\n\t\t}", "title": "" }, { "docid": "a5e2982f7d19fbd7905607eb8b5483fa", "score": "0.6868633", "text": "public frmMenu() {\n initComponents();\n }", "title": "" }, { "docid": "a5e2982f7d19fbd7905607eb8b5483fa", "score": "0.6868633", "text": "public frmMenu() {\n initComponents();\n }", "title": "" }, { "docid": "a5e2982f7d19fbd7905607eb8b5483fa", "score": "0.6868633", "text": "public frmMenu() {\n initComponents();\n }", "title": "" }, { "docid": "10137775cb07cc0e8d53a42ec1680054", "score": "0.6864874", "text": "public FormPerson() {\n initComponents();\n prepareForm();\n setLocationRelativeTo(null);\n setVisible(true);\n }", "title": "" }, { "docid": "13eb432242a170ba8bb6ab65a6067512", "score": "0.68516856", "text": "public frmMain() {\n initComponents();\n }", "title": "" }, { "docid": "13eb432242a170ba8bb6ab65a6067512", "score": "0.68516856", "text": "public frmMain() {\n initComponents();\n }", "title": "" }, { "docid": "13eb432242a170ba8bb6ab65a6067512", "score": "0.68516856", "text": "public frmMain() {\n initComponents();\n }", "title": "" }, { "docid": "e3dfb0c2f82437c8d72117b1150c77e6", "score": "0.6844832", "text": "public formSoma() {\n initComponents();\n }", "title": "" }, { "docid": "152f657dec90d8015f1e16ee7ea6854b", "score": "0.68393135", "text": "public chiefp21() {\n initComponents();\n }", "title": "" }, { "docid": "7233c2c898544f3f6abd4cb82768ee82", "score": "0.6836992", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 496, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 496, Short.MAX_VALUE)\n );\n }", "title": "" }, { "docid": "f9a62b34de062f3fdfe71ded48f6aa83", "score": "0.6827518", "text": "public FrmMenu() {\n initComponents();\n }", "title": "" }, { "docid": "426c4c46dea4d1dcaa78976eaa6a16ce", "score": "0.6826892", "text": "public formGoiMon() {\n initComponents();\n }", "title": "" }, { "docid": "f00f3f9815468f9c3ded201ed26737a4", "score": "0.6820073", "text": "public ResultsForm() {\n initComponents();\n }", "title": "" }, { "docid": "894693ac5a5e798f40dc439e479f7e5e", "score": "0.68131864", "text": "public HangmanUI()\n {\n initComponents();\n }", "title": "" }, { "docid": "051a55aa53cf1aaaeb6dc20c1a7b737b", "score": "0.6809129", "text": "public lcChemMD() {\n initComponents();\n }", "title": "" }, { "docid": "7a4a0fb3bd294fd5796bb13ba405fd3d", "score": "0.68065834", "text": "public SHAS_GUI() {\n initComponents();\n }", "title": "" }, { "docid": "fad22554042e1b8a318b01286577b06a", "score": "0.6800194", "text": "public AddSongFrm() {\n initComponents();\n }", "title": "" }, { "docid": "ce231278c5415b58a1ca52dc82d54e4f", "score": "0.67917866", "text": "public DesignGUI() {\n initComponents();\n }", "title": "" }, { "docid": "c824c290917e23b543552924ff5ca7ff", "score": "0.67914706", "text": "public Flight_Information() {\n initComponents();\n }", "title": "" }, { "docid": "122000e89363123e51e320eec8a37f1c", "score": "0.6785207", "text": "public PatientForm() {\n initComponents();\n }", "title": "" }, { "docid": "9c130aefb85466c73aded825b084df44", "score": "0.67837155", "text": "public MoviesForm() {\n initComponents();\n }", "title": "" }, { "docid": "9dd96efaf9432449e9a8e04f5a1c9e4d", "score": "0.67562866", "text": "public Old_FrameCadastroAvl() {\n initComponents();\n }", "title": "" }, { "docid": "41af56a3df9a40a1a17cc3881f2fa044", "score": "0.67532957", "text": "public ProductsForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "2a7abfdc3eb3de312f8992e65907394e", "score": "0.6750657", "text": "public Cwk() {\n initComponents();\n }", "title": "" }, { "docid": "15ce48f40675d6343e5b61362bb9f832", "score": "0.67479146", "text": "public StudentUI() {\n initComponents();\n }", "title": "" }, { "docid": "4b7e1ef9075f78ad5a3b1752a9d9d22b", "score": "0.67478263", "text": "public d_Main() {\n initComponents();\n \n }", "title": "" }, { "docid": "8d6cfb05c40166aad916761121d49b51", "score": "0.674441", "text": "public ServiceDetailsGUI() {\n initComponents();\n }", "title": "" }, { "docid": "4e106ae7a7b0c0cfe394c917a9b32bdf", "score": "0.67415524", "text": "public NewCarForm() {\n super(\"Add New Car\");\n initComponents();\n setLocationRelativeTo(null);\n conn = JavaConnect.connectDb();\n }", "title": "" }, { "docid": "1b3dee170a39d75443ee085bc72d6c94", "score": "0.67387074", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents()\r\n {\r\n\r\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\r\n this.setLayout(layout);\r\n layout.setHorizontalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGap(0, 684, Short.MAX_VALUE)\r\n );\r\n layout.setVerticalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGap(0, 483, Short.MAX_VALUE)\r\n );\r\n }", "title": "" }, { "docid": "fd485bdfb087f52829ceea57b4655cbc", "score": "0.67365766", "text": "public UpdateForm() {\n initComponents();\n jLabel1.setVisible(false);\n jLabel2.setVisible(false);\n jLabel3.setVisible(false);\n txtName.setVisible(false);\n txtHomeTown.setVisible(false);\n txtPhone.setVisible(false);\n }", "title": "" }, { "docid": "130e2ee7095a33015a483b40d2c5f423", "score": "0.67314786", "text": "public AddFrame() {\n initComponents();\n\n jTextField1.setText(null);\n jTextField2.setText(null);\n jTextField4.setText(null);\n \n }", "title": "" }, { "docid": "f53b8cb13594faba8eea0453cb92ba36", "score": "0.67310756", "text": "public WhatWeOfferFrame() {\n initComponents();\n }", "title": "" }, { "docid": "cf6097dcf2ff572b1142ca9458aab7a3", "score": "0.673088", "text": "public frmCustomer() {\n initComponents();\n }", "title": "" }, { "docid": "b1dc49e68642392f5a24c1f8b56230f6", "score": "0.6729359", "text": "public Racun() {\n initComponents();\n }", "title": "" }, { "docid": "90a6f56ddaf85cb99025c57ed7a906c4", "score": "0.67292", "text": "public FormUser() {\n initComponents();\n this.setLocation(0, 150);\n }", "title": "" }, { "docid": "f34b058ac0206ba07aac79347505d8a6", "score": "0.6727429", "text": "public EhhsistantGUI() {\n initComponents();\n }", "title": "" }, { "docid": "4b1b16b647a7f02f62eb4b2d4d957647", "score": "0.6726286", "text": "public Pregunta5() {\n initComponents();\n }", "title": "" }, { "docid": "cf01e40ca73a7c25909e63f5afad0871", "score": "0.6720868", "text": "public Tugas1() {\n initComponents();\n }", "title": "" }, { "docid": "215de132ed2b69437c537e57e3358be9", "score": "0.6718689", "text": "public LaundryFrame() {\n initComponents();\n }", "title": "" }, { "docid": "cd28b35499f064da0634bd647583b159", "score": "0.67144215", "text": "public Studentframe() {\n initComponents();\n }", "title": "" }, { "docid": "2326a6ff6073efbea2b151e3efc84e80", "score": "0.6711969", "text": "public GUIPagtos() {\n initComponents();\n }", "title": "" }, { "docid": "621411ac09401e2363ffb7152b508b83", "score": "0.6708575", "text": "public UserListForm() {\n initComponents();\n }", "title": "" }, { "docid": "a747df9e716eccdf556b0df271bdb10f", "score": "0.6700155", "text": "public jpLecuyer() {\n initComponents();\n }", "title": "" }, { "docid": "f23a8913333f237ffbaf21d9c70deb48", "score": "0.66999483", "text": "public suhu() {\n initComponents();\n }", "title": "" }, { "docid": "f23a8913333f237ffbaf21d9c70deb48", "score": "0.66999483", "text": "public suhu() {\n initComponents();\n }", "title": "" }, { "docid": "45467e91bb851f8133584e37cba9866a", "score": "0.66932994", "text": "public MPframe() {\n initComponents();\n }", "title": "" }, { "docid": "8c540e4ea7d722be6f768d8b45ec8965", "score": "0.6688396", "text": "public FrmMain() {\n initComponents();\n }", "title": "" }, { "docid": "8c540e4ea7d722be6f768d8b45ec8965", "score": "0.6688396", "text": "public FrmMain() {\n initComponents();\n }", "title": "" }, { "docid": "2fc720f850f9d115252430cc8455c87e", "score": "0.6687516", "text": "public BasePanelForm() {\n initComponents();\n }", "title": "" }, { "docid": "e9c667e330af9f292639de982df07f01", "score": "0.6687015", "text": "public DreamGUI() {\n initComponents();\n }", "title": "" }, { "docid": "068aaa41811215ad82f63ce6d6db0e90", "score": "0.6684541", "text": "public frmPrincipall() {\n initComponents();\n }", "title": "" }, { "docid": "320512266a4f36eff0842389b089768f", "score": "0.6683872", "text": "public nhanVienForm() {\n initComponents();\n init();\n\n }", "title": "" }, { "docid": "82b91be09cfa9974003384049dcd30a6", "score": "0.66834337", "text": "public Frhosobenhan() {\n initComponents();\n }", "title": "" }, { "docid": "676139c62ce639e43ccb839239e111d7", "score": "0.6682283", "text": "public New_Librarian() {\n initComponents();\n }", "title": "" }, { "docid": "15428cb69f877c12dec0a8afa57c4999", "score": "0.66815174", "text": "public frmDescricaoAtendimento() {\n initComponents();\n }", "title": "" }, { "docid": "9c710eea7ae348d99ee55ec7265da139", "score": "0.6680904", "text": "public UI() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "5b5a055f2223a1ffd95c2733e2d69a0e", "score": "0.6678652", "text": "public JFormPassageiro() {\n initComponents();\n }", "title": "" }, { "docid": "083b4b6b69b02db07fa2d867b9b7decf", "score": "0.66776365", "text": "public FormPetugas() {\n initComponents();\n }", "title": "" }, { "docid": "904042565319552d05b540cc4c71b6d1", "score": "0.6675189", "text": "public MainJFormGUI() {\r\n initComponents();\r\n setEvent();\r\n setTitle(\"QUẢN LÝ QUÁN ĂN\");\r\n jlbTenNhanVien.setText(NhanVienBus.nhanVienDangNhap.getTenNV());\r\n ChucVuBUS chucVuBUS = new ChucVuBUS();\r\n jlbChucVu.setText(chucVuBUS.getChucVuByMaChucVu(NhanVienBus.nhanVienDangNhap.getMaCV()).getTenChucVu());\r\n }", "title": "" }, { "docid": "d56b2a2923a71ba164e1dbe6774308ed", "score": "0.66748774", "text": "public Ques12() {\n initComponents();\n }", "title": "" }, { "docid": "52d9b3cc58c6fc26455839a43ecaddcf", "score": "0.66726553", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 703, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 535, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "40f19e8a2ec781de929c8389a58c7116", "score": "0.66722155", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setLayout(new java.awt.BorderLayout());\n }", "title": "" }, { "docid": "bf6fe12ebdf7306560f672e4f7c09871", "score": "0.6669041", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 224, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 266, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "0c5905ced98324f5893dec823438988c", "score": "0.66668934", "text": "public PhoneNumberGUI() {\n initComponents();\n this.setSize(400,300);\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "0ad1ce74acfc509e1a85d3aa588a495d", "score": "0.6663525", "text": "public frmCalculadora() {\n initComponents();\n }", "title": "" }, { "docid": "0ad1ce74acfc509e1a85d3aa588a495d", "score": "0.6663525", "text": "public frmCalculadora() {\n initComponents();\n }", "title": "" }, { "docid": "72e9407f2a8c77e1ec604d30d1cc45db", "score": "0.666347", "text": "public UI() {\n initComponents();\n }", "title": "" }, { "docid": "f062d655931b31f9b0b47b4bb36beb49", "score": "0.6663426", "text": "public StoreHouseFrame() {\n initComponents();\n }", "title": "" }, { "docid": "fdec29cff86bbe1953fe86bba95157cb", "score": "0.66619664", "text": "public Latihan2() {\n initComponents();\n }", "title": "" } ]
cc95354607f41f503f32382c4cba8d95
/ Deep copy of another linked list deque.
[ { "docid": "b64842d690f7ef158512e795e574e65f", "score": "0.67950475", "text": "public LinkedListDeque1(LinkedListDeque1 other){\n size = 0;\n sentFront = new DoublyNode(null,null,null);\n sentBack = new DoublyNode(null,null,null);\n sentFront.next = sentBack;\n sentBack.prev = sentFront;\n\n for (int i=0; i<other.size();i++){\n addFirst((T) other.get(i));\n }\n }", "title": "" } ]
[ { "docid": "2e67996b556c4add1e929642d5417fa5", "score": "0.7220486", "text": "public LinkedListDeque(LinkedListDeque other) {\n size = other.size();\n Node lastNode = sentinel;\n\n for (int i = 0; i < size; i++) {\n lastNode.next = new Node((T) other.get(i), lastNode, sentinel);\n lastNode = lastNode.next;\n sentinel.prev = lastNode;\n }\n }", "title": "" }, { "docid": "04143227309a9eee2144b8336a070d18", "score": "0.6505502", "text": "List copy()\n\t{\n\t\tList newList = new List();\n\t\tNode N = this.front;\n\n\t\tif(this.length != 0)\n\t\t{\n\t\t\twhile( N != null)\n\t\t\t{\n\t\t\t\tnewList.append(N.data);\n\t\t\t\tN = N.next;\n\t\t\t}\n\t\t}\n\t\treturn newList;\n\t}", "title": "" }, { "docid": "e1e99f25e4a0dbc96f6b47b75d8f8edc", "score": "0.6432734", "text": "CycList<E> deepCopy();", "title": "" }, { "docid": "12e92f312d40f4f7254c0e392f17a705", "score": "0.63698894", "text": "public LinkedList( Collection other )\n {\n clear( );\n Iterator itr = other.iterator( );\n while( itr.hasNext( ) )\n add( itr.next( ) ); \n }", "title": "" }, { "docid": "1594842ed5064d59d30fd0752abe2116", "score": "0.63088274", "text": "public void duplicate(List other) {\r\n other.toBegin();\r\n while (!other.beyond()) {\r\n super.append(other.currentObject());\r\n other.toNext();\r\n }\r\n if (other.sorted && (this.length() == other.length()))\r\n this.sorted = true;\r\n else if (this.length() != other.length())\r\n this.sorted = false;\r\n }", "title": "" }, { "docid": "c2f096d67f5e667d643bdc53f94459ec", "score": "0.62906146", "text": "public Queue<E> copy() {\n //create a new renderqueue object\n Queue<E> theCopy = new Queue();\n //loop to go through elements\n for (Node p = head; p != null; p = p.next) {\n //copy element to the new renderqueue object\n theCopy.enqueue(p.Var);\n\n }\n //return the new queue\n return theCopy;\n }", "title": "" }, { "docid": "785e8d8281d9b4d108934d0bed10dd78", "score": "0.62618774", "text": "@Override\n public NumericLinkedList copy() {\n NumericLinkedList copyList = new NumericLinkedList();\n Node currentNode = firstNode;\n while (currentNode != null) {\n copyList.add(currentNode.getValue().copy());\n currentNode = currentNode.getNextNode();\n }\n\n return copyList;\n }", "title": "" }, { "docid": "91fba3d0d4a213efa828a72472a8f057", "score": "0.6253716", "text": "public void copyList(dList toCopy){\n dNode sourceHead = toCopy.head;\n if(sourceHead == null) return;\n setHead(copyList(head, sourceHead));\n }", "title": "" }, { "docid": "fd8ae3628a104430ca250d956720baed", "score": "0.62340164", "text": "public DoubleLinkedListImpl(DoubleLinkedList<T> other) {\n\t\tDoubleNode<T> aux = other.cab;\n\t\twhile (aux != other.cab) {\n\t\t\t\n\t\t\taddLast(aux.content);\n\t\t\taux = aux.next;\n\t\t}\n\t\n\t\t//TODO\n\t}", "title": "" }, { "docid": "0e5b6c1bb0c930e2b53772b3e0120519", "score": "0.61576253", "text": "protected dNode copyList(dNode head, dNode sourceHead){\n if(sourceHead == null) return head;\n head = new dNode();\n sourceHead.copy(head);\n head.setNext(copyList(head.returnNext(), sourceHead.returnNext()));\n head.setPrev(head);\n return head;\n }", "title": "" }, { "docid": "0b6ba6c84b0009d71eecedf7bf6020ca", "score": "0.6136137", "text": "@Override\n public LinkedList<T> clone() {\n DoublyLinkedList<T> create_copy = new DoublyLinkedList<>();\n Node<T> nodePtr = head;\n if (nodePtr == null) throw new NoSuchElementException();\n //While loop in order to the traverse the linked list, nodePtr used to copy and create separate nodes.\n while (nodePtr != null) {\n if (create_copy.getHead() == null) {\n create_copy.addHead(nodePtr.getData());\n } else {\n create_copy.addTail(nodePtr.getData());\n }\n nodePtr = nodePtr.getNext();\n }\n return create_copy;\n }", "title": "" }, { "docid": "bdd9f68a710b16b0987cc94ba67f5630", "score": "0.6126386", "text": "public Deque() {\n head = tail;\n head.setNext(tail);\n tail.setPrev(head);\n }", "title": "" }, { "docid": "077800dae8fb3d935546fd4e5f0cdd67", "score": "0.6115761", "text": "private List<Integer> deepLstCopy(List<Integer> listToCopy, List<Integer> listFromCopy)\r\n\t\t{\r\n\t\t\tfor(Integer i : listFromCopy)\r\n\t\t\t\tlistToCopy.add(i);\r\n\t\t\t\r\n\t\t\treturn listToCopy;\r\n\t\t}", "title": "" }, { "docid": "261b8644349ffbcc06219926f94bafba", "score": "0.61077136", "text": "public Object clone()\r\n {\r\n LLQueue<T> copy = null;\r\n try\r\n {\r\n copy = (LLQueue<T>)super.clone();\r\n }\r\n catch (CloneNotSupportedException cnse)\r\n {\r\n }\r\n copy.arr= (LinkedList<T>)arr.clone();\r\n return copy;\r\n }", "title": "" }, { "docid": "4c7c4d4716eb4677461fdadb06ba3729", "score": "0.6081195", "text": "public DiGraph copy()\r\n {\r\n DiGraph copyGraph = new DiGraph();\r\n \r\n for (int i = 0; i < vertices.size(); i++)\r\n {\r\n copyGraph.addVertex(vertices.get(i).copy());\r\n }\r\n relink(copyGraph);\r\n return copyGraph;\r\n }", "title": "" }, { "docid": "df564dde7751d56373e520198e9dc382", "score": "0.60180557", "text": "public LinkedListClass ( LinkedListClass copied )\n {\n int index;\n int copiedSize = copied.getCurrentSize ();\n\n BoxClass workingRef = null;\n BoxClass copiedWorking = copied.headRef;\n\n // TODO: Check if this works for linked lists of size 0.\n\n headRef = null;\n\n for (index = 0; index < copiedSize; index++)\n {\n if ( index == 0 )\n {\n headRef = new BoxClass ( copiedWorking );\n workingRef = headRef;\n }\n\n else\n {\n workingRef.nextRef = new BoxClass ( copiedWorking );\n workingRef = workingRef.nextRef;\n }\n copiedWorking = copiedWorking.nextRef;\n }\n }", "title": "" }, { "docid": "514a9e9f8413384607560a03193e1ae2", "score": "0.59810793", "text": "@Override\n public ListNode<T> deepCopy(BsjNodeFactory factory);", "title": "" }, { "docid": "a154c342073b757e37321354f9b95949", "score": "0.59173435", "text": "List copy(){\n List newList = new List();\n newList = this;\n newList.cursor = null;\n newList.cursorIndex = -1;\n return newList;\n }", "title": "" }, { "docid": "1f9bd9c4814b1bd1993554e647955213", "score": "0.59015656", "text": "RX deepClone();", "title": "" }, { "docid": "d8457ec40ee08b4e304aeeed8632261d", "score": "0.5865675", "text": "private static <NodeType> DirectedWeightedNodeEdgeGraph<NodeType> deepCopy(\n DirectedWeightedNodeEdgeGraph<NodeType> src)\n {\n DirectedWeightedNodeEdgeGraph<NodeType> dst\n = new WeightedDenseMemoryGraph<>(src.getNumNodes(), src.getNumEdges());\n\n for (NodeType node : src.getNodes())\n {\n dst.addNode(node);\n }\n for (int i = 0; i < src.getNumEdges(); ++i)\n {\n Pair<Integer, Integer> edge = src.getEdgeEndpointIds(i);\n dst.addEdge(src.getNode(\n edge.getFirst()), src.getNode(edge.getSecond()),\n src.getEdgeWeight(i));\n }\n\n return dst;\n }", "title": "" }, { "docid": "85e33f1c266025bbfa214c2cfe13df42", "score": "0.58552647", "text": "@Override\n public Sequence clone() {\n DoubleLinkedSeq theCopy = null;\n try {\n theCopy = (DoubleLinkedSeq) super.clone();\n DoubleNode[] tmp = DoubleNode.listCopyWithTail(this.head);\n theCopy.head = tmp[0];\n theCopy.tail = tmp[1];\n\n if (this.isCurrent()) {\n DoubleNode next = this.head;\n DoubleNode copyNext = theCopy.head;\n while (next != null) {\n next = next.getNext();\n copyNext = copyNext.getNext();\n if (next == this.precursor) {\n theCopy.precursor = copyNext;\n }\n if (next == this.cursor) {\n theCopy.cursor = copyNext;\n next = null;\n }\n }\n\n }\n\n } catch (CloneNotSupportedException cnse) {\n System.out.println(\"Clone not supported!\");\n } catch (RuntimeException er) {\n System.out.println(\"Not cloneable\");\n }\n return theCopy;\n }", "title": "" }, { "docid": "f11cb0ba87b780772c3f342ef4233efe", "score": "0.58540183", "text": "public LinkedListDeque1() {\n size = 0;\n sentFront = new DoublyNode(null,null,null);\n sentBack = new DoublyNode(null,null,null);\n sentFront.next = sentBack;\n sentBack.prev = sentFront;\n }", "title": "" }, { "docid": "f9a7d33a1dca85b35ac17fa7427b3b58", "score": "0.57987034", "text": "private List<List<Integer> > deepCopy(List<List<Integer> > listToCopy, List<List<Integer> > listFromCopy)\r\n\t\t{\r\n\t\t\tfor(List<Integer> iList : listFromCopy)\r\n\t\t\t{\r\n\t\t\t\tList<Integer> newList = new LinkedList<Integer>();\r\n\t\t\t\tfor(Integer i : iList)\r\n\t\t\t\t\tnewList.add( (int) i );\r\n\t\t\t\tlistToCopy.add(newList);\r\n\t\t\t}\r\n\t\t\treturn listToCopy;\r\n\t\t}", "title": "" }, { "docid": "2f8b928a68dec6283929b61d0db6d3a3", "score": "0.5784002", "text": "public TreeNode copy(){\n ListTreeNode result = new ListTreeNode();\n int size = this.values.size();\n result.setParent(parent);\n for(int i=0;i<size;i++){\n result.addChild(this.values.get(i).copy());\n }\n return result;\n }", "title": "" }, { "docid": "da1f99ec20447a262a94d69d81d2c684", "score": "0.5751284", "text": "public void copy();", "title": "" }, { "docid": "da1f99ec20447a262a94d69d81d2c684", "score": "0.5751284", "text": "public void copy();", "title": "" }, { "docid": "0c5933da363d6f76336699a74c18ef9a", "score": "0.5739608", "text": "Graph<T> copy();", "title": "" }, { "docid": "a8eddc74d74788935fb8eedc84653d95", "score": "0.5695461", "text": "public Bag(Bag other)\n {\n if (other==null) { numObjs = 0; objs = new Object[1]; }\n else\n {\n numObjs = other.numObjs;\n objs = new Object[numObjs];\n System.arraycopy(other.objs,0,objs,0,numObjs);\n }\n }", "title": "" }, { "docid": "7f1507df9bec9334c9740f9357f77f9e", "score": "0.5688927", "text": "@Override\n public graph copy() {\n\n graph g1 = new Graph_DS();\n\n for (node_data i : g.getV()) {\n g1.addNode(new NodeData(i));\n }\n\n for (node_data i : g.getV()) {\n for (node_data j : i.getNi()) {\n g1.connect(i.getKey(), j.getKey());\n }\n }\n return g1;\n }", "title": "" }, { "docid": "8494724df41040bc132c5ef26ecba7e1", "score": "0.56731737", "text": "public Queue(Queue other) {\n\t\tthis.size = other.size;\n\t\tqueue = new int[size];\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tqueue[i] = other.queue[i];\n\t\t}\n\t}", "title": "" }, { "docid": "def3fe3b1147b078ce9ae74219193e89", "score": "0.5625037", "text": "public Graph copy() {\r\n\t\treturn graphcopy();\r\n\t}", "title": "" }, { "docid": "733c626592bbf671f18095d7d5e4638c", "score": "0.5608942", "text": "public static void main(String[] args) {\n\t\t\n\t\tLinkedList<String> llist = new LinkedList<String>();\n\t\t\n\t\tllist.add(\"One\"); \n\t\tllist.add(\"Two\");\n\t\tllist.add(\"Three\");\n\t\tllist.add(\"Four\");\n\t\tllist.add(\"Five\");\n\t\t\n\t\tLinkedList<String> llist1 = new LinkedList<String>();\n\t\t\n\t\tllist1.add(\"Six\");\n\t\tllist1.add(\"Seven\");\n\t\t\n\t\tSystem.out.println(llist1);\n\n\t\tllist1= \t(LinkedList<String>) llist.clone();\n\t\t\t\n\t\t\tSystem.out.println(llist1);\n\t}", "title": "" }, { "docid": "0cb1ecbdd64d7c8fd73dc5e637925b77", "score": "0.55873454", "text": "public static <T> void copy(List<? super T> dst, List<? extends T> src){\n\t\tfor(int i=0;i<src.size();i++){\n\t\t\tdst.set(i, src.get(i));\n\t\t}\n\t}", "title": "" }, { "docid": "9fcb40df4c06c3c094b95beaac4eabd7", "score": "0.5582036", "text": "private BagInterface<T> duplicate(BagInterface<T> bag)\n {\n BagInterface<T> copy = new LinkedBag<T>();\n T[] bagContents = bag.toArray();\n for (int index = 0; index < bagContents.length; index ++)\n {\n copy.add(bagContents[index]);\n }\n return copy;\n }", "title": "" }, { "docid": "9e104ff595b607be7e46e8900991431c", "score": "0.55780774", "text": "ImmutableCollection<E> copy();", "title": "" }, { "docid": "025604c94e310c79b7d4bdac079135ba", "score": "0.5572953", "text": "@Override\n\tpublic LispObject deepcopy() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c4cf3ed3f1c42e425a26d18d79dd7d42", "score": "0.55683804", "text": "public Object clone() {\n\tDoubleBufferSet copy = (DoubleBufferSet) super.clone();\n\n\tcopy.buffers = (DoubleBuffer[]) copy.buffers.clone();\n\tfor (int i=buffers.length; --i >= 0; ) {\n\t\tcopy.buffers[i] = (DoubleBuffer) copy.buffers[i].clone();\n\t}\n\treturn copy;\n}", "title": "" }, { "docid": "019dd289ffea50474acd1142fce750d3", "score": "0.55627006", "text": "public static <NodeType> DirectedNodeEdgeGraph<NodeType> deepCopy(\n DirectedNodeEdgeGraph<NodeType> src)\n {\n if (src == null)\n {\n return null;\n }\n if (src instanceof DirectedWeightedNodeEdgeGraph)\n {\n return deepCopy((DirectedWeightedNodeEdgeGraph<NodeType>) src);\n }\n DirectedNodeEdgeGraph<NodeType> dst = new DenseMemoryGraph<>(\n src.getNumNodes(), src.getNumEdges());\n\n for (NodeType node : src.getNodes())\n {\n dst.addNode(node);\n }\n for (int i = 0; i < src.getNumEdges(); ++i)\n {\n Pair<Integer, Integer> edge = src.getEdgeEndpointIds(i);\n dst.addEdge(src.getNode(edge.getFirst()), src.getNode(\n edge.getSecond()));\n }\n\n return dst;\n }", "title": "" }, { "docid": "3bec0e716e135ab21965b405cb0b1784", "score": "0.5559345", "text": "public ReferencedContent copy() {\r\n return new ReferencedContent(this);\r\n }", "title": "" }, { "docid": "9639a61f9073e1f3e2a6f7a978d253ee", "score": "0.55586344", "text": "public GearList getCopy();", "title": "" }, { "docid": "70596981d539702aca3ad71b1921b350", "score": "0.55315757", "text": "List concat(List L){\n List newList = this.copy();\n newList.back.next = L.front;\n newList.back.next.prev = this.back;\n newList.back = L.back;\n return newList;\n }", "title": "" }, { "docid": "cffebf51bbfcb73a0fd1ad84715f4142", "score": "0.55006945", "text": "@javax0.geci.annotations.Generated(\"cloner\")\n public NeedCloner copy() {\n final var it = new NeedCloner();\n copy(it);\n return it;\n }", "title": "" }, { "docid": "ad9ead252bf6bd5aedfb9b601719f9b7", "score": "0.548701", "text": "public static <T> List<T> anImmutableLinkedListCopyOf(Collection<? extends T> original) {\n return Collections.unmodifiableList(new LinkedList<T>(original));\n }", "title": "" }, { "docid": "a4313c3974d685a54a166de0fbce59e6", "score": "0.5475492", "text": "public static CardDeck cloneDeck(CardDeck deck) {\r\n ArrayList<Card> deckCopy = new ArrayList<>();\r\n \r\n CardDeck deckClone = new CardDeck(\"DeckCopy\", deckCopy);\r\n \r\n for(Card d:deck.getCards()) {\r\n deckClone.getCards().add(d);\r\n }\r\n serializeCardDeck(deckClone);\r\n return deckClone;\r\n }", "title": "" }, { "docid": "4a0059fa206ac84746e1ca5668dde198", "score": "0.54600847", "text": "@Override\n\tpublic void copy() {\n\n\t}", "title": "" }, { "docid": "fc5ee17e47b537fd885a3f1e0660adc2", "score": "0.5448221", "text": "T copy();", "title": "" }, { "docid": "270ecf53b2168ad69a3d9e50be1dd1dc", "score": "0.5423536", "text": "public Queue clone() {\n\t\tQueue clone = new Queue();\n\t\tclone.size = this.size;\n\t\tclone.top = this.top;\n\t\tclone.counter = this.counter;\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tclone.queue[i] = queue[i];\n\t\t}\n\t\treturn clone;\n\t}", "title": "" }, { "docid": "8d0502c88cdbf36132af47a6f8021037", "score": "0.5408271", "text": "public final JsonSchemaTree copy()\n {\n final JsonSchemaTree ret = dereferencing.newTree(loadingRef, baseNode);\n\n ret.currentRef = currentRef;\n ret.currentPointer = currentPointer;\n ret.currentNode = currentNode;\n return ret;\n }", "title": "" }, { "docid": "f740e056584bd84706bbec1c30227114", "score": "0.53905624", "text": "public LinkedListDouble(LinkedListDouble other) {\n\t\tthis.start = other.start;\n\t}", "title": "" }, { "docid": "b510e95e13a555e8b3195416b7dacf18", "score": "0.53855497", "text": "public static<T> void reverseCopy(DoubleLinkedList<T> l1, DoubleLinkedList<T> l2) {\r\n\t\tif(l1.empty())\r\n\t\t\treturn;\r\n\t\t\r\n\t\twhile(!l1.last())\r\n\t\t\tl1.findNext();\r\n\t\t// current is now the last element of l2.\r\n\t\t\r\n\t\t// inserting in reverse:\r\n\t\twhile(!l1.first()) {\r\n\t\t\tl2.insert(l1.retrieve());\r\n\t\t\tl1.findPrevious();\r\n\t\t}\r\n\t\tl2.insert(l1.retrieve());\r\n\t}", "title": "" }, { "docid": "2c6135ac41ba18266cd77a1921c0ed65", "score": "0.5379153", "text": "ReadOnlyMooLah copy();", "title": "" }, { "docid": "6f5e310b6c4847746562b39efb5b257c", "score": "0.537898", "text": "public void copy(DataSet dataSet) {\n super.copy(dataSet);\n }", "title": "" }, { "docid": "61b787256b6ddc4b8e16370723ecacdf", "score": "0.53773475", "text": "public abstract Data copy();", "title": "" }, { "docid": "201de4c26f9ff7043c4e5a5eb8a94c56", "score": "0.5359696", "text": "@Override\n\tpublic void interlace(DoubleLinkedList<T> other) {\n\t\t\n\t}", "title": "" }, { "docid": "b32f032b7eee149b597713944d9922de", "score": "0.53469324", "text": "@Override\n public directed_weighted_graph copy()\n {\n return new DWGraph_DS(g); // return the copy constructor\n }", "title": "" }, { "docid": "314ae42cae7785420373f43db72d7b49", "score": "0.5343104", "text": "public static void main(String[] args) {\n\n /*\n * Test MyDeque\n * */\n List list = new ArrayList();\n list.add(5);\n list.add(12);\n\n MyDeque myDeque = new MyDeque();\n\n myDeque.addToFront(0.123);\n myDeque.addToFront(123.254);\n\n myDeque.addToBack(\"thanh\");\n myDeque.addToBack(\"nguyen\");\n\n myDeque.addAllToBack(list);\n\n System.out.println(\"getFront() : \" + myDeque.getFront());\n System.out.println(\"getBack() : \" + myDeque.getBack());\n\n System.out.println(\"removeFront() : \" + myDeque.removeFront());\n System.out.println(\"removeBack() : \" + myDeque.removeBack());\n\n System.out.println(\"isEmpty() : \" + myDeque.isEmpty());\n\n System.out.println();\n myDeque.display();\n System.out.println();\n\n System.out.println(\"Backward iteration\".toUpperCase());\n Iterator iterator = myDeque.asBackwardIterator();\n while(iterator.hasNext()){\n System.out.println(iterator.next());\n }\n\n\n\n\n /*\n *\n * Test for MyBag\n *\n * */\n\n /* List list = new ArrayList();\n list.add(0.012);\n list.add(\"lan\");\n list.add(\"chi\");\n list.add(\"chi\");\n\n MyBag myBag = new MyBag();\n myBag.add(0.002);\n myBag.addAll(list);\n System.out.println(\"any() : \" + myBag.any());\n System.out.println(\"remove() : \" + myBag.remove(\"cha\"));\n System.out.println(\"contains() : \" + myBag.contains(\"chi\"));\n// myBag.clear();\n\n myBag.display();\n System.out.println();\n\n while(myBag.asIterator().hasNext()){\n System.out.println(myBag.asIterator().next().toString());\n }*/\n\n\n\n /*\n *\n * Test for IndexableList\n * */\n\n /* MyIndexableListDraft myIndexableListDraft = new MyIndexableListDraft();\n\n int count = 1;\n\n MyIndexableList myIndexableList = new MyIndexableList();\n myIndexableList.add(1);\n myIndexableList.add(\"thanh\");\n myIndexableList.add(\"duy\");\n\n List list = new ArrayList();\n list.add(0.012);\n list.add(\"lan\");\n list.add(\"chi\");\n\n myIndexableList.addAll(list);\n// myIndexableList.addAll(myIndexableListDraft);\n// myIndexableList.clear();\n// myIndexableList.shuffle();\n// myIndexableList.reverse();\n\n System.out.println(\"Index of: \" + myIndexableList.indexOf(\"trieu\"));\n System.out.println(\"Contain: \" + myIndexableList.contains(\"lan\") + \"\\n\");\n\n *//* System.out.println(\"copyFromTo\".toUpperCase());\n int count1 = 1;\n if (myIndexableList.copyFromTo(3,5) != null){\n for (Object element:myIndexableList.copyFromTo(3,5).asList()){\n System.out.println(count1 + \". \" + element.toString());\n count1++;\n }\n }*//*\n\n\n System.out.println();\n\n\n if (myIndexableList.isEmpty()){\n System.out.println(\"Object is empty!\");\n return;\n }\n\n for (Object element: myIndexableList.asList()){\n System.out.println(count + \". \" + element);\n count++;\n }\n\n System.out.println();\n\n Iterator iterator = myIndexableList.asBackwardIterator();\n while(iterator.hasNext()){\n System.out.println(iterator.next().toString());\n }*/\n\n\n\n\n /*\n * Test for MyStack class\n * */\n/*\n MyStack myStack = new MyStack();\n myStack.push(1);\n myStack.push(\"chi\");\n myStack.push(0.001);\n\n List list = new ArrayList();\n list.add(\"thanh\");\n list.add(10);\n list.add(10.0123);\n\n myStack.pushAll(list);\n System.out.println(\"pop() : \" + myStack.pop());\n System.out.println(\"peek() : \" + myStack.peek());\n\n System.out.println(\"hasNext() : \" + myStack.asIterator().hasNext());\n\n\n Iterator iterator = myStack.asIterator();\n while(iterator.hasNext()){\n System.out.println(\"next() : \" + iterator.next().toString());\n }\n\n System.out.println(\"peek() : \" + myStack.asIterator().peek());\n\n for (Object element : myStack.asList()){\n System.out.print(element.toString() + \",\");\n }*/\n\n\n /*\n * Test for MyQueue class\n * */\n\n /* MyQueue myQueue = new MyQueue();\n myQueue.enqueue(14);\n myQueue.enqueue(14.01);\n myQueue.enqueue(\"JQ\");\n\n List list = new ArrayList();\n list.add(\"thanh\");\n list.add(10);\n list.add(10.0123);\n myQueue.enqueueAll(list);\n\n System.out.println(\"dequeue: \" +myQueue.dequeue().toString());\n System.out.println(\"Peek: \" + myQueue.peek().toString());\n System.out.println(\"Size: \" + myQueue.size());\n System.out.println(\"isEmpty: \" + myQueue.isEmpty());\n System.out.println(\"asList: \" + myQueue.asList().size());\n\n System.out.println();\n myQueue.display();\n System.out.println();\n\n while (myQueue.asIterator().hasNext()){\n System.out.println(myQueue.asIterator().next().toString());\n }*/\n }", "title": "" }, { "docid": "01b81e166eab0c56dc4c0459f4d76ce0", "score": "0.5329889", "text": "@Override\n\tpublic NetPlan copy()\n\t{\n\t\tNetPlan netPlan = new NetPlan();\n\t\tnetPlan.copyFrom(this);\n\n\t\treturn netPlan;\n\t}", "title": "" }, { "docid": "b241b1033d0618e11572e64746e3f0bd", "score": "0.5309457", "text": "public Partition copy() { // makes a deep copy of the Partition\r\n\t\t\treturn new Partition(this.arr, true, false);\r\n\t\t}", "title": "" }, { "docid": "af74e5272d76f6db34b12de92b138154", "score": "0.5302817", "text": "public T copy();", "title": "" }, { "docid": "0401a0294c0748c3c03d34e2d7ff206b", "score": "0.529172", "text": "T copy(T o2);", "title": "" }, { "docid": "284c054128a8df1bddf7c8bb2b7af6a0", "score": "0.52449715", "text": "public Bullpen copy()\n\t{\n\t\tBullpen bp = new Bullpen();\n\t\tfor(Piece p: pieces)\n\t\t{\n\t\t\tbp.addPiece(p.copy());\n\t\t}\n\t\treturn bp;\n\t}", "title": "" }, { "docid": "b25b3088dc153055f289363dca5b95e2", "score": "0.5228768", "text": "public LinkedListIndexedCollection(Collection other) {\n\t\tsuper.addAll(other);\n\t}", "title": "" }, { "docid": "ffeaf3631c47c944b3ff4c34badbbb89", "score": "0.5225653", "text": "public Assignment copy();", "title": "" }, { "docid": "6dbffb5334c9d852858e438a8cbe3490", "score": "0.5224076", "text": "public Graph copy(final Hashtable<GraphObject, GraphObject> orig2copy) {\r\n\t\treturn graphcopy(orig2copy);\r\n\t}", "title": "" }, { "docid": "aecc5003851cb12b7e68297c880116ae", "score": "0.5221158", "text": "Object clone();", "title": "" }, { "docid": "aecc5003851cb12b7e68297c880116ae", "score": "0.5221158", "text": "Object clone();", "title": "" }, { "docid": "3dd17ecaada548b9df26c664f9576fa1", "score": "0.5220364", "text": "public Object clone() throws CloneNotSupportedException {\r\n\t\tFloatingBarSeriesCollection clone = (FloatingBarSeriesCollection) super\r\n\t\t\t\t.clone();\r\n\t\tclone.data = (List) ObjectUtilities.deepClone(this.data);\r\n\t\tclone.keys = new java.util.ArrayList(this.keys);\r\n\t\treturn clone;\r\n\t}", "title": "" }, { "docid": "9e30be678c974f88fa3e8ff8686de3ce", "score": "0.5216086", "text": "public Fleury<E> makeDeepCopy()\r\n\t{\r\n\t\tFleury<E> newFleury = new Fleury<>(); // New Fleury graph that will be deep copied\r\n\t\tIterator<Entry<E, Vertex<E>>> vertSetIter = vertexSet.entrySet().iterator(); //Iterator for vertexSet\r\n\t\tEntry<E,Vertex<E>> vertexSetEntry;\r\n\t\tVertex<E> currVertex;\r\n\t\tE currData;\r\n\r\n\t\tIterator<Entry<E, Pair<Vertex<E>, Double>>> adjListIterator;\r\n\t\tEntry<E, Pair<Vertex<E>, Double>> adjListEntry;\r\n\t Pair<Vertex<E>, Double> adjListEntryPair;\r\n\t E adjData;\r\n\t\t\r\n\t\twhile(vertSetIter.hasNext()) {\r\n\t\t\tvertexSetEntry = vertSetIter.next();\r\n\t\t\tcurrVertex = vertexSetEntry.getValue();\r\n\t\t\tcurrData = currVertex.getData();\r\n\t\t\t\r\n\t\t\tadjListIterator = currVertex.adjList.entrySet().iterator();\r\n\t\t\twhile(adjListIterator.hasNext())\r\n\t\t\t{\r\n\t\t\t\tadjListEntry = adjListIterator.next();\r\n\t\t adjListEntryPair = adjListEntry.getValue();\r\n\t\t\t\tadjData = adjListEntryPair.first.getData();\r\n\t\t\t\tnewFleury.addEdge(currData, adjData, 0.0);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tnewFleury.setStart(start);\r\n\t\treturn newFleury;\r\n\t}", "title": "" }, { "docid": "3a33373d12e65fd80aa81b57e7263489", "score": "0.519484", "text": "@Override\n\tprotected void copy(PseudoFlowData source, PseudoFlowData dest) {\n\t\tdest.clear();\n\t\tif (!source.isVisible()){\n\t\t\t//System.out.println(\"invisible branch copied to invisible branch\");\n\t\t\tdest.makeInvisible();\n\t\t\t//System.out.println(dest);\n\t\t\treturn;\n\t\t\t\n\t\t}\n\t\t//System.out.println(\"visibile branch copied to visible branch\");\t\n\t\t\n\t\t\n\t\tTreeMap<Local, Set<Unit>> sourceMap = (TreeMap) source.getData();\n\t\tfor (Local l: sourceMap.keySet()){\n\t\t\tHashSet<Unit> newSet = null;\n\t\t\tif (dest.getData().containsKey(l)){\n\t\t\t\tnewSet = (HashSet) dest.getData().get(l);\n\t\t\t}else{\n\t\t\t\tnewSet = new HashSet<Unit>();\n\t\t\t\tdest.put(l, newSet); //calling the put method of the MyFlowData class\t\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\tnewSet.addAll(sourceMap.get(l));\n\t\t\t\n\t\t}\n\t\tdest.makeVisible();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "0568e15227cbf96e18e0435ff47434b9", "score": "0.5194291", "text": "private ListInterface<T> copy (ListStatic<T> list)\r\n {\r\n ListStatic<T> l = new ListStatic<T>(capacity);\r\n l.first = list.first;\r\n l.elements = list.elements;\r\n return l;\r\n }", "title": "" }, { "docid": "a9cda50d72f76604d4e610c46476b5ac", "score": "0.5186381", "text": "public UndirectedGraph clone(){\n \n // Create new graph\n UndirectedGraph clone = new UndirectedGraph();\n\n // Copy all vertices in the new graph\n for(int i=0; i<this.graph.size(); i++){\n clone.graph.add(new Vertex(this.graph.get(i)));\n }\n\n // Copy all the edges in the new graph\n for(int i=0; i<this.edges.size(); i++){\n clone.edges.add(new SimpleEdge(this.edges.get(i)));\n }\n\n return clone;\n }", "title": "" }, { "docid": "8b2067063bb5c64270cc7e87e7b62bef", "score": "0.518016", "text": "protected void initClone(Lang.AstNode copy) {\n\t int i;\n\n\t if (tok != null) {\n\t\tcopy.tok = new Lang.Token[tok.length];\n\t\tfor (i=0; i < tok.length; i++)\n\t\t if (tok[i] != null)\n\t\t\tcopy.tok[i] = (Lang.Token) tok[i].clone();\n\t }\n\t if (arg != null) {\n\t\tcopy.arg = new Lang.AstNode[arg.length];\n\t\tfor (i=0; i < arg.length; i++) {\n\t\t if (arg[i] != null) {\n\t\t\tcopy.arg[i] = (Lang.AstNode) arg[i].clone();\n\t\t\tcopy.arg[i].up = copy;\n\t\t }\n\t\t}\n\t }\n\n\t // initialize children pointers, if this hasn't been done\n\t // already. AstListNodes already have been initialized\n\t if (! (copy instanceof Lang.AstList))\n\t\tcopy.InitChildren();\n\t}", "title": "" }, { "docid": "9df3663659cdb03e768ecef1a70e4a63", "score": "0.51785594", "text": "public Trie<T> copy(){\n Trie<T> res = new Trie();\n res.marcas = this.marcas;\n res.tam = this.tam;\n res.root = this.root.copy();\n return res;\n }", "title": "" }, { "docid": "63acf09e2652ceb8a72a6b00a78b7d0c", "score": "0.517678", "text": "private void relink(DiGraph copy)\r\n {\r\n for (int i = 0; i < edges.size(); i++)\r\n {\r\n Vertex src = null;\r\n Vertex dest = null;\r\n Edge curr = edges.get(i);\r\n for (int j = 0; j < copy.getVertices().size(); j++)\r\n {\r\n Vertex currV = copy.getVertices().get(j);\r\n if (curr.getSrc().getName().equals(currV.getName()))\r\n {\r\n src = currV;\r\n }\r\n else if (curr.getDest().getName().equals(currV.getName()))\r\n {\r\n dest = currV;\r\n }\r\n }\r\n Edge copyEdge = src.link(dest, curr.getCapacity(), \r\n curr.getWeight(), curr.getValue());\r\n copy.addEdge(copyEdge);\r\n }\r\n }", "title": "" }, { "docid": "2e5c70275e7134dc74e521ad75202c31", "score": "0.51711226", "text": "void copy(E original, E copy);", "title": "" }, { "docid": "37ca1ac3b2aa2f64545ad3a9e9a6d4d7", "score": "0.5164908", "text": "private static void copy(Stack<Integer> original, Stack<Integer> copy) {\n\t\tif (original.isEmpty())\n\t\t\treturn;\n\n\t\telse {\n\t\t\tcopy.push(original.pop());\n\t\t\tcopy(original, copy);\n\t\t}\n\t}", "title": "" }, { "docid": "13b1863c1af7e691ec15075c369dc36d", "score": "0.5153303", "text": "private SimpleDirectedGraph<FlowElement, Scope> copyPipeGraph( SimpleDirectedGraph<FlowElement, Scope> pipeGraph )\n {\n SimpleDirectedGraph<FlowElement, Scope> copy = new SimpleDirectedGraph<FlowElement, Scope>( Scope.class );\n Graphs.addGraph( copy, pipeGraph );\n return copy;\n }", "title": "" }, { "docid": "d250a9adf63ea83e471751df19fb09b1", "score": "0.513537", "text": "private static LinkedList difference(LinkedList list1, LinkedList list2) {\n if (isNull(list1)) {\n return null;\n } else if (isMember(first(list1), list2)) {\n return difference(rest(list1), deleteFirst(first(list1), list2));\n }\n return append(add(first(list1), null), difference(rest(list1), deleteFirst(first(list1), list2)));\n }", "title": "" }, { "docid": "50cb803b7a9cf18e2e3e73bdb0781e7c", "score": "0.5134321", "text": "public Order makeCopy() {\n Order newOrder = new Order();\n for (OrderItem orderItem: internalList) {\n newOrder.add(orderItem.makeCopy());\n }\n return newOrder;\n }", "title": "" }, { "docid": "8ee2041576240459352fb72297723af5", "score": "0.51268375", "text": "@SuppressWarnings(\"unchecked\")\n\t public DynamicContext copy() {\n\t DynamicContext clone = new DynamicContext((LinkedList<SDGNode>) callStack.clone(), node, thread);\n\n\t return clone;\n\t }", "title": "" }, { "docid": "bda7c6f32b4bc70adc2a563dfb55d517", "score": "0.51198184", "text": "public TwoDimensionBone copy(boolean copyChildren){\r\n\tTwoDimensionBone copyBone=new TwoDimensionBone(name, x, y,parent);\r\n\tcopyBone.setLocked(locked);\r\n\t\r\n\r\n\t\r\n\tif(copyChildren){\r\n\t\tfor(TwoDimensionBone child:children){\r\n\t\t\tTwoDimensionBone copyChild=child.copy(true);\r\n\t\t\tcopyBone.addBone(copyChild);\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n\treturn copyBone;\r\n}", "title": "" }, { "docid": "2f2ad2c88e1e6dbad95a179fd990afff", "score": "0.5119277", "text": "public void copy(T src, T dest);", "title": "" }, { "docid": "37d854d18cfd7ca24865408f1e198da8", "score": "0.51170945", "text": "public BinaryNode<T> copy();", "title": "" }, { "docid": "838887101e5f1a905425fa83f0c13ec8", "score": "0.5117046", "text": "public Deque() // constructor\n{\n first = null; // no links on list yet\n}", "title": "" }, { "docid": "4d8013a702c9e548e555fd7606bdaa53", "score": "0.5115621", "text": "@Override\n public Object deepCopy(final Object value) {\n return value; //if object was immutable we could return the object as its is\n }", "title": "" }, { "docid": "29f8c59732324cc10d42351066767243", "score": "0.5114805", "text": "@Override\n\tpublic CopyElement copy() {\n\t\tGraphicalLine result = new GraphicalLine();\n\t\tresult.copyValuesFrom(this);\n\t\treturn new CopyElement(result, this);\n\t}", "title": "" }, { "docid": "6d9155f1fed9be7bb75a3861af324bd4", "score": "0.5106905", "text": "public Object clone() {\n\t\tExprFoldChangeDE myClone = (ExprFoldChangeDE) super.clone();\n\t\treturn myClone;\n\t}", "title": "" }, { "docid": "39ad14b9dec34611680aefad6c201408", "score": "0.50999033", "text": "public LinkedList<E> revert();", "title": "" }, { "docid": "47e770294e5ccc37c097cb98835564d3", "score": "0.5092654", "text": "@Override\n public Object clone(){\n ListTreeNode result = new ListTreeNode();\n int size = this.values.size();\n for(int i=0;i<size;i++){\n result.addChild(this.values.get(i).copy());\n }\n return result;\n }", "title": "" }, { "docid": "19d041dd2b288c6146b3c11a88dd53fe", "score": "0.5088778", "text": "public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) {\n/* 267 */ if (!elements.hasNext()) {\n/* 268 */ return of();\n/* */ }\n/* 270 */ E first = elements.next();\n/* 271 */ if (!elements.hasNext()) {\n/* 272 */ return of(first);\n/* */ }\n/* 274 */ return (new Builder<>()).add(first).addAll(elements).build();\n/* */ }", "title": "" }, { "docid": "b720095670c9433227d3b2e3c0a0f6a5", "score": "0.50852615", "text": "public Object clone() {\r\n\t\tEmployeeListNode copy;\r\n\t\ttry {\r\n\t\t\tcopy = (EmployeeListNode)super.clone();\r\n\t\t\tcopy.setData((Employee)data.clone());\r\n\t\t\tif ( next != null){\r\n\t\t\t\tcopy.setNext((EmployeeListNode)next.clone());\r\n\t\t\t}\r\n\t\t} catch (CloneNotSupportedException e) {\r\n\t\t\tcopy = null;\r\n\t\t}\r\n\t\treturn copy;\r\n\t}", "title": "" }, { "docid": "a936096f699c20fe4d5ade4b7d5dc539", "score": "0.50835294", "text": "public LinkedListDeque() {\n this.sentinel = new ItemNode(null, null, null);\n this.sentinel.prev = this.sentinel;\n this.sentinel.next = this.sentinel;\n this.size = 0;\n }", "title": "" }, { "docid": "eb94cb84e6e6e612f04018447cf44ce4", "score": "0.50792", "text": "@Override\n public graph copy() {\n graph NaAlgo = new Graph_DS();\n\n\n for (node_data q : this.algo.getV()\n ) {\n\n node_data CopyN = new NodeData(q.getKey());\n NaAlgo.addNode(CopyN);\n System.out.println(q.getKey());\n // System.out.println(q.getNi());\n }\n\n for (node_data q : this.algo.getV()) {\n\n if ((q.getNi() != null) && (!q.getNi().isEmpty()))\n for (node_data ni : q.getNi()) {\n NaAlgo.connect(q.getKey(), ni.getKey());\n\n }\n\n }\n\n return NaAlgo;\n }", "title": "" }, { "docid": "c3d732711e8f265a6632d43700e9fc44", "score": "0.50789994", "text": "public Node copyRandomList(Node head) {\n if(head==null) return null;\n Node newNode=null;\n Node prev=null;\n for(Node n=head, copyNode=newNode;n!=null;n=n.next, copyNode=copyNode.next){\n copyNode = new Node(n.key);\n prev.next = copyNode;\n// copyNode.random = new Node();\n\n }\n\n return newNode;\n }", "title": "" }, { "docid": "8db72fb660e0fbc400134c14af804268", "score": "0.5077389", "text": "public XYSeries createCopy(int start, int end) {\n\n XYSeries copy = (XYSeries) super.clone();\n //copy.listeners = new java.util.ArrayList();\n //copy.propertyChangeSupport = new PropertyChangeSupport(copy);\n\n copy.data = new java.util.ArrayList();\n if (data.size() > 0) {\n for (int index = start; index <= end; index++) {\n XYDataPair pair = (XYDataPair) this.data.get(index);\n XYDataPair clone = (XYDataPair) pair.clone();\n try {\n copy.add(clone);\n }\n catch (SeriesException e) {\n System.err.println(\"XYSeries.createCopy(): unable to add cloned data pair.\");\n }\n }\n }\n\n return copy;\n\n }", "title": "" }, { "docid": "dd439bbada0f2300eb6d99071cce5075", "score": "0.50727874", "text": "public MyQueue1() {\n deque1 = new ArrayDeque<>();\n deque2 = new ArrayDeque<>();\n }", "title": "" }, { "docid": "54f6e9785510e67c00296135abbf99a8", "score": "0.5054385", "text": "public RandomListNode copyRandomList2(RandomListNode head) {\n\t\tif (head == null)\n\t\t\treturn null;\n\n\t\tRandomListNode newHead = new RandomListNode(head.label);\n\t\t// Copy LinkedList without setting random pointer\n\t\tfor (RandomListNode op = head, np = newHead, temp; op != null;) {\n\t\t\tif (op.next != null) {\n\t\t\t\tnp.next = new RandomListNode(op.next.label);\n\t\t\t\ttemp = np.next;\n\t\t\t\tnp.next = op.next;\n\t\t\t\top.next = np;\n\n\t\t\t\top = np.next;\n\t\t\t\tnp = temp;\n\t\t\t} else {\n\t\t\t\top.next = np; // Clean up the last node pair\n\t\t\t\top = null;\n\t\t\t}\n\t\t}\n\t\t// Set random pointer\n\t\tfor (RandomListNode op = head, np = newHead; op != null;) {\n\t\t\tif (op.random != null) {\n\t\t\t\tnp.random = op.random.next;\n\t\t\t}\n\t\t\top = np.next;\n\t\t\tif (op != null)\n\t\t\t\tnp = op.next;\n\t\t}\n\t\t// Restore the original linked list\n\t\tfor (RandomListNode op = head, np = newHead; op != null;) {\n\t\t\top.next = np.next;\n\t\t\tif (np.next != null)\n\t\t\t\tnp.next = np.next.next;\n\n\t\t\top = op.next;\n\t\t\tnp = np.next;\n\t\t}\n\t\treturn newHead;\n\t}", "title": "" }, { "docid": "0a6d4c707463471447a86c851049ead9", "score": "0.50531167", "text": "public interface Copyable {\n /**\n * Create a deep copy of this instance. {@link de.bioforscher.jstructure.model.feature.FeatureContainer} will be\n * ignored by contract.\n * @return a copy with all references (to children and parent) also cloned and set\n */\n Copyable createDeepCopy();\n\n /**\n * Create a shallow copy of this instance. {@link de.bioforscher.jstructure.model.feature.FeatureContainer} will be\n * ignored by contract.\n * @return a copy with all fields cloned and children and parent reference pointing to either a empty list or null\n */\n Copyable createShallowCopy();\n}", "title": "" }, { "docid": "82c93ac93a70440e1c656175b3bcacbe", "score": "0.50487685", "text": "public Deque() {\n first = null;\n // first.prev = null;\n last = null;\n // last.next = null;\n n = 0;\n }", "title": "" }, { "docid": "d67e5001c78a41f9609c89d19f290c5a", "score": "0.5047301", "text": "void duplicateItem() {\n\t\tprevItem = item;\n\t\titem = prevItem.copy();\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "29d86368c2cf7b6d30531e1fcc751f00", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tCategory category=new Category(\"Spring\");\n\t\tEntityManagerFactory entityManagerFactory=Persistence.createEntityManagerFactory(\"EcommerceWebsite\");\n\t\tEntityManager entityManager=entityManagerFactory.createEntityManager();\n\t\tentityManager.getTransaction().begin();\n\t\tentityManager.persist(category);\n\t\tentityManager.getTransaction().commit();\n\t\tentityManager.close();\n\t\tentityManagerFactory.close();\n\t\tSystem.out.println(\"Category object is persisted\");\n\t\t\n\t}", "title": "" } ]
[ { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.7037216", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.68683225", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481321", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "4d9e164e4e911df1380f4618e0fe7a08", "score": "0.6446192", "text": "OI (){\n\t\t\n\t}", "title": "" }, { "docid": "b7026792f4497bfcada6c43399e85e01", "score": "0.6412251", "text": "@Override\r\n\tpublic void kellton() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.63880783", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3082ef05aec8dc343ca108ab345f43a", "score": "0.6346641", "text": "@Override\r\n\tpublic void morir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "063ae6a38469d06ddf88fd9af6522171", "score": "0.6303464", "text": "@Override\r\n\tpublic void guru() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d4e15b200c2022658af267c700b34269", "score": "0.6269351", "text": "@Override\n\tpublic void anlegen() {\n\t\t\n\t}", "title": "" }, { "docid": "582acaef2e3110454651d58f22c1b299", "score": "0.62566763", "text": "public void mo14492g() {\n }", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.6251392", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "bd9b859f3a9c1a1565a6602ccdbe7e59", "score": "0.6166928", "text": "@Override\n\tpublic void fiyatt() {\n\n\t}", "title": "" }, { "docid": "a2392cc71aaf87bc730f13f37ecdb439", "score": "0.6154919", "text": "private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}", "title": "" }, { "docid": "fa32f830910aeae71dc86bf338a8b0fc", "score": "0.61459744", "text": "@Override\n\tpublic void genrator() {\n\n\t}", "title": "" }, { "docid": "7ba2946d983bb1e7f8bf10a547e6dc3f", "score": "0.6142578", "text": "public void mo14489d() {\n }", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.6141126", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "fcaf77b6f021a702cb2ac62e6c374cbd", "score": "0.6100913", "text": "@Override\r\n\tpublic void afficher() {\n\r\n\t}", "title": "" }, { "docid": "12c148d05fe753983614cee07240d8f6", "score": "0.6074055", "text": "@Override\n\t\t\t\tpublic void ll() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "ad4d9339a0e3b347b6df9466d063badd", "score": "0.60696864", "text": "public void piocher(){\n\t\t\n\t}", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.6062165", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.6059389", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "817efc043b4e1d7ba918f254f9fa5ae6", "score": "0.6055012", "text": "@Override\n public void taunt() {\n\n }", "title": "" }, { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.60443264", "text": "protected void method_3848() {}", "title": "" }, { "docid": "df970d9257b3282612e3b7ad881bca60", "score": "0.6016086", "text": "protected void bhjp5027AcedeMhjj027a() {\n }", "title": "" }, { "docid": "6e6512370dbb6f9cb6dcc13bd5aa3b2d", "score": "0.60138226", "text": "@Override\n\tvoid absone() {\n\t\t\n\t}", "title": "" }, { "docid": "5fa8025455ce490980ad8cccfd13eea3", "score": "0.5963883", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "be358957d7b1e72f6001c386d8960179", "score": "0.5960806", "text": "@Override\n public void menace() {\n }", "title": "" }, { "docid": "be358957d7b1e72f6001c386d8960179", "score": "0.5960806", "text": "@Override\n public void menace() {\n }", "title": "" }, { "docid": "90e62de5f767b081d1ecd30f250f7e27", "score": "0.5956729", "text": "@Override\n\t\tpublic void ll() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "408c943a1e709ecc31c924c09b2315eb", "score": "0.5924403", "text": "protected void bhyp0200RotinaDatas() {\n }", "title": "" }, { "docid": "1a4f9aa6f736074c80c425a66e966e33", "score": "0.591473", "text": "@Override\n\tpublic void acariciar() {\n\n\t}", "title": "" }, { "docid": "a82715cbd2b63f8780c6a8d4d9ca9642", "score": "0.5904261", "text": "@Override\r\n\tpublic void getBalalnce() {\n\t\t\r\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5886539", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5886539", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "40be4915804d3229e08fed067ec03fd6", "score": "0.58759344", "text": "Bug_616419() {\r\n\t}", "title": "" }, { "docid": "2b60191c95bfebe3c1552e6c0a013032", "score": "0.58680886", "text": "@Override\r\npublic void generate() {\n\t\r\n}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.5850078", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "cf22f889d7fbcd272d230fe8e0354d0c", "score": "0.5832774", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "5c40bd2e5c1d492aac9d5983bf52d2e3", "score": "0.5811345", "text": "@Override\n\tpublic void vericar() {\n\t\t\n\t}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.5810397", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "655a271d981b875feb8fbc679e1a4f87", "score": "0.5804755", "text": "public void mo9609a() {\n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b6296d9cb06e3094b2a07ffb1a50fe1e", "score": "0.5790954", "text": "@Override\n\tpublic void acariciar() {\n\t}", "title": "" }, { "docid": "8bb51b817eb666c4867465105352c93f", "score": "0.5789445", "text": "@Override\r\n\tvoid oracle() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "eaf44b0db9fccdd4e25d11d08215adc0", "score": "0.57868445", "text": "@Override\n\tpublic void zufallsKanteEinfuegen()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "cdfd4f491038656c3a88e9465c6ba0e6", "score": "0.57737845", "text": "@Override\n\tpublic void reculer() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "91bd67fab28a493021bd6f1f7b3e5e0a", "score": "0.57590026", "text": "@Override\n public void dirve() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "24b32615866ab9d1bd9b2e291b95a1c6", "score": "0.5758869", "text": "public void getPheromone() \n {\n\t \n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f4988c898d552b0a5965dcb636a68ca", "score": "0.57391614", "text": "@Override\r\n\tpublic void correr() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a59d3a080703df0c29632666d64e3e65", "score": "0.57377326", "text": "@Override\n\tprotected void initialize()\n {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94635a88abd93d3624c032aa22ccc337", "score": "0.5731695", "text": "@Override\n\t\t\tpublic void refresh() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "18ea513e33a6ccd2005fa08437bc8da3", "score": "0.573015", "text": "@Override\n public int describeContents() {\n return 0;\n }", "title": "" }, { "docid": "8887ffca90e3cb4fff0262bd3dd5bd82", "score": "0.57280916", "text": "@Override\r\n\tpublic void Y() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8648511042e2a7fd608e085a1fcb7ccf", "score": "0.5726677", "text": "@Override\r\n\tpublic void operation() {\n\r\n\t}", "title": "" }, { "docid": "1c4063058b784c69f3e491b8fe1c5d87", "score": "0.5722229", "text": "@Override\r\n\tpublic void vivir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "47b0ce2a4738b951bd3c2a4491ec7cd6", "score": "0.57205975", "text": "@Override\n \tpublic String toString() {\n \t\treturn null;\n \t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "12104bcdcc776dd1fc9415fbc08ab9a4", "score": "0.5712942", "text": "private ExtentTS() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "258fef0e9420b0df779163d8d9cb25a9", "score": "0.5707184", "text": "private void hf() {\n\n\t}", "title": "" }, { "docid": "f720716362bda7cd9a07a11b5f77ac9c", "score": "0.5702897", "text": "public void ObjeyiOlustur() {\n \r\n }", "title": "" }, { "docid": "5e4bdac9e86e82025f9be7b708955d73", "score": "0.56991893", "text": "@Override\n\tprotected void startOfIteration() {\n\n\t}", "title": "" }, { "docid": "a7998f80ff10142923d6914a455d5129", "score": "0.5687978", "text": "public void colisionBala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a4f5275a394442b77ca743e85e2d2f20", "score": "0.568737", "text": "public void mo3892a() {\n }", "title": "" }, { "docid": "1614b26591fe3a156f284f7d7d0238ab", "score": "0.56871134", "text": "public void mo3894c() {\n }", "title": "" }, { "docid": "92b8246d78d46bf0f60b46e17e797540", "score": "0.56825924", "text": "@Override\n\tpublic void init () {\n\t}", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "02b2c6e51ebb5faf78f05c34c734f88d", "score": "0.5676809", "text": "@Override\n\tprotected void adjust() {\n\t\t\n\t}", "title": "" }, { "docid": "b28a6bba203633cc1b71e802b691f592", "score": "0.567235", "text": "@Override\n\tpublic void shuthdown() {\n\n\t}", "title": "" }, { "docid": "cffc9e76f5aeaa8126396b11e98f261b", "score": "0.5667161", "text": "@Override\n public int describeContents() {\n return 0;\n }", "title": "" }, { "docid": "febadec59d2787ed37a521b11b0fe57d", "score": "0.56570727", "text": "public void getdata() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
714c1136e0f9f934fb9677040c6cc34d
Method to get the total balance of the portfolios
[ { "docid": "a0d3e3c84518ea1abba5c2f206305fb3", "score": "0.7063375", "text": "private String totalBalance() {\n\t\treturn String.valueOf(View.currencyFormat(Database\n\t\t\t\t.getTotalBalance(portfolio.getNumber())));\n\t}", "title": "" } ]
[ { "docid": "5638d64bb2b14fc055b37dfb2da05d61", "score": "0.71973485", "text": "public double getTotalBalance();", "title": "" }, { "docid": "f2f05d40db789a556bf4bc22e70cffc4", "score": "0.7012061", "text": "public double getBalance() {\n\t\tdouble total = getDemandAccountBalance();\n\t\tfor (SavingsAccount sa : _savingsAccounts)\n\t\t\ttotal += sa.getBalance();\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "80825170ee3a64283d6d3d6b71472993", "score": "0.6966696", "text": "public static double totalMoneyInBank() {\n return allAccountBalance;\n\n }", "title": "" }, { "docid": "99ff8d2e5ee98dd22d8b52874b2a7514", "score": "0.690154", "text": "public static double getTotalDeposit() {\n\t\treturn totalDeposit;\n\t}", "title": "" }, { "docid": "e7222b7b2d74d8635398eae98281a26b", "score": "0.6820286", "text": "public double getBalance() {\n double total = getCurrentAccountBalance();\n for (SavingsAccount sa : _savingsAccounts)\n total += sa.getBalance();\n return total;\n }", "title": "" }, { "docid": "5c78d62ee1c488d27600eb76353b9878", "score": "0.67864925", "text": "public BigDecimal getTotal() {\n\n if (total == null) {\n return available.add(frozen).subtract(borrowed).add(loaned).add(withdrawing).add(depositing);\n } else {\n return total;\n }\n }", "title": "" }, { "docid": "11f75305d480135bc7306f58decc9998", "score": "0.6756611", "text": "private String portfoliosAmount() {\n\t\treturn String.valueOf(Database.getHowManyPortfolios());\n\t}", "title": "" }, { "docid": "1ed3a7486d9f7d9288df966b3693e21c", "score": "0.67328364", "text": "public double getBalance() {\r\n\t\tdouble amount = 0;\r\n\t\tfor (int i = 0; i < money.size(); i++) {\r\n\t\t\tamount += money.get(i).getValue();\r\n\t\t}\r\n\t\treturn amount;\r\n\t}", "title": "" }, { "docid": "95f3d7ddc8135b83f6f34c941ebc2d60", "score": "0.6700202", "text": "public double findBalance(){\r\n double balance = 0.0;\r\n for(int i = 0; i < transactions.size(); i++){\r\n balance += isNormalDebit() ? transactions.get(i).getDebit() - transactions.get(i).getCredit() : transactions.get(i).getCredit() - transactions.get(i).getDebit();\r\n }\r\n return balance;\r\n }", "title": "" }, { "docid": "d75a9257a611d1686afabb172ff08880", "score": "0.6690101", "text": "double getBalance();", "title": "" }, { "docid": "2deeac88ecd95c0b822b5960c703ba4f", "score": "0.6657931", "text": "public double getBalance() {\n\t\tif(money.size()==0){\n\t\t\treturn 0.0;\n\t\t}\n\t\tcountBalance =0 ;\n\t\tfor(Valuable box : money){\n\t\t\tcountBalance = countBalance + box.getValue();\n\t\t}\n\t\treturn countBalance;\n\t}", "title": "" }, { "docid": "4456768b318287d6737ee2b02ccb0b5b", "score": "0.6649658", "text": "public int getTotalCash() {\n return totalCash;\n }", "title": "" }, { "docid": "0b8db50de4291db7f266f643fa55dce5", "score": "0.66391265", "text": "BigDecimal getBalance();", "title": "" }, { "docid": "1b8a6864d838de54fe420063badba1cb", "score": "0.6616498", "text": "public String usePortfoliosAmount() {\n\t\treturn portfoliosAmount();\n\t}", "title": "" }, { "docid": "750c548dc30dfe21a7a142372b8692a9", "score": "0.66019136", "text": "public BigDecimal balance() {\n\t\treturn balance;\n\t}", "title": "" }, { "docid": "c66a8f22d1fde0e50ba3ccd2a1144d5d", "score": "0.65755135", "text": "public double getBalance() {\n\t\tif (money.size() == 0)\n\t\t\treturn 0.0;\n\t\tdouble balance = 0;\n\t\tfor (int a = 0; a < money.size(); a++) {\n\t\t\tbalance += money.get(a).getValue();\n\t\t}\n\t\treturn balance;\n\t}", "title": "" }, { "docid": "701829955c8b8d68d1d798d3d3cb2aec", "score": "0.6544869", "text": "public double getBalance() {\r\n double balance = 0;\r\n for ( Valuable m : money){\r\n balance += m.getValue();\r\n }\r\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "dd145ff0e41639880d70b25497389462", "score": "0.6533066", "text": "int getBalance();", "title": "" }, { "docid": "5b59d9ad4b1a83c79e6d6a4a6036da25", "score": "0.65172905", "text": "public double totalMoney() {\n current = checking;\n double total = 0.0;\n\n while (current != null) {\n if (current instanceof BankAccount) {\n total = total + current.getBalance();\n if (current.getNextAccount() instanceof BankAccount) {\n current = current.getNextAccount();\n } else {\n break;\n }\n }\n }\n\n return total;\n }", "title": "" }, { "docid": "7628d19703d9b79eaf8e4a17e2fadf2a", "score": "0.6515699", "text": "public float getTotalSavingsAmount() {\n float sum = 0;\n\n for (BankAccount bankAccount : bankAccounts) {\n if (bankAccount.getAccountType().equals(\"savings\")) {\n sum += bankAccount.getAmount();\n }\n }\n return sum;\n }", "title": "" }, { "docid": "b6f723fef1de534d6bdfb8fe88be6f2b", "score": "0.645499", "text": "public BigDecimal getBalance()\r\n\t {\r\n\t return balance; \r\n\t }", "title": "" }, { "docid": "6b0ffcd5d08914822a4b0bb2db92e262", "score": "0.6451364", "text": "float getProvisionalBalance();", "title": "" }, { "docid": "cf6fcdce358470326fe88c035f2f3241", "score": "0.64511836", "text": "public int getBalance() {\n return 0;\n }", "title": "" }, { "docid": "9fd5ded02a6cfd003c7634d15c280465", "score": "0.64215845", "text": "float getBalance(int bankAccountId);", "title": "" }, { "docid": "f9737330ac4ca532e165823d0900b531", "score": "0.64151675", "text": "public int getBalance() {\r\n return balance;\r\n }", "title": "" }, { "docid": "dfc5eb7db98d1f4b0fbccad7bbcb9bad", "score": "0.6405552", "text": "long getBalance();", "title": "" }, { "docid": "2a42e7e4d8627ba2a847a0ea4a0d4609", "score": "0.6383186", "text": "float getCurrentBalance();", "title": "" }, { "docid": "cbec57051a490049fe716d7ebbeb648f", "score": "0.63806605", "text": "double getAvailableBalance();", "title": "" }, { "docid": "e403884f4ea0a380bc4a99f1a664a3ad", "score": "0.63788223", "text": "public int getBalance() {\n return balance;\n }", "title": "" }, { "docid": "ebb1dcaed67e2cad4b15dbc99cd82ce6", "score": "0.63763046", "text": "public BigDecimal getBalance() {\n BigDecimal retValue = ZERO;\n\n return retValue;\n }", "title": "" }, { "docid": "99559f02b8288840e340da594ddcdc24", "score": "0.6375251", "text": "public BigDecimal getBalance() {\n return balance;\n }", "title": "" }, { "docid": "99559f02b8288840e340da594ddcdc24", "score": "0.6375251", "text": "public BigDecimal getBalance() {\n return balance;\n }", "title": "" }, { "docid": "86a60958b17a362cccae2c7401af15f5", "score": "0.6353799", "text": "@Override\n public BigDecimal getBalance() {\n return balance;\n }", "title": "" }, { "docid": "4e8fb25965b946d3e9e9d9820bebdf41", "score": "0.63466865", "text": "double getCurrentBalance();", "title": "" }, { "docid": "a79015029f92a0dcceafe6a221aff88f", "score": "0.6341085", "text": "public int getBalance() {\n return balance;\n }", "title": "" }, { "docid": "85165721c3a57207a9bed5fd8e45bbe7", "score": "0.6335941", "text": "public double getTotalOutgoingCash() {\n\t\tTicker t = firm.getTicker();\n\t\tdouble sharePurchases = general.getStockMarketStats().getFirmStats(t).getSpendings();\n\t\treturn sharePurchases + getCostsOfGoodsSold();\n\t}", "title": "" }, { "docid": "a92b735d05b6d12f1fe47f51420f8651", "score": "0.6329561", "text": "public BigDecimal getDepositing() {\n\n return depositing;\n }", "title": "" }, { "docid": "4f191a914d9d2128f0e518b955ed664f", "score": "0.63244766", "text": "public double totalAmount() {\n double amount = 0.0;\n for(int i = 0; i < data.size(); i++) {\n amount = amount + data.get(i).getLoanAmount();\n }\n return amount;\n }", "title": "" }, { "docid": "00957b0a9503774988d10a9654e493c2", "score": "0.6323972", "text": "private static void getBalance() {\n // TODO\n }", "title": "" }, { "docid": "936830945bcd0d322dbc3d855deaa956", "score": "0.6323029", "text": "public int getBalance()\n {\n return balance;\n }", "title": "" }, { "docid": "936830945bcd0d322dbc3d855deaa956", "score": "0.6323029", "text": "public int getBalance()\n {\n return balance;\n }", "title": "" }, { "docid": "936830945bcd0d322dbc3d855deaa956", "score": "0.6323029", "text": "public int getBalance()\n {\n return balance;\n }", "title": "" }, { "docid": "d7dab567d6452f8882a643b8daa28ed3", "score": "0.63122934", "text": "public int getBalance()\r\n\t{\r\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "785a456616351e49117c92e4e41b8471", "score": "0.63113016", "text": "@Override\n public int getBalance() {\n return balance;\n }", "title": "" }, { "docid": "b0758ce083589301f70643ffe009a3ab", "score": "0.63070184", "text": "iroha.protocol.Primitive.Amount getBalance();", "title": "" }, { "docid": "d78b60d156d561f0bbafc0d8224eaf64", "score": "0.6303448", "text": "public double getBalance()\r\n {\r\n return balance;\r\n }", "title": "" }, { "docid": "b1e118b3991ac4a6f59efbb846ee0bc1", "score": "0.6292855", "text": "public double getBalance() {\r\n\r\n return balance;\r\n }", "title": "" }, { "docid": "032f4b9f5c50ecc378ba538f59989d7c", "score": "0.6291748", "text": "@Override\n\t\tpublic int getFundTotal(Criteria cri) {\n\t\t\treturn mapper.getFundTotalCount(cri);\n\t\t}", "title": "" }, { "docid": "9b7ed3c69f399a118ce465c624c941c3", "score": "0.6290828", "text": "public double totalDollars() {\r\n\t\treturn dollars + blockedDollars;\r\n\t}", "title": "" }, { "docid": "0dc99972573687efca487f2d42f580d6", "score": "0.6288578", "text": "public float getTotalFixedAmount() {\n float sum = 0;\n\n for (BankAccount bankAccount : bankAccounts) {\n if (bankAccount.getAccountType().equals(\"fixed\")) {\n sum += bankAccount.getAmount();\n }\n }\n return sum;\n }", "title": "" }, { "docid": "c7ee90a41ef3fedd6f6115ed3b6f17d4", "score": "0.6283565", "text": "public double returnBalance()\r\n\t{\r\n\t return balance;\r\n\t}", "title": "" }, { "docid": "7b2f59c9685a60867da02e1278bf79e4", "score": "0.62801313", "text": "private double getBalance() {\r\n\r\n\r\n\r\n\r\n\t\treturn balance;\r\n\r\n\t}", "title": "" }, { "docid": "1920beb7facab8bf6b0e3f32e315e7fe", "score": "0.62664145", "text": "public double getBalance() {return balance;}", "title": "" }, { "docid": "07c40e224b2d17486b8fafe106cf5177", "score": "0.62388724", "text": "public float getTotalCurrentAmount() {\n float sum = 0;\n\n for (BankAccount bankAccount : bankAccounts) {\n if (bankAccount.getAccountType().equals(\"current\")) {\n sum += bankAccount.getAmount();\n }\n }\n return sum;\n }", "title": "" }, { "docid": "00d53c46e0f7d0825ec4866d2459c858", "score": "0.6236994", "text": "public double getBalance() {\n return balance;\n }", "title": "" }, { "docid": "00d53c46e0f7d0825ec4866d2459c858", "score": "0.6236994", "text": "public double getBalance() {\n return balance;\n }", "title": "" }, { "docid": "00d53c46e0f7d0825ec4866d2459c858", "score": "0.6236994", "text": "public double getBalance() {\n return balance;\n }", "title": "" }, { "docid": "00d53c46e0f7d0825ec4866d2459c858", "score": "0.6236994", "text": "public double getBalance() {\n return balance;\n }", "title": "" }, { "docid": "f29d22528349f28a08d1d5cd24437d1a", "score": "0.6235076", "text": "public BigDecimal getAmountTotal() { return po.getAmountTotal(); }", "title": "" }, { "docid": "8f8fc2d91cb857874606790048e80bb6", "score": "0.62346256", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public gw.api.financials.CurrencyAmount getTotalTransactionAmount();", "title": "" }, { "docid": "92719646a8c05049b2277fbb6849467f", "score": "0.62225103", "text": "public double getBalance()\r\n\t{\r\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "c8db3578e4edee72081dcc796408e018", "score": "0.62216616", "text": "@Override\r\n\tpublic double getBalance() {\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "645f9ddcd13338d107600954f2e3c47e", "score": "0.6221465", "text": "public BigDecimal getBalance() {\n return this.balance;\n }", "title": "" }, { "docid": "7b6fb37e23358312b63d0c6e63daeb1b", "score": "0.6220346", "text": "public String useTotalBalance() {\n\t\treturn totalBalance();\n\t}", "title": "" }, { "docid": "50a14f6e9685533fc0d1585c47a9d8aa", "score": "0.62142676", "text": "@Override\r\n\tdouble getBalance() {\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "50a14f6e9685533fc0d1585c47a9d8aa", "score": "0.62142676", "text": "@Override\r\n\tdouble getBalance() {\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "2b1b82769ac1e260ad37ea591e39fdfa", "score": "0.6214117", "text": "@Override\n\t\tpublic double getTotalBalance() {\n\t\t\t\n\t\t\tif(loanDao.getTotalBalance()!=0)\n\t\t\t{\n\t\t\t\tlogger.info(\"Returning closing balance to client\");\n\t\t\t\treturn loanDao.getTotalBalance();\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t\tlogger.error(\"No data exist in database\");\n\t\t\t\tthrow new NoDataFoundException(\"No Data Found\");\n\t\t}", "title": "" }, { "docid": "f6ac066130a22c59eda7ee8499ed3101", "score": "0.6214114", "text": "public BigDecimal getTotalMoney() {\r\n return totalMoney;\r\n }", "title": "" }, { "docid": "e3807c350d587a65f9d4ea64aedc76d2", "score": "0.6214034", "text": "public BigDecimal getTOTAL_PAST_DUE_AMOUNT() {\r\n return TOTAL_PAST_DUE_AMOUNT;\r\n }", "title": "" }, { "docid": "635cd99ea26acf4bdc8a71d21c751c66", "score": "0.6207505", "text": "public int getDeposit ()\r\n {\r\n return moneyIn;\r\n }", "title": "" }, { "docid": "22e1640081ce3c676314b6cd2fb56e2d", "score": "0.6206691", "text": "BigDecimal fundsAfter();", "title": "" }, { "docid": "270032380a667b999f2446ba38a0463f", "score": "0.6204101", "text": "public int getBalance() {\r\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "270032380a667b999f2446ba38a0463f", "score": "0.6204101", "text": "public int getBalance() {\r\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "064ecd150d8408d7aee51d5541bab94f", "score": "0.619969", "text": "public BigDecimal getBalance() {\n\t\treturn balance;\n\t}", "title": "" }, { "docid": "ce2f421fe45283979a65b96055e8786e", "score": "0.6198965", "text": "public float calcTotalValue() {\n float ret = 0;\n for (Position pos : positions) {\n float equity = pos.getShares() * pos.getStopLevelInfo().getQuotes().get(0).getClose();\n ret += equity;\n }\n return ret + cashBalance;\n }", "title": "" }, { "docid": "e9fb307e5e7e6a0650b1dbe840dd525c", "score": "0.6190562", "text": "public static int getAccountBalance() {\n\t\t\n\t\tSystem.out.println(\"Enter Dollar To Add To Account : \");\n\t\treturn sc.nextInt();\n\t}", "title": "" }, { "docid": "08e26f97d805cf7a624c6e94cdb024bd", "score": "0.6187301", "text": "public BigDecimal getTotal() {\n return total;\n }", "title": "" }, { "docid": "08e26f97d805cf7a624c6e94cdb024bd", "score": "0.6187301", "text": "public BigDecimal getTotal() {\n return total;\n }", "title": "" }, { "docid": "c52894e01c81cc92f6fc8442a4b1f045", "score": "0.6184478", "text": "double getTotalFee();", "title": "" }, { "docid": "aed626d8e95a834d83de0c98bea72532", "score": "0.6182498", "text": "public void findRunningBalance(){\r\n double runningTotal = 0.0;\r\n for(int i = 0; i < transactions.size(); i++){\r\n runningTotal += isNormalDebit() ? transactions.get(i).getDebit() - transactions.get(i).getCredit() : transactions.get(i).getCredit() - transactions.get(i).getDebit();\r\n transactions.get(i).setBalance(runningTotal);\r\n }\r\n }", "title": "" }, { "docid": "fdca715c1ca82985214444ff50f52b8b", "score": "0.61813086", "text": "public int getBalance(){\n\t\treturn balance;\n\t}", "title": "" }, { "docid": "68672d3e96dc57972b51ab9437adfa58", "score": "0.61794764", "text": "public BigDecimal getTotal() {\r\n return total;\r\n }", "title": "" }, { "docid": "68672d3e96dc57972b51ab9437adfa58", "score": "0.61794764", "text": "public BigDecimal getTotal() {\r\n return total;\r\n }", "title": "" }, { "docid": "50688a7d17c3360913a8d911b8cc24cd", "score": "0.6159767", "text": "public double getBalance(){\n\t\treturn balance;\n\t}", "title": "" }, { "docid": "3065475bc087ef2fbaa26d44511de3db", "score": "0.61537415", "text": "public double getTotalAmount()\n {\n return totalAmount;\n }", "title": "" }, { "docid": "1a3e28b65c90ef85ef1d1f1e60e39bf2", "score": "0.61517143", "text": "public double getBalance() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "0bef295230e0e5a7ea1c9696f255f4db", "score": "0.6151176", "text": "public long getBalance()\r\n\t\t{\r\n\t\t\treturn balance;\r\n\t\t}", "title": "" }, { "docid": "6598ae3d19e8b3001a78b6c1a98389b8", "score": "0.61455566", "text": "private double getTotalPayment()\n {\n return countTotal(payments);\n }", "title": "" }, { "docid": "2402999e3f95584849524dea1a9dc82f", "score": "0.6135191", "text": "long getCurrentBalance();", "title": "" }, { "docid": "c8de84a0c5f0c3bcee7904e4dbda29f8", "score": "0.6131518", "text": "public long getBalance() {\n return balance_;\n }", "title": "" }, { "docid": "a89a6f0f886e8655ba632f2a6b8ff24b", "score": "0.61284786", "text": "public double getBalance() {\r\n\t\treturn balance;\r\n\t}", "title": "" }, { "docid": "07f9c4497fc17fa64b63ea0ecdfb79de", "score": "0.6122452", "text": "public BigDecimal getTOTAL_PAST_DUE_COUNT() {\r\n return TOTAL_PAST_DUE_COUNT;\r\n }", "title": "" }, { "docid": "7a83c196101bc1159eab5e56dbc8c589", "score": "0.61102575", "text": "public double getBalance()\n\t{\n\t\treturn balance;\n\t}", "title": "" }, { "docid": "7a83c196101bc1159eab5e56dbc8c589", "score": "0.61102575", "text": "public double getBalance()\n\t{\n\t\treturn balance;\n\t}", "title": "" }, { "docid": "c1a1994ba901c338a81dbe13d9209e08", "score": "0.61011755", "text": "@Override\n\tpublic int Deposit(int amount) {\n\t\tbalance=amount+balance;\n\t\treturn balance;\n\t}", "title": "" }, { "docid": "68351cf8f27d1623013ad143442fef9b", "score": "0.60916746", "text": "public double getBalance() {\r\n double balance = 0;\r\n for(int i=0;i<numCurrencies;i++)\r\n {\r\n balance += currencies[i] * currencyValues[i].value.getBalance();\r\n }\r\n return balance;\r\n }", "title": "" }, { "docid": "9897a6334812faba14cdc4323bc41ecb", "score": "0.6088118", "text": "public double total() \n {\n double fTotal = 0.0;\n\n for (int i = 0; i < this.purse.size(); i++)\n fTotal += this.purse.get(i).getValue();\n\n return fTotal / 100.0;\n }", "title": "" }, { "docid": "e3c30162326febc3a7536acee7f12943", "score": "0.60863477", "text": "public long getBalance() {\n return balance_;\n }", "title": "" }, { "docid": "a661c5c2155a69416e69f0b5009c0e7e", "score": "0.6084393", "text": "Amount getTotalPrice (){\n return totalPrice;\n }", "title": "" }, { "docid": "8a1fda87bc2f3e013634e628f870b7d6", "score": "0.60828304", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public gw.api.financials.CurrencyAmount getTotalReportingAmount();", "title": "" } ]
09d4e13050660f85b3761862c25376c3
required .GameZone gameZone = 7;
[ { "docid": "8788bc57150ba43e6e8b2bc1d0ac7c76", "score": "0.5296446", "text": "public boolean hasGameZone() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" } ]
[ { "docid": "5929c0b97c780756dab08ea64df55761", "score": "0.6413588", "text": "boolean hasGameZone();", "title": "" }, { "docid": "df3f666c95914ae8dcde85b87340ebf3", "score": "0.6098353", "text": "public void gameCreated();", "title": "" }, { "docid": "d8398b4db42efe5da3449ad4b30e3035", "score": "0.60493344", "text": "private Game() \n\t{\n\t}", "title": "" }, { "docid": "2fa0691e1e1cb3281d931f165966545d", "score": "0.60395145", "text": "public int getZone(){ return zone; }", "title": "" }, { "docid": "46279e9adc939efdd01175dcd6b97983", "score": "0.59901434", "text": "dab.DotsAndBoxes.GameState getDabGameState();", "title": "" }, { "docid": "46279e9adc939efdd01175dcd6b97983", "score": "0.59901434", "text": "dab.DotsAndBoxes.GameState getDabGameState();", "title": "" }, { "docid": "bb065bc947d5f977524fb2a80d5cb51d", "score": "0.5943971", "text": "public interface game {\n\n\n}", "title": "" }, { "docid": "5ccf259824c53b525755e3d92d8796fc", "score": "0.5940111", "text": "public E_Ground(int place, E_Player player)\n {\n this.player = player;\n Random rand = new Random();\n int heck = (int)(10*rand.nextFloat());\n System.out.println(\"Ground entity generated with rand: \" + heck);\n box = new Rectangle(\n place*(heck+600), \n Display.getHeight()+77, \n 500, \n 100);\n state = State.START;\n //this.speed = speed;\n }", "title": "" }, { "docid": "a246b60d5c4e83cedc9b56eb46ec87a4", "score": "0.5917511", "text": "public BackGround()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(288, 376, 1);\n \n player = new PlayerActor();\n addObject(player, 0, 0);\n player.setFoot(58,363);\n \n kong = new KongActor();\n addObject(kong,0,0);\n kong.setFoot(215,76);\n \n coin = new CoinActor();\n addObject(coin,0,0);\n coin.setFoot(140,27);\n \n gca = new GuysCounterActor();\n addObject(gca,0,0);\n gca.setFoot(20,20);\n \n //counter = 0;\n gameState = State.NAN;\n \n winlose = new WinLoseActor();\n \n splash = new SplashActor();\n addObject(splash,140,190);\n \n //Set spedd to 40%\n Greenfoot.setSpeed(40);\n //Auto Start the Game\n //Greenfoot.start();\n \n \n }", "title": "" }, { "docid": "3a161e50462b8102c21dad72be9504d0", "score": "0.59150684", "text": "public Game () {}", "title": "" }, { "docid": "29bdd54d7cc6399b339d67dc0b91b922", "score": "0.59118384", "text": "private void gameInit() {\n\t\tswitch (type) {\n\t\tcase \"GOFISH\":\n\t\t\tthis.deckMin = 2;\n\t\t\tthis.deckMax = 14;\n\t\t\tbreak;\n\t\tcase \"MEMORY\":\n\t\t\tthis.deckMin = 7;\n\t\t\tthis.deckMax = 14;\n\t\t\tbreak;\n\t\tcase \"WAR\":\n\t\t\tthis.deckMin = 2;\n\t\t\tthis.deckMax = 14;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\t//meh\n\t\t}\n\t}", "title": "" }, { "docid": "2ef0fe87a38bfadb64fef9c1879c14ca", "score": "0.5902223", "text": "public Game() {}", "title": "" }, { "docid": "2ef0fe87a38bfadb64fef9c1879c14ca", "score": "0.5902223", "text": "public Game() {}", "title": "" }, { "docid": "2c65659519287c0d1761feca195b042a", "score": "0.58999157", "text": "public Game()\n {\n }", "title": "" }, { "docid": "cab4b74cfecd4f63aa790f82f5138dbe", "score": "0.5829492", "text": "public Game(){}", "title": "" }, { "docid": "e36e16f8a93c7a952561efadc0b11a61", "score": "0.58272135", "text": "public Game( ) {}", "title": "" }, { "docid": "19704cc3fc5fc0ee8a0f96d92ec8c437", "score": "0.58019704", "text": "dab.DotsAndBoxes.GameTurn getDabGameTurn();", "title": "" }, { "docid": "20203aef1688b6d64357af9b7c0a5694", "score": "0.5777765", "text": "public KokgeeGame() {\n super(\"Kokgee\");\n }", "title": "" }, { "docid": "c2bdb1376f82b47112d92f3d71ceb8f4", "score": "0.5775025", "text": "public void gameStart();", "title": "" }, { "docid": "c3ffd9978553b99a7d6095499755b007", "score": "0.57719046", "text": "LeaderboardGame createLeaderboardGame();", "title": "" }, { "docid": "738e55d3b2e9d52b2e1634f8e86d27a5", "score": "0.57666886", "text": "IDragFantasyLeague newGame(Player p);", "title": "" }, { "docid": "0d894b6ce89bee799d28819b5234a6cb", "score": "0.5731225", "text": "public PDGame() {\r\n}", "title": "" }, { "docid": "fc316928cca9837ffcfe34a469ba7323", "score": "0.5699862", "text": "public Game() {\r\n\t}", "title": "" }, { "docid": "abea64f753a373497e17ac5eda89ecb9", "score": "0.5695433", "text": "Zone createZone();", "title": "" }, { "docid": "52c9a003e5c7e4ff49b7bba0e02312d2", "score": "0.5695043", "text": "void customGame();", "title": "" }, { "docid": "e0c14cca3339793e16890a44a2e7d526", "score": "0.569417", "text": "cc.changic.platform.etl.base.model.db.proto.GameZoneProto.GameZone getGameZone();", "title": "" }, { "docid": "ed034eb873bce51b8891ed152a2c71ee", "score": "0.5691428", "text": "private GameSystem()\n {\n }", "title": "" }, { "docid": "eeea3e355c1b5992794d60ab2459bc26", "score": "0.5679742", "text": "public Zone()\n\t{\n\t}", "title": "" }, { "docid": "d9ddd6dce1fad0048e2876726feb8f92", "score": "0.56573117", "text": "public void gameInitialized();", "title": "" }, { "docid": "d9980ff22c671d53dfcdfd3f60293879", "score": "0.5654045", "text": "public void setMyGame(SpaceGame game) {\n myGame = game;\n }", "title": "" }, { "docid": "ef03eca2ce3454e3699bb064392a7086", "score": "0.5651189", "text": "private GameLogic() {\r\n }", "title": "" }, { "docid": "4d80334327228464a411626262c96392", "score": "0.56373197", "text": "public void definePlayer() {\n BodyDef bdef = new BodyDef();\n bdef.position.set((lpooGame.WIDTH*6f+8*75)/lpooGame.PPM, (700*2f + 8*75) / lpooGame.PPM);\n //bdef.position.set(400 / lpooGame.PPM, (lpooGame.HEIGHT + 450) / lpooGame.PPM);\n\n bdef.type = BodyDef.BodyType.DynamicBody;\n body = world.createBody(bdef);\n\n FixtureDef fdef = new FixtureDef();\n PolygonShape cshape = new PolygonShape();\n cshape.setAsBox(18 / 2 * 2.5f / lpooGame.PPM, (40 / 2) * 2.5f / lpooGame.PPM);//(40/2) / lpooGame.PPM,(40/2)/lpooGame.PPM);\n\n fdef.shape = cshape;\n fdef.friction = 0.7f;\n body.createFixture(fdef).setUserData(\"player\");\n }", "title": "" }, { "docid": "c18d17f388c0b87f4dde65eb294bac99", "score": "0.56302255", "text": "public Game(){\r\n gameNum++;\r\n gid = gameNum; \r\n board.initialize();\r\n }", "title": "" }, { "docid": "cd2d6c312a541e73e5ecade645071983", "score": "0.5619886", "text": "dab.DotsAndBoxes.GameParameter getDabGameParameters();", "title": "" }, { "docid": "4e8ffeee391bdc2967d2f7fd0fe08c64", "score": "0.56165653", "text": "public GameTest()\r\n {\r\n }", "title": "" }, { "docid": "171b30f3234d70728962569e7e898b39", "score": "0.5609387", "text": "public interface GameConstants {\n\n public static int PLAYER1 = -1; // Indicate player 1\n public static int PLAYER2 = -2; // Indicate player 2\n public static int DRAW = -3; // Indicate a draw\n public static int CONTINUE = -4; // Indicate to continue\n public static int KICKED = -5;\n public static int SERVERFULL = -6;\n public static int PLAYERLEFTSESSION = -7;\n public static int MAPSIZE = 11;\n public static int OTHERPLAYERREADY = -8;\n public static int NOBOMB = -9;\n public static int OTHERPLAYERNOTREADY = -10;\n public static int PLAYERWON = -11;\n public static int PLAYERHIT = -12;\n public static int PLAYERLIVES = 2;\n public static boolean PLAYAUDIO = false;\n}", "title": "" }, { "docid": "9faab6d1fb44f5208be2d93d7c6d0f64", "score": "0.5604092", "text": "public void advanceGame(){board.newGame();}", "title": "" }, { "docid": "8f908b223b406613fbd2a534d3c433fa", "score": "0.5580514", "text": "public void startGame()\n {\n }", "title": "" }, { "docid": "528d8789e3da7a0f7ef9628bbaa65f76", "score": "0.5576824", "text": "public void gameTie();", "title": "" }, { "docid": "c1883b3b953892824fa409ea82593c20", "score": "0.5554034", "text": "cc.changic.platform.etl.base.model.db.proto.GameZoneProto.GameZoneOrBuilder getGameZoneOrBuilder();", "title": "" }, { "docid": "8839765b1779bd5a34e18a575d3f8016", "score": "0.55529827", "text": "public interface Game {\n\n /**\n * \n * @return the {@link Snake} object for this game controlled by the player\n */\n Snake getSnake();\n \n /**\n * \n * @return the current location of the apple being displayed on the screen\n */\n Apple getApple();\n \n /**\n * \n * @return the {@link Board} for this game\n */\n \n Board getBoard();\n \n\n \n /**\n * Get whether or not the game is running.\n * \n * @return true if the game is running, false otherwise\n */\n boolean isRunning();\n \n /**\n * Start or stop the game. If it's already in the passed state,\n * nothing happens.\n * \n * @param running the new state\n */\n void setRunning(boolean running);\n \n /**\n * pauses the game\n */\n void pauseGame();\n \n /**\n * unpauses the game\n */\n void resumeGame();\n \n /**\n * \n * @return state of paused\n */\n boolean isPaused();\n \n /**\n * \n * @param paused\n */\n void setPaused(boolean paused);\n \n}", "title": "" }, { "docid": "5f1702dd2536117ecc4e3e6691cffa84", "score": "0.55458504", "text": "public GamePlay()\n {\n // initialise instance variables\n Gue55ingGame = new GameCode();\n }", "title": "" }, { "docid": "61609b6727e9946e26fe9dd45e11ab3a", "score": "0.55409914", "text": "public void startGame() {}", "title": "" }, { "docid": "61609b6727e9946e26fe9dd45e11ab3a", "score": "0.55409914", "text": "public void startGame() {}", "title": "" }, { "docid": "f861f906f3597c738ae15e3f0fd25ab0", "score": "0.55325097", "text": "public Pos choosePos(Game game);", "title": "" }, { "docid": "31b4b309d8f8234bf1d71aeaeaf5fe6f", "score": "0.5525336", "text": "public GameBoard() {\n\ttotMines = 40;\n\tnewGame(MEDIUM, MEDIUM);\n }", "title": "" }, { "docid": "513111d141cb07a3534538ac42e2ab64", "score": "0.55240834", "text": "private GameInfo()\n {\n }", "title": "" }, { "docid": "246d9aeb330a1475a6c0b497a3e2891b", "score": "0.55181277", "text": "nim.Nim.GameState getNimGameState();", "title": "" }, { "docid": "246d9aeb330a1475a6c0b497a3e2891b", "score": "0.55181277", "text": "nim.Nim.GameState getNimGameState();", "title": "" }, { "docid": "fa04e91e9e0f9024412c15959d7ef652", "score": "0.55006355", "text": "abstract void CreatePhaserRectangle();", "title": "" }, { "docid": "50b3dbc3c6e1e18ee95e1a474ff60a6f", "score": "0.5482896", "text": "private GameEngine(){ }", "title": "" }, { "docid": "e42756f565831fa18eb955bd360691d9", "score": "0.5464616", "text": "SelectEffectSquare(int zone){\n this.zone=zone;\n }", "title": "" }, { "docid": "d0b5f61bd075e5a00007c75c49c7c02b", "score": "0.54643166", "text": "@Override\r\n\tpublic void enter(Game theGame) {\n\t}", "title": "" }, { "docid": "adc741d5c0029b9a009f736a2ff45e87", "score": "0.54593116", "text": "public GameLayer(){\n // Initialises the background layer\n super();\n }", "title": "" }, { "docid": "dbcbf2c58c823c81910562fa9054b00c", "score": "0.54480976", "text": "public void startGame();", "title": "" }, { "docid": "dbcbf2c58c823c81910562fa9054b00c", "score": "0.54480976", "text": "public void startGame();", "title": "" }, { "docid": "dbcbf2c58c823c81910562fa9054b00c", "score": "0.54480976", "text": "public void startGame();", "title": "" }, { "docid": "6f272190169ea9c053e0014350c2bba0", "score": "0.54193944", "text": "public int getGameClock() { \n return gameClock; }", "title": "" }, { "docid": "53bc2c8c32d4acabbd64ec2daeabb1ba", "score": "0.5409227", "text": "public Game() {\n steps = 0;\n board = new Map();\n pacManDirection = getPacManDirection();\n }", "title": "" }, { "docid": "f1131f96f295c4caebd53d3ef8825832", "score": "0.5404501", "text": "public void createSolidObj(GameWorld gameWorld){\n }", "title": "" }, { "docid": "25a4a2fac7cca7b449416015ebeb722e", "score": "0.5403973", "text": "public GameLogic() {\n mouse = new Vector3();\n board = new ChessBoard();\n }", "title": "" }, { "docid": "cb3132389d88dd7d01ae7b18d424cf43", "score": "0.5398757", "text": "GameController(GameFrame game) {\n this.game = game;\n }", "title": "" }, { "docid": "378c72177b57e82ebf7bac0ba41e9460", "score": "0.5389382", "text": "public RockObstacle(World world) {\n super(world);\n\n name = \"rock\";\n spawnFreq = 1;\n spawnPeriod = 0000000000;\n spawnMax = 2;\n velocityX = 0;\n velocityY = -1.5f;\n shapeHX = 8;\n shapeHY = 8;\n }", "title": "" }, { "docid": "10834d69a60c689c8f7bbb2a66c11543", "score": "0.5386591", "text": "public RefuelTest() \n {\n flea = Spacecraft.FLEA;\n ship = new Spaceship(flea);\n }", "title": "" }, { "docid": "02941638033f4adaa2328c1dae5ea25a", "score": "0.5382225", "text": "public abstract void initGame();", "title": "" }, { "docid": "6aff8858ceb3c4ad940f3929f7e892fa", "score": "0.5375404", "text": "public Graveyard() {\n\t}", "title": "" }, { "docid": "20cca60e474bb000b3cc3259029b5890", "score": "0.5368667", "text": "GameInformation playRound();", "title": "" }, { "docid": "840965201d1d9692438256f94883bc1c", "score": "0.53663284", "text": "Player() {}", "title": "" }, { "docid": "de9a32db9b27dba2005c2985f224360f", "score": "0.535448", "text": "PokemonWorld createPokemonWorld();", "title": "" }, { "docid": "161f8d42e4b8cce98fc88631a3f4fd3c", "score": "0.5351828", "text": "public interface Game extends NamedObject\n{\n /**\n * @return adjudicator\n */\n Adjudicator getAdjudicator();\n\n /**\n * @return agents\n */\n List<Agent> getAgents();\n\n /**\n * @return description\n */\n String getDescription();\n\n /**\n * @return engine\n */\n Engine getEngine();\n\n /**\n * @return environment\n */\n Environment getEnvironment();\n\n /**\n * @return teams (immutable)\n */\n List<Team> getTeams();\n\n /**\n * Start the game.\n */\n void start();\n}", "title": "" }, { "docid": "dd1bcb71da2a15c08346fa27ace5ca39", "score": "0.53516114", "text": "public LevelOne(Game game) {\n super(game);\n\n // making the ground\n Shape shape = new BoxShape(8, 0.5f);\n StaticBody ground = new StaticBody(this, shape);\n ground.setPosition(new Vec2(0, -10));\n\n // making the platforms\n Shape shape1 = new BoxShape(3, 0.5f);\n StaticBody platform1 = new StaticBody(this, shape1);\n platform1.setPosition(new Vec2(-9, -5));\n\n Shape shape1_1 = new BoxShape(3, 0.5f);\n StaticBody platform1_1 = new StaticBody(this, shape1_1);\n platform1_1.setPosition(new Vec2(11, -5));\n\n Shape shape2 = new BoxShape(5, 0.5f);\n StaticBody top_platform = new StaticBody(this, shape2);\n top_platform.setPosition(new Vec2(1, 0));\n\n }", "title": "" }, { "docid": "1bcc8158b4008bb4d471031ed464822b", "score": "0.5349929", "text": "@Override\n\tpublic void gameSetup()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "27b167c07a7d5bf1c835961bf2f6d716", "score": "0.53464943", "text": "public interface IGameMapGenerator {\n\n}", "title": "" }, { "docid": "407cca8d4b29299e3e9bb29047f8aca5", "score": "0.5346052", "text": "public void play(GameController game){\n }", "title": "" }, { "docid": "4aab4c497f08d72df92f5720593e5615", "score": "0.53397125", "text": "void startGame();", "title": "" }, { "docid": "e78e9ece4af2e4b26b5e0e4d94baf6b1", "score": "0.5339503", "text": "@Override\n \tpublic void onEntry(Game game) {\t\n \t}", "title": "" }, { "docid": "5af4c724310580597bb0fdbe4fe1fa13", "score": "0.53377", "text": "public Object getGame();", "title": "" }, { "docid": "a16034929f14fa73e8320ba823efe678", "score": "0.53368473", "text": "public Game()\n {\n newGame();\n \n }", "title": "" }, { "docid": "3a5923d9bd096766f13d587eaf9db23c", "score": "0.5332787", "text": "public void update(PacMan game);", "title": "" }, { "docid": "646e0d94369db8fd22e8904978be90bb", "score": "0.53302723", "text": "public ruleOfGame() {\r\n\t\tvet = null;\r\n\t\tl = 0;\r\n\t}", "title": "" }, { "docid": "b84ee7cf06c1b137446efca9be733892", "score": "0.5329415", "text": "public Zone() {\n super();\n }", "title": "" }, { "docid": "0cff917120cff3ecb1999e66b40ac61f", "score": "0.53265554", "text": "public void newgame () {\n\treturn;\n}", "title": "" }, { "docid": "54e9faf0350a2dbbf8a745fa780488cb", "score": "0.5326065", "text": "public void activate(Game game);", "title": "" }, { "docid": "63b99e624b8e8e342d33573d7159440b", "score": "0.5322295", "text": "public MyWorld()\n { \n super(600, 600, 1); \n prespawnVac();\n prespawnPer();\n prespawnVir();\n reset();\n \n }", "title": "" }, { "docid": "94f0bafc116e395289c9579500bc9a14", "score": "0.5319541", "text": "public boolean hasGameZone() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" }, { "docid": "f04ede0718492cdfc0bb257b05f5ba8b", "score": "0.5313336", "text": "protected void gameInit() {\n\t}", "title": "" }, { "docid": "478f9195cfa87c0e51baa7998ce25f7f", "score": "0.5307286", "text": "@Override\n\tpublic void startGame() {\n\t}", "title": "" }, { "docid": "a6cdd0f2f566cfff8bb0ac462c034f75", "score": "0.530703", "text": "public void addGame(Game g);", "title": "" }, { "docid": "f7ef34117bd0cb5031f673ab353c8484", "score": "0.52984583", "text": "public Game(){\n\t\n\t\tJapanese castleJap = new Japanese(250.0, 10, 500.0, \"Mushroom Kingdom\", 3);\n\t\tSamurai samu1 = new Samurai(35.0, 15.0, 10.0, 20.0, \"S1\");\n\t\n\t\tEuropean castleEur = new European(150.0, 20, 600.0, \"Mount Olympus\", 3);\n\t\tpala1 = new Paladin(35.0, 15.0, 10.0, 20.0, \"P1\");\n\t\n\t\tboard = new Map(size);\n\t\t\n\t\tboard.addElement(0, 0, castleJap);\n\t\tboard.addElement(1, 0, samu1);\n\t\t\n\t\tboard.addElement(4, 4, castleEur);\n\t\tboard.addElement(3, 4, pala1);\n\t\n\t}", "title": "" }, { "docid": "5910d99d50d7c67e1f7e15f594e723bf", "score": "0.52972347", "text": "public UseTool(Game181H game) {\n this.game=game;\n }", "title": "" }, { "docid": "164b20659049b919a75293eb5d323a68", "score": "0.5296882", "text": "public interface BowlingGame {\n int MAX_PINS = 10;\n int MAX_ROUNDS = 10;\n\n void toss(int pins);\n\n int getTotalScore();\n\n int getTotalScore(int round);\n\n Round getCurrentRound();\n\n List<Round> getRounds();\n\n boolean isFinished();\n}", "title": "" }, { "docid": "3c679e88272249c98a71ecb21ffc2386", "score": "0.5293732", "text": "public RealGame() {\n super();\n Printer.CONSOLE_PRINTER.printMessage(\"gameMode\");\n }", "title": "" }, { "docid": "060d7caccdcabff3f64a66dff6a0452b", "score": "0.5287478", "text": "void gameWon();", "title": "" }, { "docid": "f8a47672421e24f72b0bd20b9bfc436e", "score": "0.52786887", "text": "private Player()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1664b6a9c9b1d4b2f93a4dd3470e0911", "score": "0.5276334", "text": "public GameClass () {\n\n initGame();\n }", "title": "" }, { "docid": "b5796aea0c0b681a74ea5ffc39751d43", "score": "0.52719873", "text": "ScoreBoard() {\r\n\t}", "title": "" }, { "docid": "4ea70c75eb13d3fb00a68647626e89a0", "score": "0.52709603", "text": "public AIPlayer(Game game) {\n this.game = game;\n }", "title": "" }, { "docid": "32873b904c3b7cdc619ad2fb92058d45", "score": "0.5270239", "text": "public Game() {\r\n\t\tstatus = 6;\r\n\t\tstock = Stock.instance();\r\n\t\ttable = Table.instance();\r\n\t\tpc = new Player(\"Computer\", stock, table);\r\n\t}", "title": "" }, { "docid": "361e2b2dd18ac4391c4902dd8711f3d8", "score": "0.5269497", "text": "private void addDeathZone() {\n // gets borders of gui\n double width = runner.getGui().getDrawSurface().getWidth();\n double height = runner.getGui().getDrawSurface().getHeight();\n Rectangle shape = new Rectangle(new Point(BORDER_THICKNESS, height),\n width - 2 * BORDER_THICKNESS, BORDER_THICKNESS);\n Block death = new Block(shape, Color.GRAY);\n // create Hit Listener for balls\n HitListener ballRemover = new BallRemover(this, ballCounter);\n death.addHitListener(ballRemover);\n death.addToGame(this);\n }", "title": "" }, { "docid": "148a53da47a00d07a5a4cb5d09fc13db", "score": "0.5264767", "text": "public void gameUpdate();", "title": "" } ]
a805e80017fc7f70f26a9ae3be9cec3d
How many genes does the variant partially overlap?
[ { "docid": "1912afcb6d4ab19b7872c5a42c81b41f", "score": "0.0", "text": "public VariantEffectStructural(Variant variant) {\n\t\tthis(variant, null);\n\t}", "title": "" } ]
[ { "docid": "d526cde60a758daf4a34b0d41b5a68ae", "score": "0.63458127", "text": "public int size() {\n\t\treturn genes.length;\n\t}", "title": "" }, { "docid": "dfc2b65df3859b60d1ccbe40159eb7d8", "score": "0.6232777", "text": "public int size() {\n return variants.size();\n }", "title": "" }, { "docid": "46854b513ab888b751fcf14dd27b0956", "score": "0.6025448", "text": "public void calculateGenotypeSize() {\r\n\t\tint size = 0;\r\n\t\tfor (NodeECGP node : nodes) {\r\n\t\t\t// for the function gene\r\n\t\t\tsize += 1;\r\n\t\t\t// for input genes\r\n\t\t\tsize += node.getInput().size();\r\n\t\t}\r\n\t\tsize += outputAmount;\r\n\t\tthis.genotypeSize = size;\r\n\t}", "title": "" }, { "docid": "d182571975c791982ca28366aea6c5fd", "score": "0.5921452", "text": "int fitness() {\r\n int sum = 0;\r\n for (int i = 0; i < genotype.length; i++) {\r\n if (genotype[i])\r\n sum++;\r\n }\r\n return sum;\r\n }", "title": "" }, { "docid": "221ff1ef45d528c69b33183c14ff3249", "score": "0.5886545", "text": "public int getNumGenes() {\n return new Double( rawGeneMultifunctionalityRanks.size() ).intValue();\n }", "title": "" }, { "docid": "845d31e2b73118ee396a2804f6c20fca", "score": "0.58822984", "text": "public static int getNumGenes() {\t\t\t\t\t\n\t\treturn numGenes;\n\t}", "title": "" }, { "docid": "3279953bae631f40ef93c32798976670", "score": "0.5850994", "text": "public int numVerts() { \r\n\t\t int res = size;\r\n\t\t /*\r\n\t\t LinkedList<Integer> vertices = new LinkedList<Integer>();\r\n\t\t \r\n\t\t for(int i=0; i<size; i++) {\r\n\t\t\t if(og[i].size()>0) {\r\n\t\t\t\t vertices.add(i);\r\n\t\t\t }\r\n\t\t }\r\n\t\t if(directed==true) {\r\n\t\t\t for(int i=0; i<size; i++) {\r\n\t\t\t\t for(int j=0; j<og[i].size(); i++) {\r\n\t\t\t\t\t if(og[i].get(j).getWeight()>0) {\r\n\t\t\t\t\t\t int vertex = og[i].get(j).getVertex();\r\n\t\t\t\t\t\t if(vertices.contains(vertex)==false) {\r\n\t\t\t\t\t\t\t vertices.add(vertex);\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\t \r\n\t\t res = vertices.size();\r\n\t\t */\r\n\t\t \r\n\t\t return res;\r\n }", "title": "" }, { "docid": "374b5668469a3b5a8370f3b734b97add", "score": "0.5818603", "text": "private static int cntgloves(int[] arr, int n) {\n\t int count = 0; \n\t \n\t // Sort the original array \n\t Arrays.sort(arr); \n\t \n\t for (int i = 0; i < n - 1;) \n\t { \n\t \n\t // A valid pair is found \n\t if (arr[i] == arr[i + 1]) \n\t { \n\t count++; \n\t \n\t // Skip the elements of the current pair \n\t i = i + 2; \n\t } \n\t \n\t // Current elements doesn't make \n\t // a valid pair with any other element \n\t else\n\t { \n\t i++; \n\t } \n\t } \n\t return count; \n\t}", "title": "" }, { "docid": "758504dab831d775a5457b1136a681c3", "score": "0.5806602", "text": "int getCommonCount();", "title": "" }, { "docid": "11aa5fcaffbb2cee511c5a4f46d2d139", "score": "0.5803653", "text": "private int countComponents() {\n return Iterators.size(ds.orbitReps(new IndexList(ds)));\n }", "title": "" }, { "docid": "c13b32cd9de8e4b14986652a3c58f9a2", "score": "0.5732592", "text": "public int countTargetGFSCustUnit();", "title": "" }, { "docid": "87f13cb279ad02385a7d68e93cc70dbd", "score": "0.57106227", "text": "int getNegotiationsCount();", "title": "" }, { "docid": "d5a95b6ea170819c8153cf9e8d36367d", "score": "0.5688017", "text": "private static boolean noDupes(int[] g) {\n \tHashSet<String> hash;\n\t\thash = new HashSet<String>();\n\t\tfor (int i=0; i<g.length; i+=2) {\n\t\t\thash.add(CipherGene.getWordForGene(g[i]));\n\t\t}\n\t\treturn hash.size() == g.length / 2;\n }", "title": "" }, { "docid": "feaacf0606ca4f5c30fe98e47617710d", "score": "0.5674969", "text": "int getNumVertices();", "title": "" }, { "docid": "092d14cda8f8a4497a69afd8b0e52131", "score": "0.5660672", "text": "java.math.BigInteger getVideostreamcount();", "title": "" }, { "docid": "e9f6891cf0a9161131f53970c369f150", "score": "0.5618405", "text": "private void compareNonOntologizedGS() throws SQLException {\n\n\t\tSet<String> fields = Fieldgsnotontology.keySet();\n\t\tHashtable<String,Hashtable<String,String>> field_states = new Hashtable<String,Hashtable<String,String>>();\n\t\tHashtable<String,String> gsstates;\n\t\tHashtable<String,String> cpstates;\n\t\tHashtable<String,Float> count = new Hashtable<String,Float>();\n\n\t\tfor(String field:fields)\n\t\t{\n\t\t\tgsstates = new Hashtable<String,String>();\n\t\t\tcpstates = new Hashtable<String,String>();\n\t\t\tgetNonOntologizedvaluefromdb(field,Fieldgsnotontology.get(field),gsstates,cpstates,count);\n\t\t\tcompareNonOntologized(field,gsstates,cpstates,count);\n\t\t}\n\n\t\tfor(String field:fields)\n\t\t{\n\t\t\tSystem.out.println(count.get(\"gs\"+field));\n\t\t\tSystem.out.println(count.get(\"cp\"+field));\n\t\t\tSystem.out.println(count.get(\"gsmatched\"+field));\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "ff0ebc607bb1a98ef66ccea34cc9c46f", "score": "0.5566555", "text": "int getNormalizedBoundingBoxesCount();", "title": "" }, { "docid": "149f452abcf4f2b8c871d8f851aa030a", "score": "0.55497694", "text": "int getRangesCount();", "title": "" }, { "docid": "149f452abcf4f2b8c871d8f851aa030a", "score": "0.55497694", "text": "int getRangesCount();", "title": "" }, { "docid": "f6e791c604f73082ca9afe950b2e02b5", "score": "0.55455875", "text": "public Integer componentsCount();", "title": "" }, { "docid": "87daeed16f8555ec1ac132e9d10af359", "score": "0.5479555", "text": "public int getNbSimultaneousGPUMorph() {\n return nbSimultaneousGPUMorph;\n }", "title": "" }, { "docid": "aa4d7f65d75481a67dd691ce5b9890c0", "score": "0.5474188", "text": "long getNumDVs();", "title": "" }, { "docid": "8b262769631566ddfdc1cd314984df39", "score": "0.5471597", "text": "long populationSize();", "title": "" }, { "docid": "bf6b91798f01f31e3826946ec0882d0e", "score": "0.547081", "text": "public int getGenresSize() {\n return lesGenres.size();\n }", "title": "" }, { "docid": "b8853f183013ebb215935fb7a79179ac", "score": "0.54396147", "text": "public int countIdenticalBits(EvBinaryVectorIndividual individual) {\r\n if (individual.getDimension() != getDimension()) {\r\n throw new IllegalStateException(\"Number of bits must be the same\");\r\n } else {\r\n int counter = 0;\r\n for (int i = 0; i < getDimension(); i++) {\r\n if (individual.getGene(i) == getGene(i)) {\r\n counter++;\r\n }\r\n }\r\n return counter;\r\n }\r\n }", "title": "" }, { "docid": "bfe48ec2a9db4455fe204e9f383760d7", "score": "0.54252243", "text": "private static int numberOfComponents() {\n boolean[] visited = new boolean[adj.length];\n int count = 0;\n for (int v = 0; v < visited.length; v++)\n if (!visited[v]) {\n DFS(v, visited);\n count++;\n }\n return count;\n }", "title": "" }, { "docid": "ed8b6d961f584bd34e07cab60e5e1286", "score": "0.5424981", "text": "public void printCTGandlongGene() {\n FileResource fr = new FileResource();\n String dna = fr.asString();\n StorageResource sr = new StorageResource();\n sr = storeAll(dna);\n int countGene = 0;\n int countCG = 0;\n \n for (String gene : sr.data()) {\n if (gene.length() > 60) {\n System.out.println(gene.length() + \"\\t\" + gene);\n countGene += 1;\n }\n }\n for (String gene : sr.data()) {\n if (cgRatio(gene) > 0.35) {\n \n countCG += 1;\n }\n }\n System.out.println(\"# of strings that are longer than 60 characters: \" + countGene);\n System.out.println(\"# of strings whose C-G-ratio is higher than 0.35: \" + countCG);\n System.out.println(\"# of times CTG appears in a strand of DNA: \" + CTGnum(dna));\n }", "title": "" }, { "docid": "dfff20f515262646f5fcfaeb69e4485e", "score": "0.54101557", "text": "public int getSize(){ //inefficient, i should consider speeding this up\n return ngram.size();\n }", "title": "" }, { "docid": "0d1fa8889489394dbbc2d656d4ae498e", "score": "0.53860646", "text": "public int getAvailableGenies() {\n return getMaxNumberOfGenies() - getRubs();\n }", "title": "" }, { "docid": "cc89b25d6d15d6bc1f3cfc036b01d70b", "score": "0.53828686", "text": "public int calculateDisconnectedOffices() {\n\tint i = 0;\n\tint j = 0;\n\tint total = 0;\n\tint[] sizeComp = new int[nComponents];\n\tif (nComponents != 1) {\n\t while (j < nComponents && i < vertices.length) {\n\t \tif (vertices[i].id == (i + 1)) {\n\t \t sizeComp[j] = vertices[i].numSons;\n\t \t j += 1;\n\t \t}\n\t\ti += 1;\n\t }\n\t\t\n\t for (i = 0; i < nComponents; i++) {\n\t\tfor (j = 0; j < nComponents; j++) {\n\t\t if (i != j) {\n\t\t\ttotal += sizeComp[i] * sizeComp[j];\n\t\t }\n\t\t}\n\t }\n\t}\n\treturn (total/2);\n }", "title": "" }, { "docid": "431c60ba6a59c69b79c49c4fcfd3a651", "score": "0.5363991", "text": "public int sizeOfComponent(int pVertex)\n { return unionFinder.size(pVertex); }", "title": "" }, { "docid": "388d65c01ba7a16a114bde347aff824c", "score": "0.5342628", "text": "public int getGasCount()\n\t{\n\t\treturn gasList.size();\n\t}", "title": "" }, { "docid": "5c91192d8bada27f97db1d394e781bfa", "score": "0.5341759", "text": "long getVertexCount();", "title": "" }, { "docid": "bed80a8aaaa259dffdd911acefe234f6", "score": "0.5339237", "text": "public int size() { return asg.size(); }", "title": "" }, { "docid": "1d851f452e5c582b85136489f86a1b98", "score": "0.53302157", "text": "private int getNumberOfVertices() {\n\t\t// int count=0;\n\t\t// for (int i = 0; i < particlePoints.length; i++) {\n\t\t// if(particlePoints[i]==1)\n\t\t// {\n\t\t// count++;\n\t\t// }\n\t\t// }\n\t\tif (polygonVertices != null)\n\t\t\treturn polygonVertices.size();\n\t\telse\n\t\t\treturn 0;\n\n\t}", "title": "" }, { "docid": "66b089f863377b055a2825ad311c6716", "score": "0.5319886", "text": "public interface CompatibilityDistanceCalculator {\n\n default public Integer disjointGeneCount(Genome g1, Genome g2) {\n\n int counter = 0;\n\n // For nodes\n // Figure out the iV of them both\n int g1HighestInnovation = 0;\n int g2HighestInnovation = 0;\n for (NodeGene node : g1.getNodeGenes().values()) {\n if (node.getInnovationNumber() > g1HighestInnovation) {\n g1HighestInnovation = node.getInnovationNumber();\n }\n }\n for (NodeGene node : g2.getNodeGenes().values()) {\n if (node.getInnovationNumber() > g2HighestInnovation) {\n g2HighestInnovation = node.getInnovationNumber();\n }\n }\n\n // Take the largest\n int loopUpTo = g1HighestInnovation > g2HighestInnovation ? g1HighestInnovation : g2HighestInnovation;\n // Count to the highest one of the two\n for (int i = 0; i <= loopUpTo; i++) {\n // Check if disjoint\n if (g1.getNodeGenes().get(i) != null && g2.getNodeGenes().get(i) == null) {\n if (i < g2HighestInnovation) {\n counter++;\n }\n } else if (g1.getNodeGenes().get(i) == null && g2.getNodeGenes().get(i) != null) {\n if (i < g1HighestInnovation) {\n counter++;\n }\n }\n }\n\n // For connections\n // Figure out the iV of them both\n g1HighestInnovation = 0;\n g2HighestInnovation = 0;\n for (ConnectionGene con : g1.getConnectionGenes().values()) {\n if (con.getInnovationNumber() > g1HighestInnovation) {\n g1HighestInnovation = con.getInnovationNumber();\n }\n }\n for (ConnectionGene con : g2.getConnectionGenes().values()) {\n if (con.getInnovationNumber() > g2HighestInnovation) {\n g2HighestInnovation = con.getInnovationNumber();\n }\n }\n // Take the largest\n loopUpTo = g1HighestInnovation > g2HighestInnovation ? g1HighestInnovation : g2HighestInnovation;\n // Count to the highest one of the two\n for (int i = 0; i <= loopUpTo; i++) {\n // Check if disjoint\n if (g1.getConnectionGenes().get(i) != null && g2.getConnectionGenes().get(i) == null) {\n if (i < g2HighestInnovation) {\n counter++;\n }\n } else if (g1.getConnectionGenes().get(i) == null && g2.getConnectionGenes().get(i) != null) {\n if (i < g1HighestInnovation) {\n counter++;\n }\n }\n }\n\n return counter;\n }\n\n default public Integer excessGeneCount(Genome g1, Genome g2) {\n\n int counter = 0;\n\n // For nodes\n // Figure out the iV of them both\n int g1HighestInnovation = 0;\n int g2HighestInnovation = 0;\n for (NodeGene node : g1.getNodeGenes().values()) {\n if (node.getInnovationNumber() > g1HighestInnovation) {\n g1HighestInnovation = node.getInnovationNumber();\n }\n }\n for (NodeGene node : g2.getNodeGenes().values()) {\n if (node.getInnovationNumber() > g2HighestInnovation) {\n g2HighestInnovation = node.getInnovationNumber();\n }\n }\n // Take the largest\n int loopUpTo = g1HighestInnovation > g2HighestInnovation ? g1HighestInnovation : g2HighestInnovation;\n // Count to the highest one of the two\n for (int i = 0; i <= loopUpTo; i++) {\n // Check if excess\n if (g1.getNodeGenes().get(i) != null && g2.getNodeGenes().get(i) == null) {\n if (i > g2HighestInnovation) {\n counter++;\n }\n } else if (g1.getNodeGenes().get(i) == null && g2.getNodeGenes().get(i) != null) {\n if (i > g1HighestInnovation) {\n counter++;\n }\n }\n }\n\n // For connections\n // Figure out the iV of them both\n g1HighestInnovation = 0;\n g2HighestInnovation = 0;\n for (ConnectionGene con : g1.getConnectionGenes().values()) {\n if (con.getInnovationNumber() > g1HighestInnovation) {\n g1HighestInnovation = con.getInnovationNumber();\n }\n }\n for (ConnectionGene con : g2.getConnectionGenes().values()) {\n if (con.getInnovationNumber() > g2HighestInnovation) {\n g2HighestInnovation = con.getInnovationNumber();\n }\n }\n // Take the largest\n loopUpTo = g1HighestInnovation > g2HighestInnovation ? g1HighestInnovation : g2HighestInnovation;\n // Count to the highest one of the two\n for (int i = 0; i <= loopUpTo; i++) {\n // Check if excess\n if (g1.getConnectionGenes().get(i) != null && g2.getConnectionGenes().get(i) == null) {\n if (i > g2HighestInnovation) {\n counter++;\n }\n } else if (g1.getConnectionGenes().get(i) == null && g2.getConnectionGenes().get(i) != null) {\n if (i > g1HighestInnovation) {\n counter++;\n }\n }\n }\n\n return counter;\n }\n\n default public Integer matchingGeneCount(Genome g1, Genome g2) {\n\n int counter = 0;\n\n // For connections\n // Figure out the iV of them both\n int g1HighestInnovation = 0;\n int g2HighestInnovation = 0;\n for (ConnectionGene con : g1.getConnectionGenes().values()) {\n if (con.getInnovationNumber() > g1HighestInnovation) {\n g1HighestInnovation = con.getInnovationNumber();\n }\n }\n for (ConnectionGene con : g2.getConnectionGenes().values()) {\n if (con.getInnovationNumber() > g2HighestInnovation) {\n g2HighestInnovation = con.getInnovationNumber();\n }\n }\n // Take the smallest\n int loopUpTo = g1HighestInnovation < g2HighestInnovation ? g1HighestInnovation : g2HighestInnovation;\n // Count to the lowest one of the two\n for (int i = 0; i <= loopUpTo; i++) {\n // Check if matching\n if (g1.getConnectionGenes().get(i) != null && g2.getConnectionGenes().get(i) != null) {\n counter++;\n }\n }\n\n return counter;\n }\n\n default public float averageWeightDifference(Genome g1, Genome g2) {\n\n float weightDifference = 0;\n\n // For connections\n // Figure out the iV of them both\n int g1HighestInnovation = 0;\n int g2HighestInnovation = 0;\n for (ConnectionGene con : g1.getConnectionGenes().values()) {\n if (con.getInnovationNumber() > g1HighestInnovation) {\n g1HighestInnovation = con.getInnovationNumber();\n }\n }\n for (ConnectionGene con : g2.getConnectionGenes().values()) {\n if (con.getInnovationNumber() > g2HighestInnovation) {\n g2HighestInnovation = con.getInnovationNumber();\n }\n }\n // Take the smallest\n int loopUpTo = g1HighestInnovation < g2HighestInnovation ? g1HighestInnovation : g2HighestInnovation;\n // Count to the lowest one of the two\n for (int i = 0; i <= loopUpTo; i++) {\n // Check if matching\n if (g1.getConnectionGenes().get(i) != null && g2.getConnectionGenes().get(i) != null) {\n weightDifference = weightDifference + Math.abs(g1.getConnectionGenes().get(i).getWeight() - g2.getConnectionGenes().get(i).getWeight());\n }\n }\n\n return weightDifference / matchingGeneCount(g1, g2);\n }\n\n default public Integer genomeSize(Genome g) {\n return 1;\n }\n\n}", "title": "" }, { "docid": "d820d1bb0e4e99061a5241936f3ec208", "score": "0.5315169", "text": "int getVertexCount();", "title": "" }, { "docid": "18e19098782dc3c18ebf15c191a0bc43", "score": "0.53134006", "text": "public Pair<Integer,Integer> get_inclusive_and_exclusive_count(Gene gene,Region exon,List<ReadPair> reads, Annotation annotationGTF ) {\n\t\t//System.out.println(\"Calculating inclusive and exclusive count....\");\n\t\tList<String> foundIn = new ArrayList<String>();\n\t\tList<String> foundEx = new ArrayList<String>();\n\n\t\t \n\t\tList<String> toDelete = new ArrayList<String>();\n\n\t\tint n_inc = 0; \n\t\tint n_exc=0;\n\t\t//----- Differentiate transcripts\n\t\tList<Transcript> inclusive = new ArrayList<Transcript>();\n\t\tList<Transcript> exclusive = new ArrayList<Transcript>();\n\t\tfor(Transcript transcript : gene.getTranscripts().values()) {\t\t\t\n\t\t\t//differentiate between \"INCLUSIVE\" transcripts and \"EXCLUSIVE\" transcripts\n\t\t\tif(transcript.getRegionVectorExons().contains(exon)) {\n\t\t\t\tinclusive.add(transcript);\n\t\t\t\t//System.out.println(\"INCLUSIVE\");\n\t\t\t\t//System.out.println(Utilities.prettyRegionVector(transcript.getRegionVectorExons()));\n\t\t\t}else {\n\t\t\t\texclusive.add(transcript);\n\t\t\t\t//System.out.println(\"EXCLUSIVE\");\n\t\t\t\t//System.out.println(Utilities.prettyRegionVector(transcript.getRegionVectorExons()));\n\n\t\t\t}\n\t\t}\n\n\t\t\n\t\t//ONLY PICK RELEVANT READS\n\t\tList<ReadPair> relevantReads = new ArrayList<ReadPair>();\n\t\tfor (ReadPair rp : reads) {\n\t\t\tif(!may_be_relevant(rp.getFw(),rp.getRw(),gene)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\trelevantReads.add(rp);\n\t\t\t}\t\n\t\t}\n\t\t\n\t\n\t\t\n//--------------------------------\n\t\tSet<String> incReads = new HashSet<String>();\n\t\tint isInclusive = 0;\n\t\tfor(Transcript t_i : inclusive) {\n\t\t\tfor (ReadPair rp : relevantReads) {\n\t\t\t\tint iter =0;\n\t\t\t\tint i= 0 ;\n\t\t\t\tSAMRecord tmpRead = null;\n\t\t\t\titerRead: while(iter<2) {\n\t\t\t\t\t//select right read of pair\n\t\t\t\t\tSAMRecord read;\n\t\t\t\t\tif(iter == 0) {read=rp.getFw();} else {read=rp.getRw();} iter++;\n\t\t\t\t\tif(can_come_from_transcript(read,t_i)) {\n\t\t\t\t\t\ti++;\n\t\t\t\t\t\n\t\t\t\t \n\t\t\t\t\t}\n//\t\t\t\t\tif(read.getReadName().equals(prova)) {\n//\t\t\t\t\t\tSystem.out.println(\"READ\");\n//\t\t\t\t\t\tUtilities.printRead(read);\n//\t\t\t\t\t}\n\t\t\t\t\tif(!t_i.getRegionVectorExons().isTranscriptomic(getExons(read))){\n\t\t\t\t\t\t// READ IS NOT TRANSCRIPTOMIC TO TRANSCRIPT \n\t\t\t\t\t\t//toDelete.add(read.getReadName());\n\t\t\t\t\t\tbreak iterRead;\n\t\t\t\t\t}\n\t\t\t\t\t//IF BOTH Reads can come from transcript and one actually overlaps the exon\n\t\t\t\t\n\t\t\t\t\tif(i==2) {\n\t\t\t\t\t\tRegionVector read_rv = getExons(read);\n\t\t\t\t\t\tRegionVector read_rv_tmp = getExons(tmpRead);\n\t\t\t\t\t\tRegionVector exon_rv = new RegionVector();\n\t\t\t\t\t\texon_rv.getVector().add(exon);\n\t\t\t\t\t\tif(read_rv.overlap(exon_rv) || read_rv_tmp.overlap(exon_rv)) {\n\t\t\t\t\t\t\tisInclusive ++ ; \n\t\t\t\t\t\t\tincReads.add(read.getReadName());\n\t\t\t\t\t\t\tcontinue; \n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor(Transcript t: exclusive) {\n\t\t\t\t\t\t\tRegion hola = new Region(Integer.min(read.getAlignmentStart(), tmpRead.getAlignmentStart()), Integer.max(read.getAlignmentEnd(), tmpRead.getAlignmentEnd()));\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(hola.contains(exon)) {\n\t\t\t\t\t\t\tif(!can_come_from_transcript(read,t) ||!can_come_from_transcript(tmpRead,t) ) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tincReads.add(read.getReadName());\n\t\t\t\t\t\t\t\t//System.out.println(\"HOlA \"+ read.getReadName());\n\t\t\t\t\t\t\t\t//Utilities.printRead(read);\n\t\t\t\t\t\t\t\t//toDelete.add(read.getReadName());\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\ttmpRead = read; \n\t\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t//System.out.println(t_i.getId() +\" has inclusive reads number \"+incReads.size());\n\t\t}\n\t\t\n\t\t\n\t//----------------------------------\n\t\t\n\t\tSet<String> excReads = new HashSet<String>();\n\t\tint isExclusive = isInclusive;\n\t\tfor(Transcript t_i : exclusive) {\n\t\t\tfor (ReadPair rp : relevantReads) {\n\t\t\t\tint iter =0;\n\t\t\t\tint i= 0 ; \n\t\t\t\tSAMRecord tmpRead = null; \n\t\t\t\titerRead: while(iter<2) {\n\t\t\t\t\t//select right read of pair\n\t\t\t\t\tSAMRecord read;\n\t\t\t\t\tif(iter == 0) {read=rp.getFw();} else {read=rp.getRw();} iter++;\n\t\t\t\t\tif(can_come_from_transcript(read,t_i)) {\n\t\t\t\t\t\ti++;\n\t\t\t\t\t\t\n//\t\t\t\t\t\tif(read.getReadName().equals(prova)) {\n//\t\t\t\t\t\t\tSystem.out.println(\"can come from exclusive\");\n//\t\t\t\t\t\t}\n\t\t\t\t }\n\t\t\t\t\t//maybe cancel\n//\t\t\t\t\tRegionVector exPlusExon = new RegionVector();\n//\t\t\t\t\texPlusExon.getVector().addAll(t_i.getRegionVectorExons().getVector());\n//\t\t\t\t\texPlusExon.getVector().add(exon);\n//\t\t\t\t\texPlusExon.getVector().sort(null);\n//\t\t\t\t\tif(read.getReadName().equals(prova)) {\n//\t\t\t\t\t\tSystem.out.println(Utilities.prettyRegionVector(exPlusExon));\n//\t\t\t\t\t}\n//\t\t\t\t\t\n//\t\t\t\t\tif(!exPlusExon.isTranscriptomic(getExons(read))){\n//\t\t\t\t\t\t// READ IS NOT TRANSCRIPTOMIC TO TRANSCRIPT \n//\t\t\t\t\t\t//toDelete.add(read.getReadName());\n//\t\t\t\t\t\tbreak iterRead;\n//\t\t\t\t\t}\n\t\t\t\t\t//IF BOTH Reads can come from transcript and one actually overlaps the exon\n\t\t\t\t\tif(i==2) {\n\n\t\t\t\t\t\tRegion hola = new Region(Integer.min(read.getAlignmentStart(), tmpRead.getAlignmentStart()), Integer.max(read.getAlignmentEnd(), tmpRead.getAlignmentEnd()));\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(hola.contains(exon)) {\n\t\t\t\t\t\t\tif(tmpRead.getAlignmentEnd()<read.getAlignmentStart()) {\n\t\t\t\t\t\t\t\tRegion reg = new Region(tmpRead.getAlignmentEnd(),read.getAlignmentStart());\n\t\t\t\t\t\t\t\tif(reg.contains(exon)) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t//PROVA\n\t\t\t\t\t\t\t\t\tfor(Transcript t: inclusive) {\n\t\t\t\t\t\t\t\t\t\tif(can_come_from_transcript(read,t)) {\n\t\t\t\t\t\t\t\t\t\t\tif(can_come_from_transcript(tmpRead,t)) {\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t//System.out.println(\"HOlA \"+ read.getReadName());\n\t\t\t\t\t\t\t\t\t\t\t//Utilities.printRead(read);\n\t\t\t\t\t\t\t\t\t\t\t//toDelete.add(read.getReadName());\n\t\t\t\t\t\t\t\t\t\t\tcontinue iterRead;\t\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t//----\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\texcReads.add(read.getReadName());\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\ttmpRead=read; \n\t\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t//System.out.println(t_i.getId() +\" has exclusive reads number \"+excReads.size());\n\t\t}\n\t\t\n\t\t\n\t\t// ----------------------------------------------------------------------\n\t\tSet<String> intersection = new HashSet<String>(incReads);\n\t\tintersection.retainAll(excReads);\n\t\t\n\t\tincReads.removeAll(intersection);\n\t\texcReads.removeAll(intersection);\n\t\texcReads.removeAll(toDelete);\n\t\t\n\t\tn_inc = incReads.size();\n\t\tn_exc = excReads.size();\n\t\t\n\n//\t\tSystem.out.println(\"FOUND BUT SHOULD NOT BE\");\n//\t\tfor(String a : excReads) {\n//\t\t\tif(!result.contains(a)) {\n//\t\t\t\tSystem.out.print(a+\",\");\n//\t\t\t\t\n//\t\t\t}\n//\t\t}\t\t\tSystem.out.println();\n//\n//\t\t\n//\t\tSystem.out.println(\"NOT FOUND BUT SHOULD BE\");\n//\t\t\n//\t\tString[] b = result.split(\",\");\n//\t\tfor(String s : b) {\n//\t\t\tif(!excReads.contains(s)) {\n//\t\t\t\tSystem.out.println(s);\n//\t\t\t}\n//\t\t}\t\n\t\treturn new Pair<Integer,Integer>(n_inc,n_exc); \n\t}", "title": "" }, { "docid": "9898811bd3c4e075fd36506d85c1a3e5", "score": "0.530477", "text": "int getNumOfChunks();", "title": "" }, { "docid": "9898811bd3c4e075fd36506d85c1a3e5", "score": "0.530477", "text": "int getNumOfChunks();", "title": "" }, { "docid": "c79e8596fe179752e839db9a08ea0b25", "score": "0.5287269", "text": "int sizeOfGIBBModArray();", "title": "" }, { "docid": "1e1b0ff0f61be9b1e5f69821aad1fbd7", "score": "0.52828544", "text": "public int numberOfRegions() {\n return regions.size();\n }", "title": "" }, { "docid": "4a8270a9dc6d9ac5db101d7640ef2efc", "score": "0.52823496", "text": "private void geraAptidao(){\n\t\tString solucao = Algoritmo.getSolucao();\n\t\tfor (int i = 0;i < solucao.length(); i++){\n\t\t\tif(solucao.charAt(i) == genes.charAt(i)){\n\t\t\t\taptidao++;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "0729010e5f1e13efd3d6a3fa8d03bb7e", "score": "0.5270829", "text": "int getNumOfSemesters();", "title": "" }, { "docid": "d836d85d8db143d70e24913fea224059", "score": "0.52648395", "text": "@Test\n @Disabled\n public void testTranscriptHgvs() throws QueryException, IllegalAccessException, CellBaseException {\n\n // Invalid characters in alternate allele (\"TBS\") - should not break the code, no transcript hgvs should be\n // returned\n List<String> hgvsList = getVariantHgvs(new Variant(\"5\",\n 1057643,\n \"-\",\n \"TBS\"));\n // two protein hgvs expected\n assertEquals(0, hgvsList.size());\n\n // Duplication\n hgvsList = getVariantHgvs(new Variant(\"22\",\n 38318124,\n \"-\",\n \"CAGCAGCAC\"));\n // two transcript hgvs expected\n assertNumberTranscriptHGVS(2, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000445494(ENSG00000100139):c.471_479dup9\",\n \"ENST00000215957(ENSG00000100139):c.723_731dup9\"));\n\n // Duplication in positive transcript - must right align and properly calculate the duplicated range\n hgvsList = getVariantHgvs(new Variant(\"22\",\n 38318177,\n \"-\",\n \"CC\"));\n // I don't have good means for checking \"ENST00000445494(ENSG00000100139):c.518_519dupCC\";\n // ENST00000215957(ENSG00000100139):c.770_771dupCC is the one properly validated.\n assertNumberTranscriptHGVS(2, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000445494(ENSG00000100139):c.518_519dupCC\",\n \"ENST00000215957(ENSG00000100139):c.770_771dupCC\"));\n\n hgvsList = getVariantHgvs(new Variant(\"22\", 38308486, \"C\", \"T\"));\n assertNumberTranscriptHGVS(3, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000445494(ENSG00000100139):c.72C>T\",\n \"ENST00000215957(ENSG00000100139):c.324C>T\", \"ENST00000489812(ENSG00000100139):n.775C>T\"));\n\n hgvsList = getVariantHgvs(new Variant(\"22\", 38379525, \"G\", \"-\"));\n // There may be more than these, but these 4 are the ones that I can actually validate\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000396884(ENSG00000100146):c.267delC\",\n \"ENST00000360880(ENSG00000100146):c.267delC\", \"ENST00000427770(ENSG00000100146):c.267delC\",\n \"ENST00000470555(ENSG00000100146):n.70+821delC\"));\n\n hgvsList = getVariantHgvs(new Variant(\"19\", 45411941, \"T\", \"C\"));\n assertNumberTranscriptHGVS(4, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000252486(ENSG00000130203):c.388T>C\",\n \"ENST00000446996(ENSG00000130203):c.388T>C\", \"ENST00000434152(ENSG00000130203):c.466T>C\",\n \"ENST00000425718(ENSG00000130203):c.388T>C\"));\n\n hgvsList = getVariantHgvs(new Variant(\"1\", 136024, \"C\", \"T\"));\n assertNumberTranscriptHGVS(1, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000423372(ENSG00000237683):c.*910-222G>A\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 25457289, \"G\", \"A\"));\n assertNumberTranscriptHGVS(2, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000381884(ENSG00000151849):c.*26C>T\",\n \"ENST00000545981(ENSG00000151849):c.*697C>T\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 25496789, \"C\", \"G\"));\n assertNumberTranscriptHGVS(2, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000381884(ENSG00000151849):c.-67+110G>C\",\n \"ENST00000545981(ENSG00000151849):c.-67+110G>C\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 25487369, \"G\", \"A\"));\n assertNumberTranscriptHGVS(2, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000381884(ENSG00000151849):c.-66-140C>T\",\n \"ENST00000545981(ENSG00000151849):c.-66-140C>T\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 25459270, \"C\", \"T\"));\n assertNumberTranscriptHGVS(3, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000471870(ENSG00000151849):n.367+144G>A\",\n \"ENST00000381884(ENSG00000151849):c.3477+144G>A\",\n \"ENST00000545981(ENSG00000151849):c.*131+144G>A\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 26967553, \"A\", \"G\"));\n assertNumberTranscriptHGVS(4, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000477290(ENSG00000132964):n.510A>G\",\n \"ENST00000465820(ENSG00000132964):n.133-2869A>G\",\n \"ENST00000381527(ENSG00000132964):c.696A>G\",\n \"ENST00000536792(ENSG00000132964):c.*143A>G\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 26966929, \"G\", \"A\"));\n assertNumberTranscriptHGVS(4, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000477290(ENSG00000132964):n.461-575G>A\",\n \"ENST00000465820(ENSG00000132964):n.133-3493G>A\",\n \"ENST00000381527(ENSG00000132964):c.647-575G>A\",\n \"ENST00000536792(ENSG00000132964):c.*94-575G>A\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 26962152, \"T\", \"C\"));\n assertNumberTranscriptHGVS(4, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000477290(ENSG00000132964):n.460+2673T>C\",\n \"ENST00000465820(ENSG00000132964):n.132+2673T>C\",\n \"ENST00000381527(ENSG00000132964):c.646+2673T>C\",\n \"ENST00000536792(ENSG00000132964):c.*93+2673T>C\"));\n\n hgvsList = getVariantHgvs(new Variant(\"11\", 62543180, \"A\", \"G\"));\n assertNumberTranscriptHGVS(8, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000524976(ENSG00000162227):n.90-63A>G\",\n \"ENST00000532915(ENSG00000162227):n.89-63A>G\",\n \"ENST00000527073(ENSG00000168569):n.66-1043T>C\",\n \"ENST00000294168(ENSG00000162227):c.-13-63A>G\",\n \"ENST00000526261(ENSG00000162227):c.-76A>G\",\n \"ENST00000525405(ENSG00000162227):c.-13-63A>G\",\n \"ENST00000529509(ENSG00000162227):c.-13-63A>G\",\n \"ENST00000528367(ENSG00000168569):c.315-1043T>C\"));\n\n hgvsList = getVariantHgvs(new Variant(\"2\", 191399259, \"-\", \"CGC\"));\n assertNumberTranscriptHGVS(2, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000409150(ENSG00000189362):c.97+24_97+26dupGCG\",\n \"ENST00000343105(ENSG00000189362):c.97+24_97+26dupGCG\"));\n\n hgvsList = getVariantHgvs(new Variant(\"19:45411941:T:C\"));\n assertNumberTranscriptHGVS(4, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000434152(ENSG00000130203):c.466T>C\",\n \"ENST00000425718(ENSG00000130203):c.388T>C\", \"ENST00000252486(ENSG00000130203):c.388T>C\",\n \"ENST00000446996(ENSG00000130203):c.388T>C\"));\n\n hgvsList = getVariantHgvs(new Variant(\"17\", 4542753, \"G\", \"A\"));\n assertNumberTranscriptHGVS(7, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000573740(ENSG00000161905):n.336C>T\",\n \"ENST00000293761(ENSG00000161905):c.309C>T\",\n \"ENST00000574640(ENSG00000161905):c.192C>T\", \"ENST00000572265(ENSG00000161905):c.-145C>T\",\n \"ENST00000545513(ENSG00000161905):c.375C>T\",\"ENST00000570836(ENSG00000161905):c.309C>T\",\n \"ENST00000576394(ENSG00000161905):c.309C>T\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 20600928, \"-\", \"A\"));\n assertNumberTranscriptHGVS(6, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000468677(ENSG00000121741):n.220+32dupA\",\n \"ENST00000382870(ENSG00000121741):n.244+32dupA\",\n \"ENST00000382871(ENSG00000121741):c.1735+32dupA\",\n \"ENST00000382874(ENSG00000121741):c.1735+32dupA\", \"ENST00000382883(ENSG00000121741):c.181+32dupA\",\n \"ENST00000382869(ENSG00000121741):c.1735+32dupA\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 19752539, \"AA\", \"-\"));\n assertNumberTranscriptHGVS(1, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000400113(ENSG00000198033):c.227-6_227-5delTT\"));\n\n hgvsList = getVariantHgvs(new Variant(\"13\", 28835528, \"-\", \"C\"));\n assertNumberTranscriptHGVS(4, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000503791(ENSG00000152520):n.1506-11_1506-10insC\",\n \"ENST00000380958(ENSG00000152520):c.1354-11_1354-10insC\",\n \"ENST00000399613(ENSG00000152520):c.754-11_754-10insC\",\n \"ENST00000282391(ENSG00000152520):c.418-11_418-10insC\"));\n\n hgvsList = getVariantHgvs(new Variant(\"22\", 17488824, \"-\", \"G\"));\n assertNumberTranscriptHGVS(3, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000523144(ENSG00000215568):n.59+7_59+8insC\",\n \"ENST00000400588(ENSG00000215568):c.174+7_174+8insC\",\n \"ENST00000465611(ENSG00000215568):c.59+7_59+8insC\"));\n\n hgvsList = getVariantHgvs(new Variant(\"5\", 1093610, \"-\", \"GGGCGGGGACT\"));\n assertNumberTranscriptHGVS(1, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000264930(ENSG00000113504):c.342+28_342+38dup11\"));\n\n hgvsList = getVariantHgvs(new Variant(\"2\", 179622239, \"TCAAAG\", \"-\"));\n assertNumberTranscriptHGVS(10, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000585451(ENSG00000237298):n.199-3426_199-3421del6\",\n \"ENST00000590773(ENSG00000237298):n.300+1192_300+1197del6\",\n \"ENST00000578746(ENSG00000237298):n.121+1192_121+1197del6\",\n \"ENST00000342992(ENSG00000155657):c.10303+1467_10303+1472del6\",\n \"ENST00000460472(ENSG00000155657):c.10165+1467_10165+1472del6\",\n \"ENST00000589042(ENSG00000155657):c.10678+25_10678+30del6\",\n \"ENST00000591111(ENSG00000155657):c.10303+1467_10303+1472del6\",\n \"ENST00000342175(ENSG00000155657):c.10166-720_10166-715del6\",\n \"ENST00000359218(ENSG00000155657):c.10540+25_10540+30del6\",\n \"ENST00000360870(ENSG00000155657):c.10303+1467_10303+1472del6\"));\n\n hgvsList = getVariantHgvs(new Variant(\"14\", 24607040, \"GTCAAACCATT\", \"-\"));\n assertNumberTranscriptHGVS(9, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000561059(ENSG00000092010):n.696+37_696+47del11\",\n \"ENST00000561142(ENSG00000092010):n.456+37_456+47del11\",\n \"ENST00000559741(ENSG00000092010):n.178+37_178+47del11\",\n \"ENST00000560420(ENSG00000092010):n.144+37_144+47del11\",\n \"ENST00000206451(ENSG00000092010):c.390+37_390+47del11\",\n \"ENST00000559123(ENSG00000092010):c.-88+37_-88+47del11\",\n \"ENST00000382708(ENSG00000092010):c.390+37_390+47del11\",\n \"ENST00000561435(ENSG00000092010):c.390+37_390+47del11\",\n \"ENST00000558112(ENSG00000092010):c.144+37_144+47del11\"));\n\n hgvsList = getVariantHgvs(new Variant(\"10\", 82122881, \"-\", \"ACACA\"));\n assertNumberTranscriptHGVS(6, hgvsList);\n assertThat(hgvsList, CoreMatchers.hasItems(\"ENST00000372199(ENSG00000133665):c.270+51_270+52ins5\",\n \"ENST00000372198(ENSG00000133665):c.312+51_312+52ins5\",\n \"ENST00000372197(ENSG00000133665):c.270+51_270+52ins5\",\n \"ENST00000444807(ENSG00000133665):c.270+51_270+52ins5\",\n \"ENST00000256039(ENSG00000133665):c.270+51_270+52ins5\",\n \"ENST00000444807(ENSG00000133665):c.270+51_270+52ins5\"));\n\n }", "title": "" }, { "docid": "8d3a3c1c4683dae33e88738d5d18533d", "score": "0.52560735", "text": "public int getSegCount() { return _segs.size(); }", "title": "" }, { "docid": "884e28766054bf99efe115bd460f54a9", "score": "0.5254988", "text": "void setGenes(Markers intersects) {\n\t\tfor (Marker m : intersects)\n\t\t\tif (m instanceof Gene) {\n\t\t\t\tif (intersectsLeft(m)) featuresLeft.add(m);\n\t\t\t\tif (intersectsRight(m)) featuresRight.add(m);\n\n\t\t\t\tif (variant.includes(m)) countWholeGenes++;\n\t\t\t\telse countPartialGenes++;\n\n\t\t\t\tgenes.add((Gene) m);\n\t\t\t} else if (!(m instanceof Chromosome)) {\n\t\t\t\tif (intersectsLeft(m)) featuresLeft.add(m);\n\t\t\t\tif (intersectsRight(m)) featuresRight.add(m);\n\t\t\t}\n\t}", "title": "" }, { "docid": "a6c35fe4391457ad06d8bc987c95b589", "score": "0.522805", "text": "public int computeInitialUB()\n\t{\n//\t\treturn Integer.MAX_VALUE;\n\t\treturn getSubsBonds().size() + getProdsBonds().size();\n\t}", "title": "" }, { "docid": "786744ad4f3a16c94946ae002414c74d", "score": "0.52212477", "text": "private static void countSubstrings(int[] spaceFlag) {\n\t\tif (spaceFlag[0] == 0) {\n\t\t\tstartPoint.add(0);\n\t\t\tcount = 1;\n\t\t\t}\n\t\telse\n\t\t\tcount = 0;\n\t\tfor (int i = 0; i<spaceFlag.length - 1; i++) {\n\t\t\tif (spaceFlag[i] - spaceFlag[i+1] > 0) {\n\t\t\t\tstartPoint.add(i+1);\n\t\t\t\tcount++;\n\t\t\t} else if (spaceFlag[i] - spaceFlag[i+1] < 0) {\n\t\t\t\tendPoint.add(i+1);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "664d03bc307814bb99a78f8e25b00ff1", "score": "0.5219217", "text": "int getNumOutOfPlace() {\n\n if (numOutOfPlace >= 0) {\n return numOutOfPlace;\n }\n\n numOutOfPlace = Integer.MAX_VALUE;\n\n // Check each legal configuration.\n for (int i = 0; i < legalRacks.length; i++) {\n\n int n = 0;\n\n for (int b = 0; b < rack.length; b++) {\n if (rack[b] != legalRacks[i][b]) {\n n++;\n }\n }\n\n numOutOfPlace = Math.min(numOutOfPlace, n);\n }\n\n return numOutOfPlace;\n }", "title": "" }, { "docid": "bdd49f40eb9dceb15b4d28e61b866222", "score": "0.5214479", "text": "int getGservicesOverridesCount();", "title": "" }, { "docid": "a8f6d55c3dc26ec91363cb90b5471bad", "score": "0.5211025", "text": "public static void FindCTG(StorageResource s){\n int countctg = 0;\n \n for (String gene : s.data()) {\n gene = gene.toLowerCase();\n int start = 0; \n while (true) {\n int pos = gene.indexOf(\"ctg\", start);\n if (pos == -1) {\n break;\n }\n countctg += 1;\n start = pos + 3;\n }\n } \n \n System.out.println(\"CTG: \" + countctg);\n }", "title": "" }, { "docid": "6f612b7cdcd76cf4b3a4b4ca7c20ab2d", "score": "0.5206476", "text": "@Override\n\tpublic int countVehicleSpace() {\n\t\tint count = 0;\n\t\tfor (Vehicle v : vehicles) {\n\t\t\tcount += v.getVehicleSize();\n\t\t}\n\t\treturn count;\n\t}", "title": "" }, { "docid": "5859d6289eab7bfe20d6c79dd507ef70", "score": "0.52014357", "text": "public int getNumEdges(){\n int numEdges = 0;\n for (int i = 0; i < numVerts; ++i) {\n for (int j = i; j < numVerts; ++j) {\n if (edgeMap[i][j]) {\n ++numEdges;\n }\n }\n }\n return numEdges;\n }", "title": "" }, { "docid": "f67ab4c3439f90cb3e6a751bb5128ea5", "score": "0.5199795", "text": "public int size() {\r\n\t\treturn propertySize() + neighborSize();\r\n\t}", "title": "" }, { "docid": "2c47db5ab76140c7883304506f7464c6", "score": "0.51964635", "text": "boolean hasMoreCombinations();", "title": "" }, { "docid": "a687ee7ea07b71e8c5fe24434fb278f4", "score": "0.51961297", "text": "static int numberOfSubset(int n){\n\t\tint total = 1;\n\t\tfor (int i = 0; i < n; i++){\n\t\t\ttotal *= 2;\n\t\t}\n\t\treturn total-1;\n\t}", "title": "" }, { "docid": "8428aa0545998252b86ce43753ff3124", "score": "0.51932836", "text": "private void setNumberOfCarsAssignableByJRNG(Random randomGenerator) {\n\t\tfunSized1Actual = randomGenerator.nextInt(FUNSIZED1UPPERBOUND-FUNSIZED1LOWERBOUND)+FUNSIZED1LOWERBOUND; \n\t\tfunSized2Actual = randomGenerator.nextInt(FUNSIZED2UPPERBOUND-FUNSIZED2LOWERBOUND)+FUNSIZED2LOWERBOUND; \n\t\tfunSized3Actual = randomGenerator.nextInt(FUNSIZED3UPPERBOUND-FUNSIZED3LOWERBOUND)+FUNSIZED3LOWERBOUND;\n\t\troad5Actual = randomGenerator.nextInt(ROAD5UPPERBOUND-ROAD5LOWERBOUND)+ROAD5LOWERBOUND;\n\t\troad9Actual = randomGenerator.nextInt(ROAD9UPPERBOUND-ROAD9LOWERBOUND)+ROAD9LOWERBOUND;\n\t\troad10Actual = randomGenerator.nextInt(ROAD10UPPERBOUND-ROAD10LOWERBOUND)+ROAD10LOWERBOUND;\n\t}", "title": "" }, { "docid": "a144d2e5def96cb2f4b22b821453a509", "score": "0.5184061", "text": "int getTargetIDsCount();", "title": "" }, { "docid": "a144d2e5def96cb2f4b22b821453a509", "score": "0.5184061", "text": "int getTargetIDsCount();", "title": "" }, { "docid": "6196fcdedc4dacdf7900ce2106ccc4ba", "score": "0.51839966", "text": "public int getChromsomeCount() {\n\t\treturn genePool.getChromosomeCount();\n\t}", "title": "" }, { "docid": "c5e1aaa767bc6de3580923b3f1499bce", "score": "0.51826245", "text": "private int getNumCom() {\n int size = 0;\n int t;\n for (t = 0; t < i; ++t) {\n if (!communities[t].isEmpty()) ++size;\n }\n return size;\n }", "title": "" }, { "docid": "87b985b8733e502a5cc8eb4d0f5ff1c2", "score": "0.51818174", "text": "int getBlockingsCount();", "title": "" }, { "docid": "53f290a9346b110a642a6dfb77b47f36", "score": "0.5181794", "text": "private int getNumComponents(){\n return EngagementAnalyticsHashMap.size();\n }", "title": "" }, { "docid": "c7724dd9bba01eb00168071d3f31087f", "score": "0.51799077", "text": "private int numAdjacentFlagged(Square sq) {\r\n\t\tint count = 0;\r\n\r\n\t\tfor (Square adjacent : this.getAdjacent(sq)) {\r\n\t\t\tif (adjacent.isFlagged) {\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "ef8e0befea8f352743a156d540aae315", "score": "0.5175882", "text": "public int MassimoNumeroSquadre(boolean f) {\n\t\t\tif(f) {\n\t\t\tif(S1.size()>=S2.size())\n\t\t\t\treturn S1.size();\n\t\t\telse return S2.size();\t\n\t\t}\n\t\telse { \n\t\tif (S1.size()>=S2.size()) {\n\t\t\tif(S1.size()>=S3.size()){\n\t\t\t\treturn S1.size();\n\t\t\t}else return S3.size();\n\t\t}else {\n\t\t\tif (S2.size()>=S3.size())\n\t\t\treturn S2.size(); \n\t\t}\n\t\n\treturn S3.size();\n\t\t}}", "title": "" }, { "docid": "1e965dabf473247a20d325aa998826f1", "score": "0.51721835", "text": "int getXianshiCount();", "title": "" }, { "docid": "1e965dabf473247a20d325aa998826f1", "score": "0.51721835", "text": "int getXianshiCount();", "title": "" }, { "docid": "190bb3a71a034427a425ba697749653b", "score": "0.51713526", "text": "public int numProtein()\r\n\t{ return proteins.size(); }", "title": "" }, { "docid": "46f24a3890187f0c4ba69c28f119742f", "score": "0.51711035", "text": "private int numOfcandidates(boolean[] flag) {\n\t\tint res = 0;\n\t\tfor (int k = 1; k <= 9; k++) {\n\t\t\tif (flag[k]) res++;\n\t\t}\n\t\treturn res;\n\t}", "title": "" }, { "docid": "773cfe09eaf3450b2a5447996581189c", "score": "0.51708657", "text": "private int countIntersections(Intersectable shape) {\n int p = 0;\n for (int i = 0; i < 3; i++) { // a view plane with length of 3 pixels\n for (int j = 0; j < 3; j++) { // a view plane with width of 3 pixels\n // find the intersection of the ray through pixel[j,i] and the shape\n List<GeoPoint> temp = shape.findIntersections(camera.constructRayThroughPixel(3, 3, j, i, 1, 3, 3));\n if (temp != null) {\n p = p + temp.size();\n }\n\n }\n }\n return p;\n }", "title": "" }, { "docid": "8408ef7e7ee950a7b859e1113f714c80", "score": "0.51654404", "text": "boolean hasForgeMaxForgeSlots();", "title": "" }, { "docid": "4064e1f1ba1d1c9bdb428318c3fac600", "score": "0.51650774", "text": "int getChunksCount();", "title": "" }, { "docid": "4064e1f1ba1d1c9bdb428318c3fac600", "score": "0.51650774", "text": "int getChunksCount();", "title": "" }, { "docid": "33456851b4a2d7210419b2b0e0e26af0", "score": "0.51548415", "text": "public int size() {\n/* 611 */ return getArrayLength() - getGapEnd() - getGapStart();\n/* */ }", "title": "" }, { "docid": "8a4d6c74e9d4871fe83a3f516e64bf74", "score": "0.51543754", "text": "public int size(Object genome) {\n return((((BitArray) genome).size() - length) / delta_length);\n }", "title": "" }, { "docid": "45c84a2eb3615e2b7439a13bc9859ced", "score": "0.5150994", "text": "public int differenceWithSolution()\n\t{\n\t\tint count = 0;\n\t\t\n\t\tfor (List<Integer> list: blacklistMap.values())\n\t\t{\n\t\t\tif (list.size() > 0)\n\t\t\t\tcount++;\n\t\t}\n\t\t\n\t\t/*\n\t\tfor (Cloudlet c: solution.getMapping().keySet())\n\t\t{\n\t\t\t// recover the target dc\n\t\t\tFederationDatacenter target = solution.getMapping().get(c);\n\t\t\t\n\t\t\t// check if the association correspond to the mapping\n\t\t\tVm vm = application.getVertexForCloudlet(c).getAssociatedVm(c);\n\t\t\tFederationDatacenter actual = mapping.get(vm);\n\t\t\n\t\t\tif (target.getId() != actual.getId())\n\t\t\t\tcount++;\n\t\t}\n\t\t*/\n\t\t\n\t\treturn count;\n\t}", "title": "" }, { "docid": "a0da48a529ceda13f2704caf284297b0", "score": "0.5150788", "text": "@Override\n\tpublic int size() {\n\t\treturn mapping.size() + super.size();\n\t}", "title": "" }, { "docid": "8c86d48317a379a637590568e1bfadbd", "score": "0.5150332", "text": "int getSizesCount();", "title": "" }, { "docid": "218c7ab201c2d9bc2f8cbce01b8bc1dc", "score": "0.5145365", "text": "public static void printGenes(StorageResource sr){\n\n int longerthan60 = 0;\n int CGGreaterthan35 = 0;\n int longestgene = 0;\n int tempgene = 0;\n ArrayList<String> longerthansixty = new ArrayList<String>();\n ArrayList<String> CGGreaterthanthirtyfive = new ArrayList<String>();\n \n for (String gene : sr.data()) {\n\t\t\ttempgene = gene.length(); \n\t\t\tif (longestgene<tempgene){\n\t\t\t longestgene = tempgene;\n\t\t\t }\n\t\t\tif (gene.length()>60){\n\t\t\t longerthan60++;\n\t\t\t longerthansixty.add(gene);\n\t\t\t}\n\t\t\tif (cgRatio(gene)>0.35){\n\t\t\t CGGreaterthan35++;\n\t\t\t CGGreaterthanthirtyfive.add(gene);\n\t\t\t}\n\t\t}\n\n System.out.println(\"dnaStore.size: \" + sr.size());\n System.out.println(\"There are \" + sr.size() + \" genes. \");\n System.out.println(\"\\nThere are \" + longerthan60 + \" genes longer than 60.\");\n for (String gene: longerthansixty){\n \tSystem.out.println(gene);\n }\n System.out.println(\"\\nThere are \" + CGGreaterthan35 + \" genes with CG ratio greater than 0.35.\");\n for (String gene: CGGreaterthanthirtyfive){\n \tSystem.out.println(gene);\n }\n \n System.out.println(\"\\nlongestgene.size: \" + longestgene);\n }", "title": "" }, { "docid": "35af0fa8d3e97cbbd69a2a093d3f2801", "score": "0.5133805", "text": "public int getCommonCount() {\n return common_.size();\n }", "title": "" }, { "docid": "70a8c3895d5a36c42eaa2044fe557a5c", "score": "0.5129932", "text": "private static int countContainersInUse(int[] selectionArray) {\n\t\tint sum = 0;\n\t\tfor (int i : selectionArray) {\n\t\t\tsum += i;\n\t\t}\n\t\t\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "ef5fcf54402a263de95aafac1bceacde", "score": "0.51271856", "text": "public int length(Iterable<Integer> v, Iterable<Integer> w)\n {\n int res = this.E;\n boolean flag = false;\n int temp;\n\n for (int i : v)\n for (int j : w) {\n validateVertex(i);\n validateVertex(j);\n temp = this.E;\n \n if ((temp = this.length(i, j)) != -1) {\n flag = true;\n if (temp <= res)\n res = temp;\n } \n } \n\n if (flag) \n return res;\n else \n return -1;\n }", "title": "" }, { "docid": "922eb0377c66bc5f9875fe28ef0ea304", "score": "0.5122852", "text": "public int numPotentials() { return fSrcPotToSrcPosToParameter.length; }", "title": "" }, { "docid": "468f5fcc3781baadf154d228a94e3853", "score": "0.5113756", "text": "public int overlapCount(int i, int j) {\n int minIndex = Math.min(index(i), index(j));\n int maxIndex = Math.max(index(i), index(j));\n int lcp = repeated_substr.lcp(select(i), select(j));\n return (minIndex + lcp) > maxIndex ? (minIndex + lcp) - maxIndex : 0;\n }", "title": "" }, { "docid": "b1f386420c595be1099f472da14c7b87", "score": "0.5111685", "text": "public int size() {\n\t\tint size;\n\t\tsize = this.segments.size();\n\t\tfor (Loop l : this.childList()) {\n\t\t\tsize += l.size();\n\t\t}\n\t\treturn size;\n\t}", "title": "" }, { "docid": "de19a298cbc3bde80e890e0943c50745", "score": "0.5110022", "text": "public void calculateConnectedComponentSize() {\n\tint size = vertices.length;\n\tVertex vertex;\n\tfor (int i = 0; i < size; i++) {\n\t vertex = vertices[i];\n\t vertex.numSons = 1;\n\t if (vertex.father.id == vertex.id) {\n\t\tvertex.numSons = Vertex.calcNumSons(vertex);\n\t }\n\t}\t\n }", "title": "" }, { "docid": "94f8c4e2f3223b4200bdc37730b3ed57", "score": "0.51067024", "text": "public int getIntersectionSizeWith(T other);", "title": "" }, { "docid": "3300e293a0054f649c5c8d1ebef24171", "score": "0.5106607", "text": "public int numeroDeVertices();", "title": "" }, { "docid": "9be82519e1b2ee0b0bb6b04430e5a2f4", "score": "0.51001555", "text": "boolean hasNumDVs();", "title": "" }, { "docid": "a2dac3278f6f19b25a9ae87ba7c5534b", "score": "0.5099488", "text": "int sizeOfIdsArray();", "title": "" }, { "docid": "672ba1f3cf9cf242480f692aaa00d5bc", "score": "0.50979364", "text": "public int size() {\n int counter = 0;\n for (MetaVariable x : this) { counter++; }\n return counter;\n }", "title": "" }, { "docid": "a9dfe4afffc4c7349f5a9fea8925ed8b", "score": "0.5095857", "text": "public int size() {\r\n return SLOTS * (mod1 + split);\r\n }", "title": "" }, { "docid": "e9c661db52ab7a60c78c2742a75a6443", "score": "0.5092998", "text": "public int countTargetGFSCustUnitWithInvalidFields();", "title": "" }, { "docid": "aeeba64149d1c7da55ee9ea9f62e4742", "score": "0.5089885", "text": "public int totalStones(){\n \t\tint nb = 0;\n \t\tfor(Group current : gList){\n \t\t\tnb += current.linkedStones.size();\n \t\t}\n \t\treturn nb;\n \t}", "title": "" }, { "docid": "ee1f2f9143a10735a66d9c74874532f2", "score": "0.5076669", "text": "int getPolygonsCount();", "title": "" }, { "docid": "6414377afa13a084dc8c2912155f63bf", "score": "0.50732684", "text": "@Test\n public void testAddToCombinedSomaticGvcf() throws Exception {\n final File output = createTempFile(\"combinegvcfs\", \".vcf\");\n final ArgumentsBuilder args = new ArgumentsBuilder();\n args.addReference(new File(b37Reference));\n args.addOutput(output);\n args.addVCF(getTestFile(\"twoSamples.MT.g.vcf\"));\n args.addVCF(getTestFile(\"NA12891.MT.filtered.g.vcf\"));\n args.add(CombineGVCFs.SOMATIC_INPUT_LONG_NAME, true);\n runCommandLine(args);\n\n final File output2 = createTempFile(\"expected\", \".vcf\");\n final ArgumentsBuilder args2 = new ArgumentsBuilder();\n args2.addReference(new File(b37Reference));\n args2.addOutput(output2);\n args2.addVCF(getTestFile(\"NA12878.MT.filtered.g.vcf\"));\n args2.addVCF(getTestFile(\"NA19240.MT.filtered.g.vcf\"));\n args2.addVCF(getTestFile(\"NA12891.MT.filtered.g.vcf\"));\n args2.add(CombineGVCFs.SOMATIC_INPUT_LONG_NAME, true);\n runCommandLine(args2);\n\n final List<VariantContext> expectedVC = getVariantContexts(output2);\n final List<VariantContext> actualVC = getVariantContexts(output);\n final VCFHeader header = getHeaderFromFile(output);\n assertForEachElementInLists(actualVC, expectedVC, (a, e) -> VariantContextTestUtils.assertVariantContextsAreEqualAlleleOrderIndependent(a, e, Collections.emptyList(), Collections.emptyList(), header));\n }", "title": "" }, { "docid": "5098ee060efa4b4fb2fc23d4163cbfb6", "score": "0.5072859", "text": "public int getGenotypeLength() {\n return this.m_GenotypeLengthPerProgram*this.m_Area.length;\n }", "title": "" }, { "docid": "82149bd0ce4fe705385b6fae14947956", "score": "0.5072748", "text": "public int size()\n {\n return activeRegions.size();\n }", "title": "" }, { "docid": "f35afe66354f42951a2d6c11d7f176cc", "score": "0.5072242", "text": "protected void populateChrAndVarPositions() {\n long chrSum = 0;\n System.out.println(\"chrSum\" + chrSum);\n TreeMap<Integer, TreeSet<Integer>> theChrs = new TreeMap<Integer, TreeSet<Integer>>();\n for (int i = 0; i < myNumTags; i++) {\n int chr = getChromosome(i);\n if (chr != TOPMInterface.INT_MISSING) {\n if (!theChrs.containsKey(chr)) {\n theChrs.put(chr, new TreeSet<Integer>());\n }\n TreeSet<Integer> thePos = theChrs.get(chr);\n int startPos = getStartPosition(i);\n byte[] varOffs = getVariantPosOffArray(i);\n if(varOffs==null) continue;\n for (byte b : varOffs) {\n thePos.add((int) (startPos + b));\n }\n }\n }\n myChromosomes = new int[theChrs.size()];\n myUniquePositions = new int[theChrs.size()][];\n int cnt = 0;\n for (Entry<Integer, TreeSet<Integer>> aChr : theChrs.entrySet()) {\n myUniquePositions[cnt] = new int[aChr.getValue().size()];\n int p = 0;\n for (int ls : aChr.getValue()) {\n myUniquePositions[cnt][p++] = ls;\n }\n myChromosomes[cnt++] = aChr.getKey();\n// System.out.printf(\"Chr:%d TagStart:%d %n\", myChromosomes[cnt - 1], myUniquePositions[cnt - 1].length);\n }\n }", "title": "" }, { "docid": "a60cde7c71c0f1a73a7cf45ff6ac603f", "score": "0.5067645", "text": "int getShapeCount();", "title": "" } ]
7f3f6dde6245463357b1b867680daf88
attributes are k/v pairs .google.protobuf.Struct attributes = 3;
[ { "docid": "ab1d3c0be0d3049d48eb66d33d425024", "score": "0.0", "text": "public boolean hasAttributes() {\n return attributes_ != null;\n }", "title": "" } ]
[ { "docid": "543ed7f1e28af84898bfb80b495fc677", "score": "0.8178797", "text": "com.google.protobuf.Struct getAttributes();", "title": "" }, { "docid": "543ed7f1e28af84898bfb80b495fc677", "score": "0.8178797", "text": "com.google.protobuf.Struct getAttributes();", "title": "" }, { "docid": "543ed7f1e28af84898bfb80b495fc677", "score": "0.8177685", "text": "com.google.protobuf.Struct getAttributes();", "title": "" }, { "docid": "543ed7f1e28af84898bfb80b495fc677", "score": "0.8177685", "text": "com.google.protobuf.Struct getAttributes();", "title": "" }, { "docid": "543ed7f1e28af84898bfb80b495fc677", "score": "0.8177685", "text": "com.google.protobuf.Struct getAttributes();", "title": "" }, { "docid": "543ed7f1e28af84898bfb80b495fc677", "score": "0.8177685", "text": "com.google.protobuf.Struct getAttributes();", "title": "" }, { "docid": "543ed7f1e28af84898bfb80b495fc677", "score": "0.8177685", "text": "com.google.protobuf.Struct getAttributes();", "title": "" }, { "docid": "543ed7f1e28af84898bfb80b495fc677", "score": "0.8177685", "text": "com.google.protobuf.Struct getAttributes();", "title": "" }, { "docid": "fe801e4bf1d52385db5425bf1561e3a1", "score": "0.7873583", "text": "com.google.protobuf.StructOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "fe801e4bf1d52385db5425bf1561e3a1", "score": "0.7873583", "text": "com.google.protobuf.StructOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "fe801e4bf1d52385db5425bf1561e3a1", "score": "0.7872715", "text": "com.google.protobuf.StructOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "fe801e4bf1d52385db5425bf1561e3a1", "score": "0.787168", "text": "com.google.protobuf.StructOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "fe801e4bf1d52385db5425bf1561e3a1", "score": "0.787168", "text": "com.google.protobuf.StructOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "fe801e4bf1d52385db5425bf1561e3a1", "score": "0.787168", "text": "com.google.protobuf.StructOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "fe801e4bf1d52385db5425bf1561e3a1", "score": "0.787168", "text": "com.google.protobuf.StructOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "fe801e4bf1d52385db5425bf1561e3a1", "score": "0.787168", "text": "com.google.protobuf.StructOrBuilder getAttributesOrBuilder();", "title": "" }, { "docid": "37651de8813c24c7e667140f9917de16", "score": "0.67794895", "text": "public com.google.protobuf.Struct getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "37651de8813c24c7e667140f9917de16", "score": "0.67794895", "text": "public com.google.protobuf.Struct getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "37651de8813c24c7e667140f9917de16", "score": "0.677923", "text": "public com.google.protobuf.Struct getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "37651de8813c24c7e667140f9917de16", "score": "0.677923", "text": "public com.google.protobuf.Struct getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "37651de8813c24c7e667140f9917de16", "score": "0.67792034", "text": "public com.google.protobuf.Struct getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "37651de8813c24c7e667140f9917de16", "score": "0.67792034", "text": "public com.google.protobuf.Struct getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "37651de8813c24c7e667140f9917de16", "score": "0.67792034", "text": "public com.google.protobuf.Struct getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "37651de8813c24c7e667140f9917de16", "score": "0.67792034", "text": "public com.google.protobuf.Struct getAttributes() {\n if (attributesBuilder_ == null) {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n } else {\n return attributesBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "a96d076defed6f37c675e86ac93a32a9", "score": "0.67540073", "text": "public com.google.protobuf.Struct getAttributes() {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }", "title": "" }, { "docid": "a96d076defed6f37c675e86ac93a32a9", "score": "0.67540073", "text": "public com.google.protobuf.Struct getAttributes() {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }", "title": "" }, { "docid": "a96d076defed6f37c675e86ac93a32a9", "score": "0.67540073", "text": "public com.google.protobuf.Struct getAttributes() {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }", "title": "" }, { "docid": "a96d076defed6f37c675e86ac93a32a9", "score": "0.6753719", "text": "public com.google.protobuf.Struct getAttributes() {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }", "title": "" }, { "docid": "a96d076defed6f37c675e86ac93a32a9", "score": "0.6753719", "text": "public com.google.protobuf.Struct getAttributes() {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }", "title": "" }, { "docid": "a96d076defed6f37c675e86ac93a32a9", "score": "0.6753719", "text": "public com.google.protobuf.Struct getAttributes() {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }", "title": "" }, { "docid": "a96d076defed6f37c675e86ac93a32a9", "score": "0.6753719", "text": "public com.google.protobuf.Struct getAttributes() {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }", "title": "" }, { "docid": "a96d076defed6f37c675e86ac93a32a9", "score": "0.67511606", "text": "public com.google.protobuf.Struct getAttributes() {\n return attributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }", "title": "" }, { "docid": "5bb47e21ddc1016af75f30c7ca8f83b0", "score": "0.673586", "text": "com.google.protobuf.Struct getParameters();", "title": "" }, { "docid": "d9f0f25354ab0c63db96d6be8c5e8a34", "score": "0.6584823", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "title": "" }, { "docid": "d9f0f25354ab0c63db96d6be8c5e8a34", "score": "0.6584823", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "title": "" }, { "docid": "d9f0f25354ab0c63db96d6be8c5e8a34", "score": "0.6584823", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "title": "" }, { "docid": "d9f0f25354ab0c63db96d6be8c5e8a34", "score": "0.6584823", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "title": "" }, { "docid": "d9f0f25354ab0c63db96d6be8c5e8a34", "score": "0.6584823", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "title": "" }, { "docid": "d9f0f25354ab0c63db96d6be8c5e8a34", "score": "0.65835345", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "title": "" }, { "docid": "d9f0f25354ab0c63db96d6be8c5e8a34", "score": "0.658325", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "title": "" }, { "docid": "d9f0f25354ab0c63db96d6be8c5e8a34", "score": "0.658325", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n return getAttributes();\n }", "title": "" }, { "docid": "65fb06d092ecbd5a5d4bc5497620aea7", "score": "0.65334135", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n if (attributesBuilder_ != null) {\n return attributesBuilder_.getMessageOrBuilder();\n } else {\n return attributes_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }\n }", "title": "" }, { "docid": "65fb06d092ecbd5a5d4bc5497620aea7", "score": "0.65334135", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n if (attributesBuilder_ != null) {\n return attributesBuilder_.getMessageOrBuilder();\n } else {\n return attributes_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }\n }", "title": "" }, { "docid": "65fb06d092ecbd5a5d4bc5497620aea7", "score": "0.6532519", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n if (attributesBuilder_ != null) {\n return attributesBuilder_.getMessageOrBuilder();\n } else {\n return attributes_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }\n }", "title": "" }, { "docid": "65fb06d092ecbd5a5d4bc5497620aea7", "score": "0.6532179", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n if (attributesBuilder_ != null) {\n return attributesBuilder_.getMessageOrBuilder();\n } else {\n return attributes_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }\n }", "title": "" }, { "docid": "65fb06d092ecbd5a5d4bc5497620aea7", "score": "0.6532179", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n if (attributesBuilder_ != null) {\n return attributesBuilder_.getMessageOrBuilder();\n } else {\n return attributes_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }\n }", "title": "" }, { "docid": "65fb06d092ecbd5a5d4bc5497620aea7", "score": "0.6532179", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n if (attributesBuilder_ != null) {\n return attributesBuilder_.getMessageOrBuilder();\n } else {\n return attributes_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }\n }", "title": "" }, { "docid": "65fb06d092ecbd5a5d4bc5497620aea7", "score": "0.6531645", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n if (attributesBuilder_ != null) {\n return attributesBuilder_.getMessageOrBuilder();\n } else {\n return attributes_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }\n }", "title": "" }, { "docid": "65fb06d092ecbd5a5d4bc5497620aea7", "score": "0.6531645", "text": "public com.google.protobuf.StructOrBuilder getAttributesOrBuilder() {\n if (attributesBuilder_ != null) {\n return attributesBuilder_.getMessageOrBuilder();\n } else {\n return attributes_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : attributes_;\n }\n }", "title": "" }, { "docid": "c34da4f1523d557857f8d27a5c5a621a", "score": "0.62759197", "text": "com.google.protobuf.StructOrBuilder getParametersOrBuilder();", "title": "" }, { "docid": "22e6a13f4dd0e98d20cdf291ca063c94", "score": "0.6118357", "text": "no.ntnu.ihb.fmuproxy.grpc.Service.ModelStructure getModelStructure();", "title": "" }, { "docid": "fcda00e72f28bc27789e26031ecfda10", "score": "0.6061231", "text": "public Builder setAttributes(com.google.protobuf.Struct value) {\n if (attributesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n attributes_ = value;\n onChanged();\n } else {\n attributesBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "fcda00e72f28bc27789e26031ecfda10", "score": "0.6061231", "text": "public Builder setAttributes(com.google.protobuf.Struct value) {\n if (attributesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n attributes_ = value;\n onChanged();\n } else {\n attributesBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "fcda00e72f28bc27789e26031ecfda10", "score": "0.6056538", "text": "public Builder setAttributes(com.google.protobuf.Struct value) {\n if (attributesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n attributes_ = value;\n onChanged();\n } else {\n attributesBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "fcda00e72f28bc27789e26031ecfda10", "score": "0.6056538", "text": "public Builder setAttributes(com.google.protobuf.Struct value) {\n if (attributesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n attributes_ = value;\n onChanged();\n } else {\n attributesBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "fcda00e72f28bc27789e26031ecfda10", "score": "0.6056538", "text": "public Builder setAttributes(com.google.protobuf.Struct value) {\n if (attributesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n attributes_ = value;\n onChanged();\n } else {\n attributesBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "fcda00e72f28bc27789e26031ecfda10", "score": "0.6055338", "text": "public Builder setAttributes(com.google.protobuf.Struct value) {\n if (attributesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n attributes_ = value;\n onChanged();\n } else {\n attributesBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "fcda00e72f28bc27789e26031ecfda10", "score": "0.6055338", "text": "public Builder setAttributes(com.google.protobuf.Struct value) {\n if (attributesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n attributes_ = value;\n onChanged();\n } else {\n attributesBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "fcda00e72f28bc27789e26031ecfda10", "score": "0.6055338", "text": "public Builder setAttributes(com.google.protobuf.Struct value) {\n if (attributesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n attributes_ = value;\n onChanged();\n } else {\n attributesBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "4d152d65bda87fc19591b018c43ffa7f", "score": "0.60380673", "text": "no.ntnu.ihb.fmuproxy.grpc.Service.ModelStructureOrBuilder getModelStructureOrBuilder();", "title": "" }, { "docid": "39ce0d9ad25af4dd2fb56cc4f395fc32", "score": "0.59710574", "text": "com.google.protobuf.Struct getStructValue();", "title": "" }, { "docid": "22b3d50f3cf5e7e131de1cb358cf97ef", "score": "0.5830451", "text": "com.google.protobuf.Struct getTarget();", "title": "" }, { "docid": "b5b94b734b30f3cdf16bbab622f5c654", "score": "0.58134717", "text": "private TrainAttributesMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "5da6d09090bf411a9aa33b7e4df53888", "score": "0.57994074", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24312OrBuilder getField24447OrBuilder();", "title": "" }, { "docid": "ac7cf4af3a63d0be7dd0a6e525692d24", "score": "0.57911605", "text": "benchmarks.google_message3.BenchmarkMessage35.Message13912OrBuilder getField16492OrBuilder();", "title": "" }, { "docid": "1a3c9c441f0804532ee04bc178f599a1", "score": "0.5772302", "text": "benchmarks.google_message3.BenchmarkMessage35.Message12796OrBuilder getField13217OrBuilder();", "title": "" }, { "docid": "9171d4f8229ae9eb34aa2513b81166b8", "score": "0.576381", "text": "benchmarks.google_message3.BenchmarkMessage37.Message7966OrBuilder getField8228OrBuilder();", "title": "" }, { "docid": "af5ff89d0c7710f40af450b6665acab8", "score": "0.57504255", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24381OrBuilder getField24609OrBuilder();", "title": "" }, { "docid": "01127e217e5af9c39bcc38585018fba3", "score": "0.5750036", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24380OrBuilder getField24606OrBuilder();", "title": "" }, { "docid": "845e35bd52101e41c8be97c20e07a243", "score": "0.5744737", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10582OrBuilder getField11879OrBuilder();", "title": "" }, { "docid": "1d76cd19b6d549b195091922358cc9c7", "score": "0.57291", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10155OrBuilder getField11885OrBuilder();", "title": "" }, { "docid": "25f8093fa53c8ce6e96b43b08ac11a31", "score": "0.572381", "text": "benchmarks.google_message3.BenchmarkMessage35.Message13358OrBuilder getField16497OrBuilder();", "title": "" }, { "docid": "cdf423465c6af892a75e8d591c7a8e07", "score": "0.571261", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10573OrBuilder getField11878OrBuilder();", "title": "" }, { "docid": "426d1666583bc6a109b23f6a1a80c353", "score": "0.5707375", "text": "java.util.List<? extends io.opentelemetry.proto.common.v1.KeyValueOrBuilder> \n getAttributesOrBuilderList();", "title": "" }, { "docid": "e31f776a0e8885cd1a869807531df2ee", "score": "0.5703777", "text": "benchmarks.google_message3.BenchmarkMessage35.Message13358OrBuilder getField16490OrBuilder();", "title": "" }, { "docid": "82df1c818dd8433282cbd7cbdf7342e5", "score": "0.57030255", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10824OrBuilder getField11880OrBuilder();", "title": "" }, { "docid": "593f5c7b663578da7184e8ac55a29edc", "score": "0.5693963", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10773OrBuilder getField11881OrBuilder();", "title": "" }, { "docid": "42cb2974e63cb5e5661a3878229b72f3", "score": "0.5688332", "text": "benchmarks.google_message3.BenchmarkMessage35.Message8457OrBuilder getField8472OrBuilder();", "title": "" }, { "docid": "0057a3b257b278682c6525b5bb3c4243", "score": "0.56871307", "text": "benchmarks.google_message3.BenchmarkMessage35.Message8449OrBuilder getField8470OrBuilder();", "title": "" }, { "docid": "599631b54df31ec2b60e9470c4c47ed0", "score": "0.5685844", "text": "no.ntnu.ihb.fmuproxy.grpc.Service.RealAttributeOrBuilder getRealAttributeOrBuilder();", "title": "" }, { "docid": "6cf58b1eba418f23d48df1045e21c79f", "score": "0.56845945", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24400OrBuilder getField24679OrBuilder();", "title": "" }, { "docid": "83530c6857bdc0085636ab591f9ed10f", "score": "0.56753016", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24400OrBuilder getField24680OrBuilder();", "title": "" }, { "docid": "c758cda554438e92342cba7821b6ee3b", "score": "0.5666355", "text": "benchmarks.google_message3.BenchmarkMessage37.Message7966OrBuilder getField8486OrBuilder();", "title": "" }, { "docid": "9c3ae2bdeced064d5573a5f78af1ca45", "score": "0.5659461", "text": "benchmarks.google_message3.BenchmarkMessage35.Message8449OrBuilder getField8465OrBuilder();", "title": "" }, { "docid": "33063c914b618331ceaae15f33e7daad", "score": "0.5657266", "text": "com.google.protobuf.ByteString getField6155();", "title": "" }, { "docid": "8d5d2fe16c67e809fb293bab6db2fcf5", "score": "0.56497943", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10469OrBuilder getField11886OrBuilder();", "title": "" }, { "docid": "f8030dc95e7ce463a4d889d1dba6695f", "score": "0.56473815", "text": "benchmarks.google_message3.BenchmarkMessage35.Message12796OrBuilder getField13205OrBuilder();", "title": "" }, { "docid": "b29f8acda76701cc97ef5ec13cbfedb3", "score": "0.5643674", "text": "benchmarks.google_message3.BenchmarkMessage35.Message6722OrBuilder getField6744OrBuilder();", "title": "" }, { "docid": "9798f7e1bfbe4433290efb5e370a498b", "score": "0.56388766", "text": "benchmarks.google_message3.BenchmarkMessage35.Message6578OrBuilder getField6694OrBuilder();", "title": "" }, { "docid": "00997e3e9b41331e641422e02cd44fd4", "score": "0.56322974", "text": "benchmarks.google_message3.BenchmarkMessage35.Message11866OrBuilder getField11882OrBuilder();", "title": "" }, { "docid": "d76ef482c18fb8b115ca05162d8af4a3", "score": "0.56296945", "text": "Map<String, ?> attributes();", "title": "" }, { "docid": "b6ef6228d6786daba73fa385fd4770cb", "score": "0.56255895", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10818OrBuilder getField11883OrBuilder();", "title": "" }, { "docid": "2d84518d26ec828304763846fce9931a", "score": "0.5625347", "text": "com.google.protobuf.StructOrBuilder getStructValueOrBuilder();", "title": "" }, { "docid": "2c77af6c20e3404aa3d154fce9fb4706", "score": "0.56199694", "text": "protected abstract LinkedHashMap<String, ByteBuffer> metadata();", "title": "" }, { "docid": "5f978abf84b92a9f58159657fd49e6b5", "score": "0.56039107", "text": "benchmarks.google_message3.BenchmarkMessage35.Message6024OrBuilder getField6156OrBuilder();", "title": "" }, { "docid": "fac251ccefd8cf02a5c4ff6ed3d9a19e", "score": "0.56033856", "text": "com.google.protobuf.Struct getDiagnosticInfo();", "title": "" }, { "docid": "aacd9220a5458060b7736d19dfc87479", "score": "0.5589787", "text": "com.clarifai.grpc.api.DataOrBuilder getDataOrBuilder();", "title": "" }, { "docid": "fdef09ee655f237ae0a83bed9ab7a4fd", "score": "0.5562939", "text": "com.google.protobuf.ByteString getField6690();", "title": "" }, { "docid": "c6b67fde5e1f7d1430602f944a2481ee", "score": "0.5545395", "text": "private VariantProtos.VariantFileAttributes buildAttributesProto(Variant v, VariantSourceEntry file) {\n VariantProtos.VariantFileAttributes.Builder builder = VariantProtos.VariantFileAttributes.newBuilder();\n \n for (Map.Entry<String, String> attr : file.getAttributes().entrySet()) {\n VariantProtos.VariantFileAttributes.KeyValue.Builder kvBuilder = VariantProtos.VariantFileAttributes.KeyValue.newBuilder();\n kvBuilder.setKey(attr.getKey());\n kvBuilder.setValue(attr.getValue());\n builder.addAttrs(kvBuilder.build());\n }\n \n return builder.build();\n }", "title": "" }, { "docid": "6c8e999cb6b9ce4c0accf4e09a591cf8", "score": "0.5537855", "text": "benchmarks.google_message3.BenchmarkMessage35.Message716OrBuilder getField910OrBuilder();", "title": "" }, { "docid": "bdb858eb97e5c17d3c7e81aa2f0526d6", "score": "0.5534573", "text": "com.google.protobuf.StructOrBuilder getDiagnosticInfoOrBuilder();", "title": "" } ]
22544e2e98f180ddfc4b9163e6efd69f
This method was generated by MyBatis Generator. This method corresponds to the database table ZLNF_GRAINDEPOTHIS
[ { "docid": "a7ba2e72844efa71270adb832c05bc8a", "score": "0.0", "text": "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "title": "" } ]
[ { "docid": "6e11b55941e75ad49a039d934becd98b", "score": "0.55108464", "text": "@Override\npublic List<EntityGruppa> getResult() {\n\treturn entityGtupps;\n}", "title": "" }, { "docid": "4337e37d47b831acf2d9ad1f1c0386d6", "score": "0.5347777", "text": "@Override\r\n\tpublic List<Member> memberGenrenmG(int m_no) {\n\t\treturn sqlSession.selectList(\"main-mapper.memberGenrenmG\", m_no);\r\n\t}", "title": "" }, { "docid": "a8acae614824a19ecf5aa4e09c513d91", "score": "0.5167587", "text": "public TableModel getAllPaidGraves() {return null;}", "title": "" }, { "docid": "79abb5fbfb40f1b8c6e015aab483217c", "score": "0.51456165", "text": "@OneToMany(mappedBy=\"limpiezaLinea\")\r\n\tpublic List<LimpiezaLineaGrupo> getLimpiezaLineaGrupos() {\r\n\t\treturn this.limpiezaLineaGrupos;\r\n\t}", "title": "" }, { "docid": "0975685b4de11be3bd26fb1a11265bdc", "score": "0.5062884", "text": "public List<GruposVO> getGrupos() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "581a137dc9f981d2a6e579f81b973247", "score": "0.48505124", "text": "@Override\n\t\t\tpublic String getName() {\n\t\t\t\treturn \"GPA\";\n\t\t\t}", "title": "" }, { "docid": "f0e9447361fb8ac3b279e72476f40e0b", "score": "0.4807363", "text": "@Override\n\tpublic List<Stock_InDetail> selectAllforadmin() {\n\t\ttry {\n \t\t\treturn getSqlMapClientTemplate().queryForList(\"Stock_InDetail.selectAllforadmin\");\n \t\t\t\n\t} catch (Exception ex) {\n\t\tex.printStackTrace();\n\t}\n\treturn null;\n\t}", "title": "" }, { "docid": "a2cf6a7edadc29ee3e792054a11b4b70", "score": "0.4797674", "text": "@Override\npublic EntityGruppa getById(int keyField) {\n\tStatement st;\n\ttry {\n\t\t\n\t\tst = connection.createStatement();\n\t\tResultSet rs = st.executeQuery(\"SELECT * FROM `Gruppa` WHERE `Gruppa_id` = \"+keyField);\n\t\twhile (rs.next()) {\n\t\treturn new EntityGruppa(rs);\n\t\t}\n\t} catch (SQLException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t\tlog.error(e);\n\t}\n\t\n\treturn null;\n}", "title": "" }, { "docid": "1d4550411f38a8561f39210fcc79da70", "score": "0.4775237", "text": "public String getJP_Shipper_Name();", "title": "" }, { "docid": "10f0a733dacc02382d77a30f29994af4", "score": "0.47657555", "text": "@Override\n\tpublic String getPKFieldName() {\n\t\treturn \"pk_floor\";\n\t}", "title": "" }, { "docid": "3213c9de5f6173e6f556513b9f8333a7", "score": "0.47404087", "text": "public BigDecimal getPARTY_GL() {\r\n return PARTY_GL;\r\n }", "title": "" }, { "docid": "0103aa122f3a7138840603123e5915e4", "score": "0.47383788", "text": "@Override\r\n\tpublic String amguna2() {\n\t\treturn nDao.amguna2();\r\n\t}", "title": "" }, { "docid": "65fe452044936fcd62edd816bd9f2fb6", "score": "0.4730666", "text": "@Override\r\n\tpublic List<Zhiliaoxiangmufenleib> Gellzlxm() {\n\t\treturn zlfldao.Gellzlxm();\r\n\t}", "title": "" }, { "docid": "ac0a871928c1ae5e77bc7a98e5d6cb4b", "score": "0.47271946", "text": "public BigDecimal getPOINT_GL() {\r\n return POINT_GL;\r\n }", "title": "" }, { "docid": "c4e3367f48041867d2c8fdf3bb0c23f4", "score": "0.47269934", "text": "public void generateUserDefinedMapping() {// This method is used to\n\t\t// generate the user defined\n\t\t// mapping for OJB\n\t\tprintWriter\n\t\t\t\t.write(\"<!--********************\"\n\t\t\t\t\t\t+ \"*********OJB USER DEFINED MAPPING BEGINS HERE *********************************-->\");\n\t\tSolutionsAdapter sAdapter = saReader.getSA();\n\t\tDataObjectType dataObject = sAdapter.getDataObject();\n\t\tList listGroup = dataObject.getGroup();\n\t\tfor (Iterator groupIter = listGroup.iterator(); groupIter.hasNext();) {\n\t\t\tGroupList groupList = (GroupList) groupIter.next();\n\t\t\tList classList = groupList.getClasses();\n\t\t\tfor (int j = 0; j < classList.size(); j++) {\n\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\tprintWriter\n\t\t\t\t\t\t.write(\"<!--**************************** \"\n\t\t\t\t\t\t\t\t+ (j + 1)\n\t\t\t\t\t\t\t\t+ \" Object-Table Mapping *******************************************-->\");\n\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\tClassList classesList = (ClassList) classList.get(j);\n\t\t\t\tString className = classesList.getClassName();\n\t\t\t\tprintWriter.write(\"\\t\\t<class-descriptor \");\n\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\tprintWriter.write(\"\\t\\t\\tclass=\" + \"\\\"\" + className + \"\\\"\");// java\n\t\t\t\t// class\n\t\t\t\t// name\n\t\t\t\t// for\n\t\t\t\t// mapping\n\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\t// Specifies the table name for the class\n\t\t\t\tString onlyTableName = getTableName(className);\n\t\t\t\t// String onlyTableName =\n\t\t\t\t// className.substring(className.lastIndexOf(\".\")+1,className.length());\n\t\t\t\tprintWriter.write(\"\\t\\t\\ttable=\" + \"\\\"\" + onlyTableName + \"\\\"\");// table\n\t\t\t\t// name\n\t\t\t\t// for\n\t\t\t\t// mapping\n\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\tprintWriter.write(\"\\t\\t>\");// closing > of class descriptor\n\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\tList fieldList = classesList.getFields();\n\t\t\t\tfor (int k = 0; k < fieldList.size(); k++) {\n\t\t\t\t\tprintWriter.write(\"\\t\\t <field-descriptor\");\n\t\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\t\tFieldNameList listField = (FieldNameList) fieldList.get(k);\n\t\t\t\t\tprintWriter.write(\"\\t\\t\\tname=\" + \"\\\"\"\n\t\t\t\t\t\t\t+ listField.getFieldName() + \"\\\"\");\n\t\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\t\tList dodsMapList = listField.getDODSMap();\n\t\t\t\t\tfor (int l = 0; l < dodsMapList.size(); l++) {\n\t\t\t\t\t\tDSMapList dsType = (DSMapList) dodsMapList.get(l);\n\t\t\t\t\t\tprintWriter.write(\"\\t\\t\\tcolumn=\" + \"\\\"\"\n\t\t\t\t\t\t\t\t+ dsType.getFieldName() + \"\\\"\");\n\t\t\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\t\t\tString jdbcType = getJDBCType(listField.getFieldType());\n\t\t\t\t\t\tprintWriter.write(\"\\t\\t\\tjdbc-type=\" + \"\\\"\" + jdbcType\n\t\t\t\t\t\t\t\t+ \"\\\"\");// jdbc type\n\t\t\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\t\t\tif (dsType.getPrimaryKey().equals(\"true\")) {\n\t\t\t\t\t\t\tprintWriter\n\t\t\t\t\t\t\t\t\t.write(\"\\t\\t\\tprimarykey=\" + \"\\\"true\\\" \");\n\t\t\t\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\t\t\t\tprintWriter.write(\"\\t\\t\\tautoincrement=\"\n\t\t\t\t\t\t\t\t\t+ \"\\\"false\\\" \");\n\t\t\t\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// do nothing\n\t\t\t\t\t\t}\n\t\t\t\t\t\tprintWriter.write(\"\\t\\t/>\");// end tag for field\n\t\t\t\t\t\t// descriptor\n\t\t\t\t\t\tprintWriter.write(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tprintWriter.write(\"\\t\\t</class-descriptor>\");// end tag for\n\t\t\t\t// class\n\t\t\t\t// descriptor\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "48f3384ab3553481fc462056fce75ca2", "score": "0.47183543", "text": "@Override\n\tpublic String getTableName() {\n\t\treturn \"bd_floor\";\n\t}", "title": "" }, { "docid": "6981c23b3cb6a74a37d3ea10e135d310", "score": "0.47127622", "text": "@Override\n\tpublic String getGun(int dongcode) throws SQLException {\n\t\tString gun = sqlSession.selectOne(\"member.getGun\", dongcode);\n\t\treturn sqlSession.selectOne(\"member.getPercent\", gun);\n\t}", "title": "" }, { "docid": "56feeac1abe2257a3b92232946270823", "score": "0.4711194", "text": "public Pojo_GRRC(){\n\t}", "title": "" }, { "docid": "13ed08069abab9fe8380f04ce438b70f", "score": "0.47045353", "text": "public ArrayList<Gruppo> getGruppi() {\n \treturn gruppi;\n }", "title": "" }, { "docid": "9095fe33e23fec01fffd4200f6140658", "score": "0.46876323", "text": "public TableModel getExpiringGraves() {return null;}", "title": "" }, { "docid": "d53d5368794e9ab3ebe0c8d735303c01", "score": "0.4687051", "text": "@Override\r\n public Expression mappingCriteria(Expression base) {\r\n return null;\r\n }", "title": "" }, { "docid": "e6338ac60fdae89ca3901349b940cac2", "score": "0.46786243", "text": "@Override\r\n\tpublic List<ProductVO> prdRgtList(ProductVO pvo) {\n\t\tList<ProductVO> prdRgtList=null;\r\n\t\tprdRgtList=productDao.prdRgtList(pvo);\r\n\t\treturn prdRgtList;\t\t\r\n\t}", "title": "" }, { "docid": "0f67b0a7680b1ef0718eb54e9f830a26", "score": "0.46661517", "text": "public List<Profesional> obtener() {\n\t\t\n\t\tString query = \"select * from PROFESIONALES\";\n\t\t\n\t return template.query(query,new RowMapper<Profesional>(){ \n\t public Profesional mapRow(ResultSet rs, int row) throws SQLException { \n\t \tProfesional c=new Profesional();\n\t \tc.setRut(rs.getString(1));\n\t \tc.setNombre(rs.getString(2));\n\t \tc.setApellidos(rs.getString(3));\n\t\t\t\tc.setTelefono(rs.getString(4));\n\t\t\t\tc.setTitulo(rs.getString(5));\n\t\t\t\tc.setProyecto(rs.getString(6));\n\t\t return c;\n\t }\n\t });\n\t\n\t}", "title": "" }, { "docid": "e5e1ebd54bcb9c01b6408e14be1f9720", "score": "0.4653691", "text": "@Override\r\n\t\t\tprotected String getSQL() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "813689cf3edd6c6a1b33fffec83ba526", "score": "0.46458745", "text": "@Override\npublic String findParentKeyColumnName()\n{\n\treturn null;\n}", "title": "" }, { "docid": "37ba99c352fca2787cf0ac556e8a3f0f", "score": "0.46418414", "text": "public void setPARTY_GL(BigDecimal PARTY_GL) {\r\n this.PARTY_GL = PARTY_GL;\r\n }", "title": "" }, { "docid": "9f378d59840aa5134704182ecb64d575", "score": "0.46318874", "text": "public boolean puntoGrandeComido () {\n\n\t\treturn control.getMapa().getCelda(posicion).equals(\"pg\");\n\t}", "title": "" }, { "docid": "94f415806abf8d53d093cc2af8480480", "score": "0.46098492", "text": "public String gravar(TableDespesa despesa) {\n\t\tdespesa.setEdit(false); // Na hora de gravar desabilita o modo de edicao\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e66201f7c3675e0bfb0b5e18fc155f36", "score": "0.46054447", "text": "@Override\n public int ProductGetNextPno() {\n return sqlsession.selectOne(\"com.project.product.mapper.ProductGetNextPno\");\n }", "title": "" }, { "docid": "f21c5357e5aade4afd77c0927597ab52", "score": "0.4604821", "text": "@Select(\"select * from GEXIN_SEND_LOG where 1=1 \")\n List<Map> getAllGexinSendLogList();", "title": "" }, { "docid": "75613c08a081d59946475e50d8264b5c", "score": "0.45992953", "text": "public TableModel getGraveRegister(){return null;}", "title": "" }, { "docid": "587dd9c21ed09c9de4497f63497512f5", "score": "0.45840907", "text": "public List<POCodNum> defExistPaqPo(POCodNum PO){ \t\t\n \t POCodNum pb1 =new POCodNum();\n \t pb1.setSpcode(PO.getSpcode());\n \tpb1.setTmcode(PO.getTmcode()); \n \t List<POCodNum> lpb = dataDao.consultaPLanPaq(pb1);\n \t return lpb;\n \t}", "title": "" }, { "docid": "630bbb6e733330b89b139a902adec43c", "score": "0.45727587", "text": "public List<Grupo> listarGrupos() {\r\n return grupoDAO.listar();\r\n }", "title": "" }, { "docid": "33450999d02f30580fa4d56302173614", "score": "0.4559583", "text": "public BigDecimal getNOSTRO_GL() {\r\n return NOSTRO_GL;\r\n }", "title": "" }, { "docid": "bc0a7de8a8d09acbfaa479c1298c44cf", "score": "0.4552901", "text": "@Override\npublic Profesional obtenerprofporrut(String Rut) {\n String sql = \"SELECT * FROM PROFESIONALES WHERE RUTPROF= ?\";\n\n \n \n return template.queryForObject(sql, new Object[]{Rut}, (rs, rowNum) ->\n new Profesional(\n rs.getString(\"rutprof\"),\n rs.getString(\"nombre\"),\n rs.getString(\"apellidos\"),\n rs.getString(\"telefono\"),\n rs.getString(\"titulo\"),\n rs.getString(\"proyecto\")\n \n \t\t));\n \t\t\n \n}", "title": "" }, { "docid": "2818afcbf9db12687b8e1d516c3bcd45", "score": "0.45447335", "text": "public List<ReporteSaldoProducto> getReporteSaldoProductoPorLote(Sucursal sucursal, Bodega bodega, Date fechaHasta, Atributo atributo, String valorAtributo, int idOrganizacion, CategoriaProducto categoriaProducto, SubcategoriaProducto subcategoriaProducto, boolean indicadorLote, Lote lote, Producto producto, List<ValorAtributo> listValoresAtributos, int numeroAtributosOrganizacion)\r\n/* 332: */ {\r\n/* 333:405 */ StringBuilder sbSQL = new StringBuilder();\r\n/* 334:406 */ sbSQL.append(\" SELECT new ReporteSaldoProducto(pro.idProducto, pro.codigo, pro.codigoAlterno, pro.nombre, \");\r\n/* 335:407 */ sbSQL.append(\" subpro.idSubcategoriaProducto, subpro.codigo, subpro.nombre, \");\r\n/* 336:408 */ sbSQL.append(\" catpro.idCategoriaProducto, catpro.codigo, catpro.nombre, \");\r\n/* 337:409 */ sbSQL.append(\" b.idBodega, b.codigo, b.nombre, spl1.fecha, u.idUnidad, u.codigo, u.nombre, \");\r\n/* 338:410 */ sbSQL.append(\" uv.idUnidad, uv.codigo, uv.nombre, ua.idUnidad, ua.codigo, ua.nombre, lo.codigo, lo.idLote, spl1.saldo)\");\r\n/* 339:411 */ if (numeroAtributosOrganizacion > 0)\r\n/* 340: */ {\r\n/* 341:412 */ sbSQL = new StringBuilder(sbSQL.toString().substring(0, sbSQL.toString().length() - 1));\r\n/* 342:413 */ for (int i = 1; i <= numeroAtributosOrganizacion; i++) {\r\n/* 343:414 */ sbSQL.append(\" ,vat\" + i + \".nombre\");\r\n/* 344: */ }\r\n/* 345:416 */ sbSQL.append(\")\");\r\n/* 346: */ }\r\n/* 347:418 */ sbSQL.append(\" FROM SaldoProductoLote spl1 \");\r\n/* 348:419 */ sbSQL.append(\" RIGHT JOIN spl1.bodega b \");\r\n/* 349:420 */ sbSQL.append(\" JOIN spl1.producto pro \");\r\n/* 350:421 */ sbSQL.append(\" LEFT JOIN pro.subcategoriaProducto subpro \");\r\n/* 351:422 */ sbSQL.append(\" LEFT JOIN subpro.categoriaProducto catpro \");\r\n/* 352:423 */ sbSQL.append(\" LEFT JOIN spl1.lote lo \");\r\n/* 353:424 */ for (int i = 1; i <= numeroAtributosOrganizacion; i++) {\r\n/* 354:425 */ sbSQL.append(\" LEFT JOIN lo.valorAtributo\" + i + \" vat\" + i);\r\n/* 355: */ }\r\n/* 356:427 */ sbSQL.append(\" LEFT JOIN pro.unidad u \");\r\n/* 357:428 */ sbSQL.append(\" LEFT JOIN pro.unidadVenta uv \");\r\n/* 358:429 */ sbSQL.append(\" LEFT JOIN pro.unidadAlmacenamiento ua \");\r\n/* 359:430 */ sbSQL.append(\" WHERE pro.idOrganizacion = :idOrganizacion \");\r\n/* 360:431 */ sbSQL.append(\" AND pro.tipoProducto = :tipoProducto \");\r\n/* 361:432 */ sbSQL.append(\" AND pro.indicadorLote = :indicadorLote \");\r\n/* 362:433 */ sbSQL.append(\" AND spl1.saldo <> 0 \");\r\n/* 363:434 */ sbSQL.append(\" AND spl1.fecha IN (SELECT DISTINCT MAX(spl2.fecha) \");\r\n/* 364:435 */ sbSQL.append(\" \\t\\tFROM SaldoProductoLote spl2 \");\r\n/* 365:436 */ sbSQL.append(\" \\t\\tWHERE spl2.producto = spl1.producto AND spl2.bodega = spl1.bodega AND spl2.lote = spl1.lote \");\r\n/* 366:437 */ sbSQL.append(\" \\t\\tAND spl2.fecha <= :fechaHasta \");\r\n/* 367:438 */ sbSQL.append(\" \\t\\tGROUP BY spl2.bodega, spl2.producto, spl2.lote) \");\r\n/* 368:439 */ if (categoriaProducto != null) {\r\n/* 369:440 */ sbSQL.append(\" AND catpro = :categoriaProducto \");\r\n/* 370: */ }\r\n/* 371:442 */ if (subcategoriaProducto != null) {\r\n/* 372:443 */ sbSQL.append(\" AND subpro = :subcategoriaProducto \");\r\n/* 373: */ }\r\n/* 374:445 */ if (bodega != null) {\r\n/* 375:446 */ sbSQL.append(\" AND spl1.bodega = :bodega\");\r\n/* 376: */ }\r\n/* 377:448 */ if (lote != null) {\r\n/* 378:449 */ sbSQL.append(\" AND spl1.lote = :lote\");\r\n/* 379: */ }\r\n/* 380:451 */ if (producto != null) {\r\n/* 381:452 */ sbSQL.append(\" AND spl1.producto = :producto \");\r\n/* 382: */ }\r\n/* 383:454 */ if (atributo != null)\r\n/* 384: */ {\r\n/* 385:455 */ sbSQL.append(\" AND EXISTS (SELECT pr FROM ProductoAtributo pa JOIN pa.producto pr WHERE pa.atributo = :atributo AND pr = pro\");\r\n/* 386:456 */ if (!valorAtributo.isEmpty()) {\r\n/* 387:457 */ sbSQL.append(\" AND pa.valor = :valorAtributo \");\r\n/* 388: */ }\r\n/* 389:459 */ sbSQL.append(\" )\");\r\n/* 390: */ }\r\n/* 391:462 */ if ((listValoresAtributos != null) && (!listValoresAtributos.isEmpty()))\r\n/* 392: */ {\r\n/* 393:463 */ sbSQL.append(\" AND (\");\r\n/* 394:464 */ for (int i = 1; i <= numeroAtributosOrganizacion; i++) {\r\n/* 395:465 */ sbSQL.append(\" vat\" + i + \" IN (:listValoresAtributos) OR\");\r\n/* 396: */ }\r\n/* 397:467 */ sbSQL = new StringBuilder(sbSQL.toString().substring(0, sbSQL.toString().length() - 2));\r\n/* 398:468 */ sbSQL.append(\")\");\r\n/* 399: */ }\r\n/* 400:470 */ Query query = this.em.createQuery(sbSQL.toString());\r\n/* 401:471 */ query.setParameter(\"fechaHasta\", fechaHasta);\r\n/* 402:472 */ query.setParameter(\"tipoProducto\", TipoProducto.ARTICULO);\r\n/* 403:473 */ query.setParameter(\"idOrganizacion\", Integer.valueOf(idOrganizacion));\r\n/* 404:474 */ query.setParameter(\"indicadorLote\", Boolean.valueOf(true));\r\n/* 405:475 */ if (categoriaProducto != null) {\r\n/* 406:476 */ query.setParameter(\"categoriaProducto\", categoriaProducto);\r\n/* 407: */ }\r\n/* 408:478 */ if (subcategoriaProducto != null) {\r\n/* 409:479 */ query.setParameter(\"subcategoriaProducto\", subcategoriaProducto);\r\n/* 410: */ }\r\n/* 411:481 */ if (bodega != null) {\r\n/* 412:482 */ query.setParameter(\"bodega\", bodega);\r\n/* 413: */ }\r\n/* 414:484 */ if (lote != null) {\r\n/* 415:485 */ query.setParameter(\"lote\", lote);\r\n/* 416: */ }\r\n/* 417:487 */ if (producto != null) {\r\n/* 418:488 */ query.setParameter(\"producto\", producto);\r\n/* 419: */ }\r\n/* 420:490 */ if (atributo != null)\r\n/* 421: */ {\r\n/* 422:491 */ query.setParameter(\"atributo\", atributo);\r\n/* 423:492 */ if (!valorAtributo.isEmpty()) {\r\n/* 424:493 */ query.setParameter(\"valorAtributo\", valorAtributo);\r\n/* 425: */ }\r\n/* 426: */ }\r\n/* 427:496 */ if ((listValoresAtributos != null) && (!listValoresAtributos.isEmpty())) {\r\n/* 428:497 */ query.setParameter(\"listValoresAtributos\", listValoresAtributos);\r\n/* 429: */ }\r\n/* 430:499 */ List<ReporteSaldoProducto> lista = query.getResultList();\r\n/* 431:501 */ if (!indicadorLote)\r\n/* 432: */ {\r\n/* 433:502 */ sbSQL = new StringBuilder();\r\n/* 434:503 */ sbSQL.append(\" SELECT new ReporteSaldoProducto(pro.idProducto, pro.codigo, pro.codigoAlterno, pro.nombre, \");\r\n/* 435:504 */ sbSQL.append(\" subpro.idSubcategoriaProducto, subpro.codigo, subpro.nombre, \");\r\n/* 436:505 */ sbSQL.append(\" catpro.idCategoriaProducto, catpro.codigo, catpro.nombre, \");\r\n/* 437:506 */ sbSQL.append(\" b.idBodega, b.codigo, b.nombre, sp1.fecha, u.idUnidad, u.codigo, u.nombre, \");\r\n/* 438:507 */ sbSQL.append(\" uv.idUnidad, uv.codigo, uv.nombre, ua.idUnidad, ua.codigo, ua.nombre, '', 0, sp1.saldo) \");\r\n/* 439:508 */ sbSQL.append(\" FROM SaldoProducto sp1 \");\r\n/* 440:509 */ sbSQL.append(\" RIGHT JOIN sp1.bodega b \");\r\n/* 441:510 */ sbSQL.append(\" JOIN sp1.producto pro \");\r\n/* 442:511 */ sbSQL.append(\" LEFT JOIN pro.subcategoriaProducto subpro \");\r\n/* 443:512 */ sbSQL.append(\" LEFT JOIN subpro.categoriaProducto catpro \");\r\n/* 444:513 */ sbSQL.append(\" LEFT JOIN pro.unidad u \");\r\n/* 445:514 */ sbSQL.append(\" LEFT JOIN pro.unidadVenta uv \");\r\n/* 446:515 */ sbSQL.append(\" LEFT JOIN pro.unidadAlmacenamiento ua \");\r\n/* 447:516 */ sbSQL.append(\" WHERE pro.idOrganizacion = :idOrganizacion \");\r\n/* 448:517 */ sbSQL.append(\" AND pro.tipoProducto = :tipoProducto \");\r\n/* 449:518 */ sbSQL.append(\" AND pro.indicadorLote = :indicadorLote\");\r\n/* 450:519 */ sbSQL.append(\" AND sp1.saldo <> 0 \");\r\n/* 451:520 */ sbSQL.append(\" AND sp1.fecha IN (SELECT DISTINCT MAX(sp2.fecha) \");\r\n/* 452:521 */ sbSQL.append(\" \\t\\tFROM SaldoProducto sp2 \");\r\n/* 453:522 */ sbSQL.append(\" \\t\\tWHERE sp2.producto = sp1.producto AND sp2.bodega = sp1.bodega \");\r\n/* 454:523 */ sbSQL.append(\" \\t\\tAND sp2.fecha <= :fechaHasta \");\r\n/* 455:524 */ sbSQL.append(\" \\t\\tGROUP BY sp2.bodega, sp2.producto) \");\r\n/* 456:525 */ if (categoriaProducto != null) {\r\n/* 457:526 */ sbSQL.append(\" AND catpro = :categoriaProducto \");\r\n/* 458: */ }\r\n/* 459:528 */ if (subcategoriaProducto != null) {\r\n/* 460:529 */ sbSQL.append(\" AND subpro = :subcategoriaProducto \");\r\n/* 461: */ }\r\n/* 462:532 */ if (bodega != null) {\r\n/* 463:533 */ sbSQL.append(\" AND sp.bodega = :bodega\");\r\n/* 464: */ }\r\n/* 465:535 */ if (producto != null) {\r\n/* 466:536 */ sbSQL.append(\" AND sp.producto = :producto \");\r\n/* 467: */ }\r\n/* 468:538 */ if (atributo != null)\r\n/* 469: */ {\r\n/* 470:539 */ sbSQL.append(\" AND EXISTS (SELECT pr FROM ProductoAtributo pa JOIN pa.producto pr WHERE pa.atributo = :atributo AND pr = pro\");\r\n/* 471:540 */ if (!valorAtributo.isEmpty()) {\r\n/* 472:541 */ sbSQL.append(\" AND pa.valor = :valorAtributo \");\r\n/* 473: */ }\r\n/* 474:543 */ sbSQL.append(\" )\");\r\n/* 475: */ }\r\n/* 476:546 */ query = this.em.createQuery(sbSQL.toString());\r\n/* 477:547 */ query.setParameter(\"fechaHasta\", fechaHasta);\r\n/* 478:548 */ query.setParameter(\"tipoProducto\", TipoProducto.ARTICULO);\r\n/* 479:549 */ query.setParameter(\"idOrganizacion\", Integer.valueOf(idOrganizacion));\r\n/* 480:550 */ query.setParameter(\"indicadorLote\", Boolean.valueOf(false));\r\n/* 481:551 */ if (categoriaProducto != null) {\r\n/* 482:552 */ query.setParameter(\"categoriaProducto\", categoriaProducto);\r\n/* 483: */ }\r\n/* 484:554 */ if (subcategoriaProducto != null) {\r\n/* 485:555 */ query.setParameter(\"subcategoriaProducto\", subcategoriaProducto);\r\n/* 486: */ }\r\n/* 487:557 */ if (bodega != null) {\r\n/* 488:558 */ query.setParameter(\"bodega\", bodega);\r\n/* 489: */ }\r\n/* 490:560 */ if (producto != null) {\r\n/* 491:561 */ query.setParameter(\"producto\", producto);\r\n/* 492: */ }\r\n/* 493:563 */ if (atributo != null)\r\n/* 494: */ {\r\n/* 495:564 */ query.setParameter(\"atributo\", atributo);\r\n/* 496:565 */ if (!valorAtributo.isEmpty()) {\r\n/* 497:566 */ query.setParameter(\"valorAtributo\", valorAtributo);\r\n/* 498: */ }\r\n/* 499: */ }\r\n/* 500:569 */ lista.addAll(query.getResultList());\r\n/* 501: */ }\r\n/* 502:572 */ return lista;\r\n/* 503: */ }", "title": "" }, { "docid": "9305d2500f52b9a4a58dc8d4dd0352da", "score": "0.45440844", "text": "@Select({\n \"select\",\n \"id, supplier_company, supplier_site, supplier_bank_code, supplier_bank_name, \",\n \"supplier_extend_1, supplier_extend_2, supplier_extend_3, supplier_extend_4, \",\n \"supplier_extend_5, po_number, po_company, po_department, po_prepayment_po_number, \",\n \"po_extend_1, po_extend_2, po_extend_3, po_extend_4, po_extend_5, po_extend_6, \",\n \"po_extend_7, po_extend_8, po_extend_9, invoice_number, invoice_type, invoice_amount, \",\n \"invoide_date_received, invoice_date_expense, invoice_date_expense_start, invoice_date_expense_period, \",\n \"invoice_expense_type, invoice_fin_location, invoice_fin_currency, invoice_fin_currency_payment, \",\n \"invoice_basic_1, invoice_basic_2, invoice_basic_3, invoice_basic_4, invoice_basic_5, \",\n \"invoice_basic_6, invoice_basic_7, invoice_basic_8, invoice_basic_9\",\n \"from supplier_invoice\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"supplier_company\", property=\"supplierCompany\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"supplier_site\", property=\"supplierSite\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"supplier_bank_code\", property=\"supplierBankCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"supplier_bank_name\", property=\"supplierBankName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"supplier_extend_1\", property=\"supplierExtend1\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"supplier_extend_2\", property=\"supplierExtend2\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"supplier_extend_3\", property=\"supplierExtend3\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"supplier_extend_4\", property=\"supplierExtend4\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"supplier_extend_5\", property=\"supplierExtend5\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_number\", property=\"poNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_company\", property=\"poCompany\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_department\", property=\"poDepartment\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_prepayment_po_number\", property=\"poPrepaymentPoNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_1\", property=\"poExtend1\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_2\", property=\"poExtend2\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_3\", property=\"poExtend3\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_4\", property=\"poExtend4\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_5\", property=\"poExtend5\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_6\", property=\"poExtend6\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_7\", property=\"poExtend7\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_8\", property=\"poExtend8\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"po_extend_9\", property=\"poExtend9\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_number\", property=\"invoiceNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_type\", property=\"invoiceType\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_amount\", property=\"invoiceAmount\", jdbcType=JdbcType.DOUBLE),\n @Result(column=\"invoide_date_received\", property=\"invoideDateReceived\", jdbcType=JdbcType.DATE),\n @Result(column=\"invoice_date_expense\", property=\"invoiceDateExpense\", jdbcType=JdbcType.DATE),\n @Result(column=\"invoice_date_expense_start\", property=\"invoiceDateExpenseStart\", jdbcType=JdbcType.DATE),\n @Result(column=\"invoice_date_expense_period\", property=\"invoiceDateExpensePeriod\", jdbcType=JdbcType.DATE),\n @Result(column=\"invoice_expense_type\", property=\"invoiceExpenseType\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_fin_location\", property=\"invoiceFinLocation\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_fin_currency\", property=\"invoiceFinCurrency\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_fin_currency_payment\", property=\"invoiceFinCurrencyPayment\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_1\", property=\"invoiceBasic1\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_2\", property=\"invoiceBasic2\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_3\", property=\"invoiceBasic3\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_4\", property=\"invoiceBasic4\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_5\", property=\"invoiceBasic5\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_6\", property=\"invoiceBasic6\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_7\", property=\"invoiceBasic7\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_8\", property=\"invoiceBasic8\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"invoice_basic_9\", property=\"invoiceBasic9\", jdbcType=JdbcType.VARCHAR)\n })\n SupplierInvoice selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "f1ebed7ccbadef1207c9019647dfc87c", "score": "0.4537859", "text": "public BigDecimal getGRACE_PERIOD_OPTION() {\r\n return GRACE_PERIOD_OPTION;\r\n }", "title": "" }, { "docid": "af9c9725a60b03873f7307b267d0fe0b", "score": "0.45319584", "text": "public int getGiorno() {\n return giorno;\n }", "title": "" }, { "docid": "595b00b6b5798a9973d52bb095c54e23", "score": "0.4524649", "text": "public double getPricePerGallon()\n {\n return myPricePerGallon;\n }", "title": "" }, { "docid": "2d7b133fca81868c7f86b3a2c9a29992", "score": "0.45245692", "text": "public ScGridColumn<AcItem> newParentFlightIdColumn()\n {\n return newParentFlightIdColumn(\"Parent Flight Id\");\n }", "title": "" }, { "docid": "5374c9de319f76029f5ade21e0cb3027", "score": "0.45216122", "text": "@Optional\n @ImportColumn(\"GILTAB\")\n Property<Date> gueltigAb();", "title": "" }, { "docid": "7de521dd21bc56626b7c5939b5f43acf", "score": "0.4516144", "text": "public RestSqlProjectedColumn() {\n \t\n }", "title": "" }, { "docid": "5182eee64e9c587a98535dcbe250b69b", "score": "0.45024046", "text": "@Override\n\tpublic List<ApartDto> rankHigh() throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "26439f1b614c4bc8c5bc49643c874a52", "score": "0.4501411", "text": "@Override\n\t\t\t\tpublic Drug mapRow(ResultSet rs, int rowNum) throws SQLException {\n\t\t\t\t\tDrug d = new Drug();\n\t\t\t\t\td.setDrug_name(rs.getString(2));\n\t\t\t\t\td.setTarget(rs.getString(3));\n\t\t\t\t\tApp.queryList.add(d);\n\t\t\t\t\treturn d;\n\t\t\t\t}", "title": "" }, { "docid": "ab699b368380a2e2fd30299f056a1129", "score": "0.4498705", "text": "@SqlQuery(\"SELECT identifier, first_name, second_name, third_name, surname, is_passport, fk_country_id FROM person \")\r\n @RegisterRowMapper(personMapper.class)\r\n List<Person> getPersonList();", "title": "" }, { "docid": "a33068ef8a1d8c521cb0adca0b646eb5", "score": "0.44878024", "text": "@Override\n public String toString() {\n return \"(\"+ this.nom()+\"_\"+this.population()+\")\";\n }", "title": "" }, { "docid": "f3ae474623c851174a5050e0aaec5012", "score": "0.44869602", "text": "@Override\n\t\t\t\t\t\tpublic Map<String, Object> saveFamilyPlanningGynecologyJsp(Box box) {\n\t\t\t\t\t \tList<Visit> patientList = new ArrayList<Visit>();\n\t\t\t\t\t\t\tMap<String,Object> map = new HashMap<String,Object>();\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\tSession session = (Session) getSession();\n\t\t\t\t\t\t\t\tTransaction tx=session.beginTransaction();\n\t\t\t\t\t\t\t\tHibernateTemplate hbt = getHibernateTemplate();\n\t\t\t\t\t\t\t\thbt.setFlushModeName(\"FLUSH_EAGER\");\n\t\t\t\t\t\t\t\t//hbt.setCheckWriteOperations(false);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tFamilyPlanningGynecology familyPlanningGynecology = new FamilyPlanningGynecology();\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t Integer visitId=null;\n\t\t\t\t\t\t\t\t\tif (box.get(\"visitId\")!=null) {\n\t\t\t\t\t\t\t\t\t\tvisitId = box.getInt(\"visitId\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tInteger hinId=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"hinId\")!=null) {\n\t\t\t\t\t\t\t\t\t\thinId = box.getInt(\"hinId\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString addressForMedPractMtp=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"addressForMedPractMtp\")!=null) {\n\t\t\t\t\t\t\t\t\t\taddressForMedPractMtp = box.getString(\"addressForMedPractMtp\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tString addressForMedPractRef=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"addressForMedPractRef\")!=null) {\n\t\t\t\t\t\t\t\t\t\taddressForMedPractRef = box.getString(\"addressForMedPractRef\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString age=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"age\")!=null) {\n\t\t\t\t\t\t\t\t\t\tage = box.getString(\"age\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString days=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"days\")!=null) {\n\t\t\t\t\t\t\t\t\t\tdays = box.getString(\"days\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tInteger departmentId=null;\n\t\t\t\t\t\t\t\t\tif (box.get(\"departmentId\")!=null) {\n\t\t\t\t\t\t\t\t\t\tdepartmentId = box.getInt(\"departmentId\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tInteger familyPanningId=null;\n\t\t\t\t\t\t\t\t\tif (box.get(\"familyPanningId\")!=null) {\n\t\t\t\t\t\t\t\t\t\tfamilyPanningId = box.getInt(\"familyPanningId\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString gender=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"gender\")!=null) {\n\t\t\t\t\t\t\t\t\t\tgender = box.getString(\"gender\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tString gestationAge=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"gestationAge\")!=null) {\n\t\t\t\t\t\t\t\t\t\tgestationAge = box.getString(\"gestationAge\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString medicalPractionerReferral=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"medicalPractionerReferral\")!=null) {\n\t\t\t\t\t\t\t\t\t\tmedicalPractionerReferral = box.getString(\"medicalPractionerReferral\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString medicalPractionerMtp=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"medicalPractionerMtp\")!=null) {\n\t\t\t\t\t\t\t\t\t\tmedicalPractionerMtp = box.getString(\"medicalPractionerMtp\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString othersValue=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"othersValue\")!=null) {\n\t\t\t\t\t\t\t\t\t\tothersValue = box.getString(\"othersValue\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString patientNameFp = null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"patientNameFp\")!=null) {\n\t\t\t\t\t\t\t\t\t\tpatientNameFp = box.getString(\"patientNameFp\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString resonForFamilyPlanning=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"resonForFamilyPlanning\")!=null) {\n\t\t\t\t\t\t\t\t\t\tresonForFamilyPlanning = box.getString(\"resonForFamilyPlanning\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString typeOfTerminationUsed=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"typeOfTerminationUsed\")!=null) {\n\t\t\t\t\t\t\t\t\t\ttypeOfTerminationUsed = box.getString(\"typeOfTerminationUsed\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tInteger hospitalId=null;\n\t\t\t\t\t\t\t\t\tif (box.get(\"hospitalId\")!=null) {\n\t\t\t\t\t\t\t\t\t\thospitalId = box.getInt(\"hospitalId\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tInteger hin=null;\n\t\t\t\t\t\t\t\t\tif (box.get(\"hin\")!=null) {\n\t\t\t\t\t\t\t\t\t\thin = box.getInt(\"hin\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString gestationalAgeDays=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"gestationalAgeDays\")!=null) {\n\t\t\t\t\t\t\t\t\t\tgestationalAgeDays = box.getString(\"gestationalAgeDays\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tString gestationalAgeWeeks=null;\n\t\t\t\t\t\t\t\t\tif (box.getString(\"gestationalAgeWeeks\")!=null) {\n\t\t\t\t\t\t\t\t\t\tgestationalAgeWeeks = box.getString(\"gestationalAgeWeeks\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t//familyPlanningGynecology.set\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setVisitId(visitId);\t\n\t\t\t\t\t\t\t\t\t//familyPlanningGynecology.setHin(hin);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setHospitalId(hospitalId);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setAddressForMedPractMtp(addressForMedPractMtp);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setAddressForMedPractRef(addressForMedPractRef);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setAge(age);\t\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setDays(gestationalAgeDays);\n\t\t\t\t\t\t\t\t\t//familyPlanningGynecology.setDepartmentId(departmentId);\n\t\t\t\t\t\t\t\t\t//familyPlanningGynecology.setFamilyPanningId(familyPanningId);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setGender(gender);\n\t\t\t\t\t\t\t\t\t familyPlanningGynecology.setGestationAge(gestationAge);\t\n\t\t\t\t\t\t\t\t\t//familyPlanningGynecology.setLastChgBy(lastChgBy);\n\t\t\t\t\t\t\t\t\t//familyPlanningGynecology.setLastChgDate(lastChgDate);\n\t\t\t\t\t\t\t\t\t//familyPlanningGynecology.setLastChgTime(lastChgTime);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setMedicalPractionerReferral(medicalPractionerReferral);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setMedicalPractionerMtp(medicalPractionerMtp);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setOthers(othersValue);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setPatientName(patientNameFp);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setResonForFamilyPlanning(resonForFamilyPlanning);\n\t\t\t\t\t\t\t\t\tfamilyPlanningGynecology.setTypeOfTerminationUsed(typeOfTerminationUsed);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\thbt.saveOrUpdate(familyPlanningGynecology);\n\t\t\t\t\t\t\t\tmap.put(\"familyPlanningGynecology\",familyPlanningGynecology);\n\t\t\t\t\t\t\ttx.commit();\n\t\t\t\t\t\t}catch(Exception e){\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn map;\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "4bbddda2124fa4838981d23b32c6bdb5", "score": "0.44674808", "text": "@RequestMapping(\"worldPop\")\n public WorldPop worldPop()\n {\n try{\n WorldPop totalpop= new WorldPop();\n // Create an SQL statement\n Statement stmt = con.createStatement();\n // Create string for SQL statement\n String strSelect =\n \"SELECT SUM(country.Population) as WorldPop\"\n + \" FROM country \";\n\n // Execute SQL statement\n ResultSet rset = stmt.executeQuery(strSelect);\n // Return new employee if valid.\n // Check one is returned\n while (rset.next())\n {\n totalpop.Population = rset.getFloat(\"WorldPop\");\n\n }\n\n return totalpop;\n }\n catch (Exception e)\n {\n System.out.println(e.getMessage());\n System.out.println(\"Failed to get City details\");\n return null;\n }\n }", "title": "" }, { "docid": "c6a20b6e28b215ee058d7785f3e72444", "score": "0.4462328", "text": "public List<ReporteStockValoradoResumido> getReporteStockValoradoResumido2(Sucursal sucursal, Bodega bodega, Date fechaDesde, Date fechaHasta, Atributo atributo, String valorAtributo, int idOrganizacion, CategoriaProducto categoriaProducto, SubcategoriaProducto subcategoriaProducto)\r\n/* 33: */ {\r\n/* 34: 45 */ StringBuilder sql = new StringBuilder();\r\n/* 35: 46 */ sql.append(\" SELECT new ReporteStockValoradoResumido\");\r\n/* 36: 47 */ sql.append(\" (\");\r\n/* 37: 48 */ sql.append(\" \\tp.idProducto, p.codigo, p.nombre, sp.codigo, sp.nombre, cp.codigo, cp.nombre, b.idBodega, b.nombre,\");\r\n/* 38: 49 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseRecepcionProveedor THEN (ip.cantidad*ip.operacion) END),0)),\");\r\n/* 39: 50 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseAjusteInventario AND ip.operacion > 0 THEN ip.cantidad END),0)),\");\r\n/* 40: 51 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseTrasferencia AND ip.operacion > 0 THEN ip.cantidad END),0)),\");\r\n/* 41: 52 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDevolucionCliente AND fc.estado != :estadoAnulado THEN ip.cantidad END),0)),\");\r\n/* 42: 53 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseAjusteInventario AND ip.operacion < 0 THEN ip.cantidad END),0)),\");\r\n/* 43: 54 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseTrasferencia AND ip.operacion < 0 THEN ip.cantidad END),0)),\");\r\n/* 44: 55 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseConsumo THEN ip.cantidad END),0)),\");\r\n/* 45: 56 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDespachoCliente THEN (ip.cantidad*ip.operacion) END),0))*(-1),\");\r\n/* 46: 57 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDevolucionProveedor AND fp.estado != :estadoAnulado THEN ip.cantidad END),0)),\");\r\n/* 47: 58 */ sql.append(\" \\tu.idUnidad,u.codigo,u.nombre,uv.idUnidad,uv.codigo,uv.nombre,ua.idUnidad,ua.codigo,ua.nombre, \");\r\n/* 48: 59 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDevolucionCliente AND fc.estado = :estadoAnulado THEN ip.cantidad END),0)),\");\r\n/* 49: 60 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDevolucionProveedor AND fp.estado = :estadoAnulado THEN ip.cantidad END),0)), \");\r\n/* 50: 61 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseTransformacionProducto AND ip.operacion > 0 THEN ip.cantidad END),0)), \");\r\n/* 51: 62 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseTransformacionProducto AND ip.operacion < 0 THEN ip.cantidad END),0)), \");\r\n/* 52: 63 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseSalidaMaterial THEN (ip.cantidad*ip.operacion) END),0))*(-1), \");\r\n/* 53: 64 */ sql.append(\" \\tp.codigoAlterno, \");\r\n/* 54: 65 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseRecepcionProveedor THEN ip.costo END),0)),\");\r\n/* 55: 66 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseAjusteInventario AND ip.operacion > 0 THEN ip.costo END),0)),\");\r\n/* 56: 67 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseTrasferencia AND ip.operacion > 0 THEN ip.costo END),0)),\");\r\n/* 57: 68 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDevolucionCliente AND fc.estado != :estadoAnulado THEN ip.costo END),0)),\");\r\n/* 58: 69 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseAjusteInventario AND ip.operacion < 0 THEN ip.costo END),0)),\");\r\n/* 59: 70 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseTrasferencia AND ip.operacion < 0 THEN ip.costo END),0)),\");\r\n/* 60: 71 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseConsumo THEN ip.costo END),0)),\");\r\n/* 61: 72 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDespachoCliente THEN ip.costo END),0)),\");\r\n/* 62: 73 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDevolucionProveedor AND fp.estado != :estadoAnulado THEN ip.costo END),0)),\");\r\n/* 63: 74 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDevolucionCliente AND fc.estado = :estadoAnulado THEN ip.costo END),0)),\");\r\n/* 64: 75 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseDevolucionProveedor AND fp.estado = :estadoAnulado THEN ip.costo END),0)), \");\r\n/* 65: 76 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseTransformacionProducto AND ip.operacion > 0 THEN ip.costo END),0)), \");\r\n/* 66: 77 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseTransformacionProducto AND ip.operacion < 0 THEN ip.costo END),0)), \");\r\n/* 67: 78 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseSalidaMaterial THEN ip.costo END),0)),\");\r\n/* 68: 79 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseIngresoProduccion THEN (ip.cantidad*ip.operacion) END),0)),\");\r\n/* 69: 80 */ sql.append(\" \\tSUM(COALESCE((CASE WHEN do.documentoBase = :documentoBaseIngresoProduccion THEN ip.costo END),0))\");\r\n/* 70: 81 */ sql.append(\" )\");\r\n/* 71: 82 */ sql.append(\" FROM InventarioProducto ip \");\r\n/* 72: 83 */ sql.append(\" LEFT JOIN ip.documento do \");\r\n/* 73: 84 */ sql.append(\" LEFT JOIN ip.bodega b\");\r\n/* 74: 85 */ sql.append(\" JOIN ip.producto p\");\r\n/* 75: 86 */ sql.append(\" JOIN p.subcategoriaProducto sp\");\r\n/* 76: 87 */ sql.append(\" JOIN sp.categoriaProducto cp\");\r\n/* 77: 88 */ sql.append(\" LEFT JOIN p.unidad u \");\r\n/* 78: 89 */ sql.append(\" LEFT JOIN p.unidadVenta uv \");\r\n/* 79: 90 */ sql.append(\" LEFT JOIN p.unidadAlmacenamiento ua \");\r\n/* 80: 91 */ sql.append(\" LEFT JOIN ip.detalleDevolucionCliente dvc \");\r\n/* 81: 92 */ sql.append(\" LEFT JOIN dvc.facturaCliente fc \");\r\n/* 82: 93 */ sql.append(\" LEFT JOIN ip.detalleDevolucionProveedor dvp \");\r\n/* 83: 94 */ sql.append(\" LEFT JOIN dvp.facturaProveedor fp \");\r\n/* 84: 95 */ sql.append(\" WHERE ip.fecha BETWEEN :fechaDesde AND :fechaHasta AND p.tipoProducto=:tipoProducto\");\r\n/* 85: 96 */ sql.append(\" AND ip.idOrganizacion = :idOrganizacion \");\r\n/* 86: 98 */ if (categoriaProducto != null) {\r\n/* 87: 99 */ sql.append(\" AND cp = :categoriaProducto \");\r\n/* 88: */ }\r\n/* 89:101 */ if (subcategoriaProducto != null) {\r\n/* 90:102 */ sql.append(\" AND sp = :subcategoriaProducto \");\r\n/* 91: */ }\r\n/* 92:105 */ if (sucursal != null) {\r\n/* 93:106 */ sql.append(\" AND ip.idSucursal = :idSucursal \");\r\n/* 94: */ }\r\n/* 95:109 */ if (bodega != null) {\r\n/* 96:110 */ sql.append(\" AND ip.bodega = :bodega \");\r\n/* 97: */ }\r\n/* 98:113 */ if (atributo != null)\r\n/* 99: */ {\r\n/* 100:114 */ sql.append(\" AND EXISTS (SELECT pr FROM ProductoAtributo pa JOIN pa.producto pr WHERE pa.atributo = :atributo AND p = pr\");\r\n/* 101:116 */ if (!valorAtributo.isEmpty()) {\r\n/* 102:117 */ sql.append(\" AND pa.valor = :valorAtributo \");\r\n/* 103: */ }\r\n/* 104:119 */ sql.append(\" )\");\r\n/* 105: */ }\r\n/* 106:122 */ sql.append(\" GROUP BY p.idProducto, p.codigo, p.nombre, sp.codigo, sp.nombre, cp.codigo, cp.nombre,\");\r\n/* 107:123 */ sql.append(\" b.idBodega, b.nombre,u.idUnidad,u.codigo,u.nombre,uv.idUnidad,uv.codigo,uv.nombre,ua.idUnidad,ua.codigo,ua.nombre, p.codigoAlterno \");\r\n/* 108:124 */ sql.append(\" ORDER BY b.nombre, p.nombre\");\r\n/* 109:125 */ Query query = this.em.createQuery(sql.toString());\r\n/* 110:126 */ query.setParameter(\"fechaDesde\", fechaDesde);\r\n/* 111:127 */ query.setParameter(\"fechaHasta\", fechaHasta);\r\n/* 112:128 */ query.setParameter(\"idOrganizacion\", Integer.valueOf(idOrganizacion));\r\n/* 113:129 */ query.setParameter(\"documentoBaseRecepcionProveedor\", DocumentoBase.RECEPCION_BODEGA);\r\n/* 114:130 */ query.setParameter(\"documentoBaseAjusteInventario\", DocumentoBase.AJUSTE_INVENTARIO);\r\n/* 115:131 */ query.setParameter(\"documentoBaseTrasferencia\", DocumentoBase.TRANSFERENCIA_BODEGA);\r\n/* 116:132 */ query.setParameter(\"documentoBaseDevolucionCliente\", DocumentoBase.DEVOLUCION_CLIENTE);\r\n/* 117:133 */ query.setParameter(\"documentoBaseConsumo\", DocumentoBase.CONSUMO_BODEGA);\r\n/* 118:134 */ query.setParameter(\"documentoBaseDespachoCliente\", DocumentoBase.DESPACHO_BODEGA);\r\n/* 119:135 */ query.setParameter(\"documentoBaseDevolucionProveedor\", DocumentoBase.DEVOLUCION_PROVEEDOR);\r\n/* 120:136 */ query.setParameter(\"documentoBaseTransformacionProducto\", DocumentoBase.TRANSFORMACION_PRODUCTO);\r\n/* 121:137 */ query.setParameter(\"documentoBaseSalidaMaterial\", DocumentoBase.SALIDA_MATERIAL);\r\n/* 122:138 */ query.setParameter(\"documentoBaseIngresoProduccion\", DocumentoBase.INGRESO_PRODUCCION);\r\n/* 123:139 */ query.setParameter(\"tipoProducto\", TipoProducto.ARTICULO);\r\n/* 124:140 */ query.setParameter(\"estadoAnulado\", Estado.ANULADO);\r\n/* 125:142 */ if (sucursal != null) {\r\n/* 126:143 */ query.setParameter(\"idSucursal\", Integer.valueOf(sucursal.getIdSucursal()));\r\n/* 127: */ }\r\n/* 128:146 */ if (bodega != null) {\r\n/* 129:147 */ query.setParameter(\"bodega\", bodega);\r\n/* 130: */ }\r\n/* 131:149 */ if (atributo != null)\r\n/* 132: */ {\r\n/* 133:150 */ query.setParameter(\"atributo\", atributo);\r\n/* 134:151 */ if (!valorAtributo.isEmpty()) {\r\n/* 135:152 */ query.setParameter(\"valorAtributo\", valorAtributo);\r\n/* 136: */ }\r\n/* 137: */ }\r\n/* 138:155 */ if (categoriaProducto != null) {\r\n/* 139:156 */ query.setParameter(\"categoriaProducto\", categoriaProducto);\r\n/* 140: */ }\r\n/* 141:158 */ if (subcategoriaProducto != null) {\r\n/* 142:159 */ query.setParameter(\"subcategoriaProducto\", subcategoriaProducto);\r\n/* 143: */ }\r\n/* 144:162 */ return query.getResultList();\r\n/* 145: */ }", "title": "" }, { "docid": "dd9cf56cc391bf6dd72fbc837a1c62fa", "score": "0.44593593", "text": "TypePointGeometrique getPointEntreePointGeometrique();", "title": "" }, { "docid": "3298beab788dde357b73cd3572d04440", "score": "0.44525233", "text": "public void setPOINT_GL(BigDecimal POINT_GL) {\r\n this.POINT_GL = POINT_GL;\r\n }", "title": "" }, { "docid": "122f968ff70a4432ccf4caeae7bb9556", "score": "0.44523984", "text": "@Override\r\n\tprotected String getSqlString() {\n\t\treturn \" select kinddebtreg_id, kindparreg_id, fullname, parreg_code , parreg_name from kindparreg \";\r\n\t}", "title": "" }, { "docid": "98950914176726cd78612153780eaa94", "score": "0.44497672", "text": "@Override\r\n\tpublic String getFullName() {\r\n\t\treturn this.getTable().getName() + \".\" + super.getName();\r\n\t}", "title": "" }, { "docid": "b606b18eef146ff675de1829ef71be7e", "score": "0.4447126", "text": "public java.lang.String getRelationshipName(){\n return localRelationshipName;\n }", "title": "" }, { "docid": "669d40e69a23b6fe9e1c4a38b44dedc8", "score": "0.44404683", "text": "String ColumnForTableDrop(int plngMember);", "title": "" }, { "docid": "b9e1bbd0c0ea47ae462728f996d5a606", "score": "0.44393012", "text": "public BigDecimal getDEBIT_ACCRUALS_GRACE_PRD() {\r\n return DEBIT_ACCRUALS_GRACE_PRD;\r\n }", "title": "" }, { "docid": "a23443713688c02739355df66cf65c95", "score": "0.4438327", "text": "void genereIDGeoPostgres() {\r\n\t\ttry {\r\n\t\t\tConnection conn = data.getConnection();\r\n\t\t\tconn.commit();\r\n\t\t\tStatement stm = conn.createStatement();\r\n\t\t\tString query = \"SELECT COUNT(*) FROM \" + nomTable;\r\n\t\t\tResultSet rs = stm.executeQuery(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint nbCount = ((Number)rs.getObject(1)).intValue();\r\n\t\t\t\tlogger.info(nbCount + \" objets dans la table \" + nomTable + \" ... generation des identifiants ...\");\r\n\t\t\t}\r\n\t\t\t// création d'une séquence\r\n\t\t\ttry {\r\n\t\t\t\tString update = \"create SEQUENCE seq_genere_id_geo\";\r\n\t\t\t\tstm.executeUpdate(update);\r\n\t\t\t} catch (Exception ee) {\r\n\t\t\t\t// La séquence existe déjà !\r\n\t\t\t\tconn.commit();\r\n\t\t\t}\r\n\t\t\tconn.commit();\r\n\t\t\t// Si le maxID vaut 0 (il n'y a pas encore d'identifiant dans la base), on le force à 1\r\n\t\t\tif (maxID == 0) {\r\n\t\t\t\tmaxID = 1;\r\n\t\t\t}\r\n\t\t\t// Affectation du maxID à la séquence\r\n\t\t\t// On a pas besoin de l'affecter à maxID+1 puisque l'on utilise toujours nextval pour affecter les identifiants\r\n\t\t\tquery = \"SELECT setval ('seq_genere_id_geo', \" + maxID + \")\";\r\n\t\t\trs = stm.executeQuery(query);\r\n\t\t\twhile (rs.next()) { }\r\n\t\t\tconn.commit();\r\n\t\t\t// Mise à jour de la table à l'aide de la sequence\r\n\t\t\tString update = \"update \" + nomTable + \" set id_geo = nextval('seq_genere_id_geo')\";\r\n\t\t\tstm.executeUpdate(update);\r\n\t\t\tconn.commit();\r\n\t\t\t// on enleve si ancienne cle primaire\r\n\t\t\t// Arnaud 28 oct : modif\r\n\t\t\tquery = \"select con.conname, con.contype from pg_constraint con, pg_class cl\";\r\n\t\t\tquery = query + \" where con.conrelid = cl.oid\";\r\n\t\t\tquery = query + \" and cl.relname='\" + nomTable + \"'\";\r\n\t\t\trs = stm.executeQuery(query);\r\n\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\tString conName = \"\";\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tString conType = rs.getString(2);\r\n\t\t\t\tif (conType.compareToIgnoreCase(\"p\") == 0) {\r\n\t\t\t\t\tconName = rs.getString(1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// fin\r\n\t\t\tstm.close();\r\n\t\t\tconn.commit();\r\n\t\t} catch (Exception e) {\r\n\t\t\tlogger.info(nomTable);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0d98bec5c3a7879b6e46d2774f71589c", "score": "0.4436543", "text": "public BigDecimal getGRACE_PERIOD() {\r\n return GRACE_PERIOD;\r\n }", "title": "" }, { "docid": "db261d83d84b32aa9537ec4439fc487e", "score": "0.44348675", "text": "@Override\n\tpublic List<ApartDto> rankLow() throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6225db92e519bd8d4391d1e912873fe3", "score": "0.4429062", "text": "@Override\n\tpublic String toSQL() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "bf3cd783893adc52c2b8a4188608c1ee", "score": "0.4428708", "text": "@Override\n\tpublic String selectGYProc(Map<String, String> map) throws HibernateException {\n\n\t\tString result = \"\";\n\t\tlog.info(\"Usr_IdNo==>\" + map.get(\"Usr_IdNo\"));\n\t\tlog.info(\"XML_TYPE_NAME==>\" + map.get(\"XML_TYPE_NAME\"));\n\t\ttry {\n\n\t\t\tSession session = HibernateUtil.currentSession();\n\t\t\tCallableStatement proc = session.connection().prepareCall(\"{call TD_TRADE_PACKKAGE.TD_ARRY_proc(?,?,?)}\");\n\t\t\tproc.setString(1, map.get(\"Usr_IdNo\"));\n\t\t\tproc.setString(2, map.get(\"XML_TYPE_NAME\"));\n\t\t\tproc.registerOutParameter(3, oracle.jdbc.OracleTypes.CURSOR);\n\n\t\t\tproc.execute();\n\t\t\tResultSet rs = (ResultSet) proc.getObject(3);\n\n\t\t\twhile (rs.next()) {\n\t\t\t\tresult += \"|TD_ID=\" + rs.getString(1) + \";USR_NM=\" + rs.getString(2) + \";USR_ID=\" + rs.getString(3) + \";TD_DATE=\" + rs.getString(4) + \";\";\n\t\t\t}\n\n\t\t\tlog.info(\"查询记录的结果是:\" + result);\n\t\t\tmap.put(\"result\", result);\n\t\t\tlog.info(\"查询报文是==>\" + map.get(\"TD_MSG\"));\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\" 报错\" + e);\n\t\t\tHibernateUtil.closeFactory();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tHibernateUtil.closeSession();\n\t\t\t} catch (Exception ex) {\n\t\t\t\tlog.error(\" 报错\" + ex);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "4ff82836dffcd0029f6a2c1f7f218660", "score": "0.44265586", "text": "public List<Map<String,Object>> prod_fb(long prod_id,String prod_rs_id,String start_date,String end_date){\r\n\t\tString sql=\"select a.cust_no,a.prod_no ,a.order_version, a.order_no,c.cust_name,b.prod_id,b.return_money,\"\r\n\t\t\t\t+ \"b.return_coe,b.shkno,b.return_date, d.sales_id, d.sales_name,d.order_version, oi.org_name from order_info a\t\"\r\n\t\t\t\t+ \"inner join sale_order d on a.order_no=d.order_no and a.stateflag='0' \"\r\n\t\t\t\t+ \"left join product_return_sale b on b.prod_id = a.prod_no \"\r\n\t\t\t\t+ \"left join cust_info c on c.cust_id = a.cust_no\t\"\r\n\t\t\t\t+ \"left join org_info oi on oi.org_id = a.cust_no \"\r\n\t\t\t\t+ \"where a.prod_no=? and prod_flag='4' and a.is_checked='2' and shkno =? and return_date \"\r\n\t\t\t\t+ \"between cast(? as date) and cast(? as date) \";\r\n\t\treturn jt.queryForList(sql,prod_id,prod_rs_id,start_date,end_date);\r\n\t}", "title": "" }, { "docid": "a2131c5485c155cc1f914adb8eb98c31", "score": "0.4425388", "text": "public void generateMapping() {//This method is used to generate the OJB mapping file\n\t\tsetDataSourceDetails();//for testing now\n\t\tgenerateHeader();//Method to generate the header of the repository.xml file\n\t\tgenerateDbConfigMapping();//method to generate OJB specific database mapping\n\t\tgenerateInternalMapping();//method to generate the OJB internal mapping\n\t\tgenerateUserDefinedMapping();\n\t\tgenerateFooter();\n\t}", "title": "" }, { "docid": "1d8258cd6d048e2ce66745cc03660ec4", "score": "0.4407138", "text": "@Override\r\n\tpublic long getGplienvanID() {\r\n\t\treturn _qlvtThongTinHoSoLienVan.getGplienvanID();\r\n\t}", "title": "" }, { "docid": "0cb5b33cba5dd0e529fbbf9fb9d869ed", "score": "0.44045317", "text": "private void ordenPorGrado() {\r\n\t\tfor(int i=1;i<zonas.size();i++){\r\n\t\t\tint aux= zonas.get(i).getGradoVertice();\r\n\t\t\tZona z = iesima(i);\r\n\t\t\tint j =i;\r\n\t\t\tfor(;j>0&&aux>(zonas.get(j-1).getGradoVertice());j--)\r\n\t\t\t\tzonas.set(j, zonas.get(j-1));\r\n\t\t\tzonas.set(j, z);\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ea5f54e96d266fbc9e5fabd8a3462e8e", "score": "0.4395461", "text": "public BigDecimal getREFUND_GL() {\r\n return REFUND_GL;\r\n }", "title": "" }, { "docid": "699d495c6177b67a4de4164aef722a8e", "score": "0.43920535", "text": "public double representAsGallons()\r\n {\r\n return getBaseAmount() / 8;\r\n }", "title": "" }, { "docid": "ffa603ac9b2ced66e1a32080ffd0a6ff", "score": "0.43899348", "text": "public String getPgName() {\r\n return pgName;\r\n }", "title": "" }, { "docid": "6beeedefbbdae71cecf3df9c2d219b05", "score": "0.4382074", "text": "public ResultSet fetchGroceryList() {\r\n\t\ttry {\r\n\t\t\tpreparedStatement = connect.prepareStatement(\"select * from Grocery\");\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn resultSet;\r\n\t}", "title": "" }, { "docid": "a3e79ff84d9642dea99eed4c9d7c2d01", "score": "0.43809956", "text": "public interface BugCheckMapper {\n\n\n @Select(\"select realname as bugReporter,count(bi.created_by) as bugNum FROM bf_bug_info bi LEFT JOIN bf_product pr ON pr.id = bi.product_id LEFT JOIN bf_test_user bu ON bi.created_by = bu.id\" +\n \" where pr.id = #{2} and bug_status in('Resolved') AND bi.updated_at between #{0} and #{1} group by bi.created_by\")\n List<BugCheckObject> getList(String startDate, String endDate, String project);\n\n}", "title": "" }, { "docid": "a8d6ceb42a2490acdbd6a27b0bdaa9c9", "score": "0.43809047", "text": "@Override\n public Organisation map(ResultSet rs, StatementContext ctx) throws SQLException {\n return new Organisation(rs.getLong(1), rs.getString(2));\n }", "title": "" }, { "docid": "d5999c6dd0b304e566f577b135c88aad", "score": "0.43787432", "text": "@Override\n\tpublic int getRank(int dongcode) throws SQLException {\n\t\tString gun = sqlSession.selectOne(\"member.getGun\", dongcode);\n\t\treturn sqlSession.selectOne(\"member.getRank\", gun);\n\t}", "title": "" }, { "docid": "fd41ac67967070bf1fde7d0336d45341", "score": "0.43753484", "text": "protected boolean generateSQL() {\r\n return true;\r\n }", "title": "" }, { "docid": "269e3b3db84d406429401b3aa72bf09a", "score": "0.43751207", "text": "public String produtoPorF() {\n\t\tString pesquisaProduto = \"SELECT fornecedor.fornecedorID, fornecedor.fornNomeFantasia, tipoproduto.tipoprodutoID, tipoproduto.tipo, produto.* \";\n\t\tpesquisaProduto += \"FROM produto INNER JOIN fornecedor ON fornecedor.fornecedorID = produto.fornecedorID \";\n\t\tpesquisaProduto += \"INNER JOIN tipoproduto ON tipoproduto.tipoprodutoID = produto.tipoprodutoID \";\n\t\tpesquisaProduto += \"WHERE produto.fornecedorID = '\"+fornecedor.fornecedorID+\"' \";\n\t\tpesquisaProduto += \"ORDER BY produto.nome ASC\";\n\t\t\n\t\treturn pesquisaProduto;\n\t}", "title": "" }, { "docid": "b07922bd72f283b704e1e89fd163cbab", "score": "0.43660492", "text": "@Override\n public List<OrderedBillLs> getOrderedBillList(Date date) {\n String qry = \"select new com.ites.poswebservice.model.random.OrderedBillLs(fpg.confNo,fkm.kotNo,mrs.tableName,fkm.mealPeriod,fpg.firstName,fpg.lastName,fpg.adult,fpg.children,fpg.roomNo,usr.userName,fpg.systemDate,fpg.states,fkm.resturentId,fkm.billNo,fbs.isPaid,fpg.gueststates) \"\n + \" from \"\n + \" MRestaurantTable as mrs,\"\n + \" FrontPosguest as fpg,\"\n + \" FrontKotBotMain as fkm,\"\n + \" FrontBillSplit as fbs,\"\n + \" Userlogin as usr \"\n + \" where \"\n + \" usr.userID = fkm.userId\" \n + \" and fkm.kotNo = fbs.kotNo \"\n + \" and fkm.tableNo = mrs.tableId \"\n + \" and fkm.posGuestno = fpg.posGuestno\"\n + \" and fkm.state = '1'\"\n + \" and fkm.openInTable = '0' \";\n// + \" and fkm.currentDate like '2017-01-06%' \";\n// + \" and fkm.currentDate = '\" + date + \"'\";//2018-10-08 15:52:59 ,fkm.kotNo,fkm.mealPeriod,fkm.resturentId,fkm.billNo\n \n try {\n Session session = getPosSession();\n List<OrderedBillLs> orderedBills = (List<OrderedBillLs>) session.createQuery(qry).list();\n return orderedBills;\n } catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "c65fc7d89d0df2a3472fbe8c0744245b", "score": "0.43651932", "text": "private void cargarGrilla() {\r\n\t\t\r\n\t\ttabla.vaciar();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tfila = new Object[tabla.getColumnCount()];\r\n\t\tfor (Rol r : listRol) {\r\n\t\t\tfila[0] = r.getId();\r\n\t\t\tfila[1] = r.getDescri();\r\n\t\t\t\r\n\t\t\ttabla.agregar(fila);\r\n \t\t}\r\n\t\t\r\n\t\t\r\n\t\t//mantiene el foco en el ultimo registro cargado\r\n\t\ttabla.setSeleccion();\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3aab439c430805c72219b8741d5bc862", "score": "0.43623638", "text": "public List<ReporteSaldoProducto> getReporteSaldoProducto(Sucursal sucursal, Bodega bodega, Date fechaDesde, Atributo atributo1, String valorAtributo1, int idOrganizacion, CategoriaProducto categoriaProducto, SubcategoriaProducto subcategoriaProducto, Atributo atributo2, String valorAtributo2, Boolean indicadorSaldoCero)\r\n/* 214: */ {\r\n/* 215:268 */ StringBuilder sbSQL = new StringBuilder();\r\n/* 216:270 */ if ((atributo1 != null) || (atributo2 != null))\r\n/* 217: */ {\r\n/* 218:272 */ sbSQL.append(\" SELECT new ReporteSaldoProducto(pro.idProducto, pro.codigo, pro.codigoAlterno, pro.nombre\");\r\n/* 219:273 */ sbSQL.append(\", subpro.idSubcategoriaProducto, subpro.codigo, subpro.nombre\");\r\n/* 220:274 */ sbSQL.append(\", catpro.idCategoriaProducto, catpro.codigo, catpro.nombre\");\r\n/* 221:275 */ sbSQL.append(\", b.idBodega, b.codigo, b.nombre,MAX(sp.fecha),u.idUnidad,u.codigo,u.nombre,uv.idUnidad,uv.codigo,uv.nombre,ua.idUnidad,ua.codigo,ua.nombre\");\r\n/* 222:276 */ if ((atributo1 != null) && (atributo2 != null))\r\n/* 223: */ {\r\n/* 224:277 */ sbSQL.append(\", pa1.valor, pa2.valor\");\r\n/* 225: */ }\r\n/* 226: */ else\r\n/* 227: */ {\r\n/* 228:279 */ if (atributo1 != null) {\r\n/* 229:280 */ sbSQL.append(\", pa1.valor \");\r\n/* 230: */ }\r\n/* 231:282 */ if (atributo2 != null) {\r\n/* 232:283 */ sbSQL.append(\", pa2.valor \");\r\n/* 233: */ }\r\n/* 234: */ }\r\n/* 235:286 */ sbSQL.append(\", pro.nombreComercial ) \");\r\n/* 236:287 */ sbSQL.append(\" FROM SaldoProducto sp \");\r\n/* 237:288 */ sbSQL.append(\" INNER JOIN sp.bodega b\");\r\n/* 238:289 */ sbSQL.append(\" INNER JOIN sp.producto pro \");\r\n/* 239:290 */ sbSQL.append(\" INNER JOIN pro.subcategoriaProducto subpro\");\r\n/* 240:291 */ sbSQL.append(\" INNER JOIN subpro.categoriaProducto catpro\");\r\n/* 241:292 */ sbSQL.append(\" LEFT JOIN pro.unidad u \");\r\n/* 242:293 */ sbSQL.append(\" LEFT JOIN pro.unidadVenta uv \");\r\n/* 243:294 */ sbSQL.append(\" LEFT JOIN pro.unidadAlmacenamiento ua \");\r\n/* 244:295 */ if (atributo1 != null) {\r\n/* 245:296 */ sbSQL.append(\" ,ProductoAtributo pa1 \");\r\n/* 246: */ }\r\n/* 247:298 */ if (atributo2 != null) {\r\n/* 248:299 */ sbSQL.append(\" ,ProductoAtributo pa2 \");\r\n/* 249: */ }\r\n/* 250:301 */ sbSQL.append(\" WHERE sp.fecha<=:fechaDesde\");\r\n/* 251:302 */ sbSQL.append(\" AND sp.saldo <> 0 \");\r\n/* 252:303 */ sbSQL.append(\" AND pro.tipoProducto=:tipoProducto\");\r\n/* 253:304 */ sbSQL.append(\" AND pro.idOrganizacion=:idOrganizacion\");\r\n/* 254:306 */ if (atributo1 != null)\r\n/* 255: */ {\r\n/* 256:307 */ sbSQL.append(\" AND pa1.producto=pro \");\r\n/* 257:308 */ sbSQL.append(\" AND pa1.atributo=:atributo1 \");\r\n/* 258:309 */ if ((valorAtributo1 != null) && (!valorAtributo1.isEmpty())) {\r\n/* 259:310 */ sbSQL.append(\" AND pa1.valor=:valorAtributo1 \");\r\n/* 260: */ }\r\n/* 261: */ }\r\n/* 262:313 */ if (atributo2 != null)\r\n/* 263: */ {\r\n/* 264:314 */ sbSQL.append(\" AND pa2.producto=pro \");\r\n/* 265:315 */ sbSQL.append(\" AND pa2.atributo=:atributo2 \");\r\n/* 266:316 */ if ((valorAtributo2 != null) && (!valorAtributo2.isEmpty())) {\r\n/* 267:317 */ sbSQL.append(\" AND pa2.valor=:valorAtributo2 \");\r\n/* 268: */ }\r\n/* 269: */ }\r\n/* 270:321 */ if (categoriaProducto != null) {\r\n/* 271:322 */ sbSQL.append(\" AND catpro = :categoriaProducto \");\r\n/* 272: */ }\r\n/* 273:324 */ if (subcategoriaProducto != null) {\r\n/* 274:325 */ sbSQL.append(\" AND subpro = :subcategoriaProducto \");\r\n/* 275: */ }\r\n/* 276:327 */ if (bodega != null) {\r\n/* 277:328 */ sbSQL.append(\" AND sp.bodega = :bodega\");\r\n/* 278: */ }\r\n/* 279:330 */ if ((null != indicadorSaldoCero) && (indicadorSaldoCero.booleanValue())) {\r\n/* 280:331 */ sbSQL.append(\" AND pro.activo = true\");\r\n/* 281: */ }\r\n/* 282:334 */ sbSQL.append(\" GROUP BY pro.idProducto, pro.codigo, pro.codigoAlterno, pro.nombre\");\r\n/* 283:335 */ sbSQL.append(\", subpro.idSubcategoriaProducto, subpro.codigo, subpro.nombre\");\r\n/* 284:336 */ sbSQL.append(\", catpro.idCategoriaProducto, catpro.codigo, catpro.nombre\");\r\n/* 285:337 */ sbSQL.append(\", b.idBodega, b.codigo, b.nombre,u.idUnidad,u.codigo,u.nombre,uv.idUnidad,uv.codigo,uv.nombre,ua.idUnidad,ua.codigo,ua.nombre, pro.nombreComercial \");\r\n/* 286:339 */ if ((atributo1 != null) && (atributo2 != null))\r\n/* 287: */ {\r\n/* 288:340 */ sbSQL.append(\", pa1.valor, pa2.valor \");\r\n/* 289: */ }\r\n/* 290: */ else\r\n/* 291: */ {\r\n/* 292:342 */ if (atributo1 != null) {\r\n/* 293:343 */ sbSQL.append(\" ,pa1.valor \");\r\n/* 294: */ }\r\n/* 295:345 */ if (atributo2 != null) {\r\n/* 296:346 */ sbSQL.append(\" ,pa2.valor \");\r\n/* 297: */ }\r\n/* 298: */ }\r\n/* 299:350 */ Query query = this.em.createQuery(sbSQL.toString());\r\n/* 300:351 */ query.setParameter(\"fechaDesde\", fechaDesde);\r\n/* 301:352 */ query.setParameter(\"tipoProducto\", TipoProducto.ARTICULO);\r\n/* 302:353 */ query.setParameter(\"idOrganizacion\", Integer.valueOf(idOrganizacion));\r\n/* 303:354 */ if (categoriaProducto != null) {\r\n/* 304:355 */ query.setParameter(\"categoriaProducto\", categoriaProducto);\r\n/* 305: */ }\r\n/* 306:357 */ if (subcategoriaProducto != null) {\r\n/* 307:358 */ query.setParameter(\"subcategoriaProducto\", subcategoriaProducto);\r\n/* 308: */ }\r\n/* 309:360 */ if (bodega != null) {\r\n/* 310:361 */ query.setParameter(\"bodega\", bodega);\r\n/* 311: */ }\r\n/* 312:364 */ if (atributo1 != null)\r\n/* 313: */ {\r\n/* 314:365 */ query.setParameter(\"atributo1\", atributo1);\r\n/* 315:366 */ if ((valorAtributo1 != null) && (!valorAtributo1.isEmpty())) {\r\n/* 316:367 */ query.setParameter(\"valorAtributo1\", valorAtributo1);\r\n/* 317: */ }\r\n/* 318: */ }\r\n/* 319:370 */ if (atributo2 != null)\r\n/* 320: */ {\r\n/* 321:371 */ query.setParameter(\"atributo2\", atributo2);\r\n/* 322:372 */ if ((valorAtributo2 != null) && (!valorAtributo2.isEmpty())) {\r\n/* 323:373 */ query.setParameter(\"valorAtributo2\", valorAtributo2);\r\n/* 324: */ }\r\n/* 325: */ }\r\n/* 326:377 */ return query.getResultList();\r\n/* 327: */ }\r\n/* 328:380 */ return getReporteSaldoProducto(sucursal, bodega, fechaDesde, null, null, idOrganizacion, categoriaProducto, subcategoriaProducto, indicadorSaldoCero);\r\n/* 329: */ }", "title": "" }, { "docid": "ca3879b0532e332deacbcdd3de5b86a1", "score": "0.43600464", "text": "public void mapToGranule () throws InventoryException {\n\t\tString datasetName = null;\n\t\tDataset ds = null;\n\t\ttry {\n\t\t\tdatasetName = metadata.getDatasetName(); \n\t\t} catch (NullPointerException npe) {\n\t\t\tthrow new InventoryException(\"DatasetName NPE!\");\n\t\t}\n\t\tif (datasetName==null)\n\t\t\tthrow new InventoryException(\"DatasetName is null!\");\n\t\telse {\n\t\n\t\t\tDataset dsInstance = new Dataset();\n\t\t\tdsInstance.setShortName(datasetName);\n\t\t\t//List<Dataset> dsList = q.fetchDatasetList(dsInstance, \"datasetPolicy\", \"locationPolicySet\", \"datasetElementSet\");\n\t\t\tList<Dataset> dsList = q.fetchDatasetList(dsInstance, \"datasetPolicy\", \"locationPolicySet\");\n\t\t\t\n\t\t\tif (dsList == null)\t\n\t\t\t\t\tthrow new InventoryException(\"DatasetName \"+datasetName+\" not found!\");\n\t\t\telse {\t\n\t\t\t\t ds = null;\n\t\t\t\ttry{\n\t\t\t\t\t ds = dsList.get(0);\n\t\t\t\t}catch(IndexOutOfBoundsException e)\n\t\t\t\t{\n\t\t\t\t\tthrow new InventoryException(\"Dataset[\"+datasetName+\"] does not exist.\");\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"Setting dataset to Granule.\");\n\t\t\t\tthis.granule.setDataset(ds);\n\t\t\t\tDatasetPolicy policy = ds.getDatasetPolicy();\n\n\t\t\t\tif (policy == null) {\n\t\t\t\t\tthrow new InventoryException(\"Cannot find dataset policy!\");\n\t\t\t\t}\n\t\t\t\t\n//\t\t\t\tdsVersioned = policy.getVersioned().toString();\n//\t\t\t\tdsVersionPolicy = policy.getVersionPolicy();\n//\t\t\t\t\n//\t\t\t\tlog.debug(\"Dataset versioned: \" + dsVersioned);\n//\t\t\t\tlog.debug(\"Dataset versionPolicy: \" + dsVersionPolicy);\n\t\t\t\t\n\t\t\t\t// set granule metadata inherited from its dataset\n\t\t\t\ttry {\t\n\t\t\t\t\tif (policy.getAccessType()==null) \n\t\t\t\t\t\tthrow new InventoryException(\"AccessType is null!\");\n\t\t\t\t\telse \n\t\t\t\t\t\tthis.granule.setAccessType(policy.getAccessType());\n\t\t\t\t} catch (NullPointerException npe) {\n\t\t\t\t\tthrow new InventoryException(\"AccessType NPE!\");\n\t\t\t\t}\n\t\t\t\t//Checksum code\n\t\t\t\tboolean checksumFound = false;\n\t\t\t\ttry {\n\t\t\t\t\tSet<GranuleFile> gf = metadata.getFiles();\n\t\t\t\t\tfor(GranuleFile granuleFile: gf)\n\t\t\t\t\t{\n\t\t\t\t\t\tfor(BasicFileInfo b :granuleFile.getSources())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (b.getChecksumAlgorithm()==null) \n\t\t\t\t\t\t\t{}\n\t\t\t\t\t\t\telse \n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.granule.setChecksumType(b.getChecksumAlgorithm().toString());\n\t\t\t\t\t\t\t\tchecksumFound = true;\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\tif(checksumFound)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tif(!checksumFound)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (policy.getChecksumType()==null) \n\t\t\t\t\t\t\tthrow new InventoryException(\"Checksum is null!\");\n\t\t\t\t\t\telse \n\t\t\t\t\t\t\tthis.granule.setChecksumType(policy.getChecksumType().toString());\t\n\t\t\t\t\t}\n\t\t\t\t\t//throw new InventoryException(\"ChecksumType NPE!\");\n\t\t\t\t}catch (NullPointerException npe) {\n\t\t\t\t\tthrow new InventoryException(\"ChecksumType NPE!\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tboolean compressFound = false;\n\t\t\t\ttry {\n\t\t\t\t\tSet<GranuleFile> gf = metadata.getFiles();\n\t\t\t\t\tfor(GranuleFile granuleFile: gf)\n\t\t\t\t\t{\n\t\t\t\t\t\tfor(BasicFileInfo b :granuleFile.getSources())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (b.getCompressionAlgorithm()==null) \n\t\t\t\t\t\t\t{}\n\t\t\t\t\t\t\telse \n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.granule.setCompressType(b.getCompressionAlgorithm().toString());\n\t\t\t\t\t\t\t\tcompressFound = true;\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\tif(compressFound)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tif(!compressFound)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (policy.getCompressType()==null) \n\t\t\t\t\t\t\tthrow new InventoryException(\"CompressType is null!\");\n\t\t\t\t\t\telse \n\t\t\t\t\t\t\tthis.granule.setCompressType(policy.getCompressType());\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t/*\n\t\t\t\t\tif (policy.getCompressType()==null) \n\t\t\t\t\t\tthrow new InventoryException(\"CompressType is null!\");\n\t\t\t\t\telse \n\t\t\t\t\t\tthis.granule.setCompressType(policy.getCompressType());*/\n\t\t\t\t} catch (NullPointerException npe) {\n\t\t\t\t\tthrow new InventoryException(\"CompressType NPE!\");\n\t\t\t\t}\n\t\t\t\ttry {\t\n\t\t\t\t\tif (policy.getDataFormat()==null) \n\t\t\t\t\t\tthrow new InventoryException(\"DataFormat is null!\");\n\t\t\t\t\telse \n\t\t\t\t\t\tthis.granule.setDataFormat(policy.getDataFormat());\n\t\t\t\t} catch (NullPointerException npe) {\n\t\t\t\t\tthrow new InventoryException(\"DataFormat NPE!\");\n\t\t\t\t}\n\t\t\t\t// set granule references based on dataset location policy\n\t\t\t\tSet<DatasetLocationPolicy> locationPolicySet = \n\t\t\t\t\t\t\t\t\tds.getLocationPolicySet();\n\t\t\t\tfor (DatasetLocationPolicy locationPolicy : locationPolicySet)\t{\n\t\t\t\t\tif (locationPolicy.getType().toUpperCase().trim().startsWith(LocationPolicyType.ARCHIVE.toString()))\n\t\t\t\t\t\tarchiveBasePath = locationPolicy.getBasePath();\n\t\t\t\t}\n\t\t\t\tlog.debug(\"granuleReference.locationPath=\"+this.archiveBasePath);\t\t\t\t\n\t\t\t\tif (this.archiveBasePath == \"\")\n\t\t\t\t\tthrow new InventoryException(\"Cannot find local base path for Archive!\");\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tif (policy.getBasePathAppendType()==null) \n\t\t\t\t\t\tthrow new InventoryException(\"BasePathAppendType is null!\");\n\t\t\t\t} catch (NullPointerException npe) {\n\t\t\t\t\tthrow new InventoryException(\"BasePathAppendType NPE!\");\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"Setting dataset\");\n\t\t\t\tthis.granule.setDataset(ds);\n\t\t\t}\n\t\t}\n\n\t\t\t\n\t\t\n\t\ttry {\t\n\t\t\tif (metadata.getName()==null) \n\t\t\t\tthrow new InventoryException(\"GranuleName is null!\");\n\t\t\telse {\n\t\t\t\tthis.granule.setName(metadata.getName());\n\t\t\t}\n\t\t} catch (NullPointerException npe) {\n\t\t\tthrow new InventoryException(\"GranuleName NPE!\");\n\t\t}\n//\t\tif(dsVersioned.equals(\"Y\"))\n//\t\t\tgranule.setOfficialName(metadata.getOfficialName());\n\t\n\t\t// Determine replacement\n\t\tif (replace()) { \n\t\t\tlog.info(\"Process replacement for name=\"+metadata.getReplace()\n\t\t\t\t\t\t+\" id=\"+this.granule.getGranuleId()+\" version=\"+this.granule.getVersion());\n\t\t} else {\n\t\t\t// Check for duplication\n\t\t\tif (q.findGranule(this.granule.getName(), this.granule.getDataset()) != null)\n\t\t\t\tthrow new InventoryException(\"Granule with name=\"+this.granule.getName()+\" already exists!\");\n\t\t\tthis.granule.setVersion(1);\t\t\n\t\t}\n\n\t\t// translate to Granule main table\n\t\ttry {\t\n\t\t\tif (metadata.getCreateTime()==null) \n\t\t\t\tthrow new InventoryException(\"CreateTime is null!\");\n\t\t\telse {\n\t\t\t\tthis.granule.setCreateTime(metadata.getCreateTime());\n\t\t\t}\n\t\t} catch (NullPointerException npe) {\n\t\t\tthrow new InventoryException(\"CreateTime NPE!\");\n\t\t}\n\t\t/*\n\t\ttry {\t\n\t\t\tif (metadata.getTemporalCoverageStartTime()==null) \n\t\t\t\tthrow new InventoryException(\"TemporalCoverageStartTime is null!\");\n\t\t\telse {\n\t\t\t\tDate startTime = metadata.getTemporalCoverageStartTime();\n\t\t\t}\n\t\t} catch (NullPointerException npe) {\n\t\t\tthrow new InventoryException(\"TemporalCoverageStartTime NPE!\");\n\t\t}\n\t\ttry {\t\n\t\t\tif (metadata.getTemporalCoverageStopTime()==null) \n\t\t\t\tthrow new InventoryException(\"TemporalCoverageStopTime is null!\");\n\t\t\telse \n\t\t\t\tthis.granule.setStopTime(metadata.getTemporalCoverageStopTime());\n\t\t} catch (NullPointerException npe) {\n\t\t\tthrow new InventoryException(\"TemporalCoverageStopTime NPE!\");\n\t\t}\n\t\t */\n\n\t\t// translate to Granule optional tables\n\t\ttry {\n\t\t\tif (metadata.getTemporalCoverageStartTime()!=null)\n\t\t\t\tthis.granule.setStartTime(metadata.getTemporalCoverageStartTime());\n\t\t} catch (NullPointerException npe) {}\n\t\ttry {\n\t\t\tif (metadata.getTemporalCoverageStopTime()!=null)\n\t\t\t\tthis.granule.setStopTime(metadata.getTemporalCoverageStopTime());\n\t\t} catch (NullPointerException npe) {}\n\t\t/*\n\t\tSet<GranuleElement> elements = q.fetchDatasetById(\n\t\t\t\tthis.granule.getDataset().getDatasetId(), \"granuleElementSet\").getGranuleElementSet();\n\t\tfor (GranuleElement element : elements) mapOptionalAttr(element, metadata);\n\t\t*/\n\t\tboolean elementsFound = false;\n\t\t//now we need to get the element set for this part of the ingestion process.\n\t\tDataset dsInstance = new Dataset();\n\t\tdsInstance.setShortName(datasetName);\n\n\t\tList<Dataset> dsList = q.fetchDatasetList(dsInstance, \"datasetPolicy\", \"locationPolicySet\", \"datasetElementSet\");\n\t\tif (dsList == null)\t{\n\t\t\t//System.out.println(\"No dataset elements\");\n\t\t\tlog.warn(\"Dataset doesn't have elements associated with it, skipping optional attribute addtion.\");\n\t\t}\n\t\telse {\t\n\t\t\t ds = null;\n\t\t\ttry{\n\t\t\t\t ds = dsList.get(0);\n\t\t\t\t this.granule.setDataset(ds);\n\t\t\t\t for(DatasetElement dee : ds.getDatasetElementSet()){\n//\t\t\t\t\t System.out.println(dee.getElementDD().getShortName());\n\t\t\t\t }\n\t\t\t\t elementsFound=true;\n\t\t\t}catch(IndexOutOfBoundsException e)\n\t\t\t{\n\t\t\t\tlog.warn(\"Dataset doesn't have elements associated with it, skipping optional attribute addtion.\");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tif(elementsFound){\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"version\", metadata.getVersion());\n\t\t\t} catch (NullPointerException npe) {}\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"ancillaryName\", metadata.getAncillaryName());\n\t\t\t} catch (NullPointerException npe) {}\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"revolution\", metadata.getRevolution());\n\t\t\t} catch (NullPointerException npe) {}\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"cycle\", metadata.getCycle());\n\t\t\t} catch (NullPointerException npe) {}\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"pass\", metadata.getPass());\n\t\t\t} catch (NullPointerException npe) {}\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"passType\", metadata.getPassType());\n\t\t\t} catch (NullPointerException npe) {}\t\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"dayNightType\", metadata.getDayNightMode());\n\t\t\t} catch (NullPointerException npe) {}\t\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"dayOfYearStart\", metadata.getDayOfYearStart());\n\t\t\t} catch (NullPointerException npe) {}\n\t\t\t\n\t\t\t// translate latitudeAndLongitude\n\t\t\ttry {\n\t\t\t\tList<Point> points = metadata.getPoints();\n\t\t\t\tfor (Point point : points) {\n\t\t\t\t mapOptionalAttr(\"pointLatitude\", point.getLatitude());\n\t\t\t\t mapOptionalAttr(\"pointLongitude\", point.getLongitude());\n\t\t\t\t}\n\t\t\t} catch (NullPointerException ne) {\n\t\t\t\tlog.debug(\"SpatialCoveragePoint either not found or incomplete.\");\n\t\t\t} catch (Exception e) {};\n\t\t\t\n\t\t\t// translate boundingRectangle\n\t\t\ttry {\n\t\t\t\tBoundingRectangle rectangle = metadata.getBoundingRectangle();\n\t\t\t\tmapOptionalAttr(\"westLongitude\", rectangle.getWestLongitude());\n\t\t\t\tmapOptionalAttr(\"northLatitude\", rectangle.getNorthLatitude());\n\t\t\t\tmapOptionalAttr(\"southLatitude\", rectangle.getSouthLatitude());\n\t\t\t\tmapOptionalAttr(\"eastLongitude\", rectangle.getEastLongitude());\n\t\t\t} catch (NullPointerException ne) {\n\t\t\t\t//ne.printStackTrace();\n\t\t\t\tlog.debug(\"SpatialCoverageBoundingRectangle either not found or incomplete.\");\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\t// translate boundingPolygon\n\t\tif(elementsFound)\n\t\t{\n\t\t\tfor(DatasetElement de: ds.getDatasetElementSet()){\n\t\t\t\tif(de.getElementDD().getType().toUpperCase().equals(\"SPATIAL\") && (de.getScope().toUpperCase().equals(\"BOTH\") || de.getScope().toUpperCase().equals(\"GRANULE\"))){\n\t\t\t\t\ttry {\n\t\t\t\t\t\tList<BoundingPolygon> polygons = metadata.getPolygons();\n\t\t\t\t\t\tfor (BoundingPolygon polygon : polygons) {\n\t\t\t\t\t\t polygon.getRegionName();\n\t\t\t\t\t\t polygon.getPointOrder();\n//\t\t\t\t\t\t System.out.println(\"Size of point list: \" + polygon.getPoints().size());\n\t\t\t\t\t\t StringBuilder sb = new StringBuilder();\n\t\t\t\t\t\t for( Point p : polygon.getPoints()){\n\t\t\t\t\t\t\t String s = \"\" + p.getLongitude() + \" \" + p.getLatitude() +\", \";\n\t\t\t\t\t\t\t sb.append(s);\n\t\t\t\t\t\t }\n\t\t\t\t\t\t if(sb.toString() == null || sb.toString().equals(\"\")){\n\t\t\t\t\t\t \tcontinue;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t String polyString = sb.toString().substring(0,sb.toString().length()-2);\n\t\t\t\t\t\t\tWKTReader rdr = new WKTReader();\n\t\t\t\t\t\t Geometry geometry = null;\n\t\t\t\t\t\t \n\t\t\t\t\t\t try {\n\t\t\t\t\t\t\t\tgeometry = rdr.read(\"POLYGON ((\"+polyString+\"))\");\n\t\t\t\t\t\t\t\tgeometry.setSRID(8307);\n\t\t\t\t\t\t\t\tGranuleSpatial gs = new GranuleSpatial(de, (Polygon)geometry);\n\t//\t\t\t\t\t\t\tSystem.out.println(\"DE: \"+gs.toString());\n\t\t\t\t\t\t\t\tthis.granule.add(gs);\n\t\t\t\t\t\t\t} catch (com.vividsolutions.jts.io.ParseException e) {\n\t//\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t\tlog.debug(\"Cannot parse Polygon from SIP.\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NullPointerException ne) {\n\t\t\t\t\t\tlog.debug(\"SpatialCoverageBoundingPolygon either not found or incomplete.\");\t\t\n\t\t\t\t\t} catch (Exception e) {};\n\t\t\t\t}\n\t\t\t }\n\t\t\t}\n\t\tif(elementsFound){\n\t\t// translate swath\n\t\t\ttry {\n\t\t\t\tSwath swath = metadata.getSwath();\n//\t\t\t\tSystem.out.println(\"Searching for equator crossing...\");\n\t\t\t\tmapOptionalAttr(\"equatorCrossingLongitude\", swath.getEquatorCrossingLongitude());\n\t\t\t\tmapOptionalAttr(\"equatorCrossingTime\", swath.getEquatorCrossingTime());\n\t\t\t\tmapOptionalAttr(\"inclinationAngle\", swath.getInclinationAngle());\n\t\t\t\tmapOptionalAttr(\"swathWidth\", swath.getSwathWidth());\n\t\t\t} catch (NullPointerException ne) {\n\t\t\t\tlog.debug(\"SpatialCoverageSwath either not found or incomplete.\");\n\t\t\t} catch (Exception e) {};\n\t\t\ttry {\n\t\t\t\tmapOptionalAttr(\"comment\", metadata.getComment());\n\t\t\t} catch (NullPointerException npe) {}\n\t\t}\n\t\t// translate ellipse\n\t\ttry {\n\t\t\tEllipse ellipse = metadata.getEllipse();\n\t\t\tellipse.getCenterPoint();\n\t\t\tellipse.getUnit();\n\t\t\tellipse.getValue();\n\t\t\t// TODO: translate ellipse\n\t\t} catch (NullPointerException ne) {\n\t\t\tlog.debug(\"SpatialCoverageEllipse either not found or incomplete.\");\n\t\t} catch (Exception e) {};\n\n\t\t//process extras\n\t\tProperties props = metadata.getExtras();\n\t\tfor (Object e :props.keySet()){\n\t\t\tString str = (String) e;\n\t\t\tmapOptionalAttr(str,props.getProperty(str));\n\t\t}\n\t\t\n\t\tthis.archiveSubDir = appendArchiveSubDir(this.granule.getDataset().getDatasetPolicy().getBasePathAppendType(), this.granule.getStartTime(), metadata.getCycle());\n\t\tSet<GranuleReference> refSet = this.granule.getGranuleReferenceSet();\n\t\tfor (GranuleReference ref : refSet) {\n\t\t\tref.setPath(ref.getPath()+appendArchiveSubDir(this.granule.getDataset().getDatasetPolicy().getBasePathAppendType(), this.granule.getStartTime(), metadata.getCycle()));\n\t\t}\n\t}", "title": "" }, { "docid": "190ff61d62cfebdd10c411d2a1f82f59", "score": "0.43537048", "text": "public String getNmrPelanggan () {\n try {\n String sql = \"select nmr_pelanggan from pelanggan order by nmr_pelanggan desc\";\n PreparedStatement ps = (PreparedStatement) cn.prepareStatement(sql);\n ResultSet rs = ps.executeQuery();\n \n if (rs.next()){\n\t nmrPelanggan = rs.getString(\"nmr_pelanggan\");\n\t nmrPelanggan = nmrPelanggan.substring(1);\n\t int temp = Integer.parseInt(nmrPelanggan)+ 1;\n\t String j = String.valueOf(temp);\n\t int h = j.length();\n\t switch (h) {\n\t\t\t\t\tcase 1: nmrPelanggan = \"P000\" + j; break;\n\t\t\t\t\tcase 2: nmrPelanggan = \"P00\" + j; break;\n\t\t\t\t\tcase 3: nmrPelanggan = \"P0\" + j; break;\n\t\t\t\t\tcase 4: nmrPelanggan = \"P\" + j; break;\n\t\t\t\t}\n }else{\n \tnmrPelanggan = \"P0001\";\n }\n rs.close();\n }\n catch (Exception exc) {\n System.err.println(exc.getMessage());\n }\n\t\treturn nmrPelanggan; \n }", "title": "" }, { "docid": "4e124262bbb494ea626234be63c4d6df", "score": "0.43524733", "text": "public List<ReporteSaldoProducto> getReporteSaldoProducto(Sucursal sucursal, Bodega bodega, Date fechaDesde, Atributo atributo, String valorAtributo, int idOrganizacion, CategoriaProducto categoriaProducto, SubcategoriaProducto subcategoriaProducto, Boolean indicadorSaldoCero)\r\n/* 148: */ {\r\n/* 149:183 */ StringBuilder sbSQL = new StringBuilder();\r\n/* 150:184 */ sbSQL.append(\" SELECT new ReporteSaldoProducto(pro.idProducto, pro.codigo, pro.codigoAlterno, pro.nombre\");\r\n/* 151:185 */ sbSQL.append(\", subpro.idSubcategoriaProducto, subpro.codigo, subpro.nombre\");\r\n/* 152:186 */ sbSQL.append(\", catpro.idCategoriaProducto, catpro.codigo, catpro.nombre\");\r\n/* 153:187 */ sbSQL.append(\", b.idBodega, b.codigo, b.nombre,MAX(sp.fecha),u.idUnidad,u.codigo,u.nombre,uv.idUnidad,uv.codigo,uv.nombre,ua.idUnidad,ua.codigo,ua.nombre, pro.nombreComercial )\");\r\n/* 154:188 */ sbSQL.append(\" FROM SaldoProducto sp \");\r\n/* 155:189 */ sbSQL.append(\" INNER JOIN sp.bodega b\");\r\n/* 156:190 */ sbSQL.append(\" INNER JOIN sp.producto pro\");\r\n/* 157:191 */ sbSQL.append(\" INNER JOIN pro.subcategoriaProducto subpro\");\r\n/* 158:192 */ sbSQL.append(\" INNER JOIN subpro.categoriaProducto catpro\");\r\n/* 159:193 */ sbSQL.append(\" LEFT JOIN pro.unidad u \");\r\n/* 160:194 */ sbSQL.append(\" LEFT JOIN pro.unidadVenta uv \");\r\n/* 161:195 */ sbSQL.append(\" LEFT JOIN pro.unidadAlmacenamiento ua \");\r\n/* 162:196 */ sbSQL.append(\" WHERE sp.fecha<=:fechaDesde\");\r\n/* 163:197 */ sbSQL.append(\" AND pro.tipoProducto=:tipoProducto\");\r\n/* 164:198 */ sbSQL.append(\" AND pro.idOrganizacion=:idOrganizacion\");\r\n/* 165:200 */ if (categoriaProducto != null) {\r\n/* 166:201 */ sbSQL.append(\" AND catpro = :categoriaProducto \");\r\n/* 167: */ }\r\n/* 168:203 */ if (subcategoriaProducto != null) {\r\n/* 169:204 */ sbSQL.append(\" AND subpro = :subcategoriaProducto \");\r\n/* 170: */ }\r\n/* 171:207 */ if (bodega != null) {\r\n/* 172:208 */ sbSQL.append(\" AND sp.bodega = :bodega\");\r\n/* 173: */ }\r\n/* 174:211 */ if (atributo != null)\r\n/* 175: */ {\r\n/* 176:212 */ sbSQL.append(\" AND EXISTS (SELECT pr FROM ProductoAtributo pa JOIN pa.producto pr WHERE pa.atributo = :atributo AND pr = pro\");\r\n/* 177:214 */ if (!valorAtributo.isEmpty()) {\r\n/* 178:215 */ sbSQL.append(\" AND pa.valor = :valorAtributo \");\r\n/* 179: */ }\r\n/* 180:217 */ sbSQL.append(\" )\");\r\n/* 181: */ }\r\n/* 182:219 */ if ((null != indicadorSaldoCero) && (indicadorSaldoCero.booleanValue())) {\r\n/* 183:220 */ sbSQL.append(\" AND pro.activo = true\");\r\n/* 184: */ }\r\n/* 185:223 */ sbSQL.append(\" GROUP BY pro.idProducto, pro.codigo, pro.codigoAlterno, pro.nombre\");\r\n/* 186:224 */ sbSQL.append(\", subpro.idSubcategoriaProducto, subpro.codigo, subpro.nombre\");\r\n/* 187:225 */ sbSQL.append(\", catpro.idCategoriaProducto, catpro.codigo, catpro.nombre\");\r\n/* 188:226 */ sbSQL.append(\", b.idBodega, b.codigo, b.nombre,u.idUnidad,u.codigo,u.nombre,uv.idUnidad,uv.codigo,uv.nombre,ua.idUnidad,ua.codigo,ua.nombre, pro.nombreComercial\");\r\n/* 189: */ \r\n/* 190:228 */ Query query = this.em.createQuery(sbSQL.toString());\r\n/* 191:229 */ query.setParameter(\"fechaDesde\", fechaDesde);\r\n/* 192:230 */ query.setParameter(\"tipoProducto\", TipoProducto.ARTICULO);\r\n/* 193:231 */ query.setParameter(\"idOrganizacion\", Integer.valueOf(idOrganizacion));\r\n/* 194:232 */ if (categoriaProducto != null) {\r\n/* 195:233 */ query.setParameter(\"categoriaProducto\", categoriaProducto);\r\n/* 196: */ }\r\n/* 197:235 */ if (subcategoriaProducto != null) {\r\n/* 198:236 */ query.setParameter(\"subcategoriaProducto\", subcategoriaProducto);\r\n/* 199: */ }\r\n/* 200:238 */ if (bodega != null) {\r\n/* 201:239 */ query.setParameter(\"bodega\", bodega);\r\n/* 202: */ }\r\n/* 203:241 */ if (atributo != null)\r\n/* 204: */ {\r\n/* 205:242 */ query.setParameter(\"atributo\", atributo);\r\n/* 206:243 */ if (!valorAtributo.isEmpty()) {\r\n/* 207:244 */ query.setParameter(\"valorAtributo\", valorAtributo);\r\n/* 208: */ }\r\n/* 209: */ }\r\n/* 210:247 */ return query.getResultList();\r\n/* 211: */ }", "title": "" }, { "docid": "e8b1b182cc06aaf167e042d56b45d5ce", "score": "0.43516463", "text": "public GranuleStatus getGranuleStatus() {\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6b35a9d334e04def336873073e8518cf", "score": "0.43468192", "text": "public Vector<PersonalRelativesItem> getThisGen()\n/* */ {\n/* 131 */ return this.thisGen;\n/* */ }", "title": "" }, { "docid": "a9d991d884d2899b260326e064861e35", "score": "0.4343577", "text": "@Override\r\n\tprotected String getTableName() {\n\t\treturn \"Obra\";\r\n\t}", "title": "" }, { "docid": "68a400485675e244fa2101e44d0875d1", "score": "0.4339451", "text": "public String getJP_DropShip_BP_Location_Name();", "title": "" }, { "docid": "6b9cff56e921253e420f842d98eb8648", "score": "0.433782", "text": "public void setGRACE_PERIOD(BigDecimal GRACE_PERIOD) {\r\n this.GRACE_PERIOD = GRACE_PERIOD;\r\n }", "title": "" }, { "docid": "4f03c9d73776a9c7fc3ce7afd6ad01e6", "score": "0.43300018", "text": "@Select(\"select * from GEXIN_SEND_LOG where gslid = #{Id}\")\n Map getGexinSendLogInfo4Map(String Id);", "title": "" }, { "docid": "519117d449cd6889cbac44a1752e35de", "score": "0.43277484", "text": "public Long createSpousalMapping (FamilyMemberSpouseMapping givenFamilyMemberSpouseMapping) \t{\n\t\t\n\t\t/*\n\t\t * Variable for the result\n\t\t */\n\t\tLong result = null;\n\t\t\n\t\t/*\n\t\t * Use the session to save the entity\n\t\t */\n\t\tTransaction transaction = null;\n\t\ttry\n\t\t{\n\t\t\t/*\n\t\t\t * Start a transaction\n\t\t\t */\n\t\t\ttransaction = getSession().beginTransaction();\n\t\t\t\n\t\t\t/*\n\t\t\t * Save the entity\n\t\t\t */\n\t\t\tresult = (Long) getSession().save(givenFamilyMemberSpouseMapping);\n\t\t\t\n\t\t\t/*\n\t\t\t * Commit the transaction to flush the session\n\t\t\t */\n\t\t\ttransaction.commit();\n\t\t}\n\t\tcatch (Exception exception) \t\n\t\t{\n\t\t\t/*\n\t\t\t * Use logger here\n\t\t\t */\n\t\t\tUtility.printDebugStatement(\"Exception\");\n//\t\t\texception.printStackTrace();\n\t\t\t\n\t\t\t/*\n\t\t\t * Rollback the transaction on error\n\t\t\t */\n\t\t\trollbackTransaction(transaction);\n\t\t}\n\t\t\n\t\t/*\n\t\t * Return the result\n\t\t */\n\t\treturn result;\n\t}", "title": "" }, { "docid": "9412040d81b84494c13b57289ad367aa", "score": "0.4327413", "text": "public BigDecimal getMAPPING_ID() {\r\n return MAPPING_ID;\r\n }", "title": "" }, { "docid": "545438ecefbdbb2ab5c0171b740057c5", "score": "0.43261468", "text": "@Override\r\n\tpublic String getParentPKFieldName() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "545438ecefbdbb2ab5c0171b740057c5", "score": "0.43261468", "text": "@Override\r\n\tpublic String getParentPKFieldName() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "545438ecefbdbb2ab5c0171b740057c5", "score": "0.43261468", "text": "@Override\r\n\tpublic String getParentPKFieldName() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "87daa5f0db255ae7bbe1868eb27a6453", "score": "0.4323316", "text": "public interface CostDetailSelfMapper extends CostDetailMapper {\n\n @Select({\n \"select * from cost_detail where order_number = #{orderNumber} and is_delete = 0\"\n })\n CostDetail selectPrimaryKeyByOrderNumber(@Param(\"orderNumber\")String orderNumber);\n}", "title": "" }, { "docid": "4f8a5deb06785e1f4d86ac7ab220d3d9", "score": "0.43217188", "text": "public void setREFUND_GL(BigDecimal REFUND_GL) {\r\n this.REFUND_GL = REFUND_GL;\r\n }", "title": "" }, { "docid": "419d4da60b0dcc4575d75a90cdc9ed85", "score": "0.4320061", "text": "public String getJP_DropShip_User_Name();", "title": "" }, { "docid": "b69c67d7e329cb00217e7cd363e712de", "score": "0.43157232", "text": "public UsermanagementGrid getDBLocationListit() \n\t{\n\t\tDatabaseManger.SQLserverConnection();\n\t\tConfigurationManager config = new ConfigurationManager();\n\t\tString query = config.getQuery(\"UsermangementSort\");\n\t\tSetup.log.debug(query);\n\t\t//query=query.replace(\"@loginuser\",getLoggedInUser()); \n\t\treturn super.getDatabaseGrid(query);\n\n\t}", "title": "" }, { "docid": "bec595b5762ce396952896ef0f16c60f", "score": "0.43085754", "text": "public ScGridColumn<AcItem> newRootFlightIdColumn()\n {\n return newRootFlightIdColumn(\"Root Flight Id\");\n }", "title": "" }, { "docid": "c7ac5167b78ed367838d9f49c8013469", "score": "0.4303424", "text": "public static void main(String [] arg){\r\n\r\n\t\t/* SEGUN LA STRATEGIA DE MAPEO SE DEBE SEGUIR UN ORDEN DE INSTANCIACION:\r\n\t\t * CASO 1: \r\n\t\t * @JoinTable(\r\n\t\t * name = \"DELIVERIES\",//NOMBRE DE LA TABLA NUEVA CREADA CON IDS DE USER Y SHIPMENT\r\n\t\t * joinColumns = @JoinColumn(name = \"USER_ID\"), //FK DE USER\r\n\t\t * inverseJoinColumns = @JoinColumn(name = \"SHIPMENT_ID\") //FK DE SHIPMENT )\r\n \t *\tCON ESTA ESTRATEGIA SE CREA UNA TABLA INTERMEDIA LLAMADA DELIVERIES QUE CONTIENE LOS IDS DE USER Y DE SHIPMENTS\r\n \t * LA CLASE USER MANTIENE EMBEBIDOS LOS DATOS DE ADRESS, ESTA BUENA PORQUE CREA LA TABLA INTERMEDIA QUE MANTIENE RELACION ENTRE USER\r\n \t * Y SHIPMENTS ASOCIADOS EN CADA ADRESS.\r\n\t\t * PARA ESTE CASO SE CREAN 3 TABLAS USER, SHIPMENT Y DELIVERIES QUE ES LA QUE CONTIENE LOS IDS DE USER Y SHIPMENT TABLA ENLACE \r\n\t\t * \r\n\t\t * \r\n\t\t \r\n\t\t * CASO 2: \r\n\t\t * @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)\r\n\t\t *\t@JoinColumn(name=\"USER_ID\") \r\n\t\t * SE CREAEL USUARIO, LUEGO SE LE ADICIONAN LAS ADRESS, POSTERIORMENTE SE CREAN LOS SHIPMENT ASOCIADOS A LA ADRESS\r\n\t\t * LUEGO AL DECIRLE A HIBERNATE QUE LOS CREE DEBE PRIMERO ALMACENAR USUARIO Y LUEGO LA ADRESS QUE CONTIENE LOS SHIPMENTS\r\n\t\t * LA ADRESS ESTA EMBEBIDA EN LA TABLA USER ASI QE SE ALMACENA LOS SHIPMENTS\r\n\t\t * \r\n\t\t * \r\n\t\t * 1 USUARIO -> 1 ADRESS\r\n\t\t * 1 ADRESS -> MUCHOS SHIPMENTS\r\n\t\t * \r\n\t\t * NOTA LA TECNICA DE MAPEO @OneToMany CON @JoinColumn NO ESTA MUY BUENA PORQUE LA CLASE \r\n\t\t * USUARIO TERMINA ADICIONANDO CAMPOS DE LA CLASE ADRESS Y LA ENTIDAD SHIPMENT ADICIONA UN CAMPO USER_ID QUE ES CON EL QUE PERMITE\r\n\t\t * HACER JOINT A USER ALLI SE REGISTRAN LOS SHIPMENTS Q EL USUARIO POSEE EN SU UNICA DIRECCION\r\n\t\t * PARA ESTE EJEMPLO SE GENERAN 2 TABLAS USER Y SHIPMENT\r\n\t\t * \r\n\t\t * \r\n\t\t * CASO 3:\r\n\t\t * @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)\r\n\t\t *\t@AssociationOverride(name= \"deliveries\",joinColumns = @JoinColumn(name=\"SHIPMENT_ID\")) \r\n\t\t\tCON ESTA TECNICA IMPLEMENTADA EN LA CLASE ADRESS EN EL ATRIBUTO DELIVERIES, SE CREA UNA TABLA ADICIONAL LLAMADA\r\n\t\t\tUSER_SHIPMENTS Q ES UNA TABLA INTERMEDIA CON LOS IDS DE SHIPMENTS QUE PERTENECEN A CADA USUARIO, EN TOTAL SON 3 TABLAS QUE SE CREAN\r\n\t\t\tUSER, SHIPMENT Y USER_SHIPMENT, LA TABLA USER MANTIENE LOS DATOS DE ADRESS COMO EMBEDDES\r\n\t\t\tPARA ESTE EJEMPLO SE GENERAN 3 TABLAS USER, USER_SHIPMENT Y SHIPMENT\r\n\t\t * \t * */\r\n\t\t\r\n\t\tUser user1 = new User(\"Mauricio\"); //con 1 direccion\r\n\t\tAddress adres1= new Address(\"Calle 24 \", \"2714\", \"Manizales\");// dir de fabio\r\n\t\tuser1.setShippingAddress(adres1); //dir de fabio\r\n\t\tShipment shipMauro1 = new Shipment();\r\n\t\tShipment shipMauro2= new Shipment();\r\n\t\tadres1.getDeliveries().add(shipMauro1);\r\n\t\tadres1.getDeliveries().add(shipMauro2);\r\n\t\t\r\n\t\tAbstractDAO.almacenaEntidad(user1);\r\n\t\tAbstractDAO.almacenaEntidad(shipMauro1);\r\n\t\tAbstractDAO.almacenaEntidad(shipMauro2);\r\n\t\t\r\n\t\t/*OJO CON EL ORDEN DE CREAR LOS OBJETOS EN RELACIONES DE ONE A MUCHOS, ES ASI COMO SE DESCRIBE EN ESTE EJEMPLO*/\r\n\t\t\r\n\t\tUser user2 = new User(\"FABIO\"); //con 1 direccion\r\n\t\tAddress adres5= new Address(\"ALMAGO\", \"269\", \"BAIRES\"); //dir de matha\r\n\t\tuser2.setShippingAddress(adres5); //dir de fabio\r\n\t\tShipment shipFabio1 = new Shipment();\r\n\t\tShipment shipFabio2= new Shipment();\r\n\t\tShipment shipFabio3= new Shipment();\r\n\t\tadres5.getDeliveries().add(shipFabio1);\r\n\t\tadres5.getDeliveries().add(shipFabio2);\r\n\t\tadres5.getDeliveries().add(shipFabio3);\r\n\t\t\r\n\t\t\r\n\t\tAbstractDAO.almacenaEntidad(user2);\r\n\t\tAbstractDAO.almacenaEntidad(shipFabio1);\r\n\t\tAbstractDAO.almacenaEntidad(shipFabio1);\r\n\t\tAbstractDAO.almacenaEntidad(shipFabio3);\r\n\t\t\r\n\t\t\r\n\t\tUser user3 = new User(\"MAMA\"); //\r\n\t\tAddress adres6= new Address(\"MANIZALES\", \"87999\", \"COLOMBIA\"); //dir de matha\r\n\t\tuser3.setShippingAddress(adres6); //dir de fabio\r\n\t\tAbstractDAO.almacenaEntidad(user3);\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\r\n\r\n\r\n\r\n\r\n\t}", "title": "" }, { "docid": "fd63b61dd9f025d784624e9161e31ee3", "score": "0.43020514", "text": "public String retrieveDot(int carrierCode, String carrierServiceLevel) {\n logger.info(\"Entered retrieveDot() for getting drop off type\");\n try {\n DataSource datasource =connectionFactory.createDataSource(); // this method returns the datasources object\n SqlParameterSource inputparams = new MapSqlParameterSource().addValue(\"ip_carrier_code\",carrierCode)\n .addValue(\"ip_carrier_service_level\",carrierServiceLevel);\n\n\n simpleJdbcCall =new SimpleJdbcCall(datasource).withCatalogName(\"aasc_erp_carr_service_comb_pkg\")\n .withProcedureName(\"get_drop_off_type\")\n .declareParameters(new SqlOutParameter(\"op_error_status\",Types.INTEGER))\n .declareParameters(new SqlOutParameter(\"op_error_message\",Types.VARCHAR))\n .declareParameters(new SqlOutParameter(\"aasc_get_drop_off_type_details\",OracleTypes.CURSOR));\n\n\n Map<String, Object> out = simpleJdbcCall.execute(inputparams);\n completeDetails = \"\";\n int opStatus = \n Integer.parseInt(String.valueOf(out.get(\"op_error_status\")));\n completeDetails = \"\";\n logger.info(\"aasc_erp_carr_service_comb_pkg.get_drop_off_type opStatus:\" + \n opStatus);\n if (opStatus == 501) {\n logger.info(\"data is retreived successfully from database : opStatus \" + \n opStatus);\n Iterator it = \n ((ArrayList)out.get(\"OP_DROP_OFF_TYPE_DETAILS\")).iterator();\n\n HashMap<String, ?> map1 = null;\n while (it.hasNext()) {\n map1 = (HashMap<String, ?>)it.next();\n completeDetails = \n completeDetails + \"*\" + (String)map1.get(\"drop_off_type\"); // it.next();\n }\n\n completeDetails = completeDetails + \"*\";\n } else {\n logger.info(\"Error in retreiving data from the database: opStatus \" + \n opStatus);\n completeDetails = \"**\";\n }\n\n logger.info(\"completeDetails in get_drop_off_type()= \" + \n completeDetails);\n logger.info(\"Exit from get_drop_off_type()\");\n return completeDetails;\n } catch (Exception e1) {\n logger.severe(\"Got exception in getting completeDetails from Ajax,hence returning -1\" + \n e1.getMessage());\n logger.info(\"Exit from get_drop_off_type()\");\n\n return \"-1\";\n }\n }", "title": "" }, { "docid": "b715020e8c8e2339b9032549b2c448a1", "score": "0.4301553", "text": "public void setNOSTRO_GL(BigDecimal NOSTRO_GL) {\r\n this.NOSTRO_GL = NOSTRO_GL;\r\n }", "title": "" }, { "docid": "7825c22a5265f7a3d79bf9a822a1aa7f", "score": "0.4301538", "text": "public ArrayList<GruppoAttivita> getGruppiAttivita(String nomeParco){\r\n Connection connection = null;\r\n Map<String, GruppoAttivita> gruppi = new HashMap<>();\r\n try {\r\n connection = connect();\r\n String query = \"select g.NomeParco as NomeGruppo, g.NomeParco as NomeParco, g.CostoPromozionale, a.Nome as NomeAttivita, a.OrarioApertura, a.OrarioChiusura \" +\r\n \"from gruppoattivita g, contenere c, attivita a \" +\r\n \"where g.NomeParco = ? and g.Nome = c.NomeGruppo and g.NomeParco = c.NomeParco and c.NomeParco = a.NomeParco and c.NomeAttivita = a.Nome \";\r\n\r\n PreparedStatement statement = connection.prepareStatement(query);\r\n statement.setString(1, nomeParco);\r\n\r\n ResultSet result = statement.executeQuery();\r\n\r\n while (result.next()){\r\n String nomeGruppo = result.getString(\"NomeGruppo\");\r\n String nomePa = result.getString(\"NomeParco\");\r\n float costoPromozionale = result.getFloat(\"CostoPromozionale\");\r\n String nomeAttivita = result.getString(\"NomeAttivita\");\r\n String orarioApertura = result.getString(\"OrarioApertura\");\r\n String orarioChiusura = result.getString(\"OrarioChiusura\");\r\n\r\n Attivita a = new Attivita(nomeAttivita, orarioApertura, orarioChiusura, 0.0f, nomeParco);\r\n\r\n if(gruppi.containsKey(nomeGruppo)){\r\n gruppi.get(nomeGruppo).addAttivita(a);\r\n }else{\r\n GruppoAttivita g = new GruppoAttivita(nomeGruppo, nomeParco, costoPromozionale);\r\n g.addAttivita(a);\r\n gruppi.put(g.getNome(), g);\r\n }\r\n }\r\n result.close();\r\n statement.close();\r\n\r\n } catch (SQLException e) {\r\n l.log(Level.SEVERE, \"Errore di connessione al DataBase\\n\" + e.getMessage(), e);\r\n } finally {\r\n if(connection != null)\r\n try {\r\n connection.close();\r\n } catch (SQLException e) {\r\n l.log(Level.SEVERE, \"Errore nella chiusura di connessione\", e);\r\n }\r\n }\r\n\r\n return new ArrayList<>(gruppi.values());\r\n }", "title": "" } ]
10bad551902996ef97b7131d331b4d20
In MAF developers set the REST base URL through a named REST connection. For debugging and logging purposes this method contains the complete original request URL that consists of the base URL and the REST URI passed to the REST http call.
[ { "docid": "818a4b3914d4bb2709161f7f5af7eb80", "score": "0.5638074", "text": "public String getOriginalRequestUrl() {\n return originalRequestUrl;\n }", "title": "" } ]
[ { "docid": "8513d16e22add1bba70d0b09c6fe2a2a", "score": "0.685614", "text": "@Override\n public URI getBaseUri() {\n return ServletUriComponentsBuilder.fromContextPath(httpServletRequest).build().toUri();\n }", "title": "" }, { "docid": "7b74a1eb81a823b27c60a628e8563db5", "score": "0.682577", "text": "public static String getURLBase() {\n return URLBase;\n }", "title": "" }, { "docid": "549b628246cbd41cb4cf589131071324", "score": "0.6713901", "text": "AutoRestBaseUrl getBaseUrl();", "title": "" }, { "docid": "e65d9ca4c3fa35be274307ce4563462c", "score": "0.65824616", "text": "public static String getBaseUrl() {\n\t\tHttpServletRequest currentRequest = getCurrentRequest();\n\t\tUriComponentsBuilder uriComponentsBuilder =\n\t\t\t\tServletUriComponentsBuilder.fromCurrentRequest().replacePath( \"\" ).replaceQuery( null );\n\t\t/**\n\t\t * Due to a bug in ServletUriComponentsBuilder which doesn't use the forwarded\n\t\t * port header in http/https/80/403 cases, we must manually unset the port number to null\n\t\t * to avoid the mixup.\n\t\t */\n\t\tif ( ( currentRequest.getServerPort() == 443 && \"http\".equals( currentRequest.getScheme() ) )\n\t\t\t\t|| ( currentRequest.getServerPort() == 80 && \"https\".equals( currentRequest.getScheme() ) ) ) {\n\t\t\turiComponentsBuilder.port( null );\n\t\t}\n\t\treturn uriComponentsBuilder.build().toUriString();\n\t}", "title": "" }, { "docid": "4e10f71b92fbf97500d0c871f6cf136e", "score": "0.6571545", "text": "public URL getBaseURL() {\n return base_url;\n }", "title": "" }, { "docid": "6cc187d82b3e5dc9da8ad2d38203945e", "score": "0.6567516", "text": "@Override\n public StringBuffer getRequestURL()\n {\n return request.getRequestURL();\n }", "title": "" }, { "docid": "9c6420246cc5acca525b843b636836ea", "score": "0.65184265", "text": "public static java.lang.String getUrlBase() {\n\t\treturn getService().getUrlBase();\n\t}", "title": "" }, { "docid": "c1d33cfcbe1d991ce94d750d2bd37530", "score": "0.6470736", "text": "public static String getBaseUrl( HttpServletRequest request )\r\n {\r\n String server = request.getServerName();\r\n\r\n String scheme = request.getScheme();\r\n int port = request.getServerPort();\r\n String baseUrl = scheme + \"://\" + server + \":\" + port + \"/\";\r\n\r\n return baseUrl;\r\n }", "title": "" }, { "docid": "538c826cb6881a3bc3aa69737ff06666", "score": "0.6450257", "text": "public void setBaseURL(URL url) {\n base_url = url;\n }", "title": "" }, { "docid": "b3b0436b58d6823ac9222725261b165b", "score": "0.6431533", "text": "String baseUrl(HttpServletRequest request) {\n StringBuffer url = new StringBuffer(request.getScheme())\n .append(\"://\").append(request.getServerName());\n\n if ((request.getScheme().equalsIgnoreCase(\"http\")\n && request.getServerPort() != 80)\n || (request.getScheme().equalsIgnoreCase(\"https\")\n && request.getServerPort() != 443)) {\n url.append(\":\").append(request.getServerPort());\n }\n\n return url.toString();\n }", "title": "" }, { "docid": "4b4aa3413dd04ccf0adddd7920cda7cf", "score": "0.64279675", "text": "public String getBaseURL() {\n\t\treturn url;\n\t}", "title": "" }, { "docid": "19425b190336006559eaeb96cf6a32bf", "score": "0.6394156", "text": "public java.lang.CharSequence getBaseUrl() {\n return baseUrl;\n }", "title": "" }, { "docid": "4a3c6e41759bdeb73694d4065d93a872", "score": "0.6381289", "text": "public java.lang.CharSequence getBaseUrl() {\n return baseUrl;\n }", "title": "" }, { "docid": "aa73381a64e1705e961f511279550963", "score": "0.637296", "text": "public String getRestInterfaceBaseURL() {\n\t\treturn restInterfaceBaseURL;\n\t}", "title": "" }, { "docid": "81201ff9e68b9b0c927f6b3371acfff9", "score": "0.6369101", "text": "public static String getBaseUrl() {\n\t\tif (TextUtils.isEmpty(Constants.port)) {\n\t\t\tLog.v(\"WebServiceClient\", Constants.protocol + \"://\" + Constants.host +\"/\"+ Constants.projectName);\n\t\t\treturn Constants.protocol + \"://\" + Constants.host + \"/\"+ Constants.projectName;\n\t\t}\n\t\treturn Constants.protocol + \"://\" + Constants.host + \":\" + Constants.port + \"/\"+ Constants.projectName;\n\t}", "title": "" }, { "docid": "9e1601da954813cc82b60136af16970b", "score": "0.6357478", "text": "public String getBaseUrl() {\n return baseUrl;\n }", "title": "" }, { "docid": "167d3947b9613387cbe7b559e286d2f3", "score": "0.63542026", "text": "public void setBaseURL(URL url) {\n baseURL = url;\n }", "title": "" }, { "docid": "934049231d62cf31246738db475537e7", "score": "0.6350506", "text": "public String getRestUrlPath()\n {\n return restUrlPath_;\n }", "title": "" }, { "docid": "5323326790e05eeb23f015c116b7dd79", "score": "0.6332062", "text": "public URL getBaseUrl() {\n return baseUrl;\n }", "title": "" }, { "docid": "78a5cabf3221c2eae3caa7d13fcc1202", "score": "0.62878114", "text": "public static String getBaseURL() {\r\n return BASE_URL;\r\n }", "title": "" }, { "docid": "165707e2ceaf35fbcc39392f9e502b9a", "score": "0.6278936", "text": "public String getHttpURI(URL baseUrl);", "title": "" }, { "docid": "242bee97af1713c58f68e733e2238534", "score": "0.62541074", "text": "public String getBaseServerUrl() {\n return BaseUrl + backendUrl;\n }", "title": "" }, { "docid": "723258d564f625087907633104e40c53", "score": "0.62279534", "text": "public String getBaseURL() {\n\t\treturn getProperty(KEY_BASE_URL);\n\t}", "title": "" }, { "docid": "0edb6f5a8865f5088f7fe47bf47dcf91", "score": "0.6221033", "text": "private static String buildBaseUrl(Thing thing) {\n return getHttpProtocol(thing) + \"://\" + thing.getAgent().getIp() + \":\" + thing.getAgent().getPort();\n }", "title": "" }, { "docid": "9b4c61d9bdb991eb0b4f28518af4876c", "score": "0.62100065", "text": "private static String getBasePath(HttpServletRequest req) {\n StringBuffer baseUrl = new StringBuffer();\n String scheme = req.getScheme();\n baseUrl.append(scheme); // http, https\n baseUrl.append(\"://\");\n baseUrl.append(req.getServerName());\n //端口号\n int port = req.getServerPort();\n if ((scheme.equals(\"http\") && port != 80) || (scheme.equals(\"https\") && port != 443)) {\n baseUrl.append(':');\n baseUrl.append(req.getServerPort());\n }\n return baseUrl.toString() + req.getContextPath();\n }", "title": "" }, { "docid": "b8c3a0ffc851bf9dec954047b9adfff6", "score": "0.62027544", "text": "public static String getBaseURL() {\n return theBaseURL;\n }", "title": "" }, { "docid": "839bb0c545b01e311e12d519d62f8b95", "score": "0.61522955", "text": "protected final String getBaseUrl() {\n if (settings.getBoolean(NO_BASE_URL_SETTING, false)) {\n return null;\n }\n\n // Assemble the URL if it is not provided as a single property\n String url = settings.getString(\"_\" + BASE_URL_NAME);\n if (url != null && !url.trim().isEmpty()) {\n return url.trim();\n }\n\n url = settings.getBoolean(\"https\", false) ? \"https://\"\n : \"http://\";\n\n String credentials = settings.getString(CREDENTIALS_SETTING);\n if (credentials != null && !credentials.trim().isEmpty()) {\n url += credentials.trim() + '@';\n }\n\n String host = settings.getString(\"tomcat_hostname\", settings.getString(\"host\", \"localhost\"));\n if (host == null) {\n host = \"localhost\";\n }\n url += host;\n\n int port = settings.getInt(\"port\", -1);\n if (port != -1) {\n url += \":\" + port;\n }\n String path = settings.getString(\"path\", \"/\");\n if (!path.startsWith(\"/\")) {\n path = \"/\" + path;\n }\n url += path;\n return url;\n }", "title": "" }, { "docid": "153c834b4da60272b85ca9fa75318266", "score": "0.6119412", "text": "public default String getBaseUrl() {\n String result = (String) getParameter(BASE_DIR);\n return result != null? result : \"./\";\n }", "title": "" }, { "docid": "227c49f96a979082a666a5912b86c2c2", "score": "0.61155975", "text": "public static String getBaseUrl() {\n return baseUrl;\n }", "title": "" }, { "docid": "86a3a4507fe1fa7155331ce1f54c7a93", "score": "0.6112718", "text": "public StringBuffer getRequestURL() {\r\n\t\r\n\t\tStringBuffer sb=new StringBuffer();\r\n\t\tsb.append(url);\r\n\t\treturn sb;\r\n\t}", "title": "" }, { "docid": "07443510af893123845a66d744506e3e", "score": "0.6104014", "text": "@Override\n public String getRequestURI()\n {\n return request.getRequestURI();\n }", "title": "" }, { "docid": "94f027edce84981f07375323206be492", "score": "0.6061778", "text": "java.lang.String getMarmottaBaseUri();", "title": "" }, { "docid": "da02c678cb89a78725e6c8d300d0ecef", "score": "0.6055205", "text": "public static String getBaseUrl() {\n\t\t\t\treturn baseUrl;\n\t\t\t}", "title": "" }, { "docid": "b364ccc68d2392dc7ad0dbf62134521b", "score": "0.60475343", "text": "public HttpUrl baseUrl() {\n return baseUrl;\n }", "title": "" }, { "docid": "ca426407fb546c48769e98baa2ebef63", "score": "0.604255", "text": "public StringBuffer getRequestURL() {\n/* 252 */ return _getHttpServletRequest().getRequestURL();\n/* */ }", "title": "" }, { "docid": "a8c4b33fd8b866cb37d364010ee99b0a", "score": "0.6037806", "text": "public void setBaseURL(final String baseURL) {\n\t\tsetProperty(KEY_BASE_URL, baseURL);\n\t}", "title": "" }, { "docid": "81200318e528a2353992087405880724", "score": "0.6033344", "text": "@Override\n public String getCurrentURI()\n {\n return this.request.getRequestURI();\n }", "title": "" }, { "docid": "efc0f178ad51b6c56733acd8acc3904a", "score": "0.6026291", "text": "private String getUrlPrefix() {\n return Location.getProtocol() + \"//\" + Location.getHost();\n }", "title": "" }, { "docid": "77d4492bced54232ab22f8d7467b8307", "score": "0.6011234", "text": "private String getBaseUrl() {\r\n\t\treturn GlobalConfig.instance().getArchivaBaseUrl();\r\n\t}", "title": "" }, { "docid": "22f6bf4c5a7b762de5c5f751e5b2bc89", "score": "0.60084146", "text": "public static String getBaseUrl(HttpServletRequest request) {\n\t\treturn request.getRequestURL().toString()\n\t\t\t\t.replace(request.getRequestURI(), request.getContextPath());\n\t}", "title": "" }, { "docid": "9b3485c615af91579b50c0d398144fc0", "score": "0.5991026", "text": "public String baseUrl();", "title": "" }, { "docid": "4ee6ac1e9feadfb5ca309ce7997f57c0", "score": "0.59264445", "text": "public URI getBaseResourceURI() {\n return _resourceFinder.getBaseResourceURI();\n }", "title": "" }, { "docid": "747a2edcb8dffa7775dda850b6952cfb", "score": "0.5923107", "text": "String getBaseUri();", "title": "" }, { "docid": "747a2edcb8dffa7775dda850b6952cfb", "score": "0.5923107", "text": "String getBaseUri();", "title": "" }, { "docid": "96bec584eb4b6a99fe77c275c034b621", "score": "0.58972466", "text": "@Override\n protected String target(Request request) {\n return request.getUri();\n }", "title": "" }, { "docid": "641ece9b429c19d4b7e86bd2cac34011", "score": "0.58962584", "text": "@Override\n public String getCurrentURL () {\n return contextDispatcher.getCurrentURLAsString();\n }", "title": "" }, { "docid": "bc86e588966af9abe026343d597465d2", "score": "0.58958584", "text": "public IRI getDefaultBaseUri() {\n return AccessController.doPrivileged(new PrivilegedAction<IRI>() {\n\n @Override\n public IRI run() {\n GraphNode platformInstance = getPlatformInstance();\n Lock l = platformInstance.readLock();\n l.lock();\n try {\n Iterator<RDFTerm> triples = platformInstance.getObjects(PLATFORM.defaultBaseUri);\n if (triples.hasNext()) {\n return (IRI) triples.next();\n } else {\n String port = context.getProperty(\"org.osgi.service.http.port\");\n if (port == null) {\n port = DEFAULT_PORT;\n }\n if (port.equals(\"80\")) {\n return new IRI(\"http://localhost/\");\n }\n return new IRI(\"http://localhost:\" + port + \"/\");\n }\n } finally {\n l.unlock();\n }\n }\n });\n }", "title": "" }, { "docid": "b8a09532adcbd1cb5f4cbf33eba66477", "score": "0.5869521", "text": "String getFullUrl();", "title": "" }, { "docid": "24d40181c40810bd4758e95cebb7e13f", "score": "0.58650714", "text": "public AutoRestBaseUrl getBaseUrl() {\n return this.baseUrl;\n }", "title": "" }, { "docid": "67abcaa49b8e8c26013bc91b6b5ab63f", "score": "0.5856863", "text": "protected String getBaseURL() {\n\t\treturn Config.getServer();\n\t}", "title": "" }, { "docid": "866caaecb9002953cd1ec1ffab621176", "score": "0.58559656", "text": "public java.lang.CharSequence getBaseUrl() {\n\t throw new java.lang.UnsupportedOperationException(\"Get is not supported on tombstones\");\n\t }", "title": "" }, { "docid": "443e64c6003e4a177e50fb1f913ad2d0", "score": "0.58461165", "text": "private URI uriSetup() {\n URI newUri = null;\n try {\n newUri = new URI(\"http://localhost:8080/logger\");\n } catch (URISyntaxException e) {\n System.out.println(e.getMessage());\n }\n return newUri;\n }", "title": "" }, { "docid": "4fd728c40ae4b2669aeac06a74b4f9ee", "score": "0.584283", "text": "public String getBaseURI() {\n return this.baseURI;\n }", "title": "" }, { "docid": "1972b7e372c6c3ba2ba2b6d787f89422", "score": "0.58195895", "text": "private static String getBaseURLScheme(String baseURL) {\n // Log.e(\"RetrofitGeneratorClass: getBaseURLScheme(): Base URL Scheme: \" +Uri.parse(baseURL).getScheme());\n return Uri.parse(baseURL).getScheme();\n }", "title": "" }, { "docid": "f0d87e2fa4f1591f4708a3cf44e24928", "score": "0.5813453", "text": "public String getFullUrl(final HttpServletRequest request) {\n return request.getQueryString() == null ? request.getRequestURL().toString()\n : request.getRequestURL().append(\"?\").append(request.getQueryString()).toString();\n }", "title": "" }, { "docid": "4239199e7e6b3ae471b975c0efcb3592", "score": "0.58099794", "text": "public String getRequestURI() {\n/* 243 */ return _getHttpServletRequest().getRequestURI();\n/* */ }", "title": "" }, { "docid": "65ccbea837d4fed75fb08cdd530334ce", "score": "0.5788969", "text": "public String getRequestURI() {\r\n\t\r\n\t\treturn uri;\r\n\t}", "title": "" }, { "docid": "b442b5ca43469d3d5214969723de11cf", "score": "0.57840073", "text": "public String getEndpoint() {\n return URL_PATH;\n }", "title": "" }, { "docid": "7da25d05bf6c9da03faaad4d14647cb8", "score": "0.5774316", "text": "public void setRestUrlPath(String restUrlPath)\n {\n restUrlPath_ = restUrlPath;\n }", "title": "" }, { "docid": "6ced27446b90b30a38ee61d3a75d4ed0", "score": "0.5774255", "text": "public String getRequestUri() {\n return path;\n }", "title": "" }, { "docid": "452f5c5bff3e6563418843559420d5c6", "score": "0.5772828", "text": "protected abstract Uri getBaseUri();", "title": "" }, { "docid": "8df97f6105ec87e24045af7e1a1973c2", "score": "0.57530296", "text": "public void setBaseReference(String baseUri) {\n setBaseReference(new Reference(baseUri));\n }", "title": "" }, { "docid": "5d69d62ae4eec014b97b72f2653dfc6c", "score": "0.57090336", "text": "HttpUrl constructUrl(HttpUrl rootUrl);", "title": "" }, { "docid": "03367db92c8ee68ee4b9933d750ed5e7", "score": "0.5697073", "text": "public String getBaseUrl() {\n if(this.customUrl == null) {\n return \"http://steamcommunity.com/profiles/\" + this.steamId64;\n } else {\n return \"http://steamcommunity.com/id/\" + this.customUrl;\n }\n }", "title": "" }, { "docid": "a4ccf7c664d726b35286bc045c75e325", "score": "0.56830597", "text": "void maybeSetBaseUri(Element object) {\n if (this.baseUriSetFromDoc || (object = object.absUrl(\"href\")).length() == 0) {\n return;\n }\n this.baseUri = object;\n this.baseUriSetFromDoc = true;\n this.doc.setBaseUri((String)object);\n }", "title": "" }, { "docid": "4d1320b9a696ccedb9a84cdec1ddb30b", "score": "0.567558", "text": "public String getResourceBaseUrl() throws RMapApiException {\n\t\tString resourceBaseUrl = getApiPath() + \"/resources/\";\n\t\treturn resourceBaseUrl;\n\t}", "title": "" }, { "docid": "e35ffd754f8fad26ab9f82541770b5de", "score": "0.5662004", "text": "private String getApiUrl(String endpoint) {\n String url = REST_URL + \"/\" + endpoint ;\n return url;\n }", "title": "" }, { "docid": "1fb5928866e279e2fd9f864d0f9352f0", "score": "0.56496626", "text": "java.lang.String getStorageBaseUri();", "title": "" }, { "docid": "9987e63d049dea2c1a98865cc8f0e549", "score": "0.5639242", "text": "void setFullUrl(String url);", "title": "" }, { "docid": "46c226b324e3f31efbeb2d833a09d3ce", "score": "0.56368315", "text": "public String getGetURL(){\n\t\treturn String.format(\"%s:%s/%s/query?output=json&query=\", this.server, this.port, this.dataset);\n\t}", "title": "" }, { "docid": "42a252499bd45059690c2ff28765cd96", "score": "0.56212306", "text": "public String getApplicationUrl()\n\t{\n\t\tString url=prp.getProperty(\"BaseUrl\");\n\t\treturn url;\n\t\t\t\t\n\t}", "title": "" }, { "docid": "f68d914fe37fe345b28119be711cc12b", "score": "0.56205535", "text": "public static void setBaseURI (String baseURI) {\n \tRestAssured.baseURI = baseURI;\n }", "title": "" }, { "docid": "2af806420ddc064424cf5ce9da902d81", "score": "0.5618135", "text": "protected void appendBaseURL(StringBuilder buffer,String resource,HTTPClientConfiguration configuration)\n {\n buffer.append(\"http\");\n if(configuration.isSSL())\n {\n buffer.append(\"s\");\n }\n buffer.append(\"://\");\n buffer.append(configuration.getHostName());\n int port=configuration.getPort();\n if(port>0)\n {\n buffer.append(\":\");\n buffer.append(port);\n }\n if((resource!=null)&&(resource.length()>0))\n {\n if(!resource.startsWith(\"/\"))\n {\n buffer.append(\"/\");\n }\n buffer.append(resource);\n }\n }", "title": "" }, { "docid": "11ce13a293b9cd137ddbbcdc0eb55a40", "score": "0.5584181", "text": "public static String getBaseUrl() {\n String u = GWT.getModuleBaseURL();\n\n int last = -1;\n for (int i = 0; i < 3; i++) {\n last = u.indexOf(\"/\", last + 1);\n }\n\n if (last != -1)\n u = u.substring(0, last);\n\n return u;\n }", "title": "" }, { "docid": "38ae139426dd4034fa98a596f20de545", "score": "0.5582985", "text": "private String getBaseURLFromCmd(String defaultBaseURL) {\n String userInputURL;\n userInputURL = promptForTextInput(\"Enter APIM base URL [\" + defaultBaseURL + \"]: \").trim();\n return userInputURL;\n }", "title": "" }, { "docid": "5e6c07e6aa7958336ca36a41be2394f2", "score": "0.5578717", "text": "public void setBaseUrl(java.lang.CharSequence value) {\n this.baseUrl = value;\n setDirty(0);\n }", "title": "" }, { "docid": "b5ca5e4cc50f29349b13d63aacf40338", "score": "0.5574103", "text": "public String complete_url(){\n\n if (url==null) //not self.url:\n return this.query_string();\n\n String delimiter = \"?\";\n if (this.url.contains(\"?\")) delimiter = \"&\";\n if (this.url.endsWith(\"?\")) delimiter = \"\";\n\n System.out.println(this.url + delimiter + this.query_string());\n return this.url + delimiter + this.query_string();\n }", "title": "" }, { "docid": "97760ccc6a28b336f2e98f560dce0a24", "score": "0.55724216", "text": "private String formBaseWebPath() {\n String version = Http.Context.current().request().version();\n String protocol;\n if (version.startsWith(\"HTTPS\")) {\n protocol = \"https://\";\n }\n else {\n protocol = \"http://\";\n }\n\n // Obtain the email host from the configuration file\n String context = myConfiguration.getString(\"play.http.context\");\n if (context == null) {\n context = \"\";\n }\n\n return protocol + Http.Context.current().request().host() + context\n + \"/\";\n }", "title": "" }, { "docid": "4655f2b0b043a51d7e4c26a20c141dbe", "score": "0.5569217", "text": "java.lang.String getPredictHttpUri();", "title": "" }, { "docid": "1379fd79fc199d86240707048d169477", "score": "0.5565921", "text": "@Override\n public String getUrlScheme() {\n return \"http\";\n }", "title": "" }, { "docid": "08269b7d6db208978c9456ef44f33a56", "score": "0.5541108", "text": "public Ref rebase(String newBase) {\n Objects.requireNonNull(newBase);\n Ref theBase = new Ref(newBase).getBase();\n String resourceType = getResourceType();\n String id = getId();\n String version = getVersion();\n String params = getParameters();\n return new Ref(theBase, resourceType, id, version, params);//.httpizeTo(uri);\n }", "title": "" }, { "docid": "a5c0152eda8ffc5189b01c86cc9462c3", "score": "0.55353767", "text": "@NonNull\n String getApiBaseUrl();", "title": "" }, { "docid": "e1a937da6fa67cfb8ab84d9e02db9f96", "score": "0.552998", "text": "@Override\r\n\tpublic String getBaseURI() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "ee9dd34f20694a2bdd09c0830c5cc490", "score": "0.55178237", "text": "String getBaseURI();", "title": "" }, { "docid": "4dee8760ddb335f615d70d37ba94605f", "score": "0.5513408", "text": "public static void setBaseUrl(String newApiBaseUrl) {\n setBaseUrl(newApiBaseUrl, null);\n }", "title": "" }, { "docid": "1671497e5d7e34325126524080fc2b7f", "score": "0.5505027", "text": "public final void setBaseUrl(String baseUrl) {\n\t\tthis.baseUrl = baseUrl;\n\t}", "title": "" }, { "docid": "90689b95c707d3f1dc37a3b68c001d6f", "score": "0.55047715", "text": "public static String getSchematicApplicationUrl() {\n String scheme = getScheme();\n String host = getRequestHeader(\"host\");\n String context = getContextPath();\n return scheme + \"://\" + host + context;\n }", "title": "" }, { "docid": "a1e771785b96009365b5c0e20f4d14b3", "score": "0.54853845", "text": "private String getFullUrl(String resourceUrl) throws Exception {\n final String basePath = getResourceBasePath();\n return String.format(\"https://%s:%s%s%s\", endpointConfig.getEndpointIpAddress(),\n endpointConfig.getEndpointServerPort(), basePath, resourceUrl);\n }", "title": "" }, { "docid": "d02ce766790cf43fb387067f56120cec", "score": "0.548183", "text": "public String getBasePath() {\n return baseName.substring(BUILD_TARGET_PREFIX.length());\n }", "title": "" }, { "docid": "5ae92970534e8a779eca6e79bf0395e0", "score": "0.5475163", "text": "protected <REQUEST extends ServiceRequest> URL createUrl(\n\t\t\tREQUEST request) throws MalformedURLException {\n\t\tURL url = new URL(request.createUrl(getBaseUrl()));\n\t\treturn url;\n\t}", "title": "" }, { "docid": "63260003a8acc1dd6d8bcbbe67b3500e", "score": "0.5474574", "text": "URI getBaseURI();", "title": "" }, { "docid": "fba06cd5f413813228c4c662b8dc0d69", "score": "0.5472743", "text": "@DhtmlColumn(columnIndex = 4, headerName = \"当前请求的URL\")\n\tpublic String getCurrentRequestUrl() {\n\t\treturn currentRequestUrl;\n\t}", "title": "" }, { "docid": "b8ecb2795f9c82014933f5785110c08b", "score": "0.5467018", "text": "public static String getBaseUrlFromUrl(String url) {\n/* 200 */ if (!url.contains(\"?\")) {\n/* 201 */ return url;\n/* */ }\n/* 203 */ url = url.substring(0, url.lastIndexOf(\"?\"));\n/* 204 */ return url;\n/* */ }", "title": "" }, { "docid": "160d3a00ba9961914d50b6f5462c4daf", "score": "0.5460511", "text": "GeoApiContext setBaseUrlForTesting(String baseUrl) {\n baseUrlOverride = baseUrl;\n return this;\n }", "title": "" }, { "docid": "85e44e62130bad6039c9e6ff5566af81", "score": "0.5457936", "text": "public static void resetBaseURI (){\n RestAssured.baseURI = null;\n }", "title": "" }, { "docid": "6d93dca8419a9df1d61daea5ff97f885", "score": "0.54493445", "text": "String currentUrl(HttpServletRequest request) {\n return Step2.getUrlWithQueryString(request);\n }", "title": "" }, { "docid": "a6bb8931d739950e83fb63cf276db5c4", "score": "0.54490596", "text": "private String getServiceURL(HttpServletRequest request) {\r\n\t\tif (serviceUrl != null) return serviceUrl;\r\n\t\tStringBuffer buf = request.getRequestURL();\r\n\t\tint idx = buf.lastIndexOf(request.getContextPath());\r\n\t\treturn buf.substring(0, idx + request.getContextPath().length());\r\n\t}", "title": "" }, { "docid": "0075d4335f8447dd3968ba665ceb9048", "score": "0.54353034", "text": "public String getCurrentUrl() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a7fd9b353c5317fad706152e6778e4b0", "score": "0.54322976", "text": "public String getURLPrefix() {\n return OpenAMMethod + \"://\" + OpenAMHostName + \":\" + OpenAMPort + \"/\" + OpenAMURLPrefix;\n }", "title": "" }, { "docid": "b2414dfe8ca7adff094ba4f538c3eb37", "score": "0.54305106", "text": "public String getEndpointUrl() {\n\t\treturn endpointUrl;\n\t}", "title": "" } ]
6085bce55c9b20dce3700713467691ad
Section 5.1 Creating the Encryption Context: def VerifyPSKInputs(mode, psk, psk_id): got_psk = (psk != default_psk) got_psk_id = (psk_id != default_psk_id) if got_psk != got_psk_id: raise Exception("Inconsistent PSK inputs") if got_psk and (mode in [mode_base, mode_auth]): raise Exception("PSK input provided when not needed") if (not got_psk) and (mode in [mode_psk, mode_auth_psk]): raise Exception("Missing required PSK input") Even though we don't support PSK, we implement this method fully for the sake of conformance.
[ { "docid": "2fb810aec8e266dd5de207c6c80415da", "score": "0.8237038", "text": "static void verifyPskInputs(byte mode, byte[] psk, byte[] pskId) {\n boolean gotPsk = !Arrays.equals(psk, DEFAULT_PSK);\n boolean gotPskId = !Arrays.equals(pskId, DEFAULT_PSK_ID);\n if (gotPsk != gotPskId) {\n throw new IllegalArgumentException(\"Inconsistent PSK inputs\");\n }\n if (gotPsk && (mode == MODE_BASE || mode == MODE_AUTH)) {\n throw new IllegalArgumentException(\"PSK input provided when not needed\");\n }\n if (!gotPsk && (mode == MODE_PSK || mode == MODE_AUTH_PSK)) {\n throw new IllegalArgumentException(\"Missing required PSK input\");\n }\n }", "title": "" } ]
[ { "docid": "667019942605360268474cf2c560ec72", "score": "0.51547456", "text": "ContextBase keySchedule(byte mode, byte[] sharedSecret, byte[] info, byte[] psk, byte[] pskId) {\n verifyPskInputs(mode, psk, pskId);\n verifyInputLengthRestrictions(psk, pskId, info);\n\n byte[] pskIdHash = labeledExtractHpke(EMPTY_LABEL, PSK_ID_HASH_LABEL, pskId); // Kdf.nH() bytes returned\n byte[] infoHash = labeledExtractHpke(EMPTY_LABEL, INFO_HASH_LABEL, info );\n byte[] keyScheduleContext = concat(new byte[]{mode}, pskIdHash, infoHash);\n\n byte[] secret = labeledExtractHpke(sharedSecret, SECRET_LABEL, psk);\n\n byte[] key = labeledExpandHpke(secret, KEY_LABEL, keyScheduleContext, aead.nK());\n byte[] baseNonce = labeledExpandHpke(secret, BASE_NONCE_LABEL, keyScheduleContext, aead.nN());\n byte[] exporterSecret = labeledExpandHpke(secret, EXP_LABEL, keyScheduleContext, kdf.nH());\n\n return new ContextBase(key, baseNonce, 0, exporterSecret);\n }", "title": "" }, { "docid": "1830140bbcf3fef6611385703c61daee", "score": "0.4896547", "text": "private boolean generateKeysCheck(List options) {\n return options.contains(PUBLIC_KEY) && options.contains(SECRET_KEY) &&\n options.contains(BITS) && options.contains(CERTAINTY);\n }", "title": "" }, { "docid": "bc1f8e154e168facf3308770d0ff1894", "score": "0.4738244", "text": "public PresharedProfileAuthenticationData(final String pskid, final String profile) {\n super(EntityAuthenticationScheme.PSK_PROFILE);\n this.pskid = pskid;\n this.profile = profile;\n }", "title": "" }, { "docid": "b6d6bcf538312a8ac065ae7bb43bab67", "score": "0.4720738", "text": "public static void validateConvolutionModePadding(ConvolutionMode mode, int padding) {\n if (mode == ConvolutionMode.Same) {\n boolean nullPadding = true;\n if (padding != 0) nullPadding = false;\n if (!nullPadding)\n throw new IllegalArgumentException(\"Padding cannot be used when using the `same' convolution mode\");\n\n }\n }", "title": "" }, { "docid": "a3f989e5e4c0e2454e223c3a2cde914e", "score": "0.47111532", "text": "boolean getIndicateEncryptionRequired();", "title": "" }, { "docid": "fcf16cfcfc9c05100a8b492dc80a4ae4", "score": "0.46439984", "text": "@Test\r\n\tpublic void testGet128BitWEPKeyGenerator() {\r\n\t\tPasswordGenerator pg = PasswordGenerator.get128BitWEPKeyGenerator();\r\n\t\tcheckPasswordGeneration(pg);\r\n\t}", "title": "" }, { "docid": "4dd08e95d7fa6d149940654e919f3e0f", "score": "0.46140903", "text": "@Test\n public void testEncapsDecaps() {\n setup();\n\n // 2. SK <- KeyGen(MSK, circuit)\n BooleanCircuit circuit = new SmartBooleanCircuitLoader().load(\n \"org/arcanum/program/circuit/bool/circuit3.txt\"\n );\n\n CipherParameters secretKey = keyGen(circuit);\n\n // 3. Encaps/Decaps for a satisfying assignment\n Pair pair = encaps(new BooleanAssignment(true, true, false, true));\n assertEquals(true, Arrays.equals(pair.getKey(), decaps(secretKey, pair.getEncapsulation())));\n\n // 4. Encaps/Decaps for a non-satisfying assignment\n pair = encaps(new BooleanAssignment(true, false, false, true));\n assertEquals(false, Arrays.equals(pair.getKey(), decaps(secretKey, pair.getEncapsulation())));\n }", "title": "" }, { "docid": "73d0fb4080482075224fb660910c9514", "score": "0.45220822", "text": "ContextS setupAuthS(XECPublicKey pkR, byte[] info, XECPrivateKey skS) {\n var encapped = kem.authEncap(pkR, skS);\n return new ContextS(encapped.enc(),\n keySchedule(MODE_AUTH, encapped.sharedSecret(), info, DEFAULT_PSK, DEFAULT_PSK_ID));\n }", "title": "" }, { "docid": "aae9324a10fdbd3756b7f83275df022c", "score": "0.45013103", "text": "public boolean validate(Object obj, int mode) throws TPlusException {\n\t\tboolean rtnMessage = true;\n\t\tif (mode == 0 && objDAO.checkExistrecord(obj) > 0) {\n\t\t\trtnMessage = false;\n\t\t}\n\t\tif (mode == 1 && objDAO.checkExistrecord(obj) == 0) {\n\t\t\trtnMessage = false;\n\t\t}\n\t\t// this for cardHolderType check for Csr CreditSplit Screen\n\t\tif (mode == 3\n\t\t\t\t&& objDAO.checkExistrecord(obj) == CommonCodes.SUPPLEMENTARYCARD_HOLDER) {\n\t\t\trtnMessage = false;\n\t\t}\n\t\treturn rtnMessage;\n\t}", "title": "" }, { "docid": "fb05c3c18dd7566aceeb93f17f788808", "score": "0.4409525", "text": "@Test\n public void verifySetFirmwareRoamingConfigurationWithGoodInput() {\n assertTrue(mWifiConnectivityHelper.getFirmwareRoamingInfo());\n ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE);\n ArrayList<String> whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE);\n assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist));\n\n blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE - 2);\n whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE - 3);\n assertTrue(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, whitelist));\n }", "title": "" }, { "docid": "7ddf6c1f8bf4d3c7d4b8c164fc3d6979", "score": "0.43831134", "text": "@Test\n public void evaluateScansWithInterworkingAndNoHs20VsaAP() throws Exception {\n NetworkDetail networkDetail = mock(NetworkDetail.class);\n when(networkDetail.isInterworking()).thenReturn(true);\n when(networkDetail.getHSRelease()).thenReturn(null);\n when(networkDetail.getAnt()).thenReturn(NetworkDetail.Ant.FreePublic);\n when(networkDetail.isInternet()).thenReturn(true);\n ScanDetail scanDetail = mock(ScanDetail.class);\n when(scanDetail.getNetworkDetail()).thenReturn(networkDetail);\n\n List<ScanDetail> scanDetails = Arrays.asList(new ScanDetail[] {scanDetail});\n List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper\n .getPasspointNetworkCandidates(scanDetails, false);\n assertTrue(candidates.isEmpty());\n // Verify that no provider matching is performed.\n verify(mPasspointManager, never()).matchProvider(any(ScanResult.class));\n }", "title": "" }, { "docid": "a63cef142c1eb6eda3d9139b16bfa310", "score": "0.43505654", "text": "@Test\r\n\tpublic void testGetWPA2KeyGenerator() {\r\n\t\tPasswordGenerator pg = PasswordGenerator.getWPA2KeyGenerator();\r\n\t\tcheckPasswordGeneration(pg);\r\n\t}", "title": "" }, { "docid": "beda391f292bbc0fac9dc684ed2d750b", "score": "0.43414953", "text": "public void validate() {\n validateUnlimitedStrengthEncryptionInstalled();\n }", "title": "" }, { "docid": "765e99133b33fe60f53b40bd34633ed8", "score": "0.43312255", "text": "@Test\r\n\tpublic void testGet256BitWEPKeyGenerator() {\r\n\t\tPasswordGenerator pg = PasswordGenerator.get256BitWEPKeyGenerator();\r\n\t\tcheckPasswordGeneration(pg);\r\n\t}", "title": "" }, { "docid": "6434e98d745bfb1414ac5c2150ea6e46", "score": "0.4309286", "text": "@Test\n public void TestinitializeCipherAES_ENCRYPT() {\n\t String passTemp=\"passwordpassword\";\n\t AESCrypt aesCrypt = new AESCrypt();\n Key AES128 = aesCrypt.inilizeAESKeyByPassword(passTemp);\n \n try {\n \t\t//Initialize cipher in DECRYPT_MODE using method\n \t\t\tCipher cipher = aesCrypt.initializeCipher(AES128,0);\n\t\t\tassertNotNull(cipher);\n\t\t\t\n\t\t\t//Initialize cipher in WRAP_MODE using java library\n\t\t\tCipher TestCipher = Cipher.getInstance(\"AES\");\n\t\t\tTestCipher.init(Cipher.ENCRYPT_MODE, AES128);\n\t\t\t\n\t\t\tassertEquals(TestCipher.getParameters(), cipher.getParameters());\n\t\t\t\n } catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t assertEquals(0,1);\n }\n }", "title": "" }, { "docid": "72e6931b0e1f08a529f4f085f59cc16b", "score": "0.42948502", "text": "private void testEquals(TestHarness harness) {\n\n String algorithm = \"DES\";\n String algorithm2 = \"AES\";\n\n byte[] key = new byte[32];\n for (int i = 0; i < key.length; i++) {\n key[i] = (byte) i;\n }\n\n byte[] key2 = new byte[32];\n for (int i = 0; i < key2.length; i++) {\n key2[i] = (byte) i;\n }\n\n byte[] key3 = new byte[32];\n for (int i = 0; i < key3.length; i++) {\n key3[i] = (byte) (i + 3);\n }\n\n SecretKeySpec secretKeySpec = new SecretKeySpec(key, algorithm);\n SecretKeySpec secretKeySpec2 = new SecretKeySpec(key2, algorithm);\n SecretKeySpec secretKeySpec3 = new SecretKeySpec(key3, algorithm);\n SecretKeySpec secretKeySpec4 = new SecretKeySpec(key, algorithm2);\n\n // test if two similar SecretKeySpecs are equal\n try {\n harness.check(secretKeySpec.equals(secretKeySpec2) == true,\n \"equals(secretKeySpec2) should return true\");\n } catch (Exception x) {\n harness.debug(x);\n harness.fail(\"equals (secretkeyspec2) : \" + String.valueOf(x));\n }\n\n // test if two SecretKeySpecs with different keys are not equal\n try {\n harness.check(secretKeySpec.equals(secretKeySpec3) == false,\n \"equals(secretKeySpec3) should return false\");\n } catch (Exception x) {\n harness.debug(x);\n harness.fail(\"equals (secretkeyspec3) : \" + String.valueOf(x));\n }\n\n // test if two SecretKeySpecs with different algorthms are not equal\n try {\n harness.check(secretKeySpec.equals(secretKeySpec4) == false,\n \"equals(secretKeySpec4) should return false\");\n } catch (Exception x) {\n harness.debug(x);\n harness.fail(\"equals (secretkeyspec4) : \" + String.valueOf(x));\n }\n\n // Check if passing another object other than a SecretKeySpec will\n // return false\n try {\n harness.check(secretKeySpec.equals(\"Hello World\") == false,\n \"equals (\\\"Hello World\\\") should have returned false\");\n } catch (Exception x) {\n harness.debug(x);\n harness.fail(\"equals (\\\"Hello World\\\") : \" + String.valueOf(x));\n }\n\n }", "title": "" }, { "docid": "090fe3da736cf9ba27ae03c8b1177b54", "score": "0.4281716", "text": "abstract boolean isValid(List<String> passphrase);", "title": "" }, { "docid": "1ed5a399fa0fe5b41c84026a805b63fb", "score": "0.4255107", "text": "private boolean isWalletMode(final CartData cartData)\n\t{\n\t\tfinal PaymentModeData paymentModeData = cartData.getPaymentMode();\n\t\tfinal boolean isWalletApplied = (null != paymentModeData\n\t\t\t\t&& PaymentModeEnum.WALLET.getCode().equals(paymentModeData.getCode()));\n\t\treturn isWalletApplied;\n\t}", "title": "" }, { "docid": "cbf3b4dc003b2ffe4259fd976885b050", "score": "0.42401245", "text": "@Test\n public void TestGenerateRandomAESKey() {\n\t AESCrypt aesKey128 = new AESCrypt();\n try {\n\t\t\tKey sessionKey = aesKey128.GenerateRandomAESKey();\n\t\t\tassertNotNull(sessionKey);\n\t\t\tassertEquals(sessionKey.getAlgorithm(),\"AES\");\n\t\t } catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tassertEquals(1,0); //By throwing an error this test is failed\n\t\t }\n }", "title": "" }, { "docid": "a7574ce9cb6dae3cab75d0421a087755", "score": "0.42400098", "text": "boolean isSignInUsingOkHardKeyAllowed();", "title": "" }, { "docid": "daed3f28f545064c1ac89e935e4ba2c8", "score": "0.42364675", "text": "public static int m11041a(ScanResult scanResult) {\n if (scanResult != null) {\n if (scanResult.capabilities.contains(\"WEP\")) {\n return 1;\n }\n if (scanResult.capabilities.contains(\"PSK\")) {\n return 2;\n }\n if (scanResult.capabilities.contains(\"EAP\")) {\n return 3;\n }\n }\n return 0;\n }", "title": "" }, { "docid": "ec14052dd4d6196ee25f0f15c564ed24", "score": "0.42165232", "text": "@Test\n public void TestinilizeAESKeyByPassword() {\n\t String passTemp=\"password\";\n\t \n\t //Run the method to generate an AES key from 'password'\n\t AESCrypt aesCrypt = new AESCrypt();\n Key MethodKey = aesCrypt.inilizeAESKeyByPassword(passTemp);\n \n //Generate by hand an AES key from the plaintext 'password'\n byte[] KeyData =passTemp.getBytes();\n SecretKeySpec TestKey;\n TestKey =new SecretKeySpec(KeyData,\"AES\");\n Key Test = TestKey;\n\n //Compare the two results to ensure the method is working correctly\n assertEquals(Test, MethodKey);\n }", "title": "" }, { "docid": "d0e9ce62e81c6661acf64d0dfed2378a", "score": "0.4202444", "text": "boolean hasEncryptionConfig();", "title": "" }, { "docid": "7511a425d1c0841577ab0777fefc0464", "score": "0.4200221", "text": "boolean processPlayerIdentification(OAPlayer player, String password);", "title": "" }, { "docid": "d5f79add34c28ec2b42742a24850054d", "score": "0.41833255", "text": "@Test\n public void verifySetFirmwareRoamingConfigurationWithNullInput() {\n assertTrue(mWifiConnectivityHelper.getFirmwareRoamingInfo());\n ArrayList<String> blacklist = buildBssidBlacklist(MAX_BSSID_BLACKLIST_SIZE);\n ArrayList<String> whitelist = buildSsidWhitelist(MAX_SSID_WHITELIST_SIZE);\n assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(null, whitelist));\n assertFalse(mWifiConnectivityHelper.setFirmwareRoamingConfiguration(blacklist, null));\n }", "title": "" }, { "docid": "a74a739b8855292d800d2ee4dca68c9a", "score": "0.41733325", "text": "@Test\n public void evaluateScansWithNetworkMatchingRoamingProvider() {\n List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1),\n generateScanDetail(TEST_SSID2, TEST_BSSID2));\n\n // Setup matching providers for ScanDetail with TEST_SSID1.\n List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>();\n roamingProvider.add(Pair.create(sTestProvider1, PasspointMatch.RoamingProvider));\n\n // Return roamingProvider for the first ScanDetail (TEST_SSID1) and a null (no match) for\n // for the second (TEST_SSID2);\n when(mPasspointManager.matchProvider(any(ScanResult.class))).thenReturn(roamingProvider)\n .thenReturn(null);\n when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), any()))\n .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID));\n when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1);\n List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper\n .getPasspointNetworkCandidates(scanDetails, false);\n assertEquals(1, candidates.size());\n\n // Verify the content of the WifiConfiguration that was added to WifiConfigManager.\n ArgumentCaptor<WifiConfiguration> addedConfig =\n ArgumentCaptor.forClass(WifiConfiguration.class);\n verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt(), any());\n assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID1), addedConfig.getValue().SSID);\n assertEquals(TEST_FQDN1, addedConfig.getValue().FQDN);\n assertNotNull(addedConfig.getValue().enterpriseConfig);\n assertEquals(\"\", addedConfig.getValue().enterpriseConfig.getAnonymousIdentity());\n assertFalse(addedConfig.getValue().isHomeProviderNetwork);\n verify(mWifiConfigManager).enableNetwork(\n eq(TEST_NETWORK_ID), eq(false), anyInt(), any());\n verify(mWifiConfigManager).setNetworkCandidateScanResult(\n eq(TEST_NETWORK_ID), any(ScanResult.class), anyInt());\n verify(mWifiConfigManager).updateScanDetailForNetwork(\n eq(TEST_NETWORK_ID), any(ScanDetail.class));\n }", "title": "" }, { "docid": "e5823513f19727e710cfd8c8fc4700ce", "score": "0.41717625", "text": "@Test\n public void TestinitializeCipherRSA_WRAP() {\n\t AESCrypt aesCrypt = new AESCrypt();\n \n KeyPairGenerator kpg;\n try {\n //Generate RSA key as 'RSAKey'\n\t\t\tkpg = KeyPairGenerator.getInstance(\"RSA\");\n\t\t\tkpg.initialize(1024);\n\t\t\tKeyPair kp = kpg.genKeyPair();\n\t\t\tKey RSAKey = kp.getPublic();\n\n\t\t\t//Initialize cipher in WRAP_MODE using method\n \t\t\tCipher cipher = aesCrypt.initializeCipher(RSAKey,2);\n\t\t\tassertNotNull(cipher);\n\n\t\t\t//Initialize cipher in WRAP_MODE using java library\n\t\t\tCipher TestCipher = Cipher.getInstance(\"RSA\");\n\t\t\tTestCipher.init(Cipher.WRAP_MODE, RSAKey);\n\t\t\t\n\t\t\tassertEquals(TestCipher.getParameters(), cipher.getParameters());\n\t\t\t\n } catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t assertEquals(0,1);\n }\n }", "title": "" }, { "docid": "15594bab4c877b8bd4881191cfe34828", "score": "0.41560635", "text": "ContextR setupAuthR(byte[] enc, XECPrivateKey skR, byte[] info, XECPublicKey pkS) {\n byte[] sharedSecret = kem.authDecap(enc, skR, pkS);\n return new ContextR(keySchedule(MODE_AUTH, sharedSecret, info, DEFAULT_PSK, DEFAULT_PSK_ID));\n }", "title": "" }, { "docid": "9493fdcb2ef41e25e5edcfb769365ab6", "score": "0.41555744", "text": "private boolean checkParameters(BthDeviceInfo aBtDeviceInfo)\r\n\t{\n\t\tif ( BluetoothAdapter.checkBluetoothAddress(aBtDeviceInfo.fMacAddress) == false )\r\n\t\t\treturn false;\r\n\r\n\t\t// check channels\r\n\t\tif ( aBtDeviceInfo.fChannelNumbers < 1\r\n\t\t\t\t|| aBtDeviceInfo.fChannelNumbers > 255 )\r\n\t\t\treturn false;\r\n\t\t\r\n\t\t//check pairing code\r\n\t\tif ( checkPairingCode(aBtDeviceInfo.fPairingCode) == false )\r\n\t\t\treturn false;\r\n\t\t\r\n\t\t//TODO check the send data policy\r\n\t\t\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "cfd67f7271697d1719cefe9f01883023", "score": "0.41498035", "text": "PKey createPKey();", "title": "" }, { "docid": "a3798a381792ce4e72d0d34b7e84f0b6", "score": "0.4147553", "text": "public void init(Key theKey, byte theMode) throws CryptoException {\n\n if (theMode != MODE_DECRYPT && theMode != MODE_ENCRYPT)\n CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);\n if (!theKey.isInitialized())\n CryptoException.throwIt(CryptoException.UNINITIALIZED_KEY);\n\n if (algAES()) {\n if (theKey.getType() != KeyBuilder.TYPE_AES\n && theKey.getType() != KeyBuilder.TYPE_AES_TRANSIENT_DESELECT\n && theKey.getType() != KeyBuilder.TYPE_AES_TRANSIENT_RESET)\n CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);\n _blockSize = 16;\n if (theMode == MODE_ENCRYPT)\n _maxLen = (short) (0x7fff - _minPad); // any length\n else\n _maxLen = (short) 0x7fff; // any length\n\n } else if (algDES()) {\n if (theKey.getType() != KeyBuilder.TYPE_DES\n && theKey.getType() != KeyBuilder.TYPE_DES_TRANSIENT_DESELECT\n && theKey.getType() != KeyBuilder.TYPE_DES_TRANSIENT_RESET)\n CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);\n _blockSize = 8;\n if (theMode == MODE_ENCRYPT)\n _maxLen = (short) (0x7fff - _minPad); // any length\n else\n _maxLen = (short) 0x7fff; // any length\n\n } else if (algRSA()) {\n if (!((theKey.getType() == KeyBuilder.TYPE_RSA_PUBLIC && theMode == MODE_ENCRYPT) || ((theKey\n .getType() == KeyBuilder.TYPE_RSA_PRIVATE || theKey\n .getType() == KeyBuilder.TYPE_RSA_CRT_PRIVATE) && theMode == MODE_DECRYPT)))\n CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);\n _blockSize = (short) (theKey.getSize() / 8);\n if (theMode == MODE_ENCRYPT)\n _maxLen = (short) (_blockSize - _minPad);\n else\n _maxLen = _blockSize;\n }\n\n _key = theKey;\n _mode = theMode;\n _read[1] = 0;\n _read[0] = 0;\n }", "title": "" }, { "docid": "519d4aa94285063eda86b7575d987d8c", "score": "0.41454107", "text": "public static void main(String args[]) throws IOException \n {\n /*\n * args[0] should be either \"e\" or \"d\"\n * args[1] and args[2] should correspond to the following:\n *\n * -length => \"128\" or \"256\"\n * -mode => \"ecb\" or \"cbc\"\n * neither -length nor -mode: args[1] should be the keyFile, and args[2] should be the inputFile\n *\n * args[3] and args[4] should exist only if -length was specified:\n */\n try \n {\n\t //System.out.println(args[0]+\" \"+args[1]);\n int keysizecheck = 128; //User's intended key size.\n mode=Mode.ECB;\n keyreader = new BufferedReader(new FileReader(\"C:\\\\Users\\\\MANISH BAIRAGI\\\\Music\\\\key.txt\"));\n key = keyreader.readLine();\n if(key.length() *4 != keysizecheck) //Check to see if user's intended key size matches the size of key in file.\n {\n throw new Exception(\"Error: Attemping to use a \" + key.length() * 4 + \"-bit key with AES-\"+keysizecheck);\n } \n \n if(mode == Mode.CBC)\n {\n iv = keyreader.readLine();\n if(iv == null)\n {\n throw new Exception(\"Error: Initialization Vector required for CBC Mode.\");\n }\n else if(iv.length() != 32)\n {\n throw new Exception(\"Error: Size of Initialization Vector must be 32 bytes.\");\n }\n }\n // ftw += args[keyFileIndex+1];\n }\n catch (Exception e) \n {\n System.err.println(e.getMessage() + newline);\n System.exit(1);\n }\n \n AES2 aes = new AES2();\n if (ch.equalsIgnoreCase(\"e\")) \n {\n \n BufferedReader xyz=new BufferedReader(new FileReader(\"C:\\\\Users\\\\MANISH BAIRAGI\\\\Music\\\\input.txt\"));\n FileWriter abc = new FileWriter(\"C:\\\\Users\\\\MANISH BAIRAGI\\\\Music\\\\temp.txt\");\n String lines;\n while ((lines=xyz.readLine())!=null) { \n byte bytes[]=lines.getBytes();\n StringBuilder sb = new StringBuilder();\n for (byte b : bytes) {\n sb.append(String.format(\"%02X\", b));\n }\n abc.write(sb.toString()+newline);\n }\n abc.close();\n \n \n input = new BufferedReader(new FileReader(\"C:\\\\Users\\\\MANISH BAIRAGI\\\\Music\\\\temp.txt\"));\n \n out = new FileWriter(\"C:\\\\Users\\\\MANISH BAIRAGI\\\\Music\\\\output.txt\");\n int numRounds = 10 + (((key.length() * 4 - 128) / 32));\n String line = input.readLine();\n int[][] state, initvector = new int[4][4];\n int[][] keymatrix = aes.keySchedule(key);\n if(mode == Mode.CBC)\n {\n for (int i = 0; i < 4; i++)\n {\n for (int j = 0; j < 4; j++) {\n initvector[j][i] = Integer.parseInt(iv.substring((8 * i) + (2 * j), (8 * i) + (2 * j + 2)), 16);\n }\n }\n }\n while (line != null) {\n if (line.matches(\"[0-9A-F]+\")) //If line is valid (i.e. contains valid hex characters, encrpyt. Otherwise, skip line. \n {\n if (line.length() < 32) {\n line = String.format(\"%032x\",Integer.parseInt(line, 16));\n }\n state = new int[4][4];\n for (int i = 0; i < 4; i++) //Parses line into a matrix\n {\n for (int j = 0; j < 4; j++) {\n state[j][i] = Integer.parseInt(line.substring((8 * i) + (2 * j), (8 * i) + (2 * j + 2)), 16);\n }\n }\n if(mode == Mode.CBC)\n {\n aes.addRoundKey(state, initvector); \n }\n aes.addRoundKey(state, aes.subKey(keymatrix, 0)); //Starts the addRoundKey with the first part of Key Expansion\n for (int i = 1; i < numRounds; i++) {\n aes.subBytes(state); //implements the Sub-Bytes subroutine.\n aes.shiftRows(state); //implements Shift-Rows subroutine.\n aes.mixColumns(state);\n aes.addRoundKey(state, aes.subKey(keymatrix, i));\n System.out.println(\"Round \"+i+\":\");\n System.out.println(MatrixToString(state));\n System.out.println(\"--------------------------------\");\n }\n aes.subBytes(state); //implements the Sub-Bytes subroutine.\n aes.shiftRows(state); //implements Shift-Rows subroutine.\n aes.addRoundKey(state, aes.subKey(keymatrix, numRounds));\n System.out.println(\"Round \"+numRounds+\":\");\n System.out.println(MatrixToString(state));\n System.out.println(\"--------------------------------\");\n if(mode == Mode.CBC)\n {\n initvector = state;\n }\n /* \n StringBuilder sb = new StringBuilder();\n StringBuilder temp = new StringBuilder();\n //49204c6f7665204a617661 split into two characters 49, 20, 4c...\n for( int i=0; i<MatrixToString(state).length()-1; i+=2 ){\n //grab the hex in pairs\n String output = MatrixToString(state).substring(i, (i + 2));\n //convert hex to decimal\n int decimal = Integer.parseInt(output, 16);\n //convert the decimal to character\n sb.append((char)decimal);\n }\n out.write(sb.toString() + newline); //If all systems could just use the same newline, I'd be set.\n */\n out.write(MatrixToString(state));\n System.out.println(\"Ciphertext:\"+MatrixToString(state));\n line = input.readLine();\n } \n else \n {\n line = input.readLine();\n }\n }\n input.close();\n out.close();\n } \n else if (ch.equalsIgnoreCase(\"d\")) //Decryption Mode \n {\n input = new BufferedReader(new FileReader(\"C:\\\\Users\\\\MANISH BAIRAGI\\\\Music\\\\output.txt\"));\n out = new FileWriter(\"C:\\\\Users\\\\MANISH BAIRAGI\\\\Music\\\\input.txt\");\n int numRounds = 10 + (((key.length() * 4 - 128) / 32));\n String line = input.readLine();\n int[][] state = new int[4][4];\n int[][] initvector = new int[4][4];\n int[][] nextvector = new int[4][4];\n int[][] keymatrix = aes.keySchedule(key);\n if(mode == Mode.CBC) //Parse Initialization Vector\n {\n for (int i = 0; i < 4; i++)\n {\n for (int j = 0; j < 4; j++) {\n initvector[j][i] = Integer.parseInt(iv.substring((8 * i) + (2 * j), (8 * i) + (2 * j + 2)), 16);\n }\n } \n }\n while (line != null) {\n state = new int[4][4];\n for (int i = 0; i < state.length; i++) //Parses line into a matrix\n {\n for (int j = 0; j < state[0].length; j++) {\n state[j][i] = Integer.parseInt(line.substring((8 * i) + (2 * j), (8 * i) + (2 * j + 2)), 16);\n }\n }\n if(mode == Mode.CBC)\n {\n aes.deepCopy2DArray(nextvector,state);\n }\n aes.addRoundKey(state, aes.subKey(keymatrix, numRounds));\n for (int i = numRounds - 1; i > 0; i--) {\n aes.invShiftRows(state);\n aes.invSubBytes(state);\n aes.addRoundKey(state, aes.subKey(keymatrix, i));\n aes.invMixColumns(state);\n System.out.println(\"Round \"+(i+1)+\":\");\n System.out.println(MatrixToString(state));\n System.out.println(\"--------------------------------\");\n }\n aes.invShiftRows(state);\n aes.invSubBytes(state); \n aes.addRoundKey(state, aes.subKey(keymatrix, 0));\n System.out.println(\"Round \"+1+\":\");\n System.out.println(MatrixToString(state));\n System.out.println(\"--------------------------------\");\n if(mode == Mode.CBC)\n {\n aes.addRoundKey(state, initvector);\n aes.deepCopy2DArray(initvector,nextvector);\n }\n StringBuilder sb = new StringBuilder();\n StringBuilder temp = new StringBuilder();\n //49204c6f7665204a617661 split into two characters 49, 20, 4c...\n for( int i=0; i<MatrixToString(state).length()-1; i+=2 ){\n //grab the hex in pairs\n String output = MatrixToString(state).substring(i, (i + 2));\n //convert hex to decimal\n int decimal = Integer.parseInt(output, 16);\n //convert the decimal to character\n sb.append((char)decimal);\n }\n out.write(sb.toString() + newline); //If all systems could just use the same newline, I'd be set.\n System.out.println(\"Decrypted text:\"+sb.toString());\n // out.write(MatrixToString(state));\n line = input.readLine();\n }\n input.close();\n out.close();\n } \n else \n {\n System.err.println(\"Usage for Encryption: java AES e keyFile inputFile\");\n System.err.println(\"Usage for Decryption: java AES d keyFile encryptedinputFile\");\n } \n }", "title": "" }, { "docid": "4a894e659bf949bac8f98833d42cc55a", "score": "0.41393903", "text": "private void checkKEKAES(EncryptedKey encKey, boolean hasKeyInfo) {\n assertNotNull(\"EncryptedKey was null\", encKey);\n assertEquals(\"Algorithm attribute\", kekURIAES, encKey.getEncryptionMethod().getAlgorithm());\n assertEquals(\"Recipient attribute\", expectedRecipientAES, encKey.getRecipient());\n if (! hasKeyInfo) {\n assertNull(\"Unexpected KeyInfo was present\", encKey.getKeyInfo());\n return;\n } else {\n assertNotNull(\"KeyInfo was not present\", encKey.getKeyInfo());\n assertNotNull(\"KeyName was not present\", encKey.getKeyInfo().getKeyNames().get(0));\n assertEquals(\"Unexpected KEK KeyName\", expectedKEKKeyNameAES, \n encKey.getKeyInfo().getKeyNames().get(0).getValue());\n }\n }", "title": "" }, { "docid": "0bed7cdcf80eab91b606776afa931174", "score": "0.41323996", "text": "private android.net.wifi.WifiConfiguration createWifiConfigForProvider(com.android.server.wifi.hotspot2.PasspointNetworkEvaluator.PasspointNetworkCandidate r17) {\n /*\n r16 = this;\n r0 = r16\n r1 = r17\n com.android.server.wifi.hotspot2.PasspointProvider r2 = r1.mProvider\n android.net.wifi.WifiConfiguration r2 = r2.getWifiConfig()\n com.android.server.wifi.ScanDetail r3 = r1.mScanDetail\n java.lang.String r3 = r3.getSSID()\n java.lang.String r3 = com.android.server.wifi.util.ScanResultUtil.createQuotedSSID(r3)\n r2.SSID = r3\n com.android.server.wifi.hotspot2.PasspointMatch r3 = r1.mMatchStatus\n com.android.server.wifi.hotspot2.PasspointMatch r4 = com.android.server.wifi.hotspot2.PasspointMatch.HomeProvider\n r5 = 1\n if (r3 != r4) goto L_0x001f\n r2.isHomeProviderNetwork = r5\n L_0x001f:\n com.android.server.wifi.hotspot2.PasspointProvider r3 = r1.mProvider\n android.net.wifi.hotspot2.PasspointConfiguration r3 = r3.getConfig()\n r4 = 0\n r6 = 0\n if (r3 == 0) goto L_0x003b\n android.net.wifi.hotspot2.pps.HomeSp r7 = r3.getHomeSp()\n boolean r4 = r7.isOAuthEnabled()\n if (r4 == 0) goto L_0x003b\n android.net.wifi.hotspot2.pps.HomeSp r7 = r3.getHomeSp()\n java.lang.String r6 = r7.getOAuthProvider()\n L_0x003b:\n com.android.server.wifi.WifiConfigManager r7 = r0.mWifiConfigManager\n java.lang.String r8 = r2.configKey()\n android.net.wifi.WifiConfiguration r7 = r7.getConfiguredNetwork((java.lang.String) r8)\n r8 = 1010(0x3f2, float:1.415E-42)\n r9 = 0\n r10 = 0\n if (r7 == 0) goto L_0x00c3\n android.net.wifi.WifiConfiguration$NetworkSelectionStatus r11 = r7.getNetworkSelectionStatus()\n java.lang.String r12 = \"Current configuration for the Passpoint AP \"\n if (r4 == 0) goto L_0x0097\n boolean r13 = r0.hasOAuthProvider(r6)\n if (r13 == 0) goto L_0x006e\n boolean r13 = mIsEnabledNetworkForOpenRoaming\n if (r13 != 0) goto L_0x0097\n boolean r13 = r11.isNetworkEnabled()\n if (r13 != 0) goto L_0x006b\n com.android.server.wifi.WifiConfigManager r13 = r0.mWifiConfigManager\n int r14 = r7.networkId\n r13.enableNetwork(r14, r10, r8)\n L_0x006b:\n mIsEnabledNetworkForOpenRoaming = r5\n goto L_0x0097\n L_0x006e:\n boolean r5 = r11.isNetworkEnabled()\n if (r5 == 0) goto L_0x007b\n com.android.server.wifi.WifiConfigManager r5 = r0.mWifiConfigManager\n int r13 = r7.networkId\n r5.disableNetwork(r13, r8)\n L_0x007b:\n mIsEnabledNetworkForOpenRoaming = r10\n java.lang.StringBuilder r5 = new java.lang.StringBuilder\n r5.<init>()\n r5.append(r12)\n java.lang.String r8 = r2.SSID\n r5.append(r8)\n java.lang.String r8 = \" does not have OAuth, skip this candidate\"\n r5.append(r8)\n java.lang.String r5 = r5.toString()\n r0.localLog(r5)\n return r9\n L_0x0097:\n boolean r5 = r11.isNetworkEnabled()\n if (r5 != 0) goto L_0x00c2\n com.android.server.wifi.WifiConfigManager r5 = r0.mWifiConfigManager\n int r8 = r7.networkId\n boolean r5 = r5.tryEnableNetwork((int) r8)\n if (r5 == 0) goto L_0x00a8\n return r7\n L_0x00a8:\n java.lang.StringBuilder r8 = new java.lang.StringBuilder\n r8.<init>()\n r8.append(r12)\n java.lang.String r10 = r2.SSID\n r8.append(r10)\n java.lang.String r10 = \" is disabled, skip this candidate\"\n r8.append(r10)\n java.lang.String r8 = r8.toString()\n r0.localLog(r8)\n return r9\n L_0x00c2:\n return r7\n L_0x00c3:\n com.android.server.wifi.WifiConfigManager r11 = r0.mWifiConfigManager\n int r11 = r11.increaseAndGetPriority()\n r2.priority = r11\n r11 = 0\n r12 = 0\n if (r3 == 0) goto L_0x01f4\n android.net.wifi.hotspot2.pps.HomeSp r13 = r3.getHomeSp()\n boolean r13 = r13.isAutoReconnectEnabled()\n r2.semAutoReconnect = r13\n android.net.wifi.hotspot2.pps.HomeSp r13 = r3.getHomeSp()\n boolean r13 = r13.isVendorSpecificSsid()\n if (r13 == 0) goto L_0x010f\n android.net.wifi.hotspot2.pps.Credential r13 = r3.getCredential()\n android.net.wifi.hotspot2.pps.Credential$SimCredential r13 = r13.getSimCredential()\n if (r13 == 0) goto L_0x010f\n android.net.wifi.hotspot2.pps.Credential r13 = r3.getCredential()\n android.net.wifi.hotspot2.pps.Credential$SimCredential r13 = r13.getSimCredential()\n java.lang.String r13 = r13.getImsi()\n boolean r14 = android.text.TextUtils.isEmpty(r13)\n if (r14 != 0) goto L_0x010f\n java.lang.String r14 = mImsi\n boolean r14 = android.text.TextUtils.equals(r14, r13)\n if (r14 != 0) goto L_0x010f\n mImsi = r13\n r11 = 1\n java.lang.String r14 = \"IMSI of Passpoint config is changed. So network must be enabled\"\n r0.localLog(r14)\n L_0x010f:\n java.lang.String r13 = r2.providerFriendlyName\n java.lang.String r14 = \"Vendor Hotspot2.0 Profile\"\n boolean r13 = r14.equals(r13)\n if (r13 != 0) goto L_0x0123\n java.lang.String r13 = r2.providerFriendlyName\n java.lang.String r14 = \"Samsung Hotspot2.0 Profile\"\n boolean r13 = r14.equals(r13)\n if (r13 == 0) goto L_0x01b8\n L_0x0123:\n r13 = 0\n com.samsung.android.net.wifi.OpBrandingLoader$Vendor r14 = com.samsung.android.net.wifi.OpBrandingLoader.Vendor.SKT\n com.samsung.android.net.wifi.OpBrandingLoader$Vendor r15 = mOpBranding\n if (r14 != r15) goto L_0x0161\n r14 = 0\n com.android.server.wifi.hotspot2.PasspointManager r15 = r0.mPasspointManager\n com.android.server.wifi.ScanDetail r9 = r1.mScanDetail\n android.net.wifi.ScanResult r9 = r9.getScanResult()\n java.util.Map r9 = r15.getANQPElements(r9)\n if (r9 == 0) goto L_0x0161\n int r14 = r9.size()\n if (r14 <= 0) goto L_0x0161\n com.android.server.wifi.hotspot2.anqp.Constants$ANQPElementType r14 = com.android.server.wifi.hotspot2.anqp.Constants.ANQPElementType.HSFriendlyName\n java.lang.Object r14 = r9.get(r14)\n com.android.server.wifi.hotspot2.anqp.HSFriendlyNameElement r14 = (com.android.server.wifi.hotspot2.anqp.HSFriendlyNameElement) r14\n if (r14 == 0) goto L_0x0161\n java.util.List r15 = r14.getNames()\n boolean r15 = r15.isEmpty()\n if (r15 != 0) goto L_0x0161\n java.util.List r15 = r14.getNames()\n java.lang.Object r15 = r15.get(r10)\n com.android.server.wifi.hotspot2.anqp.I18Name r15 = (com.android.server.wifi.hotspot2.anqp.I18Name) r15\n java.lang.String r13 = r15.getText()\n L_0x0161:\n boolean r9 = android.text.TextUtils.isEmpty(r13)\n java.lang.String r14 = \" was replaced by \"\n java.lang.String r15 = \"The Friendlyname of \"\n if (r9 != 0) goto L_0x018a\n java.lang.StringBuilder r9 = new java.lang.StringBuilder\n r9.<init>()\n r9.append(r15)\n java.lang.String r15 = r2.providerFriendlyName\n r9.append(r15)\n r9.append(r14)\n r9.append(r13)\n java.lang.String r9 = r9.toString()\n r0.localLog(r9)\n r2.providerFriendlyName = r13\n r9 = 1\n r12 = r9\n goto L_0x01b8\n L_0x018a:\n java.lang.String r9 = r2.SSID\n boolean r9 = android.text.TextUtils.isEmpty(r9)\n if (r9 != 0) goto L_0x01b8\n java.lang.StringBuilder r9 = new java.lang.StringBuilder\n r9.<init>()\n r9.append(r15)\n java.lang.String r15 = r2.providerFriendlyName\n r9.append(r15)\n r9.append(r14)\n java.lang.String r14 = r2.SSID\n r9.append(r14)\n java.lang.String r9 = r9.toString()\n r0.localLog(r9)\n java.lang.String r9 = r2.SSID\n java.lang.String r9 = com.android.server.wifi.util.StringUtil.removeDoubleQuotes(r9)\n r2.providerFriendlyName = r9\n r9 = 1\n r12 = r9\n L_0x01b8:\n if (r12 == 0) goto L_0x01f4\n r9 = 0\n android.net.wifi.hotspot2.pps.HomeSp r13 = r3.getHomeSp()\n java.lang.String r14 = r2.providerFriendlyName\n r13.setFriendlyName(r14)\n com.android.server.wifi.hotspot2.PasspointManager r13 = r0.mPasspointManager\n com.android.server.wifi.hotspot2.PasspointProvider r14 = r1.mProvider\n int r14 = r14.getCreatorUid()\n com.android.server.wifi.hotspot2.PasspointProvider r15 = r1.mProvider\n java.lang.String r15 = r15.getPackageName()\n boolean r9 = r13.addOrUpdateProvider(r3, r14, r15)\n if (r9 == 0) goto L_0x01f4\n java.lang.StringBuilder r13 = new java.lang.StringBuilder\n r13.<init>()\n java.lang.String r14 = \"FriendlyName of Passpoint config updated to \"\n r13.append(r14)\n android.net.wifi.hotspot2.pps.HomeSp r14 = r3.getHomeSp()\n java.lang.String r14 = r14.getFriendlyName()\n r13.append(r14)\n java.lang.String r13 = r13.toString()\n r0.localLog(r13)\n L_0x01f4:\n com.android.server.wifi.hotspot2.PasspointMatch r9 = r1.mMatchStatus\n com.android.server.wifi.hotspot2.PasspointMatch r13 = com.android.server.wifi.hotspot2.PasspointMatch.HomeProvider\n if (r9 != r13) goto L_0x01fc\n r2.isHomeProviderNetwork = r5\n L_0x01fc:\n com.android.server.wifi.WifiConfigManager r5 = r0.mWifiConfigManager\n com.android.server.wifi.NetworkUpdateResult r5 = r5.addOrUpdateNetwork(r2, r8)\n boolean r9 = r5.isSuccess()\n if (r9 != 0) goto L_0x020f\n java.lang.String r8 = \"Failed to add passpoint network\"\n r0.localLog(r8)\n r8 = 0\n return r8\n L_0x020f:\n int r9 = r2.semAutoReconnect\n if (r9 != 0) goto L_0x0232\n java.lang.StringBuilder r8 = new java.lang.StringBuilder\n r8.<init>()\n java.lang.String r9 = \"AutoReconnect of \"\n r8.append(r9)\n java.lang.String r9 = r2.configKey()\n r8.append(r9)\n java.lang.String r9 = \" Passpoint network is disabled\"\n r8.append(r9)\n java.lang.String r8 = r8.toString()\n r0.localLog(r8)\n r8 = 0\n return r8\n L_0x0232:\n com.android.server.wifi.WifiConfigManager r9 = r0.mWifiConfigManager\n int r13 = r5.getNetworkId()\n android.net.wifi.WifiConfiguration r9 = r9.getConfiguredNetwork((int) r13)\n if (r11 != 0) goto L_0x025b\n if (r9 == 0) goto L_0x025b\n android.net.wifi.WifiConfiguration$NetworkSelectionStatus r13 = r9.getNetworkSelectionStatus()\n if (r13 == 0) goto L_0x025b\n boolean r14 = r13.isNetworkEnabled()\n if (r14 != 0) goto L_0x025b\n r14 = 19\n boolean r14 = r13.isDisabledByReason(r14)\n if (r14 == 0) goto L_0x025b\n java.lang.String r8 = \"Selected Passpoint network is unstable AP\"\n r0.localLog(r8)\n r8 = 0\n return r8\n L_0x025b:\n if (r4 == 0) goto L_0x028f\n com.android.server.wifi.WifiInjector r13 = com.android.server.wifi.WifiInjector.getInstance()\n com.samsung.android.server.wifi.dqa.SemWifiIssueDetector r13 = r13.getIssueDetector()\n if (r13 == 0) goto L_0x0282\n android.os.Bundle r14 = new android.os.Bundle\n r14.<init>()\n android.net.wifi.hotspot2.pps.HomeSp r15 = r3.getHomeSp()\n java.lang.String r15 = r15.getFqdn()\n java.lang.String r8 = \"fqdn\"\n r14.putString(r8, r15)\n r8 = 106(0x6a, float:1.49E-43)\n android.os.Message r8 = r13.obtainMessage(r10, r8, r10, r14)\n r13.sendMessage(r8)\n L_0x0282:\n boolean r8 = r0.hasOAuthProvider(r6)\n if (r8 != 0) goto L_0x028f\n java.lang.String r8 = \"Do not create WifiConfig, the user did not agree to use OpenRoaming.\"\n r0.localLog(r8)\n r8 = 0\n return r8\n L_0x028f:\n com.android.server.wifi.WifiConfigManager r8 = r0.mWifiConfigManager\n int r13 = r5.getNetworkId()\n r14 = 1010(0x3f2, float:1.415E-42)\n r8.enableNetwork(r13, r10, r14)\n com.android.server.wifi.WifiConfigManager r8 = r0.mWifiConfigManager\n int r13 = r5.getNetworkId()\n com.android.server.wifi.ScanDetail r14 = r1.mScanDetail\n android.net.wifi.ScanResult r14 = r14.getScanResult()\n r8.setNetworkCandidateScanResult(r13, r14, r10)\n com.android.server.wifi.WifiConfigManager r8 = r0.mWifiConfigManager\n int r10 = r5.getNetworkId()\n com.android.server.wifi.ScanDetail r13 = r1.mScanDetail\n r8.updateScanDetailForNetwork(r10, r13)\n com.android.server.wifi.WifiConfigManager r8 = r0.mWifiConfigManager\n int r10 = r5.getNetworkId()\n android.net.wifi.WifiConfiguration r8 = r8.getConfiguredNetwork((int) r10)\n return r8\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.server.wifi.hotspot2.PasspointNetworkEvaluator.createWifiConfigForProvider(com.android.server.wifi.hotspot2.PasspointNetworkEvaluator$PasspointNetworkCandidate):android.net.wifi.WifiConfiguration\");\n }", "title": "" }, { "docid": "66e35c52dc304da197b710a1e49f0005", "score": "0.41210863", "text": "public void testAutoKeyGenNoKEK() {\n SimpleXMLObject sxo = (SimpleXMLObject) unmarshallElement(targetFile);\n \n encParams.setEncryptionCredential(null);\n \n kekParamsList.clear();\n \n // try with no KEK\n try {\n encrypter.encryptElement(sxo, encParams);\n fail(\"Object encryption should have failed: no KEK supplied with auto key generation for data encryption\");\n } catch (EncryptionException e) {\n // do nothing, should fail\n }\n \n // try with empty KEK list\n try {\n encrypter.encryptElement(sxo, encParams, kekParamsList);\n fail(\"Object encryption should have failed: no KEK supplied with auto key generation for data encryption\");\n } catch (EncryptionException e) {\n // do nothing, should fail\n }\n }", "title": "" }, { "docid": "38fe6958bcb3a2ac2fa31b5298c16895", "score": "0.4117778", "text": "public void testAutoKeyGen() {\n SimpleXMLObject sxo = (SimpleXMLObject) unmarshallElement(targetFile);\n \n encParams.setEncryptionCredential(null);\n \n kekParamsList.add(kekParamsRSA);\n \n EncryptedData encData = null;\n \n // try with single KEK\n try {\n encData = encrypter.encryptElement(sxo, encParams, kekParamsRSA);\n } catch (EncryptionException e) {\n fail(\"Object encryption failed: \" + e);\n }\n assertNotNull(encData);\n \n // try with multiple KEK\n try {\n encData = encrypter.encryptElement(sxo, encParams, kekParamsList);\n } catch (EncryptionException e) {\n fail(\"Object encryption failed: \" + e);\n }\n assertNotNull(encData);\n }", "title": "" }, { "docid": "66ba1b71fa245494e8c19fc5c3d60646", "score": "0.4098932", "text": "public static void main(String[] args) throws InvalidKeySpecException, NoSuchAlgorithmException {\n\n\t\t// Define encryption algorithm to use\n\t\tString encryptionAlgorithm = \"AES/CBC/PKCS5Padding\";\n\n\t\t// Define AES bit length to choose from\n\t\tfinal int[] encryptionBitLength = {128, 256};\n\n\t\t// Define choice of AES encryption bit length\n\t\tint encryptionBitLengthChoice = UtilGetTerminalInputs.getAESKeyLength();\n\n\t\t// Check user selection of key length, 1 = 128 bit, 2 = 256 bit\n\t\tif (encryptionBitLengthChoice == 1) {\n\n\t\t\t// Define AES bit length chosen, 0 = 128, 1 = 256\n\t\t\tencryptionBitLengthChoice = encryptionBitLength[0];\n\n\t\t\t// Default choice of 256 bit AES encryption\n\t\t} else {\n\n\t\t\t// Define AES bit length chosen, 0 = 128, 1 = 256\n\t\t\tencryptionBitLengthChoice = encryptionBitLength[1];\n\t\t}\n\n\t\t// Define program mode selection value, 1 = encrypt, 2 = decrypt\n\t\tint programModeSelection = UtilGetTerminalInputs.getProgramModeChoice();\n\n\t\t// Define program behavior in Encryption mode\n\t\tif (programModeSelection == 1) {\n\n\t\t\t// Tell User that encryption mode has been selected\n\t\t\tSystem.out.println(\"Program starting in Encryption Mode...\");\n\n\t\t\t// Define string to store user input for key generation method\n\t\t\tint keyGenMethod = UtilGetTerminalInputs.getKeyGenMethodChoice();\n\n\t\t\t// Generate Secret Key\n\t\t\tSecretKey key = LogicKeyGen.keyMethodSelection(keyGenMethod, encryptionBitLengthChoice);\n\n\t\t\t// Convert key to string\n\t\t\tString keyString = LogicConverters.secretKeyToString(key);\n\n\t\t\t// Perform encryption and ask user if they wish to encrypt another message\n\t\t\tUtilGetTerminalInputs.getRepeatingEncryption(encryptionAlgorithm, keyString);\n\n\n\t\t\t// Program mode set to Decryption\n\t\t} else if (programModeSelection == 2) {\n\n\t\t\t// Choice value for using combined or separate iv and ciphertext\n\t\t\tint combinedIvAndCipherChoice = UtilGetTerminalInputs.getCombinedIVAndCiphertextInput();\n\n\t\t\t// Get symmetric key from user\n\t\t\tString userDecryptionKeyString = UtilGetTerminalInputs.getKeyInput();\n\n\t\t\t// Convert input key string into Secret Key\n\t\t\tSecretKey userDecryptionKey = LogicConverters.stringToSecretKey(userDecryptionKeyString);\n\n\t\t\t// Convert decryption key to string\n\t\t\tString userDecryptionKeyStringConv = LogicConverters.secretKeyToString(userDecryptionKey);\n\n\t\t\t// Perform Decryption and ask user if they would like to Decrypt another message\n\t\t\tUtilGetTerminalInputs.getRepeatingDecryption(encryptionAlgorithm, userDecryptionKeyStringConv, combinedIvAndCipherChoice);\n\n\t\t\t// Program mode set to Generate Code Book\n\t\t} else if (programModeSelection == 3) {\n\n\t\t\t// Get month to generate codes for\n\t\t\t// Prompt user to select which month to generate code book for\n\t\t\tint monthNo = UtilGetTerminalInputs.getUserMonth();\n\n\t\t\t// Generate code book\n\t\t\tboolean fileGenSuccess = LogicCodebookGen.generateCodeBook(monthNo, encryptionBitLengthChoice);\n\n\t\t\t// Check whether codebook generation was successful\n\t\t\tif (fileGenSuccess){\n\t\t\t\tSystem.out.println(\"Codebook Generated.\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"ERROR: Codebook Generation Failed.\");\n\t\t\t}\n\t\t}\n\n\t\t// End of main method\n\t\tSystem.out.println(\"\\nProgram Terminated.\");\n\t}", "title": "" }, { "docid": "a088125619576d25a365f57002bbd677", "score": "0.4091424", "text": "public void init(int opmode, KeySpec keySpec) throws InvalidKeyException, InvalidKeySpecException, NoSuchAlgorithmException, IllegalBlockSizeException, BadPaddingException,\n NoSuchPaddingException {\n SecretKey skey = getKeyFactory().generateSecret(keySpec);\n init(opmode, skey);\n }", "title": "" }, { "docid": "0bb79edfb6ab64d610d3a9757aff9c5d", "score": "0.40908733", "text": "@Test\n public void Testcrypt() {\n\t \n\t String passTemp=\"passwordpassword\";\n\n try {\n \t \n \t//ENCRYPT \t \n \tObjectOutputStream outObj; \n // create the user digital certificate (digital identity)\n RSAGenerator keyGen = new RSAGenerator();\n KeyPair RSAKeys = keyGen.GenerateRSAKeys();\n \n // encrypt private key with user password. \n outObj = new ObjectOutputStream(new FileOutputStream(\"\\\\Security Tools\\\\privateKey.key\"));\n outObj.writeObject(RSAKeys.getPrivate());\n outObj.close();\n \n \t//create AES Key with user password and cipher \n AESCrypt aesCryptENCRYPT = new AESCrypt();\n Key AES128ENCRYPT = aesCryptENCRYPT.inilizeAESKeyByPassword(passTemp);\n Cipher encryptCipher = aesCryptENCRYPT.initializeCipher(AES128ENCRYPT,0);\n InputStream in = new FileInputStream(\"\\\\Security Tools\\\\privateKey.key\");\t\t//RSA Private key\n OutputStream out = new FileOutputStream(\"\\\\Security Tools\\\\Private Key.key\");\t//Ecrypted AES PW\n \n // encrypt the private key with the AES key and delete the plain key\n aesCryptENCRYPT.crypt(in,out,encryptCipher);\n in.close();\n out.close();\n \n //DECRYPT\n //create AES Key with user password and cipher \n AESCrypt aesCryptDECRYPT = new AESCrypt();\n Key AES128DECRYPT = aesCryptDECRYPT.inilizeAESKeyByPassword(passTemp);\n Cipher decryptCipher = aesCryptDECRYPT.initializeCipher(AES128DECRYPT,1);\n in = new FileInputStream(\"\\\\Security Tools\\\\Private Key.key\");\t\t\t\t\t//Encrypted AES PW\n out = new FileOutputStream(\"\\\\Security Tools\\\\PrivateKeyPost.key\");\t\t\t\t//Out RSA key - should match RSA PKey from above\n \n // decrypt the private key with the AES key and delete the plain key\n aesCryptDECRYPT.crypt(in,out,decryptCipher);\n in.close();\n out.close();\n \n //Test to ensure \"\\\\Security Tools\\\\PrivateKeyPost.key\" and \"\\\\Security Tools\\\\PrivateKey.key\" match\n File file1 = new File(\"\\\\Security Tools\\\\privateKey.key\");\n File file2 = new File(\"\\\\Security Tools\\\\PrivateKeyPost.key\");\n \n FileReader fR1 = new FileReader(file1);\n FileReader fR2 = new FileReader(file2);\n\n BufferedReader reader1 = new BufferedReader(fR1);\n BufferedReader reader2 = new BufferedReader(fR2);\n\n String line1 = null;\n String line2 = null;\n while (((line1 = reader1.readLine()) != null)\n && ((line2 = reader2.readLine()) != null)) {\n if (!line1.equalsIgnoreCase(line2))\n assertEquals(0,1);\t\t//If the test gets here a mismatch has been found and the test fails\n }\n reader1.close();\n reader2.close();\n \n } catch (Exception e) {\n \t e.printStackTrace();\n \t assertEquals(0,1);\n }\n }", "title": "" }, { "docid": "0afa4c124bbab86c06fa1fcf2fcc6046", "score": "0.40787807", "text": "public void testEncryptDataMultipleKEK() {\n SimpleXMLObject sxo = (SimpleXMLObject) unmarshallElement(targetFile);\n \n kekParamsRSA.setKeyInfoGenerator(new StaticKeyInfoGenerator(kekKeyInfoRSA));\n kekParamsAES.setKeyInfoGenerator(new StaticKeyInfoGenerator(kekKeyInfoAES));\n \n kekParamsList.add(kekParamsRSA);\n kekParamsList.add(kekParamsAES);\n \n EncryptedData encData = null;\n try {\n encData = encrypter.encryptElement(sxo, encParams, kekParamsList);\n } catch (EncryptionException e) {\n fail(\"Object encryption failed: \" + e);\n }\n \n assertNotNull(encData);\n assertEquals(\"Type attribute\", EncryptionConstants.TYPE_ELEMENT, encData.getType());\n assertEquals(\"Algorithm attribute\", algoURI, encData.getEncryptionMethod().getAlgorithm());\n assertNotNull(\"KeyInfo\", encData.getKeyInfo());\n \n List<EncryptedKey> encKeys = encData.getKeyInfo().getEncryptedKeys();\n assertEquals(\"Number of EncryptedKeys\", 2, encData.getKeyInfo().getEncryptedKeys().size());\n checkKEKRSA(encKeys.get(0), true);\n checkKEKAES(encKeys.get(1), true);\n }", "title": "" }, { "docid": "d6a28affe6ae7000b9bf60f8fa327798", "score": "0.40740535", "text": "private byte[] encryptOrDecrypt(byte[] input, int mode) {\n\t\tassertNotNullAndEmpty(input);\n\n\t\tbyte[] output = null;\n\t\ttry {\n\t\t\tCipher cipher = Cipher.getInstance(AES_CTR_PKCS5PADDING);\n\t\t\tcipher.init(mode, key, ivspec);\n\t\t\toutput = cipher.doFinal(input);\n\t\t} catch (NoSuchAlgorithmException | NoSuchPaddingException\n\t\t\t\t| InvalidKeyException | IllegalBlockSizeException\n\t\t\t\t| BadPaddingException | InvalidAlgorithmParameterException e) {\n\t\t\tthrow new CipherStrategyException(\n\t\t\t\t\t(mode == Cipher.ENCRYPT_MODE ? \"Encryption\" : \"Decryption\")\n\t\t\t\t\t\t\t+ \" failed!\", e);\n\t\t}\n\t\treturn output;\n\t}", "title": "" }, { "docid": "a3fb67616c39091b1b9aeeafac9f8a2a", "score": "0.40667227", "text": "@Test\r\n\tpublic void testGet64BitWEPKeyGenerator() {\r\n\t\tPasswordGenerator pg = PasswordGenerator.get64BitWEPKeyGenerator();\r\n\t\tcheckPasswordGeneration(pg);\r\n\t}", "title": "" }, { "docid": "ff3b4097e0db6602173e0355aac05ef4", "score": "0.406226", "text": "public void testEncryptKeyMultipleKEK() throws NoSuchAlgorithmException, NoSuchProviderException, \n XMLParserException {\n \n Key targetKey = SecurityHelper.generateKeyFromURI(algoURI);\n \n kekParamsAES.setKeyInfoGenerator(new StaticKeyInfoGenerator(kekKeyInfoAES));\n kekParamsRSA.setKeyInfoGenerator(new StaticKeyInfoGenerator(kekKeyInfoRSA));\n \n kekParamsList.add(kekParamsAES);\n kekParamsList.add(kekParamsRSA);\n \n List<EncryptedKey> encKeys = null;\n Document ownerDocument = parserPool.newDocument();\n try {\n encKeys = encrypter.encryptKey(targetKey, kekParamsList, ownerDocument);\n } catch (EncryptionException e) {\n fail(\"Object encryption failed: \" + e);\n }\n \n \n assertEquals(\"Number of EncryptedKeys\", 2, encKeys.size());\n checkKEKAES(encKeys.get(0), true);\n checkKEKRSA(encKeys.get(1), true);\n }", "title": "" }, { "docid": "24adc38b44694b7037298eb4d2d648a9", "score": "0.40608066", "text": "ContextS setupBaseS(XECPublicKey pkR, byte[] info) {\n var encapped = kem.encap(pkR);\n return new ContextS(encapped.enc(),\n keySchedule(MODE_BASE, encapped.sharedSecret(), info, DEFAULT_PSK, DEFAULT_PSK_ID));\n }", "title": "" }, { "docid": "6247d58a4f2cce05ba748e68835d5d75", "score": "0.40589732", "text": "public static void performWalletSecureEnrollmentFlow(final Context context) {\n WalletSecureEnrollmentBusinessService wseService = ProvisioningServiceManager.getWalletSecureEnrollmentBusinessService();\n\n //get State\n WalletSecureEnrollmentState state = wseService.getState();\n if (state == WalletSecureEnrollmentState.WSE_REQUIRED) {\n //call renewal\n wseService.startWalletSecureEnrollment(new WalletSecureEnrollmentListener() {\n @Override\n public void onProgressUpdate(WalletSecureEnrollmentState wseState) {\n// AppLogger.d(AppConstants.APP_TAG, \"performWalletSecureEnrollmentFlow - onProgressUpdate: \" + wseState);\n\n// Toast.makeText(context, \"performWalletSecureEnrollmentFlow - \" + wseState,\n// Toast.LENGTH_SHORT).show();\n\n if (wseState == WalletSecureEnrollmentState.WSE_COMPLETED) {\n //completed ready to go to cardlist\n\n// Toast.makeText(context, \"performWalletSecureEnrollmentFlow - WSE_COMPLETED\",\n// Toast.LENGTH_SHORT).show();\n// broadcastInitComplete(context, true);\n }\n }\n\n @Override\n public void onError(WalletSecureEnrollmentError wbDynamicKeyRenewalServiceError) {\n// AppLogger.d(AppConstants.APP_TAG, \"performWalletSecureEnrollmentFlow onError cps error code: \" + wbDynamicKeyRenewalServiceError.getCpsErrorCode());\n// AppLogger.d(AppConstants.APP_TAG, \"performWalletSecureEnrollmentFlow onError cps error code: \" + wbDynamicKeyRenewalServiceError.getSdkErrorCode());\n// AppLogger.d(AppConstants.APP_TAG, \"performWalletSecureEnrollmentFlow onError message: \" + wbDynamicKeyRenewalServiceError.getErrorMessage());\n\n //display to user, cant enroll\n// Toast.makeText(context, \"performWalletSecureEnrollmentFlow - onError: \" + wbDynamicKeyRenewalServiceError.getErrorMessage(),\n// Toast.LENGTH_SHORT).show();\n// broadcastInitComplete(context, true);\n }\n });\n } else if (state == WalletSecureEnrollmentState.WSE_COMPLETED || state == WalletSecureEnrollmentState.WSE_NOT_REQUIRED) {\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n// Toast.makeText(context, \"performWalletSecureEnrollmentFlow: \" + state,\n// Toast.LENGTH_SHORT).show();\n// broadcastInitComplete(context, true);\n }\n });\n }\n }", "title": "" }, { "docid": "a3cf7a8d951203b09ac5812f6a9247e4", "score": "0.4056088", "text": "public void testInitintKey() throws Exception {\n c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1], \"algorithm\"));\n\n }", "title": "" }, { "docid": "16da95d43eaf799ad347ae91c488f871", "score": "0.40529957", "text": "public void checkCreation1()\n throws Exception\n {\n //\n // a sample key pair.\n //\n AsymmetricKeyParameter pubKey = new RSAKeyParameters(\n false,\n new BigInteger(\"b4a7e46170574f16a97082b22be58b6a2a629798419be12872a4bdba626cfae9900f76abfb12139dce5de56564fab2b6543165a040c606887420e33d91ed7ed7\", 16),\n new BigInteger(\"11\", 16));\n\n AsymmetricKeyParameter privKey = new RSAPrivateCrtKeyParameters(\n new BigInteger(\"b4a7e46170574f16a97082b22be58b6a2a629798419be12872a4bdba626cfae9900f76abfb12139dce5de56564fab2b6543165a040c606887420e33d91ed7ed7\", 16),\n new BigInteger(\"11\", 16),\n new BigInteger(\"9f66f6b05410cd503b2709e88115d55daced94d1a34d4e32bf824d0dde6028ae79c5f07b580f5dce240d7111f7ddb130a7945cd7d957d1920994da389f490c89\", 16),\n new BigInteger(\"c0a0758cdf14256f78d4708c86becdead1b50ad4ad6c5c703e2168fbf37884cb\", 16),\n new BigInteger(\"f01734d7960ea60070f1b06f2bb81bfac48ff192ae18451d5e56c734a5aab8a5\", 16),\n new BigInteger(\"b54bb9edff22051d9ee60f9351a48591b6500a319429c069a3e335a1d6171391\", 16),\n new BigInteger(\"d3d83daf2a0cecd3367ae6f8ae1aeb82e9ac2f816c6fc483533d8297dd7884cd\", 16),\n new BigInteger(\"b8f52fc6f38593dabb661d3f50f8897f8106eee68b1bce78a95b132b4e5b5d19\", 16));\n\n //\n // distinguished name table.\n //\n X500NameBuilder builder = new X500NameBuilder(RFC4519Style.INSTANCE);\n\n builder.addRDN(RFC4519Style.c, \"AU\");\n builder.addRDN(RFC4519Style.o, \"The Legion of the Bouncy Castle\");\n builder.addRDN(RFC4519Style.l, \"Melbourne\");\n builder.addRDN(RFC4519Style.st, \"Victoria\");\n builder.addRDN(PKCSObjectIdentifiers.pkcs_9_at_emailAddress, \"feedback-crypto@bouncycastle.org\");\n\n //\n // extensions\n //\n\n //\n // create the certificate - version 3 - without extensions\n //\n AlgorithmIdentifier sigAlg = sigAlgFinder.find(\"SHA256WithRSAEncryption\");\n ContentSigner sigGen = new BcRSAContentSignerBuilder(sigAlg, digAlgFinder.find(sigAlg)).build(privKey);\n X509v3CertificateBuilder certGen = new BcX509v3CertificateBuilder(builder.build(), BigInteger.valueOf(1), new Date(System.currentTimeMillis() - 50000), new Date(System.currentTimeMillis() + 50000),builder.build(), pubKey);\n\n X509CertificateHolder certH = certGen.build(sigGen);\n\n assertTrue(certH.isValidOn(new Date()));\n\n ContentVerifierProvider contentVerifierProvider = new BcRSAContentVerifierProviderBuilder(new DefaultDigestAlgorithmIdentifierFinder()).build(pubKey);\n\n assertTrue(certH.isSignatureValid(contentVerifierProvider));\n\n X509Certificate cert = new JcaX509CertificateConverter().getCertificate(certH);\n Set dummySet = cert.getNonCriticalExtensionOIDs();\n if (dummySet != null)\n {\n fail(\"non-critical oid set should be null\");\n }\n dummySet = cert.getCriticalExtensionOIDs();\n if (dummySet != null)\n {\n fail(\"critical oid set should be null\");\n }\n\n //\n // create the certificate - version 3 - with extensions\n //\n sigGen = new BcRSAContentSignerBuilder(sigAlgFinder.find(\"MD5WithRSA\"), digAlgFinder.find(sigAlgFinder.find(\"MD5withRSA\"))).build(privKey);\n certGen = new BcX509v3CertificateBuilder(builder.build(), BigInteger.valueOf(1)\n , new Date(System.currentTimeMillis() - 50000)\n , new Date(System.currentTimeMillis() + 50000)\n , builder.build()\n , pubKey)\n .addExtension(new ASN1ObjectIdentifier(\"2.5.29.15\"), true,\n new KeyUsage(KeyUsage.encipherOnly))\n .addExtension(new ASN1ObjectIdentifier(\"2.5.29.37\"), true,\n new DERSequence(KeyPurposeId.anyExtendedKeyUsage))\n .addExtension(new ASN1ObjectIdentifier(\"2.5.29.17\"), true,\n new GeneralNames(new GeneralName(GeneralName.rfc822Name, \"test@test.test\")));\n\n X509CertificateHolder certHolder = certGen.build(sigGen);\n\n assertTrue(certHolder.isValidOn(new Date()));\n\n contentVerifierProvider = new BcRSAContentVerifierProviderBuilder(digAlgFinder).build(pubKey);\n if (!certHolder.isSignatureValid(contentVerifierProvider))\n {\n fail(\"signature test failed\");\n }\n\n ByteArrayInputStream bIn = new ByteArrayInputStream(certHolder.getEncoded());\n CertificateFactory certFact = CertificateFactory.getInstance(\"X.509\");\n\n cert = (X509Certificate)certFact.generateCertificate(bIn);\n\n {\n boolean[] keyUsage = cert.getKeyUsage();\n if (keyUsage == null || keyUsage.length <= 7 || !keyUsage[7])\n {\n fail(\"error generating cert - key usage wrong.\");\n }\n }\n\n List l = cert.getExtendedKeyUsage();\n if (!l.get(0).equals(KeyPurposeId.anyExtendedKeyUsage.getId()))\n {\n fail(\"failed extended key usage test\");\n }\n\n Collection c = cert.getSubjectAlternativeNames();\n Iterator it = c.iterator();\n while (it.hasNext())\n {\n List gn = (List)it.next();\n if (!gn.get(1).equals(\"test@test.test\"))\n {\n fail(\"failed subject alternative names test\");\n }\n }\n\n // System.out.println(cert);\n\n //\n // create the certificate - version 1\n //\n sigGen = new BcRSAContentSignerBuilder(sigAlgFinder.find(\"MD5WithRSA\"), digAlgFinder.find(sigAlgFinder.find(\"MD5withRSA\"))).build(privKey);\n X509v1CertificateBuilder certGen1 = new BcX509v1CertificateBuilder(builder.build(), BigInteger.valueOf(1), new Date(System.currentTimeMillis() - 50000),new Date(System.currentTimeMillis() + 50000),builder.build(),pubKey);\n\n cert = new JcaX509CertificateConverter().getCertificate(certGen1.build(sigGen));\n\n assertTrue(certHolder.isValidOn(new Date()));\n\n contentVerifierProvider = new BcRSAContentVerifierProviderBuilder(new DefaultDigestAlgorithmIdentifierFinder()).build(pubKey);\n\n assertTrue(certHolder.isSignatureValid(contentVerifierProvider));\n\n bIn = new ByteArrayInputStream(cert.getEncoded());\n certFact = CertificateFactory.getInstance(\"X.509\");\n\n cert = (X509Certificate)certFact.generateCertificate(bIn);\n\n // System.out.println(cert);\n if (!cert.getIssuerDN().equals(cert.getSubjectDN()))\n {\n fail(\"name comparison fails\");\n }\n\n//\n // a lightweight key pair.\n //\n RSAKeyParameters lwPubKey = new RSAKeyParameters(\n false,\n new BigInteger(\"b4a7e46170574f16a97082b22be58b6a2a629798419be12872a4bdba626cfae9900f76abfb12139dce5de56564fab2b6543165a040c606887420e33d91ed7ed7\", 16),\n new BigInteger(\"11\", 16));\n\n RSAPrivateCrtKeyParameters lwPrivKey = new RSAPrivateCrtKeyParameters(\n new BigInteger(\"b4a7e46170574f16a97082b22be58b6a2a629798419be12872a4bdba626cfae9900f76abfb12139dce5de56564fab2b6543165a040c606887420e33d91ed7ed7\", 16),\n new BigInteger(\"11\", 16),\n new BigInteger(\"9f66f6b05410cd503b2709e88115d55daced94d1a34d4e32bf824d0dde6028ae79c5f07b580f5dce240d7111f7ddb130a7945cd7d957d1920994da389f490c89\", 16),\n new BigInteger(\"c0a0758cdf14256f78d4708c86becdead1b50ad4ad6c5c703e2168fbf37884cb\", 16),\n new BigInteger(\"f01734d7960ea60070f1b06f2bb81bfac48ff192ae18451d5e56c734a5aab8a5\", 16),\n new BigInteger(\"b54bb9edff22051d9ee60f9351a48591b6500a319429c069a3e335a1d6171391\", 16),\n new BigInteger(\"d3d83daf2a0cecd3367ae6f8ae1aeb82e9ac2f816c6fc483533d8297dd7884cd\", 16),\n new BigInteger(\"b8f52fc6f38593dabb661d3f50f8897f8106eee68b1bce78a95b132b4e5b5d19\", 16));\n\n //\n // distinguished name table.\n //\n builder = new X500NameBuilder(RFC4519Style.INSTANCE);\n\n builder.addRDN(RFC4519Style.c, \"AU\");\n builder.addRDN(RFC4519Style.o, \"The Legion of the Bouncy Castle\");\n builder.addRDN(RFC4519Style.l, \"Melbourne\");\n builder.addRDN(RFC4519Style.st, \"Victoria\");\n builder.addRDN(PKCSObjectIdentifiers.pkcs_9_at_emailAddress, \"feedback-crypto@bouncycastle.org\");\n\n //\n // extensions\n //\n\n //\n // create the certificate - version 3 - without extensions\n //\n AlgorithmIdentifier sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find(\"SHA256WithRSAEncryption\");\n AlgorithmIdentifier digAlgId = new DefaultDigestAlgorithmIdentifierFinder().find(sigAlgId);\n\n sigGen = new BcRSAContentSignerBuilder(sigAlgId, digAlgId).build(lwPrivKey);\n SubjectPublicKeyInfo pubInfo = SubjectPublicKeyInfoFactory.createSubjectPublicKeyInfo(lwPubKey);\n certGen = new X509v3CertificateBuilder(builder.build(), BigInteger.valueOf(1), new Date(System.currentTimeMillis() - 50000), new Date(System.currentTimeMillis() + 50000), builder.build(), pubInfo);\n\n certHolder = certGen.build(sigGen);\n\n assertTrue(certHolder.isValidOn(new Date()));\n\n contentVerifierProvider = new BcRSAContentVerifierProviderBuilder(new DefaultDigestAlgorithmIdentifierFinder()).build(lwPubKey);\n\n assertTrue(certHolder.isSignatureValid(contentVerifierProvider));\n\n if (!certHolder.isSignatureValid(contentVerifierProvider))\n {\n fail(\"lw sig verification failed\");\n }\n }", "title": "" }, { "docid": "cb65c5170a11cc0867505c9b4d98bb06", "score": "0.40497172", "text": "@Test\n public void testCreateEciesAeadHkdfKeyTemplate() throws Exception {\n EllipticCurveType curveType = EllipticCurveType.NIST_P384;\n HashType hashType = HashType.SHA512;\n EcPointFormat ecPointFormat = EcPointFormat.COMPRESSED;\n KeyTemplate demKeyTemplate = AeadKeyTemplates.AES256_EAX;\n String salt = \"some salt\";\n KeyTemplate template = HybridKeyTemplates.createEciesAeadHkdfKeyTemplate(curveType, hashType, ecPointFormat, demKeyTemplate, salt.getBytes(HybridKeyTemplatesTest.UTF_8));\n Assert.assertEquals(TYPE_URL, template.getTypeUrl());\n Assert.assertEquals(TINK, template.getOutputPrefixType());\n EciesAeadHkdfKeyFormat format = EciesAeadHkdfKeyFormat.parseFrom(template.getValue());\n Assert.assertTrue(format.hasParams());\n Assert.assertTrue(format.getParams().hasKemParams());\n Assert.assertTrue(format.getParams().hasDemParams());\n Assert.assertTrue(format.getParams().getDemParams().hasAeadDem());\n Assert.assertEquals(ecPointFormat, format.getParams().getEcPointFormat());\n EciesHkdfKemParams kemParams = format.getParams().getKemParams();\n Assert.assertEquals(curveType, kemParams.getCurveType());\n Assert.assertEquals(hashType, kemParams.getHkdfHashType());\n Assert.assertEquals(salt, kemParams.getHkdfSalt().toStringUtf8());\n Assert.assertEquals(AES256_EAX.toString(), format.getParams().getDemParams().getAeadDem().toString());\n }", "title": "" }, { "docid": "0faaef038c8e8497527bbe3c01da4d01", "score": "0.40445083", "text": "public boolean wpsKeypadSupported() {\n return false;\n }", "title": "" }, { "docid": "d7812f9513021502cb267a649eb4d270", "score": "0.4044224", "text": "boolean hasKeycode();", "title": "" }, { "docid": "68eb6607980119dd019db14b8ae2ed55", "score": "0.40435725", "text": "boolean hasPairerId();", "title": "" }, { "docid": "f81bb6d1802e6e31d92f4f79f1a465cc", "score": "0.40292516", "text": "private void validateAndChooseLearningInformation() {\n\t\tboolean isRanking = isNotNullOrEmpty(properties.getReferenceRanking());\n\t\tboolean isPairs = isNotNullOrEmpty(properties.getPairs());\n\t\tboolean isDecisionAtt = isContainerHasDecisionAttribute();\n\t\t\n\t\t// xor for tree elements, if only one type of information is provided, return\n\t\tif((isRanking ^ isPairs ^ isDecisionAtt) ^ (isRanking && isPairs && isDecisionAtt))\n\t\t\treturn;\n\t\t\n\t\tif(not(isRanking) && not(isPairs) && not(isDecisionAtt)) {\n\t\t\tthrow new RunnerException(labels.get(Labels.PROP_EMPTY_PAIRS_RANKING));\n\t\t}\n\t\t\n\t\tExperimentRunnerDialog dialog = new ExperimentRunnerDialog(isRanking, isPairs, isDecisionAtt);\n\t\tdialog.showDialog();\n\t\t\n\t\tif(dialog.isRankingSelected()) {\n\t\t\tproperties.setPairs(\"\");\n\t\t} else if(dialog.isPairsSelected()) {\n\t\t\tproperties.setReferenceRanking(\"\");\n\t\t} else if(dialog.isAttributeSelected()) {\n\t\t\tproperties.setPairs(\"\");\n\t\t\tcalculateAndSetReferenceRanking();\n\t\t}\n\t}", "title": "" }, { "docid": "bf35018401a1f7eba0a151b89ab966e6", "score": "0.40183648", "text": "@Test\n public void evaluateScansWithNoInterworkingAP() throws Exception {\n NetworkDetail networkDetail = mock(NetworkDetail.class);\n when(networkDetail.isInterworking()).thenReturn(false);\n ScanDetail scanDetail = mock(ScanDetail.class);\n when(scanDetail.getNetworkDetail()).thenReturn(networkDetail);\n\n List<ScanDetail> scanDetails = Arrays.asList(new ScanDetail[] {scanDetail});\n List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper\n .getPasspointNetworkCandidates(scanDetails, false);\n assertTrue(candidates.isEmpty());\n // Verify that no provider matching is performed.\n verify(mPasspointManager, never()).matchProvider(any(ScanResult.class));\n }", "title": "" }, { "docid": "d298e396b9d86bf1aace9ce3bfbd8377", "score": "0.40150848", "text": "@Test\n public void TestinitializeCipherRSA_UNWRAP() {\n\t AESCrypt aesCrypt = new AESCrypt();\n \n KeyPairGenerator kpg;\n try {\n //Generate RSA key as 'RSAKey'\n\t\t\tkpg = KeyPairGenerator.getInstance(\"RSA\");\n\t\t\tkpg.initialize(1024);\n\t\t\tKeyPair kp = kpg.genKeyPair();\n\t\t\tKey RSAKey = kp.getPublic();\n\n\t\t\t//Initialize cipher in UNWRAP_MODE using method\n\t\t\t//#>2 initializes in UNWRAP_MODE - should have #==3 and error otherwise\n \t\t\tCipher cipher = aesCrypt.initializeCipher(RSAKey,3);\n\t\t\tassertNotNull(cipher);\n\n\t\t\t//Initialize cipher in UNWRAP_MODE using java library\n\t\t\tCipher TestCipher = Cipher.getInstance(\"RSA\");\n\t\t\tTestCipher.init(Cipher.UNWRAP_MODE, RSAKey);\n\t\t\t\n\t\t\tassertEquals(TestCipher.getParameters(), cipher.getParameters());\n\t\t\t\n } catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t assertEquals(0,1);\n }\n }", "title": "" }, { "docid": "88c83b3e563ae5cdd95003c30e817d30", "score": "0.40123668", "text": "@Test\n @Override\n public void testadjustContext() {\n FinishedMessage message = new FinishedMessage();\n message.setVerifyData(new byte[] {0, 1, 2, 3, 4});\n\n handler.adjustContext(message);\n\n assertArrayEquals(new byte[] {0, 1, 2, 3, 4}, context.getLastClientVerifyData());\n assertArrayEquals(null, context.getLastServerVerifyData());\n assertEquals(Tls13KeySetType.NONE, context.getActiveServerKeySetType());\n assertEquals(Tls13KeySetType.NONE, context.getActiveClientKeySetType());\n\n assertArrayEquals(null, context.getClientApplicationTrafficSecret());\n assertArrayEquals(null, context.getServerApplicationTrafficSecret());\n assertArrayEquals(null, context.getMasterSecret());\n }", "title": "" }, { "docid": "ebbf3ebe876fa5eee23901f519ce49f6", "score": "0.40089306", "text": "@Test\n public void evaluateScansWithNetworkMatchingBothHomeAndRoamingForDifferentProvider() {\n List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1),\n generateScanDetail(TEST_SSID2, TEST_BSSID2));\n // Setup matching providers for ScanDetail.\n List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>();\n homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider));\n List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>();\n roamingProvider.add(Pair.create(sTestProvider2, PasspointMatch.RoamingProvider));\n // Return homeProvider for the first ScanDetail (TEST_SSID1) and\n // roamingProvider for the second (TEST_SSID2);\n when(mPasspointManager.matchProvider(any(ScanResult.class)))\n .thenReturn(homeProvider).thenReturn(roamingProvider);\n when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(),\n any())).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID))\n .thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID2));\n when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1);\n when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID2)).thenReturn(TEST_CONFIG2);\n\n List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper\n .getPasspointNetworkCandidates(scanDetails, false);\n // Nominate matched home provider for first ScanDetail (TEST_SSID1) and roaming provider for\n // the second (TEST_SSID2).\n assertEquals(2, candidates.size());\n assertTrue(candidates.stream().anyMatch(c -> c.second.isHomeProviderNetwork\n && c.second.SSID.equals(ScanResultUtil.createQuotedSSID(TEST_SSID1))));\n assertTrue(candidates.stream().anyMatch(c -> !c.second.isHomeProviderNetwork\n && c.second.SSID.equals(ScanResultUtil.createQuotedSSID(TEST_SSID2))));\n }", "title": "" }, { "docid": "38235a22f50260f1258e9b5940754715", "score": "0.4008576", "text": "@Test\n public void illegalPrintAttributesDuplexMode() throws Throwable {\n assertException(() -> (new PrintAttributes.Builder()).setDuplexMode(-1),\n IllegalArgumentException.class);\n assertException(() -> (new PrintAttributes.Builder()).setDuplexMode(0),\n IllegalArgumentException.class);\n assertException(() -> (new PrintAttributes.Builder()).setDuplexMode(\n PrintAttributes.DUPLEX_MODE_LONG_EDGE | PrintAttributes.DUPLEX_MODE_NONE),\n IllegalArgumentException.class);\n }", "title": "" }, { "docid": "f754b2b5375cdad53fc3ce3a8facae25", "score": "0.4003323", "text": "@Override\n public void onClick(View view) {\n if(!editor.getMyKey().equals(\"\")&&partnerId.getText().toString().equals(editor.getMyKey())){\n Toast.makeText(getApplicationContext(),\"Error: Unnecessary to pair up with your own device!\",Toast.LENGTH_LONG).show();\n return;\n }\n\n // add the key to SharedPreference\n editor.addAPIKey(partnerId.getText().toString());\n\n // create a SendMessage instance to send messages\n SendMessages messages = new SendMessages(editor.getAPIKey(), gcm);\n // Check if user is registered.\n if(!editor.checkMyKey()){\n Toast.makeText(getApplicationContext(),\"Error: Registration required!\",Toast.LENGTH_SHORT).show();\n editor.deleteAPIKey();\n }\n // Check if the message goes to partner successfully\n else if (messages.sendPairUpMessage(editor.getMyKey())) {\n Intent intent = new Intent(SoloActivity.this, PairedActivity.class);\n startActivity(intent);\n finish();\n }\n // Handle about wrong registration Id or no internet\n else {\n Toast.makeText(getApplicationContext(),\"Error: No connectivity / Wrong ID\",Toast.LENGTH_LONG).show();\n editor.deleteAPIKey();\n }\n\n }", "title": "" }, { "docid": "9e8b29851dd8a45fa980bd09f1c76b13", "score": "0.39939317", "text": "public void validateTransferModesPresent() throws InterruptedException {\n\t\tSoftAssert sf = new SoftAssert();\n\t\ttry {\t\n//\t\t\tminWait();\n//\t\t aDriver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_CENTER);\n//\t\t\tminWait();\n\t\t\tif(isElementExist(Locators_ContactTransfer.BluetoothOptn)){\n\t\t\t\tcheck1=true;\n\t\t\t\taDriver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_DOWN);\n\t\t\t\tminWait();\n\t\t\t} if(isElementExist(Locators_ContactTransfer.VCFOptn)){\n\t\t\t\tcheck2=true;\n\t\t\t\taDriver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_DOWN);\n\t\t\t\tminWait();\n\t\t\t} if(isElementExist(Locators_ContactTransfer.MDBOptn)){\n\t\t\t\tcheck3=true;\n\t\t\t\taDriver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_DOWN);\n\t\t\t\tminWait();\n\t\t\t} if(isElementExist(Locators_ContactTransfer.CSVOptn)){\n\t\t\t\tcheck4=true;\n\t\t\t}\n\t\t\t\tif((check1)&&(check2)&&(check3)&&(check4)) {\n\t\t\t\t\tcheck= true;\n\t\t\t\t\tAPP_LOGS.info(\"All Transfer Mode Present\");\n\t\t\t\t\tsf.assertTrue(check, \"Validation is Pass\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tAPP_LOGS.info(check1+\"\\n\"+\": \"+check2+\"\\n\"+\": \"+check3+\"\\n\"+\": \"+check4+ \"\\n\");\n\t\t\t\t\tsf.fail();\n\t\t\t\t}\t\t\n\t\t}catch (NoSuchElementException e) {\n\t\t\tAPP_LOGS.info(\"Error: Element not found.\");\n\t\t\te.printStackTrace();\n\t\t\tsf.fail();\n\t\t}\n\t\tsf.assertAll();\n\t}", "title": "" }, { "docid": "5a46f3454c93385f4752af61d3075fc2", "score": "0.39893606", "text": "public void testInitintKeySecureRandom() throws Exception {\n c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1],\n \"algorithm\"), new SecureRandom());\n }", "title": "" }, { "docid": "ed8b1172ae684b424b24b452ca13ee40", "score": "0.39859822", "text": "private boolean canNotSetAdvanced4GMode() {\n return TelephonyUtils.isInCall(getContext()) /*|| isInSwitchProcess()*/\n || TelephonyUtils.isAirplaneModeOn(getContext());\n }", "title": "" }, { "docid": "52b2b208442166eed3a98e5a8646b56c", "score": "0.3977952", "text": "@Test\n public void evaluateScansWithNetworkMatchingBothHomeAndRoamingForSameProvider() {\n List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1),\n generateScanDetail(TEST_SSID2, TEST_BSSID2));\n\n // Setup matching providers for ScanDetail.\n List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>();\n homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider));\n List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>();\n roamingProvider.add(Pair.create(sTestProvider1, PasspointMatch.RoamingProvider));\n // Return homeProvider for the first ScanDetail (TEST_SSID1) and\n // roamingProvider for the second (TEST_SSID2);\n when(mPasspointManager.matchProvider(any(ScanResult.class)))\n .thenReturn(roamingProvider).thenReturn(homeProvider);\n when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(),\n any())).thenReturn(new NetworkUpdateResult(TEST_NETWORK_ID));\n when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1);\n\n List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper\n .getPasspointNetworkCandidates(scanDetails, false);\n // verify Only home provider matched candidate will by chosen\n assertEquals(1, candidates.size());\n assertTrue(candidates.get(0).second.isHomeProviderNetwork);\n assertEquals(ScanResultUtil.createQuotedSSID(TEST_SSID2), candidates.get(0).second.SSID);\n }", "title": "" }, { "docid": "7eea81ad385cdf3095c4e756e968290d", "score": "0.3970513", "text": "public void testEncryptDataWithKeyNameNoKEK() {\n SimpleXMLObject sxo = (SimpleXMLObject) unmarshallElement(targetFile);\n \n encParams.setKeyInfoGenerator(new StaticKeyInfoGenerator(keyInfo));\n \n EncryptedData encData = null;\n try {\n encData = encrypter.encryptElement(sxo, encParams);\n } catch (EncryptionException e) {\n fail(\"Object encryption failed: \" + e);\n }\n \n assertNotNull(encData);\n assertEquals(\"Type attribute\", EncryptionConstants.TYPE_ELEMENT, encData.getType());\n assertEquals(\"Algorithm attribute\", algoURI, encData.getEncryptionMethod().getAlgorithm());\n assertNotNull(\"KeyInfo\", encData.getKeyInfo());\n assertEquals(\"KeyName\", expectedKeyName, encData.getKeyInfo().getKeyNames().get(0).getValue());\n \n assertEquals(\"Number of EncryptedKeys\", 0, encData.getKeyInfo().getEncryptedKeys().size());\n }", "title": "" }, { "docid": "c4f290ee0d324f729af19dc1c42c9a71", "score": "0.3966638", "text": "private void validateUnlimitedStrengthEncryptionInstalled() {\n try {\n if (Cipher.getMaxAllowedKeyLength(\"AES\") <= 256) {\n throw new RuntimeException(\"Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy is required but was not found\");\n }\n } catch (NoSuchAlgorithmException e) {\n logger.warn(\"Tried to validate UnlimitedEncryption was installed\", e);\n }\n }", "title": "" }, { "docid": "f95a4b7a543e4519a485af258675fdfb", "score": "0.39661205", "text": "boolean isSetKey();", "title": "" }, { "docid": "923dd2f26c70f62adbb4accfb45c0246", "score": "0.39579713", "text": "private void checkEssentialAndAuthorize() {\n\t\ttry {\n\t\t\tcheckEssentialAttributesInSet();\n\t\t\tauthorizeSession();\n\t\t} catch (EssentialAttributeMissingException e) {\n\t\t\t// if the users presses proceed, authorize the set. \n\t\t\tdismissDialog();\n\t\t\tDialogUtils.showEssentialAttributeMissingDialog(mActivity, e.getMessage(), new DialogInterface.OnClickListener() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\tdialog.dismiss();\n\t\t\t\t\tmProgressDialog.setMessage(mActivity.getString(R.string.authorizingRequest));\n\t\t\t\t\tmProgressDialog.show();\n\t\t\t\t\tauthorizeSession();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}", "title": "" }, { "docid": "e0a8f4b6a835744b039a718681621b38", "score": "0.3951996", "text": "@Test\n public void assertNullChecks() throws Exception {\n byte[] buf = new byte[1];\n HashMap<String, String> context = new HashMap<>();\n MasterKeyProvider provider = masterKeyProvider;\n CryptoMaterialsManager cmm = new DefaultCryptoMaterialsManager(masterKeyProvider);\n InputStream is = new ByteArrayInputStream(new byte[0]);\n OutputStream os = new ByteArrayOutputStream();\n\n byte[] ciphertext = encryptionClient_.encryptData(cmm, buf).getResult();\n String stringCiphertext = encryptionClient_.encryptString(cmm, \"hello, world\").getResult();\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"estimateCiphertextSize\",\n MasterKeyProvider.class,\n provider,\n Integer.TYPE,\n 42,\n Map.class,\n context);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"estimateCiphertextSize\",\n CryptoMaterialsManager.class,\n cmm,\n Integer.TYPE,\n 42,\n Map.class,\n context);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"estimateCiphertextSize\",\n MasterKeyProvider.class,\n provider,\n Integer.TYPE,\n 42);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"estimateCiphertextSize\",\n CryptoMaterialsManager.class,\n cmm,\n Integer.TYPE,\n 42);\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"encryptData\",\n MasterKeyProvider.class,\n provider,\n byte[].class,\n buf,\n Map.class,\n context);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"encryptData\",\n CryptoMaterialsManager.class,\n cmm,\n byte[].class,\n buf,\n Map.class,\n context);\n TestUtils.assertNullChecks(\n encryptionClient_, \"encryptData\", MasterKeyProvider.class, provider, byte[].class, buf);\n TestUtils.assertNullChecks(\n encryptionClient_, \"encryptData\", CryptoMaterialsManager.class, cmm, byte[].class, buf);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"encryptString\",\n MasterKeyProvider.class,\n provider,\n String.class,\n \"\",\n Map.class,\n context);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"encryptString\",\n CryptoMaterialsManager.class,\n cmm,\n String.class,\n \"\",\n Map.class,\n context);\n TestUtils.assertNullChecks(\n encryptionClient_, \"encryptString\", MasterKeyProvider.class, provider, String.class, \"\");\n TestUtils.assertNullChecks(\n encryptionClient_, \"encryptString\", CryptoMaterialsManager.class, cmm, String.class, \"\");\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"decryptData\",\n MasterKeyProvider.class,\n provider,\n byte[].class,\n ciphertext);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"decryptData\",\n CryptoMaterialsManager.class,\n cmm,\n byte[].class,\n ciphertext);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"decryptData\",\n MasterKeyProvider.class,\n provider,\n ParsedCiphertext.class,\n new ParsedCiphertext(ciphertext));\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"decryptData\",\n CryptoMaterialsManager.class,\n cmm,\n ParsedCiphertext.class,\n new ParsedCiphertext(ciphertext));\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"decryptString\",\n MasterKeyProvider.class,\n provider,\n String.class,\n stringCiphertext);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"decryptString\",\n CryptoMaterialsManager.class,\n cmm,\n String.class,\n stringCiphertext);\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createEncryptingStream\",\n MasterKeyProvider.class,\n provider,\n OutputStream.class,\n os,\n Map.class,\n context);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createEncryptingStream\",\n CryptoMaterialsManager.class,\n cmm,\n OutputStream.class,\n os,\n Map.class,\n context);\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createEncryptingStream\",\n MasterKeyProvider.class,\n provider,\n OutputStream.class,\n os);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createEncryptingStream\",\n CryptoMaterialsManager.class,\n cmm,\n OutputStream.class,\n os);\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createEncryptingStream\",\n MasterKeyProvider.class,\n provider,\n InputStream.class,\n is,\n Map.class,\n context);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createEncryptingStream\",\n CryptoMaterialsManager.class,\n cmm,\n InputStream.class,\n is,\n Map.class,\n context);\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createEncryptingStream\",\n MasterKeyProvider.class,\n provider,\n InputStream.class,\n is);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createEncryptingStream\",\n CryptoMaterialsManager.class,\n cmm,\n InputStream.class,\n is);\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createDecryptingStream\",\n MasterKeyProvider.class,\n provider,\n OutputStream.class,\n os);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createDecryptingStream\",\n CryptoMaterialsManager.class,\n cmm,\n OutputStream.class,\n os);\n\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createDecryptingStream\",\n MasterKeyProvider.class,\n provider,\n InputStream.class,\n is);\n TestUtils.assertNullChecks(\n encryptionClient_,\n \"createDecryptingStream\",\n CryptoMaterialsManager.class,\n cmm,\n InputStream.class,\n is);\n }", "title": "" }, { "docid": "bc4b3fb83ff2cc4c45d69fbaeeff8730", "score": "0.3943775", "text": "private void checkConfig() {\n\t\tif (null == payConfig) {\r\n\t\t\tif (null != resultListener)\r\n\t\t\t\tresultListener.onPayResult(ResultCode.PAY_KEY_ERR, \"参数有误[实现PayConfig配置必要参数]\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (TextUtils.isEmpty(payConfig.getWXMchId())) {\r\n\t\t\tif (null != resultListener)\r\n\t\t\t\tresultListener.onPayResult(ResultCode.PAY_KEY_ERR, \"参数有误[商户号Mch_Id未配置]\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (TextUtils.isEmpty(payConfig.getWXAppId())) {\r\n\t\t\tif (null != resultListener)\r\n\t\t\t\tresultListener.onPayResult(ResultCode.PAY_KEY_ERR, \"参数有误[AppId未配置]\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (TextUtils.isEmpty(payConfig.getWXApiKey())) {\r\n\t\t\tif (null != resultListener)\r\n\t\t\t\tresultListener.onPayResult(ResultCode.PAY_KEY_ERR, \"参数有误[AppKey未配置]\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (TextUtils.isEmpty(payConfig.getWXNotifyUrl())) {\r\n\t\t\tif (null != resultListener)\r\n\t\t\t\tresultListener.onPayResult(ResultCode.PAY_KEY_ERR, \"参数有误[回调地址未配置]\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a3198c2ca75c91484a34ae5952ed7982", "score": "0.39434502", "text": "EncapResult authEncap(XECPublicKey pkR, XECPrivateKey skS);", "title": "" }, { "docid": "1099d633315ff43fc2aefc9d86fa72fe", "score": "0.3942295", "text": "public boolean validate(Object obj, int mode) throws TPlusException {\n\t\tboolean rtnMessage = true;\n\n\t\tCardProductLimitDto objCardProductLimit = (CardProductLimitDto) obj;\n\n\t\tSystem.out.println(objCardProductLimit.getCardProductId());\n\n\t\tif (mode == 0 && objDAO.checkExistrecord(objCardProductLimit) > 0) {\n\t\t\trtnMessage = false;\n\t\t}\n\t\tif (mode == 1 && objDAO.checkExistrecord(objCardProductLimit) == 0) {\n\t\t\trtnMessage = false;\n\t\t}\n\n\t\treturn rtnMessage;\n\t}", "title": "" }, { "docid": "f10b551776fbe6b0f33d9f0556c0ff06", "score": "0.39388594", "text": "private void Connect(View v){\n\r\n EditText editText = findViewById(R.id.editText);\r\n String password = editText.getText().toString();\r\n WifiConfiguration config = new WifiConfiguration();\r\n config.SSID = \"\\\"\" + wifiName + \"\\\"\";\r\n if(password.isEmpty()){\r\n Toast.makeText(Main2Activity.this, \"Please provide your passwords.\", Toast.LENGTH_LONG).show();\r\n }\r\n else if(type.contains(\"WPA\")) {\r\n System.out.println(\"wifi type is WPA\");\r\n System.out.println(\"wifi password \" + password);\r\n\r\n config.preSharedKey = \"\\\"\" + password + \"\\\"\";\r\n // config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);\r\n\r\n config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);\r\n config.status=WifiConfiguration.Status.ENABLED;\r\n int netId= wifiManager.addNetwork(config);\r\n System.out.println(\"net id is \" +String.valueOf(netId));\r\n wifiManager.saveConfiguration();\r\n wifiManager.reconnect();\r\n finish();\r\n }\r\n else if(type.contains(\"EAP\")){\r\n System.out.println(\"wifi type is EAP\");\r\n System.out.println(\"wifi password \" + password);\r\n EditText editText1 = findViewById(R.id.editText2);\r\n String username = editText1.getText().toString();\r\n System.out.println(\"wifi identity \" + username);\r\n config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP);\r\n config.status=WifiConfiguration.Status.ENABLED;\r\n WifiEnterpriseConfig enterpriseCon = new WifiEnterpriseConfig();\r\n enterpriseCon.setIdentity(username);\r\n enterpriseCon.setPassword(password);\r\n enterpriseCon.setEapMethod(WifiEnterpriseConfig.Eap.PEAP);\r\n\r\n config.enterpriseConfig = enterpriseCon;\r\n\r\n int netid = wifiManager.addNetwork(config);\r\n wifiManager.enableNetwork(netid,wifiManager.reconnect());\r\n System.out.println(\"net id is \" +String.valueOf(netid) + \" reconnect \" + wifiManager.reconnect());\r\n wifiManager.saveConfiguration();\r\n wifiManager.reconnect();\r\n if(netid > 0) {\r\n finish();\r\n }\r\n\r\n\r\n }\r\n else{\r\n\r\n config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);\r\n config.status=WifiConfiguration.Status.ENABLED;\r\n int netId= wifiManager.addNetwork(config);\r\n System.out.println(\"net id is \" +String.valueOf(netId));\r\n wifiManager.saveConfiguration();\r\n wifiManager.reconnect();\r\n finish();\r\n }\r\n\r\n }", "title": "" }, { "docid": "6be766ee08112e96aecd5c252463982a", "score": "0.39380792", "text": "private static void validateOTP(String clientId, String tokenId, String sharedKey, String otp, String challengeId) throws Exception {\n EyeDSecureClient c = new EyeDSecureClient(clientId, sharedKey);\n Response response = c.validateOTP(tokenId, otp, challengeId);\n \n System.out.println(\"Response: \" + response);\n \n if (response != null && response.getResponseCode() == ResponseCode.SUCCESS) {\n System.out.println(\"OTP Validated\");\n } else {\n System.out.println(\"Failed\");\n }\n }", "title": "" }, { "docid": "90789df7d17779027d7bc4085220d035", "score": "0.3936113", "text": "public void testConstructorWithCEK_algNotAES() throws Exception {\r\n\t\t\r\n\t\tKeyPairGenerator ecGen = KeyPairGenerator.getInstance(\"EC\");\r\n\t\tECGenParameterSpec ecParameterSpec = new ECGenParameterSpec(\"secp256r1\");\r\n\t\tecGen.initialize(ecParameterSpec);\r\n\t\tKeyPair ecKeyPair = ecGen.generateKeyPair();\r\n\r\n\t\tbyte[] keyMaterial = new byte[16];\r\n\t\tnew SecureRandom().nextBytes(keyMaterial);\r\n\t\tSecretKey cek = new SecretKeySpec(keyMaterial, \"Not-AES\");\r\n\r\n\t\ttry {\r\n\t\t\tnew ECDHEncrypter((ECPublicKey) ecKeyPair.getPublic(), cek);\r\n\t\t\tfail();\r\n\t\t} catch (IllegalArgumentException e) {\r\n\t\t\tassertEquals(\"The algorithm of the content encryption key (CEK) must be AES\", e.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b99f0bd37892fef8a05ee59933b22a23", "score": "0.3934236", "text": "private KeyPair generateKey() throws SecureCryptoException\n {\n KeyUsage keyUsage = keyAttributes.getKeyUsage();\n int keySize = keyAttributes.getKeySize();\n byte[] publicExponent = keyAttributes.getPublicExp();\n String smType = keyAttributes.getSmType();\n String mkIdHex = keyAttributes.getMkId();\n String additionalData = keyAttributes.getAdditionalData();\n\n byte[] mkId;\n try\n {\n mkId = (mkIdHex == null)? null : ByteArrayUtilities.byteify_nospaces(mkIdHex);\n }\n catch (NumberFormatException x)\n {\n String errMsg = \"MK ID is not hexadecimal in key caching configuration: \" + mkIdHex;\n log.warn(errMsg);\n throw new SecureCryptoException(errMsg, x);\n }\n\n RsaKeyGenOptions keyGenOptions = new RsaKeyGenOptions(keyUsage, keySize, publicExponent);\n keyGenOptions.setSmType(smType);\n keyGenOptions.setSmTypeAndMkIdentifier(smType, mkId);\n keyGenOptions.setForKeyCache(true);\n\n Map<String, String> additionalPropertiesMap = new HashMap<String, String>();\n if (additionalData != null && additionalData.length() != 0)\n {\n String[] props = additionalData.split(\",\");\n for (String prop : props)\n {\n prop = prop.trim();\n int equalsPos = prop.indexOf('=');\n if (equalsPos <= 0)\n {\n String errMsg = \"Invalid additional data in key caching configuration: \" + additionalData;\n log.warn(errMsg);\n throw new SecureCryptoException(errMsg);\n }\n\n String propName = prop.substring(0, equalsPos);\n propName = propName.toUpperCase();\n\n String propValue = prop.substring(equalsPos + 1);\n\n if (additionalPropertiesMap.containsKey(propName))\n {\n String errMsg = \"Invalid additional data in key caching configuration, property \" +\n propName + \" exists more than once: \" + additionalData;\n log.warn(errMsg);\n throw new SecureCryptoException(errMsg);\n }\n\n additionalPropertiesMap.put(propName, propValue);\n }\n }\n\n //Special handling of 'type=' setting for PS9000\n if (smType.equalsIgnoreCase(\"PS9000\") && additionalPropertiesMap.containsKey(\"TYPE\"))\n {\n String typeStr = additionalPropertiesMap.get(\"TYPE\");\n if (typeStr.length() != 1 || typeStr.charAt(0) < '0' || typeStr.charAt(0) > '3')\n {\n String errMsg = \"Invalid TYPE property in additional data in PS9000 key caching configuration. Expected (0-3) but got TYPE=\" + typeStr;\n log.warn(errMsg);\n throw new SecureCryptoException(errMsg);\n }\n\n PKIKeyType pkiKeyType = PKIKeyType.getFrom(typeStr.charAt(0));\n keyGenOptions.setPkiKeyType(pkiKeyType);\n }\n\n return keyGenerator.generateKey(keyGenOptions);\n }", "title": "" }, { "docid": "6e975a2a3c5014dcd04109d57d20644a", "score": "0.392152", "text": "@Override\n public boolean isPaddingRequired() {\n return true;\n }", "title": "" }, { "docid": "98f48fce7fa789230fc558c7e75b887e", "score": "0.3917943", "text": "boolean hasKeypair();", "title": "" }, { "docid": "b542f3a620566ee101da590e945aecad", "score": "0.391691", "text": "@Test\n public void testGenerateAES() throws Exception {\n System.out.println(\"+++++ testGenerateAES +++++\");\n\n File tmpFile = new File(\"KeyGeneratorTest_testGenerateAES_mAl7d\");\n File tmpEncFile = new File(\"KeyGeneratorTest_testGenerateAES_encrypted_mAl7d\");\n File tmpDecFile = new File(\"KeyGeneratorTest_testGenerateAES_decrypted_mAl7d\");\n tmpFile.deleteOnExit();\n tmpEncFile.deleteOnExit();\n tmpDecFile.deleteOnExit();\n\n int[] tests = new int[]{128, 256};\n for (int bits : tests) {\n System.out.println(\"+ test gen key \" + bits + \"-bits, encrypt and decrypt\");\n\n KeyGenerator.generateAES(bits, tmpFile);\n assertTrue(tmpFile.exists());\n assertTrue(tmpFile.length() > (bits / 8) * 2);\n\n byte[] testContent = CommonUtil.readFile(tmpFile);\n AESKey aesKey = AESKey.read(testContent);\n assertEquals(bits / 8, aesKey.getKey().length);\n\n WatneAES_Implementer aesCipher = new WatneAES_Implementer();\n aesCipher.setMode(Mode.CBC);\n aesCipher.setPadding(Padding.PKCS5PADDING);\n aesCipher.setKeySize(KeySize.BITS256);\n aesCipher.setKey(aesKey.getKey());\n aesCipher.setInitializationVector(aesKey.getIV());\n aesCipher.encryptFile(tmpFile, tmpEncFile);\n\n aesCipher = new WatneAES_Implementer();\n aesCipher.setMode(Mode.CBC);\n aesCipher.setPadding(Padding.PKCS5PADDING);\n aesCipher.setKeySize(KeySize.BITS256);\n aesCipher.setKey(aesKey.getKey());\n aesCipher.setInitializationVector(aesKey.getIV());\n aesCipher.decryptFile(tmpEncFile, tmpDecFile);\n\n assertArrayEquals(\"! decrypted data are not equal to original data\", testContent, CommonUtil.readFile(tmpDecFile));\n }\n }", "title": "" }, { "docid": "b47b637a97b102c763082793e37db91a", "score": "0.39157477", "text": "@Test\n public void trackPasspointApWithPasspointDisabled() throws Exception {\n // TODO(sghuman): Delete this test and replace with a passpoint test\n WifiTracker tracker = createMockedWifiTracker();\n\n // Add a Passpoint AP to the scan results.\n List<ScanResult> results = new ArrayList<>();\n ScanResult passpointAp = new ScanResult(\n WifiSsid.createFromAsciiEncoded(SSID_1),\n BSSID_1,\n 0, // hessid\n 0, //anqpDomainId\n null, // osuProviders\n \"\", // capabilities\n RSSI_1,\n 0, // frequency\n SystemClock.elapsedRealtime() * 1000 /* microsecond timestamp */);\n passpointAp.setFlag(ScanResult.FLAG_PASSPOINT_NETWORK);\n results.add(passpointAp);\n\n // Update access point and verify UnsupportedOperationException is being caught for\n // call to WifiManager#getMatchingWifiConfig.\n when(mockWifiManager.getConfiguredNetworks())\n .thenReturn(new ArrayList<WifiConfiguration>());\n when(mockWifiManager.getScanResults()).thenReturn(results);\n\n startTracking(tracker);\n }", "title": "" }, { "docid": "199286352f41b4066a68e9ca095f3d34", "score": "0.39107665", "text": "public boolean ensureParamCorrect(CompileProduct pCProduct) {\n\t\tif(pCProduct.isCompileTimeCheckingNone() || this.isData()) return true;\n\t\tInstruction Inst = pCProduct.getEngine().getInstruction(null, this.getInstructionNameHash());\n\t\tif(Inst == null) {\n\t\t\tpCProduct.reportFatalError(\"The instructor #\"+this.getInstructionNameHash()+\" is not found in this engine.\", null);\n\t\t\treturn false;\n\t\t}\n\t\treturn Inst.ensureParamCorrect(this, pCProduct);\n\t}", "title": "" }, { "docid": "c64dcea44c701102d295b573796367a6", "score": "0.39090228", "text": "@Test\n public void TestinitializeCipherAES_DECRYPT() {\n\t String passTemp=\"passwordpassword\";\n\t AESCrypt aesCrypt = new AESCrypt();\n Key AES128 = aesCrypt.inilizeAESKeyByPassword(passTemp);\n \n try {\n \t\t\t//Initialize cipher in DECRYPT_MODE using method\n \t\t\tCipher cipher = aesCrypt.initializeCipher(AES128,1);\n\t\t\tassertNotNull(cipher);\n\t\t\t\n\t\t\t//Initialize cipher in WRAP_MODE using java library\n\t\t\tCipher TestCipher = Cipher.getInstance(\"AES\");\n\t\t\tTestCipher.init(Cipher.DECRYPT_MODE, AES128);\n\t\t\t\n\t\t\tassertEquals(TestCipher.getParameters(), cipher.getParameters());\n\t\t\t\n } catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t assertEquals(0,1);\n }\n }", "title": "" }, { "docid": "f2b2a55220bcaec1cd57b3df953266cb", "score": "0.39089838", "text": "@Test\n public void checkAvailableMode()\n {\n\n MethodsWeapons.moveTarget(pGrey,1,1);\n pGrey.addWeapon(weap);\n weap.setPlayer(pGrey);\n\n assertTrue(!weap.checkAvailableMode()[0] && !weap.checkAvailableMode()[1]);\n\n MethodsWeapons.moveTarget(pGrey,3,2);\n\n\n assertTrue(!weap.checkAvailableMode()[0] && weap.checkAvailableMode()[1]);\n\n pYellow.addWeapon(weap);\n weap.setPlayer(pYellow);\n\n assertTrue(weap.checkAvailableMode()[0] && weap.checkAvailableMode()[1]);\n\n }", "title": "" }, { "docid": "51f24cefe1c630eea4a2cd74e75bc7f5", "score": "0.39081046", "text": "@Test\n public void testClientBasedOnSpecData() {\n \n final KeyPair clientSigKeyPair = KeyPair.fromHex(\n \"55f4d1d198093c84de9ee9a6299e0f6891c2e1d0b369efb592a9e3f169fb0f795529ce8ccf68c0b8ac19d437ab0f5b32723782608e93c6264f184ba152c2357b\", \n \"5529ce8ccf68c0b8ac19d437ab0f5b32723782608e93c6264f184ba152c2357b\");\n final KeyPair clientEncKeyPair = KeyPair.fromHex(\n \"77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a\", \n \"8520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98eaa9b4e6a\");\n \n byte[] m1Expected = Hex.toBytes(\"4014016518208520f0098930a754748b7ddcb43ef75a0dbf3a0d26381af4eba4a98eaa9b4e6a1401701402533141\");\n byte[] m2 = Hex.toBytes(\"401401651820de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e146f882b4f41\");\n byte[] m3 = Hex.toBytes(\"40140162187cc11a5740752f9ef562f7552123819a0085d9da0ea02ed4a1be9fd079eaab69d5e5b528668fdfae7bf4e9656c5c70ef9d151d5442c67932720146f779bf2089e7313840b9f153a83541ed446626de2d185b7aeffeefa70520ede8b68f96cb30b1566684efdcd28c962d1bfee1ee2a8367db31eab1d313dcb9d65853cb41\");\n byte[] m4Expected = Hex.toBytes(\"40140162187cdae551bde10f0b543bbc591125c6e646f73bfc662578a54bdcc8eef60a47d0bf53057418b6054eb260cca4d827c068edff9efb48f0eb7ed71646480906c138b023aac5262616246da2481b0944ab80f41c3db20568bc40b100d72c90f75b7ec411f1d23ad620d89da9a35e3a01685041280219cd05c40e4e60ffb26541\");\n \n Tunnel tunnel = new Tunnel();\n ByteChannel serverChannel = tunnel.channel2();\n final ClientChannelV1 clientChannel = new ClientChannelV1(tunnel.channel1());\n clientChannel.setBufferM4(false);\n \n Thread thread = new Thread(new Runnable() {\n public void run() {\n clientChannel.handshake(clientSigKeyPair, clientEncKeyPair);\n }\n });\n thread.start();\n \n byte[] m1 = serverChannel.read();\n Assert.assertArrayEquals(\"m1\", m1Expected, m1);\n \n serverChannel.write(false, m2, m3);\n \n byte[] m4 = serverChannel.read();\n Assert.assertArrayEquals(\"m4\", m4Expected, m4);\n }", "title": "" }, { "docid": "ce9905a990daca05c22b96e7422010e9", "score": "0.3902261", "text": "public boolean\n isValid() \n {\n return (pMode != 0); \n }", "title": "" }, { "docid": "3c9e201b664bdb20b9868a9eb471b760", "score": "0.3899253", "text": "boolean getNotifyEncryptionRequired();", "title": "" }, { "docid": "eea7f11e0987ebb46780497a9b1635f2", "score": "0.38889802", "text": "@Test\n public void testAdjustTLSContext() {\n ECDHEServerKeyExchangeMessage message = new ECDHEServerKeyExchangeMessage();\n message.setCurveType(EllipticCurveType.NAMED_CURVE.getValue());\n message.setNamedGroup(NamedGroup.SECP256R1.getValue());\n message.setPublicKey(ArrayConverter\n .hexStringToByteArray(\"04f660a88e9dae015684be56c25610f9c62cf120cb075eea60c560e5e6dd5d10ef6e391d7213a298985470dc2268949317ce24940d474a0c8386ab13b312ffc104\"));\n message.setPublicKeyLength(65);\n message.prepareComputations();\n message.getComputations().setPremasterSecret(new byte[] { 0, 1, 2, 3 });\n message.getComputations().setPrivateKey(new BigInteger(\"12345\"));\n handler.adjustTLSContext(message);\n assertNull(context.getPreMasterSecret());\n // assertNull(context.getMasterSecret());//TODO assert master secret was\n // computed correctly\n }", "title": "" }, { "docid": "cff751f49f31bdbd456c459172180984", "score": "0.38876572", "text": "boolean validateAcuteHepatitisBRiskAssociatedProcedureTemplateId(DiagnosticChain diagnostics, Map<Object, Object> context);", "title": "" }, { "docid": "cfcd71c082995173b4e27fbb80927a97", "score": "0.3886115", "text": "@Test\n public void evaluateNetworkWithDisabledWifiConfig() {\n List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1),\n generateScanDetail(TEST_SSID2, TEST_BSSID2));\n\n WifiConfiguration disableConfig = new WifiConfiguration();\n WifiConfiguration.NetworkSelectionStatus selectionStatus =\n new WifiConfiguration.NetworkSelectionStatus();\n selectionStatus.setNetworkSelectionDisableReason(\n WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE);\n selectionStatus.setNetworkSelectionStatus(\n WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED);\n disableConfig.setNetworkSelectionStatus(selectionStatus);\n disableConfig.networkId = TEST_NETWORK_ID;\n TEST_CONFIG1.networkId = TEST_NETWORK_ID;\n\n // Setup matching providers for ScanDetail with TEST_SSID1.\n List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>();\n homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider));\n\n // Return homeProvider for the first ScanDetail (TEST_SSID1) and a null (no match) for\n // for the second (TEST_SSID2);\n when(mPasspointManager.matchProvider(any(ScanResult.class))).thenReturn(homeProvider)\n .thenReturn(null);\n when(mWifiConfigManager.getConfiguredNetwork(anyString())).thenReturn(disableConfig);\n\n List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper\n .getPasspointNetworkCandidates(scanDetails, false);\n verify(mWifiConfigManager, never()).addOrUpdateNetwork(any(WifiConfiguration.class),\n anyInt(), any());\n assertTrue(candidates.isEmpty());\n }", "title": "" }, { "docid": "aaa3675e320cc995af30704ad90d1612", "score": "0.38846096", "text": "@RequiresApi(api = Build.VERSION_CODES.M)\n protected void generateKeys() throws NoSuchAlgorithmException, NoSuchProviderException, InvalidAlgorithmParameterException {\n KeyGenerator keyGenerator;\n keyGenerator = KeyGenerator.getInstance(KeyProperties.KEY_ALGORITHM_AES, ANDROID_KEY_STORE);\n keyGenerator.init(\n new KeyGenParameterSpec.Builder(KEY_ALIAS,\n KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT)\n .setBlockModes(KeyProperties.BLOCK_MODE_GCM)\n .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)\n .setRandomizedEncryptionRequired(false)\n .build());\n keyGenerator.generateKey();\n }", "title": "" }, { "docid": "bed4c52cfe6e74d270534ba40f90b1e9", "score": "0.38829497", "text": "boolean hasKeyData();", "title": "" }, { "docid": "3f2cd36b1a47cd1a604d99e881e616bd", "score": "0.38819224", "text": "private Boolean checkInput() {\n code = verificationCode.getText().toString();\n id = userId.getText().toString();\n passwordNum1 = password1.getText().toString();\n passwordNum2 = password2.getText().toString();\n String warning = null;\n if (code.equals(\"\")) {\n warning = \"请输入验证码\";\n verificationCode.requestFocus();\n verificationCode.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (code.length() != 6) {\n warning = \"请输入6位验证码\";\n verificationCode.requestFocus();\n verificationCode.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (perfectInf != null) {\n if (perfectInf.equals(\"1\") && id.equals(\"\")) {\n warning = \"请输入身份证后六位\";\n userId.requestFocus();\n userId.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (perfectInf.equals(\"1\") && id.length() < 6) {\n warning = \"请正确输入身份证后六位\";\n userId.requestFocus();\n userId.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum1.equals(\"\")) {\n warning = \"请输入新密码\";\n password1.requestFocus();\n password1.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n /*\n * else if (!passwordNum1.matches(\"\\\\d{6,12}\")) { warning = \"您只能输入数字\"; password1.requestFocus();\n * password1.setError(warning); }\n */\n else if (passwordNum1.length() < 6) {\n warning = \"请输入6-12位数字\";\n password1.requestFocus();\n password1.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum1.length() > 12) {\n warning = \"请输入6-12位数字\";\n password1.requestFocus();\n password1.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum2.equals(\"\")) {\n warning = \"请再次输入新密码\";\n password2.requestFocus();\n password2.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum2.length() < 6) {\n warning = \"请输入6-12位数字\";\n password2.requestFocus();\n password2.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum2.length() > 12) {\n warning = \"第二个密码请输入6-12位数字\";\n password2.requestFocus();\n password2.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum1.equals(passwordNum2) == false) {\n warning = \"两次输入的密码不一致,请重新输入\";\n password2.requestFocus();\n password2.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n }\n else if (passwordNum1.equals(\"\")) {\n warning = \"请输入新密码\";\n password1.requestFocus();\n password1.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum1.length() < 6) {\n warning = \"请输入6-12位数字\";\n password1.requestFocus();\n password1.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n /*\n * else if (!passwordNum1.matches(\"\\\\d{6,12}\")) { warning = \"您只能输入数字\"; password1.requestFocus();\n * password1.setError(warning); }\n */\n else if (passwordNum1.length() > 12) {\n warning = \"请输入6-12位数字\";\n password1.requestFocus();\n password1.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum2.equals(\"\")) {\n warning = \"请再次输入新密码\";\n password2.requestFocus();\n password2.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum2.length() < 6) {\n warning = \"请输入6-12位数字\";\n password2.requestFocus();\n password2.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum2.length() > 12) {\n warning = \"第二个密码请输入6-12位数字\";\n password2.requestFocus();\n password2.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n else if (passwordNum1.equals(passwordNum2) == false) {\n warning = \"两次输入的密码不一致,请重新输入\";\n password2.requestFocus();\n password2.setError(warning, this.getResources().getDrawable(R.drawable.transparent));\n }\n if (warning != null) {\n// ViewUtil.showTipsToast(this,warning);\n return false;\n }\n else\n return true;\n }", "title": "" }, { "docid": "acb8d1ec594e18b2fbe6950bad1ebdf4", "score": "0.3881443", "text": "protected void startSoftApAndVerifyEnabled(WifiConfiguration config) throws Exception {\n String expectedSSID;\n InOrder order = inOrder(mListener, mApInterfaceBinder, mApInterface, mNmService);\n\n when(mWifiNative.isHalStarted()).thenReturn(false);\n when(mWifiNative.setCountryCodeHal(TEST_COUNTRY_CODE.toUpperCase(Locale.ROOT)))\n .thenReturn(true);\n\n mSoftApManager = createSoftApManager(config);\n if (config == null) {\n when(mWifiApConfigStore.getApConfiguration()).thenReturn(mDefaultApConfig);\n expectedSSID = mDefaultApConfig.SSID;\n } else {\n when(mWifiApConfigStore.getApConfiguration()).thenReturn(config);\n expectedSSID = config.SSID;\n }\n mSoftApManager.start();\n mLooper.dispatchAll();\n order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLING, 0);\n order.verify(mApInterfaceBinder).linkToDeath(mDeathListenerCaptor.capture(), eq(0));\n order.verify(mNmService).registerObserver(mNetworkObserverCaptor.capture());\n order.verify(mApInterface).writeHostapdConfig(\n eq(expectedSSID.getBytes(StandardCharsets.UTF_8)), anyBoolean(),\n anyInt(), anyInt(), any());\n order.verify(mApInterface).startHostapd();\n mNetworkObserverCaptor.getValue().interfaceLinkStateChanged(TEST_INTERFACE_NAME, true);\n mLooper.dispatchAll();\n order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0);\n }", "title": "" }, { "docid": "81339f812ec187dcb26b87827d599464", "score": "0.38810867", "text": "@Nonnull protected Pair<PublicKey, X509Certificate> getKeyAndCertificate(@Nonnull final ValidationContext context) \n throws AssertionValidationException {\n PublicKey presenterKey = null;\n try {\n presenterKey = (PublicKey) context.getStaticParameters().get(\n SAML2AssertionValidationParameters.SC_HOK_PRESENTER_KEY);\n } catch (final ClassCastException e) {\n throw new IllegalArgumentException(String.format(\n \"The value of the static validation parameter '%s' was not of the required type '%s'\",\n SAML2AssertionValidationParameters.SC_HOK_PRESENTER_KEY, PublicKey.class.getName()));\n }\n\n X509Certificate presenterCert = null;\n try {\n presenterCert = (X509Certificate) context.getStaticParameters().get(\n SAML2AssertionValidationParameters.SC_HOK_PRESENTER_CERT);\n if (presenterCert != null) {\n if (presenterKey != null) {\n if (!presenterKey.equals(presenterCert.getPublicKey())) {\n throw new IllegalArgumentException(\n \"Presenter's certificate contains a different public key \" \n + \"than the one explicitly given\");\n }\n } else {\n presenterKey = presenterCert.getPublicKey();\n }\n }\n } catch (final ClassCastException e) {\n throw new IllegalArgumentException(String.format(\n \"The value of the static validation parameter '%s' was not of the required type '%s'\",\n SAML2AssertionValidationParameters.SC_HOK_PRESENTER_CERT, X509Certificate.class.getName()));\n }\n\n return new Pair<>(presenterKey, presenterCert);\n }", "title": "" }, { "docid": "9eb7cffd146873dcd6e4315e3e009a46", "score": "0.38793698", "text": "public PresharedProfileAuthenticationFactory(final KeySetStore store, final AuthenticationUtils authutils) {\n super(EntityAuthenticationScheme.PSK_PROFILE);\n this.store = store;\n this.authutils = authutils;\n }", "title": "" }, { "docid": "e77a7b6287a49f42f7e0e1f372deb3d5", "score": "0.38779697", "text": "private void generateKeyPair() {\n\t}", "title": "" }, { "docid": "ca2b785e69704b33ba47b85de9af8a91", "score": "0.38681403", "text": "void connectWifi(List<ScanResult> wifiList, int position, String password, String BSSID, final String SSID)\n {\n progressDialog.setMessage(\"Connecting to \" + SSID + \" WiFi\");\n progressDialog.setCancelable(false);\n progressDialog.show();\n\n try\n {\n final WifiConfiguration conf = new WifiConfiguration();\n conf.BSSID = BSSID;\n conf.SSID = \"\\\"\" + SSID + \"\\\"\";\n conf.status = WifiConfiguration.Status.ENABLED;\n conf.priority = 40;\n\n if (wifiList.get(position).capabilities.toUpperCase().contains(\"WEP\"))\n {\n // if the security is WEP\n conf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);\n conf.allowedProtocols.set(WifiConfiguration.Protocol.RSN);\n conf.allowedProtocols.set(WifiConfiguration.Protocol.WPA);\n conf.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPEN);\n conf.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.SHARED);\n conf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);\n conf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP);\n conf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40);\n conf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104);\n\n conf.wepKeys[0] = \"\\\"\" + password + \"\\\"\";\n conf.wepTxKeyIndex = 0;\n }\n else if (wifiList.get(position).capabilities.toUpperCase().contains(\"WPA\"))\n {\n // if the security is WPA / WPA2\n conf.allowedProtocols.set(WifiConfiguration.Protocol.RSN);\n conf.allowedProtocols.set(WifiConfiguration.Protocol.WPA);\n conf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);\n conf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);\n conf.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP);\n conf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40);\n conf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP104);\n conf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP);\n conf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP);\n conf.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPEN);\n\n conf.preSharedKey = \"\\\"\" + password + \"\\\"\";\n }\n\n int networkID = wifi.addNetwork(conf);\n\n if(networkID != -1)\n {\n wifi.disconnect();\n wifi.enableNetwork(networkID, true);\n wifi.reconnect();\n wifi.saveConfiguration(); // save the settings of WiFi\n setMobileData(false); // disable mobile data back\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n handler.postDelayed(new Runnable() // wait 7 seconds\n {\n public void run()\n {\n progressDialog.dismiss();\n Toast.makeText(context, \"Connected \" + SSID + \" WiFi\", Toast.LENGTH_LONG).show();\n }\n }, 7000);\n }", "title": "" }, { "docid": "2efef2c2612bd1dddc21b508e28bf9b9", "score": "0.38681218", "text": "protected void validateAppMode(String anAppMode) throws IcofException {\n\n String funcName = new String(\"validateAppMode(String)\");\n\n // Make sure application mode is valid.\n if ((!anAppMode.equals(Constants.DEV))\n && (!anAppMode.equals(Constants.TEST))\n && (!anAppMode.equals(Constants.PROD))\n && (!anAppMode.equals(Constants.ICCTEST))\n && (!anAppMode.equals(Constants.ICCPROD))\n && (!anAppMode.equals(Constants.JUNIT))) {\n\n IcofException ie = new IcofException(getClass().getName(),\n funcName, IcofException.SEVERE, \"Invalid application mode\",\n anAppMode);\n if (getSessionLog() != null) {\n getSessionLog().log(ie);\n }\n throw (ie);\n }\n }", "title": "" }, { "docid": "7726f310b759bb96e47ab2e7d0e21fdc", "score": "0.3866933", "text": "ContextR setupBaseR(byte[] enc, XECPrivateKey skR, byte[] info) {\n byte[] sharedSecret = kem.decap(enc, skR);\n return new ContextR(keySchedule(MODE_BASE, sharedSecret, info, DEFAULT_PSK, DEFAULT_PSK_ID));\n }", "title": "" }, { "docid": "e06b7791c5d45b6740d97ad638199087", "score": "0.3864028", "text": "@Test\n public void evaluateScansWithNoMatch() {\n List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1),\n generateScanDetail(TEST_SSID2, TEST_BSSID2));\n when(mPasspointManager.matchProvider(any(ScanResult.class))).thenReturn(null);\n List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper\n .getPasspointNetworkCandidates(scanDetails, false);\n assertTrue(candidates.isEmpty());\n }", "title": "" }, { "docid": "984929122509704613d5e231c9b6a6e0", "score": "0.3850719", "text": "public void verifyScratchPad() throws Throwable {\n click(CRMemberSearchPage.iconScratchPad, \"Scratch Pad Icon\");\n boolean visibilityOfSctatchPad = isVisibleOnly(CRMemberSearchPage.txtScratchPad, \"Scratch Pad\");\n assertTrue(visibilityOfSctatchPad, \"ScratchPad is visible \");\n if (visibilityOfSctatchPad) {\n String text = getText(CRMemberSearchPage.txtScratchPad, \"Scratch Pad\");\n assertTrue(text.isEmpty(), \"Scratch Pad is empty\");\n /*if (text.equalsIgnoreCase(null)) {\n assertTrue(text.equalsIgnoreCase(null), \"Scratch Pad is empty\");\n } else {\n assertFalse(text.equalsIgnoreCase(null), \"Scratch Pad is not empty\");\n }*/\n //assertTrue(visibilityOfSctatchPad, \"ScratchPad is visible \");\n\n }/* else {\n assertFalse(visibilityOfSctatchPad, \"ScratchPad is not visible\");\n }*/\n }", "title": "" }, { "docid": "bb1d0f6c2f97ac07c83c052ab36ed36e", "score": "0.38456273", "text": "protected AnyKeyboard(\n @NonNull AddOn keyboardAddOn,\n @NonNull Context askContext,\n int xmlLayoutResId,\n @KeyboardRowModeId int mode) {\n // should use the package context for creating the layout\n super(keyboardAddOn, askContext, xmlLayoutResId, mode);\n }", "title": "" } ]
0c26b40ce43bccc1f9ead8343f953c97
Creates melscale filters set. This generic method creates filterNum filters with fixed filter width (in mel scale) and with overlay (in mel scale). Overlay means, if the filters have 100 mel width and 50 mel overlay, first filter has range between 0 and 100 mel, second has range 50 150, third has range 100 200 etc.
[ { "docid": "cdf5c675bad742c2d47e8d6c704039fb", "score": "0.6368263", "text": "public <T extends MelFilter> ArrayList<T> setOfFiltersMel(Class<T> tClass, double filterWidth, double overlay, int filterNum){\n\n if(overlay >= filterWidth){\n throw new IllegalArgumentException(\"Overlay must be smaller than filter width.\");\n }\n\n ArrayList <T> filtersArray = new ArrayList<>(filterNum);\n double startMel;\n double endMel;\n\n for (int i = 0; i < filterNum; i++) {\n try {\n startMel = i * (filterWidth-overlay);\n endMel = startMel + filterWidth;\n\n T filter = tClass.newInstance();\n filter.setBandMel(startMel, endMel);\n filtersArray.add(filter);\n }catch (Exception e){\n e.printStackTrace();\n }\n }\n\n return filtersArray;\n }", "title": "" } ]
[ { "docid": "fc1498e1d95f86fb494e132e04ae1ec6", "score": "0.53348696", "text": "private static ArrayList<FilterModel> initFilterModel() {\n\t FilterModel fm0 = new FilterModel(0, \"GrayScale_Filter\", new double[0][0]);\n\t FilterModel fm1 = new FilterModel(1, \"Identity_Filter\", FilterMatrix.IdentityMatrix);\n\t FilterModel fm2 = new FilterModel(2, \"EdgeDetection1_Filter\", FilterMatrix.EdgeDetectionMatrixType1);\n\t FilterModel fm3 = new FilterModel(3, \"EdgeDetection2_Filter\", FilterMatrix.EdgeDetectionMatrixType2);\n\t FilterModel fm4 = new FilterModel(4, \"Laplacian_Filter\", FilterMatrix.LaplacianMatrix);\n\t FilterModel fm5 = new FilterModel(5, \"Sharpen_Filter\", FilterMatrix.SharpenMatrix);\n\t FilterModel fm6 = new FilterModel(6, \"Horizontal_Lines_Filter\", FilterMatrix.HorizontalLinesMatrix);\n\t FilterModel fm7 = new FilterModel(7, \"Vertical_Lines_Filter\", FilterMatrix.VerticalLinesMatrix);\n\t FilterModel fm8 = new FilterModel(8, \"Diagonal_Lines_Filter\", FilterMatrix.DiagonalLinesMatrix);\n\t FilterModel fm9 = new FilterModel(9, \"Sobel_Horizontal_Filter\", FilterMatrix.SobelHorizontalMatrix);\n\t FilterModel fm10 = new FilterModel(10, \"Sobel_Vertical_Filter\", FilterMatrix.SobelVerticalMatrix);\n\t FilterModel fm11 = new FilterModel(11, \"Box_Blur_Filter\", FilterMatrix.BoxBlurMatrix);\n\t FilterModel fm12 = new FilterModel(12, \"Gaussian_Blur_Filter\", FilterMatrix.GaussianBlurMatrix);\n\t ArrayList<FilterModel> filterModelArrayList = new ArrayList<>();\n\t filterModelArrayList.add(0,fm0);\n\t filterModelArrayList.add(1, fm1);\n\t filterModelArrayList.add(2, fm2);\n\t filterModelArrayList.add(3, fm3);\n\t filterModelArrayList.add(4, fm4);\n\t filterModelArrayList.add(5, fm5);\n\t filterModelArrayList.add(6, fm6);\n\t filterModelArrayList.add(7, fm7);\n\t filterModelArrayList.add(8, fm8);\n\t filterModelArrayList.add(9, fm9);\n\t filterModelArrayList.add(10, fm10);\n\t filterModelArrayList.add(11, fm11);\n\t filterModelArrayList.add(12, fm12);\n\t return filterModelArrayList;\n\t }", "title": "" }, { "docid": "4b4e6c926e75068205df542747c2faf8", "score": "0.5192616", "text": "protected abstract float scaleFilter(float value, float min, float max);", "title": "" }, { "docid": "ff300c77fd47f0be769e32d2c9b20db1", "score": "0.5153812", "text": "private void addFilters_all(BorderPane currentPane) {\n\t\n\t\t/*Preconditions*/\n\t\tPreconditions.preconditionCheck(currentPane != null, \"currentPane is null\");\n\t\t\n\t\t/*Box Initialisation*/\n\t\tHBox bottomPane = new HBox();\n\t\t\n\t\t/*Filter 1: Set*/\n\t\taddFilters_set(bottomPane);\n\t\t\n\t\t/*Filter 2: Colour*/\n\t\taddFilters_colour(bottomPane);\n\t\t\n\t\t/*Filter 3: Type*/\n\t\taddFilters_type(bottomPane);\n\t\t\n\t\t/*Filter 4: Converted Mana Cost*/\n\t\taddFilters_cmc(bottomPane);\n\t\t\n\t\t/*Filter 5: Style (Foil/Non-Foil)*/\n\t\taddFilters_style(bottomPane);\n\t\t\n\t\t/*Add Box to Pane*/\n\t\tcurrentPane.setBottom(bottomPane);\n\t}", "title": "" }, { "docid": "78a112e3bb0b089a6a47e2d55ce33c0f", "score": "0.51350904", "text": "FilterGroup createFilterGroup();", "title": "" }, { "docid": "affb2b74e4bf389668ca9b785de85c15", "score": "0.50486934", "text": "protected void iterateOnFiltersAndStoreResult(java.util.List<Filter> filters, WritableImage toProcess, Metric m) {\n \t\t\n \t\t\n \t\tint c = 0;\n \t\t\t\t\n \t\tif (Boolean.parseBoolean(parameters.getValueForKey(\"DEBUG\"))) {\n \t\t\tLoggingUtilities.getLogger().info(\"starting filters\");\n \t\t //toProcess.writeToFile(\"/Users/cfuller/Desktop/filter_intermediates/\" + Integer.toString(c++) + \".ome.tif\");\n \t\t\tString name = Integer.toString(c++);\n \t\t\t\n \t\t\tif (ij.IJ.getInstance() == null) {new ij.ImageJ();}\n \t\t\t\n \t\t\tij.ImagePlus ip = (ImageFactory.create(toProcess)).toImagePlus();\n \t\t\tip.setTitle(name);\n \t\t\tip.show();\n \t\t}\n \t\tfor (Filter f : filters) {\n \t\t\t\n \t\t\tf.apply(toProcess);\n if (Boolean.parseBoolean(parameters.getValueForKey(\"DEBUG\"))) {\n \t\t\tLoggingUtilities.getLogger().info(\"completed filter #\" + c);\n \t\t\tString name = Integer.toString(c);\n \t\t\tif (this.updater == null) c++;\n \t\t\t\n \t\t\tij.ImagePlus ip = (ImageFactory.create(toProcess)).toImagePlus();\n \t\t\tip.setTitle(name);\n \t\t\tip.show();\n \t\t\t //toProcess.writeToFile(\"/Users/cfuller/Desktop/filter_intermediates/\" + Integer.toString(c++) + \".ome.tif\");\n }\n \n if (this.updater != null) {\n \tupdater.update(++c, filters.size(), null);\n }\n \t\t}\n \t\tif (m != null) {\n\t\t\tthis.storeDataOutput(m.quantify(toProcess, this.imageSet));\n \t\t}\n \t\t\t\t\n \t\tthis.storeImageOutput(ImageFactory.create(toProcess));\n \t\t\n \t\t\n \t\tthis.parameters.addIfNotSet(\"background_calculated\", \"false\");\n \t\t\n \t}", "title": "" }, { "docid": "aa4545f5e3957c816563f54f6dce36f6", "score": "0.4943799", "text": "public BlurFilter() {\n blurFilter = new double[3][3];\n blurFilter[0][0] = oneSixteen;\n blurFilter[0][1] = oneEight;\n blurFilter[0][2] = oneSixteen;\n blurFilter[1][0] = oneEight;\n blurFilter[1][1] = oneFour;\n blurFilter[1][2] = oneEight;\n blurFilter[2][0] = oneSixteen;\n blurFilter[2][1] = oneEight;\n blurFilter[2][2] = oneSixteen;\n }", "title": "" }, { "docid": "b96dff134f70677a9191129516fc051f", "score": "0.4934735", "text": "private void createAgeFilter(){\n //Titol de l'espai de filtre d'edat\n TitledBorder border = new TitledBorder(\"Age Filter\");\n border.setTitleJustification(TitledBorder.LEFT);\n border.setTitlePosition(TitledBorder.TOP);\n\n //Panell que engloba els camps del filtre d'edat\n JPanel jpBothFilters = new JPanel();\n jpBothFilters.setBorder(border);\n jpBothFilters.setLayout(new GridLayout(2,2));\n\n //Etiqueta i comboBox de l'edat minima i maxima\n JLabel jlMin = new JLabel(\"Minimum Age:\");\n jlMin.setHorizontalAlignment(SwingConstants.LEFT);\n jpBothFilters.add(jlMin);\n JLabel jlMax = new JLabel(\"Maximum Age:\");\n jlMax.setHorizontalAlignment(SwingConstants.LEFT);\n jpBothFilters.add(jlMax);\n\n jcbMinAgeFilter = new JComboBox();\n jcbMinAgeFilter.setEditable(false);\n jcbMinAgeFilter.setPreferredSize(new Dimension(100,30));\n\n jcbMaxAgeFilter = new JComboBox();\n jcbMaxAgeFilter.setEditable(false);\n jcbMaxAgeFilter.setPreferredSize(new Dimension(100,30));\n\n for (int i = 18; i <= 100; ++i) {\n jcbMinAgeFilter.addItem(i);\n jcbMaxAgeFilter.addItem(i);\n }\n\n jpBothFilters.add(jcbMinAgeFilter);\n jpBothFilters.add(jcbMaxAgeFilter);\n add(jpBothFilters);\n\n //CheckBox per a triar si es vol aplicar filtre d'edat mitjancant els dos filtres anteriors o si no es vol\n //aplicar el filtre anterior\n jcNoFilter = new JCheckBox(\"I don't want any age filter\");\n jcNoFilter.setAlignmentX(CENTER_ALIGNMENT);\n add(jcNoFilter);\n }", "title": "" }, { "docid": "be7b424662df1ca3348846551a3dec7f", "score": "0.48840106", "text": "public static void filterLargeSmall(ImageProcessor ip, double filterLarge, double filterSmall, int stripesHorVert, double scaleStripes) {\n\n int maxN = ip.getWidth();\n\n float[] fht = (float[]) ip.getPixels();\n float[] filter = new float[maxN * maxN];\n for (int i = 0; i < maxN * maxN; i++)\n filter[i] = 1f;\n\n int row;\n int backrow;\n float rowFactLarge;\n float rowFactSmall;\n\n int col;\n int backcol;\n float factor;\n float colFactLarge;\n float colFactSmall;\n\n float factStripes;\n\n // calculate factor in exponent of Gaussian from filterLarge / filterSmall\n\n double scaleLarge = filterLarge * filterLarge;\n double scaleSmall = filterSmall * filterSmall;\n scaleStripes = scaleStripes * scaleStripes;\n //float FactStripes;\n\n // loop over rows\n for (int j = 1; j < maxN / 2; j++) {\n row = j * maxN;\n backrow = (maxN - j) * maxN;\n rowFactLarge = (float) Math.exp(-(j * j) * scaleLarge);\n rowFactSmall = (float) Math.exp(-(j * j) * scaleSmall);\n\n\n // loop over columns\n for (col = 1; col < maxN / 2; col++) {\n backcol = maxN - col;\n colFactLarge = (float) Math.exp(-(col * col) * scaleLarge);\n colFactSmall = (float) Math.exp(-(col * col) * scaleSmall);\n factor = (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall;\n switch (stripesHorVert) {\n case 1:\n factor *= (1 - (float) Math.exp(-(col * col) * scaleStripes));\n break;// hor stripes\n case 2:\n factor *= (1 - (float) Math.exp(-(j * j) * scaleStripes)); // vert stripes\n }\n\n fht[col + row] *= factor;\n fht[col + backrow] *= factor;\n fht[backcol + row] *= factor;\n fht[backcol + backrow] *= factor;\n filter[col + row] *= factor;\n filter[col + backrow] *= factor;\n filter[backcol + row] *= factor;\n filter[backcol + backrow] *= factor;\n }\n }\n\n //process meeting points (maxN/2,0) , (0,maxN/2), and (maxN/2,maxN/2)\n int rowmid = maxN * (maxN / 2);\n rowFactLarge = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleLarge);\n rowFactSmall = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleSmall);\n factStripes = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleStripes);\n\n fht[maxN / 2] *= (1 - rowFactLarge) * rowFactSmall; // (maxN/2,0)\n fht[rowmid] *= (1 - rowFactLarge) * rowFactSmall; // (0,maxN/2)\n fht[maxN / 2 + rowmid] *= (1 - rowFactLarge * rowFactLarge) * rowFactSmall * rowFactSmall; // (maxN/2,maxN/2)\n filter[maxN / 2] *= (1 - rowFactLarge) * rowFactSmall; // (maxN/2,0)\n filter[rowmid] *= (1 - rowFactLarge) * rowFactSmall; // (0,maxN/2)\n filter[maxN / 2 + rowmid] *= (1 - rowFactLarge * rowFactLarge) * rowFactSmall * rowFactSmall; // (maxN/2,maxN/2)\n\n switch (stripesHorVert) {\n case 1:\n fht[maxN / 2] *= (1 - factStripes);\n fht[rowmid] = 0;\n fht[maxN / 2 + rowmid] *= (1 - factStripes);\n filter[maxN / 2] *= (1 - factStripes);\n filter[rowmid] = 0;\n filter[maxN / 2 + rowmid] *= (1 - factStripes);\n break; // hor stripes\n case 2:\n fht[maxN / 2] = 0;\n fht[rowmid] *= (1 - factStripes);\n fht[maxN / 2 + rowmid] *= (1 - factStripes);\n filter[maxN / 2] = 0;\n filter[rowmid] *= (1 - factStripes);\n filter[maxN / 2 + rowmid] *= (1 - factStripes);\n break; // vert stripes\n }\n\n //loop along row 0 and maxN/2\n rowFactLarge = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleLarge);\n rowFactSmall = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleSmall);\n for (col = 1; col < maxN / 2; col++) {\n backcol = maxN - col;\n colFactLarge = (float) Math.exp(-(col * col) * scaleLarge);\n colFactSmall = (float) Math.exp(-(col * col) * scaleSmall);\n\n switch (stripesHorVert) {\n case 0:\n fht[col] *= (1 - colFactLarge) * colFactSmall;\n fht[backcol] *= (1 - colFactLarge) * colFactSmall;\n fht[col + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall;\n fht[backcol + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall;\n filter[col] *= (1 - colFactLarge) * colFactSmall;\n filter[backcol] *= (1 - colFactLarge) * colFactSmall;\n filter[col + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall;\n filter[backcol + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall;\n break;\n case 1:\n factStripes = (float) Math.exp(-(col * col) * scaleStripes);\n fht[col] *= (1 - colFactLarge) * colFactSmall * (1 - factStripes);\n fht[backcol] *= (1 - colFactLarge) * colFactSmall * (1 - factStripes);\n fht[col + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall * (1 - factStripes);\n fht[backcol + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall * (1 - factStripes);\n filter[col] *= (1 - colFactLarge) * colFactSmall * (1 - factStripes);\n filter[backcol] *= (1 - colFactLarge) * colFactSmall * (1 - factStripes);\n filter[col + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall * (1 - factStripes);\n filter[backcol + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall * (1 - factStripes);\n break;\n case 2:\n factStripes = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleStripes);\n fht[col] = 0;\n fht[backcol] = 0;\n fht[col + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall * (1 - factStripes);\n fht[backcol + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall * (1 - factStripes);\n filter[col] = 0;\n filter[backcol] = 0;\n filter[col + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall * (1 - factStripes);\n filter[backcol + rowmid] *= (1 - colFactLarge * rowFactLarge) * colFactSmall * rowFactSmall * (1 - factStripes);\n }\n }\n\n // loop along column 0 and maxN/2\n colFactLarge = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleLarge);\n colFactSmall = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleSmall);\n for (int j = 1; j < maxN / 2; j++) {\n row = j * maxN;\n backrow = (maxN - j) * maxN;\n rowFactLarge = (float) Math.exp(-(j * j) * scaleLarge);\n rowFactSmall = (float) Math.exp(-(j * j) * scaleSmall);\n\n switch (stripesHorVert) {\n case 0:\n fht[row] *= (1 - rowFactLarge) * rowFactSmall;\n fht[backrow] *= (1 - rowFactLarge) * rowFactSmall;\n fht[row + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall;\n fht[backrow + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall;\n filter[row] *= (1 - rowFactLarge) * rowFactSmall;\n filter[backrow] *= (1 - rowFactLarge) * rowFactSmall;\n filter[row + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall;\n filter[backrow + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall;\n break;\n case 1:\n factStripes = (float) Math.exp(-(maxN / 2) * (maxN / 2) * scaleStripes);\n fht[row] = 0;\n fht[backrow] = 0;\n fht[row + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall * (1 - factStripes);\n fht[backrow + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall * (1 - factStripes);\n filter[row] = 0;\n filter[backrow] = 0;\n filter[row + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall * (1 - factStripes);\n filter[backrow + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall * (1 - factStripes);\n break;\n case 2:\n factStripes = (float) Math.exp(-(j * j) * scaleStripes);\n fht[row] *= (1 - rowFactLarge) * rowFactSmall * (1 - factStripes);\n fht[backrow] *= (1 - rowFactLarge) * rowFactSmall * (1 - factStripes);\n fht[row + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall * (1 - factStripes);\n fht[backrow + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall * (1 - factStripes);\n filter[row] *= (1 - rowFactLarge) * rowFactSmall * (1 - factStripes);\n filter[backrow] *= (1 - rowFactLarge) * rowFactSmall * (1 - factStripes);\n filter[row + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall * (1 - factStripes);\n filter[backrow + maxN / 2] *= (1 - rowFactLarge * colFactLarge) * rowFactSmall * colFactSmall * (1 - factStripes);\n }\n }\n }", "title": "" }, { "docid": "5b43f281bc7790c3af35a6316a292405", "score": "0.4842359", "text": "AllFilters createAllFilters();", "title": "" }, { "docid": "5711c071671c24efec341884cf3cffe8", "score": "0.47984856", "text": "private void defineFilters(int _mode) {\n int mode = _mode; // 0 means classic OpenBCI board, 1 means ganglion\n int n_filt;\n double[] b, a, b2, a2;\n String filt_txt, filt_txt2;\n String short_txt, short_txt2;\n\n switch(mode) {\n // classic OpenBCI board, sampling rate 250 Hz\n case 0:\n //loop over all of the pre-defined filter types\n n_filt = filtCoeff_notch.length;\n for (int Ifilt=0; Ifilt < n_filt; Ifilt++) {\n switch (Ifilt) {\n case 0:\n //50 Hz notch filter, assumed fs = 250 Hz. 2nd Order Butterworth: b, a = signal.butter(2,[49.0 51.0]/(fs_Hz / 2.0), 'bandstop')\n b2 = new double[] { 0.96508099f, -1.19328255f, 2.29902305f, -1.19328255f, 0.96508099f };\n a2 = new double[] { 1.0f, -1.21449348f, 2.29780334f, -1.17207163f, 0.93138168f };\n filtCoeff_notch[Ifilt] = new FilterConstants(b2, a2, \"Notch 50Hz\", \"50Hz\");\n break;\n case 1:\n //60 Hz notch filter, assumed fs = 250 Hz. 2nd Order Butterworth: b, a = signal.butter(2,[59.0 61.0]/(fs_Hz / 2.0), 'bandstop')\n b2 = new double[] { 9.650809863447347e-001f, -2.424683201757643e-001f, 1.945391494128786e+000f, -2.424683201757643e-001f, 9.650809863447347e-001f };\n a2 = new double[] { 1.000000000000000e+000f, -2.467782611297853e-001f, 1.944171784691352e+000f, -2.381583792217435e-001f, 9.313816821269039e-001f };\n filtCoeff_notch[Ifilt] = new FilterConstants(b2, a2, \"Notch 60Hz\", \"60Hz\");\n break;\n case 2:\n //no notch filter\n b2 = new double[] { 1.0f };\n a2 = new double[] { 1.0f };\n filtCoeff_notch[Ifilt] = new FilterConstants(b2, a2, \"No Notch\", \"None\");\n break;\n }\n } // end loop over notch filters\n\n n_filt = filtCoeff_bp.length;\n for (int Ifilt=0; Ifilt<n_filt; Ifilt++) {\n //define bandpass filter\n switch (Ifilt) {\n case 0:\n //butter(2,[1 50]/(250/2)); %bandpass filter\n b = new double[] {\n 2.001387256580675e-001f, 0.0f, -4.002774513161350e-001f, 0.0f, 2.001387256580675e-001f\n };\n a = new double[] {\n 1.0f, -2.355934631131582e+000f, 1.941257088655214e+000f, -7.847063755334187e-001f, 1.999076052968340e-001f\n };\n filt_txt = \"Bandpass 1-50Hz\";\n short_txt = \"1-50 Hz\";\n break;\n case 1:\n //butter(2,[7 13]/(250/2));\n b = new double[] {\n 5.129268366104263e-003f, 0.0f, -1.025853673220853e-002f, 0.0f, 5.129268366104263e-003f\n };\n a = new double[] {\n 1.0f, -3.678895469764040e+000f, 5.179700413522124e+000f, -3.305801890016702e+000f, 8.079495914209149e-001f\n };\n filt_txt = \"Bandpass 7-13Hz\";\n short_txt = \"7-13 Hz\";\n break;\n case 2:\n //[b,a]=butter(2,[15 50]/(250/2)); %matlab command\n b = new double[] {\n 1.173510367246093e-001f, 0.0f, -2.347020734492186e-001f, 0.0f, 1.173510367246093e-001f\n };\n a = new double[] {\n 1.0f, -2.137430180172061e+000f, 2.038578008108517e+000f, -1.070144399200925e+000f, 2.946365275879138e-001f\n };\n filt_txt = \"Bandpass 15-50Hz\";\n short_txt = \"15-50 Hz\";\n break;\n case 3:\n //[b,a]=butter(2,[5 50]/(250/2)); %matlab command\n b = new double[] {\n 1.750876436721012e-001f, 0.0f, -3.501752873442023e-001f, 0.0f, 1.750876436721012e-001f\n };\n a = new double[] {\n 1.0f, -2.299055356038497e+000f, 1.967497759984450e+000f, -8.748055564494800e-001f, 2.196539839136946e-001f\n };\n filt_txt = \"Bandpass 5-50Hz\";\n short_txt = \"5-50 Hz\";\n break;\n default:\n //no filtering\n b = new double[] {\n 1.0f\n };\n a = new double[] {\n 1.0f\n };\n filt_txt = \"No BP Filter\";\n short_txt = \"No Filter\";\n } //end switch block\n\n //create the bandpass filter\n filtCoeff_bp[Ifilt] = new FilterConstants(b, a, filt_txt, short_txt);\n } //end loop over band pass filters\n\n break;\n\n // Ganglion board, sampling rate 200 Hz\n case 1:\n //loop over all of the pre-defined filter types\n n_filt = filtCoeff_notch.length;\n for (int Ifilt=0; Ifilt < n_filt; Ifilt++) {\n switch (Ifilt) {\n case 0:\n //60 Hz notch filter, assumed fs = 200 Hz. 2nd Order Butterworth: b, a = signal.butter(2,[59.0 61.0]/(fs_Hz / 2.0), 'bandstop')\n b2 = new double[] { 0.956543225556876f, 1.18293615779028f, 2.27881429174347f, 1.18293615779028f, 0.956543225556876f };\n a2 = new double[] { 1, 1.20922304075909f, 2.27692490805579f, 1.15664927482146f, 0.914975834801432f };\n filtCoeff_notch[Ifilt] = new FilterConstants(b2, a2, \"Notch 60Hz\", \"60Hz\");\n break;\n case 1:\n //50 Hz notch filter, assumed fs = 200 Hz. 2nd Order Butterworth: b, a = signal.butter(2,[49.0 51.0]/(fs_Hz / 2.0), 'bandstop')\n b2 = new double[] { 0.956543225556877f, -2.34285519884863e-16f, 1.91308645111375f, -2.34285519884863e-16f, 0.956543225556877f};\n a2 = new double[] { 1, -1.02695629777827e-15f, 1.91119706742607f, -1.01654795692241e-15f, 0.914975834801435f};\n filtCoeff_notch[Ifilt] = new FilterConstants(b2, a2, \"Notch 50Hz\", \"50Hz\");\n break;\n case 2:\n //no notch filter\n b2 = new double[] { 1.0f };\n a2 = new double[] { 1.0f };\n filtCoeff_notch[Ifilt] = new FilterConstants(b2, a2, \"No Notch\", \"None\");\n break;\n }\n } // end loop over notch filters\n\n n_filt = filtCoeff_bp.length;\n for (int Ifilt=0; Ifilt<n_filt; Ifilt++) {\n //define bandpass filter\n switch (Ifilt) {\n case 0:\n //butter(2,[1 50]/(200/2)); %bandpass filter\n b = new double[] {\n 0.283751216219318f, 0, -0.567502432438636f, 0, 0.283751216219318f\n };\n a = new double[] {\n 1, -1.97380379923172f, 1.17181238127012f, -0.368664525962831f, 0.171812381270120f\n };\n filt_txt = \"Bandpass 1-50Hz\";\n short_txt = \"1-50 Hz\";\n break;\n case 1:\n //butter(2,[7 13]/(200/2));\n b = new double[] {\n 0.00782020803349883f, 0, -0.0156404160669977f, 0, 0.00782020803349883f\n };\n a = new double[] {\n 1, -3.56776916484310f, 4.92946172209398f, -3.12070317627516f, 0.766006600943266f\n };\n filt_txt = \"Bandpass 7-13Hz\";\n short_txt = \"7-13 Hz\";\n break;\n case 2:\n //[b,a]=butter(2,[15 50]/(200/2)); %matlab command\n b = new double[] {\n 0.167483800127017f, 0, -0.334967600254034f, 0, 0.167483800127017f\n };\n a = new double[] {\n 1, -1.56695061045088f, 1.22696619781982f, -0.619519163981230f, 0.226966197819818f\n };\n filt_txt = \"Bandpass 15-50Hz\";\n short_txt = \"15-50 Hz\";\n break;\n case 3:\n //[b,a]=butter(2,[5 50]/(200/2)); %matlab command\n b = new double[] {\n 0.248341078962540f, 0, -0.496682157925080f, 0, 0.248341078962540f\n };\n a = new double[] {\n 1, -1.86549482213123f, 1.17757811892770f, -0.460665534278457f, 0.177578118927698f\n };\n filt_txt = \"Bandpass 5-50Hz\";\n short_txt = \"5-50 Hz\";\n break;\n default:\n //no filtering\n b = new double[] {\n 1.0f\n };\n a = new double[] {\n 1.0f\n };\n filt_txt = \"No BP Filter\";\n short_txt = \"No Filter\";\n } //end switch block\n\n //create the bandpass filter\n filtCoeff_bp[Ifilt] = new FilterConstants(b, a, filt_txt, short_txt);\n } //end loop over band pass filters\n\n break;\n }\n }", "title": "" }, { "docid": "6563f80c5c9f467c0ac324f78840c38b", "score": "0.4720894", "text": "public PooledSamplesFilter() {\n this.setDescription(\"Include pooled samples datasets\");\n this.setStyleName(\"filterbtn\");\n this.addStyleName(\"smallpaading\");\n this.addStyleName(\"applied\");\n Image icon = new Image();\n icon.setSource(new ThemeResource(\"img/group.png\"));\n this.addComponent(icon);\n icon.setWidth(100, Unit.PERCENTAGE);\n icon.setHeight(100, Unit.PERCENTAGE);\n this.addLayoutClickListener(PooledSamplesFilter.this);\n }", "title": "" }, { "docid": "f3f12ed598a33f8e149e04fe19a39741", "score": "0.47036684", "text": "default MinaComponentBuilder filters(\n java.util.List<org.apache.mina.core.filterchain.IoFilter> filters) {\n doSetProperty(\"filters\", filters);\n return this;\n }", "title": "" }, { "docid": "19e56c81e33551046045e0661e81b505", "score": "0.46980157", "text": "@Override\n public ArrayList<Manga> getMangasFiltered(int[][] filters, int pageNumber) throws Exception {\n String web = HOST + \"/library?order_item=%s&order_dir=%s&title=&filter_by=title&type=%s&demography=%s&status=%s&webcomic=&yonkoma=&amateur=\";\n if (pageNumber == 1)\n lastPage = 10000;\n if (pageNumber <= lastPage) {\n String gens = \"\";\n //include\n for (int i = 0; i < filters[2].length; i++) {\n if(filters[2][i] == 1) {\n gens = gens + \"&genders%5B%5D=\" + genresValues[i];\n }\n }\n //exclude\n for (int i = 0; i < filters[2].length; i++) {\n if(filters[2][i] == -1) {\n gens = gens + \"&exclude_genders%5B%5D=\" + genresValues[i];\n }\n }\n\n web = String.format(web, sortByValues[filters[4][0]], sortOrderValues[filters[5][0]],\n typeV[filters[0][0]], demografiaV[filters[1][0]], estadoV[filters[3][0]]) + gens;\n if (pageNumber > 1) {\n web = web + \"&page=\" + pageNumber;\n }\n String data = getNavWithNeededHeaders().get(web);\n return getMangasLibrary(data);\n } else {\n return new ArrayList<>();\n }\n }", "title": "" }, { "docid": "e27bacf57c68c34b31161539f9ee945c", "score": "0.46971175", "text": "private void setupMinMax() {\r\n\r\n if (image.getType() == ModelStorageBase.UBYTE) {\r\n min = 0;\r\n max = 255;\r\n } else if (image.getType() == ModelStorageBase.BYTE) {\r\n min = -128;\r\n max = 127;\r\n } else if (image.isColorImage()) {\r\n min = 0;\r\n max = 255;\r\n } else {\r\n min = (float) image.getMin();\r\n max = (float) image.getMax();\r\n }\r\n\r\n range = (int) Math.max(1, max - min);\r\n }", "title": "" }, { "docid": "96c0ad622cdb88c3ef4ff31e9267c1ea", "score": "0.46793014", "text": "public void buildModels(List<CategorizedFilters> data) {\n new CategorizedFilterBarSpacerEpoxyModel_().m5821id((CharSequence) \"filters_button_spacer\").addTo(this);\n for (CategorizedFilters filters : data) {\n List<FilterSuggestionItem> items = filters.getItems();\n if (!ListUtils.isEmpty((Collection<?>) items)) {\n CategorizedFilterButtonsEpoxyModel_ model = new CategorizedFilterButtonsEpoxyModel_().m5833id((CharSequence) filters.getType().type).title(filters.getTitle()).item1((FilterSuggestionItem) items.get(0)).item1ClickListener(CategorizedFiltersCarouselController$$Lambda$1.lambdaFactory$(this, items));\n if (items.size() > 1) {\n model.item2((FilterSuggestionItem) items.get(1)).item2ClickListener(CategorizedFiltersCarouselController$$Lambda$2.lambdaFactory$(this, items));\n }\n if (items.size() > 2) {\n model.item3((FilterSuggestionItem) items.get(2)).item3ClickListener(CategorizedFiltersCarouselController$$Lambda$3.lambdaFactory$(this, items));\n }\n model.addTo(this);\n }\n }\n }", "title": "" }, { "docid": "6f9593cf277d010030f723574aca170b", "score": "0.46360254", "text": "public static Filter populateFilter(final Map<String, String> paramMap, final String filterName, final String tagPrefix, final String groupTagPrefix, final String categoryInternalPrefix, final String categoryExternalPrefix)\n\t{\n\t\tfinal EntityManager entityManager = (EntityManager) Component.getInstance(\"entityManager\");\n\n\t\t// attempt to get the filter id from the url\n\t\tInteger filterId = null;\n\t\tif (paramMap.containsKey(filterName))\n\t\t{\n\t\t\tfinal String filterQueryParam = paramMap.get(filterName);\n\n\t\t\ttry\n\t\t\t{\n\t\t\t\tfilterId = Integer.parseInt(filterQueryParam);\n\t\t\t}\n\t\t\tcatch (final Exception ex)\n\t\t\t{\n\t\t\t\t// filter value was not an integer\n\t\t\t\tfilterId = null;\n\n\t\t\t\tSkynetExceptionUtilities.handleException(ex, true, \"The filter ID URL query parameter was not an integer. Got \" + filterQueryParam + \". Probably a malformed URL.\");\n\t\t\t}\n\t\t}\n\n\t\tFilter filter = null;\n\n\t\t/* First attempt to populate the filter from a filterID variable */\n\t\tif (filterId != null)\n\t\t{\n\t\t\tfilter = entityManager.find(Filter.class, filterId);\n\t\t}\n\n\t\t/* If that fails, use the other URL params */\n\t\tif (filter == null)\n\t\t{\n\t\t\tfilter = new Filter();\n\n\t\t\tfor (final String key : paramMap.keySet())\n\t\t\t{\n\t\t\t\tfinal boolean tagVar = key.startsWith(tagPrefix);\n\t\t\t\tfinal boolean groupTagVar = key.startsWith(groupTagPrefix);\n\t\t\t\tfinal boolean catIntVar = key.startsWith(categoryInternalPrefix);\n\t\t\t\tfinal boolean catExtVar = key.startsWith(categoryExternalPrefix);\n\t\t\t\tfinal String state = paramMap.get(key);\n\n\t\t\t\t// add the filter category states\n\t\t\t\tif (catIntVar || catExtVar)\n\t\t\t\t{\n\t\t\t\t\t/*\n\t\t\t\t\t * get the category and project id data from the variable\n\t\t\t\t\t * name\n\t\t\t\t\t */\n\t\t\t\t\tfinal String catProjDetails = catIntVar ? key.replaceFirst(categoryInternalPrefix, \"\") : key.replaceFirst(categoryExternalPrefix, \"\");\n\t\t\t\t\t// split the category and project id out of the data\n\t\t\t\t\tfinal String[] catProjID = catProjDetails.split(\"-\");\n\n\t\t\t\t\t/*\n\t\t\t\t\t * some validity checks. make sure we have one or two\n\t\t\t\t\t * strings after the split.\n\t\t\t\t\t */\n\t\t\t\t\tif (catProjID.length != 1 && catProjID.length != 2)\n\t\t\t\t\t\tcontinue;\n\n\t\t\t\t\t// try to get the category and project ids\n\t\t\t\t\tInteger catID = null;\n\t\t\t\t\tInteger projID = null;\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tcatID = Integer.parseInt(catProjID[0]);\n\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * if the array has just one element, we have only\n\t\t\t\t\t\t * specified the category. in this case the project is\n\t\t\t\t\t\t * the common project\n\t\t\t\t\t\t */\n\t\t\t\t\t\tif (catProjID.length == 2)\n\t\t\t\t\t\t\tprojID = Integer.parseInt(catProjID[1]);\n\t\t\t\t\t}\n\t\t\t\t\tcatch (final Exception ex)\n\t\t\t\t\t{\n\t\t\t\t\t\tSkynetExceptionUtilities.handleException(ex, true, \"Was expecting an integer. Got \" + catProjID[0] + \". Probably a malformed URL.\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\t// at this point we have found a url variable that\n\t\t\t\t\t// contains a catgeory and project id\n\n\t\t\t\t\tfinal Category category = entityManager.find(Category.class, catID);\n\t\t\t\t\tfinal Project project = projID != null ? entityManager.find(Project.class, projID) : null;\n\n\t\t\t\t\tInteger dbState;\n\n\t\t\t\t\tif (catIntVar)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (state.equals(Constants.AND_LOGIC))\n\t\t\t\t\t\t\tdbState = Constants.CATEGORY_INTERNAL_AND_STATE;\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tdbState = Constants.CATEGORY_INTERNAL_OR_STATE;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tif (state.equals(Constants.AND_LOGIC))\n\t\t\t\t\t\t\tdbState = Constants.CATEGORY_EXTERNAL_AND_STATE;\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tdbState = Constants.CATEGORY_EXTERNAL_OR_STATE;\n\t\t\t\t\t}\n\n\t\t\t\t\tfinal FilterCategory filterCategory = new FilterCategory();\n\t\t\t\t\tfilterCategory.setFilter(filter);\n\t\t\t\t\tfilterCategory.setProject(project);\n\t\t\t\t\tfilterCategory.setCategory(category);\n\t\t\t\t\tfilterCategory.setCategoryState(dbState);\n\n\t\t\t\t\tfilter.getFilterCategories().add(filterCategory);\n\t\t\t\t}\n\n\t\t\t\t// add the filter tag states\n\t\t\t\telse if (tagVar)\n\t\t\t\t{\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal Integer tagId = Integer.parseInt(key.replaceFirst(tagPrefix, \"\"));\n\t\t\t\t\t\tfinal Integer intState = Integer.parseInt(state);\n\n\t\t\t\t\t\t// get the Tag object that the tag id represents\n\t\t\t\t\t\tfinal Tag tag = entityManager.getReference(Tag.class, tagId);\n\n\t\t\t\t\t\tif (tag != null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfinal FilterTag filterTag = new FilterTag();\n\t\t\t\t\t\t\tfilterTag.setTag(tag);\n\t\t\t\t\t\t\tfilterTag.setTagState(intState);\n\t\t\t\t\t\t\tfilterTag.setFilter(filter);\n\t\t\t\t\t\t\tfilter.getFilterTags().add(filterTag);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcatch (final Exception ex)\n\t\t\t\t\t{\n\t\t\t\t\t\tSkynetExceptionUtilities.handleException(ex, true, \"Probably an invalid tag query pramater. Parameter: \" + key + \" Value: \" + state);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\telse if (groupTagVar)\n\t\t\t\t{\n\t\t\t\t\tfinal Integer tagId = Integer.parseInt(key.replaceFirst(groupTagPrefix, \"\"));\n\t\t\t\t\t// final Integer intState = Integer.parseInt(state);\n\n\t\t\t\t\t// get the Tag object that the tag id represents\n\t\t\t\t\tfinal Tag tag = entityManager.getReference(Tag.class, tagId);\n\n\t\t\t\t\tif (tag != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal FilterTag filterTag = new FilterTag();\n\t\t\t\t\t\tfilterTag.setTag(tag);\n\t\t\t\t\t\tfilterTag.setTagState(Constants.GROUP_TAG_STATE);\n\t\t\t\t\t\tfilterTag.setFilter(filter);\n\t\t\t\t\t\tfilter.getFilterTags().add(filterTag);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// add the filter field states\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tif (TopicFilter.hasFilterName(key))\n\t\t\t\t\t{\n\t\t\t\t\t\tfinal FilterField filterField = new FilterField();\n\t\t\t\t\t\tfilterField.setFilter(filter);\n\t\t\t\t\t\tfilterField.setField(key);\n\t\t\t\t\t\tfilterField.setValue(state);\n\t\t\t\t\t\tfilterField.setDescription(TopicFilter.getFilterDesc(key));\n\t\t\t\t\t\tfilter.getFilterFields().add(filterField);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\treturn filter;\n\t}", "title": "" }, { "docid": "6293b98a03f6fda4a8bf2aa264b274d9", "score": "0.46258157", "text": "public IvMFiltersController(PluginContext context, InductiveVisualMinerPanel panel,\r\n\t\t\tInductiveVisualMinerState state, final Runnable onPreMiningUpdate, final Runnable onHighlightingUpdate) {\r\n\t\t//pre-mining filters\r\n\t\t{\r\n\t\t\tpreMiningFilters = IvMFiltersFinder.findFilteringPlugins(context, IvMFilter.class,\r\n\t\t\t\t\tPreMiningEventFilterAnnotation.class, PreMiningTraceFilterAnnotation.class);\r\n\t\t\tpanel.getPreMiningFiltersView().initialise(preMiningFilters);\r\n\t\t\tfor (IvMFilter filter : preMiningFilters) {\r\n\t\t\t\tfilter.createFilterGui(onPreMiningUpdate, state.getAttributesInfo());\r\n\t\t\t\tpanel.getPreMiningFiltersView().setPanel(filter, onPreMiningUpdate);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//highlighting filters\r\n\t\t{\r\n\t\t\thighlightingFilters = IvMFiltersFinder.findFilteringPlugins(context, HighlightingFilter.class,\r\n\t\t\t\t\tHighlightingFilterAnnotation.class);\r\n\t\t\t//filter meta-filters\r\n\t\t\tfor (Iterator<IvMFilter> it = highlightingFilters.iterator(); it.hasNext();) {\r\n\t\t\t\tif (!(it.next() instanceof HighlightingFilter)) {\r\n\t\t\t\t\tit.remove();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tpanel.getColouringFiltersView().initialise(highlightingFilters);\r\n\t\t\tfor (IvMFilter filter : highlightingFilters) {\r\n\t\t\t\tfilter.createFilterGui(onHighlightingUpdate, state.getAttributesInfo());\r\n\t\t\t\tpanel.getColouringFiltersView().setPanel(filter, onHighlightingUpdate);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "290c83bcd0c313c75880dcddcbf001aa", "score": "0.46165246", "text": "public static BFilter create(BFilter... filters) {\n switch (filters.length) {\n case 0:\n return x -> x;\n case 1:\n return filters[0];\n case 2:\n return x -> filters[1].get(filters[0].get(x));\n case 3:\n return x -> filters[2].get(filters[1].get(filters[0].get(x)));\n case 4:\n return x -> filters[3].get(filters[2].get(filters[1].get(filters[0].get(x))));\n default:\n return new BFilterGroup(filters);\n }\n }", "title": "" }, { "docid": "bf545e42ef43e9f51a55b2431cae78b5", "score": "0.4609892", "text": "private void init() {\r\n setTitle(\"Center of Mass\");\r\n\r\n mins[0] = (float) image.getMinR();\r\n maxs[0] = (float) image.getMaxR();\r\n mins[1] = (float) image.getMinG();\r\n maxs[1] = (float) image.getMaxG();\r\n mins[2] = (float) image.getMinB();\r\n maxs[2] = (float) image.getMaxB();\r\n\r\n\r\n thresholdR = new float[2];\r\n thresholdG = new float[2];\r\n thresholdB = new float[2];\r\n\r\n textThreshold1 = new JTextField[3];\r\n textThreshold2 = new JTextField[3];\r\n\r\n thresholdLabels1 = new JLabel[3];\r\n thresholdLabels2 = new JLabel[3];\r\n\r\n JPanel thresholdPanel = new JPanel();\r\n thresholdPanel.setLayout(new BoxLayout(thresholdPanel, BoxLayout.Y_AXIS));\r\n thresholdPanel.setBorder(buildTitledBorder(\"Thresholds\"));\r\n\r\n GridBagConstraints gbc2 = new GridBagConstraints();\r\n JPanel applyPanel = new JPanel();\r\n applyPanel.setLayout(new GridBagLayout());\r\n gbc2.gridx = 0;\r\n gbc2.gridy = 0;\r\n gbc2.weightx = 1;\r\n gbc2.anchor = GridBagConstraints.WEST;\r\n gbc2.fill = GridBagConstraints.NONE;\r\n\r\n applyToAllBox = new JCheckBox(\"Apply same threshold to all channels\");\r\n applyToAllBox.addItemListener(this);\r\n applyToAllBox.setFont(MipavUtil.font12);\r\n\r\n applyPanel.setBorder(buildTitledBorder(\"\"));\r\n applyPanel.add(applyToAllBox, gbc2);\r\n\r\n thresholdPanel.add(applyPanel);\r\n\r\n for (int i = 0; i < 3; i++) {\r\n thresholdPanel.add(buildThresholdPanel(i));\r\n }\r\n\r\n GridBagConstraints gbc = new GridBagConstraints();\r\n\r\n JPanel imageVOIPanel = new JPanel(new GridBagLayout());\r\n imageVOIPanel.setForeground(Color.black);\r\n imageVOIPanel.setBorder(buildTitledBorder(\"Process\"));\r\n\r\n ButtonGroup imageVOIGroup = new ButtonGroup();\r\n wholeImage = new JRadioButton(\"Whole image\", true);\r\n wholeImage.setFont(serif12);\r\n imageVOIGroup.add(wholeImage);\r\n\r\n VOIRegions = new JRadioButton(\"VOI region(s)\", false);\r\n VOIRegions.setFont(serif12);\r\n imageVOIGroup.add(VOIRegions);\r\n\r\n gbc.gridx = 0;\r\n gbc.gridy = 0;\r\n gbc.weightx = 1;\r\n gbc.anchor = GridBagConstraints.WEST;\r\n imageVOIPanel.add(wholeImage, gbc);\r\n gbc.gridy = 1;\r\n imageVOIPanel.add(VOIRegions, gbc);\r\n\r\n JPanel mainPanel = new JPanel(new GridBagLayout());\r\n gbc.gridx = 0;\r\n gbc.gridy = 0;\r\n gbc.gridwidth = 2;\r\n mainPanel.add(thresholdPanel, gbc);\r\n gbc.gridx = 0;\r\n gbc.gridy = 1;\r\n gbc.gridwidth = 2;\r\n gbc.anchor = GridBagConstraints.WEST;\r\n gbc.fill = GridBagConstraints.HORIZONTAL;\r\n mainPanel.add(imageVOIPanel, gbc);\r\n mainPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));\r\n\r\n JPanel buttonPanel = new JPanel();\r\n buildOKButton();\r\n buttonPanel.add(OKButton);\r\n buildCancelButton();\r\n buttonPanel.add(cancelButton);\r\n\r\n getContentPane().add(mainPanel);\r\n getContentPane().add(buttonPanel, BorderLayout.SOUTH);\r\n pack();\r\n }", "title": "" }, { "docid": "540282233b6de41ca5ab795d7c527441", "score": "0.4584835", "text": "private Composite createFilteringControls(Composite parent, Label wLastLine) {\n\n\t\t// Create a composite to hold the grid of filter rules\n\t\tComposite wComp = new Composite(parent, SWT.NONE);\n\t\thelper.setLook(wComp);\n\t\twComp.setLayout(new FormLayout());\n\t\tFormData fd = new FormData();\n\t\tfd.left = new FormAttachment(0, 0);\n\t\tfd.top = new FormAttachment(wLastLine, 0);\n\t\tfd.right = new FormAttachment(100, 0);\n\t\twComp.setLayoutData(fd);\n\t\t// Create column for filter numbers\n\t\tComposite wNumberComp = new Composite(wComp, SWT.NONE);\n\t\thelper.setLook(wNumberComp);\n\t\twNumberComp.setLayout(new FormLayout());\n\t\tfd = new FormData();\n\t\tfd.left = new FormAttachment(0, 0);\n\t\tfd.top = new FormAttachment(0, 0);\n\t\tfd.width = 20;\n\t\twNumberComp.setLayoutData(fd);\n\t\t// Fill it in\n\t\tControl wLastRow = helper.addSpacer(wNumberComp, null);\n\t\tfor (int i = 0; i < filterRows.length; i++) {\n\t\t\tLabel label = helper.addLabel(wNumberComp, wLastRow, null);\n\t\t\tlabel.setText(\"\" + (i + 1) + \".\");\n\t\t\t// This invisible control is created in order to align the number rows with the filter rows\n\t\t\tControl filler = helper.addComboBox(wNumberComp, wLastRow, null)[1];\n\t\t\tfiller.setVisible(false);\n\t\t\twLastRow = filler;\n\t\t}\n\t\t// Create column for filter rows\n\t\tComposite wRowComp = new Composite(wComp, SWT.NONE);\n\t\thelper.setLook(wRowComp);\n\t\twRowComp.setLayout(new FormLayout());\n\t\tfd = new FormData();\n\t\tfd.left = new FormAttachment(wNumberComp, 0);\n\t\tfd.top = new FormAttachment(0, 0);\n\t\tfd.right = new FormAttachment(100, 0);\n\t\twRowComp.setLayoutData(fd);\n\t\t// Create header row\n\t\tLabel lblName = helper.addLabel(wRowComp, null, \"OutputFilterTab.FilterName\");\n\t\tLabel lblPreBuilt = helper.addLabel(wRowComp, null, \"OutputFilterTab.PreBuiltFilter\");\n\t\tLabel lblCustom = helper.addLabel(wRowComp, null, \"OutputFilterTab.CustomFilterExpression\");\n\t\tLabel lblTarget = helper.addLabel(wRowComp, null, \"OutputFilterTab.TargetName\");\n\t\t// Line them up\n\t\talignColumns(lblName, lblPreBuilt, lblCustom, lblTarget);\n\t\t// Listener for removing a rule\n\t\tSelectionListener lsRemove = new SelectionListener() {\n\t\t\t@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\n\t\t\t\tremoveRule((MenuItem) e.getSource());\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\n\t\t\t\tremoveRule((MenuItem) e.getSource());\n\t\t\t}\n\t\t};\n\t\t// Listener for saving a rule\n\t\tSelectionListener lsSave = new SelectionListener() {\n\t\t\t@Override\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\n\n\t\t\t\tsaveRule((MenuItem) e.getSource());\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\n\t\t\t\tsaveRule((MenuItem) e.getSource());\n\t\t\t}\n\t\t};\n\t\twLastRow = lblName;\n\t\tfor (int i = 0; i < filterRows.length; i++) {\n\t\t\tfinal FilterRow row = filterRows[i] = new FilterRow();\n\t\t\t// Create the controls\n\t\t\t// Create filter name field\n\t\t\trow.wFilterName = helper.addTextBox(wRowComp, wLastRow, null);\n\t\t\t// Create the pre-built rule selector\n\t\t\trow.cbPreBuiltRules = (CCombo) helper.addComboBox(wRowComp, wLastRow, null)[1];\n\t\t\trow.cbPreBuiltRules.setEditable(false);\n\t\t\t// Add context menu to remove filter\n\t\t\tMenu menuRemove = new Menu(row.cbPreBuiltRules);\n\t\t\trow.miRemove = new MenuItem(menuRemove, SWT.NONE);\n\t\t\trow.miRemove.setText(getString(\"RemoveRule.Label\"));\n\t\t\trow.miRemove.setData(row);\n\t\t\trow.miRemove.addSelectionListener(lsRemove);\n\t\t\trow.cbPreBuiltRules.setMenu(menuRemove);\n\t\t\t// Create the custom rule text box\n\t\t\trow.wFilterRule = helper.addTextBox(wRowComp, wLastRow, null);\n\t\t\t// Add context menu to save filter\n\t\t\tMenu menuSave = new Menu(row.wFilterRule);\n\t\t\trow.miSave = new MenuItem(menuSave, SWT.NONE);\n\t\t\trow.miSave.setText(getString(\"SaveRule.Label\"));\n\t\t\trow.miSave.setData(row);\n\t\t\trow.miSave.addSelectionListener(lsSave);\n\t\t\trow.wFilterRule.setMenu(menuSave);\n\t\t\t// Add a decoration to indicate special functionality\n\t\t\tControlDecoration controlDecoration = new ControlDecoration(row.wFilterRule, SWT.TOP | SWT.RIGHT);\n\t\t\tcontrolDecoration.setImage(ImageUtil.getImage(dialog.getShell().getDisplay(), this.getClass(), \"com/melissadata/kettle/propertywebservice/images/question-mark-small.png\"));\n\t\t\tcontrolDecoration.setDescriptionText(getString(\"EditRuleHint\"));\n\t\t\t// Create the target selector\n\t\t\trow.cbTargetName = (CCombo) helper.addComboBox(wRowComp, wLastRow, null)[1];\n\t\t\t// Line them up\n\t\t\talignColumns(row.wFilterName, row.cbPreBuiltRules, row.wFilterRule, row.cbTargetName);\n\t\t\t// Editing the filter name can alter enablement of subsequent fields\n\t\t\trow.wFilterName.addModifyListener(new ModifyListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void modifyText(ModifyEvent e) {\n\n\t\t\t\t\tenable();\n\t\t\t\t}\n\t\t\t});\n\t\t\t// If the filter name is blanked out then scroll subsequent rows up\n\t\t\tfinal int index = i;\n\t\t\trow.wFilterName.addFocusListener(new FocusAdapter() {\n\t\t\t\t@Override\n\t\t\t\tpublic void focusLost(FocusEvent e) {\n\n\t\t\t\t\tif (Const.isEmpty(row.wFilterName.getText())) {\n\t\t\t\t\t\t// Scroll rows up\n\t\t\t\t\t\tfor (int j = index + 1; j < filterRows.length; j++) {\n\t\t\t\t\t\t\tfilterRows[j - 1].wFilterName.setText(filterRows[j].wFilterName.getText());\n\t\t\t\t\t\t\tfilterRows[j - 1].cbPreBuiltRules.select(filterRows[j].cbPreBuiltRules.getSelectionIndex());\n\t\t\t\t\t\t\tfilterRows[j - 1].wFilterRule.setText(filterRows[j].wFilterRule.getText());\n\t\t\t\t\t\t\tfilterRows[j - 1].cbTargetName.select(filterRows[j].cbTargetName.getSelectionIndex());\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Blank out last row\n\t\t\t\t\t\tint j = filterRows.length - 1;\n\t\t\t\t\t\tfilterRows[j].wFilterName.setText(\"\");\n\t\t\t\t\t\tfilterRows[j].cbPreBuiltRules.select(0);\n\t\t\t\t\t\tfilterRows[j].wFilterRule.setText(\"\");\n\t\t\t\t\t\tfilterRows[j].cbTargetName.setText(\"\");\n\t\t\t\t\t}\n\t\t\t\t\t// Adjust enablement\n\t\t\t\t\tenable();\n\t\t\t\t}\n\t\t\t});\n\t\t\t// Add ctrl-space detector to edit rule\n\t\t\trow.wFilterRule.addKeyListener(new MDControlSpaceKeyAdapter(row.wFilterRule));\n\t\t\t// Add listener to pre-built combo box that will set the custom rule text field\n\t\t\t// to the expression of the currently selected rule\n\t\t\trow.cbPreBuiltRules.addSelectionListener(new SelectionAdapter() {\n\t\t\t\t@Override\n\t\t\t\tpublic void widgetSelected(SelectionEvent event) {\n\n\t\t\t\t\tint index = row.cbPreBuiltRules.getSelectionIndex();\n\t\t\t\t\tif (index != -1) {\n\t\t\t\t\t\tif (index == 0) {\n\t\t\t\t\t\t\trow.wFilterRule.setText(\"\");\n\t\t\t\t\t\t} else if (index < (row.cbPreBuiltRules.getItemCount() - 1)) {\n\t\t\t\t\t\t\tRule r = preBuiltRules.getRules().get(index - 1);\n\t\t\t\t\t\t\trow.wFilterRule.setText(r.expression);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Selecting/Deselecting Custom filter can change enablement.\n\t\t\t\t\t\tenable();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\twLastRow = row.wFilterName;\n\t\t}\n\t\treturn wComp;\n\t}", "title": "" }, { "docid": "74b2ae4201668eae710d9cb8e9301e41", "score": "0.45764437", "text": "public static void setFilter(Map<String, Object> filters,String filterFieldName,String condition,String operator) {\n\t\tString evaluateType = (String) filters.get(filterFieldName);\n \tif(evaluateType != null ) {// 0 standfor model\n \t\tsetFilter(filters, filterFieldName, condition, operator, evaluateType);\n \t}\n\t}", "title": "" }, { "docid": "9272a8b523589d49bc47002838745a8c", "score": "0.45731866", "text": "public List<OpenCVFilter> createFilters() {\n ArrayList<OpenCVFilter> filters = new ArrayList<OpenCVFilter>();\n filters.add(createFilter());\n return filters;\n }", "title": "" }, { "docid": "55b09dd54e6bf888ae13621ae38473c8", "score": "0.45642108", "text": "public void addScaling(List<Float> min, List<Float> max);", "title": "" }, { "docid": "495c6abbea2f534b080ffef994239154", "score": "0.45565486", "text": "private void setRGBFiltersButtons() {\n\t\t// RGB\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\tc.gridx = 0;\n\t\tc.gridy = 0;\n\t\tfilterRGB = new JLabel(\"RGB: \");\n\t\tpanelOptions.add(filterRGB, c);\n\n\t\tc.gridx = 1;\n\t\tc.gridy = 0;\n\t\tbuttonRGBRed = new JRadioButton(\"Red\");\n\t\tbuttonRGBRed.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonRGBRed, c);\n\n\t\tc.gridx = 2;\n\t\tc.gridy = 0;\n\t\tbuttonRGBYellow = new JRadioButton(\"Yellow\");\n\t\tbuttonRGBYellow.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonRGBYellow, c);\n\n\t\tc.gridx = 3;\n\t\tc.gridy = 0;\n\t\tbuttonRGBGreen = new JRadioButton(\"Green\");\n\t\tbuttonRGBGreen.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonRGBGreen, c);\n\n\t}", "title": "" }, { "docid": "7b6c79899b7a79ac24c20f5435a3c96c", "score": "0.45280632", "text": "@Override\n\tpublic void setFilterParams() {\n\t\tparams = srcKey.split(\"_\");\n\t\t// test - print out params\n\t\tfor (int i = 0; i < params.length; i++) {\n\t\t\tSystem.out.println(i + \" : at this element : \" + params[i]);\n\t\t}\n\t\t maskSize = Integer.parseInt(params[1]);\n\t}", "title": "" }, { "docid": "3450162da684c04c102a8271fa3535ef", "score": "0.4499065", "text": "private void computePixelWeightingFactors_multiScale(int n_wide_full, int n_tall_full) {\n int n_elec = electrode_xy.length;\n\n //define the coarse grid data structures and pixel locations\n int decimation = 10;\n int n_wide_small = n_wide_full / decimation + 1;\n int n_tall_small = n_tall_full / decimation + 1;\n float weightFac[][][] = new float[n_elec][n_wide_small][n_tall_small];\n int pixelAddress[][][] = new int[n_wide_small][n_tall_small][2];\n for (int Ix=0; Ix<n_wide_small; Ix++) {\n for (int Iy=0; Iy<n_tall_small; Iy++) {\n pixelAddress[Ix][Iy][0] = Ix*decimation;\n pixelAddress[Ix][Iy][1] = Iy*decimation;\n };\n };\n\n //compute the weighting factors of the coarse grid\n computePixelWeightingFactors_trueAverage(pixelAddress, weightFac);\n\n //define the fine grid data structures\n electrode_color_weightFac = new float[n_elec][n_wide_full][n_tall_full];\n headVoltage = new float[n_wide_full][n_tall_full];\n\n //interpolate to get the fine grid from the coarse grid\n float dx_frac, dy_frac;\n for (int Ix=0; Ix<n_wide_full; Ix++) {\n int Ix_source = Ix/decimation;\n dx_frac = PApplet.parseFloat(Ix - Ix_source*decimation)/PApplet.parseFloat(decimation);\n for (int Iy=0; Iy < n_tall_full; Iy++) {\n int Iy_source = Iy/decimation;\n dy_frac = PApplet.parseFloat(Iy - Iy_source*decimation)/PApplet.parseFloat(decimation);\n\n for (int Ielec=0; Ielec<n_elec; Ielec++) {\n //println(\" : Ielec = \" + Ielec);\n if ((Ix_source < (n_wide_small-1)) && (Iy_source < (n_tall_small-1))) {\n //normal 2-D interpolation\n electrode_color_weightFac[Ielec][Ix][Iy] = interpolate2D(weightFac[Ielec], Ix_source, Iy_source, Ix_source+1, Iy_source+1, dx_frac, dy_frac);\n } else if (Ix_source < (n_wide_small-1)) {\n //1-D interpolation in X\n dy_frac = 0.0f;\n electrode_color_weightFac[Ielec][Ix][Iy] = interpolate2D(weightFac[Ielec], Ix_source, Iy_source, Ix_source+1, Iy_source, dx_frac, dy_frac);\n } else if (Iy_source < (n_tall_small-1)) {\n //1-D interpolation in Y\n dx_frac = 0.0f;\n electrode_color_weightFac[Ielec][Ix][Iy] = interpolate2D(weightFac[Ielec], Ix_source, Iy_source, Ix_source, Iy_source+1, dx_frac, dy_frac);\n } else {\n //no interpolation, just use the last value\n electrode_color_weightFac[Ielec][Ix][Iy] = weightFac[Ielec][Ix_source][Iy_source];\n } //close the if block selecting the interpolation configuration\n } //close Ielec loop\n } //close Iy loop\n } // close Ix loop\n\n //clean up the boundaries of our interpolated results to make the look nicer\n int pixelAddress_full[][][] = new int[n_wide_full][n_tall_full][2];\n for (int Ix=0; Ix<n_wide_full; Ix++) {\n for (int Iy=0; Iy<n_tall_full; Iy++) {\n pixelAddress_full[Ix][Iy][0] = Ix;\n pixelAddress_full[Ix][Iy][1] = Iy;\n };\n };\n cleanUpTheBoundaries(pixelAddress_full, electrode_color_weightFac);\n }", "title": "" }, { "docid": "03c9fea82ce8ab363632f3df8bb78c1a", "score": "0.44844252", "text": "private Panel createFilterPanel(VerticalLayout mainLayout) {\r\n\t\tPanel filterPanel = new Panel();\r\n\t\tfilterPanel.addStyleName(Runo.PANEL_LIGHT);\r\n\t\tHorizontalLayout filterLayout = new HorizontalLayout();\r\n\t\tfilterLayout.setMargin(false);\r\n\t\tfilterLayout.setSpacing(true);\r\n\t\tfilterPanel.setContent(filterLayout);\r\n\t\tmainLayout.addComponent(filterPanel);\r\n\t\r\n\t\tPanel buttonPanel = new Panel();\r\n\t\tbuttonPanel.addStyleName(Runo.PANEL_LIGHT);\r\n\t\tHorizontalLayout buttonLayout = new HorizontalLayout();\r\n\t\tbuttonLayout.setMargin(false);\r\n\t\tbuttonLayout.setSpacing(true);\r\n\t\tbuttonPanel.setContent(buttonLayout);\r\n\t\tmainLayout.addComponent(buttonPanel);\r\n\t\r\n\t\tPanel buttonPanel2 = new Panel();\r\n\t\tbuttonPanel2.addStyleName(Runo.PANEL_LIGHT);\r\n\t\tHorizontalLayout buttonLayout2 = new HorizontalLayout();\r\n\t\tbuttonLayout2.setMargin(false);\r\n\t\tbuttonLayout2.setSpacing(true);\r\n\t\tbuttonPanel2.setContent(buttonLayout2);\r\n\t\tmainLayout.addComponent(buttonPanel2);\r\n\t\r\n\t\tnameFilterField = new TextField(\"Name\");\r\n\t\tfilterPanel.addComponent(nameFilterField);\r\n\t\r\n\t\trefreshButton = new Button(\"Refresh\");\r\n\t\trefreshButton.addListener(this);\r\n\t\tbuttonPanel.addComponent(refreshButton);\r\n\t\r\n\t\teditButton = new Button(\"Edit\");\r\n\t\teditButton.addListener(this);\r\n\t\tbuttonPanel.addComponent(editButton);\r\n\t\r\n\t\tsaveButton = new Button(\"Save\");\r\n\t\tsaveButton.addListener(this);\r\n\t\tsaveButton.setEnabled(false);\r\n\t\tbuttonPanel2.addComponent(saveButton);\r\n\t\r\n\t\tcancelButton = new Button(\"Cancel\");\r\n\t\tcancelButton.addListener(this);\r\n\t\tcancelButton.setEnabled(false);\r\n\t\tbuttonPanel2.addComponent(cancelButton);\r\n\t\r\n\t\taddItemButton = new Button(\"Add Row\");\r\n\t\taddItemButton.addListener(this);\r\n\t\taddItemButton.setEnabled(false);\r\n\t\tbuttonPanel2.addComponent(addItemButton);\r\n\t\r\n\t\tremoveItemButton = new Button(\"Remove Row\");\r\n\t\tremoveItemButton.addListener(this);\r\n\t\tremoveItemButton.setEnabled(false);\r\n\t\tbuttonPanel2.addComponent(removeItemButton);\r\n\t\treturn buttonPanel2;\r\n\t}", "title": "" }, { "docid": "77ece1bd7f35b716e9e837cfb55bdfad", "score": "0.44840354", "text": "public void addFilterToMediaTypes(ViewerFilter filter);", "title": "" }, { "docid": "3bc474f2149d51fcae6490385de17f5a", "score": "0.44825017", "text": "private HashSet createFilterSet(String mediaType, String[] gFilter, String afterDate, String beforeDate) {\n if ( mediaType == null && gFilter == null && afterDate == null && beforeDate == null) {\n return null;\n }\n if ( mediaType != null && gFilter == null && afterDate == null && beforeDate == null) {\n if( mediaType.equals(\"dvd\")) {\n return newDVD.getFilterSet();\n } else if (mediaType.equals(\"video\")) {\n return newVideo.getFilterSet();\n } else {\n return newFilm.getFilterSet();\n }\n }\n Vector g = new Vector();\n for (int i = 0; i < gFilter.length; i++) {\n g.add(gFilter[i]);\n }\n RecFilter r = new RecFilter(g,afterDate,beforeDate,mediaType);\n return r.getFilterSet();\n }", "title": "" }, { "docid": "414312511eb0dc82010ae6224fa52308", "score": "0.44715568", "text": "public void addBusinessFilterToMediaTypes(ViewerFilter filter);", "title": "" }, { "docid": "31dc063205564e7fe65d9a330fa6bbbe", "score": "0.44714653", "text": "public LevelsFilter(@NonNull float[] min, @NonNull float[] mid, @NonNull float[] max, @NonNull float[] minOutput, @NonNull float[] maxOutput) {\n super(DEFAULT_VERTEX_SHADER, FRAGMENT_SHADER);\n\n this.min = min;\n this.mid = mid;\n this.max = max;\n this.minOutput = minOutput;\n this.maxOutput = maxOutput;\n }", "title": "" }, { "docid": "07716f6ee1abb536158fe45ec0908b7a", "score": "0.44501925", "text": "void mo1022c(CustomFiltersUI customFiltersUI);", "title": "" }, { "docid": "edec6f996fc0654c1026f5b113f15221", "score": "0.44154224", "text": "protected void alterModelFilters(Map<String, Object> filters) {\n }", "title": "" }, { "docid": "01cce17db4899173ac2821e6f1cc2896", "score": "0.4409081", "text": "private void AddACustomFilter() {\n\t\t double[][] customFilterMatrix = consoleInput.acceptCustomFilterMatrixAsInput();\n\n\t File inputImageFile = consoleInput.acceptSingleImageFileAsInput();\n\t if (inputImageFile == null)\n\t return;\n\t String outputPath = consoleInput.acceptOutputFilePathAsInput();\n\t if (outputPath == null)\n\t return;\n\t //adding custom filter matrix to the filter model class\n\t FilterModel selectedFilterModel = new FilterModel(999, \"Custom_Filter\", customFilterMatrix);\n\t BlockingQueueExecutor.addFilesToBlockingQueue(new ArrayList<>(Arrays.asList(inputImageFile)), selectedFilterModel, outputPath);\n\n\t }", "title": "" }, { "docid": "23425810a9637e12780be3d6970ae31a", "score": "0.44032404", "text": "public void setFilters( IoFilter[] filters )\n {\n Assert.notNull( filters, \"Property 'filters' may not be null\" );\n this.filterMappings = new IoFilterMapping[ filters.length ];\n \n for( int i = 0; i < filters.length; i++ )\n {\n this.filterMappings[ i ] = new IoFilterMapping();\n this.filterMappings[ i ].setFilter( filters[ i ] );\n }\n }", "title": "" }, { "docid": "3cd3bfec149ea16638814f36188d7b93", "score": "0.43643644", "text": "public CompositePropertyFilter(List filters){\n if (filters != null){\n for (Iterator i = filters.iterator(); i.hasNext();){\n Object filter = i.next();\n if (filter instanceof PropertyFilter){\n this.filters.add(filter);\n }\n }\n }\n }", "title": "" }, { "docid": "0a521510715102dce062ca03745e9695", "score": "0.43594256", "text": "public static float[] waveletFilter(float a[], int height, int width){\n\r\n\tfloat stdev;\r\n\tdouble pix;\r\n\tdouble pix_d[] = new double[width*height];;\t//this is the image\r\n\tdouble k1,k2,k3,k4, k5; // thresholding coefficients\r\n\r\n\tk1=10;\r\n\tk2=5;\r\n\tk3=1;\r\n\tk4=0;\r\n\tk5=0;\r\n\r\n\tint m=50;\r\n\tdouble matrix_big[][]=new double[width+m*2][height+m*2];\r\n\tdouble matrix_big2[][]=new double[width+m*2][height+m*2];\r\n\tdouble matrix_big_s[][]=new double[width+m*2][height+m*2];\r\n\tdouble matrix_big2_s[][]=new double[width+m*2][height+m*2];\r\n\tdouble wave3d[][][]=new double[width+m*2][height+m*2][5];\r\n\tdouble wave3d_s[][][]=new double[width+m*2][height+m*2][5];\r\n\tbyte pixels[]=new byte[width*height];\r\n\r\n\tfor (int i=0;i<pix_d.length;i++){\t\t//writes the input float[] image a[] into the double[] pix_d\r\n\t\tpix_d[i] = (double)a[i];\r\n\t\tpixels[i] = (byte)a[i];\r\n\t}\r\n//IJ.showMessage(\"total(pixels): \"+total(pixels)+\" \");\r\n\r\n\r\n\tstdev = noiseEstimate(a, height, width);\r\n//\tstdev=(float)7.969;\r\n//IJ.showMessage(\"noiseEstimate stdev: \"+stdev+\" \");\r\n\r\n\t// simulation of an image with mean=0 and std_dev=1\r\n\tImagePlus simul = NewImage.createByteImage(\"Simulation\",width,height,1,NewImage.FILL_BLACK);\r\n\tImageProcessor simul_ip = simul.getProcessor();\r\n\tsimul_ip.noise(1.67) ;//war 1.67\r\n\tbyte[] pixels2 =(byte[])simul_ip.getPixels();\r\n\r\n\tdouble[] pix_s= new double[width*height];\r\n\tfor(int i=0;i<pixels2.length;i++){\r\n\t\tpix = 0xff & pixels2[i];\r\n\t\tpix_s[i] = pix;\t\t\t\t//pix_s[] is result of simulation\r\n\t}\r\n//IJ.showMessage(\"total(pix_s): \"+total(pix_s)+\" \");\r\n\r\n\t//initialisation of the simulated image\r\n\tfor(int i=0;i<width+2*m;i++)\r\n \t\tfor(int j=0;j<height+2*m;j++)\r\n \t\t\tmatrix_big_s[i][j]=0;\r\n\r\n\tfor(int i=0;i<width;i++)\r\n\t\tfor(int j=0;j<height;j++)\r\n\t\t\tmatrix_big_s[i+m][j+m]=pix_s[i+j*width];\r\n\r\n\tmirror(matrix_big_s,width,height,m);\r\n\r\n\tfor(int i=0;i<width+2*m;i++)\r\n \t\tfor(int j=0;j<height+2*m;j++)\r\n \t\t\tmatrix_big2_s[i][j]=matrix_big_s[i][j];\r\n\r\n\ta_trous_transform(matrix_big_s, matrix_big2_s, wave3d_s, width, height, m);\r\n\r\n\r\n\t//initialisation of the image\r\n\tfor(int i=0;i<width+2*m;i++)\r\n \t\tfor(int j=0;j<height+2*m;j++)\r\n \t\t\tmatrix_big[i][j]=0;\r\n\r\n\tfor(int i=0;i<width;i++)\r\n\t\tfor(int j=0;j<height;j++)\r\n\t\t\tmatrix_big[i+m][j+m]=pix_d[i+j*width];\r\n\r\n\tmirror(matrix_big,width,height,m);\r\n\r\n\tfor(int i=0;i<width+2*m;i++)\r\n\t\tfor(int j=0;j<height+2*m;j++)\r\n\t\t\tmatrix_big2[i][j]=matrix_big[i][j];\r\n\r\n\r\n\ta_trous_transform(matrix_big, matrix_big2, wave3d, width, height, m);\r\n\r\n\tdenoise(wave3d, wave3d_s, width, height, m, stdev, k1, k2, k3, k4, k5);\r\n//IJ.showMessage(\"total(pixels): \"+total(pixels)+\" \");\r\n\r\n\tinverse(pix_d, pixels, matrix_big2, wave3d,width, height, m);\r\n//IJ.showMessage(\"min(pix_d): \"+min(pix_d)+\" max(pix_d): \"+max(pix_d)+\" \");\r\n//IJ.showMessage(\"min(a): \"+min(a)+\" max(a): \"+max(a)+\" \");\r\n\r\n\tfor(int i = 0; i<pix_d.length; i++){\r\n\t\ta[i] = (float)pix_d[i];\r\n\t}\r\n//IJ.showMessage(\"min(a): \"+min(a)+\" max(a): \"+max(a)+\" \");\r\n\r\n\treturn(float[]) a;\r\n\t}", "title": "" }, { "docid": "b103e742a7c8850023f906ca99e34645", "score": "0.4352817", "text": "private void setUpSizeFilter() {\n int count = 0;\n DefaultListModel<FileSearchData.FileSize> sizeListModel = (DefaultListModel<FileSearchData.FileSize>) sizeList.getModel();\n sizeListModel.removeAllElements();\n if (null == fileType) {\n for (FileSearchData.FileSize size : FileSearchData.FileSize.values()) {\n sizeListModel.add(count, size);\n }\n } else {\n List<FileSearchData.FileSize> sizes;\n switch (fileType) {\n case VIDEO:\n sizes = FileSearchData.FileSize.getOptionsForVideos();\n break;\n case IMAGE:\n sizes = FileSearchData.FileSize.getOptionsForImages();\n break;\n case DOCUMENTS:\n sizes = FileSearchData.FileSize.getOptionsForImages();\n break;\n default:\n sizes = new ArrayList<>();\n break;\n }\n for (FileSearchData.FileSize size : sizes) {\n sizeListModel.add(count, size);\n }\n }\n addListeners(sizeCheckbox, sizeList);\n }", "title": "" }, { "docid": "33df9e12a084d714cd0998931a6e0b2f", "score": "0.43438023", "text": "@Override\n\tprotected Layout constructFilterLayout() {\n\t\treturn new DefaultVerticalLayout();\n\t}", "title": "" }, { "docid": "dd1889ca4535632c755572000c845444", "score": "0.4333036", "text": "public PrefixMetricFilter(\n String tagKey,\n MetricFilter root,\n NavigableMap<String, MetricFilter> filters) {\n this.tagKey = tagKey;\n this.root = root;\n this.filters = filters;\n }", "title": "" }, { "docid": "fa2e191ab4910c7ba6512566a328922c", "score": "0.43295753", "text": "private void setupFilter(){\n\t\tfilter = new HashSet<String>();\n\t\tfilter.add(\"MMM\");\n\t\tfilter.add(\"AA\");\n\t\tfilter.add(\"AXP\");\n\t\tfilter.add(\"T\");\n\t\tfilter.add(\"BAC\");\n\t\tfilter.add(\"BA\");\n\t\tfilter.add(\"CAT\");\n\t\tfilter.add(\"CVX\");\n\t\tfilter.add(\"CSCO\");\n\t\tfilter.add(\"KO\");\n\t\tfilter.add(\"DD\");\n\t\tfilter.add(\"XOM\");\n\t\tfilter.add(\"GE\");\n\t\tfilter.add(\"HPQ\");\n\t\tfilter.add(\"HD\");\n\t\tfilter.add(\"INTC\");\n\t\tfilter.add(\"IBM\");\n\t\tfilter.add(\"JNJ\");\n\t\tfilter.add(\"JPM\");\n\t\tfilter.add(\"MCD\");\n\t\tfilter.add(\"MRK\");\n\t\tfilter.add(\"MSFT\");\n\t\tfilter.add(\"PFE\");\n\t\tfilter.add(\"PG\");\n\t\tfilter.add(\"TRV\");\n\t\tfilter.add(\"UNH\");\n\t\tfilter.add(\"UTX\");\n\t\tfilter.add(\"VZ\");\n\t\tfilter.add(\"WMT\");\n\t\tfilter.add(\"DIS\");\n\t}", "title": "" }, { "docid": "964c69365b073332911e502550e396b1", "score": "0.43198702", "text": "public static List<List<Filter>> makeFilterGroups(List<Map<?,?>> list){\n\t\tList<List<Filter>> toReturn = new ArrayList<List<Filter>>(); \n\t\t// Filters with args\n\t\tif (list == null){\n\t\t\treturn null;\n\t\t}\n\t\t// The list should be like this: List<Map<String, List<String>>>\n\t\t// First we check if the objects are maps. \n\t\tfiltergroups:\n\t\t\tfor (Map<?,?> filterGroup: list){\n\t\t\t\t\n\t\t\t\t/*// This is the map we'll test.\n\t\t\t\tMap<?, ?> testMap;\n\t\t\t\tif (filtergroup instanceof Map<?, ?>){\n\t\t\t\t\t// Object is a map!\n\t\t\t\t\ttestMap = (Map<?, ?>)filtergroup;\n\t\t\t\t} else {\n\t\t\t\t\t// Object is not a map, continue iterating filtergroups.\n\t\t\t\t\tcontinue filtergroups;\n\t\t\t\t}*/\n\t\t\t\t\n\t\t\t\t// Save this for later, we'll add filters to it, once we've found some valid ones.\n\t\t\t\tList<Filter> filtersInFiltergroup = new ArrayList<Filter>();\n\t\t\t\t\n\t\t\t\t// So far so good, now we'll check if the keyset is containing Strings!\n\t\t\t\tkeys:\n\t\t\t\t\tfor (Object key: filterGroup.keySet()){\n\t\t\t\t\t\t//Test String\n\t\t\t\t\t\tString testString;\n\t\t\t\t\t\tif (key instanceof String){\n\t\t\t\t\t\t\t// The key is a String!\n\t\t\t\t\t\t\ttestString = (String)key;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Key is not a string, continue iterating keys. \n\t\t\t\t\t\t\tcontinue keys;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// All right so we've got the key. This is the name of the filter. The value to this key should be a List<String>. First we'll test if\n\t\t\t\t\t\t// it's a list.\n\t\t\t\t\t\t\n\t\t\t\t\t\t//Test List<?>\n\t\t\t\t\t\tList<?> testList;\n\t\t\t\t\t\t// This is the value we'll test.\n\t\t\t\t\t\tObject valueOfKey = filterGroup.get(testString);\n\t\t\t\t\t\tif (valueOfKey instanceof List<?>){\n\t\t\t\t\t\t\t// It's a list! Parse it to testList.\n\t\t\t\t\t\t\ttestList = (List<?>)valueOfKey;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// It's not a list. Continue iterating keys.\n\t\t\t\t\t\t\tcontinue keys;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t// We'll add values to this list, once we've found some validated ones. This array is specific to this filter.\n\t\t\t\t\t\tList<String> values = new ArrayList<String>();\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Great, now we've found out that the original list looks like this:\n\t\t\t\t\t\t// List<Map<String, List<?>>>\n\t\t\t\t\t\t// See? Only that last question mark to go.\n\t\t\t\t\t\tvalues:\n\t\t\t\t\t\t\t// Iterate the values of testList (which is the List<?>) \n\t\t\t\t\t\t\tfor (Object value: testList){\n\t\t\t\t\t\t\t\t// Test String\n\t\t\t\t\t\t\t\tString valueTestString;\n\t\t\t\t\t\t\t\tif (value instanceof String){\n\t\t\t\t\t\t\t\t\t// Yay it's a String! Let's parse it.\n\t\t\t\t\t\t\t\t\tvalueTestString = (String) value;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t// It's not a String. Keep iterating values!\n\t\t\t\t\t\t\t\t\tcontinue values;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// Now we've got a value of a filter of a filtergroup. Let's add the value to values, so we can keep looking for valid values.\n\t\t\t\t\t\t\t\tvalues.add(valueTestString);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Great! We've got a filter name and some values. Let's try and mix them up.\n\t\t\t\t\t\t// Let's check if there is a filter with this name.\n\t\t\t\t\t\tif (filters.keySet().contains(testString)){\n\t\t\t\t\t\t\t// It's an existing filter.\n\t\t\t\t\t\t\tClass<?> filterClass = filters.get(testString);\n\t\t\t\t\t\t\tFilter filter;\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tfilter = (Filter)filterClass.newInstance();\n\t\t\t\t\t\t\t} catch (Exception e){\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t\tcontinue keys;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (filter instanceof FilterWithArgs){\n\t\t\t\t\t\t\t\tfilter.setValues(values);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tfiltersInFiltergroup.add(filter);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\ttoReturn.add(filtersInFiltergroup);\n\t\t\t}\n\t\treturn toReturn;\n\t\t\n//\t\tfiltergroups:\n//\t\tfor (Object o: list){\n//\t\t\t// Get list\n//\t\t\tList<?> listValue = null;\n//\t\t\tif (o instanceof List<?>){\n//\t\t\t\tlistValue = (List<?>)o;\n//\t\t\t} else {\n//\t\t\t\tcontinue filtergroups;\n//\t\t\t}\n//\t\t\tfiltergroup:\n//\t\t\tfor (Object oo: listValue){\n//\t\t\t\tList<Filter> filterGroup = new ArrayList<Filter>();\n//\t\t\t\tList<?> iiListValue = null;\n//\t\t\t\tif (oo instanceof List<?>){\n//\t\t\t\t\tiiListValue = (List<?>)oo;\n//\t\t\t\t} else {\n//\t\t\t\t\tcontinue filtergroup;\n//\t\t\t\t}\n//\t\t\t\tfiltersInGroup:\n//\t\t\t\tfor (Object ooo: iiListValue){\n//\t\t\t\t\tMap<?, ?> mapValue = null;\n//\t\t\t\t\tif (oo instanceof Map<?,?>){\n//\t\t\t\t\t\tmapValue = (Map<?,?>)ooo;\n//\t\t\t\t\t} else {\n//\t\t\t\t\t\tcontinue filtersInGroup;\n//\t\t\t\t\t}\n//\t\t\t\t\tfiltername:\n//\t\t\t\t\tfor (Object key: mapValue.keySet()){\n//\t\t\t\t\t\tString stringValue = null;\n//\t\t\t\t\t\tif (key instanceof String){\n//\t\t\t\t\t\t\tstringValue = (String)key;\n//\t\t\t\t\t\t} else {\n//\t\t\t\t\t\t\tcontinue filtername;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\tList<?> listInMap = null;\n//\t\t\t\t\t\tif (mapValue.get(stringValue) instanceof List<?>){\n//\t\t\t\t\t\t\tlistInMap = (List<?>)listInMap;\n//\t\t\t\t\t\t} else {\n//\t\t\t\t\t\t\tcontinue filtername;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\tList<String> filterValues = new ArrayList<String>();\n//\t\t\t\t\t\tClass<?> filterClass = filters.get(stringValue);\n//\t\t\t\t\t\tFilter filter;\n//\t\t\t\t\t\ttry {\n//\t\t\t\t\t\t\tfilter = (Filter)filterClass.newInstance();\n//\t\t\t\t\t\t} catch (Exception e){\n//\t\t\t\t\t\t\te.printStackTrace();\n//\t\t\t\t\t\t\tcontinue filtersInGroup;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\t\n//\t\t\t\t\t\tif (filter instanceof FilterWithoutArgs){\n//\t\t\t\t\t\t\tfilterGroup.add(filter);\n//\t\t\t\t\t\t} else if (filter instanceof FilterWithArgs){\n//\t\t\t\t\t\t\tfiltervalues:\n//\t\t\t\t\t\t\tfor (Object listInKey: listInMap){\n//\t\t\t\t\t\t\t\tif (listInKey instanceof String){\n//\t\t\t\t\t\t\t\t\tfilterValues.add((String)listInKey);\n//\t\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\tfilterGroup.add(filter);\n//\t\t\t\t\t\t}\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t\ttoReturn.add(filterGroup);\n//\t\t\t}\n//\t\t}\n\t}", "title": "" }, { "docid": "91c96cbdcf3b9b1774e64d612057aa14", "score": "0.43107775", "text": "private void setYUVFiltersButtons() {\n\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\tc.gridx = 0;\n\t\tc.gridy = 2;\n\t\tfilterYUV = new JLabel(\"YUV: \");\n\t\tpanelOptions.add(filterYUV, c);\n\n\t\tc.gridx = 1;\n\t\tc.gridy = 2;\n\t\tbuttonYUVRed = new JRadioButton(\"Red\");\n\t\tbuttonYUVRed.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonYUVRed, c);\n\n\t\tc.gridx = 2;\n\t\tc.gridy = 2;\n\t\tbuttonYUVYellow = new JRadioButton(\"Yellow\");\n\t\tbuttonYUVYellow.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonYUVYellow, c);\n\n\t\tc.gridx = 3;\n\t\tc.gridy = 2;\n\t\tbuttonYUVGreen = new JRadioButton(\"Green\");\n\t\tbuttonYUVGreen.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonYUVGreen, c);\n\n\t}", "title": "" }, { "docid": "6402e79f49869676743421d419414a3f", "score": "0.4304308", "text": "protected void addInfoFields(Object... infoFilters) {\n\t\tArrayList<InfoFlagFilter> flagFilters = new ArrayList<InfoFlagFilter>();\n\t\tArrayList<InfoNumberFilter> numFilters = new ArrayList<InfoNumberFilter>();\n\t\tArrayList<InfoStringFilter> strFilters = new ArrayList<InfoStringFilter>();\n\t\t\n\t\tfor(int i = 0; i < infoFilters.length; i++) {\n\t\t\tObject filter = infoFilters[i];\n\t\t\tif( filter instanceof InfoFlagFilter )\n\t\t\t\tflagFilters.add((InfoFlagFilter)(filter));\n\t\t\telse if( filter instanceof InfoNumberFilter )\n\t\t\t\tnumFilters.add((InfoNumberFilter)(filter));\n\t\t\telse if( filter instanceof InfoStringFilter )\n\t\t\t\tstrFilters.add((InfoStringFilter)(filter));\n\t\t}\n\t\t\n\t\tmQuery.setInfoFlagFilters(flagFilters);\n\t\tmQuery.setInfoNumberFilters(numFilters);\n\t\tmQuery.setInfoStringFilters(strFilters);\n\t\t\n\t\t// Use the 2nd VCF file since that contains the INFO fields\n\t\tmQuery.setWorkspace(sWorkspaceKey2);\n\t}", "title": "" }, { "docid": "cbaa9d1d27006ab3583d32123e98bd65", "score": "0.43035442", "text": "public CompositeFilter(TestFilter... filters) {\n if (filters == null) {\n throw new NullPointerException();\n }\n this.filters = filters;\n }", "title": "" }, { "docid": "8c59a0652bb095bf9cdfbd92b1aaeb1e", "score": "0.43000302", "text": "private void applyFilters() {\n CVTEvents.getCVTEventBus().post(new CVTEvents.FilterChangeEvent(getFilter()));\n needsRefresh = false;\n validateFilters();\n }", "title": "" }, { "docid": "02fe749e64a3aa8951f8355cf5da8948", "score": "0.42997146", "text": "private void createImageSizeEntries(final String generalCategory) {\n\t\tif(isShowImageSizeEntry()) {\n\t\t\tfinal JSlider reduceValue = new JSlider(JSlider.HORIZONTAL, 10, 100, 100);\n\t\t\treduceValue.setMajorTickSpacing(10);\n\t\t\treduceValue.setMinorTickSpacing(5);\n\t\t\treduceValue.setPaintTicks(true);\n\t\t\treduceValue.setPaintLabels(true);\n\t\t\treduceValue.setSnapToTicks(true);\n\t\t\treduceValue.setMinimumSize(new Dimension(220, 45));\n\t\t\tString reduceImageQualityLabel = Bundle.getString(\"ConverterPreferenceView.pref.reduceImageQuality\");\n\t\t\tPreferenceEntry reduceImageQualityItem = new PreferenceEntry(REDUCE_IMAGE_SIZE_PREFERENCE_NAME, reduceImageQualityLabel, reduceValue, generalCategory);\n\t\t\taddPreferenceEntry(reduceImageQualityItem);\n\t\t}\n\t}", "title": "" }, { "docid": "7bb88fc57515983b33a292868c4874ab", "score": "0.42949477", "text": "public void applyFilters() {\n\t\tfor(ClfFilter f : filters)\n\t\t\tf.filter(clf);\n\t}", "title": "" }, { "docid": "b57d18f05c7640fa6f333914328f27ae", "score": "0.4281454", "text": "public void UnfiltFilt(int n) {\n if (n==0) {\n //have FFT use filtered data -- default\n isFFTFiltered = true;\n } else {\n //have FFT use unfiltered data\n isFFTFiltered = false;\n }\n closeAllDropdowns();\n}", "title": "" }, { "docid": "c004342606ce60c99ff2c6f3e0156752", "score": "0.42758647", "text": "private void createTerrainMasks(){\n /* For each type of terrain */\n for(int i = 0; i < terrainMasks.length; i++){\n /* Get the terrain image which will be turned into the mask */\n BufferedImage originalImg = images[i];\n\n /* For each type of mask */\n for(int j = 0; j < terrainMasks[0].length; j++){\n /* Get the black and white image that will be used to create the mask */\n BufferedImage mask = maskImages[j];\n\n /* Create the mask */\n BufferedImage maskImg = new BufferedImage(originalImg.getWidth(), originalImg.getHeight(), BufferedImage.TYPE_INT_ARGB);\n for(int pixel_i = 0; pixel_i < originalImg.getWidth(); pixel_i++){\n for(int pixel_j = 0; pixel_j < originalImg.getHeight(); pixel_j++){\n /* Get colors of mask image and mask itself */\n int color = originalImg.getRGB(pixel_i, pixel_j);\n int maskColor = mask.getRGB(pixel_i, pixel_j);\n\n /* Extract the pieces of the color */\n int alpha = ((maskColor & 0xFF000000) >> 24);\n int intensity = 255 - ((maskColor & 0x00FF0000) >> 16); \n int red = ((color & 0x00FF0000) >> 16); \n int green = ((color & 0x0000FF00) >> 8);\n int blue = ((color & 0x000000FF) >> 0); \n\n /* Black means that the alpha is high, white means the alpha is low */\n int newColor = (intensity << 24) | (red << 16) | (green << 8) | blue;\n\n maskImg.setRGB(pixel_i, pixel_j, alpha == 0 ? color : newColor);\n }\n }\n\n /* Store resulting mask in the mask array */\n terrainMasks[i][j] = maskImg;\n scaledTerrainMasks[i][j] = maskImg;\n }\n }\n\n\n /* Black masks */\n BufferedImage originalImg = blackImage;\n\n /* For each type of mask */\n for(int j = 0; j < terrainMasks[0].length; j++){\n /* Get the black and white image that will be used to create the mask */\n BufferedImage mask = maskImages[j];\n\n /* Create the mask */\n BufferedImage maskImg = new BufferedImage(originalImg.getWidth(), originalImg.getHeight(), BufferedImage.TYPE_INT_ARGB);\n for(int pixel_i = 0; pixel_i < originalImg.getWidth(); pixel_i++){\n for(int pixel_j = 0; pixel_j < originalImg.getHeight(); pixel_j++){\n /* Get colors of mask image and mask itself */\n int color = originalImg.getRGB(pixel_i, pixel_j);\n int maskColor = mask.getRGB(pixel_i, pixel_j);\n\n /* Extract the pieces of the color */\n int alpha = ((maskColor & 0xFF000000) >> 24);\n int intensity = 255 - ((maskColor & 0x00FF0000) >> 16); \n int red = ((color & 0x00FF0000) >> 16); \n int green = ((color & 0x0000FF00) >> 8);\n int blue = ((color & 0x000000FF) >> 0); \n\n /* Black means that the alpha is high, white means the alpha is low */\n int newColor = (intensity << 24) | (red << 16) | (green << 8) | blue;\n\n maskImg.setRGB(pixel_i, pixel_j, alpha == 0 ? color : newColor);\n }\n }\n\n /* Store resulting mask in the mask array */\n blackMasks[j] = maskImg;\n scaledBlackMasks[j] = maskImg;\n }\n }", "title": "" }, { "docid": "0091d5cd6af55107a3f14645e327e36b", "score": "0.42669353", "text": "public WindowFilter() {}", "title": "" }, { "docid": "33abb98e020e63191d3e4857f54f5582", "score": "0.42616853", "text": "public void setFilters(String filters) {\n this.filters = filters;\n }", "title": "" }, { "docid": "d3aea4b636cbfffed606a9c6b4b7bd1c", "score": "0.4261615", "text": "Filter createFilter();", "title": "" }, { "docid": "06da61561a6ed7003fba4e7fadeaaca9", "score": "0.42565975", "text": "List<PipelineFilterWithData> getFilters();", "title": "" }, { "docid": "77904591611ffa39dc24aceb4d4e1e3c", "score": "0.4251688", "text": "public double [][][][] calculateGridFlatField(\n \t\tint serNumber,\n \t\tdouble [][] sensorMasks,\n \t\tdouble minContrast,\n \t\tdouble threshold,\n \t\tboolean interpolate,\n \t\tdouble maskThresholdOcclusion,\n \t\tint expandOcclusion,\n \t\tdouble fadeOcclusion,\n \t\tboolean ignoreSensorFlatField){\n // TODO: add standard weight function used elsethere.\n \tint indexContrast=2;\n // \tint indexRGB=3;\n \tboolean [] selectedImages=fittingStrategy.selectedImages(serNumber); // negative series number OK - will select all enabled\n \tint gridHeight=this.patternParameters.gridGeometry.length;\n \tint gridWidth=this.patternParameters.gridGeometry[0].length;\n \t// was not here\n\t\tthis.pixelCorrectionDecimation=fittingStrategy.distortionCalibrationData.eyesisCameraParameters.decimateMasks;\n\t\tthis.pixelCorrectionWidth= fittingStrategy.distortionCalibrationData.eyesisCameraParameters.sensorWidth;\n\t\tthis.pixelCorrectionHeight= fittingStrategy.distortionCalibrationData.eyesisCameraParameters.sensorHeight;\n\n//\t\tint sensorCorrWidth= (this.pixelCorrectionWidth-1)/this.pixelCorrectionDecimation+1;\n \tint maxChannel=0;\n// \tint numVierws= this.patternParameters.getNumViews();\n \tint numStations=this.patternParameters.getNumStations();\n \tfor (int numImg=0;numImg<fittingStrategy.distortionCalibrationData.gIP.length;numImg++) if (selectedImages[numImg]){\n \t\tif (fittingStrategy.distortionCalibrationData.gIP[numImg].channel>maxChannel) maxChannel=fittingStrategy.distortionCalibrationData.gIP[numImg].channel;\n \t}\n\n \tdouble [][][][] sensorGrids=new double [numStations][maxChannel+1][][]; //{alpha, red,green, blue}\n \tfor (int ns=0;ns<sensorGrids.length;ns++) for (int n=0;n<sensorGrids[ns].length;n++) sensorGrids[ns][n]=null;\n \t// For each sensor separately accumulate grid intensity using current sensor flat field calibration\n \tfor (int numImg=0;numImg<fittingStrategy.distortionCalibrationData.gIP.length;numImg++) if (selectedImages[numImg]) {\n \t\tint channel=fittingStrategy.distortionCalibrationData.gIP[numImg].channel;\n \t\tint station=fittingStrategy.distortionCalibrationData.gIP[numImg].getStationNumber();\n \t\tif (sensorMasks[channel]==null) continue;\n \t\tif (sensorGrids[station][channel]==null){ // null pointer\n \t\t\tsensorGrids[station][channel]=new double [4][gridHeight*gridWidth]; //{alpha, red,green, blue}\n \t\t\tfor (int c=0;c<sensorGrids[station][channel].length;c++){\n \t\t\t\tfor (int i=0;i<sensorGrids[station][channel][0].length;i++) sensorGrids[station][channel][c][i]=0.0;\n \t\t\t}\n \t\t}\n \t\tdouble [][] pixelsXY=fittingStrategy.distortionCalibrationData.gIP[numImg].pixelsXY;\n \t\tif ((pixelsXY.length<1) || (pixelsXY[0].length<6)){\n \t\t\tif (this.debugLevel>0) System.out.println(\"No flat-field data in image #\"+numImg+\n \t\t\t\t\t\" - \"+fittingStrategy.distortionCalibrationData.gIP[numImg].path+\n \t\t\t\t\t\" pixelsXY.length=\"+pixelsXY.length+\n \t\t\t\t\t\" pixelsXY[0].length=\"+((pixelsXY.length==0)?\"nan\": pixelsXY[0].length));\n \t\t\tcontinue;\n \t\t}\n \t\tint [][] pixelsUV=fittingStrategy.distortionCalibrationData.gIP[numImg].pixelsUV;\n \t\tdouble [] defaultVector={0.0, 0.0, 0.0, 1.0, 1.0, 1.0};\n // \t\tdouble [] sensorMask=sensorMasks[channel];\n \t\t// detect if there is any occlusion (i.e. by goniometer rollers)\n// \t\tdouble [] green=new double [pixelsXY.length];\n \t\tboolean [] bMask=new boolean [gridHeight*gridWidth];\n \t\tdouble [] mask=new double[bMask.length];\n \t\tfor (int i=0;i<bMask.length;i++){\n \t\t\tbMask[i]=false;\n \t\t\tmask[i]=0.0;\n \t\t}\n \t\tfor (int i=0;i<pixelsXY.length;i++){\n \t\t\tdouble [] xyzmrgb=patternParameters.getXYZM(\n \t\t\t\t\tpixelsUV[i][0], \n \t\t\t\t\tpixelsUV[i][1],\n \t\t\t\t\tfalse,\n \t\t\t\t\tstation);\n \t\t\tif (xyzmrgb!=null){\n \t \t\t\tint index=patternParameters.getGridIndex(pixelsUV[i][0], pixelsUV[i][1]);\n \t \t\t\tbMask[index]=(pixelsXY[i][indexContrast]>=minContrast);\n \t \t\t\tmask[index]=interpolateMask (\n \t\t\t\t\tsensorMasks[channel],\n \t\t\t\t\tpixelsXY[i][0], \n \t\t\t\t\tpixelsXY[i][1]);\n \t\t\t}\n \t\t}\n \t\tboolean [] occlusionMask=new boolean[bMask.length];\n \t\tfor (int i=0;i<occlusionMask.length;i++){\n \t\t\tocclusionMask[i]=false;\n \t\t}\n \t\tboolean occlusion=false;\n \t\tfor (int i=1;i<(gridHeight-1);i++){\n \t\t\tfor (int j=1;j<(gridWidth-1);j++){\n \t\t\t\tint index=i*gridWidth+j;\n \t\t\t\tif (bMask[index]){\n \t\t\t\t\tif (( !bMask[(i-1)*gridWidth+j] ||\n \t\t\t\t\t\t\t!bMask[(i+1)*gridWidth+j] ||\n \t\t\t\t\t\t\t!bMask[i* gridWidth+j-1] ||\n \t\t\t\t\t\t\t!bMask[i* gridWidth+j+1]) &&\n \t\t\t\t\t\t\t(mask[index]>=maskThresholdOcclusion)\n \t\t\t\t\t){\n \t\t\t\t\t\tocclusionMask[index]=true;\n \t\t\t\t\t\tocclusion=true;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tif (occlusion){\n \t\t\tfor (int n=0;n<expandOcclusion;n++){ // expand\n \t\t\t\tboolean [] bMaskPrevious=occlusionMask.clone();\n \t\t\t\tfor (int i=1;i<(gridHeight-1);i++){\n \t\t\t\t\tfor (int j=1;j<(gridWidth-1);j++){\t\n \t\t\t\t\t\tif (!occlusionMask[i*gridHeight+j]){\n \t\t\t\t\t\t\tif (\n \t\t\t\t\t\t\t\t\tbMaskPrevious[(i-1)*gridWidth+j] ||\n \t\t\t\t\t\t\t\t\tbMaskPrevious[(i+1)*gridWidth+j] ||\n \t\t\t\t\t\t\t\t\tbMaskPrevious[i* gridWidth+j-1] ||\n \t\t\t\t\t\t\t\t\tbMaskPrevious[i* gridWidth+j+1]){\n \t\t\t\t\t\t\t\tocclusionMask[i*gridWidth+j]=true;\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\tdouble [] maskNonOccluded=new double [occlusionMask.length];\n \t\tfor (int i=0;i<maskNonOccluded.length;i++) maskNonOccluded[i]=occlusionMask[i]?0.0:1.0;\n \t\tif (fadeOcclusion>0.0){\n \t\t\t(new DoubleGaussianBlur() ).blurDouble(\n \t\t\t\t\tmaskNonOccluded,\n \t\t\t\t\tgridWidth,\n \t\t\t\t\tgridHeight,\n \t\t\t\t\tfadeOcclusion,\n \t\t\t\t\tfadeOcclusion,\n \t\t\t\t\t0.01);\n \t\t}\n \t\tif (fadeOcclusion>=0.0 )for (int i=0;i<mask.length;i++){\n \t\t\t\tdouble d=2.0*(maskNonOccluded[i]-0.5);\n \t\t\t\tmask[i]*=(!occlusionMask[i] && (d>0))?(d*d):0.0;\n \t\t\t}\n \t\t}\n \t\tfor (int i=0;i<pixelsXY.length;i++){\n \t\t\tdouble [] xyzmrgb=patternParameters.getXYZM(\n \t\t\t\t\tpixelsUV[i][0], \n \t\t\t\t\tpixelsUV[i][1],\n \t\t\t\t\tfalse,\n \t\t\t\t\tstation);\n \t\t\tif (xyzmrgb==null) continue; // out of grid\n \t\t\tdouble [] vector=ignoreSensorFlatField?defaultVector:\n \t\t\t\t((interpolate)?\n \t\t\t\t\tinterpolateCorrectionVector (\n \t\t\t\t\t\t\tchannel,\n \t\t\t\t\t\t\tpixelsXY[i][0], \n \t\t\t\t\t\t\tpixelsXY[i][1]):\n \t\t\t\t\t\tgetCorrectionVector (\n \t\t\t\t\t\t\t\tchannel,\n \t\t\t\t\t\t\t\tpixelsXY[i][0], \n \t\t\t\t\t\t\t\tpixelsXY[i][1]))\t;\n \t\t\tint index=patternParameters.getGridIndex(pixelsUV[i][0], pixelsUV[i][1]);\n \t\t\tdouble weight=mask[index];\n \t\t\t\n \t\t\tsensorGrids[station][channel][0][index]+=weight;\n \t\t\tfor (int c=0;c<3;c++)if (vector[c+3]>0.0){\n \t\t\t\tsensorGrids[station][channel][c+1][index]+=weight*pixelsXY[i][c+3]/vector[c+3];\n \t\t\t}\n \t\t}\n \t}\n \tfor (int station=0;station<sensorGrids.length;station++){\n \t\tfor (int channel=0;channel<sensorGrids[station].length; channel++) if (sensorGrids[station][channel]!=null){\n \t\t\tif (this.pixelCorrection[channel]==null) {\n \t\t\t\tsensorGrids[station][channel]=null;\n \t\t\t} else {\n \t\t\t\tfor (int i=0;i<sensorGrids[station][channel][0].length;i++){\n \t\t\t\t\tif (sensorGrids[station][channel][0][i]<threshold) {\n \t\t\t\t\t\tfor (int j=0;j<sensorGrids[station][channel].length;j++) sensorGrids[station][channel][j][i]=0.0;\n \t\t\t\t\t} else {\n \t\t\t\t\t\tfor (int j=1;j<sensorGrids[station][channel].length;j++) sensorGrids[station][channel][j][i]/=sensorGrids[station][channel][0][i];\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t}\n \treturn sensorGrids;\n }", "title": "" }, { "docid": "9ab5ae96a1e5872c2966a6b4fde31c18", "score": "0.42507643", "text": "private static <T, Q extends FullQueryBuilder<T, Q>> void applyViewFilters(EntityViewSetting<?, ?> setting, EntityViewManagerImpl evm, Q cb, ManagedViewTypeImplementor<?> viewType) {\n for (String filterName : setting.getViewFilters()) {\n ViewFilterMapping filterMapping = ((ViewType<?>) viewType).getViewFilter(filterName);\n\n if (filterMapping == null) {\n throw new IllegalArgumentException(\"Could not find view filter mapping with the name '\" + filterName\n + \"' in the entity view type '\" + viewType.getJavaType()\n .getName() + \"'\");\n }\n\n // TODO: allow parameter injection\n ViewFilterProvider provider = evm.createViewFilter(filterMapping.getFilterClass());\n provider.apply(cb);\n }\n }", "title": "" }, { "docid": "25873afb971e26a6f7747074288a621a", "score": "0.4222438", "text": "private static ArrayImg< FloatType, FloatArray > createLargeRectangularImage() {\n\t\tArrayImg< FloatType, FloatArray > img = ArrayImgs.floats( 1024, 512 );\n\t\tfor ( int i = 0; i < 3; i++ ) {\n\t\t\tlong[] xmin = new long[] { 199 + i * 200, 0 };\n\t\t\tlong[] xmax = new long[] { 299 + i * 200, 511 };\n\t\t\tIntervalView< FloatType > iview = Views.interval( img, xmin, xmax );\n\t\t\tiview.forEach( pixel -> pixel.set( ( int ) 255 ) );\n\t\t}\n\t\treturn img;\n\t}", "title": "" }, { "docid": "eb77dbe2cae85b1eac9beb85c376d52a", "score": "0.4218496", "text": "public static List<Model> createMaximizedModels(List<Double> samples, int modelSize) {\n\n List<Model> models = new ArrayList<Model>();\n for (int i = 2; i <= modelSize; i++) {\n Model model = createMaximizedModel(samples, i);\n models.add(model);\n }\n\n return models;\n }", "title": "" }, { "docid": "abbdb3ad668a81a84121bd6a03c99518", "score": "0.4212109", "text": "private void setHSVFiltersButtons() {\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\t// HSV\n\t\tc.gridx = 0;\n\t\tc.gridy = 1;\n\t\tfilterHSV = new JLabel(\"HSV: \");\n\t\tpanelOptions.add(filterHSV, c);\n\n\t\tc.gridx = 1;\n\t\tc.gridy = 1;\n\t\tbuttonHSVRed = new JRadioButton(\"Red\");\n\t\tbuttonHSVRed.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonHSVRed, c);\n\n\t\tc.gridx = 2;\n\t\tc.gridy = 1;\n\t\tbuttonHSVYellow = new JRadioButton(\"Yellow\");\n\t\tbuttonHSVYellow.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonHSVYellow, c);\n\n\t\tc.gridx = 3;\n\t\tc.gridy = 1;\n\t\tbuttonHSVGreen = new JRadioButton(\"Green\");\n\t\tbuttonHSVGreen.addActionListener(new ActionApplyFilter());\n\t\tpanelOptions.add(buttonHSVGreen, c);\n\n\t}", "title": "" }, { "docid": "ffcb1d1b5fa9d69a4014113713ae12bb", "score": "0.42021406", "text": "public interface TIPLFilter {\n double meanV=0.0;\n double callT=0;\n /** whether or not the group should be accepted based on a boolean */\n\t\tboolean accept(boolean voxCount);\n /** whether or not the group should be accepted based on voxel-count */\n\t\tboolean accept(int voxCount);\n\t\t/** whether or not a voxel/group should be accepted based on a float value */\n\t\tboolean accept(float value);\n\t\t/** wheter or not a group should be accepted based on a label number (for sorted lists) or voxel count */\n\t\tboolean accept(int labelNumber, int voxCount);\n\t\t/** A three metric acceptance criteria */\n\t\tboolean accept(int labelNumber, int voxCount,int thirdMetric);\n\t}", "title": "" }, { "docid": "19645b06112efed1890e203a40ebf29b", "score": "0.42005727", "text": "public List<MetricDTO> getMetricsData(String filterType, String filterParam);", "title": "" }, { "docid": "1cc1425e445ea7c8499f8be11f464c7d", "score": "0.4194522", "text": "public FilterType fromValue(int i) {\n return FilterType.fromValue(i);\n }", "title": "" }, { "docid": "3dbbbf186ee5ed76260ae04a3fa962cf", "score": "0.4191524", "text": "public LevelsFilter(@NonNull float[] min, @NonNull float[] mid, @NonNull float[] max, @NonNull float[] minOutput, @NonNull float[] maxOutput, @NonNull PointF size, @NonNull PointF position, float rotation) {\n super(DEFAULT_VERTEX_SHADER, FRAGMENT_SHADER, size, position, rotation);\n\n this.min = min;\n this.mid = mid;\n this.max = max;\n this.minOutput = minOutput;\n this.maxOutput = maxOutput;\n }", "title": "" }, { "docid": "e7e8c1f03ba927fa3b0f33361a319126", "score": "0.41869143", "text": "public BufferedImage applyFilter() {\n\t\t\t int[][] sx = {{-1,0,1},{-1,0,1},{-1,0,1}};\n\t\t\t int[][] sy = {{-1,-1,-1},{0,0,0},{1,1,1}};\n\t\t\t \n\t\t\t // a sobel template 2D array for calculation\n\t\t\t int[][] sob;\n\t\t\t \n\t\t // get image width and height\n\t\t int width = image.getWidth();\n\t\t int height = image.getHeight();\n\t\t \n\t\t \n\t\t BufferedImage imgNueva = new BufferedImage(width+2, height+2, image.getType());\n\t\t Graphics gImage = imgNueva.getGraphics();\n\t\t gImage.drawImage(image,1,1,width,height,null);\n\t\t \n\t\t width++;\n\t\t height++;\n\t\t \n\t\t sob = new int[width][height];\n\t\t for (int y = 0; y < height; y++) {\n\t\t for (int x = 0; x < width; x++) {\n\t\t int pixel = imgNueva.getRGB(x, y);\n\t\t int r = (pixel >> 16) & 0xff;\n\t\t int g = (pixel >> 8) & 0xff;\n\t\t int b = pixel & 0xff;\n\t\t \n\t\t // calculate average\n\t\t int avg = (r+g+b)/3;\n\t\t \n\t\t sob[x][y] = avg;\n\t\t // replace RGB value with average\n\t\t pixel = (avg << 24) | (avg << 16) | (avg << 8) | avg;\n\t\t imgNueva.setRGB(x, y, pixel);\n\t\t }\n\t\t }\n\t\t \n\t\t // sobel calculation\n\t\t for (int y = 1; y < height-1; y++) {\n\t\t for (int x = 1; x < width-1; x++) {\n\t\t int px = (sx[0][0] * sob[x-1][y-1]) + (sx[0][1] * sob[x][y-1]) +\n\t\t (sx[0][2] * sob[x+1][y-1]) + (sx[1][0] * sob[x-1][y]) + \n\t\t (sx[1][1] * sob[x][y]) + (sx[1][2] * sob[x+1][y]) + \n\t\t (sx[2][0] * sob[x-1][y+1]) + (sx[2][1] * sob[x][y+1]) + \n\t\t (sx[2][2] * sob[x+1][y+1]);\n\t\t \n\t\t int py = (sy[0][0] * sob[x-1][y-1]) + (sy[0][1] * sob[x][y-1]) +\n\t\t (sy[0][2] * sob[x+1][y-1]) + (sy[1][0] * sob[x-1][y]) + \n\t\t (sy[1][1] * sob[x][y]) + (sy[1][2] * sob[x+1][y]) + \n\t\t (sy[2][0] * sob[x-1][y+1]) + (sy[2][1] * sob[x][y+1]) + \n\t\t (sy[2][2] * sob[x+1][y+1]);\n\t\t \n\t\t int pixel = (int) Math.sqrt((px * px) + (py * py));\n\n\t\t if (pixel>255) {\n\t\t pixel = 255;\n\t\t } else if (pixel<0) {\n\t\t pixel = 0;\n\t\t }\n\t\t \n\t\t Color pix = new Color(pixel,pixel,pixel);\n\t\t imgNueva.setRGB(x, y, pix.getRGB());\n\t\t }\n\t\t } \n\t\t //Recorto la img\n\t\t imgNueva = imgNueva.getSubimage(2,2,width-3,height-3);\n\n\t\t return imgNueva;\n\t\t }", "title": "" }, { "docid": "066b98305a3bd548adc628f9acee6044", "score": "0.41802168", "text": "public void setFilters(String filters) {\n\t\tthis.filters = filters;\n\t}", "title": "" }, { "docid": "ac269dce3925f36df88ac8b9368b5709", "score": "0.41430736", "text": "private static Collection<Predicate<SAMRecord>> add(Collection<Predicate<SAMRecord>> filters, Predicate<SAMRecord> newFilter) {\n\t\tCollection<Predicate<SAMRecord>> rtrn = new ArrayList<Predicate<SAMRecord>>(filters);\n\t\trtrn.add(newFilter);\n\t\treturn rtrn;\n\t}", "title": "" }, { "docid": "2f63f4d5f0c42c1d9dfbeb69f540f9c1", "score": "0.41412535", "text": "public void addScaling(float min, float max);", "title": "" }, { "docid": "580e40ad9a0fe7d87bdbc83e5ce20e18", "score": "0.41378602", "text": "Integer getFilterCount();", "title": "" }, { "docid": "873af58b14105dd911af426a6629f8ea", "score": "0.4125436", "text": "public void setFilterShader(int type) {\n mFilterType = type;\n }", "title": "" }, { "docid": "8c1435a0443628e0426e7dbeaebd49f9", "score": "0.41194347", "text": "public float scaleIntensityData(float rawData, int mid, int gid, int sampleNbr);", "title": "" }, { "docid": "1aab421d4439bbc1cd3b110cd7863c97", "score": "0.41134745", "text": "public void Smoothing(int n) {\n smoothFac_ind = n;\n closeAllDropdowns();\n}", "title": "" }, { "docid": "ff16bc3ef4e7ea5c85df5058ab52daeb", "score": "0.41111818", "text": "private void initDataGroups() {\n\tGraph g = new Graph();\n\tfor ( int i=0; i<3; ++i ) {\n\t Node n1 = g.addNode();\n\t Node n2 = g.addNode();\n\t Node n3 = g.addNode();\n\t g.addEdge(n1, n2);\n\t g.addEdge(n1, n3);\n\t g.addEdge(n2, n3);\n\t}\n\tg.addEdge(0, 3);\n\tg.addEdge(3, 6);\n\tg.addEdge(6, 0);\n\n\t// add visual data groups\n\tVisualGraph vg = m_vis.addGraph(GRAPH, g);\n\tm_vis.setInteractive(EDGES, null, false);\n\tm_vis.setValue(NODES, null, VisualItem.SHAPE,\n\t\tnew Integer(Constants.SHAPE_ELLIPSE));\n\n\tAggregateTable at = m_vis.addAggregates(AGGR);\n\tat.addColumn(VisualItem.POLYGON, float[].class);\n\tat.addColumn(\"id\", int.class);\n\n\t// add nodes to aggregates\n\t// create an aggregate for each 3-clique of nodes\n\tIterator nodes = vg.nodes();\n\tfor ( int i=0; i<3; ++i ) {\n\t AggregateItem aitem = (AggregateItem)at.addItem();\n\t aitem.setInt(\"id\", i);\n\t for ( int j=0; j<3; ++j ) {\n\t\taitem.addItem((VisualItem)nodes.next());\n\t }\n\t}\n\n\tIterator edges = vg.edges();\n\tint n=0;\n\twhile (edges.hasNext()) {\n\t EdgeItem ei = (EdgeItem) edges.next();\n\t if((n++)%2 == 0) {\n\t\tei.setVisible(false);\n\t }\n\t}\n }", "title": "" }, { "docid": "bbf36da8575aa6fc2c2f17b441b56a03", "score": "0.4105569", "text": "public void setFilters(String [] Filters) {\n this.Filters = Filters;\n }", "title": "" }, { "docid": "93ef19a298fcc680ff6eb994ad38f1c8", "score": "0.4100779", "text": "public void filterImage() {\n\n if (opIndex == lastOp) {\n return;\n }\n\n lastOp = opIndex;\n switch (opIndex) {\n case 0:\n biFiltered = bi; /* original */\n return;\n case 1:\n biFiltered = ImageNegative(bi); /* Image Negative */\n return;\n case 2:\n biFiltered = rescale(bi); // LAB 2\n return;\n case 3:\n biFiltered = randomScaling(bi); // LAB 2\n return;\n case 4:\n biFiltered = Addition(bi, lab3Img); // LAB 3\n return;\n case 5:\n biFiltered = Subtraction(bi, lab3Img); // LAB 3\n return;\n case 6:\n biFiltered = Multiplication(bi, lab3Img); // LAB 3\n return;\n case 7:\n biFiltered = Division(bi, lab3Img); // LAB 3\n return;\n case 8:\n biFiltered = Not(bi); // LAB 3\n return;\n case 9:\n biFiltered = And(bi, lab3Img); // LAB 3\n return;\n case 10:\n biFiltered = Or(bi, lab3Img); // LAB 3\n return;\n case 11:\n biFiltered = Xor(bi, lab3Img); // LAB 3\n return;\n case 12:\n biFiltered = Log(bi); // LAB 4\n return;\n case 13:\n biFiltered = Power(bi); // LAB 4\n return;\n case 14:\n biFiltered = RandomLookUp(bi); // LAB 4\n return;\n case 15:\n biFiltered = BitPlane(bi); // LAB 4\n return;\n case 16:\n biFiltered = Histogram(bi); // LAB 5\n return;\n case 17:\n biFiltered = Masks(bi); // Lab 6\n return;\n case 18:\n biFiltered = SaltAndPepper(bi); // LAB 7\n return;\n case 19:\n biFiltered = MinFilter(bi); // LAB 7\n return;\n case 20:\n biFiltered = MaxFilter(bi); // LAB 7\n return;\n case 21:\n biFiltered = MidPointFiltering(bi); // LAB 7\n return;\n case 22:\n biFiltered = MedianFiltering(bi); // LAB 7\n return;\n case 23:\n MeanAndSD(bi);\n return;\n case 24:\n biFiltered = Thresholding(bi);\n return;\n\n // ***********************************\n // case 2:\n // return;\n // ************************************\n\n }\n\n }", "title": "" }, { "docid": "cbe6e90cc4144fc105b6f2a4c93dac1b", "score": "0.40916663", "text": "int getFilter();", "title": "" }, { "docid": "359d101979eecd1514269ed6db055798", "score": "0.409102", "text": "public interface FilterManager {\n\n void processFilter(ActionRequest req, ActionResponse res, Portlet portlet, PortletContext portletContext) throws PortletException, IOException;\n void processFilter(HeaderRequest req, HeaderResponse res, HeaderPortlet portlet, PortletContext portletContext) throws PortletException, IOException;\n void processFilter(RenderRequest req, RenderResponse res, Portlet portlet, PortletContext portletContext) throws PortletException, IOException;\n void processFilter(ResourceRequest req, ResourceResponse res, ResourceServingPortlet resourceServingPortlet, PortletContext portletContext)throws PortletException, IOException;\n void processFilter(EventRequest req, EventResponse res, EventPortlet eventPortlet, PortletContext portletContext)throws PortletException, IOException;\n\n /**\n * To enable contextual support in filters\n */\n void setBeanManager(BeanManager bm);\n}", "title": "" }, { "docid": "dbca998f2a0ce40eb155d323da98e91c", "score": "0.40865535", "text": "@SuppressWarnings(\"rawtypes\")\n\tpublic static List<Map> getMultifiltering() {\t\n \tint array[] = {5,7,6,7};\n\t\tList<Object> params = new ArrayList<Object>();\n\t\tSystem.out.println(\"masuk query\");\n\t\tStringBuilder query = new StringBuilder();\t\t\n\t\tquery.append(\"SELECT sdmskill.SDMSKILL_ID, sdm.SDM_ID, sdm.SDM_NIK, sdm.SDM_NAME, skilltype.SKILLTYPE_NAME, skills.SKILL_NAME, sdmskill.SDMSKILL_VALUE \\r\\n\" + \n\t\t\t\t\"FROM sdmskill\\r\\n\" + \n\t\t\t\t\"INNER JOIN sdm ON sdm.SDM_ID = sdmskill.SDM_ID\\r\\n\" + \n\t\t\t\t\"INNER JOIN skills ON skills.SKILL_ID = sdmskill.SKILL_ID\\r\\n\" + \n\t\t\t\t\"INNER JOIN skilltype ON skilltype.SKILLTYPE_ID = sdmskill.SKILLTYPE_ID\\r\\n\" + \n\t\t\t\t\"WHERE skills.SKILL_ID = \"+array[0]+\" AND sdmskill.SDMSKILL_VALUE >= \"+array[1]+\"\");\n\t\tif (limit > 1) {\n\t\t\tfor(int inc = 1; inc < limit; inc++) {\n\t\t\t\tquery.append(\" OR skills.SKILL_ID = \"+array[inc+1]+\" AND sdmskill.SDMSKILL_VALUE >= \"+array[inc+2]+\"\");\n//\t\t\t\tparams.add(\"skills.SKILL_ID\");\n//\t\t\t\tparams.add(\"sdmskill.SDMSKILL_VALUE\");\n\t\t\t}\n\t\t\tquery.append(\" ORDER BY sdm.SDM_NAME\");\n\t\t}\n\t\tSystem.out.println(\"query : \"+query.toString());\n//\t\tparams.add(skillId);\n//\t\tparams.add(sdmskillValue);\n\t\tList<Map> lisdata = Base.findAll(query.toString(), params.toArray(new Object[params.size()]));\n\t\t\n\t\treturn lisdata;\n\t}", "title": "" }, { "docid": "6da8aa43ae184caa7e83cec6d176cfc5", "score": "0.4085578", "text": "public void calculateGridImageMasks(\n\t\t\tfinal double minContrast,\n\t\t\tfinal double shrinkBlurSigma,\n\t\t\tfinal double shrinkBlurLevel,\n\t\t\tfinal int threadsMax,\n\t\t\tfinal boolean updateStatus\n\t\t\t){\n\t\tfinal int numImg=fittingStrategy.distortionCalibrationData.getNumImages();\n\t\tfinal DistortionCalibrationData.GridImageParameters [] distortionCalibrationData=this.fittingStrategy.distortionCalibrationData.gIP;\n\t\tif (updateStatus) IJ.showStatus(\"Calculating grid image masks...\");\n\t\tSystem.out.print(\"Calculating grid image masks...\");\n\t\tSystem.out.print(\" minContrast=\"+minContrast+\" shrinkBlurSigma=\"+shrinkBlurSigma+\" shrinkBlurLevel=\"+shrinkBlurLevel);\n\n \t\tfinal AtomicInteger imageNumberAtomic = new AtomicInteger(0);\n \t\tfinal AtomicInteger imageFinishedAtomic = new AtomicInteger(0);\n \t\tfinal Thread[] threads = newThreadArray(threadsMax);\n \t\tfor (int ithread = 0; ithread < threads.length; ithread++) {\n \t\t\tthreads[ithread] = new Thread() {\n \t\t\t\tpublic void run() {\n \t\t\t\t\tfor (int imgNum=imageNumberAtomic.getAndIncrement(); imgNum<numImg;imgNum=imageNumberAtomic.getAndIncrement()){\n \t\t\t\t\t\tdistortionCalibrationData[imgNum].calculateMask(\n \t\t\t \t\t\tminContrast,\n \t\t\t \t\t\tshrinkBlurSigma,\n \t\t\t \t\t\tshrinkBlurLevel);\n\t\t\t\t\t\t\tfinal int numFinished=imageFinishedAtomic.getAndIncrement();\n \t\t\t\t\t\t\tSwingUtilities.invokeLater(new Runnable() {\n \t\t\t\t\t\t\t\tpublic void run() {\n \t\t\t\t\t\t\t\t\tif (updateStatus) IJ.showProgress(numFinished,numImg);\n \t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t});\n\n \t\t\t\t\t} // for (int numImage=imageNumberAtomic.getAndIncrement(); ...\n \t\t\t\t} // public void run() {\n \t\t\t};\n \t\t}\n \t\tstartAndJoin(threads);\n\t\tif (updateStatus) IJ.showProgress(0);\n\t\tif (updateStatus) IJ.showStatus(\"Calculating grid image masks... DONE\");\n\t\tSystem.out.println(\" Done\");\n\n\t}", "title": "" }, { "docid": "39d787f4ecb3b5e23b87640e88fe03a7", "score": "0.4078923", "text": "public FlexFilter() {}", "title": "" }, { "docid": "650119d4860f7eda9e256e9b8f742573", "score": "0.40742734", "text": "public void setNumBands(int numBands) {\n this.numBands = numBands;\n }", "title": "" }, { "docid": "33c222c9e9342b493d363d7f5d7f57ef", "score": "0.40608704", "text": "public void setTextureFilter(int textureFilter) {\n/* 319 */ bind();\n/* 320 */ GL.glTexParameteri(this.target, 10241, textureFilter);\n/* 321 */ GL.glTexParameteri(this.target, 10240, textureFilter);\n/* */ }", "title": "" }, { "docid": "4ecebc0dbbfeb934e28f40680b2b7533", "score": "0.40549582", "text": "boolean hasDimensionFilter();", "title": "" }, { "docid": "a79500f8b21f29afba7f4097d1e8f2b6", "score": "0.40546995", "text": "public void addFilterToOptypes(ViewerFilter filter);", "title": "" }, { "docid": "385b373804bd9d63240030f84e2b75e6", "score": "0.4051017", "text": "T filters(Map<String, String[]> filters, Map<String, FilterValuesStrategy> filterStrategies, QueryBuilder... customFilters);", "title": "" }, { "docid": "f7bb218e5148862fe97124a1dcf62d92", "score": "0.40472308", "text": "private void initWalls() {\n for ( Rectangle r : gameMap.walls ) {\n Filter w = new Filter();\n w.groupIndex = Global.WALL;\n w.maskBits = Global.ENEMY | Global.PLAYER | Global.LIGHT | Global.BULLET_LIVE;\n\n Body b = Box2DFactory.createStaticBody( physicsSystem, r );\n b.getFixtureList().first().setFilterData( w );\n b.setUserData( r );\n }\n }", "title": "" }, { "docid": "2e2cb91da24fe0908bdd98b6828f8349", "score": "0.40466624", "text": "@Test\r\n\tpublic void scaleWithVariancesTest() {\n\t\twienerFilter._tocomplex.launch(wienerFilter._stream, wienerFilter.toComplex);\r\n\r\n\t\t//apply complex to complex forward Fourier transform\r\n\t\tJCufft.cufftExecC2C(wienerFilter._planc2c, wienerFilter._d_comp.getDevicePointer(), wienerFilter._d_comp.getDevicePointer(), JCufft.CUFFT_FORWARD);\r\n\r\n\t\t//square the complex frequency values and store as real values\r\n\t\twienerFilter._computeSquaredMagnitudes.launch(wienerFilter._stream, wienerFilter.sqmag);\r\n\r\n\t\t//estimate local variances for four filter sizes, store minimum \r\n\t\twienerFilter._computeVarianceEstimates.launch(wienerFilter._stream, wienerFilter.varest);\r\n\r\n\t\t//compute global variance\r\n\t\twienerFilter._computeVarianceZeroMean.launch(wienerFilter._stream, wienerFilter.variancep);\r\n\r\n\t\t//copy GPU result to host memory\r\n\t\tfloat[] variance = new float[1];\r\n\t\twienerFilter._d_variance.copyDeviceToHost(variance, variance.length);\r\n\t\tfloat[] complex = new float[pixels.length*2];\r\n\t\twienerFilter._d_comp.copyDeviceToHost(complex, complex.length);\r\n\t\tfloat[] varianceEstimates = new float[pixels.length];\r\n\t\twienerFilter._d_varest.copyDeviceToHost(varianceEstimates, varianceEstimates.length);\r\n\t\t\r\n\t\t//scale the frequencies using global and local variance\r\n\t\twienerFilter._scaleWithVariances.launch(wienerFilter._stream, wienerFilter.scale);\r\n\t\t\r\n\t\t//scale the frequencies with the global and local variance\r\n\t\tfloat[] frequenciesScaled = WienerFilter.scaleWithVariances(wienerFilter.h, wienerFilter.w, complex, varianceEstimates, variance[0]);\r\n\t\t\r\n\t\t//copy GPU result to host memory\r\n\t\tfloat[] frequenciesScaledGPU = new float[pixels.length*2];\r\n\t\twienerFilter._d_comp.copyDeviceToHost(frequenciesScaledGPU, frequenciesScaledGPU.length);\r\n\t\t\r\n\t\t//compare CPU and GPU result\r\n\t\tboolean result = Util.compareArray(frequenciesScaled, frequenciesScaledGPU, 0.0001f);\r\n\t\tassertTrue(result);\t\r\n\t}", "title": "" }, { "docid": "a06d6dfc209c164a48fae085a9c16879", "score": "0.4043887", "text": "public void initializeFilters( Instances instances ) throws Exception\n {\n // Initialise the discrete filter.\n discreteFilter = new Discretize();\n //discreteFilter = new DiscretizeFilter();\n if ( (instances.classIndex() == -1) || (!instances.classAttribute().isNominal()) ) {\n //discreteFilter.setUseMDL(false);\n }\n else { \n discreteFilter.setUseBetterEncoding(true);\n } \n discreteFilter.setInputFormat(instances);\n \n // We need this to get the correct output input format into missingFilter\n Instances temp = weka.filters.Filter.useFilter( new Instances(instances), discreteFilter );\n \n \n // Initialise and run the missing value filter.\n missingFilter = new ReplaceMissingValues();\n //missingFilter = new ReplaceMissingValuesFilter();\n missingFilter.setInputFormat( temp );\n }", "title": "" }, { "docid": "a60b3db96ef428eb562fcf3fdf1c2541", "score": "0.40355086", "text": "public static void main(String[] args) {\n\t\tImagePlus originalImage = new ImagePlus(ImageHelper.FOLDER + ImageHelper.IMAGE_4);\n\t\tImagePlus mainImage = new ImagePlus(ImageHelper.FOLDER + ImageHelper.IMAGE_4);\n\t\tImageProcessor imageProcessor = mainImage.getProcessor();\n\n\t\t//Set variables\n\t\tint matrixSize = 11;\n\t\tint threshold = 90;\n\n\t\t//Cleanse Image with Mean Filter\n\t\tMeanFilter meanFilter= new MeanFilter();\n\t\tmeanFilter.setMeanFilterSize(matrixSize);\n\t\tmeanFilter.run(imageProcessor);\n\t\t//Process using threshold filter\n\t\tThresholdFilter thresholdFilter = new ThresholdFilter();\n\t\tthresholdFilter.setThreshold(threshold);\n\t\tthresholdFilter.run(imageProcessor);\n\n\t\t//Display filtered image\n\t\tmainImage.show();\n\t\toriginalImage.show();\n\t}", "title": "" }, { "docid": "490f78ce25b62593ac593a04e92b807b", "score": "0.40338358", "text": "protected void initSupportedIntensityMeasureParams() {\n\n\t\tsupportedIMParams.clear();\n\t\tIterator it = as_1997_attenRel.getSupportedIntensityMeasuresIterator();\n\t\twhile (it.hasNext()) {\n\t\t\tsupportedIMParams.addParameter( (AbstractParameter) it.next());\n\t\t}\n\t}", "title": "" }, { "docid": "cb0de2e11f5f60b7f3225518097c8aba", "score": "0.40326563", "text": "public CloudServers listWithCount(Map<String, String> filteringParams) {\n\t\tInvocation<CloudServers> serverInvocation = get(CloudServers.class, \"/cloudservers/detail\");\n\t\tif (filteringParams != null) {\n\t\t\tfor (Map.Entry<String, String> entry : filteringParams.entrySet()) {\n\t\t\t\tserverInvocation = serverInvocation.param(entry.getKey(), entry.getValue());\n\t\t\t}\n\t\t}\n\t\treturn serverInvocation.execute();\n\t}", "title": "" }, { "docid": "e97019a7b367d3b96cc067f4f6d42133", "score": "0.40317008", "text": "public RenderedImage create(ParameterBlock paramBlock,\n RenderingHints renderHints) {\n\n // Get ImageLayout from renderHints if any.\n ImageLayout layout = RIFUtil.getImageLayoutHint(renderHints);\n \n // Get TileCache from renderHints if any.\n TileCache cache = RIFUtil.getTileCacheHint(renderHints);\n\n // Get BorderExtender from renderHints if any.\n BorderExtender extender = RIFUtil.getBorderExtenderHint(renderHints);\n\n RenderedImage source = paramBlock.getRenderedSource(0);\n float xScale = paramBlock.getFloatParameter(0);\n float yScale = paramBlock.getFloatParameter(1);\n float xTrans = paramBlock.getFloatParameter(2);\n float yTrans = paramBlock.getFloatParameter(3);\n Interpolation interp = (Interpolation)paramBlock.getObjectParameter(4);\n\n\t// Check and see if we are scaling by 1.0 in both x and y and no\n // translations. If so call the copy operation.\n System.out.println(\"ScaleMultiresCRIF.create\"); \n if (source instanceof CollectionImage) {\n \t// ScaleMultiresOpImage(source, renderHints, layout);\n \t// ScaleMultiresOpImage(ParameterBlock paramBlock, RenderingHints renderHints);\n \t// do we have our own OpImage ?? or are we really going to still create on of the \n \t// ones below and extend it with some extra junk??\n \t// ourOpImage gets the ScaleOpImage from below to use adds the extra junk to handle when params change \n \t// selecting proper image to display and then setting the new scale param\n \tSystem.out.println(\"source instanceof CollectionImage\");\n \t\n }\n \n Map configuration = null; // what is this? should I make one, get it from somewhere?\n boolean cobbleSources = true;\n \n /**\n * public ScaleMultiresOpImage(RenderedImage source, Map configuration,\n boolean cobbleSources, ImageLayout layout,\n\t\t\tBorderExtender extender, Interpolation interp, float scaleX, float scaleY, \n\t\t\tfloat transX, float transY) {\n\t\t\t\n\t\t\t**/\n // tileCache - pass this too, constructor with the parameter block?\n multiresOpImage = new ScaleMultiresOpImage(source, configuration,\n cobbleSources, layout, extender, interp, xScale, yScale, xTrans, yTrans);\n \n // scaleOpRenderedImage = super.create(paramBlock, renderHints) ;\n \n // add our other things to this \n // keep track of current scale, level \n // is this a renderedIageList or not\n \n scaledRenderedImage = multiresOpImage.createScaledRendering(xScale, yScale,\n renderHints);\n \n // \n // all the rest we let the super do\n // we trap any updates do some magic and let the \"Real\" ScaleOp do the work\n \n // if we returned mutiresOpImage then all calls would go thru it??\n \n return scaledRenderedImage ;\n \n }", "title": "" }, { "docid": "6c886ff078b960f76e8f9b8c7476f0ed", "score": "0.40262333", "text": "@Override\n\tpublic AbstractFilter getInstanceMax() {\n\t\treturn filterMax;\n\t}", "title": "" }, { "docid": "eff6d637d1af91b87418d569908af2c1", "score": "0.40234053", "text": "public ArrayList<Rating> getSimilarRatingsByFilter(String id, int numSimilarRaters, int minimalRaters, Filter filterCriteria){\n ArrayList<Rating> similarRaters = getSimilarities(id);\n //System.out.println(\"Number of similar raters : \" + similarRaters.size());\n similarRaters = getSimilarRaters(similarRaters, numSimilarRaters);\n //System.out.println(\"Number of similar raters : \" + similarRaters.size());\n ArrayList<Rating> list = new ArrayList<Rating>();\n for(String movie_id : MovieDatabase.filterBy(filterCriteria)){\n if(countRaters(movie_id, similarRaters) >= minimalRaters){\n double average = getAverageRatings(movie_id, similarRaters);\n list.add(new Rating(movie_id, average));\n }\n }\n return list;\n }", "title": "" }, { "docid": "8f5a528e546a6bd26ba289b3eabb2da5", "score": "0.40229523", "text": "private void createIndexLists() {\n\t\tint domainSize = this.domain.size();\n\t\tfor (int i = 0, length = (int) Math.pow(2, domainSize); i < length; i++) {\n\n\t\t\t// prodji svim vrijednostima maske i postavi trenutne varijable na\n\t\t\t// vrijednosti koje\n\t\t\t// su u maski\n\t\t\tMask maska = Mask.fromIndex(domainSize, i);\n\t\t\tfor (int j = 0; j < domainSize; j++) {\n\t\t\t\tthis.domain.get(j).setValue(\n\t\t\t\t\t\tMaskValueToVariableValue(maska.getValue(j)));\n\t\t\t}\n\n\t\t\t// za postavljenu vrijednost varijabli procitaj vrijednost funkcije\n\t\t\t// i ubaci index u neku od listi\n\t\t\tFunctionValueToIndex(i);\n\t\t}\n\t}", "title": "" }, { "docid": "9c5a1505c3b0dc929c873a6b1db86e29", "score": "0.40191427", "text": "public interface Normalization\n { \n\n /** \n * calcIntensityScaleExtrema() - compute scaled Intensity upper\n * and lower limits of raw data for each sample. It is called\n * to get extrema for use in scaling displays and other computations\n * where the limits must be known.\n * @param maxRI maximum raw ratio intensity\n * @param minRI minimum raw ratio intensity\n * @param maxRaw maximum raw intensity max(rawF1,rawF2)\n * @param minRaw minimum raw intensity min(rawF1,rawF2)\n * @param sampleNbr for the sample sample number in the range [1:maxSamples]\n * @return an array with the following scaled data:\n *<PRE>\n * element 0 = maxDataS\n * element 1 = minDataS\n * element 2 = maxRawS\n * element 3 = minRawS\n *</PRE>\n */\n public float[] calcIntensityScaleExtrema(float maxRI, float minRI,\n float maxRaw, float minRaw,\n int sampleNbr); \n \n \n \n /**\n * resetPipeline() - reset filter at start of data Normalization.\n * We will test for ALL GENES (if required) using the midOK[] boolean\n * created here to later determine if we actually perform the test.\n * This sets up the state that may be used during the pipeline operation.\n * @param optArg - optional argument\n * @return true if succeed\n */\n public boolean resetPipeline(int optArg);\n \n \n /**\n * finishPipeline() - finish filter at end of normalization of all genes (if required).\n * This may be used to clean up the state after the pipeline operation.\n * @param optArg - optional argument\n * @return true if succeed\n */\n public boolean finishPipeline(int optArg);\n \n \n /**\n * scaleIntensityData() - scale raw intensity data as fct of normalization\n * mode. This method is called on a per-spot basis.\n * @param rawData is unnormalized data of spot\n * @return normalized spot data\n */\n public float scaleIntensityData(float rawData);\n \n \n /**\n * scaleIntensityData() - scale raw intensity data as fct of normalization mode.\n * This method passes the (gid,sampleNbr) in case it is needed.\n * This method is called on a per-spot basis.\n * @param rawData is unnormalized data of spot\n * @param mid is MID of the spot\n * @param gid is GID of the spot\n * @param sampleNbr for the sample array\n * @return normalized spot data\n */\n public float scaleIntensityData(float rawData, int mid, int gid, int sampleNbr);\n \n \n /**\n * scaleIntensityData() - the gene normalization operating on gene mid\n * for sampleIdx where the data is ether extracted here or from the resetPipeline\n * pre-analysis.\n * If the normalization is inoperative, then just return 0.0.\n * The mid must be >=0 since -1 indicates an illegal gene.\n * The midOK[mid] must be true, else it indicates an illegal gene.\n *\n * [NOTE] The plugin writer should try to avoid doing special analyses here that \n * need to be computed DURING the processing and instead do the computations \n * during the resetPipeline() operation if possible. That may be able to \n * optimized and the data cached to avoid constant recomputation.\n * @param rawIntensity is intensity value to be normalized\n * @param rawBkgrd is background intensity to be used in normalization\n * if the use Background flag is set.\n * @param mid is the Master Gene ID to test if not -1 and the gene exists\n * @param gid is the spot Geometry Gene Index to test if not -1 and the spot exists\n * @param sampleIdx is the HybridSample index number for single sample HP-X or HP-Y.\n * For Cy3 vs Cy5 mode, it is 0 for Cy3 (F1), and 1 for Cy5 (F2).\n * For HP-X 'set' vs HP-Y 'set' mode, \n * it is 0 for HP-X 'set', and 1 for HP-Y 'set'\n * @return scaled data if normalization is active, else 0.0F\n */\n public float scaleIntensityData(float rawIntensity, float rawBkgrd,\n int mid, int gid, int sampleIdx);\n \n /**\n * getState() - get the state of the checkbox\n */\n public boolean getState();\n \n \n /**\n * setState() - set the state of the checkbox\n */\n public void setState(boolean flag);\n \n \n /**\n * recalcNormalizationExtrema() - set the extreama for all samples for this plugin\n */\n public void recalcNormalizationExtrema();\n \n \n /**\n * setSample() - set the sample object\n */\n public void setSample(Object o);\n \n \n /**\n * getSample() - get the sample object\n */\n public Object getSample();\n \n \n}", "title": "" }, { "docid": "cbc62bbd7d2c8d13b0bdf47d160f1cb4", "score": "0.4017679", "text": "void setFixedFilter(QueryFilter filter);", "title": "" }, { "docid": "7a096251f27e73fbb4b812515d7783cd", "score": "0.40174365", "text": "public JPanel getFilterPanel() {\n if (filterPanel == null) {\n filterPanel = new JPanel();\n PreferredHeightMarginBorderBoxLayout layout = new PreferredHeightMarginBorderBoxLayout(getFilterPanel(), PreferredHeightMarginBorderBoxLayout.Y_AXIS);\n filterPanel.setLayout(layout);\n }\n return filterPanel;\n }", "title": "" }, { "docid": "f95df25278c24e579c9a72048ea6cc31", "score": "0.40125304", "text": "public static void setColorFilter(ImageView lollipop, int nextInt,\n\t\t\tint nextInt2, int nextInt3) {\n\t\t\n\t}", "title": "" }, { "docid": "ffd3030449c2984936e45e42cc64a4e6", "score": "0.40075707", "text": "private void createShader() {\n\n if (mWidth == 0)\n return;\n\n //if mBitmapCover is null then create default colored cover\n if (mBitmapCover == null) {\n mBitmapCover = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.ARGB_8888);\n mBitmapCover.eraseColor(mCoverColor);\n }\n\n mCoverScale = ((float) mWidth) / (float) mBitmapCover.getWidth();\n\n mBitmapCover = Bitmap.createScaledBitmap(mBitmapCover,\n (int) (mBitmapCover.getWidth() * mCoverScale),\n (int) (mBitmapCover.getHeight() * mCoverScale),\n true);\n\n mBitmapShader = new BitmapShader(mBitmapCover, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP);\n mCoverPaint = new Paint();\n mCoverPaint.setAntiAlias(true);\n mCoverPaint.setShader(mBitmapShader);\n\n }", "title": "" }, { "docid": "bac20c0027bd821dd11fb2a422406141", "score": "0.40063825", "text": "private void setCompanyListBoxFilters(int companyId, char typeCxP) {\n\t\t\tBmoCompany bmoCompany = new BmoCompany();\n\t\t\tBmFilter filterCompany = new BmFilter();\n\n\t\t\tif (companyId > 0) {\n\t\t\t\tfilterCompany.setValueFilter(bmoCompany.getKind(), bmoCompany.getIdField(), companyId);\n\t\t\t\tcompanyListBox.addFilter(filterCompany);\t\t\t\n\t\t\t} else {\n\t\t\t\t// Si es de tipo OC, aplica filtros de empresas, \n\t\t\t\t// sino no lo reinicia, esto para la seleccion manual de la empresa y llenar partidas presp.\n\t\t\t\tif (typeCxP == BmoPaccountType.CATEGORY_REQUISITION) {\n\t\t\t\t\tfilterCompany.setValueFilter(bmoCompany.getKind(), bmoCompany.getIdField(), \"-1\");\n\t\t\t\t\tcompanyListBox.addFilter(filterCompany);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "title": "" } ]
586039bbe35649e964a28e404cc48f2f
Thread safe method for performing insertion operations.
[ { "docid": "5d050638ab458e1ebcf2a18d54d6b43e", "score": "0.0", "text": "public synchronized void insertNode(Node node, String wordIn) {\n if (node.getWord().compareTo(wordIn) > 0) {\n if (node.getLeft() == null) {\n node.setLeft(new Node(wordIn));\n } else {\n insertNode(node.getLeft(), wordIn);\n }\n } else if (node.getWord().compareTo(wordIn) < 0) {\n if (node.getRight() == null) {\n node.setRight(new Node(wordIn));\n } else {\n insertNode(node.getRight(), wordIn);\n }\n }\n }", "title": "" } ]
[ { "docid": "fa2de396b113dc3585f0e9d2f8afefdd", "score": "0.6931238", "text": "int insertSelective(Lock record);", "title": "" }, { "docid": "7c499b107bc3d64f8323080e34cbc674", "score": "0.6912393", "text": "int insert(Lock record);", "title": "" }, { "docid": "8e968d3ef5fec4b635c16134cded9a75", "score": "0.6812682", "text": "public void doInsert()\n {\n }", "title": "" }, { "docid": "d82395e97a604fc07ddd89adaa0f08a9", "score": "0.6618397", "text": "public void insert(boolean async);", "title": "" }, { "docid": "064ef93c1d1fe036418645469afaaea9", "score": "0.6521512", "text": "@Override\r\n\tpublic void insert() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f67940df56e053efaf707a2fe61140f2", "score": "0.64269704", "text": "public abstract void insert();", "title": "" }, { "docid": "22ca3a65a4d7b478625cde6c0feb6b57", "score": "0.6412332", "text": "public T insert(T t){\n T old = buffer.get(index);\n buffer.set(index,t);\n\n if(++index >= buffer.size()){ // index wraps\n index = 0;\n }\n\n return old;\n }", "title": "" }, { "docid": "654038c4055744b0b87043d037dbdf8e", "score": "0.6391648", "text": "void insert();", "title": "" }, { "docid": "aa3eae0b18dc2b23e84ef341b379e396", "score": "0.6389306", "text": "int insertSelective(TReader record);", "title": "" }, { "docid": "867c1305d1308a9a185cd2ed7caaf069", "score": "0.6362708", "text": "int insert(TReader record);", "title": "" }, { "docid": "aea78e26109c07c8d5688fbc00d4c66f", "score": "0.6361982", "text": "Long insertSelective(TCdr record);", "title": "" }, { "docid": "2944900ed370ad4cf08c256261994ce0", "score": "0.62681824", "text": "int insertSelective(Result record);", "title": "" }, { "docid": "0d43ac1027a0823fff6dc590c6dcf282", "score": "0.61629874", "text": "int insertSelective(Tar record);", "title": "" }, { "docid": "5e8f5ee1d99487eb669ed7ad2a1f9ee4", "score": "0.61557716", "text": "public void insert() {\n\t\tthrow new UnsupportedOperationException();\n\t}", "title": "" }, { "docid": "983c6eadab3fe891c3abee682874b85a", "score": "0.6150814", "text": "int insert(T t);", "title": "" }, { "docid": "9b95c6dd00e56133c0b08d52b36d3536", "score": "0.61452204", "text": "int insert(T record);", "title": "" }, { "docid": "6b65455ee76ce0ec00bce31fe59f2b7b", "score": "0.61410296", "text": "int insertSelective(T record);", "title": "" }, { "docid": "4ac67ea30628eb655ca8065ce1f497d0", "score": "0.6129467", "text": "int insertSelective(Timedtask record);", "title": "" }, { "docid": "955040295681704fe884b76942f06dbe", "score": "0.61186445", "text": "@Override\n\tpublic boolean insert(T t) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "5968eba9521df6828d8014a01bf2f2a5", "score": "0.6116486", "text": "int insertSelective(Record record);", "title": "" }, { "docid": "cf0b5ecda88d77fa50832b8e7fd744b7", "score": "0.6084321", "text": "int insertSelective(Sequence record);", "title": "" }, { "docid": "83b403e9516eba28265a6ad10f7c7ad2", "score": "0.6077003", "text": "public void insert(T key){\n iterInsert(key);\n }", "title": "" }, { "docid": "2d7fc330ca63b2d20ef9916f732e7bd4", "score": "0.60554177", "text": "public void insert(T val);", "title": "" }, { "docid": "14ca0891c7cd3a489be0141c70ede0a3", "score": "0.6023879", "text": "int insertSelective(TSbZwycZyyhjrd record);", "title": "" }, { "docid": "69f9850055516c517a621cc080231166", "score": "0.60183907", "text": "@Test\n public void insertionLoadTest() {\n String content = \"sdfdskfmlsgdfsldklgjdmfsgj;mcdfkdfgjmeiorgumdlisgjdimsgljdlfkmsgjdsfv\";\n // Compare with TreeSet\n ConcurrentSkipListMap<Integer, byte[]> treeset = new ConcurrentSkipListMap<Integer, byte[]>();\n int size = 1000000;\n int i = 0, j = size;\n long start = System.nanoTime();\n long end;\n while (i <= j) {\n treeset.put(i, content.getBytes());\n treeset.put(j, content.getBytes());\n i++;\n j--;\n }\n end = System.nanoTime();\n System.out.println(\"Insert \" + size + \" in ConcurrentSkipListMap take : \" + (end - start) / 1000000 + \" ms\");\n\n }", "title": "" }, { "docid": "c514b1d70883e12750f4d91518218716", "score": "0.60127354", "text": "int insert(IdxValue record);", "title": "" }, { "docid": "048c388321265d9a13db2124aaf61961", "score": "0.6003853", "text": "Long insert(TCdr record);", "title": "" }, { "docid": "c30745e4b441c06aac9bbb33c712c4e9", "score": "0.60016394", "text": "public void insert(T object);", "title": "" }, { "docid": "2d758a4d10f56c2860dd9fa97ff45433", "score": "0.60006535", "text": "int insert(Sequence record);", "title": "" }, { "docid": "e945f2bf1ff11c3cc36451fed632906e", "score": "0.60005444", "text": "int insertSelective(Sn record);", "title": "" }, { "docid": "14006f6d854cbe9ba98261726fec22e1", "score": "0.59986466", "text": "int insertSelective(Command record);", "title": "" }, { "docid": "54b13ea33b6792b70f66f6496f4dfbdf", "score": "0.59949493", "text": "int insertSelective(DBRoutingTable record);", "title": "" }, { "docid": "44f91fc48d8e4259ca531881476f4628", "score": "0.5982127", "text": "int insert(Record record);", "title": "" }, { "docid": "2ab20e398a6380c30d5d4e00636c3fc9", "score": "0.5970853", "text": "int insert(T object);", "title": "" }, { "docid": "bbceba551eb24eca40b381a289dfd7c9", "score": "0.596926", "text": "int insert(Timedtask record);", "title": "" }, { "docid": "427c2338395717fa2049c2ed6b9e4fd7", "score": "0.59626764", "text": "int insertSelective(TSbZwycDlzd record);", "title": "" }, { "docid": "365d57d82a3388326b5a409aa88552ba", "score": "0.5949699", "text": "int insertSelective(HktLm record);", "title": "" }, { "docid": "11b01b09cb31f84fe05756b043896f91", "score": "0.5942519", "text": "int insertSelective(Itemset record);", "title": "" }, { "docid": "86f8bfde3c1a1c625273272c7dd9ea65", "score": "0.5942492", "text": "int insert(T obj);", "title": "" }, { "docid": "73621d549943a10c3df787b5beef4e9c", "score": "0.5937742", "text": "void insert(T element);", "title": "" }, { "docid": "73621d549943a10c3df787b5beef4e9c", "score": "0.5937742", "text": "void insert(T element);", "title": "" }, { "docid": "c840aeae2965f882530117a31c9bd07c", "score": "0.5932624", "text": "int insertSelective(FreezeDO record);", "title": "" }, { "docid": "cd0f43d302421b090825cb8f0eece16b", "score": "0.59291327", "text": "int insertSelective(IdxValue record);", "title": "" }, { "docid": "ba1cf996e3399bd4d244861e831e629c", "score": "0.5927754", "text": "int insertSelective(TBlogger record);", "title": "" }, { "docid": "45d2c337569711d9a92a981e422cc901", "score": "0.59159034", "text": "int insert(Result record);", "title": "" }, { "docid": "255d80a0dd896c88d24f17668df91469", "score": "0.5903093", "text": "int insertSelective(Order record);", "title": "" }, { "docid": "534808b8c28bb05498b8c93247753b2d", "score": "0.5897557", "text": "public abstract void insert(T element);", "title": "" }, { "docid": "fccc47e6d3299475d489a0b4443ca532", "score": "0.5878091", "text": "int insertSelective(TopRightEntry record);", "title": "" }, { "docid": "1c70cfbd352c289373c45398727fde2a", "score": "0.5868716", "text": "void insert(int key);", "title": "" }, { "docid": "1c70cfbd352c289373c45398727fde2a", "score": "0.5868716", "text": "void insert(int key);", "title": "" }, { "docid": "cea79aa665bd27f6e7732baf5f1678e3", "score": "0.58651406", "text": "int insertSelective(OdSafeguardRight record);", "title": "" }, { "docid": "0b436eea5bc759ff87a23b9a722c6c17", "score": "0.5862007", "text": "int insert(TSbZwycZyyhjrd record);", "title": "" }, { "docid": "c3d3198b060a696f3fe7820951a29c21", "score": "0.5860158", "text": "int insertSelective(TaskMessage record);", "title": "" }, { "docid": "6455757ea3ce72e5ab9e2b958cbf6654", "score": "0.5857375", "text": "public void insert(String key) {\n // Your code here...\n }", "title": "" }, { "docid": "b0ba6b8312c83bae5a2c66598a5822a0", "score": "0.58571756", "text": "int insertSelective(CommonCode record);", "title": "" }, { "docid": "7988505ae42ec5ba6c05d37c12e6fb05", "score": "0.5854158", "text": "@Test\n public void insertAndFind() throws InterruptedException {\n }", "title": "" }, { "docid": "1491a306aca95357b0f9051de240482c", "score": "0.5844584", "text": "int insertSelective(FullDown record);", "title": "" }, { "docid": "2cdc681820b7f7892ae7f96c20a08aea", "score": "0.5842681", "text": "int insertSelective(TDiscuss record);", "title": "" }, { "docid": "57569eb33c47e2d020682898475ccfa1", "score": "0.58345896", "text": "int insert(TBlogger record);", "title": "" }, { "docid": "557581165cc3631440a7886ea14bcb25", "score": "0.5829038", "text": "int insert(TSbZwycDlzd record);", "title": "" }, { "docid": "39bde7fb75d4a9d1ad43050538f5fd8c", "score": "0.5824741", "text": "int insertSelective(TaskPo record);", "title": "" }, { "docid": "d0874be297ec8f78a830245ecd58c7ea", "score": "0.58233875", "text": "boolean insert(E e);", "title": "" }, { "docid": "ca596d4be47de1ce32889a8462c47ed7", "score": "0.58231324", "text": "private Insertion() { }", "title": "" }, { "docid": "7107f9cf6aefb020e9df773c9a863363", "score": "0.5822827", "text": "int insertSelective(WbLike record);", "title": "" }, { "docid": "0fe7e6f8c449ec7bb86800255ceb506d", "score": "0.58203447", "text": "int insertSelective(Star record);", "title": "" }, { "docid": "e1c243d24815ae66097d29dbeadbb19a", "score": "0.5819413", "text": "int insert(Func record);", "title": "" }, { "docid": "999068ea0995b6290852006508c2cc90", "score": "0.58167315", "text": "int insertSelective(userTable record);", "title": "" }, { "docid": "0e53bde0dbabea125d2fa619376b4693", "score": "0.5813603", "text": "public boolean insert(E e);", "title": "" }, { "docid": "89157bd6e58b47a422e2fe92f432a369", "score": "0.5813218", "text": "int insert(FreezeDO record);", "title": "" }, { "docid": "e63e03acb428bb743747d1c4a302932c", "score": "0.5811727", "text": "int insertSelective(Func record);", "title": "" }, { "docid": "60a4a5a43ebdb9b32dcded0b17763775", "score": "0.5806167", "text": "public boolean doInsert(PositionTable position);", "title": "" }, { "docid": "66c727f3523965ddf5b0dfe4e277c667", "score": "0.57969385", "text": "int insertSelective(Tjbook record);", "title": "" }, { "docid": "bcbc699631606172a47e2e58ef4a1f2d", "score": "0.57959765", "text": "int insertSelective(PiaojuyiBill record);", "title": "" }, { "docid": "33cdf1993c04426fea983b5e06365176", "score": "0.5792574", "text": "int insertSelective(TiWen record);", "title": "" }, { "docid": "11bb916044a66feb2efaaa4324ddfa1b", "score": "0.579231", "text": "int insertSelective(ExchangeCode record);", "title": "" }, { "docid": "c8250a689b36b9d1401fd8eae5b18582", "score": "0.5789923", "text": "public boolean insert( E x ) {\n //Implement your method\n return false; //Overwrite this code\n }", "title": "" }, { "docid": "36f7f2a839eb0c6ac761d424209f0e8c", "score": "0.5789338", "text": "@SuppressWarnings({\"unchecked\"})\n private static long dmlDoInsert(UpdatePlan plan, Iterable<List<?>> cursor, int pageSize) throws IgniteCheckedException {\n GridCacheContext cctx = plan.cacheContext();\n\n // If we have just one item to put, just do so\n if (plan.rowCount() == 1) {\n IgniteBiTuple t = plan.processRow(cursor.iterator().next());\n\n try (\n MTC.TraceSurroundings ignored = MTC.support(cctx.kernalContext().tracing()\n .create(SQL_CACHE_UPDATE, MTC.span())\n .addTag(SQL_CACHE_UPDATES, () -> \"1\"))\n ) {\n if (cctx.cache().putIfAbsent(t.getKey(), t.getValue()))\n return 1;\n else\n throw new TransactionDuplicateKeyException(\"Duplicate key during INSERT [key=\" + t.getKey() + ']');\n }\n }\n else {\n // Keys that failed to INSERT due to duplication.\n DmlBatchSender sender = new DmlBatchSender(cctx, pageSize, 1);\n\n for (List<?> row : cursor) {\n final IgniteBiTuple keyValPair = plan.processRow(row);\n\n sender.add(keyValPair.getKey(), new DmlStatementsProcessor.InsertEntryProcessor(keyValPair.getValue()), 0);\n }\n\n sender.flush();\n\n SQLException resEx = sender.error();\n\n if (!F.isEmpty(sender.failedKeys())) {\n String msg = \"Failed to INSERT some keys because they are already in cache \" +\n \"[keys=\" + sender.failedKeys() + ']';\n\n SQLException dupEx = new SQLException(msg, SqlStateCode.CONSTRAINT_VIOLATION);\n\n if (resEx == null)\n resEx = dupEx;\n else\n resEx.setNextException(dupEx);\n }\n\n if (resEx != null)\n throw new IgniteSQLException(resEx);\n\n return sender.updateCount();\n }\n }", "title": "" }, { "docid": "ad032038ea7b962688ae997dcc4fe79b", "score": "0.5777806", "text": "int insertSelective(ScheduleExecutorDO record);", "title": "" }, { "docid": "9bb9660db326338380f349cbccc3c31a", "score": "0.5773642", "text": "int insertSelective(AuthKey record);", "title": "" }, { "docid": "3f04b6a5c11291d4bd0a0637b7fe6565", "score": "0.576814", "text": "int insertSelective(Test01 record);", "title": "" }, { "docid": "a41b3f21762dd034d381359ff8bff82b", "score": "0.5763862", "text": "int insert(HktLm record);", "title": "" }, { "docid": "02f270d7455891f3ec522a52a38a3d8d", "score": "0.5762926", "text": "int insertSelective(Orders record);", "title": "" }, { "docid": "f548a233151731b609e828a49d0b14c2", "score": "0.57626796", "text": "abstract IndexNode insert(T t);", "title": "" }, { "docid": "d2a7d1fb88976fb5d28fa43cbcc6166d", "score": "0.57614946", "text": "int insert(Itemset record);", "title": "" }, { "docid": "9e4b3d3bb40dec6d77ad32ef571083ee", "score": "0.5758095", "text": "public static void executeMultiInsert() throws SQLException {\n\n insertQuery.insert(0, \"INSERT INTO voter_count(name, birthDate, `count`) VALUES\");\n insertQuery.append(\" ON DUPLICATE KEY UPDATE `count`=`count`+1\");\n Set<Future<?>> futures = new HashSet<>();\n ExecutorService service = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());\n futures.add(service.submit(new Runnable() {\n @Override\n public void run() {\n try {\n DBConnection.getConnection().createStatement().execute(insertQuery.toString());\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n }));\n futures.forEach(future -> {\n try {\n future.get();\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (ExecutionException e) {\n e.printStackTrace();\n }\n });\n insertQuery.setLength(0);\n service.shutdown();\n }", "title": "" }, { "docid": "93660e7aa86c7a2e8201712a8cdbc854", "score": "0.57532644", "text": "int insert(FullDown record);", "title": "" }, { "docid": "eed68e52c4fa4d77a19b43342af0ec52", "score": "0.57520497", "text": "abstract ABST<T> insert(T item);", "title": "" }, { "docid": "75e61a6cb5bbfdb473837db35bbb4c3d", "score": "0.5750171", "text": "int insertSelective(Promo record);", "title": "" }, { "docid": "75e61a6cb5bbfdb473837db35bbb4c3d", "score": "0.5750171", "text": "int insertSelective(Promo record);", "title": "" }, { "docid": "bb66d17aea68084b59e0907d7c1b4dae", "score": "0.5749145", "text": "int insertSelective(Reception record);", "title": "" }, { "docid": "e0abb70536b12a12281b456f4dc50ba3", "score": "0.5743702", "text": "int insertSelective(Tbgame record);", "title": "" }, { "docid": "dc0680c4ece94ba4619015e30b4260ca", "score": "0.5739599", "text": "int insert(CommonCode record);", "title": "" }, { "docid": "bed0e074afc62dd7d5f22ee31a3d3d8c", "score": "0.5736185", "text": "int insertSelective(Tag record);", "title": "" }, { "docid": "9bd9766df8643eec985e62e5c7decd82", "score": "0.57303494", "text": "int insertSelective(TransportTask record);", "title": "" }, { "docid": "cee7907ee610d5ddd7b8f4b4e0deeac7", "score": "0.572838", "text": "int insertSelective(Message record);", "title": "" }, { "docid": "1e3e5b735786eeb6df4aa759a118770b", "score": "0.5723774", "text": "int insertSelective(Apply record);", "title": "" }, { "docid": "974fb472beb81c1ef877310d5c5bb851", "score": "0.5719752", "text": "int insertSelective(FileMap record);", "title": "" }, { "docid": "cffc1741b5a15697e1451637eb55e95b", "score": "0.5717775", "text": "int insertSelective(Sharepath record);", "title": "" }, { "docid": "38766d1b9d0918a031319f48df0d568c", "score": "0.5717665", "text": "int insertSelective(Lease record);", "title": "" }, { "docid": "39921b3f3bcf9a521b3a2ced9ccc7b51", "score": "0.5717452", "text": "@NonNull\n Long insert(@NonNull T object);", "title": "" }, { "docid": "c35c2fee16918b4847ee6d418f7c9246", "score": "0.57143545", "text": "int insertSelective(Scheduling record);", "title": "" } ]
7dd143aa69d1a300f4e9c4edc62a57c5
Recogemos los campos del formulario
[ { "docid": "e44c411ec6c505cd599018782d5f2027", "score": "0.0", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\t\tString nombre=textNombre.getText();\r\n\t\t\t\tString apellido1=textApellido1.getText();\r\n\t\t\t\tString apellido2=textApellido2.getText();\r\n\t\t\t\tString edad=textEdad.getText();\r\n\t\t\t\tString usuario=textUsuario.getText();\r\n\t\t\t\tchar[] pass=passwordField.getPassword();\r\n\t\t\t\tchar[] pass1=passwordField_1.getPassword();\r\n\t\t\t\t\r\n\t\t\t\t//Comprobacion del rellenado de todos los campos\r\n\t\t\t\tif((nombre.length()<=0)||(apellido1.length()<=0)||(apellido2.length()<=0)\r\n\t\t\t\t\t\t||(edad.length()<=0)||(usuario.length()<=0)||(pass.length<=0)||(pass1.length<=0)){\r\n\t\t JOptionPane.showMessageDialog(contentPane,\r\n\t\t\t \"Falta por rellenar algún campo del formulario\",\r\n\t\t\t \"ERROR\",\r\n\t\t\t JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tif(!Arrays.equals (pass, pass1)){\r\n\t\t\t JOptionPane.showMessageDialog(contentPane,\r\n\t\t\t\t \"Las contraseñas no coinciden.\",\r\n\t\t\t\t \"ERROR\",\r\n\t\t\t\t JOptionPane.ERROR_MESSAGE);\t\t\t\t\t\t\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\t//Insertamos el nuevo usuario\r\n\t\t\t\t\t\tUsuario u=new Usuario(nombre,apellido1,apellido2,Integer.valueOf(edad),usuario);\r\n\t\t\t\t\t\tUsuarioDB uDB=new UsuarioDB();\r\n\t\t\t\t\t\t//Generaremos el hash MD5\r\n\t\t\t\t\t\tString contrasenya= LibMD5.getMD5(passwordField.getPassword());\r\n\t\t\t\t\t\tuDB.insertarUsuario(u, contrasenya);\r\n\t\t\t JOptionPane.showMessageDialog(contentPane,\r\n\t\t\t\t \"Usuario registrado con éxito.\",\r\n\t\t\t\t \"REGISTRADO\",\r\n\t\t\t\t JOptionPane.INFORMATION_MESSAGE);\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" } ]
[ { "docid": "2c5b3b5fa4399b2039ae0b4d6acae9ae", "score": "0.6882191", "text": "private void limparCampos(){\n \n jtfNome.setText(\"\");\n jtfPesquisar.setText(\"\");\n jtfValidade.setText(\"\");\n jtfEstoque.setText(\"\");\n jtfValorEntrada.setText(\"\");\n jtfValorSaida.setText(\"\");\n \n }", "title": "" }, { "docid": "1ec6305d06ed5ad30096cfe10a984c72", "score": "0.6825293", "text": "@Override\n protected void setCampos() {\n colunasBD.add(\"fkDisciplina\");\n colunasBD.add(\"fkProfessor\");\n colunasBD.add(\"data\");\n }", "title": "" }, { "docid": "54e599d75624a08a8689e3d268cda2ab", "score": "0.6731214", "text": "static String obtenerCampos() {\n return \"u.Id,u.IdRol,u.DUI,u.Nombre, u.Apellido,u.Numero, u.Login, u.Estado, u.FechaRegistro\";\n }", "title": "" }, { "docid": "3cd6b17ce9449c2726b6e9cb73ad5865", "score": "0.66685873", "text": "public void setFormValues();", "title": "" }, { "docid": "230618c3f61b794eabb4da38cc4d2ad1", "score": "0.6640588", "text": "FormFieldProperties createFormFieldProperties();", "title": "" }, { "docid": "79fc6995b7ecd4946c85b6de0ec4991d", "score": "0.64653945", "text": "private void inicializacaoCampos() {\n\n campoNome = findViewById(R.id.editText_nome);\n campoAltura = findViewById(R.id.editText_altura);\n campoNascimento = findViewById(R.id.editText_nascimento);\n }", "title": "" }, { "docid": "9b46bd4d831ff994df59f14c03bb657b", "score": "0.64322287", "text": "public void getFormValues();", "title": "" }, { "docid": "c56e0ef178a9ac0291fcd72f76774eb9", "score": "0.641336", "text": "private void ReiniciaCampos(){\n txt_codigoTransportadora .setText(\"\");\n combo_pessoa .setSelectedIndex(0);\n ValidadorCpfCnpj = false;\n txt_cpfcnpj1 .setText(\"\");\n txt_cpfcnpj2 .setText(\"\");\n txt_cpfcnpj3 .setText(\"\");\n txt_inscricaoEstadual .setText(\"\");\n txt_nomeTransportadora .setText(\"\");\n txt_cep .setText(\"\");\n combo_uf .setSelectedIndex(0);\n txt_cidade .setText(\"\");\n txt_bairro .setText(\"\");\n txt_endereco .setText(\"\");\n txt_numero .setText(\"\");\n txt_codigoPais .setText(\"\");\n label_pais .setText(\"\");\n }", "title": "" }, { "docid": "fe2cd84e7a0e6637d2e8f8eb30be6ca9", "score": "0.6357471", "text": "protected abstract void craeteTextFields();", "title": "" }, { "docid": "b5fcc506b3ca169a4039a09933e28f6d", "score": "0.6342033", "text": "public void limpaForm() {\n\t\ttfMatricula.setText(\"\");\n\t\ttfRendimento.setText(\"\");\n\t\ttfIdade.setText(\"\");\n\t\ttfAltura.setText(\"\");\n\t\ttfAndroidIOS.setText(\"\");\n\t\ttfBoleano.setText(\"\");\n\t\ttfcidade.setText(\"\");\n\t\ttfLinguaPrograma.setText(\"\");\n\t\ttflivros.setText(\"\");\n\t\ttfPeriodoVigente.setText(\"\");\n\t\ttfSerie.setText(\"\");\n\t\ttfTime.setText(\"\");\n }", "title": "" }, { "docid": "c635d8ffa25dbfdc14f87a37211d7106", "score": "0.6320115", "text": "private void limparCampos(){\n jtNome.setText(\"\");\n jtTelefone.setText(\"\");\n jtPais.setText(\"\");\n jtIdade.setText(\"\");\n }", "title": "" }, { "docid": "aa0365acaa2114d611fbc24b84e67acb", "score": "0.6305587", "text": "public void recordarDatosForm(){\r\n \r\n nacional.setNacionalidad(formulario.cuadrosTexto[0].getText());\r\n nacional.setCedula(formulario.cuadrosTexto[1].getText());\r\n nacional.setPrimerNombre(formulario.cuadrosTexto[2].getText());\r\n nacional.setSegundoNombre(formulario.cuadrosTexto[3].getText());\r\n nacional.setPrimerApellido(formulario.cuadrosTexto[4].getText());\r\n nacional.setSegundoApellido(formulario.cuadrosTexto[5].getText());\r\n nacional.setCodigoCentro(formulario.cuadrosTexto[6].getText());\r\n \r\n }", "title": "" }, { "docid": "999e01b90dea319cdd035f14d69b6157", "score": "0.6290352", "text": "public void limpiaCampos() {\n\n\t\tCD.setContentAreaFilled(false);\n\t\tvinilo.setContentAreaFilled(false);\n\t\tnumEjem.setSelectedIndex(0);\n\t\tano.setSelectedIndex(0);\n\t\ttitulo.setText(null);\n\t\tinterprete.setText(null);\n\t\tfor (int i = 0; i < categorias.length; i++)\n\t\t\tcategorias[i].setSelected(false);\n\n\t}", "title": "" }, { "docid": "0f37895929b727145ff493d27aea8295", "score": "0.62770665", "text": "public void resetFields() {\n\t\tthis.inptDisplayName.setInput( \"\" );\n\t\tthis.inptDOB.setInput( \"\" );\n\t\tthis.inptHometown.setInput( \"\" );\n\t\tthis.inptSchool.setInput( \"\" );\n\t}", "title": "" }, { "docid": "3eb9afa6f0aa827c7229924eb1b4860c", "score": "0.62170637", "text": "public void limpiarCampos() {\n\t\ttxt_nombre.setText(\"\");\r\n \ttxt_importe.setText(\"0\");\r\n \ttxt_manodeobra.setText(\"0\");\r\n \ttxt_ivaporc.setText(\"21\");\r\n \ttxt_iva.setText(\"0\");\r\n \ttxt_total.setText(\"0\");\r\n \tmodel.removeAllElements();\r\n\t}", "title": "" }, { "docid": "6682de784670a7fab30701c7b8d35cf0", "score": "0.621547", "text": "private void fillFields() {\n CredentialManager credentials = CredentialManager.getInstance();\n\n if (credentials.isUsernameSaved()) {\n String userName = credentials.getUserName();\n usernameField.setText(userName);\n nameCheckBox.setSelected(true);\n }\n if (credentials.isPasswordSaved()) {\n passField.setText(credentials.getPassword());\n passCheckBox.setSelected(true);\n }\n }", "title": "" }, { "docid": "80fa05a18992b335ebc342222bb31df1", "score": "0.6213017", "text": "private void limpiarCampos() {\n this.cmbClases.setEnabled(true);\n this.tablaAlumnos.getSelectionModel().clearSelection();\n this.cargarTablaHorarios();\n this.cargarTablaHorariosAlumno();\n this.txtAlumno.setText(\"\");\n this.txtBuscarAlumno.setText(\"\");\n this.txtClase.setText(\"\");\n this.txtPrecio.setText(\"\");\n this.alumnoSeleccionado = null;\n this.jCheckBox1.setSelected(false);\n }", "title": "" }, { "docid": "7dd13c7f5001d963f1fdedea16fb97bf", "score": "0.61862475", "text": "public void preencheCampos() {\r\n\t\tif (ProfissionalAlterar.getProfissional() != null) {\r\n\t\t\ttfNome.setText(ProfissionalAlterar.getProfissional().getNomeProfissional());\r\n\t\t\ttfDataNasc.setText(ProfissionalAlterar.getProfissional().getDataNascimento());\r\n\t\t\ttfLogin.setText(ProfissionalAlterar.getProfissional().getLogin());\r\n\r\n\t\t\tbtnCadastrar.setText(\"Salvar\");\r\n\t\t} else {\r\n\t\t\ttfNome.setText(\"\");\r\n\t\t\ttfDataNasc.setText(\"\");\r\n\t\t\ttfLogin.setText(\"\");\r\n\r\n\t\t\tbtnCadastrar.setText(\"Cadastrar\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "238bfaa75b65e52bfc9bbf3753d80643", "score": "0.61082286", "text": "public void limpiarCampos() {\n mbClientesBancos.cargarBancos(clienteBanco.getCodigoCliente());\r\n// mbClientesBancos.getMbBanco().getObjBanco().setIdBanco(0);\r\n }", "title": "" }, { "docid": "d7b3781f92d4bd3ce2248c676f5e20aa", "score": "0.6092093", "text": "public void limpiarFormularioLibro() {\n\t\ttextoTitulo.setText(null);\r\n\t\ttextoAutor.setText(null);\r\n\t\ttextoNumPag.setText(null);\r\n\t}", "title": "" }, { "docid": "0313ef76b4c41d4958fb931d3bf8a47d", "score": "0.6091617", "text": "private void LimpiarCampos() {\n\t\t\t\t\t\ttextFieldNombre.setText(\"\");\r\n\t\t\t\t\t\tspinnerEstatura.setValue(170);\r\n\t\t\t\t\t\tspinnerPeso.setValue(65);\r\n\t\t\t\t\t\tspinnerNumero.setValue(0);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tspinnerBB.setValue(0); \r\n\t\t\t\t\t\tspinner2B.setValue(0);\r\n\t\t\t\t\t\tspinner3B.setValue(0);\r\n\t\t\t\t\t\tspinnerGP.setValue(0);\r\n\t\t\t\t\t\tspinnerAB.setValue(0);\r\n\t\t\t\t\t\tspinnerH.setValue(0);\r\n\t\t\t\t\t\tspinnerHR.setValue(0);\r\n\t\t\t\t\t\tspinnerRBI.setValue(0);\r\n\t\t\t\t\t\tspinnerTB.setValue(0);\r\n\t\t\t\t\t\tspinnerK.setValue(0);\r\n\t\t\t\t\t\tspinnerSB.setValue(0);\r\n\t\t\t\t\t\tspinnerDP.setValue(0);\r\n\t\t\t\t\t\tspinnerR.setValue(0); \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tspinnerHpitch.setValue(0);\r\n\t\t\t\t\t\tspinnerCL.setValue(0);\r\n\t\t\t\t\t\tspinnerPpitch.setValue(0);\r\n\t\t\t\t\t\tspinnerGpitch.setValue(0);\r\n\t\t\t\t\t\tspinnerGSpitch.setValue(0);\r\n\t\t\t\t\t\tspinnerHRpitch.setValue(0);\r\n\t\t\t\t\t\tspinnerBBpitch.setValue(0);\r\n\t\t\t\t\t\tspinnerKpitch.setValue(0);\r\n\t\t\t\t\t\tspinnerGPpitch.setValue(0);\r\n\t\t\t\t\t\tspinnerERpitch.setValue(0);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tdateChooser.setDate(null);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tcomboBoxPosicion.setSelectedItem(0);;\r\n\t\t\t\t\t\tcomboBoxPais.setSelectedItem(0);\r\n\t\t\t\t\t\tcomboBoxDisponible.setSelectedItem(0);\r\n\t\t\t\t\t\tcomboBoxBT.setSelectedItem(0);\r\n\t\t\t\t\t\tcomboBoxEquipo.setSelectedItem(0);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "268888d7a8930ed476c8b224b77606a3", "score": "0.60762", "text": "private void resetForm () {\n\t\tthis.studentIdForm \t\t= null;\n\t\tthis.emailForm \t\t\t= \"\";\n\t\tthis.genderForm \t\t= null;\n\t\tthis.fullNameForm \t\t= \"\";\n\t\tthis.cpfForm = \"\";\n\t\tthis.phoneForm = \"\";\n\t\tthis.mobileForm = \"\";\n\t\tthis.joinDateForm = null;\n\t\tthis.expirationDateForm = null;\n\t\tthis.lastUpdateDateForm = null;\n\t\tthis.lastLoginDateForm = null;\n\t\tthis.lastLoginIpForm = \"\";\n\t\tthis.statusForm = true;\n\t}", "title": "" }, { "docid": "a815e58e4ed5139bc5e42abbf31298c8", "score": "0.60493195", "text": "public ControladorCampo() {\n // Inicializo listas y referencias\n listaValores = new ArrayList<Valor>() ;\n campos = new ArrayList<Campo>() ;\n \n valor = new Valor();\n seleccionado = new Campo();\n tengoElegido = false ;\n }", "title": "" }, { "docid": "fe2b97a15a5f989d47173a6ccb49f535", "score": "0.6032973", "text": "private List<Errore> controllaCampi(){\n\t\tsetMethodName(\"controllaCampi\");\n\t\tdebug(methodName, \" controllo i campi\"); \n\t\tdebug(methodName, \"COMUNE HIDDEN \" +model.getHiddenComune());\n\t\tList<Errore> listaErrori = new ArrayList<Errore>();\n\t\t//richiamiamo validation utils:\n\t\tValidationUtils.validaCampiInserimentoSoggetto(listaErrori, model);\n\t\treturn listaErrori;\n\t}", "title": "" }, { "docid": "5d8cb3e1b3f71b7bbe96a2f2ef8add83", "score": "0.6012239", "text": "public void rellenarCampos(){\r\n }", "title": "" }, { "docid": "6e36fb42391f3c8e98f3a9f7efc0c449", "score": "0.60029626", "text": "public void updateForm(){\r\n\t\tif(this.getPessoa().equals(\"1\") || this.getPessoa() == null){\r\n\t\t\tthis.maskCpf = \"999.999.999-99\";\r\n\t\t\tthis.valueNome = \"Nome\";\r\n\t\t\tthis.valueCpf = \"CPF\";\r\n\t\t}else{\r\n\t\t\tthis.maskCpf = \"99.999.999/9999-99\";\r\n\t\t\tthis.valueNome = \"Razão Social\";\r\n\t\t\tthis.valueCpf = \"CNPJ\";\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "83c4f7c86829b6d38b45c3f5b62fa578", "score": "0.5998108", "text": "private void loadAllFieldValues() {\r\n\t\tkarSid = karSidTF.getText();\r\n\t\tvcuAddress = vcuAddressTF.getText();\r\n//\t\tkarButton.setSelected(true);\r\n\t}", "title": "" }, { "docid": "24ac9637fee988973a9941ac6bd7bf2d", "score": "0.5975851", "text": "private void clearFieldsUser() {\n\t\t//Limpando campos\n\t\ttxtnomeuser.setText(null);\n\t\ttxtcpfuser.setText(null);\n\t\ttxtprofisao.setText(null);\n\t\ttxtloginuser.setText(null);\n\t\ttxtsenhauser.setText(null);\n\t\t\n\t\t//Desativando os campos\n\t\ttxtnomeuser.setEditable(false);\n\t\ttxtcpfuser.setEditable(false);\n\t\ttxtprofisao.setEditable(false);\n\t\ttxtloginuser.setEditable(false);\n\t\ttxtsenhauser.setEditable(false);\n\t}", "title": "" }, { "docid": "c581c54bb76ca67eb5348a0d7fbf4916", "score": "0.59388036", "text": "private void populateFields() {\r\n\t\tTextView nameField = (TextView) findViewById(R.id.student_name_field);\r\n\t\tnameField.setText(curStudent.getLastName() + \", \"\r\n\t\t\t\t+ curStudent.getFirstName());\r\n\r\n\t\tTextView lastActionText = (TextView) findViewById(R.id.last_action_field);\r\n\t\tlastActionText.setText(lastAction());\r\n\r\n\t\tTextView gradeField = (TextView) findViewById(R.id.student_grade_field);\r\n\t\tgradeField.setText(curStudent.getGrade() + \"\");\r\n\r\n\t\tTextView phoneContField = (TextView) findViewById(R.id.phone_contact_field);\r\n\t\tphoneContField.setText(curStudent.getPhone());\r\n\r\n\t\tTextView contactField = (TextView) findViewById(R.id.contact_relation_field);\r\n\t\tcontactField.setText(curStudent.getContactRelation());\r\n\r\n\t\tTextView contactRelField = (TextView) findViewById(R.id.contact_field);\r\n\t\tcontactRelField.setText(curStudent.getContact());\r\n\r\n\t\tTextView addressContField = (TextView) findViewById(R.id.address_contact_field);\r\n\t\taddressContField.setText(curStudent.getAddress());\r\n\r\n\t}", "title": "" }, { "docid": "0518d57d1565dfbea1438a4d62fe2cb1", "score": "0.5937371", "text": "private void limpiarForm() {\r\n txtNombreProducto.setText(null);\r\n txtPrecioProducto.setText(null);\r\n spinCantidadProducto.setValue(0);\r\n }", "title": "" }, { "docid": "18b41c7bee70aafdf16c91c41f701474", "score": "0.59285015", "text": "public void setInputs() {\r\n String id = tUsername.getText();\r\n String password = tPassword.getText();\r\n String nickname = tNickname.getText();\r\n System.out.println(\"register id:\" + id + \", password: \" + password + \", nickname: \" + nickname);\r\n model.setInputs(id, password, nickname);\r\n }", "title": "" }, { "docid": "5bcb9408a08a519ad6c31696346f7bc2", "score": "0.5921255", "text": "public Formulario() {\n initComponents();\n setLocationRelativeTo(null);\n\n asociados_list.removeAllItems();\n ArrayList<String> tmp = principal.db.getAsociables();\n for (String item : tmp) {\n asociados_list.addItem(item);\n }\n }", "title": "" }, { "docid": "b4c71ff6b06391322a067331a379a168", "score": "0.5912605", "text": "public void getFields(){\n\t\tfieldFullname = (EditText) findViewById(R.id.fullnameText);\n\t\temailAdres = (EditText) findViewById(R.id.emailText);\n\t\tcomplaint = (EditText) findViewById(R.id.complaintText);\n\t\t\n\t\tgroup = (RadioGroup) findViewById(R.id.company_choice);\n\t\t\n\t\tint id= group.getCheckedRadioButtonId();\n\t\tView radioButton = group.findViewById(id);\n\t\tint radioId = group.indexOfChild(radioButton);\n\t\tchoiceButton = (RadioButton) group.getChildAt(radioId);\n\t}", "title": "" }, { "docid": "dbae221e6169e835c911e054886b50ff", "score": "0.59066546", "text": "private void limparCampos() {\n txtData.setText(\"\");\n txtProjeto.setText(\"\");\n txtTecnico.setText(\"\");\n txtQtd.setText(\"\");\n txtUn.setText(\"\");\n// tblOS.clearSelection();\n lstMateriais.clearSelection();\n try {\n atualizarComboCliente();\n cboCliente.setSelectedIndex(-1);\n atualizarComboEquipamento();\n cboEquipamento.setSelectedIndex(-1);\n atualizarComboMaterial();\n cboMaterial.setSelectedIndex(-1);\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(this, ex.getMessage());\n }\n }", "title": "" }, { "docid": "31db59244364742690f517b03bb59f0f", "score": "0.5893078", "text": "public FrmMatricularEstudiante() {\n initComponents();\n cargarCombos();\n }", "title": "" }, { "docid": "98c2e40280b8b52bed3486381cb3a8e9", "score": "0.5884343", "text": "public FormularioMarca() {\n initComponents();\n }", "title": "" }, { "docid": "dba04b95c4558219a9c2ab1de0583fbd", "score": "0.58842236", "text": "public ConsultasPatrimonioForm() {\n tiposConsulta = ObservableCollections.observableList(Arrays.asList(TipoConsultaPatrimonio.values()));\n initComponents();\n }", "title": "" }, { "docid": "795a7f677709747b27a04d6860d5f5a9", "score": "0.58746576", "text": "private void camposCargar() {\n if (jTableIngresos.getSelectedRow() > -1) {\n if (jTableIngresos.getValueAt(jTableIngresos.getSelectedRow(), 0) != null) {\n unIngresoSeleccionado = unaControladoraGlobal.getIngresoOtroBD((Long) jTableIngresos.getValueAt(jTableIngresos.getSelectedRow(), 0));\n \n camposLimpiar();\n \n jDateChooserFecha.setDate((unIngresoSeleccionado.getFecha()));\n jTextFieldMonto.setText(String.valueOf(unIngresoSeleccionado.getMonto()));\n jTextPaneDetalle.setText(unIngresoSeleccionado.getDetalle());\n jComboBoxConceptoIngreso.setSelectedItem(unIngresoSeleccionado.getUnConceptoIngreso());\n \n camposActivo(false);\n jButtonEditar.setEnabled(true);\n jButtonEliminar.setEnabled(true);\n }\n }\n }", "title": "" }, { "docid": "efe9c17f23c211a099582662e738191f", "score": "0.5869414", "text": "private void resetAllFields() {\n idField.setText(\"\");\n fNameField.setText(\"\");\n lNameField.setText(\"\");\n emailField.setText(\"\");\n addressField.setText(\"\");\n birthDatePicker.setValue(null);\n typeChoiceBox.setValue(null);\n passField.setText(\"\");\n retypePassField.setText(\"\");\n usersTable.getSelectionModel().select(null);\n resetBorders();\n }", "title": "" }, { "docid": "596363edc07ff135cbfe98d64692816d", "score": "0.58632547", "text": "public TblComprobanteDonacionForm() {\r\n }", "title": "" }, { "docid": "bbe9a6c946dd292184b3ac0455a8c427", "score": "0.58602935", "text": "@Override\n public void carregaCampos() {\n cbxCliente.setSelectedItem(entidade.getAliado());\n cbxMoto.setSelectedItem(entidade.getVeiculo());\n txtData.setText(String.valueOf(formatarDate.format(entidade.getData())));\n txtPago.setText(String.valueOf(entidade.getValor_pago()));\n txtTroco.setText(\"0\");\n txtValorTotal.setText(String.valueOf(entidade.getValor()));\n txtVencimento.setText(String.valueOf(formatarDate.format(entidade.getVencimento())));\n rolParcelas.setValue(entidade.getParcelas());\n preencheTabela(entidade.getPecas());\n pecas = entidade.getPecas();\n if(entidade.getValor() <= entidade.getValor_pago()){\n txtRestante.setText(\"0\");\n txtParc.setText(\"0\");\n }else{ \n txtRestante.setText(String.valueOf(entidade.getValor() - entidade.getValor_pago()));\n txtParc.setText(String.valueOf((entidade.getValor() - entidade.getValor_pago()) / entidade.getParcelas()));\n }\n \n \n preencheTabela1(entidade.getServicos());\n }", "title": "" }, { "docid": "b58fca0953c1e25a997184ca4b437518", "score": "0.5855571", "text": "@AutoGenerated\n\tprivate GridLayout buildFields() {\n\t\tfields = new GridLayout(6, 6);\n\t\tfields.setImmediate(false);\n\t\tfields.setWidth(\"100.0%\");\n\t\tfields.setHeight(\"-1px\");\n\t\tfields.setMargin(false);\n\t\tfields.setSpacing(true);\n\n\t\ttxtNome = ComponentUtil.buildTextField(\"Nome\");\n\t\tfields.addComponent(txtNome, 0, 0);\n\n\t\ttxtDescricao = ComponentUtil.buildTextField(\"Descrição\");\n\t\tfields.addComponent(txtDescricao, 1, 0, 4, 0);\n\n\t\ttxtSerie = ComponentUtil.buildTextField(\"Série\");\n\t\ttxtSerie.setMaxLength(3);\n\t\tfields.addComponent(txtSerie, 0, 1);\n\n\t\ttxtUltimoNumero = ComponentUtil.buildNumericField(\"Último Número\");\n\t\tfields.addComponent(txtUltimoNumero, 1, 1);\n\n\t\treturn fields;\n\n\t}", "title": "" }, { "docid": "ddd68739cf00801654485f363aef82ee", "score": "0.585505", "text": "protected void setPropertyFields()\n {\n // Get the format string spec from the UI model properties.\n\n if (props != null)\n {\n }\n }", "title": "" }, { "docid": "2ccf2c4283507cea0c3ee02dd3fdfa2c", "score": "0.58436066", "text": "@Override\n public Object getDataForm() {\n \n produto.setDescricao(txtDescricao.getText());\n produto.setBarcode(txtCodigoBarras.getText());\n \n produto.setAtivo(chbAtivo.isSelected());\n produto.setPrecoCompra(txtPrecoCompra.getText().replace(',', '.'));\n produto.setPrecoVenda(txtPrecoVenda.getText().replace(',', '.'));\n produto.setDataCadastro(dtcDataCadastro.getDate());\n produto.setEstoqueMinimo(txtEstoqueMinimo.getText().replace(',', '.'));\n produto.setQuantidadeEstoque(txtQuantidadeEstoque.getText().replace(',', '.'));\n produto.setUnidade(cmbUnidade.getSelectedItem().toString());\n \n return produto;\n }", "title": "" }, { "docid": "6608d02d6b8e822d6c2921c022f35374", "score": "0.5820543", "text": "public void limpiarCamposEgresado() {\n\n\t\tjTPPestanas.setSelectedIndex(0);\n\t\tjTPPestanas.setEnabledAt(1, false);\n\t\tjLPaso.setText(\"1\");\n\t\tjTFNombres.setText(null);\n\t\tjTFPrimerApellido.setText(null);\n\t\tjTFSegundoApellido.setText(null);\n\t\tjTFPrefijo.setText(\"00\");\n\t\tjTFNumero.setText(null);\n\t\tjTFExtension.setText(\"00\");\n\t\tjCBTipoDocumento.setSelectedIndex(0);\n\t\tjTFNumeroDocumento.setText(null);\n\t\tjCBGenero.setSelectedIndex(0);\n\t\tjCBTipoTelefono.setSelectedIndex(0);\n\t\tjTFCorreoElectronico.setText(null);\n\t\tjCBTipoCorreo.setSelectedIndex(0);\n\t\tjCBFacultad.setSelectedIndex(0);\n\t\tjCBPrograma.setSelectedIndex(0);\n\t\tjCBNivelEducativo.setSelectedIndex(0);\n\t\tjTFNivelAcademico.setText(null);\n\t\tjYCAnio.setYear(2016);\n\t\tjMCMes.setMonth(0);\n\t\tjTFNumeroDiploma.setText(null);\n\n\t}", "title": "" }, { "docid": "c5d28f29ffbe98e7995ba38f4ad071d5", "score": "0.5811805", "text": "public Formulario() {\n initComponents();\n }", "title": "" }, { "docid": "9b90c5a99d064fb49804b3a17bcde397", "score": "0.58074397", "text": "private void limpiarFormulario()\r\n/* 1662: */ {\r\n/* 1663:1546 */ limpiarDestinatario();\r\n/* 1664:1547 */ this.modeloDatosAdicionales.deleteAllRows();\r\n/* 1665: */ \r\n/* 1666:1549 */ this.txtCedulaTrans.setText(null);\r\n/* 1667:1550 */ this.txtRazonSocTrans.setText(null);\r\n/* 1668:1551 */ this.transportistaSeleccionado = null;\r\n/* 1669:1552 */ this.txtPlaca.setText(null);\r\n/* 1670:1553 */ this.txtDirecPartida.setText(null);\r\n/* 1671: */ \r\n/* 1672:1555 */ this.btnFirmarProcesar.setEnabled(false);\r\n/* 1673:1556 */ this.btnGuardar.setEnabled(false);\r\n/* 1674: */ }", "title": "" }, { "docid": "4b1e8122a887988432f1d1f35062852d", "score": "0.58051056", "text": "public JFrmRelatorioDataPedido() {\n initComponents();\n }", "title": "" }, { "docid": "29f6a1cd5a7d0ec6a28e6039655f9c00", "score": "0.577961", "text": "private void saisiFields(){\n _fieldsSaisi = ConsoleReader.readString(\"Quel champ de la table voulez-vous utiliser? \");\n fields.add(_fieldsSaisi);\n }", "title": "" }, { "docid": "cda69a8832d52d387d2cdfa1d7b4f19d", "score": "0.57683176", "text": "private void updateFields(User cs) {\n idField.setText(Integer.toString(cs.getId()));\n fNameField.setText(cs.getFname());\n lNameField.setText(cs.getLname());\n birthDatePicker.setValue(cs.getDateBirth().toLocalDate());\n emailField.setText(cs.getEmail());\n addressField.setText(cs.getAddress());\n typeChoiceBox.setValue(cs.getType());\n }", "title": "" }, { "docid": "c2a0c93bfdf85f378dbe89bc79c20186", "score": "0.5767735", "text": "public void clearfields()\r\n\t{\r\n\t\t//sets all the fields to blank\r\n\t\tpps.setEditable(true);\r\n\t\tpps.setText(null);\r\n\t\tname.setText(null);\r\n\t\taddress.setText(null);\r\n\t\tcontactInfo.setText(null);\r\n\t}", "title": "" }, { "docid": "fb1f83045156b8387b8408104b3d2146", "score": "0.57627916", "text": "private void fillTheTextFields(Eleve theEleve)\n\t{\n\t\ttxbNom.setText(theEleve.getNom());\n\t\ttxbPrenom.setText(theEleve.getPrenom());\n\t\ttxbDateNaiss.setText(theEleve.getDateNaiss());\n\t}", "title": "" }, { "docid": "d69a4def6e9060d355a89c8ae1175222", "score": "0.57477283", "text": "private void refreshAllFields(){\n mNameEt.setText(\"\");\n mAgeEt.setText(\"\");\n mPhoneEt.setText(\"\");\n mCityEt.setText(\"\");\n }", "title": "" }, { "docid": "a376b6f5ee1b3a131f53b087f8c8d335", "score": "0.57456934", "text": "private void limpiarCamposdeTexto() {\n campoTextoRut.clear();\n campoTextoNombre.clear();\n campoTextoCorreoOpcional.clear();\n campoTextoRazonSocial.clear();\n campoTextoDireccion.clear();\n campoTextoTelefono.clear();\n campoTextoTelefonoOpcional.clear();\n campoTextoRut.setPromptText(\"\");\n campoTextoNombre.setPromptText(\"\");\n campoTextoCorreoOpcional.setPromptText(\"\");\n campoTextoRazonSocial.setPromptText(\"\");\n campoTextoDireccion.setPromptText(\"\");\n campoTextoTelefono.setPromptText(\"\");\n campoTextoTelefonoOpcional.setPromptText(\"\");\n }", "title": "" }, { "docid": "906b3b0be6b3e9e7c779d572871f04f6", "score": "0.5737786", "text": "public void populateFields ()\n {\n if (nameField != null) {\n addName(nameField);\n }\n if (versionField != null) {\n addVersion(versionField);\n }\n if (archField != null) {\n addArch(archField);\n }\n if (descriptionField != null) {\n addDescription(descriptionField);\n }\n if (maintainerField != null) {\n addMaintainer(maintainerField);\n }\n if (priorityField != null) {\n addPriority(priorityField);\n }\n if (sectionField != null) {\n addSection(sectionField);\n }\n }", "title": "" }, { "docid": "060ee11e1254185d4905200c59b51ccf", "score": "0.5729723", "text": "public FormRoupa() {\n super();\n }", "title": "" }, { "docid": "64fc76fac4a679fb56053c7e49feda82", "score": "0.5726102", "text": "private void clearFields(){\n\t\tfNameTxt.setText(\"\");\n\t\tlNameTxt.setText(\"\");\n\t\temailTxt.setText(\"\");\n\t}", "title": "" }, { "docid": "a6304252c437365ec49dbb67068f419b", "score": "0.5711832", "text": "public void setFormatoCampos()\n {\n for (int n=0;n<this.getColumnCount();n++)\n {\n try {\n if (Class.forName(\"gnu.chu.controles.CTextField\").isAssignableFrom(campos.get(n).getClass())) \n {\n if (((CTextField) campos.get(n)).getTipoCampo() == Types.DECIMAL) { \n setFormatoColumna(n, ((CTextField) campos.get(n)).getFormato());\n }\n if (((CTextField) campos.get(n)).getTipoCampo() == Types.DATE) {\n setFormatoColumna(n, ((CTextField) campos.get(n)).getFormato());\n }\n }\n if (Class.forName(\"gnu.chu.controles.CCheckBox\").isAssignableFrom(campos.get(n).getClass())) \n { \n setFormatoColumna(n, \"B\"+((CCheckBox) campos.get(n)).getCharSelect()+\n ((CCheckBox) campos.get(n)).getCharNoSelect());\n }\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(CGridEditable.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n\n }", "title": "" }, { "docid": "6972e1a87ee93b8894e9c71154699d14", "score": "0.5710372", "text": "private void initFields() {\n\t\t// Initialize the text fields\n\t\tfirstName = new TextField();\n\t\tlastName = new TextField();\n\t\tpasswordA = new TextField();\n\t\tpasswordB = new TextField();\n\t\t// Set the prompt texts\n\t\tfirstName.setPromptText(\"First Name\");\n\t\tlastName.setPromptText(\"Last Name\");\n\t\tpasswordA.setPromptText(\"Employee Password\");\n\t\tpasswordB.setPromptText(\"Confirm Employee Password\");\n\n\t}", "title": "" }, { "docid": "7204bd4c1e17b6ca16142332764d2996", "score": "0.5706598", "text": "public formPasien() {\n initComponents();\n dataTable();\n }", "title": "" }, { "docid": "5c2ff7209cea8645e220d6f2ce525f30", "score": "0.5704584", "text": "public FrmPanelRelatorios() {\n initComponents();\n }", "title": "" }, { "docid": "c15fe18c9f07b9fb32904be9adb02804", "score": "0.5701751", "text": "public formbuku() {\n initComponents();\n datatable();\n rng_kode();\n }", "title": "" }, { "docid": "9e77cb7350ca1dc9e674b75a95a06978", "score": "0.5699453", "text": "private void preenchePersonagem() {\n String nome = campoNome.getText().toString();\n String altura = campoAltura.getText().toString();\n String nascimento = campoNascimento.getText().toString();\n\n //atrelando variaves a propriedade correta\n personagem.setNome(nome);\n personagem.setAltura(altura);\n personagem.setNascimento(nascimento);\n }", "title": "" }, { "docid": "dd11164a2898ec1094bb326a639e3216", "score": "0.5697792", "text": "private static void resetFields() {\n tf_name.setEnabled(true);\n tf_name.setText(\"\");\n tf_title.setText(\"\");\n tf_info.setText(\"\");\n tf_path.setText(\"\");\n cb_bgColor.setSelectedItem(\"white\");\n cb_titleColor.setSelectedItem(\"black\");\n cb_infoColor.setSelectedItem(\"gray\");\n rb_url.setSelected(false);\n rb_file.setSelected(true);\n b_fileSelect.setEnabled(true);\n }", "title": "" }, { "docid": "510e3f30299f9a620883c770ced7f0ad", "score": "0.5694907", "text": "public void clearFields(){\n etName.setText(\"\");\n etCPF.setText(\"\");\n etCEP.setText(\"\");\n etAddress.setText(\"\");\n spnUF.setSelection(0);\n rbSexOther.setChecked(true);\n\n etName.requestFocus();\n }", "title": "" }, { "docid": "c723935602a87635a1447bb95a874cb9", "score": "0.5690163", "text": "public FrmPersona() {\n initComponents();\n \n \n }", "title": "" }, { "docid": "99abf3302e43e465b04f5f073da1825a", "score": "0.568038", "text": "public void limpiarCampos(){\n nombre.setText(\"\");\n nit.setText(\"\");\n }", "title": "" }, { "docid": "d7acee9780788c2efa49c02bba732f5c", "score": "0.56788373", "text": "public FormEndereco() {\n initComponents();\n }", "title": "" }, { "docid": "163c8506999554faf505a59cedc0e693", "score": "0.56766325", "text": "protected void initInputFields(){\n tfHeight = new GenTextField();\n tfHeight.setMaxWidth(70);\n tfHeight.setFont(Font.font(\"Verdana\", 12));\n tfWidth = new GenTextField();\n tfWidth.setMaxWidth(70);\n tfWidth.setFont(Font.font(\"Verdana\", 12));\n generateButton = new Button(\"Generate\");\n generateButton.setFont(Font.font(\"Verdana\", 14));\n generateButton.setTextFill(Color.DARKBLUE);\n\n }", "title": "" }, { "docid": "bfa882313a99a3e7089e9fdc9628cc05", "score": "0.5673063", "text": "private void rellenarFormulario(int indice){\r\n\t\tmodificar = true;\r\n\t\tgetNombre().setText(fichero1.getLista().get(indice).getNombre());\r\n\t\tgetApellidos().setText(fichero1.getLista().get(indice).getApellidos());\r\n\t\tgetGenero().setText(fichero1.getLista().get(indice).getGenero());\r\n\t\tgetPais().setText(fichero1.getLista().get(indice).getPais());\r\n\t\tString cadena = \"Registro \"+indice+\" de \"+fichero1.getLista().size();\r\n\t\tgetLblEstado().setText(cadena); //excepcion\r\n\t}", "title": "" }, { "docid": "11c57f0cb484d0f3b7170e449fcb9ded", "score": "0.5670953", "text": "public ItemPedidoForm() {\n initComponents();\n }", "title": "" }, { "docid": "26310596305c60435bbdf79d23ec332e", "score": "0.5670716", "text": "private void obtener(){\n u.setnombre(txtcuenta.getText());\n u.setclave(txtclave.getText());\n u.setempleado(cbempleado.getSelectedIndex());\n \n }", "title": "" }, { "docid": "baa9a5d1c48307fa9683c030ca22f66f", "score": "0.5668298", "text": "protected void initForm() {\n }", "title": "" }, { "docid": "8ed564f1235a04d75a176e25da01987a", "score": "0.566232", "text": "protected void fillForm(Part part) {\n idField.setText(String.valueOf(part.getId()));\n nameField.setText(part.getName());\n invField.setText(String.valueOf(part.getStock()));\n priceField.setText(formatDoubleField(part.getPrice()));\n maxField.setText(String.valueOf(part.getMax()));\n minField.setText(String.valueOf(part.getMin()));\n\n if (part instanceof Outsourced) {\n extraField.setText(((Outsourced) part).getCompanyName());\n setOutsourced();\n toggleGroup.selectToggle(outsourcedRadioButton);\n } else {\n extraField.setText(String.valueOf(((InHouse) part).getMachineId()));\n setInHouse();\n toggleGroup.selectToggle(inHouseRadioButton);\n }\n }", "title": "" }, { "docid": "b63b93ddb90c858a4407dd50afe1f809", "score": "0.5661387", "text": "private void limparDados() {\n // TODO add your handling code here:\n\n //Codigo para Limpar Campos de Preenchimento \n txCodigoFuncionario.setText(\"\");\n txNome.setText(\"\");\n grupoSexo.clearSelection();\n txDataNascimento.setText(\"\");\n txRG.setText(\"\");\n txCPF.setText(\"\");\n txCodigoEndereco.setText(\"\");\n txRua.setText(\"\");\n txNumero.setText(\"\");\n txComplemento.setText(\"\");\n txBairro.setText(\"\");\n txCidade.setText(\"\");\n txEstado.setText(\"\");\n txPais.setText(\"\");\n txCEP.setText(\"\");\n txTelefoneRes.setText(\"\");\n txTelefoneCel.setText(\"\");\n txEmail.setText(\"\");\n txSalario.setText(\"\");\n txDataAdmissao.setText(\"\");\n txFuncao.setText(\"\");\n txLogin.setText(\"\");\n txSenha.setText(\"\");\n }", "title": "" }, { "docid": "c2495bba1cdcdc0607b077de34d6a3e4", "score": "0.5657952", "text": "public void populateFields() {\n //Get product being modified\n Product productToModify = Inventory.getAllProducts().get(indexOfProduct);\n //Sets data\n productId = productToModify.getId();\n modifyProductIdTF.setText(String.valueOf(productId));\n modifyProductIdTF.setDisable(true);\n modifyProductNameTF.setText(productToModify.getName());\n modifyProductInvTF.setText(Integer.toString(productToModify.getStock()));\n modifyProductPriceTF.setText(Double.toString(productToModify.getPrice()));\n modifyProductMaxTF.setText(Integer.toString(productToModify.getMax()));\n modifyProductMinTF.setText(Integer.toString(productToModify.getMin()));\n }", "title": "" }, { "docid": "12c4a01624669deecbb4bb618aff685f", "score": "0.56574315", "text": "private void caregardados() {\n if (nfe != null) {\n jTextFieldVenda.setText(String.valueOf(nfe.getVenda()));\n jTextFieldChaveAcesso.setText(nfe.getChaveAcesso());\n }\n }", "title": "" }, { "docid": "b9e5f98939d0596130230d7fd5f23953", "score": "0.56532043", "text": "private void fillFields(Productor productor) {\n\t\tnombreTxtbx.setValue(productor.getNombre_productor());\n\t}", "title": "" }, { "docid": "dac7bd164d748dea64b13a95369c5add", "score": "0.5648357", "text": "public FrmTransferenciaCuentas() {\n initComponents();\n \n }", "title": "" }, { "docid": "fddaf8ab9ed23f6060712375283d0906", "score": "0.56424564", "text": "public void cleanFields() \n {\n\t userNameField.setText(\"\");\n\t passwordField.setText(\"\"); \n\t confirmPasswordField.setText(\"\"); \n\t loadEmployees();\n\t emailField.setText(\"\"); \n }", "title": "" }, { "docid": "5ae61ec4569d85509ef087f9268e4fe7", "score": "0.563349", "text": "@Override\n public void resetTextFields() {\n }", "title": "" }, { "docid": "669659476f225b6e2f01759b9d767f63", "score": "0.56316507", "text": "protected abstract void fillFields();", "title": "" }, { "docid": "f05340cdd2ffddc30d107900531875f6", "score": "0.5623493", "text": "public FrmArticulos() {\n initComponents();\n }", "title": "" }, { "docid": "6df7a8ce34c0380eca0608e2f32f79ad", "score": "0.5621067", "text": "public FormPrincial() {\n initComponents();\n }", "title": "" }, { "docid": "adc47e37601b6e46d1b38e451bfe0b02", "score": "0.5615733", "text": "@Override\n\tpublic void createFields() {\n\t\t@SuppressWarnings(\"rawtypes\")\n\t\tField field;\n\n\t\tfield = new TextField(\"Sigla\");\n\t\tfield.focus();\n\t\taddField(Lettera_.sigla, field);\n\n\t\tfield = new TextField(\"Oggetto\");\n\t\tfield.setWidth(\"500px\");\n\t\taddField(Lettera_.oggetto, field);\n\n\t\tTextArea aField = new TextArea(\"Testo\");\n\t\taField.setColumns(54);\n\t\taField.setRows(24);\n\t\taddField(Lettera_.testo, aField);\n\t\t\n\t\tCheckBoxField htmlField = new CheckBoxField(\"Testo HTML\");\n\t\taddField(Lettera_.html, htmlField);\n\n\t\tfield = new TextField(\"Allegati (elenco nomi dei file separati da virgola)\");\n\t\tfield.setWidth(\"350px\");\n\t\taddField(Lettera_.allegati, field);\n\t\t\n\t}", "title": "" }, { "docid": "3aa3a4a554095ec6b29aee16d8ce77c4", "score": "0.56146157", "text": "@Override\r\n\tpublic FormularioDadosCRUD<KSolucao> definirFormularioCadastro() {\n\t\treturn new FormDadosKSolucao();\r\n\t}", "title": "" }, { "docid": "a87a17c9160409f631be260c69519b74", "score": "0.5614557", "text": "public FrmPretragaPartnera() {\n initComponents();\n srediFormu();\n }", "title": "" }, { "docid": "9066bbb105860bf6bf81c1de6edb207f", "score": "0.56144404", "text": "private void fillMandatoryFields_custom() {\n\n }", "title": "" }, { "docid": "1cbe7155378bb8377aab7b92de880685", "score": "0.56086916", "text": "public void editar(PersonaMD per) {\n //Seteamos los datos en el formulario \n boolean discapacidad;\n idPersona = per.getIdPersona();\n System.out.println(\"id\" + idPersona);\n editar = true;\n String cedula;\n cedula = per.getIdentificacion();\n\n Date fecha = new Date();\n Calendar fecha_Nacimiento = Calendar.getInstance();\n fecha_Nacimiento.clear();\n fecha_Nacimiento.set(per.getFechaNacimiento().getYear(), per.getFechaNacimiento().getMonthValue() - 1, per.getFechaNacimiento().getDayOfMonth());\n\n if (modelo.validaciones.Validar.esCedula(cedula) == true) {\n frmPersona.getCmbTipoId().setSelectedItem(\"CEDULA\");\n } else {\n frmPersona.getCmbTipoId().setSelectedItem(\"PASAPORTE\");\n }\n frmPersona.getTxtIdentificacion().setEnabled(true);\n //frmPersona.getCmbTipoId().setSelectedItem(per.getIdPersona());\n frmPersona.getTxtIdentificacion().setText(per.getIdentificacion());\n frmPersona.getTxtCallePrincipal().setText(per.getCallePrincipal());\n frmPersona.getTxtCalleSecundaria().setText(per.getCalleSecundaria());\n frmPersona.getTxtCelular().setText(per.getCelular());\n frmPersona.getTxtCorreo().setText(per.getCorreo());\n frmPersona.getTxtNumeroCasa().setText(per.getNumeroCasa());\n frmPersona.getTxtPrimerApellido().setText(per.getPrimerApellido());\n frmPersona.getTxtPrimerNombre().setText(per.getPrimerNombre());\n frmPersona.getTxtReferencia().setText(per.getReferencia());\n frmPersona.getTxtSector().setText(per.getSector());\n frmPersona.getTxtSegundoApellido().setText(per.getSegundoApellido());\n frmPersona.getTxtSegundoNombre().setText(per.getSegundoNombre());\n frmPersona.getTxtTelefono().setText(per.getTelefono());\n //frmPersona.getJdfechaNacimiento().setDate(fecha);\n if (per.getEstadoCivil() == null) {\n frmPersona.getCmbEstadoCivil().setSelectedItem(\"SELECCIONE\");\n } else {\n frmPersona.getCmbEstadoCivil().setSelectedItem(per.getEstadoCivil());\n }\n //Discapacidad\n if (per.isDiscapacidad() == false) {\n activarDiscapacidad();\n frmPersona.getCbxDiscapacidad().setSelected(false);\n frmPersona.getCmbTipoDiscapacidad().setSelectedItem(\"SELECCIONE\");\n frmPersona.getTxtCarnetConadis().setText(\"\");\n frmPersona.getTxtPorcentaje().setText(\"\");\n } else {\n\n frmPersona.getCbxDiscapacidad().setSelected(per.isDiscapacidad());\n activarDiscapacidad();\n frmPersona.getCmbTipoDiscapacidad().setSelectedItem(per.getTipoDiscapacidad());\n frmPersona.getTxtCarnetConadis().setText(per.getCarnetConadis());\n frmPersona.getTxtPorcentaje().setText(per.getPorcentajeDiscapacidad() + \"\");\n }\n\n if (per.getIdiomaRaiz() == null) {\n frmPersona.getCmbIdiomas().setSelectedItem(\"SELECCIONE\");\n } else {\n frmPersona.getCmbIdiomas().setSelectedItem(per.getIdiomaRaiz());\n }\n\n if (per.getCategoriaMigratoria() == null) {\n frmPersona.getCmbCategoriaMigratoria().setSelectedItem(\"SELECCIONE\");\n } else {\n frmPersona.getCbxCategoriaMigratoria().isSelected();\n activarCategoriaMigratoria();\n frmPersona.getCmbCategoriaMigratoria().setSelectedItem(per.getCategoriaMigratoria());\n }\n\n // frmPersona.getJdcFechaNacimiento().setSelectedDate(fecha_Nacimiento);\n frmPersona.getJdfechaNacimiento().setCalendar(fecha_Nacimiento);\n String sexo = per.getSexo() + \"\";\n if (\"H\".equals(sexo)) {\n sexo = \"HOMBRE\";\n } else {\n sexo = \"MUJER\";\n }\n frmPersona.getCmbSexo().setSelectedItem(sexo);\n\n frmPersona.getCmbTipoSangre().setSelectedItem(per.getTipoSangre().trim());\n frmPersona.getCmbGenero().setSelectedItem(per.getGenero());\n frmPersona.getCmbEtnia().setSelectedItem(per.getEtnia());\n frmPersona.getCmbTipoResidencia().setSelectedItem(per.getTipoResidencia());\n //Codigo postal\n frmPersona.getCmbNacionalidad().setSelectedItem(per.getLugarNatal());\n frmPersona.getCmbProvincia().setSelectedItem(per.getLugarNatal());\n frmPersona.getCmbCanton().setSelectedItem(per.getLugarNatal());\n\n frmPersona.getCmbProvinciaReside().setSelectedItem(per.getLugarResidencia());\n frmPersona.getCmbParroquiaReside().setSelectedItem(per.getLugarResidencia());\n frmPersona.getCmbPaisReside().setSelectedItem(per.getLugarResidencia());\n frmPersona.getCmbCantonReside().setSelectedItem(per.getLugarResidencia());\n\n //Cargar foto\n if (per.getFoto() != null) {\n Image icono = per.getFoto().getScaledInstance(frmPersona.getLblFoto().getWidth(),\n frmPersona.getLblFoto().getHeight(), Image.SCALE_SMOOTH);\n frmPersona.getLblFoto().setIcon(new ImageIcon(icono));\n frmPersona.getLblFoto().updateUI();\n } else {\n //Si existe uan foto la borramos \n frmPersona.getLblFoto().setIcon(null);\n frmPersona.getLblFoto().updateUI();\n }\n //Cargamos los combos de lugar \n int nvlLugarNac = 0;\n if (per.getLugarNatal() != null) {\n nvlLugarNac = Integer.parseInt(per.getLugarNatal().getNivel());\n }\n String ciudad = null, distrito = null;\n if (nvlLugarNac == 3) {\n //Guardamos el nombre del ciudad/canton para luego selecionarlo\n ciudad = per.getLugarNatal().getNombre();\n per.setLugarNatal(LBD.buscar(per.getLugarNatal().getIdReferencia()));\n }\n //Ahora preguntamos nuevamente el nivel del lugar \n nvlLugarNac = Integer.parseInt(per.getLugarNatal().getNivel());\n if (nvlLugarNac == 2) {\n //Guardamos el nombre del distrito/provincia para luego selecionarlo\n distrito = per.getLugarNatal().getNombre();\n per.setLugarNatal(LBD.buscar(per.getLugarNatal().getIdReferencia()));\n }\n //Ahora preguntamos nuevamente el nivel \n nvlLugarNac = Integer.parseInt(per.getLugarNatal().getNivel());\n if (nvlLugarNac == 1) {\n cargarPaises();\n frmPersona.getCmbNacionalidad().setSelectedItem(per.getLugarNatal().getNombre());\n //Seteamos el nuevo lugar de una\n if (distrito != null) {\n frmPersona.getCmbProvincia().setSelectedItem(distrito);\n }\n if (ciudad != null) {\n frmPersona.getCmbCanton().setSelectedItem(ciudad);\n }\n }\n int nvlLugarRes;\n System.out.println(\"Nivel de lugar residencia \" + per.getLugarResidencia().getNivel());\n if (per.getLugarResidencia().getNivel() == null) {\n nvlLugarRes = 0;\n } else {\n nvlLugarRes = Integer.parseInt(per.getLugarResidencia().getNivel());\n }\n String parroquia = null, canton = null, provincia = null;\n if (nvlLugarRes == 4) {\n //Guardamos el nombre del parroquia para luego selecionarlo\n parroquia = per.getLugarResidencia().getNombre();\n per.setLugarResidencia(LBD.buscar(per.getLugarResidencia().getIdReferencia()));\n }\n //Ahora preguntamos nuevamente el nivel del lugar \n if (per.getLugarResidencia().getNivel() == null) {\n nvlLugarRes = 0;\n } else {\n nvlLugarRes = Integer.parseInt(per.getLugarResidencia().getNivel());\n }\n if (nvlLugarRes == 3) {\n //Guardamos el nombre del canton para luego selecionarlo\n canton = per.getLugarResidencia().getNombre();\n per.setLugarResidencia(LBD.buscar(per.getLugarResidencia().getIdReferencia()));\n }\n //Ahora preguntamos nuevamente el nivel del lugar \n if (per.getLugarResidencia().getNivel() == null) {\n nvlLugarRes = 0;\n } else {\n nvlLugarRes = Integer.parseInt(per.getLugarResidencia().getNivel());\n }\n if (nvlLugarRes == 2) {\n //Guardamos el nombre del provincia para luego selecionarlo\n provincia = per.getLugarResidencia().getNombre();\n per.setLugarResidencia(LBD.buscar(per.getLugarResidencia().getIdReferencia()));\n }\n //Ahora preguntamos nuevamente el nivel \n if (per.getLugarResidencia().getNivel() == null) {\n nvlLugarRes = 0;\n } else {\n nvlLugarRes = Integer.parseInt(per.getLugarResidencia().getNivel());\n }\n System.out.println(\"Pais reside \" + per.getLugarResidencia().getNombre());\n if (nvlLugarRes == 1) {\n frmPersona.getCmbPaisReside().setSelectedItem(per.getLugarResidencia().getNombre());\n //Seteamos el nuevo lugar de una\n if (provincia != null) {\n frmPersona.getCmbProvinciaReside().setSelectedItem(provincia);\n }\n if (canton != null) {\n frmPersona.getCmbCantonReside().setSelectedItem(canton);\n }\n if (parroquia != null) {\n frmPersona.getCmbParroquiaReside().setSelectedItem(parroquia);\n }\n }\n iniciarValidaciones();\n }", "title": "" }, { "docid": "0aacd0bcab4659d53c1fb41534ce91b5", "score": "0.5606123", "text": "public void resetFields(){\n this.bdDatePicker.setValue(null);\n this.nameField.setText(null);\n this.surnameField.setText(null);\n this.phoneNumberField.setText(null);\n this.birthCertificateNumberField.setText(null);\n this.genderBox.getSelectionModel().select(null);\n }", "title": "" }, { "docid": "ae58b35118eb52d66014fa532a9a388a", "score": "0.5597433", "text": "private void clearFields() {\r\n txt_BuildingName.clear();\r\n txt_BuildingNumber.clear();\r\n txt_Floors.clear();\r\n txt_Rooms.clear();\r\n cb_Society.getSelectionModel().clearSelection();\r\n }", "title": "" }, { "docid": "06c600041f89250c0ab28c1f693f6f90", "score": "0.5590246", "text": "@Override\n\tpublic String getFieldList() {\n\t\treturn \"codigoServicioEstrato,estrato,valor,codigoServicio\";\n\t}", "title": "" }, { "docid": "e5ec4891023acd20b8d7fa73c185c3b6", "score": "0.5584012", "text": "public FrmReglas() {\n initComponents();\n }", "title": "" }, { "docid": "ad7436caff8b395851299276cc6c917d", "score": "0.5582061", "text": "private void getAllEditTexts() {\n corWeight = binding.tvCorWeight.getText().toString();\n totalWeight = binding.tvTotalWeight.getText().toString();\n stretchPrice = binding.etPlasticPrice.getText().toString();\n corPrice = binding.etCorPrice.getText().toString();\n }", "title": "" }, { "docid": "fe8b03bfb5fc5d7ccc253576c976bf5b", "score": "0.5578505", "text": "@Override\n\tprotected BaseEditForm setObtenerRegistroAttributes() throws Exception {\n\t\tMantenimientoPEDResultadoChequeoForm f = new MantenimientoPEDResultadoChequeoForm();\n\n\t\tPais pais = this.mPantallaPrincipalBean.getCurrentCountry();\n\t\tf.setCodigoPais(pais.getCodigo());\n\t\tf.setCodigoResultadoChequeo(null);\n\t\tf.setDescripcionResultadoChequeo(null);\n\t\tthis.mostrarBotonSave=true;\n\t\treturn f;\n\t}", "title": "" }, { "docid": "3b8e1f7afe45012b4849b429ad0714f6", "score": "0.5574568", "text": "@Deprecated\r\n private void fillArray() {\r\n textFields.add(txtUsername);\r\n textFields.add(txtFullName);\r\n textFields.add(txtEmail);\r\n textFields.add(txtPhone);\r\n textFields.add(txtPassword);\r\n textFields.add(txtRepeatPassword);\r\n }", "title": "" }, { "docid": "060a2a398ec51911908f70fc73adb7f1", "score": "0.5560648", "text": "public FrmEmpleados() \n {\n initComponents();\n \n }", "title": "" }, { "docid": "20cb361705aff93f27772c37d17ed616", "score": "0.5560516", "text": "public form_nilaisiswa() {\n initComponents();\n }", "title": "" }, { "docid": "f626c78b597a363293db469eb2538f42", "score": "0.5556866", "text": "private void setAttributes() {\n name = findViewById(id.name);\n surname = findViewById(id.surname);\n fiscalCode = findViewById(id.fiscalCode);\n yearOfBirth = findViewById(id.dateOfBirth);\n male = findViewById(id.maleButton);\n female = findViewById(id.femaleButton);\n\n street = findViewById(id.street);\n number = findViewById(id.number);\n city = findViewById(id.city);\n cap = findViewById(id.postalCode);\n region = findViewById(id.region);\n country = findViewById(id.country);\n\n email = findViewById(id.regEmail);\n password = findViewById(id.regPassword);\n acceptPolicy = findViewById(id.acceptPolicy);\n\n registrationButton = findViewById(id.registrationButton);\n }", "title": "" }, { "docid": "30e3a9e5f75d2b8265d4cbbe099d5459", "score": "0.555423", "text": "public MatosForm() {\n initComponents();\n }", "title": "" }, { "docid": "f7afdebd85d7e1186be36a807634dbef", "score": "0.55528855", "text": "private void fillTextFields(List<TextInputControl> textFields, Person resultPerson){\n textFields.get(0).setText(String.valueOf(resultPerson.getPerson_id()));\n textFields.get(1).setText(resultPerson.getName());\n textFields.get(2).setText(resultPerson.getAddress());\n textFields.get(3).setText(resultPerson.getPhone());\n textFields.get(4).setText(String.valueOf(resultPerson.getBirthYear()));\n textFields.get(5).setText(resultPerson.getInfo1());\n textFields.get(6).setText(resultPerson.getInfo2());\n textFields.get(7).setText(resultPerson.getInfo3());\n }", "title": "" } ]
e5210b7c631e320d808fe5d74bf76871
Add a rule to this list of rules
[ { "docid": "de8799cb1620c9559b5da7ae47377ba7", "score": "0.8621751", "text": "public void addRule(Rule rule){\n\t\trules.add(rule);\n\t}", "title": "" } ]
[ { "docid": "66fe2bd6d0edb05a64ecdc6359a27d8d", "score": "0.87400174", "text": "public void addRule (Object rule) {\r\n rules.add(rule);\r\n }", "title": "" }, { "docid": "4b8c286280b55e4f11afa34c82cb6416", "score": "0.83359027", "text": "public void addRule(FilterRule rule) {\n listOfRules.add(rule);\n }", "title": "" }, { "docid": "508d0c85c72cbcf54b2ec52dad62641f", "score": "0.8127818", "text": "public void addRule(Rule r) {\r\n\t\trules.add(r);\r\n\t}", "title": "" }, { "docid": "d47444405cb3ca320d918aaa3a968dd7", "score": "0.78667986", "text": "public void AddRule (Rule rule) {\n this.contr= this.contr+1;\n rule.SetNumber(this.contr);\n rules.put(\"\"+this.contr,rule);\n this.SetNbRules(this.GetNbRules()+1);\n if (rule.Active)\n this.N_active_rules++;\n }", "title": "" }, { "docid": "7a3b95ace94e8aee97eb3cb163bf42e7", "score": "0.75433224", "text": "public void addRule(final Expression<C, PLAK_Rule<C>> rule) throws InstructionExecutionException {\n\t\tif(this.rules.contains(rule)) {\n\t\t\tthrow new InstructionExecutionException(String.format(RULE_SET_ALREADY_CONTAINS_RULE, rule));\n\t\t}\n\t\t\n\t\tthis.rules.add(rule);\n\t}", "title": "" }, { "docid": "da91c1a71917276e61a79fce8118c78b", "score": "0.73120207", "text": "public void addRule(NonterminalSymbol symbol, List<Symbol> rule) {\r\n \t\tList<Rule> rules = rulesMap.get(symbol);\r\n \t\tif (rules == null) {\r\n \t\t\trules = new ArrayList<Rule>();\r\n \t\t}\r\n \t\trules.add(new Rule(rule));\r\n \t\trulesMap.put(symbol, rules);\r\n \t}", "title": "" }, { "docid": "961766440f45eb0f8ae12ba4b62b3447", "score": "0.7309685", "text": "public void addRule(String path, Rule rule) {\n List<Rule> rulesForPath = this.rules.get(path);\n if (rulesForPath == null) {\n rulesForPath = new ArrayList<>();\n this.rules.put(path, rulesForPath);\n }\n rulesForPath.add(rule);\n }", "title": "" }, { "docid": "83b430ca46eac4b35ad2963728c9a59b", "score": "0.729202", "text": "public synchronized void addRule(final RuleImpl rule) throws InvalidPatternException {\n final List<TerminalNode> terminals = this.ruleBuilder.addRule( rule,\n this.kBase,\n this.idGenerator );\n\n BaseNode[] nodes = terminals.toArray( new BaseNode[terminals.size()] );\n this.rules.put( rule.getFullyQualifiedName(), nodes );\n if (rule.isQuery()) {\n this.queries.put( rule.getName(), nodes );\n }\n }", "title": "" }, { "docid": "e1527917804b020148cc165bea8b06e2", "score": "0.7249513", "text": "public boolean addRule( Rule r ) {\n\t\tif( !validRule(r) ) {\n\t\t\treturn false;\n\t\t}\n\t\trules.add(r);\n\t\tupdateVarsAndTerminals();\n\t\treturn true;\n\t}", "title": "" }, { "docid": "284d18b92511985d8e98c36fbb48aec9", "score": "0.72219133", "text": "public Rule addRule(Rule rule) {\r\n Symbol lhs = rule.lhs;\r\n\r\n if (!this.rules.containsKey(lhs)) {\r\n this.rules.put(lhs, new HashSet<>());\r\n }\r\n HashSet<Rule> ruleList = this.rules.get(lhs);\r\n ruleList.add(rule);\r\n\r\n for (Symbol symbol : rule.rhs) {\r\n if (symbol.isTerminal() && !terminals.contains(symbol)) {\r\n terminals.add(symbol);\r\n } else if (!symbol.isTerminal() && !nonterminals.contains(symbol)) {\r\n nonterminals.add(symbol);\r\n }\r\n }\r\n\r\n return rule;\r\n }", "title": "" }, { "docid": "abd78745e35dbedc75644dc77b04043e", "score": "0.71509814", "text": "protected void addMatchRule(String rule) {\n m_matchSpecs.add(rule);\n }", "title": "" }, { "docid": "59635b1a8f1179e5946653461f5aae8d", "score": "0.7003567", "text": "public void addRule (AbstractRule R)\n\t{\n\t\tif(R.getCondition() != null)\n\t\t\tupdateInputSpace(R.getCondition().values());\n\t\t\n\t\tR.resetChildren();\n\t\t\n\t\tif(R.getAction().getID().equals(\"DO_NOTHING_EXTERNAL\"))\n\t\t\tPossibleActions.USE_DO_NOTHING_EXTERNAL = true;\n\t\telse if(R.getAction().getID().equals(\"DO_NOTHING_WM\"))\n\t\t\tPossibleActions.USE_DO_NOTHING_WM = true;\n\t\telse if(R.getAction().getID().equals(\"DO_NOTHING_GOAL\"))\n\t\t\tPossibleActions.USE_DO_NOTHING_GOAL = true;\n\t\telse\n\t\t\taddAction(R.getAction());\n\t\t\n\t\tR.rAction = PossibleActions.get(R.getAction().getID());\n\t\t\n\t\tif(R instanceof AbstractIRLRule)\n\t\t{\n\t\t\t((AbstractIRLRule)R).resetVariations();\n\t\t\t((AbstractIRLRule)R).setMatchAll(getMatchAllRule(R.getAction()));\n\t\t\tIRLRuleStore.add(R);\n\t\t}\n\t\telse if(R instanceof RefineableRule)\n\t\t{\n\t\t\t((RefineableRule)R).resetVariations();\n\t\t\t((RefineableRule)R).setMatchAll(getMatchAllRule(R.getAction()));\n\t\t\tRERRuleStore.add(R);\n\t\t}\n\t\telse if(R instanceof AbstractFixedRule)\n\t\t{\n\t\t\tFRRuleStore.add(R);\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "6640957d7d11b5256c66b42c51609280", "score": "0.69490886", "text": "private void addRules(com.google.api.BackendRule value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureRulesIsMutable();\n rules_.add(value);\n }", "title": "" }, { "docid": "94fd43382f6a51df9a4180e66e1692b4", "score": "0.68810326", "text": "public void addRule(SkylarkUserDefinedRule rule) {\n extensionToRules\n .computeIfAbsent(rule.getLabel(), label -> new ConcurrentHashMap<>())\n .put(rule.getExportedName(), rule);\n }", "title": "" }, { "docid": "3ff700ab46157821a787706f74218ba0", "score": "0.6739233", "text": "public RulesComponentImplementationModel addRulesAction(RulesActionModel rulesAction);", "title": "" }, { "docid": "0a2f418620a9d2f30591be9e930904d0", "score": "0.6732022", "text": "public void addRules (Collection <? extends AbstractRule> R)\n\t{\n\t\tfor(AbstractRule r : R)\n\t\t\taddRule(r);\n\t}", "title": "" }, { "docid": "148277a8be9d8326b689d3579a8a4619", "score": "0.67217404", "text": "private void addRules(\n int index, com.google.api.BackendRule value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureRulesIsMutable();\n rules_.add(index, value);\n }", "title": "" }, { "docid": "2bf6beca9d1cd11e4633cd73448ffd28", "score": "0.6591681", "text": "@Function\r\n\tint insertRule(String rule, int index);", "title": "" }, { "docid": "44cc83465055e4cab8a385fc977ecf00", "score": "0.6528357", "text": "public boolean addRules( ArrayList<Rule> ruleList ) {\n\t\tfor( int i=0; i < ruleList.size(); i++ ) {\n\t\t\tif( !validRule(ruleList.get(i)) ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tthis.rules = ruleList;\n\t\tupdateVarsAndTerminals();\n\t\treturn true;\n\t}", "title": "" }, { "docid": "2e24a8b94a33c1783880b1f0ce5c745a", "score": "0.6498983", "text": "public void setRules(List<Rule> ruleList);", "title": "" }, { "docid": "085d4cb999a319f501fe6add6214cd48", "score": "0.63968337", "text": "private static void addRule(final JsonGenerator jg, final FindRule rule) {\n try {\n jg.writeStartObject();\n\n jg.writeStringField(ATTR, rule.getAttribute().getName());\n jg.writeStringField(ELMT, rule.getAttribute().getElementType().toString());\n jg.writeStringField(TYPE, rule.getType().name());\n jg.writeStringField(OPER, rule.getOperator().name());\n jg.writeBooleanField(HOLD, rule.isHeld());\n\n addArguments(jg, rule.getArgs());\n\n jg.writeEndObject();\n } catch (final IOException ex) {\n LOGGER.log(Level.SEVERE, ex.getLocalizedMessage(), ex);\n }\n }", "title": "" }, { "docid": "dead1680397f096294bf1bfb76ebb47a", "score": "0.6386553", "text": "public Builder addRules(com.google.api.BackendRule value) {\n copyOnWrite();\n instance.addRules(value);\n return this;\n }", "title": "" }, { "docid": "444f04d9a2a05920bb5cec765c58edd9", "score": "0.6379199", "text": "public void addRule(RemapRuleType remapType, String opStr) {\n\t\trules.add(new RemapRule(null, null, null, remapType, opStr));\n\t}", "title": "" }, { "docid": "202f5898cd3c6ca0f90cbece9c4a5a18", "score": "0.63536173", "text": "public void addRule(String pattern, RemapRuleType remapType, String opStr) {\n\t\trules.add(new RemapRule(pattern, null, null, remapType, opStr));\n\t}", "title": "" }, { "docid": "bb775d2d10a5939247f0214fa51d63e2", "score": "0.634243", "text": "public void add(String keystring, Rule rule, Set<String> changeableTags) {\n \t\tindex.addRuleToIndex(new RuleDetails(keystring, rule, changeableTags));\n \t}", "title": "" }, { "docid": "3f6950875d0feccad8b6807bf756aa15", "score": "0.632603", "text": "public Builder addRules(\n int index, com.google.api.BackendRule value) {\n copyOnWrite();\n instance.addRules(index, value);\n return this;\n }", "title": "" }, { "docid": "b844da1aeffc48401ee3dcdd8f847344", "score": "0.63203436", "text": "public void setRules(final List<Rule> ruleList, final List<Rule> ruleList2);", "title": "" }, { "docid": "a71038e9cce86f51b6bdc0200b4cd48b", "score": "0.6288036", "text": "private void addRules(\n com.google.api.BackendRule.Builder builderForValue) {\n ensureRulesIsMutable();\n rules_.add(builderForValue.build());\n }", "title": "" }, { "docid": "cbe32b5e45447d7128e1018de2dbf8ca", "score": "0.62870157", "text": "public void addRule(String pattern, Integer from, Integer to, RemapRuleType remapType, String opStr) {\n\t\trules.add(new RemapRule(pattern, from, to, remapType, opStr));\n\t}", "title": "" }, { "docid": "8248e60c14a518c19333da97eb485b5f", "score": "0.6271137", "text": "Rule createRule();", "title": "" }, { "docid": "f8edecdf0e280f6a6cf8e77863dc8de2", "score": "0.6254891", "text": "public void addFailRule(FailedRule failRule) {\n if (this.failRules == null) {\n this.failRules = new ArrayList<>();\n }\n this.failRules.add(failRule);\n }", "title": "" }, { "docid": "5bb34ab4f55dd88c00e7320334025838", "score": "0.62015337", "text": "public void addRule(Integer from, Integer to, RemapRuleType remapType, String opStr) {\n\t\trules.add(new RemapRule(null, from, to, remapType, opStr));\n\t}", "title": "" }, { "docid": "eef2f585363db0f9da08e4905f831050", "score": "0.6170286", "text": "private void addRules(\n int index, com.google.api.BackendRule.Builder builderForValue) {\n ensureRulesIsMutable();\n rules_.add(index, builderForValue.build());\n }", "title": "" }, { "docid": "7fc606cbd3ef4dcb23d727834d4c5841", "score": "0.60381883", "text": "public void registerRule(Rule rule) {\n setLocation(rule.getLocation());\n addStackFrame(String.format(\"%s(name = '%s', ...)\", rule.getRuleClass(), rule.getName()));\n }", "title": "" }, { "docid": "98991e23285083841433131152c41c7c", "score": "0.6023163", "text": "public RuleConfiguration create() throws IOException, RequestException {\n RuleConfiguration addedConfig = getLoggedInRuleClient().addNewRule(config);\n registeredRules.add(addedConfig);\n return addedConfig;\n }", "title": "" }, { "docid": "c5c8cfae084d45bfcfffed166706cf5a", "score": "0.6022677", "text": "void setRules(final List<IRule<E>> rules);", "title": "" }, { "docid": "7c8901c8fcb0f74ebe89bcc5e42d9297", "score": "0.5890256", "text": "int insertRule(String rule, int index) throws DOMException;", "title": "" }, { "docid": "afdfc769015fd9893efee7db79bcf510", "score": "0.5874712", "text": "public void setRules(List<RuleRef> rules)\n {\n this.rules = rules;\n }", "title": "" }, { "docid": "0996d882b21d80f63d83624bc24bcf66", "score": "0.5867575", "text": "public void setDeathRule(SelectionRule<O> rule) {\n\t\tthis.deathRules.add(rule);\n\t}", "title": "" }, { "docid": "79e646bb5595127497aa8f2183025c76", "score": "0.58645827", "text": "public Rule() {\r\n setName(\"NewRule\");\r\n conditions = new Vector();\r\n actions = new Vector();\r\n actionContainer = new ActionContainer();\r\n }", "title": "" }, { "docid": "d94ad09211b93b46c47e691b2c9339d5", "score": "0.58639455", "text": "public native void addLocationRule(LocationRule value) /*-{\n\t\tvar jso = this.@com.emitrom.ti4j.core.client.ProxyObject::getJsObj()();\n\t\tjso\n\t\t\t\t.addLocationRule(value.@com.emitrom.ti4j.core.client.ProxyObject::getJsObj()());\n }-*/;", "title": "" }, { "docid": "09a02d81c006b8d68e18d3a8df0183fb", "score": "0.5839068", "text": "public final void setRule(ISchedulingRule rule) {\n \t\tsuper.setRule(rule);\n \t}", "title": "" }, { "docid": "47e71288140656717748bd20358f9bd2", "score": "0.58390045", "text": "private void initRules(List<Rule> rules) throws RuleAlreadyExistsException {\r\n for (Rule rule: rules) {\r\n if (rule instanceof InOutRule) {\r\n addHandler((InOutRule) rule);\r\n } else if (rule instanceof OutInRule) {\r\n this.rules.add(rule);\r\n new OutputRequest((OutInRule) rule).start();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "2a40329aaada130b282c9fb28c9ffb4a", "score": "0.57884246", "text": "public boolean addSafetyRule(String rule) {\n if (numSafetyRules < 3) {\n safetyRules[numSafetyRules] = rule;\n numSafetyRules++;\n return true;\n } else {\n System.out.println(\"There are already 3 safety rules.\");\n return false;\n }\n }", "title": "" }, { "docid": "477c0806bb90a0c2190ae3291c9735ad", "score": "0.57362145", "text": "public void addRule(HantoPieceType pieceType, HantoMoveType moveType, int maxNum, int distance){\n\t\tfinal MoveRule moveRule = new MoveRule(distance, maxNum, moveType);\n\t\truleSet.put(pieceType, moveRule);\n\t}", "title": "" }, { "docid": "b2ec4e723e1f6028a6d97a1d4ae5b023", "score": "0.56514865", "text": "private void addRule(final Criteria criteria, final String name, final Collection<String> conditions, final Map<String, String> actions) {\n addRule(criteria, name, null, conditions, actions);\n }", "title": "" }, { "docid": "d9129a7fe0bed23e288c655d7cdc7745", "score": "0.56408924", "text": "private void addRules(long threshold) {\n for (Map.Entry<String, QueryObject> entry : _queryMetricRegistry.getQueryObjects().entrySet()) {\n QueryObject value = entry.getValue();\n\n QueryToRule ruleCreator = new QueryToRule(_rulesManager, _ruleSupplier, _config.getMaxRuleCapacity());\n\n // we check to see which rules are necessary to be implemented\n if (value.getPriority() >= threshold) {\n if (value.getRule() != null) {\n LOG.info(\"The rule \\\"\" + entry.getValue().getRule().toString() + \"\\\" is being added.\");\n ruleCreator.addRule(value.getRule());\n }\n }\n else {\n LOG.info(\"The rule \\\"\" + entry.getValue().getRule().toString() + \"\\\" is not being added, because it does not pass the threshold\");\n // TODO: if the rule exists and is no longer necessary, remove the rule --- THIS IS NOT IMPLEMENTED YET\n }\n }\n }", "title": "" }, { "docid": "de8fa5d2f0d5ea2e4a7806da747f80ba", "score": "0.5639297", "text": "public void addUrlRule(String ruleString, String endpoint, View viewFunc) {\n /*\n URL Rule usage\n rule = self.url_rule_class(rule, methods=methods, **options)\n rule.provide_automatic_options = provide_automatic_options\n\n self.url_map.add(rule)\n */\n\n if (this.viewFunctions.containsKey(endpoint)) {\n // Rule exist\n throw new RuntimeException(\"View function mapping is overwriting\");\n }\n\n Rule rule = new Rule(ruleString, endpoint);\n this.ruleMap.add(rule);\n this.viewFunctions.put(endpoint, viewFunc);\n }", "title": "" }, { "docid": "25c701c6783d2f599a7d34db8bb5ed57", "score": "0.561077", "text": "public String addFilterRule(FilterRule filterRule) {\n\n return executeHttpRequest(filterRule.toPath(), \"PUT\");\n }", "title": "" }, { "docid": "42d58ccde81c0fed2c263069220200d9", "score": "0.55918944", "text": "void setRuleExpression(final String predicate);", "title": "" }, { "docid": "0825a64f816598f5b9e08529c5228046", "score": "0.55774647", "text": "Rule getRule();", "title": "" }, { "docid": "5ae96ee34e38fa3818b548907968be21", "score": "0.5549048", "text": "public Rule(){}", "title": "" }, { "docid": "7816dab134f958a7cfc714771b44dc41", "score": "0.5521888", "text": "public LALRRuleSet(Set<Rule<T>> rules)\n {\n super(rules);\n }", "title": "" }, { "docid": "aae74a0e61d5521e8baa9797aa1b12b1", "score": "0.5521519", "text": "private void addGrammar(RuleGrammar ruleGrammar, String ruleName, String grammarName)\n {\n try {\n String newRuleName = ruleName + count;\n Rule newRule = null;\n newRule = ruleGrammar.ruleForJSGF(grammarName);\n ruleGrammar.setRule(newRuleName, newRule, true);\n ruleGrammar.setEnabled(newRuleName, true);\n count++;\n } catch (GrammarException ex) {\n System.err.println(\"Trouble with the grammar \");\n }\n }", "title": "" }, { "docid": "35de05f0b37ec8824adb3f636f01f541", "score": "0.5516049", "text": "@Override\r\n\tpublic void createRuleSet(RuleInfo ruleInfo) {\n\t\t\r\n\t\tJSONObject msgJSON = new JSONObject();\r\n\t\tJSONArray target = new JSONArray();\r\n\t\ttarget.add(\"RuleManager\");\r\n\t\tmsgJSON.put(\"Targets\",target);\r\n\t\tmsgJSON.put(\"Job\", \"RuleCtrl\");\r\n\t\tmsgJSON.put(\"Type\", \"Add\");\r\n\t\tmsgJSON.put(\"Rule\", ruleInfo.getRuleSet());\r\n\t\tIoTMSEventBus.getInstance().postEvent(msgJSON);\r\n\t\t\r\n\t\tmsgJSON = new JSONObject();\r\n\t\ttarget = new JSONArray();\r\n\t\ttarget.add(\"RuleManager\");\r\n\t\tmsgJSON.put(\"Targets\",target);\r\n\t\tmsgJSON.put(\"Job\", \"RuleCtrl\");\r\n\t\tmsgJSON.put(\"Type\", \"Search\");\r\n\t\tIoTMSEventBus.getInstance().postEvent(msgJSON);\r\n\t}", "title": "" }, { "docid": "ef5b320dbe48edc6655e62df9872d674", "score": "0.54752725", "text": "public void receiveResultaddRule(\r\n com.mbv.bp.common.executor.mobifone.services.UMarketSCStub.AddRuleResponse result\r\n ) {\r\n }", "title": "" }, { "docid": "76029be5e1adfa20570d8859d49363ef", "score": "0.54744065", "text": "private void addAllRules(\n java.lang.Iterable<? extends com.google.api.BackendRule> values) {\n ensureRulesIsMutable();\n com.google.protobuf.AbstractMessageLite.addAll(\n values, rules_);\n }", "title": "" }, { "docid": "e6f9e7bd534e351dffd894bee2effca7", "score": "0.5466169", "text": "public void setRules(Set<Rule> rules) {\n _rules = rules;\n }", "title": "" }, { "docid": "b7cdc6d27f49da9c94ee8e85515687b7", "score": "0.5459881", "text": "public void addFirstRule(RemapRuleType remapType, String opStr) {\n\t\trules.add(0, new RemapRule(null, null, null, remapType, opStr));\n\t}", "title": "" }, { "docid": "f6ad8afe279f682ff3fcaebd11fac84c", "score": "0.5456626", "text": "public void addFormule(String formule) {\n formules.add(formule);\n }", "title": "" }, { "docid": "5418461bb238a8159ca270ee5035d3c1", "score": "0.5451006", "text": "private static void createActivePMDRules(final Profile profile,\r\n final List list) {\r\n PMDrulesAddOn pmdAudit = new PMDrulesAddOn();\r\n for (Iterator pmdRuleSets = InterfaceToPMD.getAvailableRuleSets().iterator();\r\n pmdRuleSets.hasNext(); ) {\r\n RuleSet ruleSet = (RuleSet) pmdRuleSets.next();\r\n\r\n for (Iterator zz = ruleSet.getRules().iterator(); zz.hasNext(); ) {\r\n Rule pmdRule = (Rule) zz.next();\r\n\r\n Audit audit = new Audit(pmdRule);\r\n String key = audit.getKey();\r\n\r\n if (profile.isActiveItem(profile.getAudit(false), key)) {\r\n // adding current rule to PMDaudit rulelist for checking\r\n // ruleSetToCheck is static, one for all\r\n pmdAudit.addRuleToCheck(pmdRule);\r\n //pmdAudit.setKey(key);\r\n //auditRule.setConfiguration(profile.getAuditItem(key));\r\n }\r\n }\r\n }\r\n\r\n if (pmdAudit.hasRulesToCheck()){\r\n list.add(pmdAudit); // add Audit to the end of \"audits to check\" list\r\n }\r\n }", "title": "" }, { "docid": "b21f652845ffd5fa6429aeecf3ef8923", "score": "0.5437627", "text": "private void rulesInitialization(){\n rules.add(new Rule(new ArrayList<Integer>(Arrays.asList(2,3)), new ArrayList<Integer>(Arrays.asList(3)))); //Conway's Game of life sa Default rule\n rules.add(new Rule(new ArrayList<Integer>(Arrays.asList(1, 2, 3, 4, 5)), new ArrayList<Integer>(Arrays.asList(3)), 0, new Color(200, 255, 200))); //Maze\n rules.add(new Rule(new ArrayList<Integer>(Arrays.asList(2, 3)), new ArrayList<Integer>(Arrays.asList(3, 6)), 0, new Color(255, 0, 0))); //High Life\n rules.add(new Rule(new ArrayList<Integer>(Arrays.asList(3,5,8)), new ArrayList<Integer>(Arrays.asList(3, 7, 8)), 3, new Color(128,128, 55))); //Dunno what\n rules.add(new Rule(new ArrayList<Integer>(Arrays.asList(3, 4, 5, 7, 8)), new ArrayList<Integer>(Arrays.asList(3, 6, 7, 8)), 0, Color.CYAN)); //Day and Night\n rules.add(new Rule(new ArrayList<Integer>(Arrays.asList(2, 3, 4, 5)), new ArrayList<Integer>(Arrays.asList(4, 5, 6, 7, 8)), 0, new Color(0, 0, 128))); //Walled Cities\n }", "title": "" }, { "docid": "ea6328c48d3483e308f2430af5de0fd0", "score": "0.54294115", "text": "public static SelectedRule withRule(String rule) throws Exception {\n return withRule(rule, args());\n }", "title": "" }, { "docid": "e5b7905269e89fe257b71cc3e25366d2", "score": "0.5426176", "text": "public void updateRule(Rule rule) throws Exception {\n\r\n ruleAuthoringService.updateRule(rule);\r\n\r\n }", "title": "" }, { "docid": "42bab4262ca3d769bed8795104224d4b", "score": "0.5417259", "text": "public void setRuleNode(RuleNode ruleNode) {\n // TODO: Is this really needed? Are they always the same?\n ruleIndex = ruleNode.index;\n sibling = ruleNode;\n }", "title": "" }, { "docid": "205bd18128313226a6419859eb2080cc", "score": "0.54153717", "text": "public void setSexyRule(PairSelectionRule<O> rule) {\n\t\tif (rule == null) throw new IllegalArgumentException(\"Cannot set null as sexy rule\");\n\t\tthis.sexyRules.add(rule);\n\t}", "title": "" }, { "docid": "bad53d019f17eb62b9a8ff0325de47a5", "score": "0.5412091", "text": "public void addFirstRule(String pattern, RemapRuleType remapType, String opStr) {\n\t\trules.add(0, new RemapRule(pattern, null, null, remapType, opStr));\n\t}", "title": "" }, { "docid": "2b32ed5f08a469c6069521fe965cd7d6", "score": "0.54082596", "text": "public ArrayList<Rule> getRule()\n {\n return rules;\n }", "title": "" }, { "docid": "b3d91887a9f0017885b3cc63b83e06a0", "score": "0.53982186", "text": "public Builder addRules(\n com.google.api.BackendRule.Builder builderForValue) {\n copyOnWrite();\n instance.addRules(builderForValue);\n return this;\n }", "title": "" }, { "docid": "c525c988ac7d2ec4178b6b86acf58d17", "score": "0.53968376", "text": "public void addAll(RuleSet rs) {\n \t\tfor (RuleDetails rd : rs.index.getRuleDetails())\n \t\t\tadd(rd.getKeystring(), rd.getRule(), rd.getChangingTags());\n \t}", "title": "" }, { "docid": "e2759adceaf479e67b59d4f7b88a3b5b", "score": "0.5394292", "text": "public Builder addRules(\n int index, com.google.api.BackendRule.Builder builderForValue) {\n copyOnWrite();\n instance.addRules(index, builderForValue);\n return this;\n }", "title": "" }, { "docid": "3a529848b106b4cda3d6b309a6269f8d", "score": "0.5388665", "text": "PieceMovementRules(PieceRules rule, ChessPieceDescriptor... descriptor) {\r\n this.descriptors = Arrays.asList(descriptor);\r\n this.rule = rule;\r\n }", "title": "" }, { "docid": "b5188d050a121c2e6de70d18b190318d", "score": "0.53773814", "text": "private boolean applyRule(String rule) {\n\n // Spaces are not allowed\n if (!rule.matches(\"[A-Za-z][0-9]+(,[A-Za-z][0-9]+)*\")) {\n return false;\n }\n\n String[] rules;\n if (rule.contains(\",\")) {\n rules = rule.split(\",\");\n }\n else rules = new String[] { rule };\n\n for (String r : rules) {\n String url = plugin.getURL(r);\n if (url == null) {\n return false;\n }\n }\n\n // Set the rule\n this.rule = rule;\n state = ProgressState.REPORT;\n return true;\n }", "title": "" }, { "docid": "96c6e474663c275807e36a59d6e5e956", "score": "0.5368438", "text": "private void setRules(\n int index, com.google.api.BackendRule value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureRulesIsMutable();\n rules_.set(index, value);\n }", "title": "" }, { "docid": "f59e4cdc6554fc9ade68b1506723b487", "score": "0.53642684", "text": "@Override\r\n public void registerRuleChain(RuleChain ruleChain) {\n \r\n }", "title": "" }, { "docid": "175513f9cf32e24d5aca10ae4257332c", "score": "0.53591305", "text": "public boolean addOrReplace(IxRuleEditData theRule) {\n\n\t\tlastChange = ListDataChange.NO_CHANGE;\n\t\tlastRow = -1;\n\n\t\tif (isLocked) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlastRow = modelRows.indexOf(theRule);\n\t\tif (lastRow >= 0) {\n\n\t\t\tmodelRows.set(lastRow, theRule);\n\t\t\tlastChange = ListDataChange.UPDATE;\n\n\t\t} else {\n\n\t\t\tlastRow = modelRows.size();\n\t\t\tmodelRows.add(theRule);\n\t\t\tif (!deletedKeys.remove(theRule.key)) {\n\t\t\t\taddedKeys.add(theRule.key);\n\t\t\t}\n\t\t\tlastChange = ListDataChange.INSERT;\n\t\t}\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "58de2de749aba1fa205490ec88132385", "score": "0.53558403", "text": "RulesDefinition createRulesDefinition();", "title": "" }, { "docid": "a056d57c6de01e9f9ac84efe0dddf43c", "score": "0.53452694", "text": "private void addHandler(InOutRule rule) throws RuleAlreadyExistsException {\r\n String simplePath = rule.getRequest().getPath().split(\"\\\\?\")[0];\r\n String id = rule.getRequest().getMethod() + simplePath;\r\n if (handlers.containsKey(id)) {\r\n handlers.get(id).addRule(rule);\r\n } else {\r\n InOutHandler handler = new InOutHandler();\r\n handler.addRule(rule);\r\n try {\r\n app.addHandler(HandlerType.valueOf(rule.getRequest().getMethod()), simplePath, handler);\r\n } catch (IllegalArgumentException e) {\r\n throw new RuleAlreadyExistsException(String.format(\"The route '%s -> %s' cannot be created.\",rule.getRequest().getMethod(), simplePath));\r\n }\r\n handlers.put(id, handler);\r\n }\r\n }", "title": "" }, { "docid": "70fc3ed035c0a80e2ecadfb42cc9b40f", "score": "0.5343409", "text": "public IRule addBodyLiteral( IRule rule, ILiteral literal )\n\t{\n\t\tList<ILiteral> body = new ArrayList<ILiteral>( rule.getBody() );\n\t\t\n\t\tbody.add( literal );\n\t\t\n\t\treturn Factory.BASIC.createRule( rule.getHead(), body );\n\t}", "title": "" }, { "docid": "8439b0f0841dd2bb78975a3149e0ca9c", "score": "0.53174263", "text": "@XmlElement(\"Rule\")\n @UML(identifier=\"portrayalRule\", obligation=MANDATORY, specification=ISO_19117)\n List<? extends Rule> rules();", "title": "" }, { "docid": "ef9f43a46afc531e153bfd585c6edd5f", "score": "0.5310368", "text": "public String insertGlobalRule();", "title": "" }, { "docid": "c0a41dcfa9a6628d1ab467e380d41456", "score": "0.52957934", "text": "public void addFirstRule(String pattern, Integer from, Integer to, RemapRuleType remapType, String opStr) {\n\t\trules.add(0, new RemapRule(pattern, from, to, remapType, opStr));\n\t}", "title": "" }, { "docid": "36e671dbe8599087f8b33471a2975236", "score": "0.52912825", "text": "@Override public void addMatch(VolcanoRuleMatch match) {\n final String matchName = match.toString();\n\n if (!matchList.names.add(matchName)) {\n // Identical match has already been added.\n return;\n }\n\n LOGGER.trace(\"Rule-match queued: {}\", matchName);\n\n matchList.offer(match);\n\n matchList.matchMap.put(\n requireNonNull(planner.getSubset(match.rels[0])), match);\n }", "title": "" }, { "docid": "6c6ea541832076a31ccb031f33c1cb5a", "score": "0.52862996", "text": "URLRewriteRule createURLRewriteRule();", "title": "" }, { "docid": "f2bfed483ade96c9f32214d7ab4cf175", "score": "0.5279824", "text": "public Taboo(List<T> rules) {\n\n\t\tRules = new ArrayList<T>();\n\t\tfor (T elem : rules) {\n\t\t\tRules.add(elem);\n\t\t}\n\t}", "title": "" }, { "docid": "4d62f389d9f380641eb1e20f423d18a1", "score": "0.5279784", "text": "public List<Rule> getRules();", "title": "" }, { "docid": "49a4e1fbf4a2ffda4a2b3a904fc34cbf", "score": "0.5266965", "text": "public List<IRule> parseRules(String srule);", "title": "" }, { "docid": "521a91b88649317fea90c9fb66028ee6", "score": "0.5256163", "text": "public void addDispatchRuleId(String dispatchRuleId) {\n if (this.dispatchRuleIds == null) {\n this.dispatchRuleIds = new ArrayList<>();\n }\n this.dispatchRuleIds.add(dispatchRuleId);\n }", "title": "" }, { "docid": "8ad58374981d52dc233d4bb091ec0724", "score": "0.52556366", "text": "private void createRules(boolean constConclusion) {\n\t\tint RULES = 9;\n\t\tthis.rules = new Rule[RULES];\n\n\t\tfor (int i = 0; i < RULES; i++) {\n\t\t\trules[i] = new Rule(new FuzzyTriangle(), new FuzzyTriangle(), new EinsteinProduct(),\n\t\t\t\t\tnew Conclusion(constConclusion));\n\t\t}\n\n\t}", "title": "" }, { "docid": "0b9ae6737a97079361cda4a5ca0895fc", "score": "0.52427065", "text": "RuleFact createRuleFact();", "title": "" }, { "docid": "918b3c511b06b9ff1acac0550db7db6d", "score": "0.5235039", "text": "public AddMultiRuleAction(IWorkbenchPart part) {\n\t\tsuper(part);\n\n\t\tsetId(ID);\n\t\tsetText(DESC);\n\t\tsetDescription(DESC);\n\t\tsetToolTipText(TOOLTIP);\n\n\t}", "title": "" }, { "docid": "a68fadf802115a28f205727a998191e7", "score": "0.52226603", "text": "public NewRule() {\n}", "title": "" }, { "docid": "c1e04a9f3006c603ebd5cdce16c371cc", "score": "0.52212745", "text": "public void addFirstRule(Integer from, Integer to, RemapRuleType remapType, String opStr) {\n\t\trules.add(0, new RemapRule(null, from, to, remapType, opStr));\n\t}", "title": "" }, { "docid": "6a3104135e872ee69d2e1ea06ef5e0ff", "score": "0.52212363", "text": "public void addExitConditionRule(\n final es.pode.parseadorXML.castor.ExitConditionRule vExitConditionRule)\n throws java.lang.IndexOutOfBoundsException {\n this._exitConditionRuleList.add(vExitConditionRule);\n }", "title": "" }, { "docid": "e2dd6b871755d7f6db06bba06a774441", "score": "0.5220576", "text": "@Test\n\tpublic void testAddRule() {\n\n\t\tfinal SelectorDefinition rule1 = new SelectorDefinition();\n\t\trule1.setItemId(1L);\n\t\trule1.setGroupId(\"1\");\n\t\tfinal SelectorDefinition rule2 = new SelectorDefinition();\n\t\trule2.setItemId(2L);\n\t\trule2.setGroupId(\"2\");\n\t\tfinal SelectorDefinition rule3 = new SelectorDefinition();\n\t\trule3.setItemId(2L);\n\t\trule3.setGroupId(\"3\");\n\n\t\truleServices.addSelector(rule1);\n\t\truleServices.addSelector(rule2);\n\t\truleServices.addSelector(rule3);\n\n\t\t// Only 1 rule\n\t\tfinal List<SelectorDefinition> selectorFetch1 = ruleServices.getSelectorsForItemId(1L);\n\n\t\tassertNotNull(selectorFetch1);\n\t\tassertThat(selectorFetch1.size(), is(1));\n\t\tassertNotNull(selectorFetch1);\n\t\tassertThat(selectorFetch1.size(), is(1));\n\t\tassertThat(selectorFetch1.get(0).getId(), is(rule1.getId()));\n\t\tassertThat(selectorFetch1.get(0).getCreationDate(), is(rule1.getCreationDate()));\n\t\tassertThat(selectorFetch1.get(0).getItemId(), is(rule1.getItemId()));\n\n\t\t// 2 rules\n\t\tfinal List<SelectorDefinition> selectorFetch2 = ruleServices.getSelectorsForItemId(2L);\n\n\t\tassertNotNull(selectorFetch2);\n\t\tassertThat(selectorFetch2.size(), is(2));\n\t}", "title": "" }, { "docid": "a0b7533620f9374ee1a6aae8663c3872", "score": "0.52010643", "text": "public boolean addProductionRule(Character head, String body) {\n if (!variables.contains(head)) {\n addVariable(head);\n }\n addVariablesAndTerminals(body); //register everything present in the body\n return productionRules.get(head).add(body);\n }", "title": "" }, { "docid": "f5afafc21d956dafbb26c718ad4597bc", "score": "0.51982105", "text": "public Rule getRule() {\n return rule;\n }", "title": "" }, { "docid": "2885d68baf1740c76789b4679254ce7e", "score": "0.5197923", "text": "@Override\n protected RuleKeyBuilder<RULE_KEY> setBuildRule(BuildRule rule) {\n deps.add(rule);\n return setBuildRuleKey(DefaultRuleKeyFactory.this.build(rule));\n }", "title": "" }, { "docid": "c165917ccfadf958a95c3eecefa9c102", "score": "0.5189632", "text": "public Builder setRules(\n int index, com.google.api.BackendRule value) {\n copyOnWrite();\n instance.setRules(index, value);\n return this;\n }", "title": "" }, { "docid": "72cad3507ceddd6b296288446042c1e0", "score": "0.51889884", "text": "public void setRuleId(String ruleId) {\n this.ruleId = ruleId;\n }", "title": "" } ]
0bcc480ade9965cf9b0ffceb7b0d54ab
This method uses the IdentityConfigurationBuilder to create an IdentityConfiguration, which defines how PicketLink stores identityrelated data. In this particular example, a JPAIdentityStore is configured to allow the identity data to be stored in a relational database using JPA.
[ { "docid": "fdc2baf4d7e402fc5690b238dea9b69b", "score": "0.6524078", "text": "@Produces\n IdentityConfiguration produceIdentityManagementConfiguration() {\n IdentityConfigurationBuilder builder = new IdentityConfigurationBuilder();\n\n builder\n .named(\"default\")\n .stores()\n .jpa()\n // Specify that this identity store configuration supports all features\n .supportAllFeatures();\n\n return builder.build();\n }", "title": "" } ]
[ { "docid": "ccef57a148d2134bca9ef277126e5eac", "score": "0.68854314", "text": "@SuppressWarnings(\"unchecked\")\r\n private void initConfig(IdentityConfigurationBuilder builder) {\r\n builder = new IdentityConfigurationBuilder();\r\n\r\n builder\r\n .named(\"default\")\r\n .stores()\r\n .jpa()\r\n .mappedEntity(\r\n AccountTypeEntity.class,\r\n RoleTypeEntity.class,\r\n GroupTypeEntity.class,\r\n IdentityTypeEntity.class,\r\n RelationshipTypeEntity.class,\r\n RelationshipIdentityTypeEntity.class,\r\n PartitionTypeEntity.class,\r\n PasswordCredentialTypeEntity.class,\r\n AttributeTypeEntity.class)\r\n .supportGlobalRelationship(Relationship.class)\r\n .addContextInitializer(this.contextInitializer)\r\n // Specify that this identity store configuration supports all features\r\n .supportAllFeatures();\r\n\r\n identityConfig = builder.build();\r\n\r\n }", "title": "" }, { "docid": "3350605b69ecc9566ad4769a61c9e796", "score": "0.63089335", "text": "<T extends IdentityStoreConfiguration> IdentityStore<T> createIdentityStore(T config, SecurityContext context);", "title": "" }, { "docid": "6c7ca489b04ed87f49be21ba6b24cae4", "score": "0.5115994", "text": "public void setIdentityType(String identityType) {\n this.identityType = identityType;\n }", "title": "" }, { "docid": "a4ded9ef4c31dea2908a1968ff030782", "score": "0.49780715", "text": "public EntityMetadata getConfiguration (String confId);", "title": "" }, { "docid": "50f72a3d3470a5a6dc1782804ecca7a1", "score": "0.4926834", "text": "public interface StoreFactory {\n /**\n * Creates an instance of an IdentityStore using the provided configuration\n *\n * @param config\n * @return\n */\n <T extends IdentityStoreConfiguration> IdentityStore<T> createIdentityStore(T config, SecurityContext context);\n\n /**\n *\n * @param id\n * @return\n */\n Realm getRealm(String id);\n\n /**\n *\n * @param id\n * @return\n */\n Tier getTier(String id);\n\n /**\n * Returns true if the specified feature (and optional relationship class) is supported by the specified\n * Partition's configuration\n *\n * @param partition\n * @param feature\n * @param operation\n * @param relationshipClass\n * @return\n */\n boolean isFeatureSupported(Partition partition, FeatureGroup feature, FeatureOperation operation,\n Class<? extends Relationship> relationshipClass);\n\n /**\n *\n * @param context\n * @param feature\n * @param operation\n * @return\n */\n IdentityStore<?> getStoreForFeature(SecurityContext context, FeatureGroup feature,\n FeatureOperation operation);\n\n /**\n *\n * @param context\n * @param feature\n * @param operation\n * @param relationshipClass\n * @return\n */\n IdentityStore<?> getStoreForFeature(SecurityContext context, FeatureGroup feature,\n FeatureOperation operation, Class<? extends Relationship> relationshipClass);\n}", "title": "" }, { "docid": "e1499c634a4464f9394f5194a05884db", "score": "0.4785686", "text": "@Override\n public void configureRepositoryRestConfiguration(RepositoryRestConfiguration config) {\n config.exposeIdsFor(Address.class);\n config.exposeIdsFor(Business.class);\n config.exposeIdsFor(Category.class);\n config.exposeIdsFor(User.class);\n }", "title": "" }, { "docid": "d95f87ed0aed9c25a4fa7ac6a53e68ea", "score": "0.4760451", "text": "public Builder setIdentity(String identity) {\n this.identity = Objects.requireNonNull(identity);\n return this;\n }", "title": "" }, { "docid": "f511eb86585611d415d0f712edeacbe0", "score": "0.46664873", "text": "public void setIdentityProviderDetails(IdentityProviderDetails identityProviderDetails) {\n this.identityProviderDetails = identityProviderDetails;\n }", "title": "" }, { "docid": "368df16e91f6fca37443048449657664", "score": "0.46385098", "text": "public static Identity buildIdentity(final ConfigTarget target)\n throws IOException {\n final Map<String, Map<String, String>> settings\n = new HashMap<String, Map<String, String>>();\n settings.put(DOMAIN, new HashMap<String, String>(2));\n settings.get(DOMAIN).put(\"name\", target.getData());\n settings.get(DOMAIN).put(target.getTypeName(), target.getData());\n \n try {\n return createIdentity(settings);\n } catch (InvalidIdentityFileException ex) {\n Logger.appError(ErrorLevel.MEDIUM, \"Unable to create identity\", ex);\n return null;\n }\n }", "title": "" }, { "docid": "832583cfbe6b5b81a70c7a56eef219bc", "score": "0.46325302", "text": "public String getIdentityId() {\n return identityId;\n }", "title": "" }, { "docid": "cd90f2266bd3aba2b1cadb6e710c72a5", "score": "0.46319205", "text": "public void setIdentityId(String identityId) {\n this.identityId = identityId == null ? null : identityId.trim();\n }", "title": "" }, { "docid": "f9829e29a1791c24ffa821b0f0cabd5c", "score": "0.45326874", "text": "public String getIdentityProviderType() {return identityProviderType;}", "title": "" }, { "docid": "9b306cfcab90983ba63c4531a5555ed8", "score": "0.45141134", "text": "public Builder setIdentity(\n\t\t\t\t\tcom.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.Builder builderForValue) {\n\t\t\t\tif (identityBuilder_ == null) {\n\t\t\t\t\tidentity_ = builderForValue.build();\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tidentityBuilder_.setMessage(builderForValue.build());\n\t\t\t\t}\n\t\t\t\tbitField0_ |= 0x00000001;\n\t\t\t\treturn this;\n\t\t\t}", "title": "" }, { "docid": "9b306cfcab90983ba63c4531a5555ed8", "score": "0.4513736", "text": "public Builder setIdentity(\n\t\t\t\t\tcom.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.Builder builderForValue) {\n\t\t\t\tif (identityBuilder_ == null) {\n\t\t\t\t\tidentity_ = builderForValue.build();\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tidentityBuilder_.setMessage(builderForValue.build());\n\t\t\t\t}\n\t\t\t\tbitField0_ |= 0x00000001;\n\t\t\t\treturn this;\n\t\t\t}", "title": "" }, { "docid": "0e90b92f3e4c606150af56f919409c0a", "score": "0.44759387", "text": "public void setIdentityValue(String identityValue) {\n this.identityValue = identityValue;\n }", "title": "" }, { "docid": "24f9ba7200a8b5a3a479463743335690", "score": "0.4445866", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n\t\t\t\t\tcom.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType, com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.Builder, com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityTypeOrBuilder>\n\t\t\tgetIdentityFieldBuilder() {\n\t\t\t\tif (identityBuilder_ == null) {\n\t\t\t\t\tidentityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n\t\t\t\t\t\t\tcom.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType, com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.Builder, com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityTypeOrBuilder>(\n\t\t\t\t\t\t\tgetIdentity(),\n\t\t\t\t\t\t\tgetParentForChildren(),\n\t\t\t\t\t\t\tisClean());\n\t\t\t\t\tidentity_ = null;\n\t\t\t\t}\n\t\t\t\treturn identityBuilder_;\n\t\t\t}", "title": "" }, { "docid": "24f9ba7200a8b5a3a479463743335690", "score": "0.44456592", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n\t\t\t\t\tcom.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType, com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.Builder, com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityTypeOrBuilder>\n\t\t\tgetIdentityFieldBuilder() {\n\t\t\t\tif (identityBuilder_ == null) {\n\t\t\t\t\tidentityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n\t\t\t\t\t\t\tcom.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType, com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.Builder, com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityTypeOrBuilder>(\n\t\t\t\t\t\t\tgetIdentity(),\n\t\t\t\t\t\t\tgetParentForChildren(),\n\t\t\t\t\t\t\tisClean());\n\t\t\t\t\tidentity_ = null;\n\t\t\t\t}\n\t\t\t\treturn identityBuilder_;\n\t\t\t}", "title": "" }, { "docid": "738561c117e2dd89eccff9d0228a4a59", "score": "0.44384667", "text": "public void setIdentityProviderType(String identityProviderType) {\n this.identityProviderType = identityProviderType;\n }", "title": "" }, { "docid": "ff9e07c536aff60695afd3a843bfada7", "score": "0.4419872", "text": "@Override\n public WikiUserConfiguration getConfiguration(String wikiId) throws WikiUserManagerException\n {\n WikiUserConfiguration configuration = new WikiUserConfiguration();\n\n // Get the document\n XWikiDocument document = getDocument(wikiId);\n\n // Get the XWiki object\n BaseObject object = document.getXObject(WikiUserClassDocumentInitializer.CONFIGURATION_CLASS);\n if (object != null) {\n // Get the user scope\n String scopeValue = object.getStringValue(WikiUserClassDocumentInitializer.FIELD_USERSCOPE);\n UserScope userScope;\n try {\n userScope = UserScope.valueOf(scopeValue.toUpperCase());\n } catch (Exception e) {\n // Default value\n userScope = UserScope.LOCAL_AND_GLOBAL;\n }\n configuration.setUserScope(userScope);\n\n // Get the membershipType value\n String membershipTypeValue = object.getStringValue(\n WikiUserClassDocumentInitializer.FIELD_MEMBERSHIPTYPE);\n MembershipType membershipType;\n try {\n membershipType = MembershipType.valueOf(membershipTypeValue.toUpperCase());\n } catch (Exception e) {\n // Default value\n membershipType = MembershipType.INVITE;\n }\n configuration.setMembershipType(membershipType);\n }\n\n return configuration;\n }", "title": "" }, { "docid": "8f7eca5d92bbeda9fdf30272e073afac", "score": "0.44069636", "text": "public interface IdentityAuthenticator {\n\n\t/**\n\t * Returns the identifiers for this <code>IdentityAuthenticator</code>'s\n\t * supported credential types. This may contain any number of identifiers,\n\t * which are matched against the identifier of\n\t * <code>IdentityCredential</code>s to determine if this\n\t * <code>IdentityAuthenticator</code> can consume those credentials.\n\t * \n\t * @return the identifiers for the supported credential types\n\t */\n\tString[] getSupportedCredentialTypes();\n\n\t/**\n\t * Authenticates the given credentials. The returned <code>Identity</code>\n\t * is valid, but has not yet been notified as logged in.\n\t * \n\t * @param credentials\n\t * the <code>IdentityCredentials</code> to authenticate\n\t * \n\t * @return an authenticated <code>Identity</code>\n\t * \n\t * @throws LoginException\n\t * if authentication fails\n\t */\n\tIdentity authenticateIdentity(IdentityCredentials credentials)\n\t\t\tthrows LoginException;\n\n}", "title": "" }, { "docid": "81dd7247189de983a8e65e28c271fc8b", "score": "0.43992934", "text": "Configuration createConfiguration();", "title": "" }, { "docid": "dcddb382a32e70c224d917db127c17dc", "score": "0.4383569", "text": "public interface EntityConfigurationApi\n{\n /**\n * This property contains the protocol that is used by the entity. Either\n * \"http\" or \"https\".\n * \n * @return the protocol\n */\n String getProtocol();\n\n /**\n * See {@link #getProtocol}\n * \n * @param protocol protocol\n */\n void setProtocol(String protocol);\n\n /**\n * The host name which is used to access this application from a web browser\n * (by the end user).\n * \n * @return the host name\n */\n String getHostName();\n\n /**\n * See {@link #getHostName}\n * \n * @param hostName host name\n */\n void setHostName(String hostName);\n\n /**\n * The port at which this application is reachable from the browser of the\n * end user. This might be another port then the port where the web container\n * is listening to (in case of port forwarding). In most practical production\n * employments, this port will be the standard HTTPS port, being 443.\n * \n * @return\n */\n int getPort();\n\n /**\n * See {@link #getPort}\n * \n * @param port port\n */\n void setPort(int port);\n}", "title": "" }, { "docid": "1ae39307814b3d392c106c770a2ea9b7", "score": "0.43807414", "text": "public interface IUserIdentity extends IUserProperties {\n}", "title": "" }, { "docid": "0f7ae68ea81500035f700125c58868b8", "score": "0.43614563", "text": "public AppConfiguration(final String applicationId) {\r\n \t\tthis();\r\n \t\tsetApplicationId(applicationId);\r\n \t}", "title": "" }, { "docid": "54184e98a01b98ec03a7efaab99acc83", "score": "0.43614322", "text": "private Identity(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "7595c1a2772c709b253509c95eff1737", "score": "0.4360648", "text": "public Metadata.ExternalId.Builder addExternalIdBuilder() {\n return getExternalIdFieldBuilder().addBuilder(\n Metadata.ExternalId.getDefaultInstance());\n }", "title": "" }, { "docid": "7595c1a2772c709b253509c95eff1737", "score": "0.4360648", "text": "public Metadata.ExternalId.Builder addExternalIdBuilder() {\n return getExternalIdFieldBuilder().addBuilder(\n Metadata.ExternalId.getDefaultInstance());\n }", "title": "" }, { "docid": "7595c1a2772c709b253509c95eff1737", "score": "0.43603265", "text": "public Metadata.ExternalId.Builder addExternalIdBuilder() {\n return getExternalIdFieldBuilder().addBuilder(\n Metadata.ExternalId.getDefaultInstance());\n }", "title": "" }, { "docid": "57dc7050916498ff629b1ef68edf9938", "score": "0.43560705", "text": "@Override\r\n public final void attach(Configuration c) {\n if (!isStaticFactory(configuration)\r\n\r\n // On the other hand, Stores (e.g. UDTRecord, ArrayRecord) should\r\n // always be attached\r\n || delegate instanceof Store) {\r\n\r\n if (log.isTraceEnabled()) {\r\n log.trace(\"Attaching\", delegate.getClass().getSimpleName() + \" [ \" + delegate + \" ]\");\r\n }\r\n\r\n configuration = c;\r\n }\r\n\r\n for (Attachable attachable : getAttachables()) {\r\n if (attachable != null) {\r\n attachable.attach(c);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "2c6f714fb1f89738c20848d20de38ee9", "score": "0.43489093", "text": "public void testEqualsHashCode() throws Exception {\n\n String pid1 = \"PID1\";\n String pid2 = \"PID2\";\n\n storeMock.expects.createConfiguration(\n \"PID1\", AUTHORIZED_BUNDLE_LOCATION)\n .returns(new ConfigurationImpl(\"PID1\", null, null,\n AUTHORIZED_BUNDLE_LOCATION, null));\n\n storeMock.expects.createConfiguration(\n \"PID2\", AUTHORIZED_BUNDLE_LOCATION)\n .returns(new ConfigurationImpl(\"PID2\", null, null,\n AUTHORIZED_BUNDLE_LOCATION, null));\n\n Configuration configuration1 = authorizedAdmin.getConfiguration(pid1);\n Configuration configuration2 = authorizedAdmin.getConfiguration(pid2);\n Configuration configuration3 = authorizedAdmin.getConfiguration(pid1);\n\n assertEquals(configuration1, configuration3);\n assertNotEquals(configuration1, configuration2);\n assertTrue(configuration1.hashCode() == configuration3.hashCode());\n assertTrue(pid1.hashCode() != pid2.hashCode());\n assertTrue(configuration1.hashCode() != configuration2.hashCode());\n }", "title": "" }, { "docid": "6b5c6cd2060f79686d0a7a7529faa913", "score": "0.4334029", "text": "public IdentityProviderBaseParameters withType(IdentityProviderType type) {\n this.type = type;\n return this;\n }", "title": "" }, { "docid": "4228b7d0d4b2aee41a34d8398aed0513", "score": "0.43294796", "text": "@Bean\n public IdGenerator idGenerator(){\n return new IdGenerator();\n }", "title": "" }, { "docid": "5787510f1fde102bdfde5e28cac0ec39", "score": "0.43243322", "text": "public void setUseIdentityHashCode(boolean useIdentityHashCode) {\n/* 110 */ super.setUseIdentityHashCode(useIdentityHashCode);\n/* */ }", "title": "" }, { "docid": "40552eab886ac1761b8bb47ff6c269e1", "score": "0.431976", "text": "protected static Identity createIdentity(final Map<String, Map<String, String>> settings)\n throws IOException, InvalidIdentityFileException {\n if (!settings.containsKey(DOMAIN) || !settings.get(DOMAIN).containsKey(\"name\")\n || settings.get(DOMAIN).get(\"name\").isEmpty()) {\n throw new InvalidIdentityFileException(\"identity.name is not set\");\n }\n \n final String fs = System.getProperty(\"file.separator\");\n final String location = Main.getConfigDir() + \"identities\" + fs;\n final String name = settings.get(DOMAIN).get(\"name\").replaceAll(ILLEGAL_CHARS, \"_\");\n \n File file = new File(location + name);\n int attempt = 0;\n \n while (file.exists()) {\n file = new File(location + name + \"-\" + ++attempt);\n }\n \n final ConfigFile configFile = new ConfigFile(file);\n \n for (Map.Entry<String, Map<String, String>> entry : settings.entrySet()) {\n configFile.addDomain(entry.getKey(), entry.getValue());\n }\n \n configFile.write();\n \n final Identity identity = new Identity(file, false);\n IdentityManager.addIdentity(identity);\n \n return identity;\n }", "title": "" }, { "docid": "c649584540dab9fe6d7572dff9ccbec2", "score": "0.43169978", "text": "public interface Identity\n{\n String getKeyId();\n String getKeyFingerprint();\n Date getDate();\n int getKeyLength();\n String getEmailAddress();\n KeyAlgorithm getKeyAlgorithm();\n KeyUsage[] getKeyUsages();\n boolean canUseFor( KeyUsage usage );\n}", "title": "" }, { "docid": "30e2e99b03b7c97b64a25775686b7742", "score": "0.43118992", "text": "public InlinePropertiesConfigurationProvider() {\n\t\tsuper(PropertiesConfiguration.class);\n\t}", "title": "" }, { "docid": "2f5b1f587dfc586679066542fceba074", "score": "0.4308642", "text": "default ConfigCoordinate createNewConfiguration(ConfigurationElement element) throws ConfigurationServiceBackendException {\n throw ConfigurationServiceBackendException.notSupported();\n }", "title": "" }, { "docid": "a05d105be67a181df721ddf2f3988ac7", "score": "0.43053117", "text": "void configure(Map<String,Object> configuration);", "title": "" }, { "docid": "b44e259c18b3f2998d045a495882d311", "score": "0.43041176", "text": "public void setConfigId(Integer configId) {\n this.configId = configId;\n }", "title": "" }, { "docid": "40fa62296eb8b4b0f7f5992be8372dac", "score": "0.43027255", "text": "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tDaoAuthenticationProvider authProvider = new DaoAuthenticationProvider();\n\t\t//Instantiate a BCryptPasswordEncoder instance\n\t\tBCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();\n\t\t//Set the DaoAuthentication Instances values\n\t\tauthProvider.setUserDetailsService(adminDetailsService());\n\t\tauthProvider.setPasswordEncoder(passwordEncoder);\n\t\tauth.authenticationProvider(authProvider);\n\t}", "title": "" }, { "docid": "3f77b067a65effa5b21de91c49b44ab6", "score": "0.43012905", "text": "public Builder setIdentity(com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType value) {\n\t\t\t\tif (identityBuilder_ == null) {\n\t\t\t\t\tif (value == null) {\n\t\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t\t}\n\t\t\t\t\tidentity_ = value;\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tidentityBuilder_.setMessage(value);\n\t\t\t\t}\n\t\t\t\tbitField0_ |= 0x00000001;\n\t\t\t\treturn this;\n\t\t\t}", "title": "" }, { "docid": "3f77b067a65effa5b21de91c49b44ab6", "score": "0.43012905", "text": "public Builder setIdentity(com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType value) {\n\t\t\t\tif (identityBuilder_ == null) {\n\t\t\t\t\tif (value == null) {\n\t\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t\t}\n\t\t\t\t\tidentity_ = value;\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tidentityBuilder_.setMessage(value);\n\t\t\t\t}\n\t\t\t\tbitField0_ |= 0x00000001;\n\t\t\t\treturn this;\n\t\t\t}", "title": "" }, { "docid": "bd85b497599f1548f390debc4d45cde8", "score": "0.42999226", "text": "public void setIdentity(int identity) {\n\t\tthis.identity = identity;\n\t}", "title": "" }, { "docid": "1372cbfdc1b61dd4a327024c27feea44", "score": "0.42889512", "text": "public void setIdentityNumber(java.lang.String identityNumber) {\r\n this.identityNumber = identityNumber;\r\n }", "title": "" }, { "docid": "b50928b9c6041523ce414e1302463a84", "score": "0.42824262", "text": "public Builder mergeIdentity(com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType value) {\n\t\t\t\tif (identityBuilder_ == null) {\n\t\t\t\t\tif (((bitField0_ & 0x00000001) == 0x00000001) &&\n\t\t\t\t\t\t\tidentity_ != null &&\n\t\t\t\t\t\t\tidentity_ != com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.getDefaultInstance()) {\n\t\t\t\t\t\tidentity_ =\n\t\t\t\t\t\t\t\tcom.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.newBuilder(identity_).mergeFrom(value).buildPartial();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tidentity_ = value;\n\t\t\t\t\t}\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tidentityBuilder_.mergeFrom(value);\n\t\t\t\t}\n\t\t\t\tbitField0_ |= 0x00000001;\n\t\t\t\treturn this;\n\t\t\t}", "title": "" }, { "docid": "b50928b9c6041523ce414e1302463a84", "score": "0.4280061", "text": "public Builder mergeIdentity(com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType value) {\n\t\t\t\tif (identityBuilder_ == null) {\n\t\t\t\t\tif (((bitField0_ & 0x00000001) == 0x00000001) &&\n\t\t\t\t\t\t\tidentity_ != null &&\n\t\t\t\t\t\t\tidentity_ != com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.getDefaultInstance()) {\n\t\t\t\t\t\tidentity_ =\n\t\t\t\t\t\t\t\tcom.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.newBuilder(identity_).mergeFrom(value).buildPartial();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tidentity_ = value;\n\t\t\t\t\t}\n\t\t\t\t\tonChanged();\n\t\t\t\t} else {\n\t\t\t\t\tidentityBuilder_.mergeFrom(value);\n\t\t\t\t}\n\t\t\t\tbitField0_ |= 0x00000001;\n\t\t\t\treturn this;\n\t\t\t}", "title": "" }, { "docid": "861eef38dd2c2f2f6850f8884052014c", "score": "0.4279969", "text": "public static synchronized void configure(Configuration authContextConfiguration) throws AuthException {\n\n if (!configured) {\n CallbackHandler callbackHandler = new CallbackHandlerImpl();\n ServerAuthConfigImpl serverAuthConfig = new ServerAuthConfigImpl(null, null, callbackHandler);\n AuditLogger auditLogger = createAuditLogger(\n authContextConfiguration.getAuditLoggerClassName());\n AuditLoggerHolder.INSTANCE.setAuthenticationAuditLogger(auditLogger);\n\n for (String authContextId : authContextConfiguration.keySet()) {\n serverAuthConfig.registerAuthContext(authContextId, authContextConfiguration.get(authContextId));\n }\n\n // Now assemble the factory-provider-config-context-module structure\n AuthConfigFactory authConfigFactory = AuthConfigFactoryImpl.getInstance();\n AuthConfigProviderImpl authConfigProvider = new AuthConfigProviderImpl(null, null);\n authConfigProvider.setServerAuthConfig(serverAuthConfig);\n authConfigFactory.registerConfigProvider(authConfigProvider, null, null, null);\n\n configured = true;\n } else {\n throw new AuthException(\"JASPI Authn Filter already configured.\");\n }\n }", "title": "" }, { "docid": "ffc20edd22cb92407e05169aed529ae0", "score": "0.42757502", "text": "public String getIdentityType() {\n return identityType;\n }", "title": "" }, { "docid": "9f31877be1b1d89f54293c3cf0732683", "score": "0.42657027", "text": "public com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.Builder getIdentityBuilder() {\n\t\t\t\tbitField0_ |= 0x00000001;\n\t\t\t\tonChanged();\n\t\t\t\treturn getIdentityFieldBuilder().getBuilder();\n\t\t\t}", "title": "" }, { "docid": "9f31877be1b1d89f54293c3cf0732683", "score": "0.42657027", "text": "public com.satoshilabs.trezor.lib.protobuf.TrezorType.IdentityType.Builder getIdentityBuilder() {\n\t\t\t\tbitField0_ |= 0x00000001;\n\t\t\t\tonChanged();\n\t\t\t\treturn getIdentityFieldBuilder().getBuilder();\n\t\t\t}", "title": "" }, { "docid": "a34dd76923ceca5d05b73ab17e26fbff", "score": "0.42578688", "text": "public JagexConfig dn() {\n JagexConfigBuilder jagexConfigBuilder = new JagexConfigBuilder(this.aj);\n jagexConfigBuilder.setClientId(\"com_jagex_auth_mobile_android_osrs\");\n jagexConfigBuilder.setScope(\"gamesso.token.create payments payments.android.oldschool\");\n jagexConfigBuilder.setRedirectUri(\"com.jagex.mobilesdk.android.osrs:/oauth2redirect\");\n jagexConfigBuilder.setIssuerUri(this.aa);\n jagexConfigBuilder.setShopName(\"oldschool\");\n jagexConfigBuilder.setPaymentUri(this.ao);\n jagexConfigBuilder.setClientSecret(\"public\");\n return jagexConfigBuilder.build();\n }", "title": "" }, { "docid": "0aa2cb9982e9bc73052bdd73fe6098ce", "score": "0.42552868", "text": "ConfigurationContext getConfiguration();", "title": "" }, { "docid": "91e12971b10e9a05b51f491676405e67", "score": "0.42425004", "text": "public interface IRuntimeDatabaseConfiguration\n{\n \n /**\n\t *\tThe user that this configuration uses to connect to the database.\n\t *\t@return\tThe username.\n\t */\n public String getUsername();\n \n /**\n\t *\tGets the database provider. It provides information about the database, and access to its services.\n\t *\t@return\tThe database provider.\n\t */\n public IDatabaseProvider getDatabaseProvider();\n \n /**\n\t *\tGets the connection string that allows connecting to a database.\n\t *\t@return\tThe connection string.\n\t */\n public String getConnectionString();\n \n /**\n\t *\tGets the database identifier to be used in the configuration.\n\t *\t@return\tThe database identifier.\n\t */\n public String getDatabaseIdentifier();\n \n}", "title": "" }, { "docid": "13b7c8978eef9867c0fd767a8d4fc839", "score": "0.4240001", "text": "private void loadConfiguration() {\n String firstImplementation = null;\n String firstPersistenceUnit = null;\n HierarchicalConfiguration hc = null;\n List<String> persistenceUnits = null;\n URL configURL = null;\n try {\n configURL = DataManagerSettings.getConfigurationURL();\n LOGGER.debug(\"Loading configuration from {}\", configURL);\n hc = new HierarchicalConfiguration(new XMLConfiguration(configURL));\n LOGGER.debug(\"Configuration successfully loaded\");\n } catch (ConfigurationException ex) {\n // error in configuration\n // reason see debug log message:\n LOGGER.error(\"Failed to load configuration.\", ex);\n throw new RuntimeException(ex);\n }\n SubnodeConfiguration configurationAt = hc.configurationAt(CONFIG_ROOT);\n List fields = configurationAt.configurationsAt(CONFIG_PERSISTENCE_IMPL);\n LOGGER.debug(\"Found {} configured persistence implementations\", fields.size());\n persistenceUnitMap = new HashMap<>();\n persistenceClassMap = new HashMap<>();\n persistenceUnitDefaultMap = new HashMap<>();\n\n String implementationName;\n IPersistenceFactory iPersistenceFactory = null;\n for (Iterator it = fields.iterator(); it.hasNext();) {\n HierarchicalConfiguration sub = (HierarchicalConfiguration) it.next();\n LOGGER.debug(\"Reading sub-configuration\");\n // First get all persistence units.\n persistenceUnits = new ArrayList<>();\n try {\n List<HierarchicalConfiguration> persistenceUnitsList = sub.configurationsAt(CONFIG_PERSISTENCE_UNIT);\n if (persistenceUnitsList == null) {\n persistenceUnitsList = new LinkedList<>();\n }\n LOGGER.debug(\"Configuration contains {} persistence units.\", persistenceUnitsList.size());\n firstPersistenceUnit = null;\n for (HierarchicalConfiguration item : persistenceUnitsList) {\n String value = item.getString(\".\");\n String defaultAttribute = item.getString(\"[@default]\");\n\n LOGGER.debug(\"PersistenceUnit found: \" + value);\n LOGGER.debug(\"@default = {}\", defaultAttribute);\n\n if (Boolean.parseBoolean(defaultAttribute)) {\n if (firstPersistenceUnit == null) {\n LOGGER.debug(\"{} is used as default persistence unit.\", value);\n firstPersistenceUnit = value;\n } else {\n LOGGER.warn(\"{} is an additional persistence unit defined as default. We'll ignore this.\", value);\n }\n }\n\n LOGGER.debug(\"Adding persistence unit to list of units.\");\n persistenceUnits.add(value);\n }\n\n } catch (Exception any) {\n LOGGER.error(\"Failed to read persistence units.\", any);\n }\n LOGGER.debug(\"firstPersistenceUnit: \" + firstPersistenceUnit);\n if ((persistenceUnits.size() > 0) && (firstPersistenceUnit == null)) {\n LOGGER.debug(\"No default persistence unit defined. Using first entry ({})\", persistenceUnits.get(0));\n firstPersistenceUnit = persistenceUnits.get(0);\n }\n LOGGER.debug(\"Getting implementation name.\");\n implementationName = sub.getString(CONFIG_PERSISTENCE_NAME);\n LOGGER.debug(\"Implementation name '{}' found.\", implementationName);\n if (firstImplementation == null) {\n LOGGER.debug(\"Using implementation '{}' as first implementation.\", implementationName);\n firstImplementation = implementationName;\n }\n LOGGER.debug(\"Testing implementation '{}'\", implementationName);\n if (sub.containsKey(CONFIG_DEFAULT_PERSISTENCE)) {\n LOGGER.debug(\"'{}' is configured as default implementation.\", implementationName);\n if (defaultImplementation != null) {\n LOGGER.warn(\"{} is an additional implementation defined as default. We'll ignore this.\", implementationName);\n } else {\n defaultImplementation = implementationName;\n }\n }\n Class<?> loadClass;\n boolean success = false;\n String persistenceClass = sub.getString(CONFIG_PERSISTENCE_CLASS);\n try {\n\n LOGGER.debug(\"Loading class '{}': \", persistenceClass);\n loadClass = getClass().getClassLoader().loadClass(persistenceClass);\n LOGGER.debug(\"Checking IPersistenceFactory.class.assignableFrom({})\", persistenceClass);\n success = IPersistenceFactory.class.isAssignableFrom(loadClass);\n iPersistenceFactory = null;\n if (success) {\n LOGGER.debug(\"Creating instance of class {}\", persistenceClass);\n iPersistenceFactory = (IPersistenceFactory) loadClass.newInstance();\n LOGGER.debug(\"Persistence factory successfully instantiated.\");\n } else {\n LOGGER.error(\"IPersistenceFactory seems not to be assignable from class {}\", persistenceClass);\n }\n } catch (InstantiationException | IllegalAccessException | ClassNotFoundException ex) {\n LOGGER.error(\"Failed to create instance of persistence implementation \" + persistenceClass, ex);\n success = false;\n }\n if (success) {\n persistenceUnitMap.put(implementationName, persistenceUnits);\n persistenceClassMap.put(implementationName, iPersistenceFactory);\n persistenceUnitDefaultMap.put(implementationName, firstPersistenceUnit);\n } else {\n throw new edu.kit.dama.mdm.core.exception.ConfigurationException(\"Failed to initialize persistence factory from URL '\" + configURL + \"'. See logfile for details.\");\n }\n }\n if (defaultImplementation == null) {\n LOGGER.debug(\"Default implementation not set, yet. Using first one ({}) as default.\", firstImplementation);\n defaultImplementation = firstImplementation;\n }\n }", "title": "" }, { "docid": "000ad93d39d48536e73afa9bdcdb3a60", "score": "0.42384425", "text": "@Override\n public void configureRepositoryRestConfiguration(RepositoryRestConfiguration config) {\n config.exposeIdsFor(Airport.class);\n config.exposeIdsFor(Passenger.class);\n }", "title": "" }, { "docid": "5bbda759d5570860cdfe7de6ddc5e3f8", "score": "0.42360112", "text": "Mono<ConfigurationItem> getConfiguration(String storeName, String key, Map<String, String> metadata);", "title": "" }, { "docid": "a60e8b09b1fca2e8770f302a8402b543", "score": "0.42206442", "text": "@Test\n public void processMultipleLevelIdentity() throws IOException,\n ParserException, MojoExecutionException {\n deleteDirectory(DIR);\n String searchDir = \"src/test/resources/multipleIdentity\";\n Set<Path> paths = new HashSet<>();\n for (String file : getYangFiles(searchDir)) {\n paths.add(Paths.get(file));\n }\n\n utilManager.createYangFileInfoSet(paths);\n utilManager.parseYangFileInfoSet();\n utilManager.createYangNodeSet();\n\n YangNode selfNode = null;\n\n // Create YANG node set\n yangLinkerManager.createYangNodeSet(utilManager.getYangNodeSet());\n\n // Add references to import list.\n yangLinkerManager.addRefToYangFilesImportList(utilManager.getYangNodeSet());\n\n updateFilePriority(utilManager.getYangNodeSet());\n\n // Carry out inter-file linking.\n yangLinkerManager.processInterFileLinking(utilManager.getYangNodeSet());\n\n for (YangNode rootNode : utilManager.getYangNodeSet()) {\n if (rootNode.getName().equals(\"test\")) {\n selfNode = rootNode;\n }\n }\n\n // Check whether the data model tree returned is of type module.\n assertThat(selfNode instanceof YangModule, is(true));\n\n // Check whether the node type is set properly to module.\n assertThat(selfNode.getNodeType(), is(MODULE_NODE));\n\n // Check whether the module name is set correctly.\n YangModule yangNode = (YangModule) selfNode;\n assertThat(yangNode.getName(), is(\"test\"));\n\n YangIdentity id = ((YangIdentity) yangNode.getChild());\n assertThat(id.getName(), is(\"identity3\"));\n\n assertThat(id.getExtendList().get(0).getName(), is(\"identity2\"));\n assertThat(id.getExtendList().get(1).getName(), is(\"identity1\"));\n\n YangPluginConfig yangPluginConfig = new YangPluginConfig();\n yangPluginConfig.setCodeGenDir(DIR);\n utilManager.translateToJava(yangPluginConfig);\n compileCode(COMP);\n deleteDirectory(DIR);\n }", "title": "" }, { "docid": "eed2fea0fc12eaf9b8255e74c62fc300", "score": "0.42192793", "text": "public Configuration configure(){\r\n\t\tConfiguration config = Db4o.newConfiguration();\r\n\t\tconfig.allowVersionUpdates(allowUpdates);\r\n\t\tconfig.activationDepth(0);\r\n\t\tconfig.add(new DotnetSupport(true));\r\n\t\treturn config;\r\n\t}", "title": "" }, { "docid": "26ea28749bf650c6d5c198e07fa713dd", "score": "0.4219141", "text": "@Test\n public void shouldSaveSimpleConfigurationToContentHandler() throws Exception {\n configuration.repositorySource(\"Source1\")\n .usingClass(InMemoryRepositorySource.class.getName())\n .loadedFromClasspath()\n .setProperty(\"retryLimit\", 5)\n .and()\n .save();\n\n GraphHandler handler = new GraphHandler();\n\n configuration.storeTo(handler);\n\n Subgraph subgraph = handler.graph().getSubgraphOfDepth(3).at(\"/\");\n assertThat(subgraph.getNode(\"/mode:sources\"), is(notNullValue()));\n assertThat(subgraph.getNode(\"/mode:sources/Source1\"), is(notNullValue()));\n assertThat(subgraph.getNode(\"/mode:sources/Source1\"), hasProperty(ModeShapeLexicon.RETRY_LIMIT, \"5\"));\n assertThat(subgraph.getNode(\"/mode:sources/Source1\"), hasProperty(ModeShapeLexicon.CLASSNAME,\n InMemoryRepositorySource.class.getName()));\n\n }", "title": "" }, { "docid": "2c5b4a84b1e6f94039d4ff698ee7a958", "score": "0.4215429", "text": "@Override\n public void storeConfigurations(\n Map<String, Configuration> configurations,\n ConvertConfigurationAnswerElement convertAnswerElement,\n @Nullable Layer1Topology synthesizedLayer1Topology,\n NetworkId network,\n SnapshotId snapshot)\n throws IOException {\n\n mkdirs(getSnapshotDir(network, snapshot));\n\n // Save the convert configuration answer element.\n Path ccaePath = getConvertAnswerPath(network, snapshot);\n mkdirs(ccaePath.getParent());\n serializeObject(convertAnswerElement, ccaePath);\n\n // Save the synthesized layer1 topology\n if (synthesizedLayer1Topology != null) {\n storeSynthesizedLayer1Topology(synthesizedLayer1Topology, network, snapshot);\n }\n\n Path outputDir = getVendorIndependentConfigDir(network, snapshot);\n\n String batchName =\n String.format(\n \"Serializing %s vendor-independent configuration structures for snapshot %s\",\n configurations.size(), snapshot);\n\n storeConfigurations(outputDir, batchName, configurations);\n }", "title": "" }, { "docid": "2cfd9199d079b2efa155a17c8aa3cde8", "score": "0.42080447", "text": "public void setId_config(int id_config) {\n\t\tthis.id_config = id_config;\n\t}", "title": "" }, { "docid": "11fe2c87bb598b895ec6e1d0c03ad566", "score": "0.42077667", "text": "public interface DatastoreEntityManager<EntityId, Entity, EntityMetadata extends DatastoreEntityMetadata<EntityDiscriminator>, EntityDiscriminator, PropertyMetadata>\n extends DatastorePropertyManager<Entity, PropertyMetadata> {\n\n /**\n * Determine if the given object is an entity.\n *\n * @param o\n * The object.\n * @return <code>true</code> if the object is an entity, <code>false</code>\n * otherwise.\n */\n boolean isEntity(Object o);\n\n /**\n * Return the type discriminators of an entity.\n *\n * @param entity\n * The entity.\n * @return The set of all type discriminators associated with the entity.\n */\n Set<EntityDiscriminator> getEntityDiscriminators(Entity entity);\n\n /**\n * Return the id of an entity.\n *\n * @param entity\n * The entity.\n * @return The id of the entity.\n */\n EntityId getEntityId(Entity entity);\n\n /**\n * Create a new entity for the given types using a set of discriminators\n * representing these types.\n *\n * @param types\n * The types.\n * @param discriminators\n * The set of discriminators.\n * @param exampleEntity\n * The example entity.\n * @return The created entity.\n */\n Entity createEntity(CompositeTypeMetadata<EntityTypeMetadata<EntityMetadata>> types, Set<EntityDiscriminator> discriminators,\n Map<PrimitivePropertyMethodMetadata<PropertyMetadata>, Object> exampleEntity);\n\n /**\n * Delete an entity.\n *\n * @param entity\n * The entity to deleteEntity.\n */\n void deleteEntity(Entity entity);\n\n /**\n * Find an entity using its id.\n *\n * @param metadata\n * The metadata of the type.\n * @param discriminator\n * The discriminator to find the entity.\n * @param id\n * The id.\n * @return The entity.\n */\n Entity findEntityById(EntityTypeMetadata<EntityMetadata> metadata, EntityDiscriminator discriminator, EntityId id);\n\n /**\n * Find entities using given primitive property values.\n *\n * @param type\n * The type of the instances.\n * @param discriminator\n * The discriminator to find the entities.\n * @param values\n * The primitive value.\n * @return An iterator returning matching entities.\n */\n ResultIterator<Entity> findEntity(EntityTypeMetadata<EntityMetadata> type, EntityDiscriminator discriminator,\n Map<PrimitivePropertyMethodMetadata<PropertyMetadata>, Object> values);\n\n /**\n * Add a set of discriminators to an entity.\n *\n * @param types\n * @param entity\n * The entity.\n * @param discriminators\n */\n void addDiscriminators(CompositeTypeMetadata<EntityTypeMetadata<EntityMetadata>> types, Entity entity, Set<EntityDiscriminator> discriminators);\n\n /**\n * Remove a set of discriminators from an entity.\n *\n * @param removedTypes\n * @param entity\n * The entity.\n * @param discriminators\n */\n void removeDiscriminators(CompositeTypeMetadata<EntityTypeMetadata<EntityMetadata>> removedTypes, Entity entity, Set<EntityDiscriminator> discriminators);\n\n}", "title": "" }, { "docid": "1b5c713074be6090492a3e0cb9d75039", "score": "0.42042854", "text": "private void configureAccountsUsingIldcp() {\n /////////////////////////////////\n // ^^ Parent Account ^^\n /////////////////////////////////\n // If this Connector is starting in `child` mode, it will not have an operator address. We need to find the first\n // account of type `parent` and use IL-DCP to get the operating account for this Connector.\n final Optional<AccountSettingsEntity> primaryParentAccountSettings =\n this.accountSettingsRepository.findPrimaryParentAccountSettings();\n if (primaryParentAccountSettings.isPresent()) {\n // If there's no Operator Address, use IL-DCP to try to get one. Only try this once. If this fails, then the\n // Connector should not startup.\n this.accountManager.initializeParentAccountSettingsViaIlDcp(primaryParentAccountSettings.get().getAccountId());\n logger.info(\n \"IL-DCP Succeeded! Operator Address: `{}`\", connectorSettingsSupplier.get().operatorAddress().get()\n );\n } else {\n logger.warn(\"At least one `parent` account must be defined if no operator address is specified at startup. \" +\n \"Please set the operator address or else add a new account of type `PARENT`\");\n }\n }", "title": "" }, { "docid": "40b43a84976acb8af02ff8b32d0443ed", "score": "0.41988507", "text": "public JagexConfig ds() {\n JagexConfigBuilder jagexConfigBuilder = new JagexConfigBuilder(this.aj);\n jagexConfigBuilder.setClientId(\"com_jagex_auth_mobile_android_osrs\");\n jagexConfigBuilder.setScope(\"gamesso.token.create payments payments.android.oldschool\");\n jagexConfigBuilder.setRedirectUri(\"com.jagex.mobilesdk.android.osrs:/oauth2redirect\");\n jagexConfigBuilder.setIssuerUri(this.aa);\n jagexConfigBuilder.setShopName(\"oldschool\");\n jagexConfigBuilder.setPaymentUri(this.ao);\n jagexConfigBuilder.setClientSecret(\"public\");\n return jagexConfigBuilder.build();\n }", "title": "" }, { "docid": "7e6b1dd5ff7362b07ef4b40e09b277ec", "score": "0.41954505", "text": "@Override\n protected void configure() {\n install(new AvroIndexingInternalModule(properties));\n }", "title": "" }, { "docid": "ac25d0141ac5dfcd4cf8bca31d2f2312", "score": "0.4175948", "text": "private void configJpa() {\n\t\tMap<String, String> properties = new HashMap<>();\n\t\tproperties.put(\"javax.persistence.jdbc.driver\", \"oracle.jdbc.OracleDriver\");\n\t\tproperties.put(\"javax.persistence.jdbc.url\", \"jdbc:oracle:thin:@localhost:1521:local\");\n\t\tproperties.put(\"javax.persistence.jdbc.user\", \"root\");\n\t\tproperties.put(\"javax.persistence.jdbc.password\", \"password\");\n\n\t\tEntityManagerFactory emf = Persistence.createEntityManagerFactory(\"Model\", properties);\n\n\t\tEntityManager em = emf.createEntityManager();\n\n\t\ttry {\n\t\t\t// begin\n\t\t\tem.getTransaction().begin();\n\n\t\t\tEmployee employee = new Employee(\"Ujang\", \"Ujang\", \"ujang@btpn.com\");\n\n\t\t\tem.persist(employee);\n\n\t\t\t// commit\n\t\t\tem.getTransaction().commit();\n\n\t\t} finally {\n\n\t\t\t// rollback\n\t\t\tif (em.getTransaction().isActive()) {\n\t\t\t\tem.getTransaction().rollback();\n\t\t\t}\n\n\t\t\tem.close();\n\t\t\temf.close();\n\t\t}\n\t}", "title": "" }, { "docid": "dcafc2e545a18e86d9fc7c127b317a51", "score": "0.4174862", "text": "@Autowired\n public EmployeeDao(Configuration configuration) {\n super(Employee.EMPLOYEE, PharmacyDataAccess.tables.pojos.Employee.class, configuration);\n }", "title": "" }, { "docid": "a6f7ec2f6c4d83dd909958ad00057829", "score": "0.4174789", "text": "public abstract void configure(NotificationConfiguration conf);", "title": "" }, { "docid": "84f7cf30c671777cce55b206bc6df390", "score": "0.4173164", "text": "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:35:05.463 -0500\", hash_original_method = \"152BBD78ACB87D16BE4EC07F107E0DF8\", hash_generated_method = \"FE82D2B1F6EB0C509E44BD0A381CFAFA\")\n \npublic Configuration(Configuration o) {\n setTo(o);\n }", "title": "" }, { "docid": "1b02d117c36d119030655013a976db37", "score": "0.41680214", "text": "public void setIdentity(String identity)\n {\n if (null == identity) {\n this.identity = DEFAULT_IDENTITY;\n return;\n }\n this.identity = identity;\n }", "title": "" }, { "docid": "3067945516663227c2ed38b74b504c86", "score": "0.41568428", "text": "public DescribedServer withIdentityProviderType(IdentityProviderType identityProviderType) {\n this.identityProviderType = identityProviderType.toString();\n return this;\n }", "title": "" }, { "docid": "bb1f8c24cf2a3dac39a01b0969af33fd", "score": "0.41524184", "text": "public CloudinsUserDao(Configuration configuration) {\n super(CloudinsUser.CLOUDINS_USER, jooq.data.tables.pojos.CloudinsUser.class, configuration);\n }", "title": "" }, { "docid": "80df161c4a52031fb5da692bbf3c435e", "score": "0.41483632", "text": "private void configureAccounts() {\n // Connect any Links for accounts that are the connection initiator. Links that require an incoming and outgoing\n // connection will emit a LinkConnectedEvent when the incoming connection is connected.\n this.accountSettingsRepository.findAccountSettingsEntitiesByConnectionInitiatorIsTrueWithConversion().stream()\n .map(linkManager::getOrCreateLink)\n .forEach(Link::connect);\n }", "title": "" }, { "docid": "e6373367fe2fcc7eee3b6247774644c6", "score": "0.414058", "text": "public void configure(Element _configuration) throws ReportInitializationException;", "title": "" }, { "docid": "0d1016d56bc93b0a120a37e331c544cf", "score": "0.41390654", "text": "public interface IdentityDAO extends GenericDAO<HibernateIdentity, Long>\n{\n HibernateIdentity get(String username, String domain);\n\n List<HibernateIdentity> findByDomain(String domain);\n}", "title": "" }, { "docid": "9503481f477a631871800cf7066c420e", "score": "0.41339466", "text": "@Override\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\t// TODO-05: Add an in-memory user-details service configurer and\n\t\t// setup a single user using the ADMIN_??? constants above.\n\t}", "title": "" }, { "docid": "a13fbdcac8cdd06be2d6c90b265e1a11", "score": "0.41292682", "text": "@Override\n protected void writeIndexingBackendConfiguration( OperationContext context,\n ModelNode storage,\n EditableDocument backend ) throws OperationFailedException {\n backend.set(FieldName.TYPE, FieldValue.INDEXING_BACKEND_TYPE_JMS_MASTER);\n String connJndi = ModelAttributes.CONNECTION_FACTORY_JNDI_NAME.resolveModelAttribute(context, storage).asString();\n String queueJndi = ModelAttributes.QUEUE_JNDI_NAME.resolveModelAttribute(context, storage).asString();\n backend.set(FieldName.INDEXING_BACKEND_JMS_CONNECTION_FACTORY_JNDI_NAME, connJndi);\n backend.set(FieldName.INDEXING_BACKEND_JMS_QUEUE_JNDI_NAME, queueJndi);\n }", "title": "" }, { "docid": "a8d3d4112ddeace72b3dbbcbb818840c", "score": "0.41268665", "text": "private AnnotationConfiguration configureDataBaseConnection(\n String dbUrl,\n String dbDialect,\n String dbDriverName,\n String dbUser,\n String dbPassword) throws Exception {\n \n AnnotationConfiguration configuration;\n \n try {\n \tconfiguration = new AnnotationConfiguration();\n \n \tconfiguration.setProperty(\"hibernate.connection.url\", \"jdbc:\" + dbUrl);\n configuration.setProperty(\"hibernate.connection.username\", dbUser);\n configuration.setProperty(\"hibernate.connection.password\", dbPassword);\n \n if (dbDialect.equals(\"\")) {\n configuration.setProperty(\"hibernate.dialect\", DEFAULT_DIALECT);\n } else {\n configuration.setProperty(\"hibernate.dialect\", dbDialect);\n }\n if (dbDriverName.equals(\"\")) {\n configuration.setProperty(\"hibernate.connection.driver_class\", DEFAULT_DRIVER);\n } else {\n configuration.setProperty(\"hibernate.connection.driver_class\", dbDriverName);\n }\n configuration.setProperty(\"hibernate.jdbc.batch_size\", \"25\");\n configuration.setProperty(\"hibernate.connection.pool_size\", \"1\");\n configuration.setProperty(\"hibernate.cache.use_second_level_cache\", \"false\");\n configuration.setProperty(\"hibernate.current_session_context_class\", \"thread\");\n //configuration.setProperty(\"hibernate.current_session_context_class\", \"managed\");\n \n configuration.setProperty(\"hibernate.show_sql\", \"true\");\n //configuration.setProperty(\"hibernate.hbm2ddl.auto\", \"create-drop\");\n configuration.setProperty(\"hibernate.hbm2ddl.auto\", \"update\");\n \n for (Class<?> annotatedClass : gatherModels()) {\n configuration.addAnnotatedClass(annotatedClass);\n \n // sfLogger.debug(\"Added annotated class '\" + annotatedClass.getCanonicalName() +\n // \"' to configuration.\");\n }\n } catch (MappingException e) {\n throw new HibernateException(e);\n }\n \n return configuration;\n }", "title": "" }, { "docid": "2bd90bc378806514886a480b57a57ed7", "score": "0.41262123", "text": "private void defineConfiguration() {\n // Define new configuration and set autofocus\n Config config = new Config(mySession);\n config.setFocusMode(Config.FocusMode.AUTO);\n config.setUpdateMode(Config.UpdateMode.LATEST_CAMERA_IMAGE);\n\n // Set the camera configurations for the session\n mySession.setCameraConfig(mySession.getSupportedCameraConfigs().get(1));\n myArFragment.getArSceneView().setupSession(mySession);\n\n if (setupAugmentedImagesDb(config, mySession)) {\n Log.i(TAG, \"Image database setup successful!\");\n } else {\n Log.i(TAG, \"Image database setup not successful!\");\n }\n\n mySession.configure(config);\n }", "title": "" }, { "docid": "fe0c9845252b6fda8c436ae18f09765b", "score": "0.41252312", "text": "ManagedIdentityCredential(String clientId, IdentityClientOptions identityClientOptions) {\n IdentityClientBuilder clientBuilder = new IdentityClientBuilder()\n .clientId(clientId)\n .identityClientOptions(identityClientOptions);\n\n Configuration configuration = Configuration.getGlobalConfiguration().clone();\n\n if (configuration.contains(Configuration.PROPERTY_MSI_ENDPOINT)) {\n managedIdentityServiceCredential = new AppServiceMsiCredential(clientId, clientBuilder.build());\n } else if (configuration.contains(Configuration.PROPERTY_IDENTITY_ENDPOINT)) {\n if (configuration.contains(Configuration.PROPERTY_IDENTITY_HEADER)) {\n if (configuration.get(PROPERTY_IDENTITY_SERVER_THUMBPRINT) != null) {\n managedIdentityServiceCredential = new ServiceFabricMsiCredential(clientId, clientBuilder.build());\n } else {\n managedIdentityServiceCredential = new VirtualMachineMsiCredential(clientId, clientBuilder.build());\n }\n } else if (configuration.get(PROPERTY_IMDS_ENDPOINT) != null) {\n managedIdentityServiceCredential = new ArcIdentityCredential(clientId, clientBuilder.build());\n } else {\n managedIdentityServiceCredential = new VirtualMachineMsiCredential(clientId, clientBuilder.build());\n }\n } else if (configuration.contains(Configuration.PROPERTY_AZURE_TENANT_ID)\n && configuration.get(AZURE_FEDERATED_TOKEN_FILE) != null) {\n String clientIdentifier = clientId == null\n ? configuration.get(Configuration.PROPERTY_AZURE_CLIENT_ID) : clientId;\n clientBuilder.clientId(clientIdentifier);\n clientBuilder.tenantId(configuration.get(Configuration.PROPERTY_AZURE_TENANT_ID));\n clientBuilder.clientAssertionPath(configuration.get(AZURE_FEDERATED_TOKEN_FILE));\n clientBuilder.clientAssertionTimeout(Duration.ofMinutes(5));\n managedIdentityServiceCredential = new ClientAssertionCredential(clientIdentifier, clientBuilder.build());\n } else {\n managedIdentityServiceCredential = new VirtualMachineMsiCredential(clientId, clientBuilder.build());\n }\n LoggingUtil.logAvailableEnvironmentVariables(logger, configuration);\n }", "title": "" }, { "docid": "a9bb77c95719cbf78798a25912c1c62e", "score": "0.41216204", "text": "public void testConfigure_NullauthorizationIdGeneratorName() throws Exception {\r\n try {\r\n instance.configure(new DefaultConfigurationObject(\"test\"));\r\n fail(\"AmazonFlexiblePaymentSystemComponentConfigurationException expected.\");\r\n } catch (AmazonFlexiblePaymentSystemComponentConfigurationException e) {\r\n //good\r\n }\r\n }", "title": "" }, { "docid": "6f5567151a1efcf5f2e11e3b74e33238", "score": "0.4100846", "text": "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tPasswordEncoder pwdEncoder = new BCryptPasswordEncoder();\r\n\r\n\t\tauth.inMemoryAuthentication() // 驗證資訊存放於記憶體\r\n\t\t\t\t.passwordEncoder(pwdEncoder).withUser(\"admin\").password(pwdEncoder.encode(\"admin99\"))\r\n\t\t\t\t.roles(\"ADMIN\", \"MEMBER\").and()\r\n\t\t\t\t.withUser(\"caterpillar\").password(pwdEncoder.encode(\"1234\"))\r\n\t\t\t\t.roles(\"MEMBER\");\r\n\t\t\r\n\t\tauth.userDetailsService(userDetailsService());\r\n\t}", "title": "" }, { "docid": "a76ec720feec4edfb18e6567a157740e", "score": "0.41001236", "text": "String getIdentityKey();", "title": "" }, { "docid": "13050e7cfa030ae18801e95f7168b563", "score": "0.40809995", "text": "@SuppressWarnings({ \"unchecked\" })\n \tpublic Ejb3Configuration configure(PersistenceMetadata metadata, Map overridesIn) {\n \t\tlog.debug( \"Creating Factory: {}\", metadata.getName() );\n \n \t\tMap overrides = new HashMap();\n \t\tif ( overridesIn != null ) {\n \t\t\toverrides.putAll( overridesIn );\n \t\t}\n \n \t\tMap workingVars = new HashMap();\n \t\tworkingVars.put( AvailableSettings.PERSISTENCE_UNIT_NAME, metadata.getName() );\n \t\tthis.persistenceUnitName = metadata.getName();\n \n \t\tif ( StringHelper.isNotEmpty( metadata.getJtaDatasource() ) ) {\n \t\t\tthis.setProperty( Environment.DATASOURCE, metadata.getJtaDatasource() );\n \t\t}\n \t\telse if ( StringHelper.isNotEmpty( metadata.getNonJtaDatasource() ) ) {\n \t\t\tthis.setProperty( Environment.DATASOURCE, metadata.getNonJtaDatasource() );\n \t\t}\n \t\telse {\n \t\t\tfinal String driver = (String) metadata.getProps().get( AvailableSettings.JDBC_DRIVER );\n \t\t\tif ( StringHelper.isNotEmpty( driver ) ) {\n \t\t\t\tthis.setProperty( Environment.DRIVER, driver );\n \t\t\t}\n \t\t\tfinal String url = (String) metadata.getProps().get( AvailableSettings.JDBC_URL );\n \t\t\tif ( StringHelper.isNotEmpty( url ) ) {\n \t\t\t\tthis.setProperty( Environment.URL, url );\n \t\t\t}\n \t\t\tfinal String user = (String) metadata.getProps().get( AvailableSettings.JDBC_USER );\n \t\t\tif ( StringHelper.isNotEmpty( user ) ) {\n \t\t\t\tthis.setProperty( Environment.USER, user );\n \t\t\t}\n \t\t\tfinal String pass = (String) metadata.getProps().get( AvailableSettings.JDBC_PASSWORD );\n \t\t\tif ( StringHelper.isNotEmpty( pass ) ) {\n \t\t\t\tthis.setProperty( Environment.PASS, pass );\n \t\t\t}\n \t\t}\n \t\tdefineTransactionType( metadata.getTransactionType(), workingVars );\n \t\tif ( metadata.getClasses().size() > 0 ) {\n \t\t\tworkingVars.put( AvailableSettings.CLASS_NAMES, metadata.getClasses() );\n \t\t}\n \t\tif ( metadata.getPackages().size() > 0 ) {\n \t\t\tworkingVars.put( AvailableSettings.PACKAGE_NAMES, metadata.getPackages() );\n \t\t}\n \t\tif ( metadata.getMappingFiles().size() > 0 ) {\n \t\t\tworkingVars.put( AvailableSettings.XML_FILE_NAMES, metadata.getMappingFiles() );\n \t\t}\n \t\tif ( metadata.getHbmfiles().size() > 0 ) {\n \t\t\tworkingVars.put( AvailableSettings.HBXML_FILES, metadata.getHbmfiles() );\n \t\t}\n \n \t\tProperties props = new Properties();\n \t\tprops.putAll( metadata.getProps() );\n \n \t\t// validation factory\n \t\tfinal Object validationFactory = overrides.get( AvailableSettings.VALIDATION_FACTORY );\n \t\tif ( validationFactory != null ) {\n \t\t\tprops.put( AvailableSettings.VALIDATION_FACTORY, validationFactory );\n \t\t}\n \t\toverrides.remove( AvailableSettings.VALIDATION_FACTORY );\n \n \t\t// validation-mode (overrides has precedence)\n \t\t{\n \t\t\tfinal Object integrationValue = overrides.get( AvailableSettings.VALIDATION_MODE );\n \t\t\tif ( integrationValue != null ) {\n \t\t\t\tprops.put( AvailableSettings.VALIDATION_MODE, integrationValue.toString() );\n \t\t\t}\n \t\t\telse if ( metadata.getValidationMode() != null ) {\n \t\t\t\tprops.put( AvailableSettings.VALIDATION_MODE, metadata.getValidationMode() );\n \t\t\t}\n \t\t\toverrides.remove( AvailableSettings.VALIDATION_MODE );\n \t\t}\n \n \t\t// shared-cache-mode (overrides has precedence)\n \t\t{\n \t\t\tfinal Object integrationValue = overrides.get( AvailableSettings.SHARED_CACHE_MODE );\n \t\t\tif ( integrationValue != null ) {\n \t\t\t\tprops.put( AvailableSettings.SHARED_CACHE_MODE, integrationValue.toString() );\n \t\t\t}\n \t\t\telse if ( metadata.getSharedCacheMode() != null ) {\n \t\t\t\tprops.put( AvailableSettings.SHARED_CACHE_MODE, metadata.getSharedCacheMode() );\n \t\t\t}\n \t\t\toverrides.remove( AvailableSettings.SHARED_CACHE_MODE );\n \t\t}\n \n \t\tfor ( Map.Entry entry : (Set<Map.Entry>) overrides.entrySet() ) {\n \t\t\tObject value = entry.getValue();\n \t\t\tprops.put( entry.getKey(), value == null ? \"\" : value ); //alter null, not allowed in properties\n \t\t}\n \n \t\tconfigure( props, workingVars );\n \t\treturn this;\n \t}", "title": "" }, { "docid": "655ffe7aec9215740b7fb47be34fbee8", "score": "0.40801096", "text": "public Metadata.ExternalId.Builder addExternalIdBuilder(\n int index) {\n return getExternalIdFieldBuilder().addBuilder(\n index, Metadata.ExternalId.getDefaultInstance());\n }", "title": "" }, { "docid": "655ffe7aec9215740b7fb47be34fbee8", "score": "0.4077645", "text": "public Metadata.ExternalId.Builder addExternalIdBuilder(\n int index) {\n return getExternalIdFieldBuilder().addBuilder(\n index, Metadata.ExternalId.getDefaultInstance());\n }", "title": "" }, { "docid": "655ffe7aec9215740b7fb47be34fbee8", "score": "0.40770763", "text": "public Metadata.ExternalId.Builder addExternalIdBuilder(\n int index) {\n return getExternalIdFieldBuilder().addBuilder(\n index, Metadata.ExternalId.getDefaultInstance());\n }", "title": "" }, { "docid": "40718c3a29f1b9e56b1716fc0cac74ba", "score": "0.40683836", "text": "public long insertIdentity(String keyLabel, byte[] publicKey, String displayName) {\n final SQLiteDatabase db = mDbHelper.getWritableDatabase();\n\n // build values struture\n final ContentValues values = new ContentValues();\n values.put(FullContract.Identities.COLUMN_IDENTIFIER, keyLabel);\n values.put(FullContract.Identities.COLUMN_PUBLICKEY, publicKey);\n\n String name = displayName;\n if (displayName == null || displayName.isEmpty()) {\n name = ByteUtils.bytesToHex(publicKey);\n }\n values.put(FullContract.Identities.COLUMN_DISPLAY_NAME, name);\n\n try {\n return db.insert(FullContract.Identities.TABLE_NAME, null, values);\n } finally {\n // notify content resolvers\n mContext.getContentResolver().notifyChange(FullContract.Identities.URI_ALL, null);\n }\n }", "title": "" }, { "docid": "cea0575c3efcf81b597bea27340ff4d9", "score": "0.40633878", "text": "public IdentityProviderDetails getIdentityProviderDetails() {\n return this.identityProviderDetails;\n }", "title": "" }, { "docid": "8f7b18c75fd338ba7d60e6f1edc26d42", "score": "0.40620458", "text": "SignInResult connectOnly( List<IMUserSetting> seedUserSettings );", "title": "" }, { "docid": "121d65ead797329d97f12928c48f8dd7", "score": "0.40587446", "text": "Configurations createConfigurations(Connection connection, Configurations configurations) throws SQLException;", "title": "" }, { "docid": "18e967916ea4c02a4bdec4e285e192c4", "score": "0.4051961", "text": "public void setIdentity(int identity) {\n mIdentity = identity;\n }", "title": "" }, { "docid": "0e6ab696c269190639f98aa92ee556bb", "score": "0.40513092", "text": "public void storeConfiguration() throws IOException;", "title": "" }, { "docid": "751801e460908348593342c548271027", "score": "0.40506428", "text": "protected void addExternalIdentifiersFromEbXML(C metaData, E ebXML) {\r\n var patientID = ebXML.getExternalIdentifierValue(patientIdExternalId);\r\n metaData.setPatientId(Hl7v2Based.parse(patientID, Identifiable.class));\r\n metaData.setUniqueId(ebXML.getExternalIdentifierValue(uniqueIdExternalId));\r\n }", "title": "" }, { "docid": "3a1bd8e52d6326dace9cfc41ffa65cfb", "score": "0.40503958", "text": "public DescribedServer withIdentityProviderType(String identityProviderType) {\n setIdentityProviderType(identityProviderType);\n return this;\n }", "title": "" }, { "docid": "0e518826204baf916e1600fa371789e5", "score": "0.40482113", "text": "private void setupId(NormalColumn normalColumn, PersistentContext context, final StringBuilder xml) {\n }", "title": "" }, { "docid": "2786efc9e74688526fb4d76a9d9ea883", "score": "0.40451282", "text": "public ClanEventPersistentConfigDao(Configuration configuration) {\n\t\tsuper(ClanEventPersistentConfig.CLAN_EVENT_PERSISTENT_CONFIG, ClanEventPersistentConfigPojo.class, configuration);\n\t}", "title": "" }, { "docid": "91dddc1d8c4e0edb7175726d5b7dc1c9", "score": "0.40424088", "text": "public interface CourseInfoBuilderId\n {\n\n /**\n * sets the id field.\n * @param id The value to assign to the id field\n * @return Builder interface for setting the start field\n */\n public CourseInfoBuilderStart id(CourseID id);\n\n /**\n * sets the id field.\n * @param id The value to assign to the id field\n * @return Builder interface for setting the start field\n */\n public CourseInfoBuilderStart id(Long id) throws InvalidValueException;\n\n }", "title": "" }, { "docid": "7306189d209ccf540427f785c76c6cae", "score": "0.40282887", "text": "public InMemoryConfigurator(Id.Account id, Location archive) {\n Preconditions.checkNotNull(id);\n Preconditions.checkNotNull(archive);\n this.archive = archive;\n this.application = null;\n }", "title": "" }, { "docid": "217ffbd414e99dfb3f698e6cd40992d0", "score": "0.4026982", "text": "public void addPolicyConfiguration(ConfigurationContext configurationContext, Policy policyConfig)throws PolicyConfigurationException;", "title": "" } ]
3670c1bf20e5735b0e0644141a99b5bf
System.out.println("Visiting MethodCall:"+ s.toString()); System.out.println("Current state: "+b);
[ { "docid": "cea5e4be09adddfbcc09b13b0819dd3c", "score": "0.59895176", "text": "public HashMap<String, HashMap<Variable, Variable>> visit(MethodCall s, HashMap<String, HashMap<Variable, Variable>> b){\n\n Procedure callee = cu.getProcedure(s.getCallExpression().getName());\n CopyPropagationAnalysis copyprop = new CopyPropagationAnalysis(this.cu);\n _enter(copyprop, callee, b);\n _combine(b, copyprop.dataflowOf(callee.getEnd())); /////\n\n return b;\n }", "title": "" } ]
[ { "docid": "16ec1f7775181289b492f1e9613bc344", "score": "0.65387386", "text": "public HashSet<Integer> visit(MethodCall m, HashSet<Integer> b){\n System.out.println(\"Visiting: MethodCall of: \"+m.getCallExpression().getName());\n System.out.println(\"original Destination: \"+m.getDest());\n // System.out.println(Arrays.toString(this.getQueue()));\n \n // enter(cu.getProcedure(m.getCallExpression().getName()), null);\n Procedure caller = m.getDest().getMethod();\n Procedure callee = cu.getProcedure(m.getCallExpression().getName());\n \n ArrayList<State> calleeStates = new ArrayList<State>();\n\n for(State calleeState : callee.getStates()){\n calleeState.setProcedure(caller);\n calleeStates.add(calleeState);\n }\n State firstState = calleeStates.get(0);\n State lastState = calleeStates.get(calleeStates.size()-1);\n // System.out.println(\"first: \"+firstState);\n // System.out.println(\"last: \"+lastState);\n\n m.removeEdge();\n Transition nopin = this.tf.createMethodCall(m.getSource(), firstState, m.getCallExpression());\n m.getSource().addOutEdge(nopin);\n // System.out.println(\"Source: \"+m.getSource()+\" redirected to start: \"+firstState);\n\n Transition nopout = this.tf.createNop(lastState, m.getDest());\n lastState.addOutEdge(nopout);\n lastState.setEnd(false);\n caller.refreshStates();\n // callee.refreshStates();\n // for(State newState : caller.getStates()){\n // System.out.println(\"New states: \"+newState);\n // }\n return b;\n }", "title": "" }, { "docid": "012e4483dcb3e6053275516ef33751a4", "score": "0.6329164", "text": "@Override\r\n\tpublic void b() {\n\t\tSystem.out.println(\"b方法\");\r\n\t}", "title": "" }, { "docid": "81304a033b140390486b53027337b02c", "score": "0.63028497", "text": "public void analyzeCalls() { }", "title": "" }, { "docid": "87af22280a67a59f7fda91c8824c390b", "score": "0.610855", "text": "public int state()\r\n/* 8: */ {\r\n/* 9: 67 */ return (int)this.info[0];\r\n/* 10: */ }", "title": "" }, { "docid": "4fd791b2b101462090847d9e02ff0147", "score": "0.6045307", "text": "public void dumpState() {\n }", "title": "" }, { "docid": "1adddb3a27faf6f3f1e8d51356f81987", "score": "0.60415375", "text": "public String visit(CallFunc n);", "title": "" }, { "docid": "0dfe98c7cc897d1da27ebbd4a456a8d4", "score": "0.60157406", "text": "@Override\n\tpublic void visit(Invocation invocation) {\n\n\t}", "title": "" }, { "docid": "fac73ad7a4fb79fec9fdba86ef4f58b4", "score": "0.59938747", "text": "public Object getLogState();", "title": "" }, { "docid": "98237883a395447bd1676b20813319f3", "score": "0.5959385", "text": "public void value()\r\n\t{\r\n\t\tSystem.out.println(\"b is: \"+b);\r\n\t}", "title": "" }, { "docid": "bdf2808aff95adf8c5c03b9c2688665d", "score": "0.5954155", "text": "public void b() {}", "title": "" }, { "docid": "858f128efa438ff4cac30227b81e3d6b", "score": "0.5932227", "text": "@Override\n\tpublic void visit(MethodInvocationWrapper methodInvocation) {\n\t}", "title": "" }, { "docid": "cf0f633c01fe9b98224a0ccfa2f1f304", "score": "0.591893", "text": "String state();", "title": "" }, { "docid": "038eabf93cee50da0eb0bb4a4c081965", "score": "0.59048086", "text": "private void call() {\nSystem.out.println(\"loose \");\n\t}", "title": "" }, { "docid": "da0c4ac2bb0ebbc548180f9ebaee4c39", "score": "0.5887002", "text": "@Override\n\tpublic void b() {\n\t\t\n\t}", "title": "" }, { "docid": "e8ae16e5d07307af824b18081a3acd95", "score": "0.5875951", "text": "public static void main(String[] args) {\r\n\t\tCallByValue value = new CallByValue();\r\n\t\tSystem.out.println(\"after \"+value.data);\r\n\t\tvalue.change(value.data);\r\n\t\tSystem.out.println(\"before \"+value.data);\r\n\t}", "title": "" }, { "docid": "561f62468db591e94a3695d13db9931e", "score": "0.5860422", "text": "public static String dump() {\n\n return \"\"; //scalaInterpreterState;\n}", "title": "" }, { "docid": "fcad11a04abe691db4d2d261ee47b843", "score": "0.58491224", "text": "public String toString()\r\n\t{\r\n\t\treturn \"Call instruction on object \"+this.entity+\" of the method \"+this.method+\" with the parameter list:\\r\\n\"+this.param;\r\n\t}", "title": "" }, { "docid": "6ee840eb98045985868c9cbc24c69dfe", "score": "0.58415097", "text": "java.lang.String getResultingState();", "title": "" }, { "docid": "129be508231589756769de1195580451", "score": "0.5835867", "text": "private boolean call(Body b, String callPattern, String[] bindings) {\r\n\r\n return true;\r\n\r\n// CallMatcherForClosure cmfc = new CallMatcherForClosure(matchedClosureClassName);\r\n// // input is a name\r\n// // return callsite index\r\n// matchedCallSites = cmfc.queryCallSiteIndice(callPattern);\r\n// callsiteNames = cmfc.getCallSiteNames();\r\n//\r\n// boolean result = matchedCallSites.length > 0;\r\n// if(result) {\r\n// doCallMethodNode = cmfc.getDoCallMethodNode();\r\n// curMaxLocals = doCallMethodNode.maxLocals;\r\n// shadowMatchInfo = cmfc.getShadowMatchInfos();\r\n// analyseArgumentForCalls(matchedCallSites);\r\n// symtabs = buildSymbolTable(bindings);\r\n// initAdvisedTypes();\r\n// }\r\n// return result;\r\n }", "title": "" }, { "docid": "7d79eed8742f50be936aeb1a078b639f", "score": "0.5835597", "text": "@Override\n\tpublic void visit(AbstractMethodInvocationWrapper abstractMethodInvocation) {\n\t}", "title": "" }, { "docid": "e252fae2d6391792c9faeeaadc8d915a", "score": "0.58275104", "text": "public me a()\r\n/* 54: */ {\r\n/* 55:60 */ return this.b;\r\n/* 56: */ }", "title": "" }, { "docid": "755c245c7a6ee8c569dd09be8bac8d69", "score": "0.58132833", "text": "private void printLifeCycle(String methodName) {\n }", "title": "" }, { "docid": "0cdb5e1ef7298679ec9053ee35e34871", "score": "0.5799475", "text": "public void b() {\n }", "title": "" }, { "docid": "1628d32410fa3cc62200e18edb9018d6", "score": "0.5739884", "text": "public int caState()\r\n/* 13: */ {\r\n/* 14: 71 */ return (int)this.info[1];\r\n/* 15: */ }", "title": "" }, { "docid": "97819e4ff409676752483719f249a2a4", "score": "0.572744", "text": "public String toString()\n {\n return \"Call: [ arguments = \" + toStringArguments() + \" ]\";\n }", "title": "" }, { "docid": "938664e3ee2f0ef5350f05bde9a65859", "score": "0.5712429", "text": "@Override\n public void call() {\n System.out.println(\"Fourth.call\");\n\n }", "title": "" }, { "docid": "3c06b4e919b065b1a6566386a9aae9f6", "score": "0.56780154", "text": "@Override\n\tpublic void visit(SuperMethodInvocationWrapper superMethodInvocation) {\n\t}", "title": "" }, { "docid": "55a96a85c037e612170bd55e2d4fa0ff", "score": "0.5662196", "text": "public java.lang.Void call() {\n /*\n r4 = this;\n c.b.a.a.b r0 = r4.f3688a\n monitor-enter(r0)\n c.b.a.a.b r1 = r4.f3688a // Catch:{ all -> 0x0028 }\n java.io.Writer r1 = r1.f3697i // Catch:{ all -> 0x0028 }\n r2 = 0\n if (r1 != 0) goto L_0x000e\n monitor-exit(r0) // Catch:{ all -> 0x0028 }\n return r2\n L_0x000e:\n c.b.a.a.b r1 = r4.f3688a // Catch:{ all -> 0x0028 }\n r1.y() // Catch:{ all -> 0x0028 }\n c.b.a.a.b r1 = r4.f3688a // Catch:{ all -> 0x0028 }\n boolean r1 = r1.u() // Catch:{ all -> 0x0028 }\n if (r1 == 0) goto L_0x0026\n c.b.a.a.b r1 = r4.f3688a // Catch:{ all -> 0x0028 }\n r1.x() // Catch:{ all -> 0x0028 }\n c.b.a.a.b r1 = r4.f3688a // Catch:{ all -> 0x0028 }\n r3 = 0\n int unused = r1.f3699k = r3 // Catch:{ all -> 0x0028 }\n L_0x0026:\n monitor-exit(r0) // Catch:{ all -> 0x0028 }\n return r2\n L_0x0028:\n r1 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x0028 }\n throw r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: c.b.a.a.a.call():java.lang.Void\");\n }", "title": "" }, { "docid": "da2828181602434f06728cec7f874b79", "score": "0.5656247", "text": "public void sIND()\r\n\t{\n\t\tSystem.out.println(\"IND def \"+bc.b);\r\n\t\tSystem.out.println(\"IND pro \"+bc.c);\r\n\t\tSystem.out.println(\"IND public \"+bc.d);\r\n\t}", "title": "" }, { "docid": "8dcef751f1f0a91ec299b9235660d14a", "score": "0.5642184", "text": "public synchronized void b() {\n /*\n r3 = this;\n r1 = 1\n monitor-enter(r3)\n boolean r0 = r3.j // Catch:{ all -> 0x0047 }\n if (r0 != r1) goto L_0x0008\n L_0x0006:\n monitor-exit(r3)\n return\n L_0x0008:\n boolean r0 = com.baidu.location.f.isServing // Catch:{ all -> 0x0047 }\n if (r0 == 0) goto L_0x0006\n android.content.Context r0 = com.baidu.location.f.getServiceContext() // Catch:{ all -> 0x0047 }\n java.lang.String r1 = \"phone\"\n java.lang.Object r0 = r0.getSystemService(r1) // Catch:{ all -> 0x0047 }\n android.telephony.TelephonyManager r0 = (android.telephony.TelephonyManager) r0 // Catch:{ all -> 0x0047 }\n r3.d = r0 // Catch:{ all -> 0x0047 }\n java.util.LinkedList r0 = new java.util.LinkedList // Catch:{ all -> 0x0047 }\n r0.<init>() // Catch:{ all -> 0x0047 }\n r3.h = r0 // Catch:{ all -> 0x0047 }\n com.baidu.location.f.b$a r0 = new com.baidu.location.f.b$a // Catch:{ all -> 0x0047 }\n r0.<init>() // Catch:{ all -> 0x0047 }\n r3.i = r0 // Catch:{ all -> 0x0047 }\n r3.h() // Catch:{ all -> 0x0047 }\n android.telephony.TelephonyManager r0 = r3.d // Catch:{ all -> 0x0047 }\n if (r0 == 0) goto L_0x0006\n com.baidu.location.f.b$a r0 = r3.i // Catch:{ all -> 0x0047 }\n if (r0 == 0) goto L_0x0006\n android.telephony.TelephonyManager r0 = r3.d // Catch:{ Exception -> 0x0076 }\n com.baidu.location.f.b$a r1 = r3.i // Catch:{ Exception -> 0x0076 }\n r2 = 272(0x110, float:3.81E-43)\n r0.listen(r1, r2) // Catch:{ Exception -> 0x0076 }\n L_0x003c:\n int r0 = r3.n() // Catch:{ Throwable -> 0x0057 }\n switch(r0) {\n case 0: goto L_0x0069;\n case 1: goto L_0x004a;\n case 2: goto L_0x005c;\n default: goto L_0x0043;\n }\n L_0x0043:\n r0 = 1\n r3.j = r0 // Catch:{ all -> 0x0047 }\n goto L_0x0006\n L_0x0047:\n r0 = move-exception\n monitor-exit(r3)\n throw r0\n L_0x004a:\n android.content.Context r0 = com.baidu.location.f.getServiceContext() // Catch:{ Throwable -> 0x0057 }\n java.lang.String r1 = \"phone_msim\"\n java.lang.Object r0 = com.baidu.location.h.i.a(r0, r1) // Catch:{ Throwable -> 0x0057 }\n r3.e = r0 // Catch:{ Throwable -> 0x0057 }\n goto L_0x0043\n L_0x0057:\n r0 = move-exception\n r0 = 0\n r3.e = r0 // Catch:{ all -> 0x0047 }\n goto L_0x0043\n L_0x005c:\n android.content.Context r0 = com.baidu.location.f.getServiceContext() // Catch:{ Throwable -> 0x0057 }\n java.lang.String r1 = \"phone2\"\n java.lang.Object r0 = com.baidu.location.h.i.a(r0, r1) // Catch:{ Throwable -> 0x0057 }\n r3.e = r0 // Catch:{ Throwable -> 0x0057 }\n goto L_0x0043\n L_0x0069:\n android.content.Context r0 = com.baidu.location.f.getServiceContext() // Catch:{ Throwable -> 0x0057 }\n java.lang.String r1 = \"phone2\"\n java.lang.Object r0 = com.baidu.location.h.i.a(r0, r1) // Catch:{ Throwable -> 0x0057 }\n r3.e = r0 // Catch:{ Throwable -> 0x0057 }\n goto L_0x0043\n L_0x0076:\n r0 = move-exception\n goto L_0x003c\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.baidu.location.f.b.b():void\");\n }", "title": "" }, { "docid": "8e46089a0fd12a38436b24a4d385808b", "score": "0.56269115", "text": "@Override\n\tpublic void getRoutine() {\n\t\tSystem.out.println(\"Routine\");\n\t}", "title": "" }, { "docid": "f4ba35c1fc6d3609419e929bffcda115", "score": "0.56043154", "text": "public void visit();", "title": "" }, { "docid": "663da48bfef18b315d959ab5c2e13ae1", "score": "0.56000525", "text": "@Override\n\tpublic void getNextCall() {\n\t\tSystem.out.println(\"고객 등급이 높은 고객의 call을 먼저 가져온다.\");\n\t}", "title": "" }, { "docid": "b584cfb8e8d1d9d55d91f78d2fdcdd0b", "score": "0.5596454", "text": "void inspect();", "title": "" }, { "docid": "89449840149e236b1d7864a05bf91c38", "score": "0.5581148", "text": "public void b(String paramString)\r\n/* 148: */ {\r\n/* 149: 250 */ this.data.b(21, paramString);\r\n/* 150: */ }", "title": "" }, { "docid": "eaac7de3c1f57b802be2914273c99d6f", "score": "0.5576105", "text": "void m2()\n {\n System.out.println(b); // valid\n }", "title": "" }, { "docid": "76035d44c7e0f5881d757208f4db925c", "score": "0.55742866", "text": "C(){\n\t\t\n\t\t\tSystem.out.println(\"same flow as method\");\n\n\t\t\t\n\t\t}", "title": "" }, { "docid": "e2d8ee3d8887529daee157c919c4dd61", "score": "0.55610555", "text": "public boolean b()\r\n/* 114: */ {\r\n/* 115:117 */ return this.h;\r\n/* 116: */ }", "title": "" }, { "docid": "db0c195a7810ad9873a031499a9c1a27", "score": "0.5542872", "text": "@Test\n public void testAnyInMethodReceiverState() {\n test();\n }", "title": "" }, { "docid": "543d67a3bd3c755bb11133c0891cd7e8", "score": "0.55424154", "text": "public final /* synthetic */ void a(java.lang.Object r5) {\n /*\n r4 = this;\n java.lang.Boolean r5 = (java.lang.Boolean) r5\n r0 = 1\n r1 = 0\n if (r5 != 0) goto L_0x000c\n i.c.a.b.d.l.b r5 = i.c.a.b.d.l.b.this\n r5.b(r0, r1)\n return\n L_0x000c:\n int r5 = r4.d\n if (r5 == 0) goto L_0x0061\n r2 = 10\n if (r5 == r2) goto L_0x0031\n i.c.a.b.d.l.b r5 = i.c.a.b.d.l.b.this\n r5.b(r0, r1)\n android.os.Bundle r5 = r4.e\n if (r5 == 0) goto L_0x0026\n java.lang.String r0 = \"pendingIntent\"\n android.os.Parcelable r5 = r5.getParcelable(r0)\n r1 = r5\n android.app.PendingIntent r1 = (android.app.PendingIntent) r1\n L_0x0026:\n i.c.a.b.d.b r5 = new i.c.a.b.d.b\n int r0 = r4.d\n r5.<init>(r0, r1)\n r4.a((i.c.a.b.d.b) r5)\n goto L_0x0076\n L_0x0031:\n i.c.a.b.d.l.b r5 = i.c.a.b.d.l.b.this\n r5.b(r0, r1)\n java.lang.IllegalStateException r5 = new java.lang.IllegalStateException\n r1 = 3\n java.lang.Object[] r1 = new java.lang.Object[r1]\n r2 = 0\n java.lang.Class r3 = r4.getClass()\n java.lang.String r3 = r3.getSimpleName()\n r1[r2] = r3\n i.c.a.b.d.l.b r2 = i.c.a.b.d.l.b.this\n java.lang.String r2 = r2.s()\n r1[r0] = r2\n r0 = 2\n i.c.a.b.d.l.b r2 = i.c.a.b.d.l.b.this\n java.lang.String r2 = r2.r()\n r1[r0] = r2\n java.lang.String r0 = \"A fatal developer error has occurred. Class name: %s. Start service action: %s. Service Descriptor: %s. \"\n java.lang.String r0 = java.lang.String.format(r0, r1)\n r5.<init>(r0)\n throw r5\n L_0x0061:\n boolean r5 = r4.d()\n if (r5 != 0) goto L_0x0076\n i.c.a.b.d.l.b r5 = i.c.a.b.d.l.b.this\n r5.b(r0, r1)\n i.c.a.b.d.b r5 = new i.c.a.b.d.b\n r0 = 8\n r5.<init>(r0, r1)\n r4.a((i.c.a.b.d.b) r5)\n L_0x0076:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: i.c.a.b.d.l.b.f.a(java.lang.Object):void\");\n }", "title": "" }, { "docid": "de65848980d4717604219ac5170b9398", "score": "0.553531", "text": "@Test\r\n public void testGetState() {\r\n System.out.println(\"getState\");\r\n Branch instance = new Branch();\r\n String expResult = null;\r\n String result = instance.getState();\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n \r\n }", "title": "" }, { "docid": "200f6bbe1ee2eae2de336eb5e1480b2b", "score": "0.5535033", "text": "public String toString() {\n/* 146 */ return new String(super.toString() + \" with current value: \" + getStateLabel(getValue()));\n/* */ }", "title": "" }, { "docid": "a5e57db39dd4abd1de6b8c8fc096120c", "score": "0.55344796", "text": "@Override //这是一个注解,表示这个方法是重写了父类的方法\n public String toString() {\n return \"当前这个点的信息:\"+x+\",\"+y+\",\"+state+ \"\\t\"+ Integer.toBinaryString( state ) +\"\\n\";\n }", "title": "" }, { "docid": "0fbb1f1f15af82a39a60fc0134c720d7", "score": "0.553382", "text": "public int cA()\r\n/* 272: */ {\r\n/* 273: 355 */ return this.bo;\r\n/* 274: */ }", "title": "" }, { "docid": "dd873ada32f29c7f8550d783f8e53f32", "score": "0.55331224", "text": "public String toString(){return \"update this method\";}", "title": "" }, { "docid": "0a0ae27832cebd0cc7a670508a96dd3d", "score": "0.5526335", "text": "public boolean b() {\n/* 165 */ return true;\n/* */ }", "title": "" }, { "docid": "22af67bb80ce57415d4fc5679b18b1d8", "score": "0.55249006", "text": "public abstract void state(NodeStateVisitor out);", "title": "" }, { "docid": "bd9644873c90b61de91d0d9054e5e272", "score": "0.5515887", "text": "@Override\n public String toString() {\n return curState.toString();\n }", "title": "" }, { "docid": "9282a1f5bb6b3760f379849a20cbe6a6", "score": "0.5511935", "text": "public int b() {\n/* 267 */ return this.ae.a.a();\n/* */ }", "title": "" }, { "docid": "00c809baaf8beeb7e24fdebb5c12345d", "score": "0.5505577", "text": "public bgn()\r\n/* 106: */ {\r\n/* 107:322 */ a();\r\n/* 108: */ }", "title": "" }, { "docid": "a6a61505abbc5b9485298b0816c53ad6", "score": "0.5496304", "text": "@Override\r\n\tpublic void a() {\n\t\tSystem.out.println(\"a方法\");\r\n\t}", "title": "" }, { "docid": "980ceefde74078fb65441794d6f5d7df", "score": "0.5494779", "text": "public void printState(State s) {\n\t\tSystem.out.println(\"cost = \"+s.getCurrentCost());\n\t\t\n\t\tArrayList<Vertex> history = s.getVisited();\n\t\tfor (int i = 1; i < history.size(); i++) {\n\t\t\tSystem.out.println(\"Ship \"+history.get(i-1)+\" to \"+ history.get(i));\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "ca9b7b36078073480dcb5b40d12a173e", "score": "0.5478159", "text": "public void getCurrentCalls(android.os.Message r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: com.android.internal.telephony.test.SimulatedCommandsVerifier.getCurrentCalls(android.os.Message):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.internal.telephony.test.SimulatedCommandsVerifier.getCurrentCalls(android.os.Message):void\");\n }", "title": "" }, { "docid": "7fb0fddef6d9963773a94443327960dc", "score": "0.5475317", "text": "public void methodCall() {\n rbMethodCall().push();\n }", "title": "" }, { "docid": "e9010af68eefb075f5ad65cfebb61aef", "score": "0.5471157", "text": "void nextState();", "title": "" }, { "docid": "d38e9abd6acdacd12f32e0b9d97e6b82", "score": "0.54668117", "text": "void dump_stacks(int count)\n{\nint i;\n System.out.println(\"=index==state====value= s:\"+stateptr+\" v:\"+valptr);\n for (i=0;i<count;i++)\n System.out.println(\" \"+i+\" \"+statestk[i]+\" \"+valstk[i]);\n System.out.println(\"======================\");\n}", "title": "" }, { "docid": "d38e9abd6acdacd12f32e0b9d97e6b82", "score": "0.54668117", "text": "void dump_stacks(int count)\n{\nint i;\n System.out.println(\"=index==state====value= s:\"+stateptr+\" v:\"+valptr);\n for (i=0;i<count;i++)\n System.out.println(\" \"+i+\" \"+statestk[i]+\" \"+valstk[i]);\n System.out.println(\"======================\");\n}", "title": "" }, { "docid": "d38e9abd6acdacd12f32e0b9d97e6b82", "score": "0.54668117", "text": "void dump_stacks(int count)\n{\nint i;\n System.out.println(\"=index==state====value= s:\"+stateptr+\" v:\"+valptr);\n for (i=0;i<count;i++)\n System.out.println(\" \"+i+\" \"+statestk[i]+\" \"+valstk[i]);\n System.out.println(\"======================\");\n}", "title": "" }, { "docid": "d38e9abd6acdacd12f32e0b9d97e6b82", "score": "0.54668117", "text": "void dump_stacks(int count)\n{\nint i;\n System.out.println(\"=index==state====value= s:\"+stateptr+\" v:\"+valptr);\n for (i=0;i<count;i++)\n System.out.println(\" \"+i+\" \"+statestk[i]+\" \"+valstk[i]);\n System.out.println(\"======================\");\n}", "title": "" }, { "docid": "d38e9abd6acdacd12f32e0b9d97e6b82", "score": "0.54668117", "text": "void dump_stacks(int count)\n{\nint i;\n System.out.println(\"=index==state====value= s:\"+stateptr+\" v:\"+valptr);\n for (i=0;i<count;i++)\n System.out.println(\" \"+i+\" \"+statestk[i]+\" \"+valstk[i]);\n System.out.println(\"======================\");\n}", "title": "" }, { "docid": "d38e9abd6acdacd12f32e0b9d97e6b82", "score": "0.54668117", "text": "void dump_stacks(int count)\n{\nint i;\n System.out.println(\"=index==state====value= s:\"+stateptr+\" v:\"+valptr);\n for (i=0;i<count;i++)\n System.out.println(\" \"+i+\" \"+statestk[i]+\" \"+valstk[i]);\n System.out.println(\"======================\");\n}", "title": "" }, { "docid": "b00d56728226496ad2122addfeaf911c", "score": "0.54618394", "text": "public bbu a()\n/* */ {\n/* 130 */ return this.n;\n/* */ }", "title": "" }, { "docid": "e40908d0bc697f4e73d992d2c82f5c49", "score": "0.54607004", "text": "public void traceMethodCalls(final Boolean flag)\n {\n Runtime.getRuntime().traceMethodCalls(flag.booleanValue());\n }", "title": "" }, { "docid": "7e073a72bc9231990778cd5dc6082867", "score": "0.5460201", "text": "public aqf b()\r\n/* 26: */ {\r\n/* 27:83 */ return this.a;\r\n/* 28: */ }", "title": "" }, { "docid": "40fc137c3c17092c6213929af3ac15f6", "score": "0.54237837", "text": "void disp() {\n\t\t\tSystem.out.println(b);\r\n\t\t}", "title": "" }, { "docid": "fdce050806b9186236a559cbf41438fb", "score": "0.54208523", "text": "public SymbolicExpression visit(FunctionCall a){\n\treturn a;\n }", "title": "" }, { "docid": "77bd6247c293f95e539e9961b7d44176", "score": "0.5418128", "text": "public void callingNewMethodRefInfo() {\n\tnewMethodRefInfo();\n }", "title": "" }, { "docid": "9a53ad4ef101b7161322e3dca00a20b4", "score": "0.5416806", "text": "public abstract String b();", "title": "" }, { "docid": "5bcef59ad5496d117c22281fd4240afa", "score": "0.5416157", "text": "public boolean b()\r\n/* 97: */ {\r\n/* 98:115 */ return true;\r\n/* 99: */ }", "title": "" }, { "docid": "090c7335cf82052cca186ba2f86aa7dd", "score": "0.5415134", "text": "public R visit(Call n, A argu);", "title": "" }, { "docid": "87ffa826398bff43a1f7882b1b139a29", "score": "0.5408471", "text": "public abstract S newState();", "title": "" }, { "docid": "971a9de25db521d594dfe2b46490ff4f", "score": "0.54073673", "text": "public static interface CallInfo {\n\n\t\t/**\n\t\t * Returns the node where the call originates from.\n\t\t * Note that this may be an indirect call via call/apply.\n\t\t */\n\t\tpublic AbstractNode getSourceNode();\n\t\t\n\t\t/**\n\t\t * Returns the node in the JavaScript code where this call originates from.\n\t\t * This is different from the ordinary source node for calls inside host functions. \n\t\t */\n\t\tpublic Node getJSSourceNode();\n\n\t\t/**\n\t\t * Checks whether this is a construct or an ordinary call.\n\t\t */\n\t\tpublic boolean isConstructorCall();\n\t\t\n\t\t/**\n\t\t * Returns the abstract value describing which function to call.\n\t\t */\n\t\tpublic Value getFunctionValue();\n\n\t\t/**\n\t\t * Creates the object value of 'this'.\n\t\t * Note that this may have side-effects on the callee_state.\n\t\t */\n\t\tpublic Set<ObjectLabel> prepareThis(State caller_state, State callee_state);\n\n\t\t/**\n\t\t * Returns the value of the i'th argument.\n\t\t * The first argument is number 0.\n\t\t * Returns Undef if the argument is not provided.\n\t\t * Can be used even if the number of arguments is unknown.\n\t\t * @see #getUnknownArg()\n\t\t */\n\t\tpublic Value getArg(int i);\n\t\t\n\t\t/**\n\t\t * Returns the number of arguments.\n\t\t * @see #isUnknownNumberOfArgs()\n\t\t */\n\t\tpublic int getNumberOfArgs();\n\t\t\n\t\t/**\n\t\t * Returns the value of an unknown argument.\n\t\t * Only to be called if the number of arguments is unknown.\n\t\t */\n\t\tpublic Value getUnknownArg(); // TODO: would simplify things if this could also be used with fixed number of args\n\t\t\n\t\t/**\n\t\t * Returns true if the number of arguments is unknown.\n\t\t */\n\t\tpublic boolean isUnknownNumberOfArgs();\n\t\t\n\t\t/**\n\t\t * Returns the result register.\n\t\t */\n\t\tpublic int getResultRegister();\n\t\t\n\t\t/**\n\t\t * Returns the execution context.\n\t\t */\n\t\tpublic ExecutionContext getExecutionContext();\n\t}", "title": "" }, { "docid": "5a4e8fa4a77c4d7f958a458c47ebbe0b", "score": "0.5396124", "text": "public void visit(BuiltInCall n, A argu);", "title": "" }, { "docid": "d99e68802e4601b9a3647ee1aaacea71", "score": "0.53959787", "text": "@Override\r\n\tpublic void calcState()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "f265648d1937299cc11abef5a8bcd57c", "score": "0.5382719", "text": "public void test(){\n\tSystem.out.println(\"test method\");\t\n\t}", "title": "" }, { "docid": "10fdb131e4eb6fbb74009d7416f3671e", "score": "0.5382617", "text": "@Test\n public void testMethodReturnReceiverState() {\n test();\n }", "title": "" }, { "docid": "71393134e815ff3e3c79653d48f2e2f5", "score": "0.5381006", "text": "public String stateToString(State s);", "title": "" }, { "docid": "01957ccaa656dcb7c2f22589253dd17e", "score": "0.5380764", "text": "@Override\n public void visit(RMethod method) {\n \n }", "title": "" }, { "docid": "ceb4da84241edc488eb2207b64daff5b", "score": "0.5362372", "text": "public static void printMethodInvocationInfo(CompilationUnit parse) {\r\n\r\n\t\t\tMethodDeclarationVisitor visitor1 = new MethodDeclarationVisitor();\r\n\t\t\tparse.accept(visitor1);\r\n\t\t\tfor (MethodDeclaration method : visitor1.getMethods()) {\r\n\r\n\t\t\t\tMethodInvocationVisitor visitor2 = new MethodInvocationVisitor();\r\n\t\t\t\tmethod.accept(visitor2);\r\n\r\n\t\t\t\tfor (MethodInvocation methodInvocation : visitor2.getMethods()) {\r\n\t\t\t\t\tSystem.out.println(\"method \" + method.getName() + \" invoc method \"\r\n\t\t\t\t\t\t\t+ methodInvocation.getName());\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "64f92caf7e1922ce9f9b5b7fdcdc0e6d", "score": "0.5362049", "text": "public interface MethodVisitor {\r\n /**\r\n * Visit access flags.\r\n * @param flags Access flags.\r\n */\r\n void visitFlags(EnumSet<AccessFlag> flags);\r\n \r\n /**\r\n * Visit method name and type.\r\n * @param name Method name and type.\r\n */\r\n void visitName(MethodName name);\r\n \r\n /**\r\n * Called before visiting local variables.\r\n * @param maxLocals Max variable index.\r\n */\r\n void beginLocals(int maxLocals);\r\n \r\n /**\r\n * Visit a local variable.\r\n * @param var Variable description.\r\n */\r\n void visitLocal(LocalVariable var);\r\n \r\n /**\r\n * Called after visiting local variables.\r\n */\r\n void endLocals();\r\n \r\n \r\n \r\n /**\r\n * Called before visiting specification cases.\r\n */\r\n void beginSpecs();\r\n\r\n /**\r\n * Visit a specification case.\r\n * @param spec Specification case.\r\n */\r\n void visitSpecification(MethodSpec spec);\r\n \r\n /**\r\n * Called after visiting specification cases.\r\n */\r\n void endSpecs();\r\n \r\n /**\r\n * Called before visiting assertions.\r\n */\r\n void beginAssertions();\r\n \r\n /**\r\n * Visit an assertion.\r\n * @param i Instruction index.\r\n * @param type Assertion type (pre or post).\r\n * @param expr Assertion formula.\r\n */\r\n void visitAssertion(int i, \r\n AssertType type,\r\n Visitable<? super AssertExprVisitor> expr);\r\n \r\n /**\r\n * Called after visiting assertions.\r\n */\r\n void endAssertions();\r\n \r\n // TODO: Loop invariants.\r\n}", "title": "" }, { "docid": "1a88b7ca2d8bf925c2808df4e5c3a541", "score": "0.53510743", "text": "public void method1() { \r\n System.out.println(\"The string is \" + s); \r\n }", "title": "" }, { "docid": "2befb531a6c37c1b71f13b42f5773756", "score": "0.534823", "text": "public CallGraph<BlockStateType,CallContextType,CallEdgeType> getCallGraph();", "title": "" }, { "docid": "1250d489501cb6664965ade6910777a9", "score": "0.5346804", "text": "@Override\r\n\tpublic void call() {\n\t\tSystem.out.println(\"汪汪~\");\r\n\t}", "title": "" }, { "docid": "30f80faa816424d4af1a93404f2f3745", "score": "0.5344792", "text": "@Override\n\tpublic void call() {\n\t\tSystem.out.println(\"vivo ca\");\n\t}", "title": "" }, { "docid": "66dac48eed22480d1e693da0c6ab6846", "score": "0.53339124", "text": "@Test\n @Disabled // Disabled because reverse path class initialization is broken. This was removed in\n // order to meet igl deadline\n public void testGetPotentialCallers_identifiesOwnInstanceProperties() {\n String source =\n \"public class MyClass {\\n\"\n + \" public Integer myInt = 15;\\n\"\n + \" public String myStr = 'beep';\\n\"\n + \" public void testedMethod(Integer i) {\\n\"\n + \" System.debug(LoggingLevel.ERROR, i);\\n\"\n + \" }\\n\"\n + \" public void testedMethod(String s) {\\n\"\n + \" System.debug(LoggingLevel.ERROR, s);\\n\"\n + \" }\\n\"\n + \" public void callerMethod() {\\n\"\n + \" testedMethod(myInt);\\n\"\n + \" testedMethod(this.myInt);\\n\"\n + \" testedMethod(myStr);\\n\"\n + \" testedMethod(this.myStr);\\n\"\n + \" }\\n\"\n + \"}\";\n\n // Build a graph\n TestUtil.buildGraph(g, source);\n\n // Load the two implementations of testedMethod.\n MethodVertex intVerstion = TestUtil.getVertexOnLine(g, ASTConstants.NodeType.METHOD, 4);\n MethodVertex strVerstion = TestUtil.getVertexOnLine(g, ASTConstants.NodeType.METHOD, 7);\n\n // Get the invocations of each method.\n List<MethodCallExpressionVertex> intVerstionCalls =\n MethodUtil.getPotentialCallers(g, intVerstion);\n List<MethodCallExpressionVertex> strVerstionCalls =\n MethodUtil.getPotentialCallers(g, strVerstion);\n\n // Verify that the methods were called as expected.\n assertEquals(2, intVerstionCalls.size());\n assertTrue(intVerstionCalls.stream().anyMatch(v -> v.getBeginLine() == 11));\n assertTrue(intVerstionCalls.stream().anyMatch(v -> v.getBeginLine() == 12));\n assertEquals(2, strVerstionCalls.size());\n assertTrue(strVerstionCalls.stream().anyMatch(v -> v.getBeginLine() == 13));\n assertTrue(strVerstionCalls.stream().anyMatch(v -> v.getBeginLine() == 14));\n }", "title": "" }, { "docid": "411e2f9e4ea7a0672803be6e52db4f5b", "score": "0.53337795", "text": "public String visit()\n\t{\n\t\treturn \"o \";\n\t}", "title": "" }, { "docid": "39540e6f8aa94cafb7e223f768343508", "score": "0.5325882", "text": "private void df()\r\n/* 1043: */ {\r\n/* 1044:1146 */ if (!this.world.isClient)\r\n/* 1045: */ {\r\n/* 1046:1147 */ this.bB = 1;\r\n/* 1047:1148 */ s(true);\r\n/* 1048: */ }\r\n/* 1049: */ }", "title": "" }, { "docid": "900220c3ddcfe01b87e9aac5a3556592", "score": "0.5322525", "text": "public void a() {\n /*\n r9 = this;\n r0 = 0\n java.lang.Object[] r1 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r3 = f52202f\n java.lang.Class[] r6 = new java.lang.Class[r0]\n java.lang.Class r7 = java.lang.Void.TYPE\n r4 = 0\n r5 = 52956(0xcedc, float:7.4207E-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 = f52202f\n r5 = 0\n r6 = 52956(0xcedc, float:7.4207E-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 android.os.Bundle r0 = r9.getArguments()\n if (r0 == 0) goto L_0x0035\n java.lang.String r1 = \"key_member_list_type\"\n int r1 = r0.getInt(r1)\n r9.k = r1\n if (r0 != 0) goto L_0x0041\n L_0x0035:\n r0 = r9\n com.ss.android.ugc.aweme.im.sdk.relations.select.BaseSelectFragment r0 = (com.ss.android.ugc.aweme.im.sdk.relations.select.BaseSelectFragment) r0\n android.support.v4.app.FragmentActivity r0 = r0.getActivity()\n if (r0 == 0) goto L_0x0041\n r0.finish()\n L_0x0041:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.ugc.aweme.im.sdk.relations.select.BaseSelectFragment.a():void\");\n }", "title": "" }, { "docid": "9b9ab97361c2f4bc11427d02308bdfa6", "score": "0.5321548", "text": "@Override\r\n\tpublic void sing() {\n\t\tSystem.out.println(NAME+\"(\"+getName()+\")\"+\"소리내 웁니다\");\r\n\t}", "title": "" }, { "docid": "a17d2ae1728b9cdb195f59284ceb5b1b", "score": "0.5320171", "text": "public boolean visit(MethodInvocation node) {\n\t\t\t\t\t\t\t\tif(e.getExpression().contains(node.getName().toString())==true){ //find the method invocation node which contains the expression\n\t\t\t\t\t\t\t\t\t//System.out.println(\"getInformationFromParameter Found Expression :: \" + node.arguments()); //argument of the method invocation\n\t\t\t\t\t\t\t\t\tint count =0;\n\t\t\t\t\t\t\t\t\tList<String> codeArguments = new ArrayList<String>();\n\t\t\t\t\t\t\t\t\tfor(SimpleName name: (List<SimpleName>)node.arguments()){\n\t\t\t\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t\t\t\t\t//System.out.println(\"getInformationFromParameter Test 1 \"+ name.toString());\n\t\t\t\t\t\t\t\t\t\tfor(Variables tempElement: undeclaredVariables){ \n\t\t\t\t\t\t\t\t\t\t\tif(tempElement.name.equals(name.toString())==true){//checking if the arguments are undeclared variables\n\t\t\t\t\t\t\t\t\t\t\t\tif(tempElement.variableType.size() == 1) //variable type of the undeclared Variable was resolved using fillUndeclaredVariablesFromBaker()\n\t\t\t\t\t\t\t\t\t\t\t\t\tcodeArguments.add(tempElement.variableType.get(0));\n\t\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t\tcodeArguments.add(\"X\"); //if it has been not resolved add 'X' to the array\n\t\t\t\t\t\t\t\t\t\t\t\t//System.out.println(\"getInformationFromParameter : tempElement.name : \" + tempElement.name + \", tempElement.variableType : \"+ tempElement.variableType + \", argument number : \" + count) ;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t//System.out.println(\"Code Arguments >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\");\n\t\t\t\t\t\t\t\t\t//printList(codeArguments);\n\t\t\t\t\t\t\t\t\t//System.out.println(\"Expression Collector Arguments >>>>>>>>>>>>>>>>>>>>>>>>>>>>\");\n\t\t\t\t\t\t\t\t\t//Trying to see if some already resolved parameters can be used to find other parameters using resolved API\n\t\t\t\t\t\t\t\t\tList <Integer> similarity = new ArrayList<Integer>();\n\t\t\t\t\t\t\t\t\tfor(String argument: e.getArgumentList()){\n\t\t\t\t\t\t\t\t\t\tList <String> expressionCollectorArg = Arrays.asList(argument.replace(\" \", \"\").split(\"\\\\,\"));\n\t\t\t\t\t\t\t\t\t\t//printList(expressionCollectorArg);\n\t\t\t\t\t\t\t\t\t\tif(codeArguments.size() != expressionCollectorArg.size()){\n\t\t\t\t\t\t\t\t\t\t\t//System.out.println(\"getInformationFromParameter: Something is wrong!!\");\n\t\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\t\t\t\tint matches=0;\n\t\t\t\t\t\t\t\t\t\t\tfor(int counter = 0; counter < codeArguments.size(); counter++) {\n\t\t\t\t\t\t\t\t\t\t\t\t//System.out.println(\"getInformationFromParameter:codeArgument \"+codeArguments.get(counter));\n\t\t\t\t\t\t\t\t\t\t\t\tif(codeArguments.get(counter).equals(expressionCollectorArg.get(counter)) == true){\n\t\t\t\t\t\t\t\t\t\t\t\t\t//System.out.println(\"getInformationFromParameter: For \" +e.getExpression() + \"argument number \" + counter + \" matches\");\n\t\t\t\t\t\t\t\t\t\t\t\t\tmatches++;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tsimilarity.add(matches); //Find out how many signature matches (matches <= codeArguments.size() and matches <= expressionCollectorArg.size())\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t//System.out.println(\"Maximum similarity : \" +(float)Collections.max(similarity)/codeArguments.size());\n\t\t\t\t\t\t\t\t\t//System.out.println(\"Collisions: \"+ countList(similarity, Collections.max(similarity)));\n\t\t\t\t\t\t\t\t\tif(countList(similarity, Collections.max(similarity)) == 1){\n\t\t\t\t\t\t\t\t\t\tint counter = 0;\n\t\t\t\t\t\t\t\t\t\tfor(SimpleName name: (List<SimpleName>)node.arguments()){\n\t\t\t\t\t\t\t\t\t\t\tcounter++;\n\t\t\t\t\t\t\t\t\t\t\tfor(Variables tempElement: undeclaredVariables){\n\t\t\t\t\t\t\t\t\t\t\t\tif(tempElement.name.equals(name.toString())==true){\n\t\t\t\t\t\t\t\t\t\t\t\t\tString temp = (e.getArgumentList().get(similarity.indexOf(Collections.max(similarity))));\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(tempElement.variableType.contains(temp.replace(\" \", \"\").split(\"\\\\,\")[counter-1])== false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttempElement.variableType.add(temp.replace(\" \", \"\").split(\"\\\\,\")[counter-1]);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "f80af90ca392dbd0e1c2f44f19b80730", "score": "0.53145516", "text": "public R visit(MessageSend n, A argu) {\n\t\tInteger start = (Integer)argu;\n\t\tString env = null;\n\t\tString med = h.getName(n.f2);\n\t\tstart = (Integer)n.f0.accept(this, (A)start);\n\t\tparaTemp = new ArrayList<Integer>();\n\t\tInteger mid = (Integer)n.f4.accept(this, (A)start);\n\t\t//System.out.println(n.f0.f0.which);\n\t\tif (n.f0.f0.which == 3) {\n\t\t\tIdentifier iNode = (Identifier)n.f0.f0.choice;\n\t\t\t//System.out.println(typetable.toString());\n\t\t\tenv = typetable.get(h.getName(iNode));\n\t\t} else if (n.f0.f0.which == 4) {\n\t\t\tenv = h.getName(thisId);\n\t\t} else if (n.f0.f0.which == 6) {\n\t\t\tAllocationExpression axNode = (AllocationExpression)n.f0.f0.choice;\n\t\t\tenv = h.getName(axNode.f1);\n\t\t} else {\n\t\t\tenv = typetable.get(\"t.\"+(start-1));\n\t\t}\n\t\tString output = null;\n\t\tInteger index = h.getIndex(vtable, env, med);\n\t\t//System.out.println(index);\n\t\tint count = nullCounter++;\n\t\th.print(\"\\tt.\"+mid+\" = Eq(t.\"+(start-1)+\" 0)\");\n\t\th.print(\"\\tif0 t.\"+mid+\" goto :null\"+count);\n\t\th.print(\"\\tError(\\\"null pointer\\\")\");\n\t\th.print(\"null\"+count+\":\");\n\t\th.print(\"\\tt.\"+mid+\" = [t.\"+(start-1)+\"]\");\n\t\th.print(\"\\tt.\"+mid+\" = [t.\"+mid+\"+\"+index*4+\"]\");\n\t\tmid ++;\n\t\toutput = \"\\tt.\"+mid+\" = call t.\"+(mid-1)+\"(t.\"+(start-1);\n\t\ttypetable.put(\"t.\"+mid, returnType.get(h.getName(n.f2)));\n\t\t\n\t\tfor (int i = 0; i < paraTemp.size(); i ++) {\n\t\t\toutput += \" t.\"+paraTemp.get(i);\n\t\t}\n\t\toutput += \")\";\n\t\th.print(output);\n\t\tmid ++;\n\t return (R)mid;\n\t}", "title": "" }, { "docid": "898826ef930fcb62482631097843a0ec", "score": "0.53061676", "text": "public String toString()\n\t{\n\t\treturn \"B\";\n\t}", "title": "" }, { "docid": "ec8f01b9a0d35694376a6459fefcaef0", "score": "0.53043765", "text": "@Override\npublic void b() {\n\n}", "title": "" }, { "docid": "dbd08a371b1eba5ae3e981b33ec29c1f", "score": "0.53029764", "text": "abstract public V getState();", "title": "" }, { "docid": "0fd825d2844c7cef5dca0a6caad7a7d0", "score": "0.5282576", "text": "public amj b()\r\n/* 75: */ {\r\n/* 76:83 */ return null;\r\n/* 77: */ }", "title": "" }, { "docid": "4bb0f8bd145c780e5e0d39e0b9991102", "score": "0.5277978", "text": "@Override\n public String toString() {\n return myFullState;\n }", "title": "" }, { "docid": "e52c89d13c1edec1f0f11d9a5a46fa23", "score": "0.5275269", "text": "static void oldWalk() {\n\t\tStackTraceElement[] stackTrace = new Throwable().getStackTrace();\n\t\tArrays.stream(stackTrace).forEach(System.out::println);\n\t}", "title": "" }, { "docid": "986b872cd5c2d047bd6d859b8972e666", "score": "0.52646965", "text": "void sample1(){\n\t\tSystem.out.println(\"hell \" + a);\n\t}", "title": "" }, { "docid": "1e0fca261c798c7600b911b3c676430f", "score": "0.526368", "text": "@Override\n public void visit(RInvokeStmt stmt) {\n \n }", "title": "" }, { "docid": "a94a6d9e59f3f2dad4d922f47778734d", "score": "0.5257618", "text": "public void c() {}", "title": "" } ]
52527118e17b931ac1c55622d054bfcd
Remove empty class if no seats or no price
[ { "docid": "259cf7b974005a0743aa112e62d9cc2c", "score": "0.0", "text": "public static String[] displayClasses(boolean displayAll, List<FlightSearchB2B> list){\n\t\tif (displayAll){\n\t\t\treturn Utils.seatClasses;\n\t\t}\n\t\t\n\t\t//might slow down, please consider as setup\n\t\tSet<String> availClasses = new LinkedHashSet<String>();\n\t\tfor (int i = 0; i < list.size(); i++){\n\t\t\tFlightSearchB2B fs = list.get(i);\n\t\t\t\n\t\t\tfor (int j = 0; j < fs.getSeats().length; j++){\n\t\t\t\tSeat seats = fs.getSeats()[j];\n\t\t\t\t\n\t\t\t\t//available ?\n\t\t\t\tif (seats.getAvailable() < 1 || seats.getRate() < 1){\n\t\t\t\t}else\n\t\t\t\t\tavailClasses.add(seats.getKelas());\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tSet<String> filterClasses = new LinkedHashSet<String>();\n\t\tfor (int i = 0; i < Utils.seatClasses.length; i++){\n\n\t\t\tfor (Iterator<String> iterator = availClasses.iterator(); iterator.hasNext();) {\n\t\t\t\tString _c = iterator.next();\n\t\t\t\tif (Utils.seatClasses[i].equalsIgnoreCase(_c)){\n\t\t\t\t\tfilterClasses.add(Utils.seatClasses[i]);\n\t\t\t\t\t\n\t\t\t\t\tavailClasses.remove(_c);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\t\n\t\treturn filterClasses.toArray(new String[filterClasses.size()]);\n\t}", "title": "" } ]
[ { "docid": "860baca854f0164a29bbc4e8c80126da", "score": "0.5150717", "text": "private String checkSalePrice(double price) {\n if (price == 0.0) {\n return \"NO_SALE\";\n }\n DecimalFormat decimalFormat = new DecimalFormat(\"0.00\");\n return \"₹ \" + decimalFormat.format(price);\n }", "title": "" }, { "docid": "5259a6c67045fc6af3812b9232fb19d6", "score": "0.50716186", "text": "@Override\n public String price(){\n return \"\";\n }", "title": "" }, { "docid": "4f8deb798f03b057e51f1f88cf5a7c96", "score": "0.50616676", "text": "@Override\n public Double getTotalPrice() {\n\treturn null;\n }", "title": "" }, { "docid": "74a861996b1d567fa3c9f2bdd16a9709", "score": "0.5014857", "text": "@Override\n\tpublic Double price() {\n\t\treturn 0.0;\n\t}", "title": "" }, { "docid": "4c7f6fd68bd741195ac71d80fe3f2aa8", "score": "0.47468972", "text": "@Override\n public String priceInt(){\n return \"\";\n }", "title": "" }, { "docid": "d171b287b91a5bac894ed85380e27d15", "score": "0.47365966", "text": "@Test\n\tpublic final void testRemoveAllGoods() {\n\t\tfor (int i = ship.getCargoBayCount(); i < ship.getCargoBayCapacity(); i++) {\n\t\t\tship.addTradeGood(0);\n\t\t}\n\t\twhile (ship.getCargoBayCount() > 0) {\n\t\t\tship.removeTradeGood(0);\n\t\t}\n\t\tint newSpace = ship.getCargoBayCount();\n\t\tassertEquals(0, newSpace);\n\t}", "title": "" }, { "docid": "1e6f8b8d4ea00778d20991c31e983385", "score": "0.47363237", "text": "@Override\r\n\tpublic int getPrice() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "c25c0cc40efe76623526971ae8eb806f", "score": "0.4712172", "text": "@Test\n\tpublic final void testRemoveBeyondZeroGoods() {\n\t\tship.removeTradeGood(0);\n\t\tint newSpace = ship.getCargoBayCount();\n\t\tassertEquals(0, newSpace);\n\t}", "title": "" }, { "docid": "6f3269c759fb3fe37ead9615451b4986", "score": "0.46971607", "text": "public Builder clearLowestPrice() {\n bitField0_ = (bitField0_ & ~0x00000080);\n lowestPrice_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "22904a6e8b6e50c76d698e1fd126ef16", "score": "0.46727178", "text": "@Override\r\n\tpublic String getPrice() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "99a1d9eb09f0ce2d1aa0edf964df16f7", "score": "0.46546426", "text": "public static String cleanUvoPrice(final String price) {\n if (price == null) {\n return null;\n } else {\n return price.replace(\"EUR\", \"\").replaceAll(\" \", \"\").trim();\n }\n }", "title": "" }, { "docid": "b62e9ab0e44188cc5b104710b8862e03", "score": "0.46452695", "text": "private boolean seatsEmpty(ResultSet flight) throws Exception {\n\t\tint taken = flight.getInt(\"seats_reserved\");\n\t\tif (taken < 0) {\n\t\t\tthrow new IllegalArgumentException(\"Error: There is an invalid number of people booked for this flight.\");\n\t\t}\n\t\treturn taken == 0;\n\t}", "title": "" }, { "docid": "6aa85ff273d926377d480526fc81b5eb", "score": "0.46218574", "text": "public com.kafka.action.chapter6.avro.AvroStockQuotation.Builder clearPreClosePrice() {\n fieldSetFlags()[3] = false;\n return this;\n }", "title": "" }, { "docid": "acc8e47320923ea61335f79a6f798e46", "score": "0.46137053", "text": "public Price(MonetaryAmount price, Double vatPercent, boolean noVat, boolean asGross) {\r\n\t\tthis(Double.valueOf(1.0), price, vatPercent, Double.valueOf(0.0), noVat, asGross);\r\n\t}", "title": "" }, { "docid": "67834eb28d90368aab8e4fcaf7b2d40e", "score": "0.45998752", "text": "public void setPrice(double price) {\r\n if(price>0.0) {\r\n this.price = price;\r\n }\r\n }", "title": "" }, { "docid": "19318827ec936ded8c301353bc707eb3", "score": "0.4599563", "text": "public BigDecimal onEmptyExpression();", "title": "" }, { "docid": "e730de9a926fcd4cc36f990963c9688e", "score": "0.45920092", "text": "public Builder clearLastPrice() {\n bitField0_ = (bitField0_ & ~0x00000200);\n lastPrice_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "983a3a88b0a6d7e00456a7d816767796", "score": "0.45886037", "text": "@Override\r\n\tpublic String getPriceType() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "2965aec6ac1b9dd79c692f1500380653", "score": "0.4585827", "text": "void unsetPriceRange();", "title": "" }, { "docid": "774692289d1a920dc6c93000206afc7b", "score": "0.45809412", "text": "@Test\n\tpublic void mealWithZeroPrice() {\n\t\tList<EpflRestaurant> meals = getMenu();\n\t\tEpflMeal m = meals.get(0).getRMeals().get(1);\n\t\tMap<PriceTarget, Double> prices = m.getMPrices();\n\t\t\n\t\tassertEquals(\"Café gourmand, pâte de fruits\", m.getMName());\n\t\tassertEquals(0, prices.size());\n\t}", "title": "" }, { "docid": "ea2085ca89ae9e878ef5884277d9468b", "score": "0.45807582", "text": "public float getPrice() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "e0507952868cd5c24747d2fff0d2279d", "score": "0.45803496", "text": "public com.kafka.action.chapter6.avro.AvroStockQuotation.Builder clearHighPrice() {\n fieldSetFlags()[6] = false;\n return this;\n }", "title": "" }, { "docid": "afd81e141664fd172f0fabc4d66cdbc4", "score": "0.45798427", "text": "public ConcertTicket removeConcert(double price) {\n \n ConcertTicket t = null;\n ConcertTicket target = new ConcertTicket(\"name\", new Date(), price);\n if (concerts.contains(target)) {\n try {\n t = (ConcertTicket)(concerts.removeElement(target));\n } catch (ElementNotFoundException ex) {\n Logger.getLogger(ConcertTree.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n \n return t;\n }", "title": "" }, { "docid": "fb11bc3102afa3f898c6267df45363fd", "score": "0.45744672", "text": "public com.kafka.action.chapter6.avro.AvroStockQuotation.Builder clearLowPrice() {\n fieldSetFlags()[7] = false;\n return this;\n }", "title": "" }, { "docid": "85484df6378f288a639dae13aa12c797", "score": "0.4544776", "text": "@Before\n\tpublic void clearPricing() {\n\t\tps.clearPricing();\n\t\ttillScan = new TillScan(ps);\n\n\t}", "title": "" }, { "docid": "88d3a94d2dd28c9daa01f6bcebc738a7", "score": "0.45212582", "text": "public Builder clearHighestPrice() {\n bitField0_ = (bitField0_ & ~0x00000020);\n highestPrice_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "71f63786a1bf9b4de42c169da530ff26", "score": "0.4520367", "text": "public com.kafka.action.chapter6.avro.AvroStockQuotation.Builder clearCurrentPrice() {\n fieldSetFlags()[5] = false;\n return this;\n }", "title": "" }, { "docid": "1020c7bd6a392d56f90d86338c18150c", "score": "0.4515625", "text": "@Test\n\t public void dropClassEmptyclassName() {\n\t\t this.admin.createClass(\"class\", 2017, \"Instructor\", 1);\n\t\t this.student.registerForClass(\"student\", \"class\", 2017);\n\t\t this.student.dropClass(\"student\",\"\", 2017);\n\t\t assertTrue(this.student.isRegisteredFor(\"student\", \"class\", 2017));\n\t\t \n\t }", "title": "" }, { "docid": "718491da20038c515406b61a1c2ef083", "score": "0.45136684", "text": "public void firstClassSeats(Integer firstClassSeats) throws IllegalArgumentException{\n\t\tif (firstClassSeats > 0)\n\t\t\tmFirstClassSeats = firstClassSeats;\n\t\telse\n\t\t\tthrow new IllegalArgumentException (Double.toString(firstClassSeats));\n\t}", "title": "" }, { "docid": "a7522794a91906717a568b81c4c37cb8", "score": "0.45050395", "text": "boolean hasPrice();", "title": "" }, { "docid": "92df5b48e9795fb2d096dc220086f9e5", "score": "0.448757", "text": "public Builder clearNewsClass() {\n \n newsClass_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3e751e316ab5c8c0892d81e9cb5dbc57", "score": "0.44725466", "text": "public CustomLineItemTaxedPrice buildUnchecked() {\n return new CustomLineItemTaxedPriceImpl(totalNet, totalGross);\n }", "title": "" }, { "docid": "924c6fb6919c7af87dfce9cea7f33770", "score": "0.44537988", "text": "public List<Coupon> getCouponsByPrice(double price) {\n\t\t\treturn null;\r\n\t\t}", "title": "" }, { "docid": "bad028d5355f9d2998ba89bcbf7955f8", "score": "0.44467267", "text": "public int reserveSeats(Long time) {\n\t\tlong currTime = System.currentTimeMillis();\n\t\tlong elapsedTime = currTime - time;\n\t\tlong seconds = TimeUnit.MILLISECONDS.toSeconds(elapsedTime);\n\t\tif (seconds > 30) {\n\t\t\tList<Integer> seatNumbers = heldSeats.get(time);\n\t\t\tint length = seatNumbers.size();\n\t\t\tSeat seat = null;\n\t\t\tfor (int i = 0; i < length; i++) {\n\t\t\t\tseat = seats.get(seatNumbers.get(i));\n\t\t\t\tseat.setCustId(\"\");\n\t\t\t\tseat.setTransId(0L);\n\t\t\t\tseat.setStatus(Seat.AVALIABLE);\n\t\t\t\tseat.setVersion(0);\n\t\t\t}\n\t\t\theldSeats.remove(time);\n\t\t\treturn 0;\n\t\t} else {\n\t\t\tList<Integer> seatNumbers = heldSeats.get(time);\n\t\t\tint length = seatNumbers.size();\n\t\t\tSeat seat = null;\n\t\t\tfor (int i = 0; i < length; i++) {\n\t\t\t\tseat = seats.get(seatNumbers.get(i));\n\t\t\t\tseat.setStatus(Seat.RESERVED);\n\t\t\t}\n\t\t\theldSeats.remove(time);\n\t\t\treturn 1;\n\t\t}\n\t}", "title": "" }, { "docid": "7f88760218ac72a556cb1dca0c9f18fb", "score": "0.444182", "text": "@Override\n public String getTotalPrice() {\n return mTotalText.getText().toString().trim();\n }", "title": "" }, { "docid": "2dd28ac973b25812f3277fdbb1c1ff40", "score": "0.44406414", "text": "public boolean noSeats(){\n\t\tint count = 0; \n\t\tSeat b = new Seat(0);\n\t\tint i;\n\t\tint j;\n\t\tfor (i =0; i<ROWS; i++){\n\t\t\tfor (j = 0; j<COLUMNS; j++){\n\t\t\t\tSeat a = seatingChart[i][j];\n\t\t\t\tif (a.equals(b)){\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (count == ROWS*COLUMNS)\n\t\t\treturn true; \n\t\telse\n\t\t\treturn false; \n\t}", "title": "" }, { "docid": "c0c6e2b97e713966a50a50d0547cd7cd", "score": "0.44400325", "text": "private void makeAllInvisible() {\n spPrice.setVisibility(View.INVISIBLE);\n ratingBar.setVisibility(View.INVISIBLE);\n tvRatingTitle.setVisibility(View.INVISIBLE);\n tvPriceTitle.setVisibility(View.INVISIBLE);\n }", "title": "" }, { "docid": "58bb64e9cdbd8e7bb8d03b41664c2e23", "score": "0.44400012", "text": "public Builder clearBidPrice() {\n \n bidPrice_ = 0D;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "634d37a2f435f488f9c03089b5f56f7f", "score": "0.44386175", "text": "public Builder clearOpenPrice() {\n bitField0_ = (bitField0_ & ~0x00000008);\n openPrice_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "047b4e861e62856ad6544c90c8705e2c", "score": "0.442392", "text": "@Override\n\tpublic float price() {\n\t\treturn 15.6f;\n\t}", "title": "" }, { "docid": "e030afa7c5ce8e619b8bd56fea9f42c4", "score": "0.44213295", "text": "public Builder clearBidPrice6() {\n \n bidPrice6_ = getDefaultInstance().getBidPrice6();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "965391c64f73f9e25000b189a413f85c", "score": "0.4407109", "text": "public double get_totalCostExcludingTax() {\r\n \tdouble totalCost = 0;\r\n\t\tfor (ShopItem item:this.get_shoppingList())\r\n\t\t{\r\n\t\t\tif (item != null)\r\n\t\t\t{\r\n\t\t\t\ttotalCost += item.get_price() * item.get_quantity();\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn totalCost;\r\n }", "title": "" }, { "docid": "0eebf23a97851806b91b4508320b1e4f", "score": "0.439357", "text": "@Test (expected = RuntimeException.class)\r\n\tpublic void findAndHoldSeats(){\n\t\tassertNotNull(ticketService.findAndHoldSeats(numSeats, minLevel, maxLevel, customerEmail));\r\n\t\t\r\n\r\n\t\t//false case : throws exception\r\n\t\tassertNull(ticketService.findAndHoldSeats(numSeats, minLevel, maxLevel, \"\"));\r\n\r\n\t}", "title": "" }, { "docid": "e7a74a1c189ff02c73c88449bccb631a", "score": "0.4391111", "text": "@Override\n\tpublic int getSellPrice() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "54a84d49194bb377b786002c16f56ae8", "score": "0.43856347", "text": "private static void dropClass() {\n\t\tGameManager.getCurrentPlayer().setClass(null);\n\t}", "title": "" }, { "docid": "4637c6149173ab1c975f2c5e3fedcfaf", "score": "0.4380198", "text": "@Override\n\tpublic List<Condidats> CondidatsNotPay() {\n\t\treturn repositryGeneric.CondidatsNotPay();\n\t}", "title": "" }, { "docid": "0006f279acf9b5e1ca790e6cd2925987", "score": "0.43788886", "text": "public void sellSeatByPrice(int[][] seats, int price)\n {\n\t boolean availableSeat = false;\n\t \n\t for(int i = 0; i < seats.length; i++)\n\t {\n\t\t for(int j = 0; j < seats[i].length; j++)\n\t\t {\n\t\t\tif(seats[i][j] == price)\n\t\t\t{\n\t\t\t if(seats[i][j] != 0)\n\t\t\t {\n\t\t\t\t availableSeat = true;\n\t\t\t\t \n\t\t\t\t seats[i][j] = 0;\n\t\t\t }\n\t\t\t}\n\t\t }\n\t }\n\t \n\t if(!availableSeat)\n\t {\n\t\t System.out.println(\"Sorry, no seat found with that price.\"); \n\t }\n\t else\n\t {\n\t\t System.out.println(\"There is a seat available for you!\");\n\t }\n\t \n }", "title": "" }, { "docid": "cce0ec6a38231dc47000052754c75ad4", "score": "0.4373168", "text": "public com.kafka.action.chapter6.avro.AvroStockQuotation.Builder clearOpenPrice() {\n fieldSetFlags()[4] = false;\n return this;\n }", "title": "" }, { "docid": "1a9065f75fe13c14648f38214cd4705c", "score": "0.43699044", "text": "public void testseatGraphWithNoSeats() \n {\n \tMap<Position,Seat> allSeatsMap = new HashMap<Position, Seat>();\n \tString seatGraph = TicketingUtils.getSeatGraph(allSeatsMap);\n assertTrue(seatGraph.length() == 0);\n }", "title": "" }, { "docid": "67d142a32ee1e47537f97ea70c03aefe", "score": "0.43606064", "text": "@Override\n\tString getPrice() {\n\t\treturn !mReduced ? \"Pris: 20 kr (inkl. 6% moms)<br />\" : \"Pris: 12 kr (inkl. 6% moms)<br />\";\t \n\t}", "title": "" }, { "docid": "30051611fd3b65bf9c6627cd93802cd1", "score": "0.43586832", "text": "private void setFieldsGrayInRowIfNoStars(int row) {\r\n \t\tif (getStarCountY(row) == 0) {\r\n \t\t\tfor (int x = 0; x < listcontainer.size(); x++)\r\n \t\t\t\tif (listcontainer.get(x).get(row).solutionContent == AllowedContent.CONTENT_EMPTY) {\r\n \t\t\t\t\tgrayed.add(listcontainer.get(x).get(row));\r\n \t\t\t\t}\r\n \r\n \t\t}\r\n \t}", "title": "" }, { "docid": "93ce3f658e35bf33b161e7fbd1d2de85", "score": "0.4348864", "text": "public void setFinalPrice(){\n finalPrice= findViewById(R.id.finalPrice);\n finalPrice.setText(R.string.empty);\n double finalPrice;\n double orderPrice= order.getOrderPrice();\n double taxPrice= TAX_RATE*orderPrice;\n finalPrice= taxPrice+ orderPrice;\n if(finalPrice<0){\n this.finalPrice.setText(\"$\"+String.format(\"%.2f\",finalPrice*(-1)));\n }\n else {\n this.finalPrice.setText(\"$\" + String.format(\"%.2f\", finalPrice));\n }\n }", "title": "" }, { "docid": "d68543d7b7e2f05b03006d00faa34777", "score": "0.43484968", "text": "public BigDecimal formatPrice(String price){\n\t\tString priceTemp=price;\n\t\tif(priceTemp==null || priceTemp.isEmpty())\n\t\t\tthrow new IllegalArgumentException(\"Price cannot be empty\");\n\t\tpriceTemp=priceTemp.trim();\n\t\tString extraText = businessProps.getProperty(\"myntra.price.extratext\");\n\t\tif(priceTemp.contains(extraText)){\n\t\t\tpriceTemp = priceTemp.replace(extraText,\"\");\n\t\t}\n\t\tpriceTemp=priceTemp.trim();\n\t\tBigDecimal price1=null;\n\t\ttry {\n\t\t\tprice1 = new BigDecimal(priceTemp);\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tthrow new IllegalArgumentException(\"Not able to parse price:\\\"\"+price+\"\\\"\",e);\n\t\t}\n\t\treturn price1;\n\t}", "title": "" }, { "docid": "f19ee9dcb74acfe8766fccf1b32542d0", "score": "0.43446383", "text": "public int getPrice(){\n return 0;\n }", "title": "" }, { "docid": "aa5122d0efd5dd4a4612879bee4908ba", "score": "0.43329442", "text": "@Override\r\n\tpublic String getPriceAsText() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "ecaec70bef4a6c1ae2a70c5611a3e2f5", "score": "0.43235373", "text": "@Override\n public Double getTotalInclOPPrice() {\n\treturn null;\n }", "title": "" }, { "docid": "81578cc5298455d7a2df37e41856bf13", "score": "0.4323466", "text": "public M cssCarNull(){if(this.get(\"cssCarNot\")==null)this.put(\"cssCarNot\", \"\");this.put(\"cssCar\", null);return this;}", "title": "" }, { "docid": "63d38870a0226f22092ed10d36e36b50", "score": "0.4322511", "text": "public void setDisprice(BigDecimal disprice) {\r\n this.disprice = disprice;\r\n }", "title": "" }, { "docid": "59a585ee043aa46d05b68ad402220d70", "score": "0.43173802", "text": "@Override\n\tpublic int getBuyPrice() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "05cae3ea9127dd371cc54b11465a58ad", "score": "0.43156037", "text": "private void resetTotalPrice() {\n BigDecimal price = getSalesPrice();\n BigDecimal total = new BigDecimal(getQuantity()).multiply(price);\n\n\n setTotalPrice(total);\n }", "title": "" }, { "docid": "f2e000009a77b632d22f39c7c3c0e7fa", "score": "0.43145344", "text": "public boolean cartIsEmpty() {\n return cart.getTotal().compareTo(BigDecimal.ZERO) == 0;\n }", "title": "" }, { "docid": "4e5bfdef868e9112696130152e2adb5d", "score": "0.43141365", "text": "public int getPrice() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "57f9112a35d007a3a6cf2111f4cbcfb6", "score": "0.4312711", "text": "public void checkSummarizePriceForProducts() {\n\n // TODO: Check that subtotal price for product is ok.\n amazonCartPageLocators.subtotalPrice().getText().equals(amazonCartPageLocators.productPrice()); //to tez an razie prototyp\n }", "title": "" }, { "docid": "407e7b989000da011f1ac2c259dbc14f", "score": "0.43080664", "text": "public com.ibm.avro.model.CustomObject.Builder clearUnitPrice() {\n unitPrice = null;\n fieldSetFlags()[6] = false;\n return this;\n }", "title": "" }, { "docid": "42606c320717d2df37d7820b6700878c", "score": "0.4302343", "text": "public Item() {\n\tname=\"\";\n\tprice=0.00;\n}", "title": "" }, { "docid": "3f95aa92a644485dfb06d1ee315722d7", "score": "0.43020397", "text": "public void totalprice() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "2761cb915e8e2d43681263c51f2b3a52", "score": "0.43011573", "text": "public int getPrice()\r\n {\r\n return 0;\r\n }", "title": "" }, { "docid": "48f45e5df57b8eb301a0a55a9ce08878", "score": "0.42999628", "text": "public void setPrice(BigDecimal price) {\n this.price = price;\n }", "title": "" }, { "docid": "48f45e5df57b8eb301a0a55a9ce08878", "score": "0.42999628", "text": "public void setPrice(BigDecimal price) {\n this.price = price;\n }", "title": "" }, { "docid": "48f45e5df57b8eb301a0a55a9ce08878", "score": "0.42999628", "text": "public void setPrice(BigDecimal price) {\n this.price = price;\n }", "title": "" }, { "docid": "48f45e5df57b8eb301a0a55a9ce08878", "score": "0.42999628", "text": "public void setPrice(BigDecimal price) {\n this.price = price;\n }", "title": "" }, { "docid": "48f45e5df57b8eb301a0a55a9ce08878", "score": "0.42999628", "text": "public void setPrice(BigDecimal price) {\n this.price = price;\n }", "title": "" }, { "docid": "c7a6a0eb851bbda8a35c29b315e0c1a5", "score": "0.42924452", "text": "public void zeroOutUnpopulatedAmounts() {\n if (this.financialDocumentHundredCentAmount == null) {\n this.financialDocumentHundredCentAmount = KualiDecimal.ZERO;\n }\n if (this.financialDocumentFiftyCentAmount == null) {\n this.financialDocumentFiftyCentAmount = KualiDecimal.ZERO;\n }\n if (this.financialDocumentTwentyFiveCentAmount == null) {\n this.financialDocumentTwentyFiveCentAmount = KualiDecimal.ZERO;\n }\n if (this.financialDocumentTenCentAmount == null) {\n this.financialDocumentTenCentAmount = KualiDecimal.ZERO;\n }\n if (this.financialDocumentFiveCentAmount == null) {\n this.financialDocumentFiveCentAmount = KualiDecimal.ZERO;\n }\n if (this.financialDocumentOneCentAmount == null) {\n this.financialDocumentOneCentAmount = KualiDecimal.ZERO;\n }\n if (this.financialDocumentOtherCentAmount == null) {\n this.financialDocumentOtherCentAmount = KualiDecimal.ZERO;\n }\n }", "title": "" }, { "docid": "23f4f88fe36fd9cfd025cab8dfca5e2c", "score": "0.42884532", "text": "@Override\n public void displayPrice() {\n }", "title": "" }, { "docid": "b8a1bb2c67187caf57e9f305de676fb4", "score": "0.42871585", "text": "public Builder clearLowPrice() {\n \n lowPrice_ = getDefaultInstance().getLowPrice();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "8e88864cce8cae640572055e5fb97088", "score": "0.42834812", "text": "@Test\n\t\tpublic void testEmptySea() {\n\t\t\tEmptySea es = new EmptySea();\n\t\t\t//ship type\n\t\t\tassertEquals(\"EmptySea\", es.getShipType());\n\t\t\t//ship length\n\t\t\tassertEquals(1, es.length);\n\t\t\t// correct retrieval of sunken status\n\t\t\tassertEquals(false, es.isSunk());\n\t\t\tassertEquals(\"-\", es.toString());\n\t\t}", "title": "" }, { "docid": "21f510db17ce1a74c844f7079a5f8fd5", "score": "0.4283029", "text": "private Collection<DocumentNode> filterForClasses(Collection<DocumentNode> nodes) {\r\n\tnodes = new ArrayList<DocumentNode>(nodes);\r\n\tIterator<DocumentNode> iter = nodes.iterator();\r\n\twhile (iter.hasNext()) {\r\n\t boolean valid = true;\r\n\t DocumentNode node = iter.next();\r\n\t if (node instanceof TextBlock) {\r\n\t\tTextBlock block = (TextBlock) node;\r\n\t\tif (block.getType() == null) {\r\n\t\t valid = false;\r\n\t\t}\r\n\t\tTemplate template = ((TextBlock) node).getType().getParseRule();\r\n\t\tConcreteSyntax syntax = template.getConcretesyntax();\r\n\t\tif (!syntax.getName().equals(\"Class\")) {\r\n\t\t valid = false;\r\n\t\t}\r\n\r\n\t } else {\r\n\t\tvalid = false;\r\n\t }\r\n\t if (!valid) {\r\n\t\titer.remove();\r\n\t }\r\n\t}\r\n\treturn nodes;\r\n }", "title": "" }, { "docid": "dbf0a73be402e12fa77e4bb4857bd7e6", "score": "0.4272372", "text": "public double totalPrice() {\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "2f652ce12bddc6966f5ca9c9460cb48d", "score": "0.4271942", "text": "public void setPrice(BigDecimal price) {\r\n this.price = price;\r\n }", "title": "" }, { "docid": "982b87455435aae7442b1e155429ad14", "score": "0.4271769", "text": "public void removeAllDiscountInfo() {\r\n \tthis.discountInfoList.clear();\r\n }", "title": "" }, { "docid": "9882d0ad404597ed65f168a63ad0f819", "score": "0.42617697", "text": "public boolean removeCheapest() {\n ConcertTicket t = null;\n try {\n t = (ConcertTicket)(concerts.removeMin());\n } catch (EmptyCollectionException ex) {\n Logger.getLogger(ConcertTree.class.getName()).log(Level.SEVERE, null, ex);\n }\n if (t == null) return false;\n return true;\n }", "title": "" }, { "docid": "486fb22610ed60dcbfd560c4719e8409", "score": "0.4260815", "text": "public String toString() {\n\t\tif (this.firstClass==true && this.reserved == false && this.seatType == SeatType.AISLE )\n\t\t\treturn \"[A _]\";\n\t\telse if(this.firstClass==true && this.reserved == false && this.seatType == SeatType.MIDDLE)\n\t\t\treturn \"[M _]\";\n\t\telse if(this.firstClass==true && this.reserved == false && this.seatType == SeatType.Window)\n\t\t\treturn \"[W _]\";\n\t\telse if(this.firstClass==true && this.reserved == true && this.seatType == SeatType.MIDDLE)\n\t\t\treturn \"[M X]\";\n\t\telse if (this.firstClass==true && this.reserved == true && this.seatType == SeatType.AISLE )\n\t\t\treturn \"[A X]\";\n\t\telse if (this.firstClass==true && this.reserved == true && this.seatType == SeatType.Window )\n\t\t\treturn \"[W X]\";\n\t\telse if (this.firstClass==false && this.reserved == false && this.seatType == SeatType.AISLE )\n\t\t\treturn \"[a _]\";\n\t\telse if(this.firstClass==false && this.reserved == false && this.seatType == SeatType.MIDDLE)\n\t\t\treturn \"[m _]\";\n\t\telse if(this.firstClass==false && this.reserved == false && this.seatType == SeatType.Window)\n\t\t\treturn \"[w _]\";\n\t\telse if(this.firstClass==false && this.reserved == true && this.seatType == SeatType.MIDDLE)\n\t\t\treturn \"[m X]\";\n\t\telse if (this.firstClass==false && this.reserved == true && this.seatType == SeatType.AISLE )\n\t\t\treturn \"[a X]\";\n\t\telse if (this.firstClass==false && this.reserved == true && this.seatType == SeatType.Window )\n\t\t\treturn \"[w X]\";\n\t\telse\n\t\t\treturn null;\n\t}", "title": "" }, { "docid": "cdea26fdd7be084feed0fc211dd7f21e", "score": "0.42596287", "text": "public void coinEaten() {\n\t\tif (type == COIN) {\n\t\t\t//imgShowing = false;\n\t\t\tdesc = \"empty\";\n\t\t\ttype = 0;\n\t\t} else {\n\t\t\tSystem.out.println(\"[BoardObject:coinEaten] This BoardObject does not contain a COIN or SUPER_COIN. Nothing can be eaten.\");\n\t\t}\n\t}", "title": "" }, { "docid": "c9deb6a836c034c5b66a1127744fd6d4", "score": "0.42579794", "text": "@Test\n public void removeScannedItem_NoDiscount_Updates() {\n assertEquals(mockNonWeightedItem.getPrice() * 2,\n mockGroceryItemRepository.addScannedItem(mockNonWeightedItem.getName(), 2));\n assertEquals(mockNonWeightedItem.getPrice(),\n mockGroceryItemRepository.removeScannedItem(mockNonWeightedItem.getName(), 1));\n }", "title": "" }, { "docid": "bbd5c8c6e620a6c863961cd3ee2cfe8b", "score": "0.4249025", "text": "public void removeZeroQuantityItems() {\n ArrayList<Inventory> newItems = new ArrayList<Inventory>();\n\n for (Inventory i : items) {\n if (i.getQuantity() > 0) {\n newItems.add(i);\n }\n }\n\n items = newItems;\n }", "title": "" }, { "docid": "7b47c051f87228478403b9d528c5281b", "score": "0.42454916", "text": "java.lang.String getNowClosePrice();", "title": "" }, { "docid": "8fa5c2204e97623a262da0a9447144f1", "score": "0.4236487", "text": "public double totalPrice() {\n\t\treturn this.price = 0;\r\n\t}", "title": "" }, { "docid": "4f3a101d9a2dacf0222a78a29a2a2078", "score": "0.4235661", "text": "public void sell(){\n\t\tprice = 0;\n\t}", "title": "" }, { "docid": "381b62d37265c263309b0b25f2d1a9c6", "score": "0.42349467", "text": "public void zeroBets() {\n\t\tmoneyOnFour = 0;\n\t\tmoneyOnFive = 0;\n\t\tmoneyOnSix = 0;\n\t\tmoneyOnEight = 0;\n\t\tmoneyOnNine = 0;\n\t\tmoneyOnTen = 0;\n\n\t\tbetAmount = moneyOnFour + moneyOnFive + moneyOnSix + moneyOnEight + moneyOnNine + moneyOnTen;\n\n\t}", "title": "" }, { "docid": "cefe3184e359613a7947ccd26f292ffd", "score": "0.4226322", "text": "public static void searchToursBasedOnPriceLess(double price){\n int success = 0;\n for (int i = 0; i < Main.tours.size(); i++) {\n if (Main.tours.get(i).getPrice()<price){\n Main.tours.get(i).print();\n success++;\n }\n }\n if (success==0) {\n System.out.println(\"No compatibility!\");\n }\n }", "title": "" }, { "docid": "9769df9277e3f563b9902c133d6dbd14", "score": "0.42252845", "text": "@Override\n public Double getEquipmentPrice() {\n\treturn null;\n }", "title": "" }, { "docid": "220f84600597b431648265d89e5c2088", "score": "0.42224243", "text": "public void selectSyrup() {\n String type = getString(R.string.Syrup);\n if (syrupCheckbox.isChecked()) {\n addInsPrice += Constants.ADDIN_PRICE;\n coffee.add(type);\n } else {\n addInsPrice -= Constants.ADDIN_PRICE;\n coffee.remove(type);\n }\n double totalPrice = (sizePrice + addInsPrice) * count;\n totalTextArea.setText(\"$\" + String.format(\"%.2f\", totalPrice));\n }", "title": "" }, { "docid": "43b9dc9e09a59a86eaf0662d6ea99740", "score": "0.42206112", "text": "public Builder clearLastPrice() {\n \n lastPrice_ = getDefaultInstance().getLastPrice();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a24c070079d49594c9bcbc8149517f4d", "score": "0.42183742", "text": "public void empty(){\n this.balance = 0L;\n }", "title": "" }, { "docid": "8928c0009a7c8e3392c917cca930617d", "score": "0.42172816", "text": "public void setPrice(java.math.BigDecimal price) {\n this.price = price;\n }", "title": "" }, { "docid": "8dbeab4da38a43ef9dee3a55a1d45cfa", "score": "0.42162263", "text": "public void setPrice(String price) {\n this.price = price;\n }", "title": "" }, { "docid": "4335951b2bc280c8ba26f70050a666e9", "score": "0.42158931", "text": "public Builder clearPclosePrice() {\n bitField0_ = (bitField0_ & ~0x00000800);\n pclosePrice_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "70ca8ea52935ced90abe6e963ec61224", "score": "0.4212634", "text": "public M cssEnduranceNull(){if(this.get(\"cssEnduranceNot\")==null)this.put(\"cssEnduranceNot\", \"\");this.put(\"cssEndurance\", null);return this;}", "title": "" }, { "docid": "757ebe17040a1cd58d6f403c9c313fa7", "score": "0.420619", "text": "private float noInsurance(float cost) {\n return cost;\n }", "title": "" }, { "docid": "bad8249e346fdb23d27c036232220188", "score": "0.42052776", "text": "public Builder clearContractPrice() {\n bitField0_ = (bitField0_ & ~0x00000001);\n contractPrice_ = getDefaultInstance().getContractPrice();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "183de52832d6ce1259cd636ed39c14f6", "score": "0.42028642", "text": "public void empty() {\n\ttotalNumberOfItems = 0;\n\ttotalAmountOwed = 0.0;\n}", "title": "" } ]
fab498ecf92325375523206c9ad0bbc3
Method stub for further implementation.
[ { "docid": "c24d5871b6856d023b772c1ac0a2d7e9", "score": "0.0", "text": "public static java.util.Set<MEvent> getGuardEvents(String guardMethod) {\r\n\t\t/* PROTECTED REGION ID(java.implementation._17_0_1_8e00291_1324551607512_176690_3151) ENABLED START */\r\n\t\treturn guardDescriptors.get(guardMethod).events;\r\n\t\t/* PROTECTED REGION END */\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.65172106", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "82ab90ffadf9b8d43e60c8510a33beba", "score": "0.64506304", "text": "@Override\r\n\tpublic void morirse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ec76ff8d70ced9d8135ad33b23353b4d", "score": "0.6450042", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.6374062", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "809866d7ffd81ff4395dfe0a9bf8578b", "score": "0.6342543", "text": "@Override\r\n\tpublic void call() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d662a256390cbac5cc62b9f6bd30bd83", "score": "0.63401026", "text": "@Override\n public void call() {\n }", "title": "" }, { "docid": "a5f7a321f63abee65f0b9008f270490e", "score": "0.633729", "text": "@Override\n\t\t\tpublic void competir() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.63199615", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "9bee178f3f344211b2e3e20cc5eb0a44", "score": "0.6289166", "text": "private void gotopic() {\n }", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.62780094", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.62780094", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "977fff0c332b2452ea52e9c12f4524f3", "score": "0.62498754", "text": "@Override\n\tpublic void frapper() {\n\n\t}", "title": "" }, { "docid": "cd909140cd38511d45f1579abffeb281", "score": "0.6201043", "text": "@Override \r\n int overriddenMethod() { return 0; }", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.61993015", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e3110a393bd4b870b4055aa9ed6efd87", "score": "0.6188768", "text": "@Override\n\tpublic void attaquer() {\n\t\t\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.6164731", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "14f6250e215aa66dcffb123fd6b7fd74", "score": "0.6160235", "text": "@Override\n\tpublic void entzünden() {\n\n\t}", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.6158594", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "c485421b978fc281151d10a8438c697f", "score": "0.61316997", "text": "public void init()\r\n {\r\n // just stub\r\n }", "title": "" }, { "docid": "7756cbf76fd6363807e17834db326bbc", "score": "0.61139846", "text": "@Override\n\t\t\tpublic void avanzar() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.61091596", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.61091596", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.6084806", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "235772828b460a414a66709e6096b938", "score": "0.60750204", "text": "@Override\r\n protected void initialize() {\r\n }", "title": "" }, { "docid": "e90447edf4fd986a93ba64c36686de63", "score": "0.6073433", "text": "@Override\n\t\t\tpublic void invoke() {\n\t\t\t}", "title": "" }, { "docid": "dd66e8668788d27519d44caeb83b0c44", "score": "0.6046675", "text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.60438085", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.60223716", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.60058564", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "330fb60652277f643854b081333e4df2", "score": "0.600539", "text": "protected abstract void mo6248a();", "title": "" }, { "docid": "0c1baa66e57a742b19c8ef24f031c945", "score": "0.5975501", "text": "private Composer()\t{ super();\t\t}", "title": "" }, { "docid": "1adf83cc781ccb8f29527e819408b2be", "score": "0.5966475", "text": "public void dummy() {\n\t\t\t\tSystem.out.println(\"dummy method called\");\n\t\t\t}", "title": "" }, { "docid": "490d0c17d38c9cf2535f9bc85088e8fc", "score": "0.59649694", "text": "private HitOperation() {\n\tthrow new AssertionError();\n }", "title": "" }, { "docid": "d3585587779dbdf33600e1670ca42099", "score": "0.5956519", "text": "@Override\n\tpublic void IngresoKromi() {\n\t}", "title": "" }, { "docid": "469c90392fb12e4553574135278541f5", "score": "0.5947701", "text": "@Override\n\tpublic void attck() {\n\t\t\n\t}", "title": "" }, { "docid": "360bf42213adde0b962792c6cd6d8df7", "score": "0.5945561", "text": "@Override\r\n\t\tpublic void interg() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "fcb15781e98855793363831c9e7c4611", "score": "0.59440523", "text": "@Override\r\n public void method() {\n }", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.59420073", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "81f0354dbb09000101dee9a0e24aaf00", "score": "0.59394276", "text": "@Override\n\tpublic void request() throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "70c63b539d1b6f883ad13008fbcaa6ce", "score": "0.5932755", "text": "@Override\n\tpublic void fiy(){\n\t\t\n\t}", "title": "" }, { "docid": "abb6fc49ae4803a5ec21275344ee4219", "score": "0.5928732", "text": "@Override\n protected void init() {\n // to override and use this method\n }", "title": "" }, { "docid": "9aad278de799299e84ee5b780b53f205", "score": "0.59283835", "text": "protected InternalReference() {/* intentionally empty block */}", "title": "" }, { "docid": "52a71c3a8d6dc0f5cb041fcac892b129", "score": "0.5923277", "text": "@Override\n protected void processLogic() {\n\n }", "title": "" }, { "docid": "52a71c3a8d6dc0f5cb041fcac892b129", "score": "0.5923277", "text": "@Override\n protected void processLogic() {\n\n }", "title": "" }, { "docid": "cf878687d061d3b258dfe569210d47ed", "score": "0.59140766", "text": "@Override\n\tpublic void harden() {\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.5909929", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c6ae6e4be8a34a0fe77c1f04a73cd2a2", "score": "0.5907239", "text": "public void dummyMethod();", "title": "" }, { "docid": "7a64af47763e4842ef0277e0c557687f", "score": "0.59025145", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "3d047d9871a4e874653093fed17dff91", "score": "0.58894", "text": "@Override\r\n\t\tpublic void work() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "04d0aeb098081b73e97a99da1b060497", "score": "0.5888681", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "04d0aeb098081b73e97a99da1b060497", "score": "0.5888681", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "04d0aeb098081b73e97a99da1b060497", "score": "0.5888681", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "04d0aeb098081b73e97a99da1b060497", "score": "0.5888681", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "d50d50dd0d1d78b57cea951dce04a714", "score": "0.58865047", "text": "@Override\n\tprotected void work() {\n\t}", "title": "" }, { "docid": "b20cefb77115b7ca53c45c4e62860337", "score": "0.5884617", "text": "@Override\n\tpublic void methodOne() {\n\t\t\n\t}", "title": "" }, { "docid": "f95e24981675e675121146f90a85bfe2", "score": "0.58793277", "text": "protected abstract void mo3673S();", "title": "" }, { "docid": "7f68cebe088aa11562826756b7b2f6ca", "score": "0.5879015", "text": "public abstract void mo9808G();", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5865693", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "9659591e6d7307ff9e22440b3cdf9eb4", "score": "0.58538705", "text": "@Override\n public void test() { \n }", "title": "" }, { "docid": "9659591e6d7307ff9e22440b3cdf9eb4", "score": "0.58538705", "text": "@Override\n public void test() { \n }", "title": "" }, { "docid": "6a60a7434150511e6994389249fea50c", "score": "0.584769", "text": "public GoForIt() {\n\t\t/* Nothing to do */\n\t}", "title": "" }, { "docid": "471b4055416a1189be2891d40619703a", "score": "0.58237004", "text": "@Override\n\tpublic void method() {\n\t}", "title": "" }, { "docid": "99e7e966c51a5579d91ee2abe7cf310c", "score": "0.5822152", "text": "public abstract String method_5963();", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.582016", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.58160216", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2e73109f7991e3c02255b86ca0fdc850", "score": "0.5813534", "text": "protected abstract void mo3674T();", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.5812628", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "f0e80dbf728371e6daa01e61cc71a8e5", "score": "0.5807873", "text": "@Override\r\n\tpublic void test6() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cd07fee25ec41d2c4ac481183f3d0521", "score": "0.58066005", "text": "@Override\n\tpublic void abstractMethod() {\n\t\t\n\t}", "title": "" }, { "docid": "a28fd0cb7be83cfd93a8a530df5c0534", "score": "0.5799126", "text": "@Override\n\tprotected void processLogic() {\n\t}", "title": "" }, { "docid": "6fa90cb587dd5c43c4d3e567f3d5be89", "score": "0.5798737", "text": "private static void Method4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4de6e7ee094c736fb77a7b872bba9df8", "score": "0.5795933", "text": "@Override\r\n\tpublic void doThis() {\n\t\t\r\n\t}", "title": "" }, { "docid": "60d3fd611b2e3ab0f93b471e9c357cbe", "score": "0.5792417", "text": "protected void h() {}", "title": "" }, { "docid": "584bef75117b545545b1abf246235208", "score": "0.5792266", "text": "public void prepareForReplace() {\n/* 688 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "dea2e3d34f90a07f00917f6813c1034d", "score": "0.5779567", "text": "@Override\r\n\tpublic void use() {\n\r\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.5778294", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "8a9bb8bbef9bc28ac01be20eb1d36c0e", "score": "0.5776656", "text": "public abstract T mo41441b() throws RemoteException;", "title": "" }, { "docid": "886203c4fefd9b80b55c2ee360822a28", "score": "0.577638", "text": "private SCFeedMagicForPlantRet() {}", "title": "" }, { "docid": "c4aa142a4daff8597ec9881d350a224a", "score": "0.57749075", "text": "@Override\r\n\tpublic void abc() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7f80d65db2650dfd4b4c1e8ddcdb316a", "score": "0.57703173", "text": "@Override\r\n public void doLogic() {\n \r\n }", "title": "" }, { "docid": "98dd411045fd2d1d89b5a730ede72786", "score": "0.5765183", "text": "public void mo3758a() {\n }", "title": "" }, { "docid": "95be4fdee6d995b424f0a4e840e2c875", "score": "0.57573724", "text": "@Override\r\n\tpublic void init()\r\n\t{\r\n\t}", "title": "" }, { "docid": "8ae46d2c9cffbb6ac7a68b17e137a89a", "score": "0.57474744", "text": "@Override\n public void initialize() {}", "title": "" }, { "docid": "8ae46d2c9cffbb6ac7a68b17e137a89a", "score": "0.57474744", "text": "@Override\n public void initialize() {}", "title": "" }, { "docid": "8ae46d2c9cffbb6ac7a68b17e137a89a", "score": "0.57474744", "text": "@Override\n public void initialize() {}", "title": "" }, { "docid": "8ae46d2c9cffbb6ac7a68b17e137a89a", "score": "0.57474744", "text": "@Override\n public void initialize() {}", "title": "" }, { "docid": "37bf6e6ef01cf7dab163b5d3bedbc140", "score": "0.57446384", "text": "@Override\n\tpublic void som() {\n\t\t\n\t}", "title": "" }, { "docid": "bd6fe9db3b71e7b19db735260a0b696c", "score": "0.5744084", "text": "@Override\n public void prepareForNextExecution()\n {\n }", "title": "" }, { "docid": "3cd4680b08ba0a731d8a14ba351a9a54", "score": "0.5740214", "text": "@Override\n public void sing() {\n\n }", "title": "" }, { "docid": "192bc59e6889e23b8276837f81d3b495", "score": "0.5735355", "text": "@Override\n public void test() {\n }", "title": "" }, { "docid": "612accb7603daceb246bf02b9872e860", "score": "0.57345635", "text": "@Override\n\t\tpublic void What_Happens()\n\t\t{\n\t\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5734463", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" } ]
5dc27c6a648b3ebefd53a8508d4cd0bf
Steps to roll out a flow version. Steps should be sorted by percentage in ascending order. repeated .google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
[ { "docid": "05d998d3899217cf8306ee6ad43c1660", "score": "0.6469377", "text": "java.util.List<\n ? extends com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStepOrBuilder>\n getRolloutStepsOrBuilderList();", "title": "" } ]
[ { "docid": "baccdd8221778903391b8c97871f2ce7", "score": "0.7392344", "text": "com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep getRolloutSteps(int index);", "title": "" }, { "docid": "d35f6e3b77399c90654565d284ecb344", "score": "0.71286136", "text": "com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStepOrBuilder\n getRolloutStepsOrBuilder(int index);", "title": "" }, { "docid": "dd29569d1bdebcf3a2ee03aec28a94f1", "score": "0.65386", "text": "java.util.List<com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep>\n getRolloutStepsList();", "title": "" }, { "docid": "b28bf5a5c47591f13233f1370784cb2c", "score": "0.61650395", "text": "int getRolloutStepsCount();", "title": "" }, { "docid": "f8691f485447d761f0b8b84d04d53298", "score": "0.505371", "text": "public void setSteps(int steps) { this.steps = steps; }", "title": "" }, { "docid": "9d03bf188b829355d6110ad954a7c1e6", "score": "0.46182722", "text": "public void redo(int steps)\n {\n for(int i=0;i<steps;i++) rollforward();\n lastUpdate=0;\n if(refreshMode!=REFRESH_MODE_ON_DEMAND)updateAll();\n }", "title": "" }, { "docid": "c0cc6e618d1903c0e2f07e503fef8756", "score": "0.45243213", "text": "@java.lang.Override\n public int getStepsCount() {\n return steps_.size();\n }", "title": "" }, { "docid": "849b97c8ef8d3ff63d6c08daa5cef5bc", "score": "0.4459111", "text": "public void step(int remainingSteps);", "title": "" }, { "docid": "54464b98955d5a54461e5603758a3e62", "score": "0.4439169", "text": "List<FlowStep<Config>> getFlowSteps();", "title": "" }, { "docid": "8420e21253f8782b1a09bfa4fd021681", "score": "0.43740904", "text": "public void setSteps(com.sforce.soap.enterprise.QueryResult steps) {\n this.steps = steps;\n }", "title": "" }, { "docid": "ad53757e67ae8038c06b2592068541d0", "score": "0.43620867", "text": "public void outputResultOfTurn(int roll) {\r\n System.out.println(name + \" rolled \" + roll + \". \" + name + \" moved from [\" + getLastPosition() + \"]\" + \" to \" + \"[\" + getNewPosition() + \"]\");\r\n }", "title": "" }, { "docid": "3212675e973d35928ce879c20a2f5536", "score": "0.43602633", "text": "public int getSteps() { return steps; }", "title": "" }, { "docid": "71d5ad85f0b6600dd934f6e5b457148d", "score": "0.4343463", "text": "public void setSteps(ArrayList<Step> steps) {\n mSteps = steps;\n }", "title": "" }, { "docid": "290775387ffefc202a574dba5819516a", "score": "0.4322399", "text": "public void setSteps( int nSteps ) {\n \tthis.nSteps = nSteps;\n }", "title": "" }, { "docid": "609f26de7ee225548d8997940a2cfba3", "score": "0.4317859", "text": "public void undo(int steps)\n {\n for(int i=0;i<steps;i++) rollback();\n lastUpdate=0;\n if(refreshMode!=REFRESH_MODE_ON_DEMAND)updateAll();\n }", "title": "" }, { "docid": "b782c2410b3ab29b3653af4224bb78ec", "score": "0.4308732", "text": "public void setStep(int value) {\r\n this.step = value;\r\n }", "title": "" }, { "docid": "e773286adb4ca6d973760c754b1f0cff", "score": "0.42894325", "text": "public int getStepsNumberInSequence();", "title": "" }, { "docid": "046ef4fa95e1eeac094e4afb3b5164dd", "score": "0.4288669", "text": "com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyOrBuilder\n getTrafficPercentStrategyOrBuilder();", "title": "" }, { "docid": "e4ed7cf59b66f5e496d6f58136834503", "score": "0.4286529", "text": "public int getNumberOfSteps(){\n return this.numberOfSteps;\n \n }", "title": "" }, { "docid": "fc6eba618fa4dfad699a62fc0229f595", "score": "0.42607206", "text": "com.google.api.servicemanagement.v1.Rollout.RolloutStatus getStatus();", "title": "" }, { "docid": "e7a6fe324e0b593129dcd6cd9b84eed1", "score": "0.4251739", "text": "public void step(int numSteps);", "title": "" }, { "docid": "eddc5772f2435fc4ab91894134d17b83", "score": "0.42349103", "text": "public void setSteps(double s){\n\t\tstepsToMe = s;\n\t}", "title": "" }, { "docid": "dae4ab40f5258d0c327ca1cbb0f07771", "score": "0.42077175", "text": "private double rollOut(GameState state) {\n int thisDepth = this.m_depth;\n\n while (!finishRollout(state, thisDepth)) {\n int action = safeRandomAction(state);\n roll(state, actions[action]);\n thisDepth++;\n }\n\n return rootStateHeuristic.evaluateState(state);\n }", "title": "" }, { "docid": "352b4fbf90de9ef3cc73af96cfc3dd4a", "score": "0.4196451", "text": "public synchronized void setSteps(int steps) {\r\n\t\tthis.steps = steps;\r\n\t\tpathFunction = null;\r\n\t}", "title": "" }, { "docid": "03451c64000e8b3f55cfffbab8b880d9", "score": "0.41766974", "text": "@java.lang.Override\n public com.google.dataflow.v1beta3.Step getSteps(int index) {\n return steps_.get(index);\n }", "title": "" }, { "docid": "cbd34a66e2b1e427f4f5c5b701a557b7", "score": "0.4172129", "text": "public void move(int[] diceRolls) {\n\t\tint sum = diceRolls[0] + diceRolls[1];\r\n\r\n\t\tSquare newLocation = location;\r\n\t\tTrackType newTrack = currentTrack;\r\n\t\tint newIndex = indexOnTrack;\r\n\t\t// whether to add or subtract 1\r\n\t\tint i = 1;\r\n\t\tif (sum < 0) {\r\n\t\t\ti = -1;\r\n\t\t}\r\n\r\n\t\tboolean isEven = sum % 2 == 0;\r\n\t\tboolean transitUsed = false;\r\n\t\tboolean isLastMove = false;\r\n\r\n\t\t// TODO I have attempted adjustments to allow moving backward. Must test\r\n\t\t// for bugs.\r\n\t\twhile (true) {\r\n\t\t\tif (!transitUsed && isEven && newLocation instanceof TransitStation) {\r\n\t\t\t\tnewIndex = ((TransitStation) newLocation).getOtherIndex(newTrack);\r\n\t\t\t\tnewTrack = ((TransitStation) newLocation).getOtherTrack(newTrack);\r\n\t\t\t\ttransitUsed = true;\r\n\t\t\t} else {\r\n\t\t\t\tnewIndex = (newIndex + i) % board.getNoOfSquaresOnTrack(newTrack);\r\n\t\t\t\tnewLocation = board.getSquare(newIndex, newTrack);\r\n\t\t\t\tif (!isLastMove)\r\n\t\t\t\t\tnewLocation.executeWhenPassed(this);\r\n\r\n\t\t\t\tif (sum > 0) {\r\n\t\t\t\t\tsum--;\r\n\t\t\t\t} else if (sum < 0) {\r\n\t\t\t\t\tsum++;\r\n\t\t\t\t}\r\n\t\t\t\ttransitUsed = false;\r\n\t\t\t}\r\n\t\t\tif (sum == 1 || sum == -1)\r\n\t\t\t\tisLastMove = true;\r\n\t\t\tif (sum == 0)\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\tmessage = \"MOVE/\" + name + \"/\" + currentTrack.ordinal() + \"/\" + indexOnTrack + \"/\" + newTrack.ordinal() + \"/\"\r\n\t\t\t\t+ newIndex;\r\n\t\tpublishGameEvent(message);\r\n\t\tindexOnTrack = newIndex;\r\n\t\tcurrentTrack = newTrack;\r\n\t\tlocation = newLocation;\r\n\t\tupdateState();\r\n\t\tlocation.executeWhenLanded(this);\r\n\t}", "title": "" }, { "docid": "be8db14673305c1ddc415c03c0b64f97", "score": "0.4162654", "text": "public int getSteps() {\n return steps;\n }", "title": "" }, { "docid": "471fe2949968490c2bcc656d7c61d150", "score": "0.41621986", "text": "@java.lang.Override\n public com.google.dataflow.v1beta3.StepOrBuilder getStepsOrBuilder(int index) {\n return steps_.get(index);\n }", "title": "" }, { "docid": "26f33e2daded8aa83af10ddf0295e977", "score": "0.41580424", "text": "public void switchSteps(View view) {\n Date currentTime = Calendar.getInstance().getTime();\n\n\n if (allSwitchesFalse()) {\n navigationViewAdviceRanking(this, navigationView, false);\n }\n\n\n if (steps.isChecked()) {\n navigationViewAdviceRanking(this, navigationView, true);\n\n //requests the permissions relevant to the Steps job\n requestPermsSteps(this, DataActivity.this);\n } else {\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n //if the Steps service is running then this stops it\n if (Util.isMyServiceRunning(StepsService.class)) {\n Intent serviceIntent = new Intent(this, StepsService.class);\n stopService(serviceIntent);\n }\n }\n\n //unscheduled and removes the notification for the STEPS job\n unscheduledJob(this, STEPS);\n stopBackgroundNotification(STEPS);\n }\n\n //updates the Data_Type class to reflect the status of the steps switch\n realm.executeTransactionAsync(r -> {\n // Get a data to update.\n Data_Type data = r.where(Data_Type.class).findFirst();\n // Update properties on the instance.\n // This change is saved to the realm.\n if (data != null) {\n data.setSteps(steps.isChecked());\n }\n Log.i(TAG, \"Updated Data_Storing: steps \" + steps.isChecked());\n });\n\n //inserts a DataTypeUsageData object into the realm\n insertDataTypeUsageData(this, currentTime, String.valueOf(steps.getText()), steps.isChecked());\n }", "title": "" }, { "docid": "82f5637216062ae45464778789cb2b8f", "score": "0.41322058", "text": "@Test\n\tpublic void testNumberOfSteps() {\n\t\tassertEquals(6, solution.numberOfSteps(14));\n\t\tassertEquals(4, solution.numberOfSteps(8));\n\t\tassertEquals(12, solution.numberOfSteps(123));\n\t}", "title": "" }, { "docid": "48e24cddaf32a916559e39e4b663fce2", "score": "0.41165704", "text": "@NonNull\n public List<Step> getSteps() {\n return steps;\n }", "title": "" }, { "docid": "09d718a17c0da922a4bdf2719c936112", "score": "0.41149092", "text": "public synchronized int getSteps() {\n return sequence.getSteps();\n }", "title": "" }, { "docid": "328dc1f88dbbd59aea99b56554b5cb89", "score": "0.41012633", "text": "ElevatorStepCounter getStepCounter();", "title": "" }, { "docid": "579d8371e3c7883a5bb0c4d944247e90", "score": "0.41000828", "text": "public void step(){\n this.numberOfSteps++;\n }", "title": "" }, { "docid": "641d8888db2125e994cb3c6733612805", "score": "0.4098226", "text": "public int getSteps() {\n\t\treturn totalSteps;\n\t}", "title": "" }, { "docid": "a3d2e7574bb999c86a5da34a4f134978", "score": "0.4093729", "text": "public void printSteps(){\r\n\t\tfor(String s: steps){\r\n\t\t\tSystem.out.print(s + \" \" );\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "title": "" }, { "docid": "2e817e3947ffca2dbed161ab7631e242", "score": "0.40838018", "text": "public static void setSteps() {\n GamePlay.steps++;\n }", "title": "" }, { "docid": "f18db9fb18fc96f23ac43f0ce51a78d6", "score": "0.40539163", "text": "public int getStepCount();", "title": "" }, { "docid": "457b6574ac9cad04445f42f27e7e015b", "score": "0.40517572", "text": "public void printSteps (int s)\n\t{\n\t}", "title": "" }, { "docid": "e6b68096ab3a262bcd9753adcfefbc89", "score": "0.40254286", "text": "public int getNumberOfSteps(){\r\n\t\treturn numberOfSteps;\r\n\t}", "title": "" }, { "docid": "af01519c70f33df85f5153f2e6d0c353", "score": "0.40040812", "text": "private void onStepProgress()\n {\n Level level = this.progress.peek();\n if (level.currentStep++ < level.steps) {\n level.globalOffset += level.globalStepSize;\n level.levelOffset += level.localStepSize;\n } else {\n LOGGER.warn(\"StepProgressEvent was fired too many times: [{}] instead of [{}]. The number of times\"\n + \" StepProgressEvent is fired must match the number of steps passed to PushLevelProgressEvent.\",\n level.currentStep, level.steps);\n }\n }", "title": "" }, { "docid": "5a875c58f754fe33b86d2605d87494b4", "score": "0.3997546", "text": "public int takeTurn(){\r\n\r\n\r\n //Get the roll\r\n int roll = 0;\r\n\r\n roll = die.rollD6();\r\n\r\n // ### Removed by SneakySteve. Replaced by method 'outputResultOfTurn' ###\r\n //System.out.println(name + \" rolled \" + roll + \". \" + name + \" moved from [\" + getLastPosition() + \"]\" + \" to \" + \"[\" + getNewPosition() + \"]\");\r\n\r\n return roll;\r\n }", "title": "" }, { "docid": "6fdc7b5379dc67e78b214c8950eb45ff", "score": "0.39902246", "text": "@Bean\n public Job historyRollupJob(DailyHistoryShouldExecuteDecider dailyHistoryShouldExecuteDecider,\n @Qualifier(\"dailyHistoryRollupStep\") Step dailyHistoryRollupSpec,\n WeeklyHistoryShouldExecuteDecider weeklyHistoryShouldExecuteDecider,\n @Qualifier(\"weeklyHistoryRollupStep\") Step weeklyHistoryRollupStep,\n MonthlyHistoryShouldExecuteDecider monthlyHistoryShouldExecuteDecider,\n @Qualifier(\"monthlyHistoryRollupStep\") Step monthlyHistoryRollupStep) {\n return jobBuilderFactory.get(HISTORY_ROLLUP_JOB)\n .listener(historyRollupJobExecutionListener())\n\n // Should this job run?\n .flow(historyRollupJobShouldRunStep())\n .on(EXIT_JOB).end()\n\n // Should the daily steps run?\n .next(dailyHistoryShouldExecuteDecider)\n .on(CONTINUE_STEP).to(dailyHistoryRollupSpec)\n\n // Next is the weekly steps\n .from(dailyHistoryShouldExecuteDecider).on(ALL_PATTERN)\n .to(weeklyHistoryShouldExecuteDecider)\n .on(CONTINUE_STEP).to(weeklyHistoryRollupStep)\n .from(dailyHistoryRollupSpec).on(ExitStatus.FAILED.getExitCode())\n .fail()\n .from(dailyHistoryRollupSpec).on(ALL_PATTERN)\n .to(weeklyHistoryShouldExecuteDecider)\n .on(CONTINUE_STEP).to(weeklyHistoryRollupStep)\n\n // Next is the monthly steps\n .from(weeklyHistoryShouldExecuteDecider).on(ALL_PATTERN)\n .to(monthlyHistoryShouldExecuteDecider)\n .on(CONTINUE_STEP).to(monthlyHistoryRollupStep)\n .from(weeklyHistoryRollupStep).on(ExitStatus.FAILED.getExitCode())\n .fail()\n .from(weeklyHistoryRollupStep).on(ALL_PATTERN)\n .to(monthlyHistoryShouldExecuteDecider)\n .on(CONTINUE_STEP).to(monthlyHistoryRollupStep)\n\n // Route to end\n .from(monthlyHistoryShouldExecuteDecider)\n .on(ALL_PATTERN)\n .end(BatchStatus.COMPLETED.name())\n .from(monthlyHistoryRollupStep).on(ExitStatus.FAILED.getExitCode())\n .fail()\n .from(monthlyHistoryRollupStep)\n .on(ALL_PATTERN)\n .end(BatchStatus.COMPLETED.name())\n\n .end()\n\n .build();\n }", "title": "" }, { "docid": "4639eb82279c4b690406056ece5f97a1", "score": "0.3985609", "text": "long getNumSteps();", "title": "" }, { "docid": "bee8fdac6ee6f64122ec678f5e8f9ee3", "score": "0.39842555", "text": "@Test\n public void testRollup() {\n selenium.addScript(getRollupScript(), \"rollup\");\n selenium.open(\"../tests/html/test_rollup.html\");\n selenium.rollup(\"cake\", \"\");\n selenium.rollup(\"biscuits\", \"n=1\");\n verifyFalse(selenium.isChecked(\"name=one\"));\n verifyTrue(selenium.isChecked(\"name=dos\"));\n verifyTrue(selenium.isChecked(\"name=san\"));\n selenium.rollup(\"biscuits\", \"n=2\");\n verifyTrue(selenium.isChecked(\"name=one\"));\n verifyFalse(selenium.isChecked(\"name=dos\"));\n verifyTrue(selenium.isChecked(\"name=san\"));\n selenium.rollup(\"biscuits\", \"n=3\");\n verifyFalse(selenium.isChecked(\"name=one\"));\n verifyTrue(selenium.isChecked(\"name=dos\"));\n verifyFalse(selenium.isChecked(\"name=san\"));\n selenium.rollup(\"steamed spinach\", \"\");\n selenium.removeScript(\"rollup\");\n }", "title": "" }, { "docid": "88149a9d57d0f016e4a0efdfd668f25c", "score": "0.3976917", "text": "public List<Step> steps() { return List.of(); }", "title": "" }, { "docid": "a075f8d6b0a72e57931ad455e9b116e6", "score": "0.39684013", "text": "public com.google.dataflow.v1beta3.Step getSteps(int index) {\n if (stepsBuilder_ == null) {\n return steps_.get(index);\n } else {\n return stepsBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "ff528dd6dc4d2dea68c727c0cca076be", "score": "0.39589113", "text": "public int comeOutRoll() {\n System.out.println(\"> Coming out!\");\n int roll = dice.cast();\n\n System.out.printf(\"=======%s=======%n\", roll);\n\n if (roll == 2 || roll == 3 || roll == 12) {\n comeOutLoss(roll);\n return -1;\n }\n\n if (roll == 7 || roll == 11) {\n comeOutWin(roll);\n return 0;\n\n } else {\n point = roll;\n return point;\n }\n }", "title": "" }, { "docid": "aa229797d8224f1c82b4b120f239b0f2", "score": "0.39218035", "text": "public com.google.dataflow.v1beta3.StepOrBuilder getStepsOrBuilder(int index) {\n if (stepsBuilder_ == null) {\n return steps_.get(index);\n } else {\n return stepsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "a25fe2a76f80086ee1e2901d6987158e", "score": "0.3915005", "text": "public void setRoll(float roll) {\n\t\tthis.roll = roll;\n\t}", "title": "" }, { "docid": "9b12a783d8fde62d099a2c49298dda86", "score": "0.38975257", "text": "public void roll(double distance) {\n\t\t ziplineLab.leftMotor.setSpeed(FORWARD_SPEED);\n\t ziplineLab.rightMotor.setSpeed(FORWARD_SPEED);\n\t \n\t //when the wheel is about to turn, set isNavigating to true\n\t isNavigating = true; \n\t \n\t ziplineLab.leftMotor.rotate(convertDistance(leftRadius, (tile*distance)), true);\n\t ziplineLab.rightMotor.rotate(convertDistance(rightRadius, (tile*distance)), false);\n\t \n\t //when the wheels stopped, set isNavigating back to false \n\t isNavigating = false; \n\t }", "title": "" }, { "docid": "9e62c4bd63490b684c70a01460150dd9", "score": "0.38907102", "text": "public static int getSteps() {\n return steps;\n }", "title": "" }, { "docid": "ea54ff3ca44063ce211a63ac72cd75c2", "score": "0.3889777", "text": "public String getAllSteps(){\r\n\t\tString stepsToReturn = \"\";\r\n\t\t\r\n\t\tfor(String s: steps){\r\n\t\t\tstepsToReturn += s + \" \";\r\n\t\t}\r\n\t\tstepsToReturn += \"\\n\";\r\n\t\t\r\n\t\treturn stepsToReturn;\r\n\t}", "title": "" }, { "docid": "5bf11a52392ade3e441c61802f1970fa", "score": "0.3885407", "text": "public void setStepsNumber(int stepsNumber) throws MonomeException;", "title": "" }, { "docid": "4cc603f2875719e6b26b2d1be1ee093b", "score": "0.38837406", "text": "com.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy getTrafficPercentStrategy();", "title": "" }, { "docid": "b08f7fd777114dfa9479c2ea25043d02", "score": "0.38818824", "text": "@Override\n public int nextStep() {\n int step = vm.getExecution().getExecutionPosition();\n return step + 1;\n }", "title": "" }, { "docid": "1d4d6464dd9b5ca873b234dc99955892", "score": "0.38663298", "text": "int roll() {\n return rand.nextInt(6) + 1;\n }", "title": "" }, { "docid": "324eb8d52b4a53ebe7ddf735d1c0d39b", "score": "0.38612002", "text": "public Builder addSteps(com.google.dataflow.v1beta3.Step value) {\n if (stepsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureStepsIsMutable();\n steps_.add(value);\n onChanged();\n } else {\n stepsBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "658dcd781ba9f9f99a3404805c1cbde3", "score": "0.38523692", "text": "public List<Step> steps() { return steps; }", "title": "" }, { "docid": "f09c1f9b10e7fb99f74117c0a382e5c5", "score": "0.3847138", "text": "public Builder steps( int steps ) {\n\t\t\tp.steps = steps;\n\t\t\treturn this;\n\t\t}", "title": "" }, { "docid": "be584d29426d5ce18d708cdffa7d8600", "score": "0.3843474", "text": "void right(int noOfSteps) {\n throw new NotImplementedException();\n }", "title": "" }, { "docid": "7991bdd039d6f8ebf507b390e6efcd60", "score": "0.38433036", "text": "private void switchRollLabels(int count, Rolls roll) {\n switch (count) {\n case 0:\n updateRollLabels(rollOneOneLabel, rollOneTwoLabel, rollOneThreeLabel, rollOneFourLabel, rollOneTotalLabel, roll);\n break;\n case 1:\n updateRollLabels(rollTwoOneLabel, rollTwoTwoLabel, rollTwoThreeLabel, rollTwoFourLabel, rollTwoTotalLabel, roll);\n break;\n case 2:\n updateRollLabels(rollThreeOneLabel, rollThreeTwoLabel, rollThreeThreeLabel, rollThreeFourLabel, rollThreeTotalLabel, roll);\n break;\n case 3:\n updateRollLabels(rollFourOneLabel, rollFourTwoLabel, rollFourThreeLabel, rollFourFourLabel, rollFourTotalLabel, roll);\n break;\n case 4:\n updateRollLabels(rollFiveOneLabel, rollFiveTwoLabel, rollFiveThreeLabel, rollFiveFourLabel, rollFiveTotalLabel, roll);\n break;\n case 5:\n updateRollLabels(rollSixOneLabel, rollSixTwoLabel, rollSixThreeLabel, rollSixFourLabel, rollSixTotalLabel, roll);\n break;\n }\n }", "title": "" }, { "docid": "bba86fddafa43c47d2e425ac0512efd8", "score": "0.38398388", "text": "void addStepListener( FlowStepListener flowStepListener );", "title": "" }, { "docid": "f41cd100a5da4b6a05739418ca1d66ea", "score": "0.38345906", "text": "public void setOutStepKey(long value) {\n\t\tthis.outStepKey = value;\n\t}", "title": "" }, { "docid": "a47200a0ea6f6a559a613ecec51823f8", "score": "0.3832944", "text": "public int getCurrentStep();", "title": "" }, { "docid": "b15c11c3e2ed32eff888b974356ec9e8", "score": "0.38326478", "text": "public int getTotalSteps() {\n return this.stepColor.size() - 1;\n }", "title": "" }, { "docid": "a44fabc5a06d2943470960a669448253", "score": "0.3829636", "text": "public String onFlowProcess(FlowEvent event) {\n resetearPedido();\n return event.getNewStep(); \n }", "title": "" }, { "docid": "88ad6504051efaf8d8c5a421583e4a14", "score": "0.3820907", "text": "public void setRouteStep(int routeStep) {\n\t\tthis.routeStep = routeStep;\n\t}", "title": "" }, { "docid": "abce55e1e77c03b08df495dda47c103e", "score": "0.382088", "text": "public final void mT__29() throws RecognitionException {\n try {\n int _type = T__29;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalJPCoffe.g:27:7: ( 'Steps' )\n // InternalJPCoffe.g:27:9: 'Steps'\n {\n match(\"Steps\"); \n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "13d7a25d2e73b1456444a6f94d9b3f4b", "score": "0.38169685", "text": "public void roll () {\n\t\t\n\t\tif (s1 != null)\n\t\t\tSystem.out.println(s1);\n\t\tif (s2 != null)\n\t\t\tSystem.out.println(s2);\n\t\tif (s3 != null)\n\t\t\tSystem.out.println(s3);\n\t\tif (s4 != null)\n\t\t\tSystem.out.println(s4);\n\t\tif (s5 != null)\n\t\t\tSystem.out.println(s5);\n\t}", "title": "" }, { "docid": "9c5b398b8125b6fd9d768fa2e5d64be9", "score": "0.38122475", "text": "public static String roll( String roller, String mod )\n\t//fudge dice roller\n \t{\n \t\tint d1 = Dice.rollDice(6);\n \t\tint d2 = Dice.rollDice(6);\n \t\tint d3 = Dice.rollDice(6);\n \t\tint d4 = Dice.rollDice(6);\n \t\t//now my dice have values\n \t\tint result = 0;\n \t\t//at first you have nothing\n \t\t//now to convert the modifier into a fudge mod if it isn't already.\n \t\t//mediocre is default\n \t\tString modifier = \"Mediocre\";\n \t\tint intMod = 0;\n \t\ttry\n \t\t{\n \t\t\tintMod = Integer.parseInt( mod );\n \t\t\tmodifier = intToString(intMod);\n \t\t}\n \t\tcatch(Exception e)\n \t\t{\n \t\t\tmodifier = intToString(stringToInt(mod));\n \t\t\tintMod = stringToInt(mod);\n \t\t}\n \t\tString message = \"rolled a \" + modifier + \" (\" + intMod + \") fudge roll for \" + roller + \" and got ( \";\n \t\t//from this point on it just addresses the dice one\n \t\t//step at a time, concacting on the result and adjusting\n \t\t//the total.\n \t\tif ( d1 == 1 || d1 == 2 )\n \t\t{\n \t\t\tmessage = message + \"- \";\n \t\t\tresult--;\n \t\t}\n \t\telse if ( d1 == 3 || d1 == 4 )\n \t\t{\n \t\t\tmessage = message + \"0 \";\n \t\t}\n \t\telse if ( d1 == 5 || d1 == 6 )\n \t\t{\n \t\t\tmessage = message + \"+ \";\n \t\t\tresult++;\n \t\t}\n \t\tif ( d2 == 1 || d2 == 2 )\n \t\t{\n \t\t\tmessage = message + \"- \";\n \t\t\tresult--;\n \t\t}\n \t\telse if ( d2 == 3 || d2 == 4 )\n \t\t{\n \t\t\tmessage = message + \"0 \";\n \t\t}\n \t\telse if ( d2 == 5 || d2 == 6 )\n \t\t{\n \t\t\tmessage = message + \"+ \";\n \t\t\tresult++;\n \t\t}\n \t\tif ( d3 == 1 || d3 == 2 )\n \t\t{\n \t\t\tmessage = message + \"- \";\n \t\t\tresult--;\n \t\t}\n \t\telse if ( d3 == 3 || d3 == 4 )\n \t\t{\n \t\t\tmessage = message + \"0 \";\n \t\t}\n \t\telse if ( d3 == 5 || d3 == 6 )\n \t\t{\n \t\t\tmessage = message + \"+ \";\n \t\t\tresult++;\n \t\t}\n \t\tif ( d4 == 1 || d4 == 2 )\n \t\t{\n \t\t\tmessage = message + \"- \";\n \t\t\tresult--;\n \t\t}\n \t\telse if ( d4 == 3 || d4 == 4 )\n \t\t{\n \t\t\tmessage = message + \"0 \";\n \t\t}\n \t\telse if ( d4 == 5 || d4 == 6 )\n \t\t{\n \t\t\tmessage = message + \"+ \";\n \t\t\tresult++;\n \t\t}\n \t\tresult+=intMod;\n \t\tmessage = message + \") For a total of: \" + intToString(result) + \" (\" + result + \")\";\n \t\treturn message;\n \t}", "title": "" }, { "docid": "df408937eb201a7169bc52efcb731346", "score": "0.3797401", "text": "public String roll() {\n \n String rollCall = \"\";\n System.out.println(\"Students in the course \\\"\" + courseName\n + \"\\\" are: \\n\");\n for (Student studentObject : studentList) {\n \n rollCall += \"\" + studentObject + \"\\n\"; \n }\n return rollCall;\n }", "title": "" }, { "docid": "9e99dc021d5fb778cc7a5f120e5fc04f", "score": "0.37969238", "text": "public Builder setSteps(int index, com.google.dataflow.v1beta3.Step value) {\n if (stepsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureStepsIsMutable();\n steps_.set(index, value);\n onChanged();\n } else {\n stepsBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "5d183eda7143850ae1e1108249f5e0d0", "score": "0.37906808", "text": "public static int roll() {\r\n\t\treturn random.nextInt(6) + 1;\r\n\t}", "title": "" }, { "docid": "1fb0112a29bc5f058eea75cf947a5124", "score": "0.37877387", "text": "public void run(int steps);", "title": "" }, { "docid": "a1de8199573d6bdd10aa0e0c28b63226", "score": "0.37811956", "text": "public void setStep(Integer step) {\n this.step = step;\n }", "title": "" }, { "docid": "2826d03b2095fa70b026d4acb5f3609f", "score": "0.3779639", "text": "@JSProperty(\"step\")\n void setStep(double value);", "title": "" }, { "docid": "6472b47c204ba62c17a4344a7237f4a7", "score": "0.3777605", "text": "private String getAllSteps() {\n StringBuilder sb = new StringBuilder();\n if (this.previous != null) {\n sb.append(previous.getAllSteps());\n if(previous.move!=null)\n sb.append(\"\\n>> \"+previous.move+\"\\n**************************************\");\n }\n sb.append(this.toString());\n return sb.toString();\n }", "title": "" }, { "docid": "c305fe5f000ab0a6a9f70fc163d1fc70", "score": "0.37741232", "text": "public void setPrerollerPercent(double percent){\n preRoller.set(percent);\n }", "title": "" }, { "docid": "5d174fbd38bc4c6196824f62940a8d49", "score": "0.37731886", "text": "@Override\r\n\tprotected void onTransitionCompleted(WorkflowAction action,\r\n\t\t\tWorkflowStep currentStep) {\n\t\t\r\n\t}", "title": "" }, { "docid": "0cea9af80f4d45dfbf737e8c11e4bc50", "score": "0.37684712", "text": "int roll();", "title": "" }, { "docid": "6ac68c1219f50a52b43976945e51bd06", "score": "0.37560055", "text": "public ArrayList<String> getSteps(){\r\n\t\treturn steps;\r\n\t}", "title": "" }, { "docid": "34222d9c8dc1794114b642c476470bd3", "score": "0.37507045", "text": "public com.sforce.soap.enterprise.QueryResult getSteps() {\n return steps;\n }", "title": "" }, { "docid": "eca32dc7f0ed450796aa51d11593a527", "score": "0.37501124", "text": "private void validateUpgradePoliciesOfIncreasingConservativeness(List<Step> steps) {\n UpgradePolicy previous = Collections.min(List.of(UpgradePolicy.values()));\n for (Step step : steps) {\n UpgradePolicy strictest = previous;\n List<DeploymentInstanceSpec> specs = instances(List.of(step));\n for (DeploymentInstanceSpec spec : specs) {\n if (spec.upgradePolicy().compareTo(previous) < 0)\n illegal(\"Instance '\" + spec.name() + \"' cannot have a looser upgrade \" +\n \"policy than the previous of '\" + previous + \"'\");\n\n strictest = Comparables.max(strictest, spec.upgradePolicy());\n }\n previous = strictest;\n }\n }", "title": "" }, { "docid": "a93460bf2c823ca4dd122fe5fc041780", "score": "0.37343484", "text": "public void prependWalkWithCorrection\n\t(\n\t\tfinal Walk walk, \n\t\tfinal Path path, \n\t\tfinal float rotToRevert, \n\t\tfinal int refToRevert\n\t)\n\t{\n\t\tif (walk.steps.size() == 0)\n\t\t\treturn;\n\t\t\n\t\tif (steps.size() > 0)\n\t\t{\n\t\t\tfinal TopologyElement endSite = path.destination();\n\t\t\tfinal TopologyElement penultimateSite = path.sites().get(path.sites().size() - 2);\n\t\t\t\n\t\t\t// TODO code duplication with resolveWalk()\n\t\t\t// compute the directions that count as \"continuing straight ahead\"\n\t\t\t// (will be only one in the case of cells with even number of edges, but two otherwise)\n\t\t\tfinal TIntArrayList contDirs = new TIntArrayList(2);\n\t\n\t\t\tfinal TopologyElement[] sortedOrthos = endSite.sortedOrthos();\t\n\t\t\tint fromDir = -1;\n\t\n\t\t\tfor (int orthIdx = 0; orthIdx < sortedOrthos.length; ++orthIdx)\n\t\t\t{\n\t\t\t\tif \n\t\t\t\t(\n\t\t\t\t\tsortedOrthos[orthIdx] != null && \n\t\t\t\t\tsortedOrthos[orthIdx].index() == penultimateSite.index()\n\t\t\t\t)\n\t\t\t\t{\n\t\t\t\t\tfromDir = orthIdx;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\tif (fromDir == -1)\n\t\t\t{\n\t\t\t\tSystem.err.println(\"Warning! Walk.prependWalkWithCorrection() could not find fromDir!\");\n\t\t\t}\n\t\n\t\t\tif (sortedOrthos.length % 2 == 0)\n\t\t\t{\n\t\t\t\tcontDirs.add(fromDir + sortedOrthos.length / 2);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcontDirs.add(fromDir + sortedOrthos.length / 2);\n\t\t\t\t//contDirs.add(fromDir + 1 + sortedOrthos.length / 2);\n\t\t\t}\n\t\t\t\n\t\t\tfinal float toSubtract = (contDirs.getQuick(0) / (float) sortedOrthos.length) - rotToRevert * refToRevert;\n\t\t\t\n\t\t\t// TODO now just assuming we get a single contDir\n//\t\t\tSystem.out.println();\n//\t\t\tSystem.out.println(\"prepended walk = \" + walk);\n//\t\t\tSystem.out.println(\"old code would have subtracted: \" + walk.steps().sum());\n//\t\t\tSystem.out.println(\"new code subtracts: \" + toSubtract);\n//\t\t\tSystem.out.println(\"steps.getQuick(0) = \" + steps.getQuick(0));\n//\t\t\tSystem.out.println(\"num orthos = \" + sortedOrthos.length);\n//\t\t\tSystem.out.println(\"contDir = \" + contDirs.getQuick(0));\n//\t\t\tSystem.out.println(\"fromDir = \" + fromDir);\n//\t\t\tSystem.out.println(\"start = \" + path.start());\n//\t\t\tSystem.out.println(\"end = \" + path.destination());\n\t\t\tsteps.setQuick(0, steps.getQuick(0) - toSubtract);\n\t\t}\n\t\t\t\n\t\tsteps.insert(0, walk.steps().toArray());\n\t}", "title": "" }, { "docid": "fe7d4c7f905ac62934e435036de0cfbf", "score": "0.37301853", "text": "public FitbitMock steps(java.lang.Integer newStepsValue,\n fr.inria.phoenix.diasuite.framework.datatype.period.Period period) {\n proxy._publishSteps(newStepsValue,\n period);\n return this;\n }", "title": "" }, { "docid": "db6b714290575d25a685cf8a844b6642", "score": "0.3727962", "text": "public int getActiveStepNumberInSequence();", "title": "" }, { "docid": "87bd21dd4cd8727d1def44aa35b4eb10", "score": "0.37277707", "text": "double getTrailingStep();", "title": "" }, { "docid": "f0633ad8cab14d0b8585c8e5370dd630", "score": "0.37255952", "text": "public void roll() {\n\t setDice((int)(Math.random()*6) + 1, (int)(Math.random()*6) + 1);\n\t }", "title": "" }, { "docid": "fc473041e8d1ef5ccb2f7bb86fc56fd7", "score": "0.37237287", "text": "@Test\n public void rolloutArbitraryEvalFun() {\n IGameInternal<CommandQWOP, StateQWOP> fakeGame = new NoFailGame();\n NodeGameExplorable<CommandQWOP, StateQWOP> startNode = new NodeGameExplorable<>(GameQWOP.getInitialState());\n\n RolloutPolicy_DecayingHorizon.kernelCenter = 0.5f;\n RolloutPolicy_DecayingHorizon.kernelSteepness = 5;\n int maxTimestepsToSim = 200;\n IEvaluationFunction<CommandQWOP, StateQWOP> evalFun = new IEvaluationFunction<CommandQWOP, StateQWOP>() {\n @Override\n public float getValue(NodeGameBase<?, CommandQWOP, StateQWOP> nodeToEvaluate) { return nodeToEvaluate.getTreeDepth(); }\n @Override\n public String getValueString(NodeGameBase<?, CommandQWOP, StateQWOP> nodeToEvaluate) { return null; }\n @Override\n public IEvaluationFunction<CommandQWOP, StateQWOP> getCopy() { return null; }\n @Override\n public void close() {}\n };\n RolloutPolicy_DecayingHorizon<CommandQWOP, StateQWOP> rollout =\n new RolloutPolicy_DecayingHorizon<>(evalFun, RolloutPolicyBase.getQWOPRolloutActionGenerator(),\n new Controller_Random<>(), maxTimestepsToSim);\n\n fakeGame.resetGame();\n float result = rollout.rollout(startNode, fakeGame);\n\n Assert.assertEquals(100f, result, 1e-4f); // Value calculated with MATLAB script.\n // TODO is floating point error this big?\n }", "title": "" }, { "docid": "cdb4c54f1f93aec6b3ee8943d112e966", "score": "0.37210122", "text": "public void moveRollersForward() {\n try {\n motor.setX(ROLLER_SPEED);\n } catch (CANTimeoutException ex) {\n// DriverStationLCD.getInstance().println(DriverStationLCD.Line.kMain6, 1, ex.getMessage());\n// DriverStationLCD.getInstance().updateLCD();\n ex.printStackTrace();\n }\n }", "title": "" }, { "docid": "4dc5bca150c3592905a0c3506b42dee8", "score": "0.3706709", "text": "public void onStep(){\n\t}", "title": "" }, { "docid": "0bf8482a1f2cb9fb3e2033d1b9885ea5", "score": "0.3703909", "text": "@Override\n public void onStep() {\n }", "title": "" }, { "docid": "0bf8482a1f2cb9fb3e2033d1b9885ea5", "score": "0.3703909", "text": "@Override\n public void onStep() {\n }", "title": "" }, { "docid": "adc4b03627e882bf4757038063f23421", "score": "0.36994874", "text": "@Override\n\tpublic double getStep() {\n\t\treturn 0.2;\n\t}", "title": "" }, { "docid": "68519e0ab8c77d7f9d23f13f4aeaca75", "score": "0.36971775", "text": "@Override\n\tpublic void roll(int arg0, boolean arg1)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "2c069d498938a529214712d2a22f0523", "score": "0.3696981", "text": "@java.lang.Override\n public java.util.List<com.google.dataflow.v1beta3.Step> getStepsList() {\n return steps_;\n }", "title": "" }, { "docid": "65d535b5f8e8481718dd692bbfc3ff23", "score": "0.3694479", "text": "private String stepsToPath(String... steps) {\n StringBuilder builder = new StringBuilder();\n for (String step : steps) { builder.append(SLASH).append(step); }\n return builder.toString();\n }", "title": "" }, { "docid": "3027c06289d7a5e6543f40cb68363a16", "score": "0.3690161", "text": "public int roll() {\n\t\t// Default value\n\t\tint dieValue = 0;\n\t\tRandom rand = new Random();\n\t\t// Get a random value between 1 and 6 inclusive\n\t\tdieValue = rand.nextInt(6) + 1;\n\t\t//\n\t\tSystem.out.println(\"Roll value \" + dieValue);\n\t\treturn dieValue;\n\t}", "title": "" }, { "docid": "64368255c3099fea0c5278756a483f0b", "score": "0.36867902", "text": "public int getNumSteps() {\n return _numSteps;\n }", "title": "" } ]
279d2719b28f7781bf9f7482339a7d09
Do all your slow tasks here but dont set anything on UI ALL ui activities on the main thread
[ { "docid": "e9618ec3ebec28a8bcbf467f27dac0e2", "score": "0.0", "text": "@Override\n protected List<com.meghamit.mac.otterapp.pojo.LetterMetadata> doInBackground(Void... someVoids ) {\n\n final List<com.meghamit.mac.otterapp.pojo.LetterMetadata> receivedLetterMetadatas = ParseServerAccessor.getReceivedLetters(ParseUser.getCurrentUser(),0);\n if(receivedLetterMetadatas.isEmpty())\n {\n Log.i(\"INFO\", \"in doInBackground, receivedLetterMetadatas is empty \");\n noOneLovesYou = true;\n }\n ArrayList<HashMap<String,String>> list = new ArrayList<HashMap<String,String>>();\n Log.i(\"INFO\", \"Size of receivedLetterMetadatas: \" + receivedLetterMetadatas.size());\n for (com.meghamit.mac.otterapp.pojo.LetterMetadata receivedLetterMetadata : receivedLetterMetadatas) {\n Log.i(\"INFO\", \"Putting item in adaptor\");\n final HashMap<String, String> item = new HashMap<>();\n String from = \"From PO BOX No. \" + Integer.toString(receivedLetterMetadata.getFromPostBox());\n item.put(\"line1\", receivedLetterMetadata.getTitle());\n item.put(\"line2\", from);\n list.add(item);\n }\n\n Log.i(\"INFO\", \"Size of list: \" + list.size());\n SimpleAdapter simpleAdapterInTask = new SimpleAdapter(getApplicationContext(), list,\n R.layout.twolines,\n new String[] { \"line1\",\"line2\" },\n new int[] {R.id.line_a, R.id.line_b});\n\n simpleAdapter = simpleAdapterInTask;\n\n return receivedLetterMetadatas;\n\n }", "title": "" } ]
[ { "docid": "e69e3d4536a0073537d339b1349f7ec0", "score": "0.70406103", "text": "@Override\n public void run() {\n //Simulate Background task\n ///////////////////////////////////////////////////////////////////////////////////\n for (int i = 0; i < 5; i++) {\n // Simulate delay\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n // Update Progress Bar\n progressBar.setProgress(i);\n }\n // Dismiss the ProgressBar\n progressBar.dismiss();\n\n\n ///////////////////////////////////////////////////////////////////////////////////\n // Clear the TextView and EditText fields\n handler.post(new Runnable() {\n @Override\n public void run() {\n editTextLENGTH.setText(\"\");\n editTextHEIGHT.setText(\"\");\n textViewRESULT.setText(\"\");\n }\n });\n ///////////////////////////////////////////////////////////////////////////////////\n handler.post(new Runnable() {\n @Override\n public void run() {\n //UI Thread work here\n System.out.println(\"UI method\");\n }\n });\n ///////////////////////////////////////////////////////////////////////////////////\n }", "title": "" }, { "docid": "7503d27604a6ac7b8557aa156ab46fae", "score": "0.6607969", "text": "@Override\n\t\t\t\t\t\t\t\tpublic void run() {\n\n\t\t\t\t\t\t\t\t\ta.runOnUiThread(new Runnable() {\n\n\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\n\t\t\t\t\t\t\t\t\t\t\tnew Loading(false, false, a)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.execute();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "63852e48b33b1b6d4d3be3ff545dc372", "score": "0.6472846", "text": "public void loadConcurrency(View view) {\n startTime = System.currentTimeMillis();\n ImageView imageView = (ImageView) findViewById(R.id.imageView_loadBitmap);\n if (cancelPotentialWork(R.drawable.gtav, imageView)) {\n final BitmapWorkerTask task = new BitmapWorkerTask(imageView);\n final AsyncDrawable asyncDrawable =\n new AsyncDrawable(getResources(), mPlaceHolderBitmap, task);\n imageView.setImageDrawable(asyncDrawable);\n task.execute(R.drawable.gtav);\n }\n endTime = System.currentTimeMillis();\n TextView textView = (TextView) findViewById(R.id.textView_bitmap_load_speed);\n textView.setText(endTime - startTime + \" ms\");\n Toast.makeText(BitmapActivity.this, \"Learn this thoroughly !\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "6ccdfab60c804a4112ae2c3b3df7049a", "score": "0.63619035", "text": "@Override\n public void run() {\n //I cannot update Ui from here, so needed this method\n //but i want this to run on the main thread\n //so used the runOnUiThread method\n MainActivity.this.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n\n loadingSection.setVisibility(View.VISIBLE);\n }\n });\n downloadImageUsingThreads(url);\n }", "title": "" }, { "docid": "cdce7eb234d5102aef62d938992db282", "score": "0.62914217", "text": "public void start(View v) {\n\r\n new MyTask(\"AsyncTask#1\").executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, \"\");\r\n new MyTask(\"AsyncTask#2\").executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, \"\");\r\n new MyTask(\"AsyncTask#3\").executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, \"\");\r\n }", "title": "" }, { "docid": "d5b116598f920752e9b6c8eeac18fd5e", "score": "0.62524134", "text": "@Override\n\t\t\tpublic void run() {\n\n\t\t\t\tPrgBar_Refresh.setVisibility(vw_prgbarVisible?View.VISIBLE:View.GONE);\n\t\t\t\tImgBtn_Login.setVisibility(vw_loginVisible?View.VISIBLE:View.GONE);\n\t\t\t\tImgBtn_WiFi.setVisibility(vw_wifiVisible?View.VISIBLE:View.GONE);\n\t\t\t\tImgBtn_Settings.setVisibility(vw_settingsVisible?View.VISIBLE:View.GONE);\n\t\t\t\tImgBtn_LatestFirmwarePage.setVisibility(vw_firmwarepageVisible?View.VISIBLE:View.GONE);\n\n\t\t\t\tImgBtn_Refresh.setVisibility(vw_refreshVisible?View.VISIBLE:View.GONE);\n\t\t\t\tImgBtn_Power.setVisibility(vw_powerVisible?View.VISIBLE:View.GONE);\n\t\t\t\tImgBtn_More.setVisibility(vw_moreVisible?View.VISIBLE:View.GONE);\n\n\t\t\t\tmViewPager.setVisibility(nna_Visible?View.GONE:View.VISIBLE);\n\t\t\t\t//완료된 상태였다가 와이파이가 끊어지는 등 다른 상태로 되었을 때는 가리는게 좋을까 두고 비치게 하는게 좋을까..\n\t\t\t\t//해서 가리도록 만들었다.. ㅠㅠ 예쁘지 않은뎁..\n\t\t\t\t\n\t\t\t\t//연결 완료. 기념으로 에그 현재상태를 가져와보죠. ㅇ_ㅇ..\n\t\t\t\t//서비스 작동중이라면 곧 갱신될테니 생략☆\n\t\t\t\tif(!nna_Visible)\n\t\t\t\t{\n\t\t\t\t\tEggCore.taskThreadHandler.post(new Runnable(){\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tEggCore.LocalRefresh();\n\t\t\t\t\t\t}});\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSv_NotifyUnavailable.setVisibility(nna_Visible?View.VISIBLE:View.GONE);\n\t\t\t\tTv_NNA_Title.setText(nna_Title);\n\t\t \tTv_NNA_ssid.setText(nna_ssid);\n\t\t \t//ImgV_NNA_Pic.setImageDrawable(drawable);\n\t\t \tImgV_NNA_Pic.setOnClickListener(nna_PicClick);\n\t\t \tImgV_NNA_Pic.setContentDescription(nna_PicActionName);\n\t\t \tImgV_NNA_Pic.setImageResource(nna_drawable);\n\t\t \tTv_NNA_Description.setText(nna_desc);\n\t\t \t}", "title": "" }, { "docid": "b8914216b3674441be2ac6166c5d4001", "score": "0.6135314", "text": "@Override\n public void taskTodosCiclosAcabados() {\n\n runOnUiThread(acui);\n\n }", "title": "" }, { "docid": "cd94b039211644086475a3c39d337300", "score": "0.60911447", "text": "public void run() {\n if (MainActivity.this == null) {\n return;\n }\n if (isSearchViewUpdatedToEmpty()) {\n LOGI(\"need to update listview (case 1)...\");\n updateEmptyListText(R.string.loading);\n refreshSmsItemAdapter();\n }\n }", "title": "" }, { "docid": "13c24a3652f3a4d58bcc726192ea7590", "score": "0.60503864", "text": "@Override\n\tpublic void runOnUIThread(Runnable runn) {\n\t\t\n\t}", "title": "" }, { "docid": "532af970303e36f2f6faa18805581d93", "score": "0.6026939", "text": "static void prepare() {\r\n count++;\r\n if (null != sync) {\r\n return;\r\n }\r\n sync = new HandlerThread(\"CellLayout.Sync\");\r\n sync.start();\r\n uiHandler = new Handler(Looper.getMainLooper());\r\n handler = new Handler(sync.getLooper());\r\n }", "title": "" }, { "docid": "d9ed0a821bfff42c32fbf6c9d676e4d7", "score": "0.6017225", "text": "public void run() {\n new PrefetchData().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);\n handler.postDelayed(runnable, 600000);//10 Minutes\n }", "title": "" }, { "docid": "7a82f874b1411127fbb9cd15c4ec6621", "score": "0.6014166", "text": "@Override\n public void run() {\n while (true) {\n try {\n Thread.sleep(5000);\n mHandler.post(new Runnable() {\n\n @Override\n public void run() {\n // TODO Auto-generated method stub\n // Write your code here to update the UI.\n //new JsonData().execute();\n //arrayList.clear();\n callapi();\n }\n\n\n });\n } catch (Exception e) {\n // TODO: handle exception\n }\n }\n }", "title": "" }, { "docid": "3ee2f16b9b3e673d52ae6d28f72c6e30", "score": "0.6007774", "text": "public void run() {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n reset();\n }\n });\n\n }", "title": "" }, { "docid": "f3f07496ad0c79a016902eb8ee1e1aca", "score": "0.5995927", "text": "private void setUpActivityUI() {\n\n setContentView(R.layout.activity_main);\n\n getSupportActionBar().hide();\n\n Button takePicBtn = findViewById(R.id.takePicBtn);\n takePicBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startBurst();\n }\n });\n\n Button stopBurstBtn = findViewById(R.id.stopBurstBtn);\n stopBurstBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n stopBurst();\n }\n });\n\n final Button closeAppBtn = findViewById(R.id.closeAppBtn);\n closeAppBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n closeApp();\n }\n });\n\n updateMainCameraTextViews();\n\n TextView outDirTV = findViewById(R.id.outDirTV);\n outDirTV.setText(ImageSaver.getOutputMediaDirDaySpecific().getPath());\n\n timerHandler.post(BurstInfoTextViewsUpdater);\n }", "title": "" }, { "docid": "74b33c98422bc11b07406e39d6d3c83b", "score": "0.5987177", "text": "@Override\n protected Void doInBackground(Void... params) {\n /* This is just a code that delays the thread execution 4 times,\n * during 850 milliseconds and updates the current progress. This\n * is where the code that is going to be executed on a background\n * thread must be placed.\n */\n //Get the current thread's token\n synchronized (this) {\n Log.d(\"Read model\", \"start\");\n readModel();\n Log.d(\"Read Model\", \"end\");\n// Intent i = new Intent(loadActivity, MainActivity.class);\n// loadActivity.startActivity(i);\n// Log.d(\"HERE\", \"HERE\");\n publishProgress();\n\n }\n return null;\n }", "title": "" }, { "docid": "1ef0b55bfc95a55b48174b6c87711ae4", "score": "0.59853077", "text": "public void doInitInSubThreadDelay() {\n GalleryJobService.scheduleJobs(this);\n CloudUtils.checkAccount((Activity) null, true, (Runnable) null);\n CitySearcher.getInstance().preLoadData();\n if (PermissionUtils.checkPermission((Context) this, \"android.permission.WRITE_EXTERNAL_STORAGE\")) {\n OldThumbnailTransferer.transfer(sContext);\n OldCacheCleaner.clean();\n }\n PhotoReusedBitCache.getInstance().initFirstCacheBitmap();\n if (!GalleryPreferences.Sync.getEverRefillLocalGroupId()) {\n GalleryDBHelper.refillLocalGroupId(GalleryDBHelper.getInstance().getWritableDatabase(), true, false);\n GalleryPreferences.Sync.setEverRefillLocalGroupId();\n }\n if (!GalleryPreferences.Sync.getEverSyncedSystemAlbum()) {\n SyncUtil.requestSync(this, new SyncRequest.Builder().setSyncType(SyncType.NORMAL).setSyncReason(1).build());\n }\n GalleryPushManager.getInstance().registerPush(this);\n if (GalleryPreferences.CTA.canConnectNetwork()) {\n long currentTimeMillis = System.currentTimeMillis() - GalleryPreferences.CloudControl.getLastRequestSucceedTime();\n if (currentTimeMillis >= 259200000 && ConnectivityHelper.getInstance().isUnmeteredNetworkConnected()) {\n new CloudControlRequestHelper(this).execRequestSync();\n } else if (currentTimeMillis >= 604800000 && ConnectivityHelper.getInstance().isNetworkConnected()) {\n new CloudControlRequestHelper(this).execRequestSync();\n }\n }\n if (!PrivacyAgreementUtils.isCloudServiceAgreementEnable(this)) {\n CloudPrivacyAgreementDeniedReceiver.onCloudPrivacyAgreementDenied(this);\n }\n SmartVideoGuideHelper.init();\n IntentUtil.prepareVideoPlayerStatus();\n }", "title": "" }, { "docid": "6b7a5fecd979f696bbcfd78b69c7e015", "score": "0.59817994", "text": "public void run() {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n reset();\n }\n });\n\n }", "title": "" }, { "docid": "c2f7211c435dac816def2088ba45b4a5", "score": "0.59732455", "text": "@Override\r\n public void run() {\n if (refreshBottomResolutionsTV) {\r\n refreshTextViewResolutionsBelowBottomPanelButtons();\r\n refreshBottomResolutionsTV = false;\r\n }\r\n\r\n //stuff that updates ui\r\n llMain.setBackgroundColor(getResources().getColor(R.color.transparentColor));\r\n }", "title": "" }, { "docid": "bbd7d7966aed9a8f06267a484a06a485", "score": "0.5949764", "text": "public void startAsyncTask() {\n new AsyncTask<Void, Void, Void>() {\n @Override protected Void doInBackground(Void... params) {\n // Do some slow work in background\n SystemClock.sleep(20000);\n return null;\n }\n }.execute();\n }", "title": "" }, { "docid": "a29c5b349da793f4e18c0b24223ac24d", "score": "0.5947581", "text": "private void init() {\n ThreadUtil.execute(new Runnable() {\n @Override\n public void run() {\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n mValueAnimator_progress.start();\n }\n });\n\n Message mMessage_list = Message.obtain();\n\n items_total = MemoryUtil.getRunningAppInfos(MainActivity.this);//真实数据\n //过滤数据 分别将白名单和运行名单的数据 分门别类\n String packageNames = getIgnorePacknameFromSP();\n for (AppInfo appInfo : items_total) {\n if (packageNames.contains(appInfo.getPackName())) {//是白名单的条目\n appInfo.setIgonreApp(true);\n appInfo.setIsCouldUse(true);\n items_ignore.add(appInfo);\n } else {//是运行的条目\n appInfo.setIsCouldUse(true);\n appInfo.setIgonreApp(false);\n appInfo.setIsChecked(true);\n items_running.add(appInfo);\n }\n }\n\n items_current = items_total;\n items_total_size = items_total.size();\n items_ignore_size = items_ignore.size();\n items_running_size = items_running.size();\n\n //获取运行名单中APP所占的内存\n\n for (int i = 0; i < items_running.size(); i++) {\n// j=i;\n// runOnUiThread(new Runnable() {\n// @Override\n// public void run() {\n//// Toast.makeText(getApplicationContext(),\n//// \"大小:\" + items_running.get(j).getMemorySize(),\n//// Toast.LENGTH_SHORT).show();\n//\n//// Toast.makeText(getApplicationContext(), \"大小dada:\" + mTotal_memory_size,\n//// Toast.LENGTH_SHORT).show();\n// }\n// });\n\n mTotal_memory_size += items_running.get(i).getMemorySize();\n }\n\n mMessage_list.what = FINISH;\n mHandler.sendMessage(mMessage_list);\n\n }\n });\n\n }", "title": "" }, { "docid": "ccb2c71473eef8df488539a0dd6577d5", "score": "0.59388787", "text": "@Override\n protected Void doInBackground(Void... params) {\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n // Ignore\n }\n\n // Restart the UI\n CMDProcessor.startSuCommand(\"pkill -f com.android.systemui\");\n a.finish();\n return null;\n }", "title": "" }, { "docid": "b613b880218e66e45d6861948790040e", "score": "0.58754414", "text": "@Override\n public void onClick(View v) {\n if (bgthread == null || bgthread.getState() == Thread.State.TERMINATED) {\n Runnable runnable = new Runnable() {\n @Override\n public void run() {\n try {\n for (int i = 0;; i++) {\n //Simulating something timeconsuming\n Thread.sleep(500);\n\n text.post(new Runnable() {\n @Override\n public void run() {\n Random rand = new Random();\n final int randNum = rand.nextInt(10);\n text.setText(String.valueOf(randNum));\n }\n });\n\n// progress.post(new Runnable() {\n// @Override\n// public void run() {\n// text.setText(\"Updating \" + value + \"/10\");\n// progress.setProgress(value);\n// }\n// });\n }\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n };\n bgthread = new Thread(runnable);\n bgthread.start();\n }\n }", "title": "" }, { "docid": "83af358877e9d236f6b984c4f925bb45", "score": "0.5849458", "text": "public void run()\r\n\t\t{\r\n\t\t/*******\r\n\t\t * Splash window\r\n\t\t * Used to make the user wait\r\n\t\t */\r\n\t\tWaitingWindow myWW = new WaitingWindow(LanguageManagement.getString(\"pleasewait\"));\r\n\t\t/**************/\r\n\t\t\r\n\t\ttry\r\n\t\t\t{\r\n\t\t\t/***************\r\n\t\t\t * Init\r\n\t\t\t */\r\n\t\t\tmyWW.getAvancement().setText(\" \"+LanguageManagement.getString(\"itemlistbuilding\"));\r\n\t\t\t\r\n\t\t\t//We build the list of office items to inject\r\n\t\t\tfor(Office o : Variables.getCurrentOffices())//Will trigger current offices selection window\r\n\t\t\t\t{\r\n\t\t\t\t//First we set the current office\r\n\t\t\t\tVariables.setCurrentOffice(o);\r\n\t\t\t\t//Here we add the items for each office\r\n\t\t\t\titemToInjectList.add(OfficeTools.setOfficeList(o, action, myWW, quickTask, pattern));\r\n\t\t\t\t}\r\n\t\t\t/**\r\n\t\t\t * End Init \r\n\t\t\t ***************/\r\n\t\t\t\r\n\t\t\t/********************\r\n\t\t\t * Injection\r\n\t\t\t */\r\n\t\t\tmyWW.getAvancement().setText(\" \"+LanguageManagement.getString(\"taskbuilding\"));\r\n\t\t\tTask myTask = OfficeTools.prepareOfficeProcess(itemToInjectList, action);\r\n\t\t\tmyTask.startBuildProcess();\r\n\t\t\tmyTask.start();\r\n\t\t\t\r\n\t\t\tVariables.getLogger().info(\"Office task of type \"+action.name()+\" starts\");\r\n\t\t\t\r\n\t\t\t//We launch the user interface panel\r\n\t\t\tStatusWindow sw = new StatusWindow(itemToInjectList, myTask);\r\n\t\t\tVariables.getMyWindow().getContentPane().removeAll();\r\n\t\t\tVariables.getMyWindow().getContentPane().add(sw);\r\n\t\t\tVariables.getMyWindow().repaint();\r\n\t\t\tVariables.getMyWindow().validate();\r\n\t\t\t\r\n\t\t\t//We launch the class in charge of monitoring and updating the gui\r\n\t\t\tnew ProgressUpdater(sw, myTask);\r\n\t\t\tVariables.getLogger().debug(\"monitoring thread launched\");\r\n\t\t\t/*********************/\r\n\t\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t\t{\r\n\t\t\tVariables.getLogger().error(\"ERROR : \"+e.getMessage(),e);\r\n\t\t\tJOptionPane.showMessageDialog(null,LanguageManagement.getString(\"officetaskerror\")+\" \"+e.getMessage(),LanguageManagement.getString(\"error\"),JOptionPane.ERROR_MESSAGE);\r\n\t\t\t}\r\n\r\n\t\tmyWW.close();\r\n\t\t}", "title": "" }, { "docid": "eb905fc243b7d838d146ca247643c17a", "score": "0.58032274", "text": "private void startProgress(){\n\n Thread backGroundThread = new Thread(new Runnable() {\n @Override\n public void run() {\n for(int i=0; i<=100; i +=5){\n Message message = new Message();\n message.arg1 = i;\n myHandler.sendMessage(message);\n\n //aanpassingen aan de UI mogen niet vanuit afzonderlijke thread, geeft fout\n // tvDone.setText(\"Done\"); //3.b.\n //om na te bootsen dat het lang duurt, chtoby dolshe prBar zagrugalas,chtoby my mogli uvidet chto process idet\n try {\n Thread.sleep(500);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n\n }\n });\n\n backGroundThread.start();\n }", "title": "" }, { "docid": "445e7f7f6c3c10072137f45bb7a92a0c", "score": "0.5797082", "text": "protected void onPreExecute() {// 执行预处理,它运行于UI线程,\r\n\t\t\t\tdialog = new ProgressDialog(context);\r\n\t\t\t\tdialog.setMessage(getResources().getText(R.string.while_retrieving_tip));\r\n\t\t\t\tdialog.show();\r\n\t\t}", "title": "" }, { "docid": "fac7a228dac229bc6c117a4a03160e27", "score": "0.57742906", "text": "@Override\n protected Void doInBackground(Void... params)\n {\n /* This is just a code that delays the thread execution 4 times,\n * during 850 milliseconds and updates the current progress. This\n * is where the code that is going to be executed on a background\n * thread must be placed.\n */\n try\n {\n //Get the current thread's token\n synchronized (this)\n {\n //Initialize an integer (that will act as a counter) to zero\n int counter = 0;\n //While the counter is smaller than four\n while(counter <= 4)\n {\n //Wait n milliseconds where n is no inside wait(n)...\n this.wait(3000);\n //Increment the counter\n counter++;\n //Set the current progress.\n //This value is going to be passed to the onProgressUpdate() method.\n publishProgress(counter*25);\n }\n }\n }\n catch (InterruptedException e)\n {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "406f7b384a6c77e012dcdd01b183c5a2", "score": "0.5772114", "text": "public void run() \n\t\t\t{\n\t\t\t\tcustomDrawableViewMain.setVisibility(View.GONE);\n\t\t\t}", "title": "" }, { "docid": "48b17ef3b264e6f53a6543d06d883975", "score": "0.57610106", "text": "@Override\n\t\tpublic void run() {\n\t\t\tsuper.run();\n\t\t\tBundle bundle = new Bundle();\n\t\t\tMessage msg;\n\n\t\t\tif (displayMode == Constants.DisplayMode.SHOW_DISAPPEAR) {//显示后消失\n\t\t\t\tfor (int i = 0; i < imageViews.length; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (i == 0) {\n\t\t\t\t\t\t\tThread.sleep(Constants.DEFAULT_SHOW_TIME);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!flag) {\n\t\t\t\t\t\t\treturn;\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\tbundle.clear();\n\t\t\t\t\t\tmsg = Message.obtain();\n\t\t\t\t\t\tmsg.what = ACTION_1;\n\t\t\t\t\t\tbundle.putInt(INDEX, i);\n\t\t\t\t\t\tbundle.putBoolean(SHOW, true);\n\t\t\t\t\t\tmsg.setData(bundle);\n\t\t\t\t\t\thandler.sendMessage(msg);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tThread.sleep(Constants.DEFAULT_SHOW_TIME);\n\t\t\t\t\t\tif (!flag) {\n\t\t\t\t\t\t\treturn;\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\tmsg = Message.obtain();\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(display == SIMPLE){\n\t\t\t\t\t\t\tmsg.what = ACTION_3;\n\t\t\t\t\t\t}else if (display == TU_YANG) {\n\t\t\t\t\t\t\tmsg.what = ACTION_1;\n\t\t\t\t\t\t\tbundle.putBoolean(SHOW, false);\n\t\t\t\t\t\t}else{\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\tmsg.setData(bundle);\n\t\t\t\t\t\thandler.sendMessage(msg);\n\t\t\t\t\t\t\n\t\t\t\t\t\tThread.sleep(Constants.DEFAULT_SHOW_TIME);\n\t\t\t\t\t\tif (!flag) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\thandler.sendEmptyMessage(ACTION_2);\n\t\t\t\t\n\t\t\t}else if (displayMode == Constants.DisplayMode.SHOW_HOLD) {//显示后保留\n\t\t\t\tfor (int i = 0; i < imageViews.length; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (i == 0) {\n\t\t\t\t\t\t\tThread.sleep(Constants.DEFAULT_SHOW_TIME);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!flag) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tbundle.clear();\n\t\t\t\t\t\tmsg = Message.obtain();\n\t\t\t\t\t\tmsg.what = ACTION_1;\n\t\t\t\t\t\tbundle.putInt(INDEX, i);\n\t\t\t\t\t\tbundle.putBoolean(SHOW, true);\n\t\t\t\t\t\tmsg.setData(bundle);\n\t\t\t\t\t\thandler.sendMessage(msg);\n\t\t\t\t\t\t\n\t\t\t\t\t\tThread.sleep(Constants.DEFAULT_SHOW_TIME);\n\t\t\t\t\t\tif (!flag) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\thandler.sendEmptyMessage(ACTION_2);\n\t\t\t\t\n\t\t\t}else if (displayMode == Constants.DisplayMode.SHOW_DISAPPEAR_TOGETHER) {//同步显示同时消失\n\t\t\t\ttry {\n\t\t\t\t\t//显示时间跟位元存在对应关系\n\t\t\t\t\tsleep(CommonUtil.getDisplayTimeByBit(question.getContents().length));\n\t\t\t\t\t//sleep(10000);\n\t\t\t\t\tif (!flag) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t} catch (InterruptedException 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\thandler.sendEmptyMessage(ACTION_2);\n\t\t\t}\n\n\t\t\tqaHandler.sendMessage(qaHandler.obtainMessage(START_ANSWER));\n\t\t}", "title": "" }, { "docid": "f5d2bb1030d2a1a22a647d5410844dff", "score": "0.5747355", "text": "@Override\n protected void onPreExecute() {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n progressDialog = new ProgressDialog(MapsActivity.this);\n progressDialog.setIndeterminate(true);\n progressDialog.setMessage(\"Fetching data...\");\n progressDialog.show();\n }\n });\n }", "title": "" }, { "docid": "40c2e90cbc24ba74f4f7b468df803356", "score": "0.57325786", "text": "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t\ttry {\n\t\t\t\t// 如果不存在就创建ximei\n\t\t\t\tif (!fileutil.isFileExist(\"ximei\")) {\n\t\t\t\t\tfileutil.creatSDDir(\"ximei\");\n\t\t\t\t}\n\t\t\t\t// 如果不存在就创建newximei\n\t\t\t\tif (!fileutil.isFileExist(\"newximei\")) {\n\t\t\t\t\tfileutil.creatSDDir(\"newximei\");\n\t\t\t\t}\n\t\t\t\t// 如果不存在就创建alldata\n\t\t\t\tif (!fileutil.isFileExist(\"alldata\")) {\n\t\t\t\t\tfileutil.creatSDDir(\"alldata\");\n\t\t\t\t}\n\t\t\t\tFileOpertion fileopertion=new FileOpertion(); \n\t\t\t\tfileopertion.makeFilePath(fileopertion.getFilePath(),fileopertion.getCurTime()+\".txt\");//生成log文件\t\t\t\t\n\n\t\t\t\t\n\t\t\t\tIntent intent3 = new Intent();\n\t\t\t\tintent3.setClass(IndexActivity.this, BtXiMeiService.class);\n\t\t\t\tstopService(intent3);\n\t\t\t\t\n\t\t\t\tThread.sleep(2000);//启动加载2.5秒后进去主界面\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\t//intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\t\t\tintent.putExtra(\"startFlag\", \"OK\");\n\t\t\t\tintent.setClass(IndexActivity.this, MainActivity.class);\n\t\t\t\tIndexActivity.this.startActivity(intent);\n\t\t\t\tfinish();\n\t\t\t\t\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\t\n\t\t}", "title": "" }, { "docid": "8243dcecce721729f38dca49b579111a", "score": "0.57324636", "text": "public void run() {\n mContext.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Utils.loadInterstelFullScreenAdd(adView);\n }\n });\n }", "title": "" }, { "docid": "a4c5993209846c29506470581b84454e", "score": "0.5730396", "text": "public void run()\n\n {\n System.out.println(\"It comes here!!!!!!!!!\");\n getTasks(MainActivity.userId, MainActivity.projectId, context);\n TaskActivity.this.mHandler.postDelayed(m_Runnable, 2000);\n //startActivity(i);\n }", "title": "" }, { "docid": "fb2bcb293de90667e5eae970290ca80d", "score": "0.5722603", "text": "private void init() {\n mtaskIndex = findViewById(R.id.textView_taskIndex);\n taskName = findViewById(R.id.task_name);\n taskTime = findViewById(R.id.task_time);\n layout = findViewById(R.id.layout);\n mtextviewBreak = findViewById(R.id.textview_break);\n mImageView = findViewById(R.id.imageview_back);\n mClearBtn = findViewById(R.id.button_clear_tasks);\n //Timer variables initialise\n mTimerRunning = false;\n mHasTasks = false;\n mServiceStarted = false;\n\n if(!readDb()) {\n list = new tasks();\n //taskName.setText(\"bad load db\");\n Log.d(\"MyActivity\", \"db not loaded\" );\n } else {\n //mHasTasks = true;\n //mTimerRunning = true;\n //selectedTask = list.selectFirstTask();\n //taskName.setText(\"good load db\");\n Log.d(\"MyActivity\", \"db loaded\" );\n }\n breakRecommend = ((list.getTotalMs()/3600000)*600000);\n }", "title": "" }, { "docid": "8cd0cc540afea7471f0ba8e2da6275c5", "score": "0.57224286", "text": "private void m28966d() {\n if (this.f22448j == null) {\n this.f22448j = new HandlerThread(\"DownloaderNotifyThread\");\n this.f22448j.start();\n this.f22449k = new Handler(this.f22448j.getLooper());\n }\n }", "title": "" }, { "docid": "1b7b6aa38c4f0469e2f98ee7fa140d4f", "score": "0.5709879", "text": "public void doAsync(View view) {\n mt1.setText(\"Nothing happened yet\");\n new MySecondAsync(mt1).execute();\n }", "title": "" }, { "docid": "49c9578e7f71a96f2054ce9f53fa9b3f", "score": "0.57057625", "text": "protected void asyncUI(Runnable runnable) {\n\t\tDisplay.getDefault().asyncExec(runnable);\n\t}", "title": "" }, { "docid": "a75dbdc354239ada69ffd443ee68e6df", "score": "0.56987506", "text": "private void workerRun() {\n\n // We collect items from checkImageList() and checkBucketIds() and\n // put them in allItems. Later we give allItems to checkThumbBitmap()\n // and generated thumbnail bitmaps for each item. We do this instead of\n // generating thumbnail bitmaps in checkImageList() and checkBucketIds()\n // because we want to show all the folders first, then update them with\n // the thumb bitmaps. (Generating thumbnail bitmaps takes some time.)\n ArrayList<Item> allItems = new ArrayList<Item>();\n\n if (mAbort) {\n return;\n }\n\n if(mPickIntentAll) {\n checkVideoList(allItems);\n if (mAbort) return;\n checkBucketIds(allItems);\n if (mAbort) {\n return;\n }\n } else {\n if(!mScanning) {\n if(!mPickIntentSelectPhotos || mPickIntentVideoType) {\n checkVideoList(allItems);\n if (mAbort) return;\n }\n }\n if(!mPickIntentVideoType) {\n checkBucketIds(allItems);\n if (mAbort) {\n return;\n }\n }\n }\n\n Log.d(TAG, \"allItems1 + \"+allItems.size());\n checkScanning();\n\n if (mAbort) {\n return;\n }\n\n checkThumbBitmap(allItems);\n if (mAbort) {\n return;\n }\n /*\n * BUG FIX: 1973 1919\n * BUG COMMENT:\n * 1973-Muli-thread access problem\n * 1919-catch disk io exception\n * DATE: 2012-11-28\n */\n ArrayList<ContentProviderOperation> coverList = mCoverList;\n if(coverList != null && coverList.size() > 0) {\n try {\n getContentResolver().applyBatch(UCamData.AUTHORITY, coverList);\n } catch (Throwable e) {\n Log.e(TAG,\"insert failed\", e);\n }\n coverList.clear();\n }\n checkLowStorage();\n }", "title": "" }, { "docid": "8dce0b44a481cf0f853bfa6461a630ae", "score": "0.56930465", "text": "@Override protected Void doInBackground(Void... params) {\n SystemClock.sleep(20000);\n return null;\n }", "title": "" }, { "docid": "e5f2cb865a19a56097c8936b686a7284", "score": "0.56900185", "text": "@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\twhile(status<max)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tstatus=performTask();\n\t\t\t\t\t\t\t\tmyHandler.post(new Runnable()\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\tp.setProgress(status);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmyHandler.post(new Runnable() {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t Toast.makeText(getBaseContext(),\"Task Completed\",Toast.LENGTH_LONG).show();\n\t\t\t\t // status=0; \n\t\t\t\t progress=0;\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "title": "" }, { "docid": "3d878808101b2468f3d678933ccb3bc8", "score": "0.5689756", "text": "@Override\n public void onClick(View view) {\n for (int i=0; i<20; i++) {\n Intent service = new Intent(PropheatMain.this, WastefulService.class);\n startService(service);\n }\n //for (int o=0; o<9999; o++) new PrintPrimesTask().execute();\n }", "title": "" }, { "docid": "06bc9e5d9d0eef611e2763cd944020b2", "score": "0.56870466", "text": "@Override\n \tprotected void onPreExecute() {\n \t\t// TODO Auto-generated method stub\n \t\n \t\n \tLog.d(\"新线程\",\"onPreExecute\");\n \t\tsuper.onPreExecute();\n \t}", "title": "" }, { "docid": "920e3d273a2a2dd91ef5fa8e3b5bba94", "score": "0.56842685", "text": "@Override\n protected LinearLayout doInBackground(Void... params) {\n try {\n Thread.sleep(4000);\n LinearLayout lin=viewSingleItem();\n return lin;\n } catch (InterruptedException e) {\n Log.e(\"msg\",\"GetDataTask:\" + e.getMessage());\n }\n return null;\n }", "title": "" }, { "docid": "202bf73a469155ea38f3e6fc7e1d202e", "score": "0.56833196", "text": "public void startTask(View view) {\n int seconds = Integer.parseInt(editText.getText().toString());\n MyBackgroundTask task = new MyBackgroundTask(textView, seconds);\n task.execute(); // start!\n\n // doing some work in MainThread (block the UI)\n // DO NOT DO THIS!\n// try {\n// Thread.sleep(5000);\n// } catch (InterruptedException e) {\n//\n// }\n// textView.setText(\"Sleeping in MainThread\");\n }", "title": "" }, { "docid": "a773378025b5c39071295e3586c90dff", "score": "0.56821615", "text": "@Override\n public void run() {\n Looper.prepare();\n searchNeayBy();\n Looper.loop();\n }", "title": "" }, { "docid": "14548d01346d8122638d70fe636ada11", "score": "0.56727606", "text": "@Override\n public void run() {\n\n Context appContext= appContextWeakRef.get();\n if (appContext != null) {\n PowerManager powerManager = (PowerManager) appContext.getSystemService(Context.POWER_SERVICE);\n PowerManager.WakeLock wakeLock = null;\n try {\n if (powerManager != null) {\n wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, PPApplication.PACKAGE_NAME + \":PPApplication_updateGUI\");\n wakeLock.acquire(10 * 60 * 1000);\n }\n\n// PPApplication.logE(\"PPApplication.updateGUI\", \"call of forceUpdateGUI\");\n PPApplication.forceUpdateGUI(appContext, true, true/*, true*/);\n\n// PPApplication.logE(\"PPApplication.startHandlerThread\", \"END run - from=PPApplication.updateGUI\");\n } catch (Exception e) {\n// PPApplication.logE(\"[IN_THREAD_HANDLER] PPApplication.startHandlerThread\", Log.getStackTraceString(e));\n PPApplication.recordException(e);\n } finally {\n if ((wakeLock != null) && wakeLock.isHeld()) {\n try {\n wakeLock.release();\n } catch (Exception ignored) {\n }\n }\n }\n }\n }", "title": "" }, { "docid": "355bb652c14238a0c0df437efbc27476", "score": "0.56692755", "text": "@Override\n \t\tprotected void onPreExecute() {\n \t\t\tshowLoadingProgressDialog();\n \t\t}", "title": "" }, { "docid": "cb780daa70d24e259f52ec859284d5cb", "score": "0.5664351", "text": "@Override\n public Void doInBackground(Void ...v) {\n // Don't start the threads immediately.\n Utils.pauseThread(500);\n\n // Use the entry barrier to wait for all BeingAsyncTasks to\n // reach this point before allowing any to proceed.\n // TODO -- grad students you fill in here.\n try {\n\t\t\tmPresenter.get().mEntryBarrier.await();\n\t\t} catch (InterruptedException | BrokenBarrierException e1) {\n\t\t}\n\t\t\n // Initialize local variables.\n int i = 0;\n\n // Try to gaze at a palantir the designated number of times.\n for (;\n i < Options.instance().gazingIterations();\n ++i) {\n Palantir palantir = null;\n \n try {\n // Break out of the loop if the BeingAsyncTask has\n // been cancelled.\n // TODO -- you fill in here by replacing \"false\" with\n // the appropriate method call to an AsyncTask method.\n if (isCancelled()) {\n // If we've been instructed to stop gazing, notify\n // the UI and exit gracefully.\n mPresenter.get().mView.get().threadShutdown(mIndex);\n break;\n }\n\n // Show that we're waiting on the screen.\n // TODO -- you fill in here with the appropriate\n // call to an AsyncTask method.\n this.publishProgress(mPresenter.get().mView.get().markWaiting(mIndex));\n // Get a Palantir - this call blocks if there are no\n // available Palantiri.\n palantir =\n mPresenter.get().getModel().acquirePalantir\n (Options.instance().leaseDuration());\n\n if (palantir == null)\n Log.d(TAG,\n \"Received a null palantir in \"\n + Thread.currentThread().getId()\n + \" for Being \"\n + mIndex);\n\n // Make sure we were supposed to get a Palantir.\n if (!incrementGazingCountAndCheck())\n break;\n\n // Mark it as used on the screen.\n // TODO -- you fill in here with the appropriate\n // call to an AsyncTask method.\n this.publishProgress(mPresenter.get().mView.get().markUsed(palantir.getId()));\n // Show that we're gazing on the screen.\n // TODO -- you fill in here with the appropriate\n // call to an AsyncTask method.\n this.publishProgress(mPresenter.get().mView.get().markGazing(mIndex));\n // Gaze at my Palantir for the alloted time.\n if (palantir.gaze()) {\n // Show that we're no longer gazing.\n // TODO -- you fill in here with the appropriate\n // call to an AsyncTask method.\n \tthis.publishProgress(mPresenter.get().mView.get().markIdle(mIndex));\n Utils.pauseThread(500);\n } else {\n // Mark the Being as being interrupted.\n // TODO -- you fill in here with the appropriate\n // call to an AsyncTask method.\n \tthis.publishProgress(mPresenter.get().mView.get().markInterrupted(mIndex));\n Utils.pauseThread(500);\n }\n\n // Mark the Palantir as being free.\n // TODO -- you fill in here with the appropriate call\n // to an AsyncTask method.\n this.publishProgress(mPresenter.get().mView.get().markFree(palantir.getId()));\n //Log.i(\"markFree\", \"markFree by\"+this.mIndex + \" \"+palantir.getId());\n Utils.pauseThread(500);\n\n // Tell the double-checker that we're about to\n // give up a Palantir.\n decrementGazingCount();\n } catch (Exception e) {\n Log.d(TAG,\n \"Exception caught in index \"\n + mIndex);\n\n // If we're interrupted by an exception, notify the UI and\n // exit gracefully.\n mPresenter.get().mView.get().threadShutdown(mIndex);\n } finally {\n // Give it back to the manager.\n mPresenter.get().getModel().releasePalantir(palantir);\n }\n }\n\n Log.d(TAG,\n \"Thread \"\n + mIndex\n + \" has finished \"\n + i \n + \" of its \"\n + Options.instance().gazingIterations()\n + \" gazing iterations\");\n return (Void) null;\n }", "title": "" }, { "docid": "cb1312c83fe562211f4a52d763bc184f", "score": "0.5664322", "text": "@Override\r\n\t\tpublic void run() {\n\t\t\t{\r\n\t\t\t\tif(!imageUrls.isEmpty())\r\n\t\t\t\t{\r\n\t\t\t\t\tImageUrlView view = imageUrls.remove(0);\r\n\t\t\t\t\turl = view.getUrl();\r\n\t\t\t\t\tbmp = null;\r\n\t\t\t\t\tif(url!=null)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(imageCaches.containsKey(url))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tbmp = imageCaches.get(url).get();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(bmp==null)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tString filePath = CacheDB.getLocalpicPath(view.getContext(),url);\r\n\t\t\t\t\t\t\tif(filePath==null||!new File(filePath).exists())\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\tfilePath = ImageFactory.getURLBitmap(url);\r\n\t\t\t\t\t\t\t\t} catch (JHException e) {\r\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t\t\t\t\tmsg = Message.obtain();\r\n\t\t\t\t\t\t\t\t\tmsg.what = FAILED;\r\n\t\t\t\t\t\t\t\t\tmsg.obj = view;\r\n\t\t\t\t\t\t\t\t\thandler.sendMessage(msg);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif(filePath!=null)\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tCacheDB.deletePic(view.getContext(), url);//先删除之前的\r\n\t\t\t\t\t\t\t\t\tCacheDB.insertPic(view.getContext(), url, filePath);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(filePath!=null)\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\tbmp = ImageFactory.getFileBitmap(filePath,view.getHeight(),view.getWidth(),null);\r\n\t\t\t\t\t\t\t\t} catch (JHException e) {\r\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\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\tif(!imageCaches.containsKey(url))\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\timageCaches.put(url, new SoftReference<Bitmap>(bmp));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\timageCaches.remove(url);\r\n\t\t\t\t\t\t\t\t\timageCaches.put(url, new SoftReference<Bitmap>(bmp));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif(imageCaches.size()>maxImage)\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\timageCaches.remove(imageCaches.keySet().iterator().next());\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tmsg = Message.obtain();\r\n\t\t\t\t\t\tmsg.obj = new ImageInfo(bmp,view,url);\r\n\t\t\t\t\t\tmsg.what = SUCCESS;\r\n\t\t\t\t\t\thandler.sendMessage(msg);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "f76fc3db3c4c1c1c0e21e08df809d5d6", "score": "0.5639881", "text": "private void initStatus() {\n\t\tWriteLogToDevice.writeLog(\"[Normal] -- Main: \", \"initStatus\");\r\n\t\tsdCardFullWarning = false;\r\n\t\tExitApp.getInstance().addActivity(this);\r\n\t\texecutor = Executors.newSingleThreadExecutor();\r\n\r\n\t\tmainTimerHandler = new MyTimerHandler();\r\n\t\tglobalApp = GlobalApp.getInstance();\r\n\t\tglobalApp.setAppContext(getApplicationContext());\r\n\t\tglobalApp.setCurrentApp(Main.this);\r\n\r\n\t\tif (cameraProperties.cameraModeSupport(ICatchMode.ICH_MODE_VIDEO) == false) {\r\n\t\t\tvideoToggle.setVisibility(View.GONE);\r\n\t\t\tcurMode = APP_STATE_STILL_PREVIEW;\r\n\t\t} else {\r\n\t\t\tcurMode = APP_STATE_VIDEO_PREVIEW;\r\n\t\t}\r\n\t\t// zoomBar.setMinValue(zoomMinRate);\r\n\t\tzoomLayout.setVisibility(View.GONE);\r\n\t\tzoomBar.setMinValue(zoomMinRate);\r\n\t\tzoomBar.setMax(cameraProperties.getMaxZoomRatio());\r\n\t\tlastZoomRate = cameraProperties.getCurrentZoomRatio();\r\n\t\tzoomBar.setProgress(lastZoomRate);\r\n\t\tLog.d(\"tigertiger\", \"first get lastZoomRate = \" + lastZoomRate);\r\n\t\tLog.d(\"tigertiger\",\r\n\t\t\t\t\"first get zoomBar.getZoomProgress = \"\r\n\t\t\t\t\t\t+ zoomBar.getZoomProgress());\r\n\t\tsetBatteryLevelIcon();\r\n\r\n\t\tif (cameraProperties.cameraModeSupport(ICatchMode.ICH_MODE_TIMELAPSE) == false) {\r\n\t\t\ttimeLapseToggle.setVisibility(View.GONE);\r\n\t\t\tRelativeLayout.LayoutParams stillToggleLayoutParams = (RelativeLayout.LayoutParams) stillToggle\r\n\t\t\t\t\t.getLayoutParams();\r\n\t\t\tstillToggleLayoutParams.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);\r\n\t\t\tstillToggleLayoutParams.rightMargin = 5;\r\n\t\t\tstillToggle.setLayoutParams(stillToggleLayoutParams);\r\n\t\t}\r\n\t\tif (cameraProperties\r\n\t\t\t\t.hasFuction(ICatchCameraProperty.ICH_CAP_SLOW_MOTION)\r\n\t\t\t\t&& cameraProperties.getCurrentSlowMotion() == SlowMotion.SLOW_MOTION_ON\r\n\t\t\t\t&& curMode == APP_STATE_VIDEO_PREVIEW) {\r\n\t\t\tslowMotion.setVisibility(View.VISIBLE);\r\n\t\t}\r\n\t\tif (cameraProperties\r\n\t\t\t\t.hasFuction(ICatchCameraProperty.ICH_CAP_UPSIDE_DOWN)\r\n\t\t\t\t&& cameraProperties.getCurrentUpsideDown() == Upside.UPSIDE_ON) {\r\n\t\t\tcarMode.setVisibility(View.VISIBLE);\r\n\t\t}\r\n\t\tinitUiInterface();\r\n\t\tsdkEvent = new SDKEvent(mainHandler);\r\n\t\twifiTool = new WifiCheck();\r\n\t\twifiTool.openConnectCheck();\r\n\t\t// for test\r\n\t\t// load Menu data and set listener\r\n\t\t// wifiTool.checkWifiPolicy();\r\n\t\tExceptionCheck exceptionCheck = new ExceptionCheck();\r\n\t\texceptionCheck.startExceptionCheck();\r\n\t\tif (cameraProperties.hasFuction(0xD7F0)) {\r\n\t\t\tif (cameraProperties.setCaptureDelayMode(1))\r\n\t\t\t\tcaptureDelayMode = true;\r\n\t\t}\r\n\r\n\t\tAppCfgParameter configuration = new AppCfgParameter();\r\n\t\tconfiguration.setPreviewCacheParam(132);\r\n\t\tWriteLogToDevice.writeLog(\"[Normal] -- Main: \", \"end initStatus\");\r\n\t}", "title": "" }, { "docid": "e00483a01daa5a20e1df04e965a327a7", "score": "0.56319666", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "61994e45df894c74880a65a516f9187a", "score": "0.5629316", "text": "@Override\n protected Void doInBackground(Void... params) {\n try {\n Thread.sleep(800); // .8 seconds\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "097a894271df44ccec7a4a7882bbde2c", "score": "0.5628476", "text": "@Override\n protected Void doInBackground(Void... params) {\n final int origPri = Process.getThreadPriority(Process.myTid());\n Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);\n final PackageManager pm = mContext.getPackageManager();\n final ActivityManager am = (ActivityManager)\n mContext.getSystemService(Context.ACTIVITY_SERVICE);\n\n final List<ActivityManager.RecentTaskInfo> recentTasks =\n am.getRecentTasks(MAX_TASKS, ActivityManager.RECENT_IGNORE_UNAVAILABLE);\n int numTasks = recentTasks.size();\n ActivityInfo homeInfo = new Intent(Intent.ACTION_MAIN)\n .addCategory(Intent.CATEGORY_HOME).resolveActivityInfo(pm, 0);\n\n boolean firstScreenful = true;\n ArrayList<TaskDescription> tasks = new ArrayList<TaskDescription>();\n\n // skip the first task - assume it's either the home screen or the current activity.\n final int first = 0;\n for (int i = first, index = 0; i < numTasks && (index < MAX_TASKS); ++i) {\n if (isCancelled()) {\n break;\n }\n final ActivityManager.RecentTaskInfo recentInfo = recentTasks.get(i);\n\n Intent intent = new Intent(recentInfo.baseIntent);\n if (recentInfo.origActivity != null) {\n intent.setComponent(recentInfo.origActivity);\n }\n\n // Don't load the current home activity.\n if (isCurrentHomeActivity(intent.getComponent(), homeInfo)) {\n continue;\n }\n\n // Don't load ourselves\n if (intent.getComponent().getPackageName().equals(mContext.getPackageName())) {\n continue;\n }\n\n TaskDescription item = createTaskDescription(recentInfo.id,\n recentInfo.persistentId, recentInfo.baseIntent,\n recentInfo.origActivity, recentInfo.description);\n\n if (item != null) {\n while (true) {\n try {\n tasksWaitingForThumbnails.put(item);\n break;\n } catch (InterruptedException e) {\n }\n }\n tasks.add(item);\n if (firstScreenful && tasks.size() == mNumTasksInFirstScreenful) {\n publishProgress(tasks);\n tasks = new ArrayList<TaskDescription>();\n firstScreenful = false;\n //break;\n }\n ++index;\n }\n }\n\n if (!isCancelled()) {\n publishProgress(tasks);\n if (firstScreenful) {\n // always should publish two updates\n publishProgress(new ArrayList<TaskDescription>());\n }\n }\n\n while (true) {\n try {\n tasksWaitingForThumbnails.put(new TaskDescription());\n break;\n } catch (InterruptedException e) {\n }\n }\n\n Process.setThreadPriority(origPri);\n return null;\n }", "title": "" }, { "docid": "c257ea164e174236a08d5926bd48c44c", "score": "0.5622676", "text": "@Override\n public void run() {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n mSwipyRefreshLayout.setRefreshing(false);\n\n ConnectivityManager cm = (ConnectivityManager)\n getSystemService(Context.CONNECTIVITY_SERVICE);\n\n if (cm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).isConnected())\n {\n Intent start=new Intent(No_connexion.this,FullscreenActivity.class);\n startActivity(start);\n }\n else if(cm.getNetworkInfo(ConnectivityManager.TYPE_WIFI).isConnected())\n {\n Intent start=new Intent(No_connexion.this,FullscreenActivity.class);\n startActivity(start);\n }\n else\n {\n toastconnexion= new SuperActivityToast(No_connexion.this,\n SuperToast.Type.BUTTON);\n toastconnexion.setAnimations(SuperToast.Animations.FLYIN);\n toastconnexion.setDuration(SuperToast.Duration.LONG);\n toastconnexion.setBackground(SuperToast.Background.RED);\n toastconnexion.setTextSize(SuperToast.TextSize.MEDIUM);\n toastconnexion.setText(lienhebergement.problem_internet);\n toastconnexion.setButtonIcon(SuperToast.Icon.Dark.INFO, \"Annuler\");\n toastconnexion.show();\n }\n\n\n }\n });\n }", "title": "" }, { "docid": "e279e590a78061bc4c0ec58ba455b2c1", "score": "0.56203145", "text": "protected void onPreExecute() {\n\t\t}", "title": "" }, { "docid": "0d681783c9ec970e5582a3a3609dcafa", "score": "0.56199324", "text": "@Override\n public void run() {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n // mSwipyRefreshLayout.setRefreshing(false);\n\n ConnectivityManager cm = (ConnectivityManager)\n getSystemService(Context.CONNECTIVITY_SERVICE);\n\n if (cm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).isConnected())\n {\n Intent start=new Intent(No_connexion.this,FullscreenActivity.class);\n startActivity(start);\n }\n else if(cm.getNetworkInfo(ConnectivityManager.TYPE_WIFI).isConnected())\n {\n Intent start=new Intent(No_connexion.this,FullscreenActivity.class);\n startActivity(start);\n }\n else\n {\n content.setVisibility(View.VISIBLE);\n connect.setVisibility(View.INVISIBLE);\n toastconnexion= new SuperActivityToast(No_connexion.this,\n SuperToast.Type.BUTTON);\n toastconnexion.setAnimations(SuperToast.Animations.FLYIN);\n toastconnexion.setDuration(SuperToast.Duration.LONG);\n toastconnexion.setBackground(SuperToast.Background.RED);\n toastconnexion.setTextSize(SuperToast.TextSize.MEDIUM);\n toastconnexion.setText(lienhebergement.problem_internet);\n toastconnexion.setButtonIcon(SuperToast.Icon.Dark.INFO, \"Annuler\");\n toastconnexion.show();\n }\n\n\n }\n });\n }", "title": "" }, { "docid": "34efa62c5c5221ee5deba14c7add0892", "score": "0.56191784", "text": "@Override\n protected void onPreExecute() {\n if (!networkAvailability.isNetworkAvailable()) {\n rl_container_feedbackList.removeView(loaderView);\n //for enable the screen\n getWindow().clearFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);\n rl_main_feedbackList.setVisibility(View.GONE);\n rl_container_feedbackList.addView(noInternetView);\n // stopping swipe refresh\n swipeRefreshLayout_feedbackList.setRefreshing(false);\n }\n\n }", "title": "" }, { "docid": "fc498d44493ea0b22b5023eedb0f1f65", "score": "0.56120384", "text": "public void onUiChangedWhileSleeping() { }", "title": "" }, { "docid": "ce5c8c9726959f94011121c8f7163966", "score": "0.56114405", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(100);\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} finally {\n\t\t\t\t\tchange_status_handler.sendEmptyMessage(0);\n\t\t\t\t\ttry {\n\t\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}finally{\n\t\t\t\t\t\tIntent i = new Intent(PF00_Loading.this, PF01_Main.class);\n\t\t\t\t\t\tstartActivity(i);\n\t\t\t\t\t\tfinish();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "12c75badfe3f3ba69a1c36d8bc985b21", "score": "0.560674", "text": "public void run() {\n onBtnUpdatePressed(null);\n\n mapHandler.postDelayed(this, 5000);\n }", "title": "" }, { "docid": "0009a40a5fff1978343af2586f7f51d8", "score": "0.5606456", "text": "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tLooper.prepare();\n\t\t\t\t\tif (util == null) {\n\t\t\t\t\t\tLog.i(\"tag\", \"============初始化扫描开始============\");\n\t\t\t\t\t\tutil = new ThimfoneScanUtil(context, listener);\n\t\t\t\t\t\tutil.onCreate();\n\t\t\t\t\t\tutil.onResume();\n\t\t\t\t\t\t// util.enableLight(false);\n\t\t\t\t\t\tLog.i(\"tag\", \"============初始化扫描结束============\");\n\t\t\t\t\t}\n\t\t\t\t\tif (util != null) {\n\t\t\t\t\t\texitTime = 0;\n\t\t\t\t\t\tutil.singleShoot();\n\t\t\t\t\t}\n\t\t\t\t\tLooper.loop();\n\t\t\t\t}", "title": "" }, { "docid": "3a934d658d8e59a111b8a137c8f9f580", "score": "0.5606022", "text": "private void startWorker() {\n mAbort = false;\n mWorkerThread = new Thread(\"ImageGifAlbumActivity Worker\") {\n @Override\n public void run() {\n workerRun();\n }\n };\n BitmapManager.instance().allowThreadDecoding(mWorkerThread);\n mWorkerThread.start();\n }", "title": "" }, { "docid": "fdbd7315c7c1f21b1e2f6296bdcebfd1", "score": "0.56031317", "text": "private void noTaskRunningEnableUI(){\n gui.numFramesText.setEnabled(true);\n gui.framesPerSecondSelector.setEnabled(true);\n gui.changeDirectoryBtn.setEnabled(true);\n gui.enableStimulator.setEnabled(true);\n gui.preStimulationTimeMsText.setEnabled(true);\n gui.stimulationStrengthText.setEnabled(true);\n gui.stimulationDurationMsText.setEnabled(true);\n gui.stimulationCycleDurationMsText.setEnabled(true);\n gui.numStimulationCyclesText.setEnabled(true);\n gui.enableRamp.setEnabled(true);\n gui.rampBase.setEnabled(true);\n gui.rampStart.setEnabled(true);\n gui.rampEnd.setEnabled(true);\n gui.enableTracking.setEnabled(true);\n gui.goBtn.setEnabled(true);\n\n // the user should not be able to press stop when there is no task running\n gui.stopBtn.setEnabled(false);\n gui.goBtn.setEnabled(true);\n }", "title": "" }, { "docid": "202adfc1f7ebf71a06f07495fefbbfcf", "score": "0.5597635", "text": "public final void mo17984e() {\n runOnUiThread(new tbd(this));\n }", "title": "" }, { "docid": "52c902619960ca8df0cfe069aaa5f259", "score": "0.559462", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.ar_detail);\n\t\t\n\t\tid = this.getIntent().getExtras().getString(\"ID\");\n\t\tString name = this.getIntent().getExtras().getString(\"NAME\");\n\t\tString desc = this.getIntent().getExtras().getString(\"DESC\");\n\t\t\n\t\t((TextView) this.findViewById(R.id.tv_Name)).setText(name);\n\t\ttv_desc=((TextView) this.findViewById(R.id.tv_Desc));\n\t\ttv_desc.setText(desc);\n\t\ttv_desc.setMovementMethod(ScrollingMovementMethod.getInstance());\n\t\tiv=(ImageView) findViewById(R.id.iv);\n\t\t/*如果可用空间小于500KB,那么提示用户空间不足*/\n\t\tif(getAvailaleSize()<500){\n\t\t\tToast lowStorageToast=Toast.makeText(this, \"检测到您手机的存储空间不足,所以不进行图片缓存(这样每次加载图片时会耗费一些流量)\", \n\t\t\t\t\tToast.LENGTH_LONG);\n\t\t\tlowStorageToast.show();\n\t\t}\n\t\twsAsyncTask wsTask = new wsAsyncTask(this);\n\t wsTask.execute(id);\n\t handle=new Handler(){\n\n\t\t\t@Override\n\t\t\tpublic void handleMessage(Message msg) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tsuper.handleMessage(msg);\n\t\t\t\tswitch(msg.what){\n\t\t\t\tcase TASK_DONE:\n\t\t\t\t\tLog.v(TAG, \"task is done\");\n\t\t\t\t\tiv.setImageBitmap((Bitmap)msg.obj);\n//\t\t\t\t\t((Bitmap)msg.obj).recycle(); \n\t\t\t\t\t/*\n\t\t\t\t\t * 不加这句已经运行正常,加上后会异常终止,因为在这里\n\t\t\t\t\t *释放它太早了,log显示此时Canvas还在使用它\n\t\t\t\t\t */\n\t\t\t\t\tbreak;\n\t\t\t\tcase TASK_CANCEL:\n\t\t\t\t\tLog.v(TAG, \"task is cancelled\");\n\t\t\t\t\tiv.setImageResource(R.drawable.defaultimg);\n\t\t\t\t\tbreak;\n\t\t\t\tcase TASK_UNDONE:\n\t\t\t\t\tLog.v(TAG, \"task is undone\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t \t\n\t };\n\t\t\n\t}", "title": "" }, { "docid": "7e330b3a1198a4186efe56f0154b5554", "score": "0.5591305", "text": "@Override\n public void run() {\n final ImageButton b = new ImageButton(getActivity().getApplicationContext());\n\n b.setImageBitmap(profPicBitmap);\n\n // FOR TRAILS\n\n if (forTrails) {\n // touch animation\n b.setOnTouchListener(new View.OnTouchListener() {\n @Override\n public boolean onTouch(View v, MotionEvent event) {\n\n // set filter when pressed\n if (event.getAction() == MotionEvent.ACTION_DOWN) {\n if (!nullButtons.contains(b)) {\n b.setColorFilter(new\n PorterDuffColorFilter(getResources().getColor(R.color.colorDividerLight),\n PorterDuff.Mode.MULTIPLY));\n }\n heldDown = true;\n startTime = System.nanoTime();\n }\n\n // remove filter on release/cancel\n if (event.getAction() == MotionEvent.ACTION_CANCEL) {\n if (!nullButtons.contains(b)) {\n b.clearColorFilter();\n }\n heldDown = false;\n }\n\n // handle \"release\"\n if (event.getAction() == MotionEvent.ACTION_UP) {\n\n if (!nullButtons.contains(b)) {\n b.clearColorFilter();\n }\n\n // click case\n if (!(heldDown && System.nanoTime() - startTime > 0.5 * (1000000000))) {\n ((MainAct) getActivity()).goToOtherProfile(id);\n }\n\n // held case\n else {\n AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());\n builder.setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int dialogId) {\n // User clicked OK button\n\n if (((Converg) getActivity().getApplication()).me.\n removeTrail(fb, id)) {\n\n Toast.makeText(getActivity().getApplicationContext(),\n \"Unfollowed \" + name.split(\" \")[0],\n Toast.LENGTH_SHORT).show();\n b.setColorFilter(\n getResources().getColor(R.color.colorDividerDark),\n PorterDuff.Mode.MULTIPLY);\n nullButtons.add(b);\n\n } else {\n Toast.makeText(getActivity().getApplicationContext(),\n \"Already unfollowed \" + name.split(\" \")[0],\n Toast.LENGTH_SHORT).show();\n }\n }\n });\n builder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int dialogId) {\n // User cancelled the dialog\n }\n });\n builder.setTitle(\"Unfollow \" + name.split(\" \")[0] + \"?\");\n (builder.create()).show();\n }\n\n heldDown = false;\n }\n\n return true;\n }\n });\n }\n\n // FOR FOLLOWERS\n else {\n // touch animation\n b.setOnTouchListener(new View.OnTouchListener() {\n @Override\n public boolean onTouch(View v, MotionEvent event) {\n\n // set filter when pressed\n if (event.getAction() == MotionEvent.ACTION_DOWN) {\n b.setColorFilter(new\n PorterDuffColorFilter(getResources().getColor(R.color.colorDividerLight),\n PorterDuff.Mode.MULTIPLY));\n\n }\n\n // remove filter on release/cancel\n if (event.getAction() == MotionEvent.ACTION_CANCEL) {\n b.clearColorFilter();\n }\n\n // handle \"click\"\n if (event.getAction() == MotionEvent.ACTION_UP) {\n\n b.clearColorFilter();\n ((MainAct) getActivity()).goToOtherProfile(id);\n }\n\n return true;\n }\n });\n }\n // contains button and name of the user\n LinearLayout buttonLayout = new LinearLayout(getActivity().getApplicationContext());\n\n // make button look good and add to buttonLayout\n makePretty(b, name, buttonLayout);\n\n if (forTrails) {\n trailsLayout.addView(buttonLayout);\n }\n else {\n followersLayout.addView(buttonLayout);\n }\n }", "title": "" }, { "docid": "f6d6dfd40649e7fc5a64bf473b654473", "score": "0.5589518", "text": "@Override\n protected void onPreExecute() {\n Log.e(TAG, \"onPreExecute\");\n\n // showing the ProgressBar \n //simpleWaitDialog = ProgressDialog.show(pestsinsecticideslistactivity.this, \"loading records from datastore...\", \"excecuting task...\");\n //simpleWaitDialog.setCancelable(true);\n\n super.onPreExecute();\n }", "title": "" }, { "docid": "f6d6dfd40649e7fc5a64bf473b654473", "score": "0.5589518", "text": "@Override\n protected void onPreExecute() {\n Log.e(TAG, \"onPreExecute\");\n\n // showing the ProgressBar \n //simpleWaitDialog = ProgressDialog.show(pestsinsecticideslistactivity.this, \"loading records from datastore...\", \"excecuting task...\");\n //simpleWaitDialog.setCancelable(true);\n\n super.onPreExecute();\n }", "title": "" }, { "docid": "6d4f5e4b20ff4e42e2ff9788aa11068a", "score": "0.5579637", "text": "public void run(){\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tfetchData.join();\n\t\t\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tloadingLayerUI.stop();\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "bc7237a0050956378bba610e79258340", "score": "0.55786276", "text": "@Override\n //\tprotected Result doInBackground(Params... arg0) {\n protected Integer doInBackground(Void... arg0) {\n serialThread();\n return null;\n }", "title": "" }, { "docid": "6104f728851a4bfaac72309bb971e857", "score": "0.5576059", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_home, container, false);\n about = view.findViewById(R.id.home_about);\n totalSale = view.findViewById(R.id.frag_home_total_sales);\n totalCustomers = view.findViewById(R.id.frag_home_total_customers);\n totalEarnings = view.findViewById(R.id.frag_home_total_earnings);\n totalProducts = view.findViewById(R.id.frag_home_total_products);\n Handler handler = new Handler(Looper.getMainLooper());\n handler.post(() -> {\n // do UI changes before background work here\n Executor executor = Executors.newSingleThreadExecutor();\n executor.execute(() -> {\n // do background work here\n try {\n getStoreAbout();\n fetchNumberOfUsers();\n fetchNoOfProducts();\n fetchSalesAndRevenue();\n } catch (Exception e) {\n Toast.makeText(getContext(), e.getMessage(), Toast.LENGTH_SHORT).show();\n }\n\n handler.post(() -> {\n // do UI changes after background work here\n });\n });\n });\n return view;\n }", "title": "" }, { "docid": "cee6eb5394324b2949fa628f8ff0bc25", "score": "0.5573919", "text": "public void run() \n\t\t\t{\n\t\t\t\tcustomDrawableViewMain.setVisibility(View.VISIBLE);\n\t\t\t}", "title": "" }, { "docid": "cdce2cb259f1edc137eaac17fc12b3c9", "score": "0.55732363", "text": "@Override\n public void run() {\n if (run1&&isStop) {\n String leftsize=getleftSize();\n new second1.getLeftSize().execute(leftsize);\n\n String rightSize=getrightSize();\n new second1.getRightSize().execute(rightSize);\n\n String ndsMM= getndsMM();\n new second1.getndsMM().execute(ndsMM);\n\n String ndsKN=getndsKN();\n new second1.getndsKN().execute(ndsKN);\n\n String gdMM=getgdMM();\n new second1.getgdMM().execute(gdMM);\n\n String dsMM=getdsMM();\n new second1.getdsMM().execute(dsMM);\n\n String dsKN=getdsKN();\n new second1.getdsKN().execute(dsKN);\n\n handler.postDelayed(this, 1200);\n }\n }", "title": "" }, { "docid": "8983046f10d0f5a691bb0946718ad0a4", "score": "0.5571574", "text": "@Override\n\t\t\t protected void onPreExecute()\n\t\t\t {\n\t\t\t progressDialog= ProgressDialog.show(MainActivity.this, getResources().getString(R.string.dialog_enrolling),getResources().getString(R.string.dialog_please_wait), true);\n\t\t\t\n\t\t\t //do initialization of required objects objects here \n\t\t\t }", "title": "" }, { "docid": "9288bf02ef46401307e4920c2736189c", "score": "0.5569979", "text": "public void doViewStuff()\n\t{\n String TAG= QweexUtils.TAG();\n\t\tLog.d(TAG, \"Doing view things\");\n\t\t//Theme\n if(v2)\n setTheme(R.style.Version2);\n else\n\t\t setTheme(themeID);\n\t\t\n\t\t//Force Phone\n\t\tforcePhone = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).getBoolean(\"force_phone\", false);\n\t\tif(!forcePhone && QweexUtils.isTabletDevice(this))\n\t\t{\n\t\t\tLog.d(TAG, \"Setting tablet\");\n\t\t isTablet = true;\n\t\t if(themeID==R.style.Wunderlist || themeID==R.style.Right || v2)\n\t\t \tsetContentView(R.layout.tablet_right);\n\t\t else\n\t\t \tsetContentView(R.layout.tablet);\n\t\t findViewById(R.id.taskTitlebar).setVisibility(v2 ? View.INVISIBLE : View.GONE);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tLog.d(TAG, \"Setting phone\");\n\t\t\tisTablet = false;\n\t\t\tsetContentView(R.layout.phone);\n\t\t\tfindViewById(R.id.taskTitlebar).setVisibility(View.VISIBLE);\n\t\t}\n\n //Time to set the typeface\n theTypeface = Typeface.createFromAsset(getAssets(), \"Lato-Regular.ttf\");\n //((TextView)findViewById(R.id.sweetFlatteryWillGetYouEverywhere)).setTypeface(theTypeface);\n ((TextView)findViewById(R.id.appTitle)).setTypeface(theTypeface);\n ((TextView)findViewById(R.id.taskTitlebar)).setTypeface(theTypeface);\n ((TextView)findViewById(R.id.empty2)).setTypeface(theTypeface);\n //task_item_details: tags_edit\n //task_item_empty_tag\n //QuickPrefs: textView1, dropbox_button, ubuntu_button\n\n //Make alterations for version 2\n if(v2)\n {\n //List toolbar stuff\n findViewById(R.id.logo).setVisibility(View.GONE);\n findViewById(R.id.addbutton).setVisibility(View.GONE);\n findViewById(R.id.deletebutton).setVisibility(View.GONE);\n //Task toolbar stuff\n findViewById(R.id.sync).setVisibility(View.GONE);\n findViewById(R.id.sortbutton).setVisibility(View.GONE);\n\n ((ImageButton)findViewById(R.id.sync)).setImageResource(R.drawable.sort);\n if(isTablet)\n findViewById(R.id.sync).setVisibility(View.INVISIBLE);\n else\n findViewById(R.id.sync).setVisibility(View.GONE);\n //findViewById(R.id.settings).setVisibility(View.GONE); //Derp\n findViewById(R.id.settings).setPadding(0,0,10,0);\n } else\n {\n findViewById(R.id.optionsbutton).setVisibility(View.GONE);\n //New List button\n if(isTablet)\n {\n Log.d(TAG, \"View.VISIBLE\");\n findViewById(R.id.backbutton).setVisibility(View.GONE);\n findViewById(R.id.frame).setVisibility(View.VISIBLE);\n }\n ((View)findViewById(R.id.newTask).getParent()).setVisibility(View.GONE);\n ((View)findViewById(R.id.newList).getParent()).setVisibility(View.GONE);\n }\n\n ((android.widget.Button)findViewById(R.id.add_list)).setOnClickListener(new OnClickListener(){\n @Override\n public void onClick(View v)\n {\n hideAddButton();\n pressCreateList();\n }\n });\n\n //Background\n if(backgroundPath!=null)\n {\n try {\n android.graphics.drawable.BitmapDrawable backgroundImage = new android.graphics.drawable.BitmapDrawable(android.graphics.BitmapFactory.decodeFile(backgroundPath));\n backgroundImage.setTileModeXY(android.graphics.Shader.TileMode.REPEAT, android.graphics.Shader.TileMode.REPEAT);\n View v = (View)findViewById(R.id.background);\n if(v==null)\n v = findViewById(R.id.FLIP);\n v.setBackgroundDrawable(backgroundImage);\n } catch(Exception e) {}\n }\n\t\t\n\t\t//If we are NOT in the middle of the splash screen, remove the splash view\n\t\tif(!loadingApp)\n\t\t{\n\t\t\t((ViewFlipper)findViewById(R.id.FLIP)).removeViewAt(0);\n\t\t}\n\t}", "title": "" }, { "docid": "4c28fc9fd7568db0bed4fdb1b2ad1bc3", "score": "0.55636406", "text": "@Override\n\t public void run() {\n\t\t\tif (!containMjpegViews())\n\t\t\t\tremoveUnwantedProgressBars();\n\t }", "title": "" }, { "docid": "a870a540dafe7ed497e43d164df8800d", "score": "0.5560262", "text": "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n pDialog = new ProgressDialog(Messages.this);\n pDialog.setMessage(\"Getting the threads...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(true);\n pDialog.show();\n\n }", "title": "" }, { "docid": "de2cf6cc197761599be901b759886780", "score": "0.55577576", "text": "@Override\n protected String doInBackground(String... strings) {\n try {\n Thread.sleep(5000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n return \"data\";\n }", "title": "" }, { "docid": "a43d306654ca0e77ee414569e4f8437d", "score": "0.5550495", "text": "private void setupListView() {\n // Set leaderboard info to listview.\n Runnable setLeaderboardInfo = new Runnable() {\n @Override\n public void run() {\n getTeamInfoFromDatabase();\n }\n };\n Thread thread = new Thread(null, setLeaderboardInfo, \"MagentoBackground\");\n thread.start();\n progressDialog = ProgressDialog.show(LeaderboardActivity.this, getString(R.string.pleaseWait), getString(R.string.populatingLeaderboards), true);\n }", "title": "" }, { "docid": "754203a62f987770ba52030e8edb4c21", "score": "0.5550333", "text": "@Override\r\n\tpublic void run() {\n\t\twhile (true) {\r\n\t\t\tif (view_info.get_view_debug()) {\r\n\t\t\t\tVector<Vector<String>> reject_new = new Vector<Vector<String>>();\r\n\t\t\t\tfor (int i = 0; i < 5; i++) {\r\n\t\t\t\t\tVector<String> reject_line = new Vector<String>();\r\n\t\t\t\t\treject_line.add(\"001@run123_\" + String.valueOf(i));\r\n\t\t\t\t\treject_line.add(time_info.get_date_time());\r\n\t\t\t\t\treject_new.add(reject_line);\r\n\t\t\t\t}\r\n\t\t\t\treject_data.clear();\r\n\t\t\t\treject_data.addAll(reject_new);\r\n\t\t\t\tVector<Vector<String>> capture_new = new Vector<Vector<String>>();\r\n\t\t\t\tfor (int i = 0; i < 5; i++) {\r\n\t\t\t\t\tVector<String> capture_line = new Vector<String>();\r\n\t\t\t\t\tcapture_line.add(\"001@run123_\" + String.valueOf(i));\r\n\t\t\t\t\tcapture_line.add(time_info.get_date_time());\r\n\t\t\t\t\tcapture_new.add(capture_line);\r\n\t\t\t\t}\r\n\t\t\t\tcapture_data.clear();\r\n\t\t\t\tcapture_data.addAll(capture_new);\r\n\t\t\t\tSwingUtilities.invokeLater(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\treject_table.validate();\r\n\t\t\t\t\t\treject_table.updateUI();\r\n\t\t\t\t\t\tcapture_table.validate();\r\n\t\t\t\t\t\tcapture_table.updateUI();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\t\t\t\t\r\n\t\t\t} else {\r\n\t\t\t\tSwingUtilities.invokeLater(new Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t// update_select_rejected_queue();\r\n\t\t\t\t\t\t// update_select_captured_queue();\r\n\t\t\t\t\t\tupdate_rejected_queue_data();\r\n\t\t\t\t\t\tupdate_captured_queue_data();\t\t\t\t\t\t\r\n\t\t\t\t\t\treject_table.validate();\r\n\t\t\t\t\t\treject_table.updateUI();\r\n\t\t\t\t\t\tcapture_table.validate();\r\n\t\t\t\t\t\tcapture_table.updateUI();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\t\t\t\t\r\n\t\t\t}\r\n\t\t\ttry {\r\n\t\t\t\tThread.sleep(1000 * public_data.PERF_GUI_BASE_INTERVAL);\r\n\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "66e257f1398e80f342e97a9c7677e634", "score": "0.5549092", "text": "@Override\n protected void onPreExecute(){\n }", "title": "" }, { "docid": "528ecbbe1abc2fb8e640272cc74944a0", "score": "0.5548342", "text": "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tshowProgressDialog(0);\n\t\t\tsuper.onPreExecute();\n\t\t}", "title": "" }, { "docid": "73094df025dfd4b9dac98e0e6ca3b442", "score": "0.5544415", "text": "protected abstract void doInBackgroundExtended();", "title": "" }, { "docid": "4774d4e4e058d2f31df41b768f1b5a2c", "score": "0.5541695", "text": "public void updateUi() {\n mNameView.setText(UserSingleton.getInstance().userModel.getProfile().getFirstName() + \" \" + UserSingleton.getInstance().userModel.getProfile().getLastName());\n mEmailView.setText(UserSingleton.getInstance().userModel.getProfile().getEmail());\n if (UserSingleton.getInstance().userModel.getLoanApplications() == null || UserSingleton.getInstance().userModel.getLoanApplications().size() == 0) {\n final ImageView logo = (ImageView) findViewById(R.id.logo);\n\n Runnable action = new Runnable() {\n @Override\n public void run() {\n Interpolator i = new Interpolator() {\n @Override\n public float getInterpolation(float input) {\n float x = input < 1 / 3f ? 2 * input : (1 + input) / 2;\n return (float) Math.sin(x * Math.PI);\n }\n };\n ScaleAnimation anim = new ScaleAnimation(1, 1.2f, 1, 1.2f, logo.getWidth() / 2, logo.getHeight() / 2);\n anim.setRepeatCount(Animation.INFINITE);\n anim.setDuration(750);\n anim.setInterpolator(i);\n logo.startAnimation(anim);\n }\n };\n logo.post(action);\n mEmptyView.setVisibility(View.VISIBLE);\n mListView.setVisibility(View.GONE);\n } else {\n mListView.setAdapter(new LoanApplicationAdapter(UserSingleton.getInstance().userModel.getLoanApplications()));\n mEmptyView.setVisibility(View.GONE);\n mListView.setVisibility(View.VISIBLE);\n }\n }", "title": "" }, { "docid": "db70d4883e00618824bde694ddca910c", "score": "0.55342096", "text": "protected void onPreExecute() {\n\n }", "title": "" }, { "docid": "263aae3ca534996f3acef02696240b92", "score": "0.5533825", "text": "public void run() {\n\n\t\t\t\t\t\tif (moldDetails.isNetworkAvailable()) {\n\n\t\t\t\t\t\t\tnew Thread(new Runnable() {\n\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\t\t\t\t\ta.runOnUiThread(new Runnable() {\n\n\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\n\t\t\t\t\t\t\t\t\t\t\tnew Loading(false, false, a)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.execute();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}).start();\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\talert.setText(\"Unable to connect to the remote server.\\nPlease check internet connection.\");\n\t\t\t\t\t\t\talert.show();\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "title": "" }, { "docid": "600a8276445c48398948aec6c006d701", "score": "0.55334556", "text": "protected void onPreExecute() {\n // Show the progress dialog before starting the download\n // in a background Thread.\n mDownloadContext.showToast(\"downloading via AsyncTask\");\n }", "title": "" }, { "docid": "669a1e9ff1b8edcb36c861d294568e47", "score": "0.5526806", "text": "@Override\n\t\t\t\t\t\tprotected Void doInBackground() throws Exception {\n\t\t\t\t\t\t\tcrawler=new WeiboNewsCrawler(CommonValues.DATA_DIR);\n\t\t\t\t\t\t\tBackButton.setEnabled(false);\n\t\t\t\t\t\t\tCrawlerButton.setEnabled(false);\n\t\t\t\t\t\t\tResetButton.setEnabled(false);\n\t\t\t\t\t\t\tClusterButton.setEnabled(false);\n\t\t\t\t\t\t\tImportButton.setEnabled(false);\n\t\t\t\t\t\t\tCommentCrawlerButton.setEnabled(false);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\teventModel=new DefaultListModel<String>();\n\t\t\t\t\t\t\tEventJlist.setModel(eventModel);\n//\t\t\t\t\t\t\tfinal boolean ccb=CommentCrawlerButton.isEnabled();\n\t\t\t\t\t\t\tCommentCrawlerButton.setEnabled(false);\n\t\t\t\t\t\t\tcrawlerThread=new Thread(new Runnable() {\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\tWindowStatus=0;\n\t\t\t\t\t\t\t\t\t\tori_newsList=crawler.getNews(CommonValues.weiboUsername, CommonValues.weiboPassword, CommonValues.sentenceNumber, CommonValues.crawlerThreadNumber);\n\t\t\t\t\t\t\t\t\t\teventModel=new DefaultListModel<>();\n\t\t\t\t\t\t\t\t\t\tfor (WeiboNewsBean bean : ori_newsList) {\n\t\t\t\t\t\t\t\t\t\t\teventModel.addElement(bean.getContent());\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tEventJlist.setModel(eventModel);\n\t\t\t\t\t\t\t\t\t\tWindowStatus=1;\n\t\t\t\t\t\t\t\t\t\tClusterButton.setEnabled(true);\n\t\t\t\t\t\t\t\t\t\tMyLog.INFO(\"Crawled \"+crawler.NewsNumber+\" Materials,Start Cluseter Please\");\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tMyLog.INFO(\"saving event materials into \"+CommonValues.materialFilePath);\n\t\t\t\t\t\t\t\t\t\t\tMyFileUtil.writeMaterialToFile(ori_newsList, new File(CommonValues.materialFilePath));\n\t\t\t\t\t\t\t\t\t\t\tMyLog.INFO(\"save successful\");\n\t\t\t\t\t\t\t\t\t\t\tMyLog.INFO(\"Start clustering please\");\n\t\t\t\t\t\t\t\t\t\t} catch (Exception e2) {\n\t\t\t\t\t\t\t\t\t\t\t// TODO: handle exception\n\t\t\t\t\t\t\t\t\t\t\tMyLog.INFO(\"saving materials faild\");\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\t\t\t\tWindowStatus=-1;\n\t\t\t\t\t\t\t\t\t\tMyLog.INFO(e.getMessage());\n\t\t\t\t\t\t\t\t\t}finally{\n\t\t\t\t\t\t\t\t\t\tBackButton.setEnabled(true);\n\t\t\t\t\t\t\t\t\t\tCrawlerButton.setEnabled(true);\n\t\t\t\t\t\t\t\t\t\tResetButton.setEnabled(true);\n\t\t\t\t\t\t\t\t\t\tImportButton.setEnabled(true);\n\t\t\t\t\t\t\t\t\t\tStatusProgressBar.setValue(100);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tcrawlerUIThread=new Thread(new Runnable() {\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\twhile (crawlerThread.isAlive()) {\n\t\t\t\t\t\t\t\t\t\t\tStatusLabel.setText(\"Crawling: \"+(int)(((double)crawler.NewsNumber/(double)CommonValues.sentenceNumber)*100)+\"%\");\n\t\t\t\t\t\t\t\t\t\t\tStatusProgressBar.setValue((int)(((double)crawler.NewsNumber/(double)CommonValues.sentenceNumber)*100));\n\t\t\t\t\t\t\t\t\t\t\tlogScrollPane.getVerticalScrollBar().setValue(logScrollPane.getVerticalScrollBar().getMaximum());\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tStatusProgressBar.setValue(100);\n\t\t\t\t\t\t\t\t\t\tStatusLabel.setText(\"Crawling: 100%\");\n\t\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tcrawlerThread.start();\n\t\t\t\t\t\t\tcrawlerUIThread.start();\n\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t}", "title": "" }, { "docid": "5f4bdbfd8359edc927b330338f535de0", "score": "0.55241996", "text": "public void run() {\n ah.CreateCollection();\n adapter.notifyDataSetChanged();\n //Do something to the UI thread here\n }", "title": "" }, { "docid": "400dd4d7e310d461c897cb7e8aded74c", "score": "0.5523542", "text": "public void run() \n {\n \tparsingActivity();\n //setOneTimeAlarm();\n \n \n //---hides the progress bar---\n handler.post(new Runnable() \n {\n public void run() \n {\n //---0 - VISIBLE; 4 - INVISIBLE; 8 - GONE---\n \t\n \tprogressbar.dismiss();\n \tdisplayActivity();\n \n }\n });\n }", "title": "" }, { "docid": "8ae4a17e5daa425c7940051f8bb89303", "score": "0.5521602", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "ca46d390937f8f606cb7bb9c41aca07d", "score": "0.55202615", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.multi_thread_download);\n\t\t\n\t\tinitView();\n\t\t\n\t}", "title": "" }, { "docid": "58daeeceb646f1daa51abd342c42026f", "score": "0.55201733", "text": "public void startProgress() {\n new Thread(new Task(this, urlSource, mViewModel)).start();\n }", "title": "" }, { "docid": "79f0df71a59353431dcf8215ba5ed75f", "score": "0.5517952", "text": "@Override\n protected void onPreExecute()\n {\n progressDialog = ProgressDialog.show(audiolist.this, \"Loading...\",\n \"Loading application View, please wait...\", false, false);\n }", "title": "" }, { "docid": "0947f9e21501b301dce8fdf0b05c125c", "score": "0.55174005", "text": "@Override\n\n protected void onPreExecute() {\n progressDialog = ProgressDialog.show(LoadingScreenActivity.this, \"Loading...\",\n \"Loading models, please wait...\", false, false);\n }", "title": "" }, { "docid": "4f306f523095ff2aaf58018dc4048c3d", "score": "0.5515777", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tnew Thread() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tLog.e(\"liyh\", \"run\");\n\t\t\t\t\t\tfor (int i = 0; i < 1000; i++) {\n\t\t\t\t\t\t\tFFExtractor ff = new FFExtractor();\n\t\t\t\t\t\t\tff.setDataSource(\"http://7xploe.media1.z0.glb.clouddn.com/XMTQ4NzA1Njc0OA==/hd2/p1_185.flv\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tLog.e(\"liyh\", \"run comp\");\n\t\t\t\t\t};\n\t\t\t\t}.start();\n\n\t\t\t}", "title": "" }, { "docid": "41a7c196b1e7eb0df05780a1f9ca6bf1", "score": "0.55148685", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "41a7c196b1e7eb0df05780a1f9ca6bf1", "score": "0.55148685", "text": "protected void onPreExecute() {\n }", "title": "" }, { "docid": "aa4e4be5b60990af3ca0047a3b382213", "score": "0.55122304", "text": "@Override\n protected void onPreExecute() {\n showLoadingProgressDialog();\n }", "title": "" }, { "docid": "af5c0abd9a7cc6c0367d8157d5e7b790", "score": "0.5510492", "text": "protected void cUartDeviceTask() throws IOException {\n if (DEBUG) Log.e(TAG, \"---cUartDeviceTask-------\");\n if(!Rtx_Debug.bGetVirtualUartEnable()) {\n if (UartData.m_UartCommunicationThread == null) {\n //guart.DEBUG = true;\n UartData.m_UartCommunicationThread = new UartCommunication(mContext);\n UartData.m_UartCommunicationThread.start();\n if (DEBUG) Log.e(TAG, \"m_UartCommunicationThread start\");\n }\n }\n else\n {\n if (UartData.m_UartCommunicationVirtualThread == null) {\n //guart.DEBUG = true;\n UartData.m_UartCommunicationVirtualThread = new UartCommunicationVirtual(mContext);\n UartData.m_UartCommunicationVirtualThread.start();\n if (DEBUG) Log.e(TAG, \"m_UartCommunicationVirtualThread start\");\n }\n }\n }", "title": "" }, { "docid": "fa28e1bbac1b997e2d75f2c24d501ca3", "score": "0.55049497", "text": "@Override\n protected Void doInBackground(ImgProc... params){\n in = params[0];\n int nowRunNow;\n VuforiaLocalizer.CloseableFrame frame = null;\n Log.i(\"ImgProcWorkerTask\", \"In doInBackground \" );\n do {\n Log.i(\"ImgProcWorkerTask\", \"In do \");\n// synchronized (in.getFrame()) {\n Log.i(\"ImgProcWorkerTask\", \"In insync do \");\n\n do{\n frame = in.frameq.poll();\n }while(frame == null && !finished);\n\n if(frame == null)return null;\n\n Image img = ImgProc.getImageFromFrame(frame, PIXEL_FORMAT.RGB888);\n Log.i(\"ImgProcWorkerTask\", \"In doInBackground getImfromFrm \"+ img.getPixels().toString() );\n\n in.addAlpha(img.getPixels(), img.getWidth(), img.getHeight());\n// }\n Log.i(\"ImgProcWorkerTask\", \"After setBm \" );\n publishProgress(in);\n Log.i(\"ImgProcWorkerTask\", \"After publishPrg \" );\n //tryAgain.await();\n// do {\n// synchronized (runNow) {\n// nowRunNow = runNow;\n// }\n// } while (!nowRunNow && !finished);\n// synchronized (runNow) {\n// runNow = false;\n// }\n\n synchronized (lockOb) {\n Log.i(\"ImgProcWorkerTask\", \"In Lock \" );\n if (runNow.compareTo(0) > 0 ) runNow--;\n //nowRunNow = runNow;\n\n if (runNow.compareTo(0) == 0) {\n Log.i(\"ImgProcWorkerTask\", \"Before wait \" );\n try {\n lockOb.wait();\n }catch (InterruptedException e){\n e.printStackTrace();\n }\n Log.i(\"ImgProcWorkerTask\", \"After wait \" );\n }\n nowRunNow = runNow;\n }\n Log.i(\"ImgProcWorkerTask\", \"Out do \" );\n } while (nowRunNow != 0 && !finished);\n\n Log.i(\"ImgProcWorkerTask\", \"Exitting\" );\n return null;\n }", "title": "" }, { "docid": "d3639139ce1b8814c25be0e3e7126399", "score": "0.5504364", "text": "@Override\n protected void onPreExecute() {\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5f2cea06c7982393a7af8b3cf451c3d4", "score": "0.0", "text": "@Override\n\t@Transactional(readOnly = true)\n\tpublic List<DetalleFactura> readAll() throws Exception {\n\t\treturn detalleFacturaRepository.findAll();\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "title": "" }, { "docid": "657d87f4ac2918ce5fce84e83ea3855b", "score": "0.64378333", "text": "@Override\n\tpublic void arreglar() {\n\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.6425563", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "16c30d73c1df796c0e31e93eb0f6e02e", "score": "0.64044255", "text": "@Override\r\n\tpublic void atacar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "c598a2e3f3aed7447c40167abd0815be", "score": "0.6325532", "text": "@Override\r\n\tpublic void kanalizasyon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e70d900d759249a14a9d2833c9f92656", "score": "0.62733805", "text": "@Override\r\n\tpublic void elektrik() {\n\t\t\r\n\t}", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.62550694", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "92ca60c14b9e9bf9cfed6703c4ddea43", "score": "0.625003", "text": "@Override\r\n\tpublic void accionar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c9c1a5abdecc0f2e99d3c022b1b7d4ac", "score": "0.6246549", "text": "@Override\n\t\t\tpublic void 볶음밥() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "ea9e446f91664fee1580be3d45fc2e8a", "score": "0.6206874", "text": "@Override\r\n\tpublic void reagir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3a3df32f04eb1c3118fc8ceb69db395d", "score": "0.62005454", "text": "@Override\n\tpublic void curar() {\n\t\t\n\t}", "title": "" }, { "docid": "16170a7948edf0bb8a90dfe0ac4fec33", "score": "0.6192674", "text": "@Override\n\t\t\tpublic void 짜장면() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "f0705d77863f0fa7c516a99a8eca8134", "score": "0.6190625", "text": "private void zbudujSciezkeiRozpocznij() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c8d8ef34882e71054f4c2f0e26e18e7e", "score": "0.61372304", "text": "public void caress() {\n\t\t\n\t}", "title": "" }, { "docid": "88651b7597cbac4485dfc6a19382971e", "score": "0.6063545", "text": "@Override\r\n\tpublic void avisoultimotiro() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.60561824", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ddd6019fcc7107b506799138fa0a4641", "score": "0.60505116", "text": "@Override\r\n\tprotected void initdata() {\n\r\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "4c9e25ea6f293e2f67da562cd4a0b657", "score": "0.60203654", "text": "public final void mo8553EA() {\n }", "title": "" }, { "docid": "482d92acda26fc41523278bb982ed7e9", "score": "0.59988713", "text": "@Override\n\tpublic void platesteContactless() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.59879225", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "ad25be891046838900b37d5cdf75010b", "score": "0.5975695", "text": "@Override\r\n\tpublic void arabaGecer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fafd92e57932ba5c77e0be9480563172", "score": "0.5953944", "text": "@Override\r\n\tvoid init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "95aa3a2220bec980fc9016a4426ee2b7", "score": "0.5948094", "text": "@Override\n\tpublic void comenzar() {\n\t\t\n\t}", "title": "" }, { "docid": "b2775812be4cd009dca27a30c5ce78fa", "score": "0.5938956", "text": "@Override\n\tprotected void fouseChange() {\n\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "82fcae7843e9cd9087f67fad345568b9", "score": "0.59232146", "text": "@Override\n\tpublic void init() { \n\t\t\n\t}", "title": "" }, { "docid": "7c6fed8e399de380b119d83c6b7dec38", "score": "0.5885899", "text": "private MoreEmperor(){\n\n\t}", "title": "" }, { "docid": "9ce75e891f4a6132d9837c33a86f11f3", "score": "0.5884196", "text": "@Override\n\tpublic void getchieurong() {\n\t\t\n\t}", "title": "" }, { "docid": "b049a074b12aea6414b0c3354573a89c", "score": "0.5875572", "text": "@Override\n\t\t\t\tpublic void initialize() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.58509105", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "c77e40bbb43cc49645ce63e31ba6b676", "score": "0.58233273", "text": "@Override\r\n\tpublic void update() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "b4ecae6e31b41ead72d093495b46455a", "score": "0.5810715", "text": "public void mo1410b() {\n }", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.5805753", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "c3d1e72656333e09790dac9abf69fb23", "score": "0.5804777", "text": "@Override\r\n\t\tpublic void acoes() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "c3d1e72656333e09790dac9abf69fb23", "score": "0.5804777", "text": "@Override\r\n\t\tpublic void acoes() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.580369", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9a00431eee28b38391cb5dfa243729d9", "score": "0.57904106", "text": "public void mo4643a() {\n }", "title": "" }, { "docid": "bc3a08c64e443ee86473be048cb9738a", "score": "0.578575", "text": "private void smth() {\n\n\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "afb8d306e46856b05d9138a9c18c646b", "score": "0.57730746", "text": "@Override\r\n\t\tpublic void limpaTela() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "9720bcf5a7868f579b25b5e78dc03e6e", "score": "0.5765882", "text": "@Override\n\tpublic void teclear() {\n\n\t}", "title": "" }, { "docid": "d95a081a1e6e3117f8617a3fbbbe16fd", "score": "0.57630926", "text": "public void mo3871b() {\n }", "title": "" }, { "docid": "ec8745d1f613de3522e52b19973434de", "score": "0.5755148", "text": "@Override\n protected void initialize()\n {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7c095c57d10901c0fda3f8584611b8a8", "score": "0.57481265", "text": "@Override\n protected void init () {\n }", "title": "" }, { "docid": "c081f6b796851b26f184bf0f5bbf469c", "score": "0.5747874", "text": "@Override\n\tpublic void dientich() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94635a88abd93d3624c032aa22ccc337", "score": "0.5731761", "text": "@Override\n\t\t\tpublic void refresh() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "871d03786cbf53026a17aa613aded752", "score": "0.57235676", "text": "@Override\t//初始化方法\r\n\tpublic void init() {\n\t\tsuper.init();\r\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "ba87d3460fb6faa58e5ff893f84e4a7a", "score": "0.5685994", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "9d551589ec00d7b16a77df7a4d54caae", "score": "0.5683637", "text": "@Override\n public void init()\n {\n\n }", "title": "" }, { "docid": "264b73ede67394b8d57db8f3623673db", "score": "0.56786793", "text": "@Override\r\n\tpublic void afterConstruct() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cffc9e76f5aeaa8126396b11e98f261b", "score": "0.5670429", "text": "@Override\n public int describeContents() {\n return 0;\n }", "title": "" }, { "docid": "6c7f3bb62b62ab0efc25de23710ee029", "score": "0.5669814", "text": "@Override\n\tpublic void concentrarse() {\n\t\t\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "b53508b8f07bf95b923a1e913f88fcab", "score": "0.5668746", "text": "@Override\r\n\tpublic void estadoCreaditicio() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1b6ae1f9acb8e538994b7d00bae50317", "score": "0.5664213", "text": "@Override\n\tprotected void skirmish() {\n\n\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.56631064", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "31d4487a868a7dc81dfde93aa95013c4", "score": "0.56630474", "text": "@Override\n\tprotected void initialize() {\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "ec2afced68195dab79cf8503e6907338", "score": "0.5643847", "text": "protected void mo1628b() {\n }", "title": "" }, { "docid": "d5b7380f66253fe7bcac3715637c4dd4", "score": "0.56360185", "text": "@Override\n\tpublic void getInformation() {\n\t\t\n\t}", "title": "" }, { "docid": "d5b7380f66253fe7bcac3715637c4dd4", "score": "0.56360185", "text": "@Override\n\tpublic void getInformation() {\n\t\t\n\t}", "title": "" }, { "docid": "c9e7a86bd469245549d853b1a2c183a3", "score": "0.562041", "text": "@Override\r\n\tpublic void identify() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b2a793cd2e6ec37a2fdb27c90d87a493", "score": "0.5619648", "text": "@Override\r\n\tprotected void initialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "915cd499c707ca694353925d740e0725", "score": "0.5615348", "text": "private void comprimiendo() \n\t{\n\t}", "title": "" }, { "docid": "7da9ad3ab650b64b3e75012a99c0e238", "score": "0.5614612", "text": "public void mo3866a() {\n }", "title": "" }, { "docid": "f347b26e2be487b128dc1646456e0be7", "score": "0.56142163", "text": "@Override\n\t\t\t\tpublic void initialize() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f347b26e2be487b128dc1646456e0be7", "score": "0.56142163", "text": "@Override\n\t\t\t\tpublic void initialize() {\n\n\t\t\t\t}", "title": "" }, { "docid": "504c9d8dc3680e99d5f3450593b02c8d", "score": "0.561124", "text": "@Override\n\t\t\t\tpublic void update() {\n\n\t\t\t\t}", "title": "" }, { "docid": "504c9d8dc3680e99d5f3450593b02c8d", "score": "0.561124", "text": "@Override\n\t\t\t\tpublic void update() {\n\n\t\t\t\t}", "title": "" }, { "docid": "bd5cf567659030cded015505487de3b2", "score": "0.5607615", "text": "@Override\r\n\tpublic void inter11() {\n\t\t\r\n\t}", "title": "" } ]
c249083f0fd6b6a58f5dc3ab0925b416
/ renamed from: j
[ { "docid": "a9399e71a50698d91bff362d5200ed43", "score": "0.0", "text": "public C13168a mo37799j() {\n return new C13168a(this);\n }", "title": "" } ]
[ { "docid": "35a64355150aacab27e078df8573cac5", "score": "0.7280305", "text": "private void j() {\n }", "title": "" }, { "docid": "643f8281e3744a8c5ea7c57c012ffff4", "score": "0.6768452", "text": "@C0195i0\n /* renamed from: j */\n public abstract C3886d mo17166j();", "title": "" }, { "docid": "c0ce669437d5e9d007ebc5e1ad9ac4af", "score": "0.6619346", "text": "public final int j() {\n return 0;\n }", "title": "" }, { "docid": "1938942cc3a594d87e6a23f52a5f0a70", "score": "0.65358216", "text": "private static void j(int k) {\n\t\t\r\n\t}", "title": "" }, { "docid": "e68a959cca145575e5ad91b648a9f4ea", "score": "0.652978", "text": "public abstract awc j();", "title": "" }, { "docid": "864c69273f4df4df74e54832b2226994", "score": "0.63587564", "text": "public bpv j()\r\n/* 113: */ {\r\n/* 114:130 */ return this.d;\r\n/* 115: */ }", "title": "" }, { "docid": "ddb16674f16bab3a39f3ea9b74f410a3", "score": "0.6267253", "text": "C2242d mo3191j(long j);", "title": "" }, { "docid": "f80cd84046ddf0de896f92bde2f2ba88", "score": "0.621829", "text": "public List<Object> jjjj();", "title": "" }, { "docid": "ab7ba4803f7e8a7782fcb782f61f2fa0", "score": "0.6171634", "text": "private void dJ() {\n }", "title": "" }, { "docid": "1fa1bb63083b70456d96abf3c0364da5", "score": "0.6095559", "text": "private java.util.List<cp> j6(cj r21, int r22, int r23, java.util.List<java.lang.String> r24) {\n /*\n r20 = this;\n r16 = new java.util.ArrayList;\n r16.<init>();\n r0 = r21;\n r1 = r22;\n r2 = r23;\n r3 = r22;\n r4 = r23;\n r5 = r0.Zo(r1, r2, r3, r4);\n r0 = r21;\n r1 = r22;\n r2 = r23;\n r3 = r22;\n r4 = r23;\n r6 = r0.FH(r1, r2, r3, r4);\n r7 = -1;\n if (r6 != r7) goto L_0x026c;\n L_0x0024:\n r17 = new ec;\n r17.<init>();\n r6 = r5;\n r15 = r5;\n L_0x002b:\n r5 = -1;\n if (r15 == r5) goto L_0x0267;\n L_0x002e:\n r0 = r21;\n r5 = r0.rN(r15);\n r7 = 133; // 0x85 float:1.86E-43 double:6.57E-322;\n if (r5 != r7) goto L_0x00e8;\n L_0x0038:\n r0 = r21;\n r5 = r0.lg(r15);\n r5 = r5 + -1;\n L_0x0040:\n if (r5 < 0) goto L_0x004a;\n L_0x0042:\n r0 = r21;\n r7 = r0.Hw(r15, r5);\n if (r7 != r6) goto L_0x00df;\n L_0x004a:\n r5 = r5 + -1;\n r14 = r5;\n L_0x004d:\n if (r14 < 0) goto L_0x0256;\n L_0x004f:\n r0 = r21;\n r18 = r0.Hw(r15, r14);\n r0 = r21;\n r1 = r18;\n r5 = r0.rN(r1);\n r6 = 151; // 0x97 float:2.12E-43 double:7.46E-322;\n if (r5 == r6) goto L_0x006d;\n L_0x0061:\n r0 = r21;\n r1 = r18;\n r5 = r0.rN(r1);\n r6 = 152; // 0x98 float:2.13E-43 double:7.5E-322;\n if (r5 != r6) goto L_0x00e3;\n L_0x006d:\n r0 = r21;\n r1 = r18;\n r19 = r0.lg(r1);\n r5 = 1;\n r13 = r5;\n L_0x0077:\n r0 = r19;\n if (r13 >= r0) goto L_0x00e3;\n L_0x007b:\n r0 = r21;\n r1 = r18;\n r5 = r0.Hw(r1, r13);\n r6 = 0;\n r0 = r21;\n r10 = r0.Hw(r5, r6);\n r0 = r21;\n r11 = r0.gW(r10);\n r0 = r17;\n r5 = r0.FH(r11);\n if (r5 != 0) goto L_0x00db;\n L_0x0098:\n r0 = r21;\n r5 = r0.nw(r10);\n r0 = r22;\n if (r5 != r0) goto L_0x00b6;\n L_0x00a2:\n r0 = r21;\n r5 = r0.KD(r10);\n r0 = r23;\n if (r5 > r0) goto L_0x00b6;\n L_0x00ac:\n r0 = r21;\n r5 = r0.ro(r10);\n r0 = r23;\n if (r5 >= r0) goto L_0x00db;\n L_0x00b6:\n r5 = new cp;\n r6 = r21.we();\n r7 = r21.tp();\n r0 = r21;\n r8 = r0.nw(r10);\n r0 = r21;\n r9 = r0.KD(r10);\n r0 = r21;\n r10 = r0.ro(r10);\n r12 = 0;\n r5.<init>(r6, r7, r8, r9, r10, r11, r12);\n r0 = r16;\n r0.add(r5);\n L_0x00db:\n r5 = r13 + 2;\n r13 = r5;\n goto L_0x0077;\n L_0x00df:\n r5 = r5 + -1;\n goto L_0x0040;\n L_0x00e3:\n r5 = r14 + -1;\n r14 = r5;\n goto L_0x004d;\n L_0x00e8:\n r0 = r21;\n r5 = r0.rN(r15);\n r6 = 146; // 0x92 float:2.05E-43 double:7.2E-322;\n if (r5 != r6) goto L_0x0179;\n L_0x00f2:\n r5 = 0;\n r0 = r21;\n r5 = r0.Hw(r15, r5);\n r0 = r21;\n r5 = r0.rN(r5);\n r6 = 124; // 0x7c float:1.74E-43 double:6.13E-322;\n if (r5 == r6) goto L_0x0114;\n L_0x0103:\n r5 = 0;\n r0 = r21;\n r5 = r0.Hw(r15, r5);\n r0 = r21;\n r5 = r0.rN(r5);\n r6 = 125; // 0x7d float:1.75E-43 double:6.2E-322;\n if (r5 != r6) goto L_0x0179;\n L_0x0114:\n r5 = 0;\n r0 = r21;\n r5 = r0.Hw(r15, r5);\n r0 = r21;\n r6 = r0.lg(r15);\n r6 = r6 + -2;\n r0 = r21;\n r14 = r0.Hw(r5, r6);\n r0 = r21;\n r18 = r0.lg(r14);\n r5 = 1;\n r13 = r5;\n L_0x0131:\n r5 = r18 + -1;\n if (r13 >= r5) goto L_0x0256;\n L_0x0135:\n r0 = r21;\n r5 = r0.Hw(r14, r13);\n r6 = 0;\n r0 = r21;\n r10 = r0.Hw(r5, r6);\n r0 = r21;\n r11 = r0.gW(r10);\n r0 = r17;\n r5 = r0.FH(r11);\n if (r5 != 0) goto L_0x0175;\n L_0x0150:\n r5 = new cp;\n r6 = r21.we();\n r7 = r21.tp();\n r0 = r21;\n r8 = r0.nw(r10);\n r0 = r21;\n r9 = r0.KD(r10);\n r0 = r21;\n r10 = r0.ro(r10);\n r12 = 0;\n r5.<init>(r6, r7, r8, r9, r10, r11, r12);\n r0 = r16;\n r0.add(r5);\n L_0x0175:\n r5 = r13 + 2;\n r13 = r5;\n goto L_0x0131;\n L_0x0179:\n r0 = r21;\n r5 = r0.rN(r15);\n r6 = 211; // 0xd3 float:2.96E-43 double:1.042E-321;\n if (r5 != r6) goto L_0x01e4;\n L_0x0183:\n r5 = 2;\n r0 = r21;\n r14 = r0.Hw(r15, r5);\n r0 = r21;\n r5 = r0.rN(r14);\n r6 = 151; // 0x97 float:2.12E-43 double:7.46E-322;\n if (r5 != r6) goto L_0x0256;\n L_0x0194:\n r0 = r21;\n r18 = r0.lg(r14);\n r5 = 1;\n r13 = r5;\n L_0x019c:\n r0 = r18;\n if (r13 >= r0) goto L_0x0256;\n L_0x01a0:\n r0 = r21;\n r5 = r0.Hw(r14, r13);\n r6 = 0;\n r0 = r21;\n r10 = r0.Hw(r5, r6);\n r0 = r21;\n r11 = r0.gW(r10);\n r0 = r17;\n r5 = r0.FH(r11);\n if (r5 != 0) goto L_0x01e0;\n L_0x01bb:\n r5 = new cp;\n r6 = r21.we();\n r7 = r21.tp();\n r0 = r21;\n r8 = r0.nw(r10);\n r0 = r21;\n r9 = r0.KD(r10);\n r0 = r21;\n r10 = r0.ro(r10);\n r12 = 0;\n r5.<init>(r6, r7, r8, r9, r10, r11, r12);\n r0 = r16;\n r0.add(r5);\n L_0x01e0:\n r5 = r13 + 2;\n r13 = r5;\n goto L_0x019c;\n L_0x01e4:\n r0 = r21;\n r5 = r0.rN(r15);\n r6 = 149; // 0x95 float:2.09E-43 double:7.36E-322;\n if (r5 != r6) goto L_0x0256;\n L_0x01ee:\n r5 = 2;\n r0 = r21;\n r5 = r0.Hw(r15, r5);\n r6 = 0;\n r0 = r21;\n r14 = r0.Hw(r5, r6);\n r0 = r21;\n r5 = r0.rN(r14);\n r6 = 151; // 0x97 float:2.12E-43 double:7.46E-322;\n if (r5 != r6) goto L_0x0256;\n L_0x0206:\n r0 = r21;\n r18 = r0.lg(r14);\n r5 = 1;\n r13 = r5;\n L_0x020e:\n r0 = r18;\n if (r13 >= r0) goto L_0x0256;\n L_0x0212:\n r0 = r21;\n r5 = r0.Hw(r14, r13);\n r6 = 0;\n r0 = r21;\n r10 = r0.Hw(r5, r6);\n r0 = r21;\n r11 = r0.gW(r10);\n r0 = r17;\n r5 = r0.FH(r11);\n if (r5 != 0) goto L_0x0252;\n L_0x022d:\n r5 = new cp;\n r6 = r21.we();\n r7 = r21.tp();\n r0 = r21;\n r8 = r0.nw(r10);\n r0 = r21;\n r9 = r0.KD(r10);\n r0 = r21;\n r10 = r0.ro(r10);\n r12 = 0;\n r5.<init>(r6, r7, r8, r9, r10, r11, r12);\n r0 = r16;\n r0.add(r5);\n L_0x0252:\n r5 = r13 + 2;\n r13 = r5;\n goto L_0x020e;\n L_0x0256:\n r0 = r21;\n r5 = r0.aM(r15);\n r6 = r21.Ws();\n if (r5 != r6) goto L_0x0268;\n L_0x0262:\n r5 = -1;\n r6 = r15;\n r15 = r5;\n goto L_0x002b;\n L_0x0267:\n return r16;\n L_0x0268:\n r6 = r15;\n r15 = r5;\n goto L_0x002b;\n L_0x026c:\n r5 = r6;\n goto L_0x0024;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: hj.j6(cj, int, int, java.util.List):java.util.List<cp>\");\n }", "title": "" }, { "docid": "40de048aa01cee3d3279e7cec156502e", "score": "0.60706145", "text": "public void convertToScheduling() {\n/* 42 */ c(this.j);\n/* */ }", "title": "" }, { "docid": "5f08e46ff5e588666db9b2718e5b5cfb", "score": "0.6062675", "text": "void mo30709lJ(int i);", "title": "" }, { "docid": "39f576015a4778b292b86a0103efe2cb", "score": "0.6006998", "text": "public int b() {\n/* 216 */ return this.j;\n/* */ }", "title": "" }, { "docid": "3b27d934ea30689efd52c6af24b481a1", "score": "0.5911036", "text": "@Override\n\tpublic void judeti() {\n\n\t}", "title": "" }, { "docid": "e1161252638f7d6732feb4446e878236", "score": "0.5903604", "text": "public void agregarJug(int j) {\n jug=j;\n }", "title": "" }, { "docid": "544b018de2f1c34e358f27bf89ef6723", "score": "0.5870544", "text": "protected float j()\r\n/* 18: */ {\r\n/* 19: 33 */ return l() ? 0.73F : super.j();\r\n/* 20: */ }", "title": "" }, { "docid": "15486ea1813c8bcdce338a84523bb7c0", "score": "0.586745", "text": "public void mo6392j() {\n }", "title": "" }, { "docid": "fea7a2b12d2393c5b331cdd73164085e", "score": "0.5867378", "text": "private static void problem11() {\n\t\t\n\t}", "title": "" }, { "docid": "87ba6935259257d10183d62722bb2d81", "score": "0.58381706", "text": "void mo1708j();", "title": "" }, { "docid": "4407631d33e172139cac24782231ec17", "score": "0.58271533", "text": "public int j() {\n/* 271 */ return 4;\n/* */ }", "title": "" }, { "docid": "eb5e0d47a7d8245361071f659e822500", "score": "0.575704", "text": "void mo16549e(int i, long j) throws IOException;", "title": "" }, { "docid": "9d474fba49017fe4cd188ed491c0a9b4", "score": "0.57385033", "text": "public abstract void mo81575a(C31479j jVar);", "title": "" }, { "docid": "425295da38b581737c03d20248d5a98b", "score": "0.57031524", "text": "public void Jogada(String p, String j) { //metodo usa como parametro p = posição (validada) e j = jogador\n\t\t\tif(p.equals(\"1\"))\n\t\t\t\ttab[0][0] = j; //se posição 0-0 (ou posição 1) for digitada, vai receber o sinal do jogador (X ou 0)\n\t\t\telse if(p.equals(\"2\"))\n\t\t\t\ttab[0][1] = j;\n\t\t\telse if(p.equals(\"3\"))\n\t\t\t\ttab[0][2] = j;\n\t\t\telse if(p.equals(\"4\"))\n\t\t\t\ttab[1][0] = j;\n\t\t\telse if(p.equals(\"5\"))\n\t\t\t\ttab[1][1] = j;\n\t\t\telse if(p.equals(\"6\"))\n\t\t\t\ttab[1][2] = j;\n\t\t\telse if(p.equals(\"7\"))\n\t\t\t\ttab[2][0] = j;\n\t\t\telse if(p.equals(\"8\"))\n\t\t\t\ttab[2][1] = j;\n\t\t\telse if(p.equals(\"9\"))\n\t\t\t\ttab[2][2] = j;\n\t\t}", "title": "" }, { "docid": "df6efb10be087f4a4d9c15c9a634dbe1", "score": "0.56923276", "text": "C2242d mo3192k(long j);", "title": "" }, { "docid": "711f25a0a52d1b5282bf37125395ef73", "score": "0.56915355", "text": "void mo16537b(int i, long j) throws IOException;", "title": "" }, { "docid": "c37ec7b9324ec46726c5bb7a798fb3f6", "score": "0.5676185", "text": "public final void mJ_() throws RecognitionException {\n try {\n // D:\\\\Gemlite\\\\vmgemlite\\\\Gemlite-bundle\\\\Gemlite-runtime\\\\src\\\\main\\\\resources\\\\CreateIndex.g:38:13: ( 'j' | 'J' )\n // D:\\\\Gemlite\\\\vmgemlite\\\\Gemlite-bundle\\\\Gemlite-runtime\\\\src\\\\main\\\\resources\\\\CreateIndex.g:\n {\n if ( input.LA(1)=='J'||input.LA(1)=='j' ) {\n input.consume();\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;\n }\n\n\n }\n\n\n }\n finally {\n \t// do for sure before leaving\n }\n }", "title": "" }, { "docid": "a9dd62cc73b0f7313f54ecb74df94025", "score": "0.5657671", "text": "public void j() {\n int q = this.f701b.q(8388611);\n if (this.f701b.F(8388611) && q != 2) {\n this.f701b.d(8388611);\n } else if (q != 1) {\n this.f701b.K(8388611);\n }\n }", "title": "" }, { "docid": "36b1e8809e6d2697c3f459103ba2d3c9", "score": "0.56570065", "text": "void mo1833jg();", "title": "" }, { "docid": "a78951b64ceb28d224902fa868d5ae6a", "score": "0.5645819", "text": "public final boolean j() {\n /*\n r1 = this;\n boolean r0 = r1.x\n if (r0 == 0) goto L_0x0010\n android.view.ViewGroup r0 = r1.y\n if (r0 == 0) goto L_0x0010\n boolean r0 = h.h.m.m.x(r0)\n if (r0 == 0) goto L_0x0010\n r0 = 1\n goto L_0x0011\n L_0x0010:\n r0 = 0\n L_0x0011:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: h.b.k.k.j():boolean\");\n }", "title": "" }, { "docid": "b7e8eb577e09805423ccc4a467a44e89", "score": "0.56319124", "text": "void mo1542a(int i, long j, long j2);", "title": "" }, { "docid": "25924d3a8a4109b4292505464c7cccf6", "score": "0.5599498", "text": "void mo44319a(C14041j jVar) throws Exception;", "title": "" }, { "docid": "6198690d5d599662e7b8e4b020ee8af7", "score": "0.5573974", "text": "public abstract String getJ(int ndx) throws PsseModelException;", "title": "" }, { "docid": "6198690d5d599662e7b8e4b020ee8af7", "score": "0.5573974", "text": "public abstract String getJ(int ndx) throws PsseModelException;", "title": "" }, { "docid": "66920e1bacd9d29a0c8fecd7bd8aa9fe", "score": "0.555456", "text": "void mo16526a(int i, C4469bj bjVar) throws IOException;", "title": "" }, { "docid": "aea19f4406e1a9c4c5b34608deb115de", "score": "0.55411005", "text": "public abstract void mo6108j();", "title": "" }, { "docid": "bdc5f9c5ddb7c7e078756ab6bfa925ce", "score": "0.5539046", "text": "int positionJ1X();", "title": "" }, { "docid": "6d4b03b183538020871048802c7d9723", "score": "0.55288047", "text": "void mo16525a(int i, long j) throws IOException;", "title": "" }, { "docid": "bc3e4ebbf468ecfbd9bd7979bf1f200b", "score": "0.55267376", "text": "int mo1843jq();", "title": "" }, { "docid": "7d634779549958ee9b17f497a21cd246", "score": "0.55260164", "text": "void mo16543c(int i, long j) throws IOException;", "title": "" }, { "docid": "c0eb4f9098f4234d6e43bdf30a26c74a", "score": "0.5518081", "text": "void mo7734a(int i, long j);", "title": "" }, { "docid": "e46e9f37d95d62966144992e6ba595d1", "score": "0.551641", "text": "public c j() {\r\n return new c();\r\n }", "title": "" }, { "docid": "42fb805b20fa3b0521c94c1a53fc037f", "score": "0.550554", "text": "void mo16546d(int i, long j) throws IOException;", "title": "" }, { "docid": "fe2c55ecc9f6b93179370d6204b4424d", "score": "0.5502749", "text": "public abstract long mo46702a(long j, long j2);", "title": "" }, { "docid": "2a22aefdca7651887a05b77ca8f319e8", "score": "0.54834706", "text": "public void mo41813c(long j) {\n this.f36209N.mo41813c(j);\n }", "title": "" }, { "docid": "5f5fe7050f536ef909d1bae405c823c0", "score": "0.5471889", "text": "private final long m758a(long j) {\n if (j >= 0) {\n return j > this.f1313a.mo43969a() ? this.f1313a.mo43969a() : j;\n }\n return 0;\n }", "title": "" }, { "docid": "03a33665a49d9d0f2c8d9c9e13a3cc39", "score": "0.5467782", "text": "private void j() throws IOException {\n if (!d && Thread.holdsLock((Object)this)) {\n throw new AssertionError();\n }\n e e2 = this;\n // MONITORENTER : e2\n boolean bl = !this.i.g && this.i.f && (this.c.e || this.c.d);\n boolean bl2 = this.b();\n // MONITOREXIT : e2\n if (bl) {\n this.a(c.a.a.a.l);\n return;\n }\n if (bl2) return;\n this.f.b(this.e);\n }", "title": "" }, { "docid": "7e14207ad8880876f11aa59c2dbbffe7", "score": "0.5452622", "text": "Piece getJPiece();", "title": "" }, { "docid": "d7e0ccaa4741864b9d34fc74563e18cf", "score": "0.54517233", "text": "public void mo7828a(long j) {\n this.f294b = j;\n }", "title": "" }, { "docid": "94e28c9a68eb58b610a67c34238f0238", "score": "0.5446892", "text": "public void b(long j2) {\n HashSet hashSet;\n Throwable th;\n final HashSet hashSet2 = new HashSet();\n this.e.lock();\n long j3 = 0;\n HashSet hashSet3 = null;\n try {\n for (Map.Entry<String, File> entry : this.b.entrySet()) {\n j3 += entry.getValue().length();\n }\n if (j3 <= j2) {\n this.e.unlock();\n return;\n }\n long j4 = (long) (((float) j2) * this.h);\n hashSet = new HashSet();\n try {\n for (Map.Entry<String, File> entry2 : this.b.entrySet()) {\n File value = entry2.getValue();\n if (value == null || !value.exists()) {\n hashSet.add(entry2.getKey());\n } else if (!this.i.c(a(value))) {\n long length = value.length();\n File file = new File(value.getAbsolutePath() + \"-tmp\");\n if (value.renameTo(file)) {\n hashSet2.add(file);\n j3 -= length;\n hashSet.add(entry2.getKey());\n }\n }\n if (j3 <= j4) {\n break;\n }\n }\n Iterator it2 = hashSet.iterator();\n while (it2.hasNext()) {\n this.b.remove((String) it2.next());\n }\n this.e.unlock();\n } catch (Throwable th2) {\n th = th2;\n hashSet3 = hashSet;\n try {\n th.printStackTrace();\n this.e.unlock();\n hashSet = hashSet3;\n while (r13.hasNext()) {\n }\n e.a().execute(new g(1) {\n /* class com.bytedance.sdk.openadsdk.i.a.c.AnonymousClass5 */\n\n @Override // java.lang.Runnable\n public void run() {\n Iterator it2 = hashSet2.iterator();\n while (it2.hasNext()) {\n try {\n ((File) it2.next()).delete();\n } catch (Throwable unused) {\n }\n }\n }\n });\n } catch (Throwable th3) {\n this.e.unlock();\n throw th3;\n }\n }\n for (a aVar : this.f) {\n aVar.a(hashSet);\n }\n e.a().execute(new g(1) {\n /* class com.bytedance.sdk.openadsdk.i.a.c.AnonymousClass5 */\n\n @Override // java.lang.Runnable\n public void run() {\n Iterator it2 = hashSet2.iterator();\n while (it2.hasNext()) {\n try {\n ((File) it2.next()).delete();\n } catch (Throwable unused) {\n }\n }\n }\n });\n } catch (Throwable th4) {\n th = th4;\n th.printStackTrace();\n this.e.unlock();\n hashSet = hashSet3;\n while (r13.hasNext()) {\n }\n e.a().execute(new g(1) {\n /* class com.bytedance.sdk.openadsdk.i.a.c.AnonymousClass5 */\n\n @Override // java.lang.Runnable\n public void run() {\n Iterator it2 = hashSet2.iterator();\n while (it2.hasNext()) {\n try {\n ((File) it2.next()).delete();\n } catch (Throwable unused) {\n }\n }\n }\n });\n }\n }", "title": "" }, { "docid": "1e77c77bb37d8ccbf1a6a1c39fb82213", "score": "0.5417198", "text": "void mo1832jf();", "title": "" }, { "docid": "3c9dfe11f97a13271f5ebf3d12f06366", "score": "0.5410996", "text": "static /* synthetic */ void m31281d(C20227c c20227c, long j) {\n AppMethodBeat.m2504i(18692);\n c20227c.m31286hc(j);\n AppMethodBeat.m2505o(18692);\n }", "title": "" }, { "docid": "f03f859a1e6170117b83b5af8b136068", "score": "0.53934544", "text": "void mo1852jz();", "title": "" }, { "docid": "d20204bc721caa771bee6d419b001a95", "score": "0.5387962", "text": "private int convertIndex(int i, int j)\r\n { return (i-1)*dim+j; }", "title": "" }, { "docid": "1f82487d21c523ffcf33cd4fab3bc4dd", "score": "0.5383978", "text": "public void I(long j) {\n if (j > 0) {\n ac.c(j, TimeUnit.MICROSECONDS);\n }\n }", "title": "" }, { "docid": "7e88d311bf03e7b4219ba57a73470f96", "score": "0.5381569", "text": "hv mo6355f(long j);", "title": "" }, { "docid": "ac4dd1ed85c183f27b3ef229699d5747", "score": "0.5381242", "text": "public final void aVJ() {\n /*\n r15 = this;\n r0 = r15.isJ;\n if (r0 == 0) goto L_0x0008;\n L_0x0004:\n r0 = r15.sMt;\n if (r0 != 0) goto L_0x0009;\n L_0x0008:\n return;\n L_0x0009:\n r0 = r15.sMu;\n r0 = r0.keySet();\n r1 = r0.iterator();\n L_0x0013:\n r0 = r1.hasNext();\n if (r0 == 0) goto L_0x0025;\n L_0x0019:\n r0 = r1.next();\n r0 = (java.lang.String) r0;\n r2 = r15.isJ;\n r2.Te(r0);\n goto L_0x0013;\n L_0x0025:\n r0 = r15.sMu;\n r0.clear();\n r0 = r15.isJ;\n r1 = r15.sMt;\n r1 = r0.indexOf(r1);\n r0 = 0;\n r2 = 0;\n r3 = r15.nsQ;\n if (r3 == 0) goto L_0x0039;\n L_0x0038:\n r0 = 1;\n L_0x0039:\n r3 = r15.nww;\n if (r3 == 0) goto L_0x01e4;\n L_0x003d:\n r3 = r15.sMv;\n if (r3 == 0) goto L_0x004c;\n L_0x0041:\n r3 = r15.sMx;\n r4 = r3.sMP;\n r3 = r3.sMX;\n if (r4 <= r3) goto L_0x0110;\n L_0x0049:\n r3 = 1;\n L_0x004a:\n if (r3 == 0) goto L_0x01e4;\n L_0x004c:\n r2 = 1;\n r7 = r2;\n L_0x004e:\n if (r0 == 0) goto L_0x007b;\n L_0x0050:\n r0 = new com.tencent.mm.pluginsdk.ui.applet.ContactListCustomPreference;\n r2 = r15.context;\n r0.<init>(r2);\n r2 = -1;\n r2 = xq(r2);\n r0.setKey(r2);\n r2 = r15.nsQ;\n r0.setCustomView(r2);\n r2 = com.tencent.mm.plugin.comm.a.c.beo;\n r0.background = r2;\n r2 = r15.sMz;\n r0.oPX = r2;\n r2 = r15.isJ;\n r2.a(r0, r1);\n r2 = r15.sMu;\n r3 = r0.igL;\n r2.put(r3, r0);\n r0 = r1 + 1;\n r1 = r0;\n L_0x007b:\n r0 = r15.sMy;\n if (r0 == 0) goto L_0x0113;\n L_0x007f:\n r0 = r15.sMy;\n r2 = r0;\n L_0x0082:\n r0 = r15.oPX;\n if (r0 == 0) goto L_0x0118;\n L_0x0086:\n r0 = r15.oPX;\n r3 = r0;\n L_0x0089:\n r0 = r15.sMx;\n r0 = r0.sMY;\n r4 = r15.sMx;\n r5 = r4.bEX();\n r4 = com.tencent.mm.sdk.platformtools.bg.mA(r0);\n if (r4 != 0) goto L_0x00a5;\n L_0x0099:\n if (r0 == 0) goto L_0x011d;\n L_0x009b:\n r4 = com.tencent.mm.u.m.xL();\n r0 = r0.equals(r4);\n if (r0 != 0) goto L_0x011d;\n L_0x00a5:\n r0 = 0;\n L_0x00a6:\n r4 = r15.sMx;\n r4 = r4.sMK;\n if (r4 == 0) goto L_0x01e1;\n L_0x00ac:\n r0 = r15.sMx;\n r0 = r0.sML;\n r4 = r0;\n L_0x00b1:\n r0 = r15.sMx;\n r6 = r0.sMQ;\n if (r5 == 0) goto L_0x00b9;\n L_0x00b7:\n if (r4 == 0) goto L_0x011f;\n L_0x00b9:\n r0 = 2;\n L_0x00ba:\n r8 = r6 + r0;\n r6 = 0;\n r5 = r15.sMx;\n r9 = r15.context;\n if (r9 != 0) goto L_0x0121;\n L_0x00c3:\n r0 = 0;\n L_0x00c4:\n r5 = 0;\n L_0x00c5:\n r9 = r15.sMx;\n r9 = r9.getCount();\n if (r5 >= r9) goto L_0x01b8;\n L_0x00cd:\n if (r5 >= r8) goto L_0x01b8;\n L_0x00cf:\n r9 = new com.tencent.mm.pluginsdk.ui.applet.ContactListExpandPreference;\n r10 = r15.context;\n r11 = 1;\n r9.<init>(r10, r11);\n r10 = xq(r6);\n r9.setKey(r10);\n r10 = r9.sNl;\n r11 = r15.sMx;\n r10.sMx = r11;\n r10.row = r6;\n r10.index = r5;\n r10 = r9.sNl;\n r10.sNm = r0;\n r10 = r9.sNl;\n r10.kto = r4;\n r10 = r9.sNl;\n r10.oPX = r3;\n r10 = r9.sNl;\n r11 = r15.sMD;\n r10.sMD = r11;\n r10 = r9.sNl;\n r10.sNn = r2;\n r10 = r15.isJ;\n r11 = r1 + r6;\n r10.a(r9, r11);\n r10 = r15.sMu;\n r11 = r9.igL;\n r10.put(r11, r9);\n r5 = r5 + r0;\n r6 = r6 + 1;\n goto L_0x00c5;\n L_0x0110:\n r3 = 0;\n goto L_0x004a;\n L_0x0113:\n r0 = r15.sMC;\n r2 = r0;\n goto L_0x0082;\n L_0x0118:\n r0 = r15.sMB;\n r3 = r0;\n goto L_0x0089;\n L_0x011d:\n r0 = 1;\n goto L_0x00a6;\n L_0x011f:\n r0 = 1;\n goto L_0x00ba;\n L_0x0121:\n r0 = \"window\";\n r0 = r9.getSystemService(r0);\n r0 = (android.view.WindowManager) r0;\n r0 = r0.getDefaultDisplay();\n r10 = r0.getWidth();\n r0 = r0.getHeight();\n r11 = (float) r10;\n r12 = r9.getResources();\n r13 = com.tencent.mm.plugin.comm.a.b.aXD;\n r12 = r12.getDimension(r13);\n r13 = r9.getResources();\n r14 = com.tencent.mm.plugin.comm.a.b.aXz;\n r13 = r13.getDimension(r14);\n r14 = 1073741824; // 0x40000000 float:2.0 double:5.304989477E-315;\n r13 = r13 * r14;\n r12 = r12 + r13;\n r11 = r11 / r12;\n r12 = 1084227584; // 0x40a00000 float:5.0 double:5.356796015E-315;\n r11 = (r11 > r12 ? 1 : (r11 == r12 ? 0 : -1));\n if (r11 < 0) goto L_0x01a9;\n L_0x0156:\n if (r0 <= r10) goto L_0x01a9;\n L_0x0158:\n r0 = 1;\n r5.sNe = r0;\n L_0x015b:\n r0 = r9.getResources();\n r11 = com.tencent.mm.plugin.comm.a.b.aXz;\n r0 = r0.getDimension(r11);\n r11 = 1073741824; // 0x40000000 float:2.0 double:5.304989477E-315;\n r11 = r11 * r0;\n r0 = r5.sNe;\n if (r0 == 0) goto L_0x01ad;\n L_0x016c:\n r0 = r9.getResources();\n r5 = com.tencent.mm.plugin.comm.a.b.aXD;\n r0 = r0.getDimension(r5);\n L_0x0176:\n r0 = r0 + r11;\n r0 = (int) r0;\n r5 = (float) r10;\n r9 = r9.getResources();\n r10 = com.tencent.mm.plugin.comm.a.b.aXw;\n r9 = r9.getDimension(r10);\n r10 = 1065353216; // 0x3f800000 float:1.0 double:5.263544247E-315;\n r9 = r9 * r10;\n r5 = r5 - r9;\n r0 = (float) r0;\n r0 = r5 / r0;\n r0 = (int) r0;\n r5 = \"MicroMsg.ContactsListArchAdapter\";\n r9 = \"[getWrapColNum] :%s\";\n r10 = 1;\n r10 = new java.lang.Object[r10];\n r11 = 0;\n r12 = java.lang.Integer.valueOf(r0);\n r10[r11] = r12;\n com.tencent.mm.sdk.platformtools.w.i(r5, r9, r10);\n com.tencent.mm.pluginsdk.ui.applet.f.sMH = r0;\n r5 = 4;\n if (r0 != r5) goto L_0x00c4;\n L_0x01a3:\n r5 = 43;\n com.tencent.mm.pluginsdk.ui.applet.f.sMG = r5;\n goto L_0x00c4;\n L_0x01a9:\n r0 = 0;\n r5.sNe = r0;\n goto L_0x015b;\n L_0x01ad:\n r0 = r9.getResources();\n r5 = com.tencent.mm.plugin.comm.a.b.aXB;\n r0 = r0.getDimension(r5);\n goto L_0x0176;\n L_0x01b8:\n if (r7 == 0) goto L_0x0008;\n L_0x01ba:\n r0 = new com.tencent.mm.pluginsdk.ui.applet.ContactListCustomPreference;\n r2 = r15.context;\n r0.<init>(r2);\n r2 = -2;\n r2 = xq(r2);\n r0.setKey(r2);\n r2 = r15.nww;\n r0.setCustomView(r2);\n r2 = r15.sMA;\n r0.oPX = r2;\n r2 = r15.isJ;\n r1 = r1 + r6;\n r2.a(r0, r1);\n r1 = r15.sMu;\n r2 = r0.igL;\n r1.put(r2, r0);\n goto L_0x0008;\n L_0x01e1:\n r4 = r0;\n goto L_0x00b1;\n L_0x01e4:\n r7 = r2;\n goto L_0x004e;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.pluginsdk.ui.applet.e.aVJ():void\");\n }", "title": "" }, { "docid": "bce3bb566aa3a00c5bd09850e014e9a8", "score": "0.5378711", "text": "public final void mo13023a(long j, long j2) {\n View view;\n C9738o.m28712b((View) this.f16592r, 0);\n if (j < j2) {\n m17951a(this.f16586l, 1.0f);\n m17951a(this.f16585k, (((float) j) * 1.0f) / ((float) j2));\n view = this.f16588n;\n } else if (j > j2) {\n m17951a(this.f16585k, 1.0f);\n m17951a(this.f16586l, (((float) j2) * 1.0f) / ((float) j));\n view = this.f16587m;\n } else {\n m17951a(this.f16585k, 1.0f);\n m17951a(this.f16586l, 1.0f);\n this.f16589o.setTextSize(1, 20.0f);\n C9738o.m28704a(this.f16589o, (CharSequence) getContext().getResources().getString(R.string.ffb));\n view = this.f16589o;\n }\n if (this.f16575a.f14254a != 3) {\n if (this.f16570A == view) {\n this.f16570A.setAlpha(1.0f);\n return;\n }\n if (this.f16575a.f14254a != 4) {\n if (this.f16570A != null) {\n m17954b(this.f16570A);\n }\n if (view != null) {\n m17950a(view);\n }\n }\n this.f16570A = view;\n }\n }", "title": "" }, { "docid": "38357601809dd2e97356a7c6ebfcffde", "score": "0.53774816", "text": "private void test() {\n System.out.println(j);\n System.out.println(m);\n }", "title": "" }, { "docid": "b06946403f15dab40b3c471a0ae6c271", "score": "0.53770995", "text": "private long m125479d(long j) {\n long j2 = 0;\n if (this.f101977l.mo97721n() == null || this.f101977l.mo97721n().isEmpty()) {\n return 0;\n }\n for (VideoSegment videoSegment : this.f101977l.mo97721n()) {\n if (!videoSegment.f100768j) {\n float i = ((float) (videoSegment.mo96910i() - videoSegment.mo96909h())) / videoSegment.mo96911j();\n float f = (float) j;\n if (f < i) {\n return (long) (((float) j2) + (f * videoSegment.mo96911j()));\n }\n j2 += videoSegment.mo96910i() - videoSegment.mo96909h();\n j = (long) (f - i);\n }\n }\n return j2;\n }", "title": "" }, { "docid": "0de9c876586d4499d06e4951532c119a", "score": "0.5364714", "text": "public void zza(zzhp[] zzhpArr, long j) {\n }", "title": "" }, { "docid": "46c64cc28da7cf66bbf09bffc337961d", "score": "0.53571546", "text": "public abstract int J(V v);", "title": "" }, { "docid": "dfc2f44b1189a37d760c2c9a21789694", "score": "0.53509074", "text": "private void jahr() {\n\r\n\t}", "title": "" }, { "docid": "9e037347dc97309682f9454c5615a628", "score": "0.5345693", "text": "private void j() {\n com.adincube.sdk.h.b.b b2 = this.f.a(true, true);\n if (!this.v) {\n return;\n }\n if (this.d.getWindowToken() == null) {\n this.r = true;\n return;\n }\n if (!t.a(this.d.getContext())) {\n this.o = true;\n return;\n }\n if (this.c != 0) {\n this.p = true;\n return;\n }\n if (this.d.getVisibility() != 0) {\n this.q = true;\n return;\n }\n if (this.s == -1L && !this.a(b2)) {\n this.l = true;\n this.k.a((View)this.d, b2.F);\n return;\n }\n long l2 = this.s;\n if (l2 <= 0L) {\n l2 = this.f.a((boolean)true, (boolean)true).E;\n }\n if (l2 > 0L) {\n new Object[1][0] = l2;\n com.adincube.sdk.util.a.a a2 = new com.adincube.sdk.util.a.a(this.a, l2);\n a2.b = this.y;\n a2.start();\n b b3 = this;\n synchronized (b3) {\n this.w = a2;\n return;\n }\n }\n }", "title": "" }, { "docid": "29cca8343d5e942b97253b78e14492d8", "score": "0.53342444", "text": "public interface C5759a {\n /* renamed from: jB */\n boolean mo11735jB(int i);\n}", "title": "" }, { "docid": "369b91b6f9052a69601b4e870669adc3", "score": "0.53316736", "text": "private void l__________________________________________________l(){}", "title": "" }, { "docid": "d4407610cebcde010bc0b32bd0d692d9", "score": "0.5330614", "text": "public double getJ(double y){\n int j = (int)((y-SIZE)/SIZE);\n return j;\n }", "title": "" }, { "docid": "799b393b1914d2dd06eb933ece46c082", "score": "0.5329316", "text": "void mo39548a(boolean z, long j);", "title": "" }, { "docid": "2afb2b58c1e820682cbf5b9d7136400b", "score": "0.53263485", "text": "protected void m2261a(long j, long j2) {\n this.f1755c.m2280a(j, j2);\n List<IAsyncWorkProgressListener> linkedList = new LinkedList();\n synchronized (this) {\n linkedList.addAll(this.f1757e);\n }\n for (IAsyncWorkProgressListener c : linkedList) {\n c.mo747c(mo734b());\n }\n }", "title": "" }, { "docid": "40a6f78efa2a73ab7a083d9971e8dbdb", "score": "0.53238875", "text": "public final synchronized void zza(long j) {\r\n zzas zzas = new zzas(this, this.zzf, this.zzi, Math.min(Math.max(30, j << 1), zza));\r\n zza((Runnable) zzas, j);\r\n this.zzj = true;\r\n }", "title": "" }, { "docid": "94b4c2d35e6ecee82c6cf2c6262225b8", "score": "0.53139037", "text": "private long m7812c(long j) {\n return (j * 1000000) / ((long) this.f6587n);\n }", "title": "" }, { "docid": "4cf1e5294971bc98c848e2e318c8100a", "score": "0.53071994", "text": "void mo1829ja();", "title": "" }, { "docid": "2dfa607327d10275b458375f18dd7fd8", "score": "0.5291498", "text": "private static int probe(int perturb, int j)\r\n/* 198: */ {\r\n/* 199:336 */ return (j << 2) + j + perturb + 1;\r\n/* 200: */ }", "title": "" }, { "docid": "b08e919e1fe0d299bfb43f703c7840f7", "score": "0.5290163", "text": "public long mo23966a(T t, long j) {\n return j;\n }", "title": "" }, { "docid": "fd6701f797dfea9f5d486165efe0964c", "score": "0.52824676", "text": "protected abstract wy mo2236d();", "title": "" }, { "docid": "b43fa7e2a5777098062ab3be7b1ac462", "score": "0.5278061", "text": "@Override\n\tpublic void juggle() {\n\t\t\n\t}", "title": "" }, { "docid": "8bb14c21c5cb8f63436bb7d28f2dcea4", "score": "0.5277235", "text": "private final void m23954aJ() throws IOException {\n int i;\n char c;\n int i2 = this.f19268e;\n if (i2 + 4 < this.f19269f) {\n char[] cArr = this.f19445S;\n if (cArr[i2] == 'a') {\n int i3 = i2 + 1;\n if (cArr[i3] == 'l') {\n int i4 = i3 + 1;\n if (cArr[i4] == 's') {\n int i5 = i4 + 1;\n if (cArr[i5] == 'e' && ((c = cArr[(i = i5 + 1)]) < '0' || c == ']' || c == '}')) {\n this.f19268e = i;\n return;\n }\n }\n }\n }\n }\n mo29542a(BUGLY.SDK_IS_DEV, 1);\n }", "title": "" }, { "docid": "d810d89e9d7e99461f59a3f14390bc88", "score": "0.5263479", "text": "public String getJNum () { return jNum; }", "title": "" }, { "docid": "17f81a7b740db5d2887575a5935fea40", "score": "0.52574277", "text": "protected int mo14803d(long j, int i) {\n return i > 52 ? mo14544c(j) : 52;\n }", "title": "" }, { "docid": "935b8c337a646f40018929a755e1d2fa", "score": "0.52559775", "text": "public void mo23308a(long j, long j2) {\n this.f20136e = 0;\n }", "title": "" }, { "docid": "e8b166864da679e8283711ab7a8cda1c", "score": "0.525376", "text": "public boolean mo1187a(long j) {\n return true;\n }", "title": "" }, { "docid": "27c492047a43f37a75d5acd552ca0844", "score": "0.5253559", "text": "private final void m104413s() {\n C1588d dVar;\n List b = mo83305l().mo83289b();\n JSONArray jSONArray = new JSONArray();\n LinkedList linkedList = new LinkedList();\n Iterator it = b.iterator();\n int i = 0;\n while (true) {\n dVar = null;\n if (!it.hasNext()) {\n break;\n }\n int intValue = ((Number) it.next()).intValue();\n C32246j jVar = (C32246j) mo83305l().f83953b.get(intValue);\n C32246j jVar2 = new C32246j(jVar.f84277a, null, null);\n JSONObject jSONObject = new JSONObject();\n i++;\n jSONObject.put(\"select_rank\", i).put(\"show_rank\", intValue + 1).put(\"interest\", C7634n.m23711a(jVar.f84277a, \"&\", \"and\", false));\n jSONArray.put(jSONObject);\n linkedList.add(jVar2);\n }\n C6600e f = new C6607f().mo15991e().mo15992f();\n C32257o oVar = new C32257o(linkedList, C32191a.m104461a(), Integer.valueOf(this.f83990O ^ true ? 1 : 0), null, null, 24, null);\n String b2 = f.mo15979b((Object) oVar);\n C32191a.m104463a(b2);\n if (this.f83990O) {\n C42961az.m136380a(new C32196i(false));\n C32191a.m104464a(true);\n mo83297a(false);\n }\n C32184a.m104450a().uploadInterest(b2).mo19304b(C7333a.m23044b()).mo19280a((C7326g<? super T>) C32176v.f84034a, (C7326g<? super Throwable>) C32177w.f84035a);\n String jSONArray2 = jSONArray.toString();\n C7573i.m23582a((Object) jSONArray2, \"mobJsonArray.toString()\");\n m104406a(false, jSONArray2);\n if (!this.f83990O) {\n finish();\n return;\n }\n this.f84006w = SystemClock.uptimeMillis();\n this.f83994S = new C1590f();\n C1592h a = C1592h.m7848a(2000);\n C1591g xVar = new C32178x(this);\n Executor executor = C1592h.f5958b;\n C1590f fVar = this.f83994S;\n if (fVar != null) {\n dVar = fVar.mo6870b();\n }\n a.mo6877a(xVar, executor, dVar);\n }", "title": "" }, { "docid": "f110cdf63ff8fdae39c2c876e36cc093", "score": "0.52441555", "text": "void mo93757b(Matrix matrix);", "title": "" }, { "docid": "33053e2f1f4583ad8c933c67521f0443", "score": "0.5236538", "text": "void mo25718a(long j, boolean z);", "title": "" }, { "docid": "d5f9c6837ba169c72c5fc59b43e3a491", "score": "0.52353364", "text": "public static JSONObject m29113a(long j) {\n JSONObject jSONObject = new JSONObject();\n try {\n jSONObject.put(\"message\", f26906i);\n jSONObject.put(\"currentMessageCost\", m29126j());\n jSONObject.put(\"currentMessageCpu\", m29122f() - f26902e);\n jSONObject.put(\"currentTick\", f26899b.get());\n } catch (Throwable th) {\n C9875d.m29130a().mo24453a(\"NPTH_CATCH\", th);\n }\n return jSONObject;\n }", "title": "" }, { "docid": "d55e2ae749dff60d48b84142e1f6765e", "score": "0.5233489", "text": "public final void m1025a(long j) {\n this.f1178n++;\n this.f1179o += j;\n }", "title": "" }, { "docid": "b68f203455f17d36cfb8c80280291349", "score": "0.5223978", "text": "public void mo41813c(long j) {\n if (!this.f36327U && C13742j.m58678b(j)) {\n C13747d.m58696a(this.f36326T, j);\n mo42353a();\n }\n }", "title": "" }, { "docid": "0704a2a4b95d51f2ce30279a8a014b4e", "score": "0.52181375", "text": "public void mo6391g() {\n }", "title": "" }, { "docid": "3c0a92e996ec4940b4b51feb115c6599", "score": "0.52174985", "text": "public void jordanElimination() {\n\t\tgaussElimination();\n\t\tfor(int i=2; i<= getColumn()-1; i++) { // kolom terakhir tidak diproses karena berisi b\n\t\t\tfor(int j=1; j< i; j++) {\n\t\t\t\tfloat temp = elmt(j,i);\n\t\t\t\tif(temp != 0) {\n\t\t\t\t\tmultiplyRow(i, temp);\n\t\t\t\t\tsubstractRows(j, i);\n\t\t\t\t\tdivideRow(i, temp);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "66f76462eb0121053379289c39650179", "score": "0.52164704", "text": "public void mo19333b() {\n }", "title": "" }, { "docid": "6b557d42f1f3b2bf51f8c280ff769bd3", "score": "0.521624", "text": "private void useJCF() \r\n {\r\n useDequeStringElement();\r\n useDequeClassificationElement();\r\n }", "title": "" }, { "docid": "612e0650964aac2a76bd19a7cdebc3ff", "score": "0.52149844", "text": "void mo7739a(String str, long j, long j2);", "title": "" }, { "docid": "d03aebfdd11bc0e29bf451e1b16909c9", "score": "0.52083844", "text": "public final void mJ() throws RecognitionException {\n try {\n // /home/nhsan/dremel/workspace/DremelParser/src/dremel/parser/impl/Bql.g:200:11: ( ( 'j' | 'J' ) )\n // /home/nhsan/dremel/workspace/DremelParser/src/dremel/parser/impl/Bql.g:200:12: ( 'j' | 'J' )\n {\n if ( input.LA(1)=='J'||input.LA(1)=='j' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n }\n finally {\n }\n }", "title": "" }, { "docid": "71bb1aaaef90fb323277eb17d811b414", "score": "0.51943845", "text": "private final void m43783a(long j) {\n if (isSelected()) {\n m43789b(j);\n } else {\n m43793c(j);\n }\n }", "title": "" }, { "docid": "ba615048e31f5cdc14cb4f61a16421fc", "score": "0.5191584", "text": "public void mo7831b(long j) {\n this.f295c = j;\n }", "title": "" }, { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.51905864", "text": "protected void method_3848() {}", "title": "" }, { "docid": "dfb287bb490aa74c9111f405d5158c2b", "score": "0.51895916", "text": "boolean mo51539a(long j, long j2, C20239m mVar);", "title": "" }, { "docid": "23ea0093717a7b621fbedf4984de8cd6", "score": "0.5188467", "text": "private long m7813d(long j) {\n return (j * ((long) this.f6587n)) / 1000000;\n }", "title": "" }, { "docid": "26e5ef4fa2d604ac524fb08b5e55d5c3", "score": "0.5188333", "text": "public el i() {\r\n/* 75 */ return this.q;\r\n/* */ }", "title": "" }, { "docid": "bdbd1a29d4bdbf9379c6816f44f0ba79", "score": "0.5185288", "text": "String mo83143j();", "title": "" }, { "docid": "60ad9f91599b0adc61236fc9a5b5c0dc", "score": "0.51796466", "text": "void mo38492b();", "title": "" }, { "docid": "cf215bb2bfe50e909cd45094429f5d99", "score": "0.51734555", "text": "private void m18172b(long j) {\n HashSet hashSet;\n Throwable th;\n final HashSet hashSet2 = new HashSet();\n this.f16200e.lock();\n long j2 = 0;\n try {\n for (Map.Entry<String, File> entry : this.f16197b.entrySet()) {\n j2 += entry.getValue().length();\n }\n if (j2 <= j) {\n this.f16200e.unlock();\n return;\n }\n long j3 = (long) (((float) j) * this.f16203h);\n hashSet = new HashSet();\n try {\n for (Map.Entry<String, File> entry2 : this.f16197b.entrySet()) {\n File value = entry2.getValue();\n if (value == null || !value.exists()) {\n hashSet.add(entry2.getKey());\n } else if (!this.f16204i.mo26396c(m18169a(value))) {\n long length = value.length();\n File file = new File(value.getAbsolutePath() + \"-tmp\");\n if (value.renameTo(file)) {\n hashSet2.add(file);\n j2 -= length;\n hashSet.add(entry2.getKey());\n }\n }\n if (j2 <= j3) {\n break;\n }\n }\n Iterator it = hashSet.iterator();\n while (it.hasNext()) {\n this.f16197b.remove((String) it.next());\n }\n } catch (Throwable th2) {\n th = th2;\n try {\n th.printStackTrace();\n this.f16200e.unlock();\n while (r13.hasNext()) {\n }\n TTExecutor.m18390a().mo26509c(new Runnable() {\n /* class com.bytedance.sdk.openadsdk.p385h.p386a.C3678c.RunnableC36845 */\n\n public void run() {\n Iterator it = hashSet2.iterator();\n while (it.hasNext()) {\n try {\n ((File) it.next()).delete();\n } catch (Throwable unused) {\n }\n }\n }\n }, 1);\n } catch (Throwable th3) {\n this.f16200e.unlock();\n throw th3;\n }\n }\n this.f16200e.unlock();\n for (AbstractC3685a aVar : this.f16201f) {\n aVar.mo26393a(hashSet);\n }\n TTExecutor.m18390a().mo26509c(new Runnable() {\n /* class com.bytedance.sdk.openadsdk.p385h.p386a.C3678c.RunnableC36845 */\n\n public void run() {\n Iterator it = hashSet2.iterator();\n while (it.hasNext()) {\n try {\n ((File) it.next()).delete();\n } catch (Throwable unused) {\n }\n }\n }\n }, 1);\n } catch (Throwable th4) {\n th = th4;\n hashSet = null;\n th.printStackTrace();\n this.f16200e.unlock();\n while (r13.hasNext()) {\n }\n TTExecutor.m18390a().mo26509c(new Runnable() {\n /* class com.bytedance.sdk.openadsdk.p385h.p386a.C3678c.RunnableC36845 */\n\n public void run() {\n Iterator it = hashSet2.iterator();\n while (it.hasNext()) {\n try {\n ((File) it.next()).delete();\n } catch (Throwable unused) {\n }\n }\n }\n }, 1);\n }\n }", "title": "" } ]
8058d1be6491a9481eda1785488e3c5d
Sets the laborTowardsServiceContract attribute of the TicketCSSTMMaintenance object
[ { "docid": "12bca5915e0c78ba4b6dc9680b44b7f6", "score": "0.68661666", "text": "public void setLaborTowardsServiceContract(boolean tmp) {\n this.laborTowardsServiceContract = tmp;\n }", "title": "" } ]
[ { "docid": "97f3ab4f0625c3fc91413414ca1d15d6", "score": "0.65017456", "text": "public void setLaborTowardsServiceContract(String tmp) {\n this.laborTowardsServiceContract = (\"true\".equalsIgnoreCase(tmp) || \"on\".equalsIgnoreCase(\n tmp));\n }", "title": "" }, { "docid": "417dc4be2c0abd9f25d19d7200c30e98", "score": "0.5647795", "text": "public void setTravelTowardsServiceContract(boolean tmp) {\n this.travelTowardsServiceContract = tmp;\n }", "title": "" }, { "docid": "0efc6616fdbce08851a9cf69837f570c", "score": "0.55272007", "text": "public void setTravelTowardsServiceContract(String tmp) {\n this.travelTowardsServiceContract = (\"true\".equalsIgnoreCase(tmp) || \"on\".equalsIgnoreCase(\n tmp));\n }", "title": "" }, { "docid": "a75e2ceedadec27dd0d63577c32bb2f5", "score": "0.54280645", "text": "public boolean getLaborTowardsServiceContract() {\n return laborTowardsServiceContract;\n }", "title": "" }, { "docid": "1453d9adea947f2d6c53744ba2fc762e", "score": "0.5307336", "text": "protected void setMtcTaskPlannedService(MtcTaskPlannedService service) {\n\t\tthis.mtcTaskPlannedService = service;\n\t}", "title": "" }, { "docid": "ca459e0ecb55af1f2a60b28ab2dc99c0", "score": "0.51973844", "text": "protected void setLicenseeclasspracticegroupApprovalsService(LicenseeclasspracticegroupApprovalsService service) {\n this.licenseeclasspracticegroupApprovalsService = service;\n }", "title": "" }, { "docid": "75d811ce9a96055bb020729d72786d09", "score": "0.50365376", "text": "public void xsetTpoServ(cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.ResumenPeriodo.TotalesPeriodo.TotalesServicio.TpoServ tpoServ)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.ResumenPeriodo.TotalesPeriodo.TotalesServicio.TpoServ target = null;\r\n target = (cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.ResumenPeriodo.TotalesPeriodo.TotalesServicio.TpoServ)get_store().find_element_user(TPOSERV$0, 0);\r\n if (target == null)\r\n {\r\n target = (cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.ResumenPeriodo.TotalesPeriodo.TotalesServicio.TpoServ)get_store().add_element_user(TPOSERV$0);\r\n }\r\n target.set(tpoServ);\r\n }\r\n }", "title": "" }, { "docid": "4016b73a63014e7158d1850be10bcf50", "score": "0.4954638", "text": "protected void setWorkPositionResponsibilityService(WorkPositionResponsibilityService service) {\n this.workPositionResponsibilityService = service;\n }", "title": "" }, { "docid": "1de31fbeaac49f0845fcb95b81efb13a", "score": "0.49317572", "text": "@Test\n public void test01_setLoyaltyDiscount() throws Exception {\n new NonStrictExpectations() {\n private @Mocked({\"isLoyaltyDiscountRemovable\"}) PriceConfigService serviceMock;\n {\n serviceMock.isLoyaltyDiscountRemovable(anyInt); result = false;\n }\n };\n try {\n service.setLoyaltyDiscount(loyaltyDiscountId, name, billingBits, discount, start, durationIn, priorityDays, owner);\n fail();\n } catch(IllegalActionException e) {\n assertThat(e.getMessage(), is(\"The Loyalty Discount is in use and can not be modified\"));\n }\n }", "title": "" }, { "docid": "c880cfb6be5747720ca5f73d517249fa", "score": "0.49104482", "text": "public void xsetTpoServ(cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.ResumenSegmento.TotalesSegmento.TotalesServicio.TpoServ tpoServ)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.ResumenSegmento.TotalesSegmento.TotalesServicio.TpoServ target = null;\r\n target = (cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.ResumenSegmento.TotalesSegmento.TotalesServicio.TpoServ)get_store().find_element_user(TPOSERV$0, 0);\r\n if (target == null)\r\n {\r\n target = (cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.ResumenSegmento.TotalesSegmento.TotalesServicio.TpoServ)get_store().add_element_user(TPOSERV$0);\r\n }\r\n target.set(tpoServ);\r\n }\r\n }", "title": "" }, { "docid": "c210147ca943d5eba68e5ab34822002b", "score": "0.48499557", "text": "public void updateServiceContractHours(Connection db) throws SQLException {\n\n if (relatedContractId == -1) {\n return;\n }\n\n String prevTravelTowardsServiceContract = (String) request.getParameter(\n \"prevTravelTowardsServiceContract\");\n String prevLaborTowardsServiceContract = (String) request.getParameter(\n \"prevLaborTowardsServiceContract\");\n String prevTravelMinutes = (String) request.getParameter(\n \"prevTotalTravelMinutes\");\n String prevTravelHours = (String) request.getParameter(\n \"prevTotalTravelHours\");\n String prevLaborMinutes = (String) request.getParameter(\n \"prevTotalLaborMinutes\");\n String prevLaborHours = (String) request.getParameter(\n \"prevTotalLaborHours\");\n int prevTotalHours = 0;\n int prevTotalMinutes = 0;\n double prevHoursUsed = 0;\n if ((\"on\".equals(prevLaborTowardsServiceContract)) || (\"true\".equals(\n prevLaborTowardsServiceContract))) {\n prevTotalHours = prevTotalHours + ((prevLaborHours == null) ? 0 : Integer.parseInt(\n prevLaborHours));\n prevTotalMinutes = prevTotalMinutes + ((prevLaborMinutes == null) ? 0 : Integer.parseInt(\n prevLaborMinutes));\n }\n if ((\"on\".equals(prevTravelTowardsServiceContract)) || (\"true\".equals(\n prevTravelTowardsServiceContract))) {\n prevTotalHours = prevTotalHours + ((prevTravelHours == null) ? 0 : Integer.parseInt(\n prevTravelHours));\n prevTotalMinutes = prevTotalMinutes + ((prevTravelMinutes == null) ? 0 : Integer.parseInt(\n prevTravelMinutes));\n }\n prevHoursUsed = prevTotalHours + ((prevTotalMinutes == 0) ? 0 : (prevTotalMinutes * 1.0) / 60);\n String travelTowardsServiceContract = (String) request.getParameter(\n \"travelTowardsServiceContract\");\n String laborTowardsServiceContract = (String) request.getParameter(\n \"laborTowardsServiceContract\");\n int travelMinutes = getTotalTravelMinutes();\n int travelHours = getTotalTravelHours();\n int laborMinutes = getTotalLaborMinutes();\n int laborHours = getTotalLaborHours();\n int totalHours = 0;\n int totalMinutes = 0;\n double hoursUsed = 0;\n if ((\"on\".equals(laborTowardsServiceContract)) || (\"true\".equals(\n laborTowardsServiceContract))) {\n totalHours = totalHours + laborHours;\n totalMinutes = totalMinutes + laborMinutes;\n }\n if ((\"on\".equals(travelTowardsServiceContract)) || (\"true\".equals(\n travelTowardsServiceContract))) {\n totalHours = totalHours + travelHours;\n totalMinutes = totalMinutes + travelMinutes;\n }\n hoursUsed = totalHours + ((totalMinutes == 0) ? 0 : (totalMinutes * 1.0) / 60);\n\n double netAdjustedHours = prevHoursUsed - hoursUsed;\n ServiceContract.updateHoursRemaining(\n db, this.relatedContractId, netAdjustedHours);\n\n ServiceContractHours sch = new ServiceContractHours();\n sch.setServiceContractId(this.relatedContractId);\n sch.setAdjustmentHours(netAdjustedHours);\n sch.setEnteredBy(getModifiedBy());\n sch.setModifiedBy(getModifiedBy());\n sch.setAdjustmentNotes(\n \"Adjusted due to an activity in ticket #\" + this.linkTicketId);\n sch.insert(db);\n }", "title": "" }, { "docid": "8a3557a7719872db574e7484132f3d84", "score": "0.4848023", "text": "public void xsetTpoServ(cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.Detalle.TpoServ tpoServ)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.Detalle.TpoServ target = null;\r\n target = (cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.Detalle.TpoServ)get_store().find_element_user(TPOSERV$6, 0);\r\n if (target == null)\r\n {\r\n target = (cl.sii.siiDte.libroboletas.LibroBoletaDocument.LibroBoleta.EnvioLibro.Detalle.TpoServ)get_store().add_element_user(TPOSERV$6);\r\n }\r\n target.set(tpoServ);\r\n }\r\n }", "title": "" }, { "docid": "647fb8287357a022e88649c0541622a9", "score": "0.48159745", "text": "public void setOtherStatsTeamCity(java.lang.CharSequence value) {\n\t throw new java.lang.UnsupportedOperationException(\"Set is not supported on tombstones\");\n\t }", "title": "" }, { "docid": "497dc54d8b55a3a41b6ff789fef4d70f", "score": "0.48121142", "text": "public FootballCoach(AssistantCoachService new_asstcoachService) {\n\t\tasstcoachService = new_asstcoachService;\n\t}", "title": "" }, { "docid": "a42ea38e37e3df44ca17c5280dae3a88", "score": "0.4797722", "text": "public abstract void setCentr_cost_sap(java.lang.String newCentr_cost_sap);", "title": "" }, { "docid": "afc0aea943dede478d043d09252feb48", "score": "0.47787008", "text": "public void setServiceTime(float num)\n\t{\n\t\tfor(int i = 0; i < myCashiers.length; i++)\n\t\t{\n\t\t\tmyCashiers[i].setServiceTime(num);\n\t\t}\n\t}", "title": "" }, { "docid": "5d1bdd6bf04d0633618b1e3f5291f106", "score": "0.4763685", "text": "protected void setWorkPositionVacantService(WorkPositionVacantService service) {\n this.workPositionVacantService = service;\n }", "title": "" }, { "docid": "9c6179d4c1c75248d66b5561012eaadc", "score": "0.47633913", "text": "public void supportTeam(TechnicalLead lead) {\n\n TechnicalSupport = lead;\n\n\n }", "title": "" }, { "docid": "cc9f7cff47a138c8cf129bff2067aa84", "score": "0.47536162", "text": "public void setCommitteeService(CommitteeService committeeService) {\n this.committeeService = committeeService;\n }", "title": "" }, { "docid": "283aeda0c6e47fdf4b614d8254f820f8", "score": "0.47319585", "text": "public void setContractor(java.lang.String value);", "title": "" }, { "docid": "1611e72dc02065d267c2b10101e67c03", "score": "0.47308636", "text": "public void setTpoServ(int tpoServ)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TPOSERV$6, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TPOSERV$6);\r\n }\r\n target.setIntValue(tpoServ);\r\n }\r\n }", "title": "" }, { "docid": "78078f506ec19ca1cd1ee0b78b977abc", "score": "0.4726327", "text": "@Test\r\n public void testUpdateContractStatus() {\n this.updateContractStatus();\r\n }", "title": "" }, { "docid": "c63dda9968b2a64e8c626e8a6bdfaff2", "score": "0.47255898", "text": "public void setLaboratoryHours(int laboratoryHours) {\n hoursClasses[1] = laboratoryHours;\n }", "title": "" }, { "docid": "0ecff0417caea05398571b264c0b13ca", "score": "0.47082978", "text": "public void setWorkflowService(WorkflowService service)\n {\n fWorkflowService = service;\n }", "title": "" }, { "docid": "3f61e4bcc4225463f90c31217a3bafd1", "score": "0.47057852", "text": "public void setTpoServ(int tpoServ)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TPOSERV$0, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TPOSERV$0);\r\n }\r\n target.setIntValue(tpoServ);\r\n }\r\n }", "title": "" }, { "docid": "3f61e4bcc4225463f90c31217a3bafd1", "score": "0.47057852", "text": "public void setTpoServ(int tpoServ)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TPOSERV$0, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TPOSERV$0);\r\n }\r\n target.setIntValue(tpoServ);\r\n }\r\n }", "title": "" }, { "docid": "fb6e4dfe131acebc39d4ec60267c1035", "score": "0.47049755", "text": "@Reference(\n policy = ReferencePolicy.DYNAMIC,\n unbind = \"unsetService\"\n )\n public void setService(SchedulerService service) {\n this.service = service;\n }", "title": "" }, { "docid": "29c6f375217451d3d869930753712776", "score": "0.47027463", "text": "public void ticketCreditToAccount()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "607aab0a18967536ae1a5edc1b0172ee", "score": "0.4658847", "text": "@Test\n void setTicketCost() {\n bookingTest.setTicketCost(120.00D);\n assertEquals(120.00D, bookingTest.getTicketCost());\n }", "title": "" }, { "docid": "60b72c8f1686b7c248496a5c76bb55c1", "score": "0.46496344", "text": "@Override\n\tpublic void setLabor_contract_end(java.util.Date labor_contract_end) {\n\t\t_ext_information.setLabor_contract_end(labor_contract_end);\n\t}", "title": "" }, { "docid": "cb70a3252487a649e59375e4faa5e34d", "score": "0.46223482", "text": "public void setContractPrice() {\n int contractPrice;\n // daca are consumatori\n if (contracts.size() != 0) {\n contractPrice = (int) Math.round(Math.floor(infrastructureCost * 1.0 / contracts.size())\n + productionCost + getProfit());\n // daca nu are consumatori\n } else {\n contractPrice = infrastructureCost + productionCost + getProfit();\n }\n super.setContractPrice(contractPrice);\n }", "title": "" }, { "docid": "9bcc78f2fcbb1ff133046e47418de4cd", "score": "0.46216622", "text": "public void setTestReqmtService(ITestReqmtService testReqmtService) {\r\n\t\tthis.testReqmtService = testReqmtService;\r\n\t}", "title": "" }, { "docid": "4e3ff5bdee3363103f8078f7b69ddb60", "score": "0.46084085", "text": "public Service setLab(ServiceLab theValue) {\n\t\tmyLab = theValue;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "05936777eba5230f34f4ae90699722c8", "score": "0.45998654", "text": "public void setSettlementStatus(Boolean settlementStatus) {\r\n this.settlementStatus = settlementStatus;\r\n }", "title": "" }, { "docid": "d79a60e615cef723c3129bb5ceeb9a89", "score": "0.4595403", "text": "public void setTotalLaborHours(int tmp) {\n this.totalLaborHours = tmp;\n }", "title": "" }, { "docid": "097b4c776a47ecbc716410bd1fa26184", "score": "0.45607132", "text": "public void setServiceDueTime(Long serviceDueTime) {\n this.serviceDueTime = serviceDueTime;\n }", "title": "" }, { "docid": "866f9acbcb3c9403b5111083421a28cc", "score": "0.45545048", "text": "public void setCreditingTransaction(entity.TAccountTransaction value);", "title": "" }, { "docid": "564faa8660a2aef15fad43ac58fc340d", "score": "0.45245337", "text": "public void setWorkflowService(WorkflowService workflowService)\r\n {\r\n this.workflowService = workflowService;\r\n }", "title": "" }, { "docid": "bcee4649d01a29721ff61b360fc04b7c", "score": "0.45200148", "text": "@Test\r\n public void testUpdateContractStatusFail() {\n this.updateContractStatusFail();\r\n }", "title": "" }, { "docid": "8a8cd5280808853b818db024a4a87810", "score": "0.45171985", "text": "public boolean getTravelTowardsServiceContract() {\n return travelTowardsServiceContract;\n }", "title": "" }, { "docid": "4a3c4fe513841e9eeabae99ae5e8b608", "score": "0.4515972", "text": "@Test\n\tpublic void testSetEfficiencyLossNorthRoof() \n\t\t\tthrows SolarPowerSystemException {\n\t\tthis.bank.setEfficiencyLossNorthRoof(0.1);\n\t}", "title": "" }, { "docid": "62c3d81730f644881217c4376891e624", "score": "0.4511458", "text": "@Test\n public void test07_setLoyaltyDiscount() throws Exception {\n new NonStrictExpectations() {\n private @Mocked({\"isLoyaltyDiscountRemovable\"}) PriceConfigService serviceMock;\n {\n serviceMock.isLoyaltyDiscountRemovable(anyInt); result = true;\n }\n };\n billingBits = BillingEnum.getBillingBits(BillingEnum.RANGE_SUM_TOTAL);\n //inside range\n durationIn = (BookingManager.MAX_PERIOD_LENGTH * 7);\n service.setLoyaltyDiscount(loyaltyDiscountId, name, billingBits, discount, start, durationIn, priorityDays, owner);\n //out of range\n durationIn = (BookingManager.MAX_PERIOD_LENGTH * 7) + 2;\n try {\n service.setLoyaltyDiscount(loyaltyDiscountId, name, billingBits, discount, start, durationIn, priorityDays, owner);\n fail();\n } catch(IllegalValueException e) {\n assertThat(e.getMessage(), is(\"The duration is greater than the maximum period length in a week\"));\n }\n }", "title": "" }, { "docid": "299a53c26062d57d598038aa80d818de", "score": "0.4507997", "text": "@Test\n public void test02_setLoyaltyDiscount() throws Exception {\n new NonStrictExpectations() {\n private @Mocked({\"isLoyaltyDiscountRemovable\"}) PriceConfigService serviceMock;\n {\n serviceMock.isLoyaltyDiscountRemovable(anyInt); result = true;\n }\n };\n try {\n start = -2;\n service.setLoyaltyDiscount(loyaltyDiscountId, name, billingBits, discount, start, durationIn, priorityDays, owner);\n fail();\n } catch(IllegalValueException e) {\n assertThat(e.getMessage(), is(\"The start value is out of range\"));\n }\n }", "title": "" }, { "docid": "1de38722ad8334bcb53eca5f7346ba73", "score": "0.45066053", "text": "@Test\n public void test03_setLoyaltyDiscount() throws Exception {\n new NonStrictExpectations() {\n private @Mocked({\"isLoyaltyDiscountRemovable\"}) PriceConfigService serviceMock;\n {\n serviceMock.isLoyaltyDiscountRemovable(anyInt); result = true;\n }\n };\n try {\n start = BookingManager.MAX_PERIOD_LENGTH + 1;\n service.setLoyaltyDiscount(loyaltyDiscountId, name, billingBits, discount, start, durationIn, priorityDays, owner);\n fail();\n } catch(IllegalValueException e) {\n assertThat(e.getMessage(), is(\"The start value is out of range\"));\n }\n }", "title": "" }, { "docid": "ecaaa2fcbdf7ab9693e866f2b35842bd", "score": "0.45029134", "text": "protected void setTable10Service(Table10Service service) {\n this.table10Service = service;\n }", "title": "" }, { "docid": "e41695221a7d46c38b3cce1c0b184258", "score": "0.44877326", "text": "@Override\n\tpublic void setLabor_contract_start(java.util.Date labor_contract_start) {\n\t\t_ext_information.setLabor_contract_start(labor_contract_start);\n\t}", "title": "" }, { "docid": "952e6dade9a9b32952909bf629416a9e", "score": "0.44842243", "text": "public void setLaborBaseFundsService(LaborBaseFundsService laborBaseFundsService) {\n this.laborBaseFundsService = laborBaseFundsService;\n }", "title": "" }, { "docid": "599da4f7cd6d28a3c99318919d1cf0db", "score": "0.4483725", "text": "public ServiceLab setService(CodeableConceptDt theValue) {\n\t\tmyService = theValue;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "c053f41445ea1f5b52b4e89a7aef3ef5", "score": "0.4480249", "text": "public void updateContract()\n {\n ASPManager mgr = getASPManager();\n if (!headlay.isEditLayout())\n \t headlay.setLayoutMode(headlay.EDIT_LAYOUT);\n r = headset.getRow();\n r.setValue(\"CONTRACT_ID\",mgr.readValue(\"TEMPCONTRACTID\"));\n r.setValue(\"LINE_NO\",mgr.readValue(\"TEMPLINENO\"));\n headset.setRow(r);\n bValContrId = true;\n }", "title": "" }, { "docid": "2aab36cf2fb572261dc09535d8065c14", "score": "0.44761026", "text": "protected void setListOvertimePayrollService(ListOvertimePayrollService service) {\n\t\tthis.listOvertimePayrollService = service;\n\t}", "title": "" }, { "docid": "ff6fd461f9935c9eb409bb8f5569aad4", "score": "0.4466404", "text": "protected void setEmployeeAssessmentService(EmployeeAssessmentService service) {\n this.employeeAssessmentService = service;\n }", "title": "" }, { "docid": "f40e1466888184560212d736c65ed06c", "score": "0.44624874", "text": "public LottoCentre(int om, int fp, int sp, int tp, int tc) {\n\t\topMoney=om;\n\t\tfPrize=fp;\n\t\tsPrize=sp;\n\t\ttPrize=tp;\n\t\ttCost=tc;\n\t}", "title": "" }, { "docid": "dc03f87657c4d346741c211409aa48ea", "score": "0.4446828", "text": "public void setTeam(Team barcelona) {\n\t\t\n\t}", "title": "" }, { "docid": "9c888b791cfe41d7993fb3414185b84f", "score": "0.44428897", "text": "public void setOtherStatsTeamId(java.lang.Long value) {\n\t throw new java.lang.UnsupportedOperationException(\"Set is not supported on tombstones\");\n\t }", "title": "" }, { "docid": "2d1611f0d36d5078d26b9361ca6970b2", "score": "0.44361454", "text": "@Test\n public void test04_setLoyaltyDiscount() throws Exception {\n new NonStrictExpectations() {\n private @Mocked({\"isLoyaltyDiscountRemovable\"}) PriceConfigService serviceMock;\n {\n serviceMock.isLoyaltyDiscountRemovable(anyInt); result = true;\n }\n };\n try {\n durationIn = -1;\n service.setLoyaltyDiscount(loyaltyDiscountId, name, billingBits, discount, start, durationIn, priorityDays, owner);\n fail();\n } catch(IllegalValueException e) {\n assertThat(e.getMessage(), is(\"The duration value must be a positive value\"));\n }\n }", "title": "" }, { "docid": "cd18b1bcd90dd78d59b79176976fee51", "score": "0.44356707", "text": "public void setFrozenMoney(Long frozenMoney) {\n this.frozenMoney = frozenMoney;\n }", "title": "" }, { "docid": "d94b8cf384ff6a46e25163a0ae0fa65d", "score": "0.44309768", "text": "private void setImmutableProperties(LLILongTermContract newLongTermContractInstance, LLILongTermContract lastLongTermContractInstance) throws Exception {\n }", "title": "" }, { "docid": "ca948e21c5defbe37aa100136a9721b6", "score": "0.4424244", "text": "public void setContestServiceFacade(ContestServiceFacade contestServiceFacade) {\n this.contestServiceFacade = contestServiceFacade;\n }", "title": "" }, { "docid": "8040d9065c8a620286a4f2c8e73f32c2", "score": "0.4412008", "text": "public interface SetTeachPlanSubjectResourcesService {\n public void setResources(long tpsId, String delTpsrIds, String beginTime, String endTime, String resourcesIds, String loginName)throws Exception;\n}", "title": "" }, { "docid": "f38063b6b359d7b5574fe7fa0757a1ff", "score": "0.44106242", "text": "@Test\n public void test06_setLoyaltyDiscount() throws Exception {\n new NonStrictExpectations() {\n private @Mocked({\"isLoyaltyDiscountRemovable\"}) PriceConfigService serviceMock;\n {\n serviceMock.isLoyaltyDiscountRemovable(anyInt); result = true;\n }\n };\n billingBits = BillingEnum.getBillingBits(BillingEnum.RANGE_AT_MOST);\n // inside range\n durationIn = BookingManager.MAX_PERIOD_LENGTH;\n service.setLoyaltyDiscount(loyaltyDiscountId, name, billingBits, discount, start, durationIn, priorityDays, owner);\n // out of range\n durationIn = BookingManager.MAX_PERIOD_LENGTH + 2;\n try {\n service.setLoyaltyDiscount(loyaltyDiscountId, name, billingBits, discount, start, durationIn, priorityDays, owner);\n fail();\n } catch(IllegalValueException e) {\n assertThat(e.getMessage(), is(\"The duration is greater than the maximum period length in a day\"));\n }\n }", "title": "" }, { "docid": "27720516516b39f96b01d8d2511287b0", "score": "0.4396804", "text": "void setCheckout(java.util.Calendar checkout);", "title": "" }, { "docid": "9ca7ba0d2314a53fb437633130392f83", "score": "0.43954396", "text": "public void setWaybillManagerService(\n\t\t\tIWaybillManagerService waybillManagerService) {\n\t\tthis.waybillManagerService = waybillManagerService;\n\t}", "title": "" }, { "docid": "245a7302e98b3ede93585b310dd4910b", "score": "0.43940616", "text": "private void makeMaintenaceRequest(Rig rig, boolean offline, boolean tests, Session db)\n {\n try\n {\n RigClientAsyncService service = new RigClientAsyncService(rig.getName(), db);\n service.setMaintenance(offline, tests, this);\n }\n catch (Exception e)\n {\n this.logger.error(\"Failed calling rig client set maintenance to \" + rig.getName() + \" at \" + \n rig.getContactUrl() + \" because of error \" + e.getMessage() + \".\");\n \n /* Set rig inactive. */\n rig.setInSession(false);\n rig.setOnline(false);\n rig.setOfflineReason(\"Set maintenance operation failed.\");\n rig.setSession(null);\n db.beginTransaction();\n db.flush();\n db.getTransaction().commit();\n \n /* Log when the rig is offline. */\n RigLogDao rigLogDao = new RigLogDao(db);\n rigLogDao.addOfflineLog(rig, \"Set maintenance with failed. Supplied params: offline=\" + offline + \n \", tests=\" + tests + \".\");\n \n /* Fire event the rig is offline. */\n RigEventListener evts[] = RigOperationsActivator.getRigEventListeners();\n for (RigEventListener evt : evts)\n {\n evt.eventOccurred(RigStateChangeEvent.OFFLINE, rig, db);\n }\n }\n }", "title": "" }, { "docid": "1d4ff3221c590f25f3d0dd3da0a913f4", "score": "0.43916914", "text": "protected void setEmployeesService(EmployeesService service) {\n this.employeesService = service;\n }", "title": "" }, { "docid": "dc5ac7cbe2d3bc11aa0fb1f9e6d172ca", "score": "0.4387951", "text": "public interface SalarySettingService {\n\n /**\n * This method returns the disabled setting of the System Parameter controlling Budget module Salary Setting. Disabling Salary\n * Setting will cause any UI controls related to the salary setting functionality to not be displayed. Disabling will also cause\n * associated business rules checks to behave differently or not be run.\n * \n * @return\n */\n public boolean isSalarySettingDisabled();\n\n /**\n * determine whehter the given pending budget construction general ledger is paid at a biweekly or hourly rate\n * \n * @param pendingBudgetConstructionGeneralLedger the given pending budget construction general ledger\n * @return true if the given given pending budget construction general ledger is paid at a biweekly or hourly rate; otherwise,\n * false\n */\n public boolean isHourlyPaid(PendingBudgetConstructionGeneralLedger pendingBudgetConstructionGeneralLedger);\n\n /**\n * determine whehter the given appointment funding is paid at a biweekly or hourly rate\n * \n * @param appointmentFunding the given appointment funding\n * @return true if the given appointment funding is paid at a biweekly or hourly rate; otherwise, false\n */\n public boolean isHourlyPaid(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * determine whehter the given object code is of a biweekly or hourly pay type\n * \n * @param fiscalYear the given fiscal year\n * @param chartOfAccountsCode the given chart of accounts code\n * @param objectCode the given object code\n * @return true if the given object code is of a biweekly or hourly pay type; otherwise, false\n */\n public boolean isHourlyPaidObject(Integer fiscalYear, String chartOfAccountsCode, String objectCode);\n\n /**\n * calculate the hourly pay rate from the request amount in the given appointment funding\n * \n * @param appointmentFunding the given apporintment funding\n * @return the hourly pay rate\n */\n public BigDecimal calculateHourlyPayRate(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * calculate the annual pay amount from the request pay rate in the given appointment funding\n * \n * @param appointmentFunding the given apporintment funding\n * @return the annual pay amount\n */\n public KualiInteger calculateAnnualPayAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * normalize the hourly pay rate and annual pay amount of the given appointment funding\n * \n * @param appointmentFunding the given appointment funding\n */\n public void normalizePayRateAndAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * calculate the fte quantity based on the information of the given appointment funding\n * \n * @param appointmentFunding the given appointment funding\n * @return the fte quantity calculated from the information of the given appointment funding\n */\n public BigDecimal calculateFteQuantityFromAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * calculate the FTE quantity through the given information\n * \n * @param payMonth the given number of pay months\n * @param fundingMonth the given number of funding months\n * @param requestedTimePercent the requested FTE time percent\n * @return the FTE quantity calculated from the given information\n */\n public BigDecimal calculateFteQuantity(Integer payMonth, Integer fundingMonth, BigDecimal requestedTimePercent);\n\n /**\n * calculate the CSF fte quantity based on the information of the given appointment funding\n * \n * @param appointmentFunding\n * @return the CSF fte quantity calculated from the information of the given appointment funding\n */\n public BigDecimal calculateCSFFteQuantityFromAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * calculate the CSF FTE quantity through the given information\n * \n * @param payMonth the given number of pay months\n * @param normalWorkMonth the given number of normal work months\n * @param requestedCSFTimePercent the requested CSF time percent\n * @return the CSF FTE quantity from the given information\n */\n public BigDecimal calculateCSFFteQuantity(Integer payMonth, Integer normalWorkMonth, BigDecimal requestedCSFTimePercent);\n\n /**\n * determine whether the given appointment funding can be vacated\n * \n * @param appointmentFunding the given appointment funding\n * @return true if the given appointment funding can be vacated; otherwise, false\n */\n public boolean canBeVacant(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * determine whehter the given appointment funding can be vacated\n * \n * @param appointmentFundings the given appointment funding collection that the given appointment funding belongs to\n * @param appointmentFunding the given appointment funding\n * @return true if the given appointment funding can be vacated; otherwise, false\n */\n public boolean canBeVacant(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * vacate the given appointment funding and create a vacant appointment funding based on the given funding\n * \n * @param appointmentFunding the given apporintment funding\n * @return a vacant appointment funding\n */\n public PendingBudgetConstructionAppointmentFunding vacateAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * vacate the given appointment funding, create a vacant appointment funding based on the given funding, and add the vacant line\n * into the given appointment funding collection\n * \n * @param appointmentFundings the given appointment funding collection that the given appointment funding belongs to\n * @param appointmentFunding the given apporintment funding\n * @return a vacant appointment funding\n */\n public PendingBudgetConstructionAppointmentFunding vacateAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * permanently delete the given appointment funding lines being purged\n * \n * @param purgedAppointmentFundings the given appointment funding collection being purged\n */\n public void purgeAppointmentFundings(List<PendingBudgetConstructionAppointmentFunding> purgedAppointmentFundings);\n\n /**\n * find the appointment funding from the given appointment funding collection, which has the same key information as the\n * specified vacant appointment funding\n * \n * @param appointmentFundings the given appointment funding collection\n * @param vacantAppointmentFunding the given vacant apporintment funding\n * @return the appointment funding from the given appointment funding collection, which has the same key information as the\n * specified vacant appointment funding\n */\n public PendingBudgetConstructionAppointmentFunding findVacantAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding vacantAppointmentFunding);\n\n /**\n * find the appointment funding from the given appointment funding collection, which has the same key information as the\n * specified appointment funding\n * \n * @param appointmentFundings the given appointment funding collection\n * @param vacantAppointmentFunding the given apporintment funding\n * @return the appointment funding from the given appointment funding collection, which has the same key information as the\n * specified appointment funding\n */\n public PendingBudgetConstructionAppointmentFunding findAppointmentFunding(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * adjust the requested salary amount of the given appointment funding by amount\n * \n * @param appointmentFunding the given appointment funding\n */\n public void adjustRequestedSalaryByAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * adjust the requested salary amount of the given appointment funding by percent\n * \n * @param appointmentFunding the given appointment funding\n */\n public void adjustRequestedSalaryByPercent(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * save the salary setting and its associated appointment funding\n * \n * @param salarySettingExpansion the given salary setting expansion, a pending budget construction GL object\n */\n public void saveSalarySetting(SalarySettingExpansion salarySettingExpansion);\n\n /**\n * save the pending budget general ledger rows associated with a given salary setting expansion\n * this also handles updating the special 2PLG row\n * \n * @param salarySettingExpansion\n */\n public void savePBGLSalarySetting(SalarySettingExpansion salarySettingExpansion);\n\n /**\n * save the given appointment fundings and associated salary setting expansion,\n * also known as, pending budget general ledger row\n * \n * @param appointmentFundings\n * @param isSalarySettingByIncumbent\n */\n public void saveSalarySetting(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, Boolean isSalarySettingByIncumbent);\n\n /**\n * save the given appointment fundings\n * \n * @param appointmentFundings the given appointment funding collection\n */\n public void saveAppointmentFundings(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings);\n\n /**\n * reset the given appointment funcding as deleted\n * \n * @param appointmentFunding the given appointment funcding\n */\n public void resetAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * mark the given appointment funding as deleted\n * \n * @param appointmentFunding the given appointment funding\n */\n public void markAsDelete(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * revert the given appointment funding if it is just vacated\n * \n * @param appointmentFundings the given appointment funding collection\n * @param appointmentFunding the given appointment funding\n */\n public void revert(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings, PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * retrive the salary setting expension from the information provided by the given appointment funding\n * \n * @param appointmentFunding the given appointment funding\n * @return the salary setting expension with the information provided by the given appointment funding\n */\n public SalarySettingExpansion retriveSalarySalarySettingExpansion(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * retrieve a list of PendingBudgetConstructionAppointmentFunding from the information provided by\n * the given SalarySettingExpansion\n * \n * @param salarySettingExpansion\n * @return the list of PendingBudgetConstructionAppointmentFunding\n */\n public List<PendingBudgetConstructionAppointmentFunding> retrievePendingBudgetConstructionAppointmentFundings(SalarySettingExpansion salarySettingExpansion);\n \n /**\n * update the access flags of the given appointment funding according to the given information\n * \n * @param appointmentFunding the given appointment funding\n * @param salarySettingFieldsHolder the field holder that contains the values passed from the user\n * @param budgetByObjectMode the budget by object mode flag\n * @param hasDocumentEditAccess indicates whether the user has edit permission for the budget document (for budget by object)\n * @param person the specified user\n * @return true if the access flags are updated successfully; otherwise, false\n */\n public boolean updateAccessOfAppointmentFunding(PendingBudgetConstructionAppointmentFunding appointmentFunding, SalarySettingFieldsHolder salarySettingFieldsHolder, boolean budgetByObjectMode, boolean hasDocumentEditAccess, Person person);\n\n /**\n * update the access flags of the given appointment funding according to the user level and document organization level\n * \n * @param appointmentFunding the given appointment funding\n * @param person the specified user\n * @return true if the access flags are updated successfully; otherwsie, false\n */\n public boolean updateAccessOfAppointmentFundingByUserLevel(PendingBudgetConstructionAppointmentFunding appointmentFunding, Person person);\n\n /**\n * update the fields before saving the given appointment fundings\n * \n * @param appointmentFundings the given collection of appointment fundings\n */\n public void updateAppointmentFundingsBeforeSaving(List<PendingBudgetConstructionAppointmentFunding> appointmentFundings);\n\n /**\n * update the fields with the values that can be derived from the existing information, for example, hourly rate and FTE\n * \n * @param appointmentFundings the given appointment funding\n */\n public void recalculateDerivedInformation(PendingBudgetConstructionAppointmentFunding appointmentFunding);\n\n /**\n * checks if a reason code has existing appointment funding reasons\n * \n * @param budgetConstructionAppointmentFundingReasonCode\n * @return\n */\n public boolean hasExistingFundingReason(BudgetConstructionAppointmentFundingReasonCode budgetConstructionAppointmentFundingReasonCode);\n}", "title": "" }, { "docid": "fed80998590fab129f050efca401e0ef", "score": "0.4382207", "text": "protected void setCloudletScheduler(CloudletScheduler cloudletScheduler) {\n\t\tthis.cloudletScheduler = cloudletScheduler;\n\t}", "title": "" }, { "docid": "eedd96eceff374b69a6ee833ebd2e250", "score": "0.4371051", "text": "Update withInfrastructureServiceManager(Boolean infrastructureServiceManager);", "title": "" }, { "docid": "71964fad486afb744859dd9c69fad597", "score": "0.43656746", "text": "public void setTariffRentService(TariffRentService tariffRentService) {\r\n\t\tthis.tariffRentService = tariffRentService;\r\n\t}", "title": "" }, { "docid": "667e73e5ecc0c8e26ca5eee63eefd94a", "score": "0.43600065", "text": "public synchronized void setTeamID(int teamID){this.teamID = teamID;}", "title": "" }, { "docid": "7fdd9035ff6c22d8ecea9f41e7eea85d", "score": "0.4358018", "text": "protected void setServiceTimeRemaining(Double value){\n this.serviceTimeRemaining = value;\n }", "title": "" }, { "docid": "40def04154668b7d46aff1d7a1b7e71b", "score": "0.4344919", "text": "public interface IMaintenanceService {\n\n /**\n * Loads the ATM with bills\n *\n * @param valuesur the bill value being added\n * @param count the number of bills being added\n * @return all bills that wasn't accepted by the machine\n * @throws RadbankirExceptionur if the operation failed.\n */\n List<Valuesur> loadBills(Valuesur valuesur, int count) throws RadbankirExceptionur;\n\n /**\n * Shows the status of all trays in the machine.\n *\n * @return a map with all bill trays with the note value as the key and the number of bills as the value\n */\n Map<Valuesur, Integer> getBillTrayStatus();\n\n /**\n * Empties all trays with money\n */\n void emptyBillTrays();\n}", "title": "" }, { "docid": "88c4a3d4fb50e403b0923830ba3b9268", "score": "0.43416846", "text": "public void setFortuneService(FortuneService fortuneService) {\r\n\t\tSystem.out.println(\"CricketCoach: Inside setter method - setFortuneService\");\r\n\t\tthis.fortuneService = fortuneService;\r\n\t}", "title": "" }, { "docid": "5573f340a0fb7e913d3fb243b2ea9a61", "score": "0.43395272", "text": "public void setTeamRep(Debate d);", "title": "" }, { "docid": "44e75498344e28c0ea0113c9f1838db8", "score": "0.43339655", "text": "protected void setWorkPositionService(WorkPositionService service) {\n this.workPositionService = service;\n }", "title": "" }, { "docid": "ecf32b47130245f632233acda8abb88b", "score": "0.43307397", "text": "public interface ContractSchedulerService {\n\n void doCancel(String contractId);\n\n void cancleForUnpay()throws Exception;\n\n void cancleForUnpayAlittle()throws Exception;\n\n void accountsAnalyse();\n\n void chargeAssignTimeProduct();\n\n}", "title": "" }, { "docid": "494ffe60204007c0baac78c56b226503", "score": "0.43277925", "text": "public void clickSettlementTab ()\r\n\t{\r\n\t\tWebDriverWait wait = new WebDriverWait (driver, GlobalWaitTime.getIntWaitTime ());\r\n\t\twait.until (ExpectedConditions.elementToBeClickable (orClaimMOJActions.tabSettlement));\r\n\t\torClaimMOJActions.tabSettlement.click ();\r\n\r\n\t}", "title": "" }, { "docid": "417ac3da6f4c83672dd5498b5a2e165d", "score": "0.43257368", "text": "public void setContractEffectiveTime(Date contractEffectiveTime) {\n this.contractEffectiveTime = contractEffectiveTime;\n }", "title": "" }, { "docid": "e9d1faf8207a570f41cfb86d2535cae8", "score": "0.43240052", "text": "public void reimburseHoursAfterDelete(Connection db) throws SQLException {\n\n if (relatedContractId == -1) {\n return;\n }\n\n int totalHours = 0;\n int totalMinutes = 0;\n double hoursUsed = 0;\n if (this.laborTowardsServiceContract) {\n totalHours = totalHours + this.totalLaborHours;\n totalMinutes = totalMinutes + this.totalLaborMinutes;\n }\n if (this.travelTowardsServiceContract) {\n totalHours = totalHours + this.totalTravelHours;\n totalMinutes = totalMinutes + this.totalTravelMinutes;\n }\n hoursUsed = totalHours + ((totalMinutes == 0) ? 0 : (totalMinutes * 1.0) / 60);\n\n ServiceContract.updateHoursRemaining(\n db, this.relatedContractId, hoursUsed);\n\n ServiceContractHours sch = new ServiceContractHours();\n sch.setServiceContractId(this.relatedContractId);\n sch.setAdjustmentHours(hoursUsed);\n sch.setEnteredBy(getModifiedBy());\n sch.setModifiedBy(getModifiedBy());\n sch.setAdjustmentNotes(\n \"Reimbursement due to deletion of an activity in ticket #\" + this.linkTicketId);\n sch.insert(db);\n }", "title": "" }, { "docid": "44dda66674c2d23a37b7042555c0212d", "score": "0.43212116", "text": "void putStockHoliday();", "title": "" }, { "docid": "d934ec6cc35aed083630e706866704cc", "score": "0.43195492", "text": "public void setService(Object service);", "title": "" }, { "docid": "1c531d8aaa33ab6dfeac4ebdd671d948", "score": "0.43183738", "text": "@Test\r\n public void testContract() {\n this.updateContract();\r\n this.updateContractStatus();\r\n this.updateLoanGrant();\r\n this.updateRepaymentPlanInfo();\r\n this.updateLoanRecoveryInfo();\r\n }", "title": "" }, { "docid": "1dbd4ce85946c2888537be5960e031d5", "score": "0.43158284", "text": "public void setServiceDefinition(ServiceDefinition serviceDefinition)\n/* */ {\n/* 135 */ this.serviceDefinition = serviceDefinition;\n/* */ }", "title": "" }, { "docid": "55e50d2412981f9331f41237f13f77ac", "score": "0.431488", "text": "protected void setPracticegroupService(PracticegroupService service) {\n\t\tthis.practicegroupService = service;\n\t}", "title": "" }, { "docid": "f2407943d5b7dc8af13a1d85aadb706f", "score": "0.43109939", "text": "protected void setLicenseepracticeineligibilityreasonService(LicenseepracticeineligibilityreasonService service) {\n this.licenseepracticeineligibilityreasonService = service;\n }", "title": "" }, { "docid": "62633d8f2cf6452c1329c625be2ff3da", "score": "0.43080086", "text": "public void setLaborInquiryOptionsService(LaborInquiryOptionsService laborInquiryOptionsService) {\n this.laborInquiryOptionsService = laborInquiryOptionsService;\n }", "title": "" }, { "docid": "71593bb8cdbccc548f9c7c374dbfd5b9", "score": "0.43060055", "text": "public void setIsMaintenance(boolean aFlag) {\r\n isMaintenance = aFlag;\r\n }", "title": "" }, { "docid": "746d1287c4dcdfcd9c541eb27334882e", "score": "0.43031308", "text": "public void setOtherStatsTeamAbbreviation(java.lang.CharSequence value) {\n\t throw new java.lang.UnsupportedOperationException(\"Set is not supported on tombstones\");\n\t }", "title": "" }, { "docid": "5bcb237b62345cda1e12c31c5b1aa8db", "score": "0.4294789", "text": "@Test\n\tpublic void switchPayFeeInGvtOffTest() {\n\t\tString authorization = null;\n\t\t// Void response = api.switchPayFeeInGvtOff(authorization);\n\n\t\t// TODO: test validations\n\t}", "title": "" }, { "docid": "dad6ff67f131c6a525077b799100f3c5", "score": "0.4293631", "text": "public void setOtherStatsTeamCity(java.lang.CharSequence value) {\n this.otherStatsTeamCity = value;\n setDirty(5);\n }", "title": "" }, { "docid": "81fcabb9089606db19fd5206a7323d0c", "score": "0.4289472", "text": "public void setCompanyService(CompanyService companyService){\n\t\tthis.companyService = companyService;\n\t}", "title": "" }, { "docid": "2412ae44d4ab5c0b3a699da942a557be", "score": "0.42815542", "text": "public Builder setContract(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n contract_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2412ae44d4ab5c0b3a699da942a557be", "score": "0.42815542", "text": "public Builder setContract(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n contract_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2412ae44d4ab5c0b3a699da942a557be", "score": "0.42815542", "text": "public Builder setContract(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n contract_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d459b59ac3f6c06812698b495317d377", "score": "0.4279655", "text": "public void setTeam(String team) {\r\n this.team = team;\r\n }", "title": "" }, { "docid": "d459b59ac3f6c06812698b495317d377", "score": "0.4279655", "text": "public void setTeam(String team) {\r\n this.team = team;\r\n }", "title": "" }, { "docid": "d459b59ac3f6c06812698b495317d377", "score": "0.4279655", "text": "public void setTeam(String team) {\r\n this.team = team;\r\n }", "title": "" }, { "docid": "58977a5f01b4955fbb9a365af1f454d2", "score": "0.42773736", "text": "public void adjustRequestedSalaryByAmount(PendingBudgetConstructionAppointmentFunding appointmentFunding);", "title": "" }, { "docid": "ae581b801c5a4ec000ccb60b7f19f1c5", "score": "0.42680186", "text": "protected void setWorkPositionPerformanceIndicatorService(WorkPositionPerformanceIndicatorService service) {\n this.workPositionPerformanceIndicatorService = service;\n }", "title": "" }, { "docid": "5fb8117bf727ba1443d0991e1db7350d", "score": "0.42654964", "text": "protected void setWorkPositionScopeService(WorkPositionScopeService service) {\n this.workPositionScopeService = service;\n }", "title": "" }, { "docid": "23cc4fe36d02ec0c8f008ca1d1703b9a", "score": "0.4254402", "text": "@Test\n\tpublic void testSetEfficiencyLossWestRoof() \n\t\t\tthrows SolarPowerSystemException {\n\t\tthis.bank.setEfficiencyLossWestRoof(0.1);\n\t}", "title": "" } ]
0fa5b9fc94e43d69a45030520f2f0116
/ JADX WARNING: Code restructure failed: missing block: B:32:0x00d6, code lost: r0 = th; / JADX WARNING: Code restructure failed: missing block: B:41:?, code lost: r1.L$0 = r0; r1.L$1 = r2; r1.L$2 = r5; r1.L$3 = r9; r1.L$4 = r6; r1.L$5 = r7; r1.L$6 = r8; r1.L$7 = r10; r1.L$8 = r3; r1.label = 1; r12 = r3.hasNext(r1); / JADX WARNING: Code restructure failed: missing block: B:42:0x0112, code lost: if (r12 != r11) goto L_0x0115; / JADX WARNING: Code restructure failed: missing block: B:43:0x0114, code lost: return r11; / JADX WARNING: Code restructure failed: missing block: B:44:0x0115, code lost: r15 = r11; r11 = r2; r2 = r15; r16 = r10; r10 = r5; r5 = r16; r17 = r8; r8 = r6; r6 = r17; / JADX WARNING: Code restructure failed: missing block: B:47:0x0128, code lost: if (((java.lang.Boolean) r12).booleanValue() == false) goto L_0x0183; / JADX WARNING: Code restructure failed: missing block: B:48:0x012a, code lost: r1.L$0 = r0; r1.L$1 = r11; r1.L$2 = r10; r1.L$3 = r9; r1.L$4 = r8; r1.L$5 = r7; r1.L$6 = r6; r1.L$7 = r5; r1.L$8 = r3; r1.label = 2; r12 = r3.next(r1); / JADX WARNING: Code restructure failed: missing block: B:49:0x0143, code lost: if (r12 != r2) goto L_0x0146; / JADX WARNING: Code restructure failed: missing block: B:50:0x0145, code lost: return r2; / JADX WARNING: Code restructure failed: missing block: B:51:0x0146, code lost: r13 = r9.element; r9.element = r13 + 1; r13 = r10.invoke(kotlin.coroutines.jvm.internal.Boxing.boxInt(r13), r12); r1.L$0 = r0; r1.L$1 = r11; r1.L$2 = r10; r1.L$3 = r9; r1.L$4 = r8; r1.L$5 = r7; r1.L$6 = r6; r1.L$7 = r5; r1.L$8 = r3; r1.L$9 = r12; r1.L$10 = r12; r1.label = 3; / JADX WARNING: Code restructure failed: missing block: B:52:0x0171, code lost: if (r11.send(r13, r1) != r2) goto L_0x0174; / JADX WARNING: Code restructure failed: missing block: B:53:0x0173, code lost: return r2; / JADX WARNING: Code restructure failed: missing block: B:54:0x0174, code lost: r15 = r11; r11 = r2; r2 = r15; r16 = r10; r10 = r5; r5 = r16; r17 = r8; r8 = r6; r6 = r17; / JADX WARNING: Code restructure failed: missing block: B:55:0x0183, code lost: r0 = kotlin.Unit.INSTANCE; / JADX WARNING: Code restructure failed: missing block: B:56:0x0185, code lost: kotlin.jvm.internal.InlineMarker.finallyStart(1); r7.cancel(r6); kotlin.jvm.internal.InlineMarker.finallyEnd(1); / JADX WARNING: Code restructure failed: missing block: B:57:0x018e, code lost: return r11; / JADX WARNING: Code restructure failed: missing block: B:58:0x018f, code lost: r0 = th; / JADX WARNING: Code restructure failed: missing block: B:59:0x0190, code lost: r6 = r8; / JADX WARNING: Removed duplicated region for block: B:10:0x002f / JADX WARNING: Removed duplicated region for block: B:17:0x0070 / JADX WARNING: Removed duplicated region for block: B:24:0x00a2 / JADX WARNING: Removed duplicated region for block: B:32:0x00d6 A[ExcHandler: Throwable (th java.lang.Throwable), PHI: r7 PHI: (r7v8 kotlinx.coroutines.channels.ReceiveChannel) = (r7v2 kotlinx.coroutines.channels.ReceiveChannel), (r7v3 kotlinx.coroutines.channels.ReceiveChannel), (r7v10 kotlinx.coroutines.channels.ReceiveChannel), (r7v12 kotlinx.coroutines.channels.ReceiveChannel), (r7v14 kotlinx.coroutines.channels.ReceiveChannel) binds: [B:45:0x0122, B:40:0x00fa, B:25:0x00c6, B:18:0x0094, B:11:0x0057] A[DONT_GENERATE, DONT_INLINE], Splitter:B:45:0x0122] / JADX WARNING: Removed duplicated region for block: B:34:0x00da / JADX WARNING: Removed duplicated region for block: B:8:0x0027
[ { "docid": "59b0d9422fafee52242058a5658485f3", "score": "0.0", "text": "@org.jetbrains.annotations.Nullable\n @kotlinx.coroutines.ObsoleteCoroutinesApi\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public static final <E, R, C extends kotlinx.coroutines.channels.SendChannel<? super R>> java.lang.Object mapIndexedTo(@org.jetbrains.annotations.NotNull kotlinx.coroutines.channels.ReceiveChannel<? extends E> r18, @org.jetbrains.annotations.NotNull C r19, @org.jetbrains.annotations.NotNull kotlin.jvm.functions.Function2<? super java.lang.Integer, ? super E, ? extends R> r20, @org.jetbrains.annotations.NotNull kotlin.coroutines.Continuation<? super C> r21) {\n /*\n r0 = r21\n boolean r1 = r0 instanceof kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$mapIndexedTo$3\n if (r1 == 0) goto L_0x0016\n r1 = r0\n kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$mapIndexedTo$3 r1 = (kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$mapIndexedTo$3) r1\n int r2 = r1.label\n r3 = -2147483648(0xffffffff80000000, float:-0.0)\n r2 = r2 & r3\n if (r2 == 0) goto L_0x0016\n int r0 = r1.label\n int r0 = r0 - r3\n r1.label = r0\n goto L_0x001b\n L_0x0016:\n kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$mapIndexedTo$3 r1 = new kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$mapIndexedTo$3\n r1.<init>(r0)\n L_0x001b:\n java.lang.Object r0 = r1.result\n java.lang.Object r2 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()\n int r3 = r1.label\n r4 = 1\n switch(r3) {\n case 0: goto L_0x00da;\n case 1: goto L_0x00a2;\n case 2: goto L_0x0070;\n case 3: goto L_0x002f;\n default: goto L_0x0027;\n }\n L_0x0027:\n java.lang.IllegalStateException r0 = new java.lang.IllegalStateException\n java.lang.String r1 = \"call to 'resume' before 'invoke' with coroutine\"\n r0.<init>(r1)\n throw r0\n L_0x002f:\n java.lang.Object r3 = r1.L$10\n java.lang.Object r3 = r1.L$9\n java.lang.Object r3 = r1.L$8\n kotlinx.coroutines.channels.ChannelIterator r3 = (kotlinx.coroutines.channels.ChannelIterator) r3\n java.lang.Object r5 = r1.L$7\n kotlinx.coroutines.channels.ReceiveChannel r5 = (kotlinx.coroutines.channels.ReceiveChannel) r5\n java.lang.Object r6 = r1.L$6\n java.lang.Throwable r6 = (java.lang.Throwable) r6\n java.lang.Object r7 = r1.L$5\n kotlinx.coroutines.channels.ReceiveChannel r7 = (kotlinx.coroutines.channels.ReceiveChannel) r7\n java.lang.Object r8 = r1.L$4\n kotlinx.coroutines.channels.ReceiveChannel r8 = (kotlinx.coroutines.channels.ReceiveChannel) r8\n java.lang.Object r9 = r1.L$3\n kotlin.jvm.internal.Ref$IntRef r9 = (kotlin.jvm.internal.Ref.IntRef) r9\n java.lang.Object r10 = r1.L$2\n kotlin.jvm.functions.Function2 r10 = (kotlin.jvm.functions.Function2) r10\n java.lang.Object r11 = r1.L$1\n kotlinx.coroutines.channels.SendChannel r11 = (kotlinx.coroutines.channels.SendChannel) r11\n java.lang.Object r12 = r1.L$0\n kotlinx.coroutines.channels.ReceiveChannel r12 = (kotlinx.coroutines.channels.ReceiveChannel) r12\n boolean r13 = r0 instanceof kotlin.Result.Failure // Catch:{ Throwable -> 0x00d6 }\n if (r13 != 0) goto L_0x006b\n r0 = r12\n r15 = r11\n r11 = r2\n r2 = r15\n r16 = r10\n r10 = r5\n r5 = r16\n r17 = r8\n r8 = r6\n r6 = r17\n goto L_0x00fa\n L_0x006b:\n kotlin.Result$Failure r0 = (kotlin.Result.Failure) r0 // Catch:{ Throwable -> 0x00d6 }\n java.lang.Throwable r0 = r0.exception // Catch:{ Throwable -> 0x00d6 }\n throw r0 // Catch:{ Throwable -> 0x00d6 }\n L_0x0070:\n java.lang.Object r3 = r1.L$8\n kotlinx.coroutines.channels.ChannelIterator r3 = (kotlinx.coroutines.channels.ChannelIterator) r3\n java.lang.Object r5 = r1.L$7\n kotlinx.coroutines.channels.ReceiveChannel r5 = (kotlinx.coroutines.channels.ReceiveChannel) r5\n java.lang.Object r6 = r1.L$6\n java.lang.Throwable r6 = (java.lang.Throwable) r6\n java.lang.Object r7 = r1.L$5\n kotlinx.coroutines.channels.ReceiveChannel r7 = (kotlinx.coroutines.channels.ReceiveChannel) r7\n java.lang.Object r8 = r1.L$4\n kotlinx.coroutines.channels.ReceiveChannel r8 = (kotlinx.coroutines.channels.ReceiveChannel) r8\n java.lang.Object r9 = r1.L$3\n kotlin.jvm.internal.Ref$IntRef r9 = (kotlin.jvm.internal.Ref.IntRef) r9\n java.lang.Object r10 = r1.L$2\n kotlin.jvm.functions.Function2 r10 = (kotlin.jvm.functions.Function2) r10\n java.lang.Object r11 = r1.L$1\n kotlinx.coroutines.channels.SendChannel r11 = (kotlinx.coroutines.channels.SendChannel) r11\n java.lang.Object r12 = r1.L$0\n kotlinx.coroutines.channels.ReceiveChannel r12 = (kotlinx.coroutines.channels.ReceiveChannel) r12\n boolean r13 = r0 instanceof kotlin.Result.Failure // Catch:{ Throwable -> 0x00d6 }\n if (r13 != 0) goto L_0x009d\n r15 = r12\n r12 = r0\n r0 = r15\n goto L_0x0146\n L_0x009d:\n kotlin.Result$Failure r0 = (kotlin.Result.Failure) r0 // Catch:{ Throwable -> 0x00d6 }\n java.lang.Throwable r0 = r0.exception // Catch:{ Throwable -> 0x00d6 }\n throw r0 // Catch:{ Throwable -> 0x00d6 }\n L_0x00a2:\n java.lang.Object r3 = r1.L$8\n kotlinx.coroutines.channels.ChannelIterator r3 = (kotlinx.coroutines.channels.ChannelIterator) r3\n java.lang.Object r5 = r1.L$7\n kotlinx.coroutines.channels.ReceiveChannel r5 = (kotlinx.coroutines.channels.ReceiveChannel) r5\n java.lang.Object r6 = r1.L$6\n java.lang.Throwable r6 = (java.lang.Throwable) r6\n java.lang.Object r7 = r1.L$5\n kotlinx.coroutines.channels.ReceiveChannel r7 = (kotlinx.coroutines.channels.ReceiveChannel) r7\n java.lang.Object r8 = r1.L$4\n kotlinx.coroutines.channels.ReceiveChannel r8 = (kotlinx.coroutines.channels.ReceiveChannel) r8\n java.lang.Object r9 = r1.L$3\n kotlin.jvm.internal.Ref$IntRef r9 = (kotlin.jvm.internal.Ref.IntRef) r9\n java.lang.Object r10 = r1.L$2\n kotlin.jvm.functions.Function2 r10 = (kotlin.jvm.functions.Function2) r10\n java.lang.Object r11 = r1.L$1\n kotlinx.coroutines.channels.SendChannel r11 = (kotlinx.coroutines.channels.SendChannel) r11\n java.lang.Object r12 = r1.L$0\n kotlinx.coroutines.channels.ReceiveChannel r12 = (kotlinx.coroutines.channels.ReceiveChannel) r12\n boolean r13 = r0 instanceof kotlin.Result.Failure // Catch:{ Throwable -> 0x00d6 }\n if (r13 != 0) goto L_0x00ce\n r15 = r12\n r12 = r0\n r0 = r15\n goto L_0x0122\n L_0x00ce:\n kotlin.Result$Failure r0 = (kotlin.Result.Failure) r0 // Catch:{ Throwable -> 0x00d6 }\n java.lang.Throwable r0 = r0.exception // Catch:{ Throwable -> 0x00d6 }\n throw r0 // Catch:{ Throwable -> 0x00d6 }\n L_0x00d3:\n r0 = move-exception\n goto L_0x019c\n L_0x00d6:\n r0 = move-exception\n L_0x00d7:\n r6 = r0\n goto L_0x019b\n L_0x00da:\n boolean r3 = r0 instanceof kotlin.Result.Failure\n if (r3 != 0) goto L_0x01a6\n kotlin.jvm.internal.Ref$IntRef r0 = new kotlin.jvm.internal.Ref$IntRef\n r0.<init>()\n r3 = 0\n r0.element = r3\n r3 = 0\n r6 = r3\n java.lang.Throwable r6 = (java.lang.Throwable) r6\n kotlinx.coroutines.channels.ChannelIterator r3 = r18.iterator() // Catch:{ Throwable -> 0x0196, all -> 0x0192 }\n r7 = r18\n r10 = r7\n r5 = r20\n r9 = r0\n r11 = r2\n r8 = r6\n r0 = r10\n r6 = r0\n r2 = r19\n L_0x00fa:\n r1.L$0 = r0 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.L$1 = r2 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.L$2 = r5 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.L$3 = r9 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.L$4 = r6 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.L$5 = r7 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.L$6 = r8 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.L$7 = r10 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.L$8 = r3 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n r1.label = r4 // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n java.lang.Object r12 = r3.hasNext(r1) // Catch:{ Throwable -> 0x00d6, all -> 0x018f }\n if (r12 != r11) goto L_0x0115\n return r11\n L_0x0115:\n r15 = r11\n r11 = r2\n r2 = r15\n r16 = r10\n r10 = r5\n r5 = r16\n r17 = r8\n r8 = r6\n r6 = r17\n L_0x0122:\n java.lang.Boolean r12 = (java.lang.Boolean) r12 // Catch:{ Throwable -> 0x00d6 }\n boolean r12 = r12.booleanValue() // Catch:{ Throwable -> 0x00d6 }\n if (r12 == 0) goto L_0x0183\n r1.L$0 = r0 // Catch:{ Throwable -> 0x00d6 }\n r1.L$1 = r11 // Catch:{ Throwable -> 0x00d6 }\n r1.L$2 = r10 // Catch:{ Throwable -> 0x00d6 }\n r1.L$3 = r9 // Catch:{ Throwable -> 0x00d6 }\n r1.L$4 = r8 // Catch:{ Throwable -> 0x00d6 }\n r1.L$5 = r7 // Catch:{ Throwable -> 0x00d6 }\n r1.L$6 = r6 // Catch:{ Throwable -> 0x00d6 }\n r1.L$7 = r5 // Catch:{ Throwable -> 0x00d6 }\n r1.L$8 = r3 // Catch:{ Throwable -> 0x00d6 }\n r12 = 2\n r1.label = r12 // Catch:{ Throwable -> 0x00d6 }\n java.lang.Object r12 = r3.next(r1) // Catch:{ Throwable -> 0x00d6 }\n if (r12 != r2) goto L_0x0146\n return r2\n L_0x0146:\n int r13 = r9.element // Catch:{ Throwable -> 0x00d6 }\n int r14 = r13 + 1\n r9.element = r14 // Catch:{ Throwable -> 0x00d6 }\n java.lang.Integer r13 = kotlin.coroutines.jvm.internal.Boxing.boxInt(r13) // Catch:{ Throwable -> 0x00d6 }\n java.lang.Object r13 = r10.invoke(r13, r12) // Catch:{ Throwable -> 0x00d6 }\n r1.L$0 = r0 // Catch:{ Throwable -> 0x00d6 }\n r1.L$1 = r11 // Catch:{ Throwable -> 0x00d6 }\n r1.L$2 = r10 // Catch:{ Throwable -> 0x00d6 }\n r1.L$3 = r9 // Catch:{ Throwable -> 0x00d6 }\n r1.L$4 = r8 // Catch:{ Throwable -> 0x00d6 }\n r1.L$5 = r7 // Catch:{ Throwable -> 0x00d6 }\n r1.L$6 = r6 // Catch:{ Throwable -> 0x00d6 }\n r1.L$7 = r5 // Catch:{ Throwable -> 0x00d6 }\n r1.L$8 = r3 // Catch:{ Throwable -> 0x00d6 }\n r1.L$9 = r12 // Catch:{ Throwable -> 0x00d6 }\n r1.L$10 = r12 // Catch:{ Throwable -> 0x00d6 }\n r12 = 3\n r1.label = r12 // Catch:{ Throwable -> 0x00d6 }\n java.lang.Object r12 = r11.send(r13, r1) // Catch:{ Throwable -> 0x00d6 }\n if (r12 != r2) goto L_0x0174\n return r2\n L_0x0174:\n r15 = r11\n r11 = r2\n r2 = r15\n r16 = r10\n r10 = r5\n r5 = r16\n r17 = r8\n r8 = r6\n r6 = r17\n goto L_0x00fa\n L_0x0183:\n kotlin.Unit r0 = kotlin.Unit.INSTANCE // Catch:{ Throwable -> 0x00d6 }\n kotlin.jvm.internal.InlineMarker.finallyStart(r4)\n r7.cancel(r6)\n kotlin.jvm.internal.InlineMarker.finallyEnd(r4)\n return r11\n L_0x018f:\n r0 = move-exception\n r6 = r8\n goto L_0x019c\n L_0x0192:\n r0 = move-exception\n r7 = r18\n goto L_0x019c\n L_0x0196:\n r0 = move-exception\n r7 = r18\n goto L_0x00d7\n L_0x019b:\n throw r6 // Catch:{ all -> 0x00d3 }\n L_0x019c:\n kotlin.jvm.internal.InlineMarker.finallyStart(r4)\n r7.cancel(r6)\n kotlin.jvm.internal.InlineMarker.finallyEnd(r4)\n throw r0\n L_0x01a6:\n kotlin.Result$Failure r0 = (kotlin.Result.Failure) r0\n java.lang.Throwable r0 = r0.exception\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt.mapIndexedTo(kotlinx.coroutines.channels.ReceiveChannel, kotlinx.coroutines.channels.SendChannel, kotlin.jvm.functions.Function2, kotlin.coroutines.Continuation):java.lang.Object\");\n }", "title": "" } ]
[ { "docid": "fd74bb57367c1f8af87b2f288e17d844", "score": "0.74549717", "text": "protected void m2672g() {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: Can't find block by offset: 0x0067 in list [B:7:0x005a, B:13:0x004f]\n\tat jadx.core.utils.BlockUtils.getBlockByOffset(BlockUtils.java:43)\n\tat jadx.core.dex.instructions.IfNode.initBlocks(IfNode.java:60)\n\tat jadx.core.dex.visitors.blocksmaker.BlockFinish.initBlocksInIfNodes(BlockFinish.java:48)\n\tat jadx.core.dex.visitors.blocksmaker.BlockFinish.visit(BlockFinish.java:33)\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*/\n /*\n r10 = this;\n r0 = r10.f1945m;\n r0.beginTransaction();\n r0 = new org.json.JSONObject;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0.<init>();\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r1 = \"block_state\";\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r2 = r10.f1938f;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0.put(r1, r2);\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r1 = \"downloaded_length\";\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r2 = r10.f1939g;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0.put(r1, r2);\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r1 = new android.content.ContentValues;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r1.<init>();\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r2 = \"runtime_info\";\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0 = r0.toString();\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r1.put(r2, r0);\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0 = r10.f1945m;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r2 = \"blocks\";\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r3 = \"block_id=?\";\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r4 = 1;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r4 = new java.lang.String[r4];\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r5 = 0;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r6 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r6.<init>();\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r7 = \"\";\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r6 = r6.append(r7);\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r8 = r10.f1933a;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r6 = r6.append(r8);\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r6 = r6.toString();\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r4[r5] = r6;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0.update(r2, r1, r3, r4);\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0 = r10.f1945m;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0.setTransactionSuccessful();\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0 = r10.f1945m;\n r0.endTransaction();\n L_0x0054:\n return;\n L_0x0055:\n r0 = move-exception;\n r0 = f1931p;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n if (r0 != 0) goto L_0x0067;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n L_0x005a:\n r0 = new java.lang.AssertionError;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n r0.<init>();\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n throw r0;\t Catch:{ Exception -> 0x0055, all -> 0x0060 }\n L_0x0060:\n r0 = move-exception;\n r1 = r10.f1945m;\n r1.endTransaction();\n throw r0;\n L_0x0067:\n r0 = r10.f1945m;\n r0.endTransaction();\n goto L_0x0054;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.duokan.reader.common.download.DownloadBlock.g():void\");\n }", "title": "" }, { "docid": "ff1cc35c34ff654442d006d0b067c8a3", "score": "0.7248921", "text": "public void m2658a(long r12) {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: Can't find block by offset: 0x006a in list [B:13:0x005d, B:19:0x0052]\n\tat jadx.core.utils.BlockUtils.getBlockByOffset(BlockUtils.java:43)\n\tat jadx.core.dex.instructions.IfNode.initBlocks(IfNode.java:60)\n\tat jadx.core.dex.visitors.blocksmaker.BlockFinish.initBlocksInIfNodes(BlockFinish.java:48)\n\tat jadx.core.dex.visitors.blocksmaker.BlockFinish.visit(BlockFinish.java:33)\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*/\n /*\n r11 = this;\n r0 = f1931p;\n if (r0 != 0) goto L_0x0012;\n L_0x0004:\n r0 = r11.f1936d;\n r2 = -1;\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 == 0) goto L_0x0012;\n L_0x000c:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x0012:\n r11.f1936d = r12;\n r0 = r11.f1945m;\n r0.beginTransaction();\n r0 = new android.content.ContentValues;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r0.<init>();\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r1 = \"block_length\";\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r2 = r11.f1936d;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r2 = java.lang.Long.valueOf(r2);\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r0.put(r1, r2);\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r1 = r11.f1945m;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r2 = \"blocks\";\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r3 = \"block_id=?\";\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r4 = 1;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r4 = new java.lang.String[r4];\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r5 = 0;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r6 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r6.<init>();\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r7 = \"\";\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r6 = r6.append(r7);\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r8 = r11.f1933a;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r6 = r6.append(r8);\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r6 = r6.toString();\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r4[r5] = r6;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r1.update(r2, r0, r3, r4);\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r0 = r11.f1945m;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r0.setTransactionSuccessful();\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r0 = r11.f1945m;\n r0.endTransaction();\n L_0x0057:\n return;\n L_0x0058:\n r0 = move-exception;\n r0 = f1931p;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n if (r0 != 0) goto L_0x006a;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n L_0x005d:\n r0 = new java.lang.AssertionError;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n r0.<init>();\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n throw r0;\t Catch:{ Exception -> 0x0058, all -> 0x0063 }\n L_0x0063:\n r0 = move-exception;\n r1 = r11.f1945m;\n r1.endTransaction();\n throw r0;\n L_0x006a:\n r0 = r11.f1945m;\n r0.endTransaction();\n goto L_0x0057;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.duokan.reader.common.download.DownloadBlock.a(long):void\");\n }", "title": "" }, { "docid": "e436d8cd66106654dd5cef421917ca48", "score": "0.7038385", "text": "public synchronized void mo24b() {\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 r4 = this;\n monitor-enter(r4);\n r0 = r4.f2338d;\t Catch:{ all -> 0x001b }\n if (r0 == 0) goto L_0x0007;\n L_0x0005:\n monitor-exit(r4);\n return;\n L_0x0007:\n r0 = 1;\n r4.f2338d = r0;\t Catch:{ all -> 0x001b }\n r4.mo2013j();\t Catch:{ all -> 0x001b }\n r4.mo1934e();\t Catch:{ IOException -> 0x0010 }\n L_0x0010:\n r0 = r4.f2335a;\t Catch:{ all -> 0x001b }\n r1 = r4.f2339e;\t Catch:{ all -> 0x001b }\n r3 = java.util.concurrent.TimeUnit.MILLISECONDS;\t Catch:{ all -> 0x001b }\n r0.mo70a(r4, r1, r3);\t Catch:{ all -> 0x001b }\n monitor-exit(r4);\n return;\n L_0x001b:\n r0 = move-exception;\n monitor-exit(r4);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.a.a.a.i.c.a.b():void\");\n }", "title": "" }, { "docid": "9167ab3f32b41c66f471215b896b9278", "score": "0.6927784", "text": "public final int m26324a(com.facebook.flatbuffers.FlatBufferBuilder r5) {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: SSA rename variables already executed\n\tat jadx.core.dex.visitors.ssa.SSATransform.renameVariables(SSATransform.java:120)\n\tat jadx.core.dex.visitors.ssa.SSATransform.process(SSATransform.java:52)\n\tat jadx.core.dex.visitors.ssa.SSATransform.visit(SSATransform.java:42)\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:37)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:59)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:42)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r4 = this;\n r4.h();\n r0 = r4.m26328b();\n r0 = r5.b(r0);\n r1 = r4.m26323j();\n r1 = com.facebook.graphql.modelutil.ModelHelper.a(r5, r1);\n r2 = r4.m26330d();\n r2 = r5.a(r2);\n r3 = 4;\n r5.c(r3);\n r3 = null;\n r5.b(r3, r0);\n r0 = 1;\n r3 = r4.f24157e;\n r5.a(r0, r3);\n r0 = 2;\n r5.b(r0, r1);\n r0 = 3;\n r5.b(r0, r2);\n r4.i();\n r0 = r5.d();\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.a(com.facebook.flatbuffers.FlatBufferBuilder):int\");\n }", "title": "" }, { "docid": "b137ba0e12f38d6d1c13536a1893c41d", "score": "0.6787305", "text": "private void m25933f() throws java.io.IOException {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r8 = this;\n r0 = r8.f22022c;\n r1 = r8.f22024e;\n r0 = r0.source(r1);\n r0 = okio.C15976k.a(r0);\n r1 = r0.readUtf8LineStrict();\t Catch:{ all -> 0x00ad }\n r2 = r0.readUtf8LineStrict();\t Catch:{ all -> 0x00ad }\n r3 = r0.readUtf8LineStrict();\t Catch:{ all -> 0x00ad }\n r4 = r0.readUtf8LineStrict();\t Catch:{ all -> 0x00ad }\n r5 = r0.readUtf8LineStrict();\t Catch:{ all -> 0x00ad }\n r6 = \"libcore.io.DiskLruCache\";\t Catch:{ all -> 0x00ad }\n r6 = r6.equals(r1);\t Catch:{ all -> 0x00ad }\n if (r6 == 0) goto L_0x0079;\t Catch:{ all -> 0x00ad }\n L_0x0028:\n r6 = \"1\";\t Catch:{ all -> 0x00ad }\n r6 = r6.equals(r2);\t Catch:{ all -> 0x00ad }\n if (r6 == 0) goto L_0x0079;\t Catch:{ all -> 0x00ad }\n L_0x0030:\n r6 = r8.f22027h;\t Catch:{ all -> 0x00ad }\n r6 = java.lang.Integer.toString(r6);\t Catch:{ all -> 0x00ad }\n r3 = r6.equals(r3);\t Catch:{ all -> 0x00ad }\n if (r3 == 0) goto L_0x0079;\t Catch:{ all -> 0x00ad }\n L_0x003c:\n r3 = r8.f22029j;\t Catch:{ all -> 0x00ad }\n r3 = java.lang.Integer.toString(r3);\t Catch:{ all -> 0x00ad }\n r3 = r3.equals(r4);\t Catch:{ all -> 0x00ad }\n if (r3 == 0) goto L_0x0079;\t Catch:{ all -> 0x00ad }\n L_0x0048:\n r3 = \"\";\t Catch:{ all -> 0x00ad }\n r3 = r3.equals(r5);\t Catch:{ all -> 0x00ad }\n if (r3 != 0) goto L_0x0051;\n L_0x0050:\n goto L_0x0079;\n L_0x0051:\n r1 = 0;\n L_0x0052:\n r2 = r0.readUtf8LineStrict();\t Catch:{ EOFException -> 0x005c }\n r8.m25927d(r2);\t Catch:{ EOFException -> 0x005c }\n r1 = r1 + 1;\n goto L_0x0052;\n L_0x005c:\n r2 = r8.f22032m;\t Catch:{ all -> 0x00ad }\n r2 = r2.size();\t Catch:{ all -> 0x00ad }\n r1 = r1 - r2;\t Catch:{ all -> 0x00ad }\n r8.f22033n = r1;\t Catch:{ all -> 0x00ad }\n r1 = r0.exhausted();\t Catch:{ all -> 0x00ad }\n if (r1 != 0) goto L_0x006f;\t Catch:{ all -> 0x00ad }\n L_0x006b:\n r8.m25938i();\t Catch:{ all -> 0x00ad }\n goto L_0x0075;\t Catch:{ all -> 0x00ad }\n L_0x006f:\n r1 = r8.m25935g();\t Catch:{ all -> 0x00ad }\n r8.f22031l = r1;\t Catch:{ all -> 0x00ad }\n L_0x0075:\n com.squareup.okhttp.internal.C6058i.m26247a(r0);\n return;\n L_0x0079:\n r3 = new java.io.IOException;\t Catch:{ all -> 0x00ad }\n r6 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00ad }\n r6.<init>();\t Catch:{ all -> 0x00ad }\n r7 = \"unexpected journal header: [\";\t Catch:{ all -> 0x00ad }\n r6.append(r7);\t Catch:{ all -> 0x00ad }\n r6.append(r1);\t Catch:{ all -> 0x00ad }\n r1 = \", \";\t Catch:{ all -> 0x00ad }\n r6.append(r1);\t Catch:{ all -> 0x00ad }\n r6.append(r2);\t Catch:{ all -> 0x00ad }\n r1 = \", \";\t Catch:{ all -> 0x00ad }\n r6.append(r1);\t Catch:{ all -> 0x00ad }\n r6.append(r4);\t Catch:{ all -> 0x00ad }\n r1 = \", \";\t Catch:{ all -> 0x00ad }\n r6.append(r1);\t Catch:{ all -> 0x00ad }\n r6.append(r5);\t Catch:{ all -> 0x00ad }\n r1 = \"]\";\t Catch:{ all -> 0x00ad }\n r6.append(r1);\t Catch:{ all -> 0x00ad }\n r1 = r6.toString();\t Catch:{ all -> 0x00ad }\n r3.<init>(r1);\t Catch:{ all -> 0x00ad }\n throw r3;\t Catch:{ all -> 0x00ad }\n L_0x00ad:\n r1 = move-exception;\n com.squareup.okhttp.internal.C6058i.m26247a(r0);\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.squareup.okhttp.internal.b.f():void\");\n }", "title": "" }, { "docid": "ac525bcb10e77c479aded9934b569af4", "score": "0.658004", "text": "public final int m26320a(com.facebook.flatbuffers.FlatBufferBuilder r3) {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: SSA rename variables already executed\n\tat jadx.core.dex.visitors.ssa.SSATransform.renameVariables(SSATransform.java:120)\n\tat jadx.core.dex.visitors.ssa.SSATransform.process(SSATransform.java:52)\n\tat jadx.core.dex.visitors.ssa.SSATransform.visit(SSATransform.java:42)\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:37)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:59)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:42)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r2 = this;\n r2.h();\n r0 = r2.m26322a();\n r0 = com.facebook.graphql.modelutil.ModelHelper.a(r3, r0);\n r1 = 1;\n r3.c(r1);\n r1 = null;\n r3.b(r1, r0);\n r2.i();\n r0 = r3.d();\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.SouvenirMediaModel.a(com.facebook.flatbuffers.FlatBufferBuilder):int\");\n }", "title": "" }, { "docid": "4a628bb9f75564bdf555825d638c1ed4", "score": "0.6487709", "text": "public final void m26327a(com.facebook.flatbuffers.MutableFlatBuffer r2, int r3, java.lang.Object r4) {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: SSA rename variables already executed\n\tat jadx.core.dex.visitors.ssa.SSATransform.renameVariables(SSATransform.java:120)\n\tat jadx.core.dex.visitors.ssa.SSATransform.process(SSATransform.java:52)\n\tat jadx.core.dex.visitors.ssa.SSATransform.visit(SSATransform.java:42)\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:37)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:59)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:42)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r1 = this;\n super.a(r2, r3, r4);\n r0 = 1;\n r0 = r2.a(r3, r0);\n r1.f24157e = r0;\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.a(com.facebook.flatbuffers.MutableFlatBuffer, int, java.lang.Object):void\");\n }", "title": "" }, { "docid": "33374373e38d42cff8d46b87c7bfff76", "score": "0.6476791", "text": "void b(D var1_1) {\n block38 : {\n block39 : {\n block36 : {\n var20_2 = a.i;\n if (!this.a()) {\n return;\n }\n this.i = this.e.t();\n var2_3 = M.a(new q[this.e.e()]);\n var3_4 = M.a(new int[this.e.e()]);\n var4_5 = var1_1.k();\n while (var4_5 != null) {\n block37 : {\n var5_7 = (y)var4_5.c();\n var6_8 = 0;\n v0 = var5_7.k();\n if (var20_2) break block36;\n for (var7_12 = v1016548; var7_12 != null; var7_12 = var7_12.a(), ++var6_8) {\n var3_4.a(var7_12.c(), var6_8);\n if (!var20_2) {\n if (!var20_2) continue;\n }\n break block37;\n }\n var4_5 = var4_5.a();\n }\n if (!var20_2) continue;\n }\n v0 = var4_5 = var1_1.k();\n }\n while (var4_5 != null) {\n var5_7 = (y)var4_5.c();\n var6_8 = 0;\n var7_12 = var5_7.a();\n v1 = var7_12.f();\n if (var20_2) break block38;\n if (v1 == 0) ** GOTO lbl52\n var8_13 = var7_12.e();\n while (var7_12.f()) {\n var8_13 = var7_12.e();\n v2 = this.g.b(var8_13);\n if (!var20_2) {\n if (v2 == null) break;\n var7_12.g();\n if (!var20_2) continue;\n }\n ** GOTO lbl56\n }\n if (var7_12.f()) {\n var7_12.g();\n while (var7_12.f()) {\n var9_17 = var7_12.e();\n v2 = this.g.b(var9_17);\n if (!var20_2) {\n if (v2 == null) {\n var2_3.a(var9_17, var8_13);\n var8_13 = var9_17;\n }\n var7_12.g();\n if (!var20_2) continue;\n } else {\n ** GOTO lbl51\n }\n }\n }\n ** GOTO lbl52\nlbl51: // 2 sources:\n ** GOTO lbl56\nlbl52: // 4 sources:\n var4_5 = var4_5.a();\n if (!var20_2) continue;\n }\n for (var4_5 = this.c.k(); var4_5 != null; var4_5 = var4_5.a()) {\n block43 : {\n block42 : {\n block41 : {\n block40 : {\n v2 = var4_5.c();\nlbl56: // 3 sources:\n var5_7 = (d)v2;\n var6_10 = this.a((d)var5_7);\n var7_12 = this.b((d)var5_7);\n var8_15 = this.a(var6_10, (aE)var7_12);\n var9_17 = (ar)this.i.b(var5_7.c());\n if (var20_2) break block39;\n if (var9_17 == null) {\n var9_17 = new ar(this.e.a(var5_7.c()));\n this.i.a((Object)var5_7.c(), var9_17);\n }\n if ((var10_18 = (ar)this.i.b(var5_7.d())) == null) {\n var10_18 = new ar(this.e.a(var5_7.d()));\n this.i.a((Object)var5_7.d(), var10_18);\n }\n var11_19 = var2_3.b(var5_7.c()) == var5_7.d() || var2_3.b(var5_7.d()) == var5_7.c();\n v3 = var12_21 = var3_4.a(var5_7.c()) < var3_4.a(var5_7.d());\n if (var12_21) {\n v4 = var13_23 = !(var11_19 == false || var6_10.b() != 0 && var6_10.b() != 4 || var7_12.b() != 0 && var7_12.b() != 8);\n if (!var20_2) break block40;\n }\n v5 = var13_23 = !(var11_19 == false || var6_10.b() != 0 && var6_10.b() != 8 || var7_12.b() != 0 && var7_12.b() != 4);\n }\n if ((!this.u || var11_19 || this.s == null || this.t == null || var6_10.b() != 0 && var7_12.b() != 0) && (var6_10.b() != 4 && var6_10.b() != 8 || var7_12.b() != 4 && var7_12.b() != 8)) ** GOTO lbl-1000\n var16_28 = 0;\n var17_29 = 0;\n if (!var12_21) ** GOTO lbl89\n if (var7_12.b() == 4) {\n var18_30 = var5_7.d();\n if (!var20_2) break block41;\n }\n var18_30 = (q)var2_3.b(var5_7.d());\n }\n if (var6_10.b() != 8) ** GOTO lbl87\n var19_31 = (q)var2_3.b(var5_7.c());\n if (!var20_2) ** GOTO lbl98\nlbl87: // 2 sources:\n var19_31 = var5_7.c();\n if (!var20_2) ** GOTO lbl98\nlbl89: // 2 sources:\n if (var6_10.b() == 4) {\n var18_30 = var5_7.c();\n if (!var20_2) break block42;\n }\n var18_30 = (q)var2_3.b(var5_7.c());\n }\n if (var7_12.b() != 8) ** GOTO lbl-1000\n var19_31 = (q)var2_3.b(var5_7.d());\n if (var20_2) lbl-1000: // 2 sources:\n {\n var19_31 = var5_7.d();\n }\nlbl98: // 6 sources:\n while (var18_30 != var19_31) {\n var16_28 += var18_30.b();\n var17_29 += var18_30.c();\n var18_30 = (q)var2_3.b(var18_30);\n if (!var20_2) {\n if (!var20_2) continue;\n }\n ** GOTO lbl-1000\n }\n if (var17_29 < var16_28) {\n v6 = true;\n } else lbl-1000: // 2 sources:\n {\n v6 = var8_15 = false;\n }\n if (var6_10.b() == 0) {\n if (var17_29 == var16_28) {\n var8_15 = var7_12.b() == 2;\n }\n var14_26 = var8_15 != false ? 2 : 0;\n this.s.a(var5_7, aE.a(var8_15 != false ? 2 : 1));\n if (!var20_2) break block43;\n }\n {\n var14_26 = x.a(var6_10.b(), var13_23 ? (var12_21 ? 1 : 3) : (var8_15 != false ? 2 : 0));\n }\n }\n if (var7_12.b() != 0) ** GOTO lbl-1000\n if (var6_10.b() != 1) ** GOTO lbl-1000\n var8_15 = false;\n if (var20_2) lbl-1000: // 2 sources:\n {\n if (var6_10.b() == 2) {\n var8_15 = true;\n }\n }\n var15_27 = var8_15 != false ? 2 : 0;\n this.t.a(var5_7, aE.a(var8_15 != false ? 2 : 1));\n if (var20_2) lbl-1000: // 2 sources:\n {\n var15_27 = x.a(var7_12.b(), var13_23 ? (var12_21 ? 3 : 1) : (var8_15 != false ? 2 : 0));\n ** if (!var20_2) goto lbl131\n }\n ** GOTO lbl131\nlbl-1000: // 2 sources:\n {\n var14_26 = x.a(var6_10.b(), var13_23 ? (var12_21 ? 1 : 3) : (var8_15 != false ? 2 : 0));\n var15_27 = x.a(var7_12.b(), var13_23 ? (var12_21 ? 3 : 1) : (var8_15 != false ? 2 : 0));\n }\nlbl131: // 3 sources:\n v7 = var16_28 = (var14_26 ^ var15_27) == 2 && (var14_26 | var15_27) == 2 ? 1 : 0;\n if (var16_28 == 0) ** GOTO lbl145\n if (!var12_21) ** GOTO lbl-1000\n v8 = var10_18.c;\n v8[1] = v8[1] + 1;\n v9 = var10_18.d;\n v10 = var15_27 == 0 ? 0 : 3;\n v9[v10] = v9[v10] + 1;\n if (var20_2) lbl-1000: // 2 sources:\n {\n v11 = var10_18.c;\n v11[0] = v11[0] + 1;\n v12 = var10_18.d;\n v13 = var15_27 == 0 ? 1 : 2;\n v12[v13] = v12[v13] + 1;\n }\nlbl145: // 4 sources:\n this.a((ar)var9_17, (d)var5_7, var14_26, var13_23 != false && (var14_26 & 1) == 1, var8_15, var12_21 == false);\n this.a(var10_18, (d)var5_7, var15_27, var13_23 != false && (var15_27 & 1) == 1, var8_15, var12_21);\n if (!var20_2) continue;\n }\n this.l = new as(this, var3_4);\n this.h = this.e.t();\n }\n v1 = 0;\n }\n var4_6 = v1;\n var5_7 = var1_1.k();\n do {\n if (var5_7 == null) return;\n v14 = var5_7.c();\n block8 : do {\n var6_11 = (y)v14;\n for (var7_12 = var6_11.k().a(); var7_12 != null; var7_12 = var7_12.a()) {\n var8_16 = (q)var7_12.c();\n var9_17 = (q)var7_12.b().c();\n var10_18 = this.b(var8_16);\n var11_20 = this.b((q)var9_17);\n v14 = var10_18;\n if (var20_2) continue block8;\n if (v14 == null || (var12_22 = var10_18.c((int)3).l).size() <= 0) continue;\n var10_18.e[1] = var13_25 = this.e.d();\n var14_26 = var12_22.size();\n this.f.a((Object)var13_25, var4_6);\n var6_11.a(var13_25, (p)var7_12);\n this.e.b(var13_25, 2.0 * this.a + this.a * (double)(var14_26 - 1) + this.a(var12_22), 0.5);\n this.h.a((Object)var13_25, true);\n if (!var20_2) continue;\n }\n break;\n } while (true);\n var5_7 = var5_7.a();\n ++var4_6;\n } while (!var20_2);\n }\n\n void a(q q2, ar ar2) {\n this.l.a(q2, 0);\n ar2.a((int)0).l.sort(this.l);\n this.l.a(q2, 2);\n ar2.b((int)0).l.sort(this.l);\n this.l.a(q2, 3);\n ar2.a((int)1).l.sort(this.l);\n this.l.a(q2, 5);\n ar2.b((int)1).l.sort(this.l);\n this.l.a(q2, 6);\n ar2.a((int)2).l.sort(this.l);\n this.l.a(q2, 8);\n ar2.b((int)2).l.sort(this.l);\n this.l.a(q2, 9);\n ar2.a((int)3).l.sort(this.l);\n this.l.a(q2, 11);\n ar2.b((int)3).l.sort(this.l);\n ar2.c((int)3).l.n();\n }\n\n private void a(ar ar2, d d2, int n2, boolean bl2, boolean bl3, boolean bl4) {\n boolean bl5 = a.i;\n if (bl2) {\n ar2.c((int)n2).l.add(d2);\n if (!bl5) return;\n }\n switch (n2) {\n case 0: {\n if (bl4) {\n ar2.a((int)0).l.add(d2);\n if (!bl5) return;\n }\n ar2.b((int)0).l.add(d2);\n if (!bl5) return;\n }\n case 1: {\n if (bl3) {\n ar2.b((int)1).l.add(d2);\n if (!bl5) return;\n }\n ar2.a((int)1).l.add(d2);\n if (!bl5) return;\n }\n case 2: {\n if (bl4) {\n ar2.b((int)2).l.add(d2);\n if (!bl5) return;\n }\n ar2.a((int)2).l.add(d2);\n if (!bl5) return;\n }\n case 3: {\n if (bl3) {\n ar2.a((int)3).l.add(d2);\n if (!bl5) return;\n }\n ar2.b((int)3).l.add(d2);\n }\n }\n }\n\n private double a(f f2) {\n double d2;\n boolean bl2 = a.i;\n double d3 = 0.0;\n e e2 = f2.a();\n while (e2.f()) {\n d2 = Math.max(d3, this.c(e2.a()));\n if (bl2) return d2;\n d3 = d2;\n e2.g();\n if (!bl2) continue;\n }\n d2 = d3;\n return d2;\n }\n\n private double c(d d2) {\n boolean bl2 = a.i;\n S[] arrs = this.d(d2);\n if (arrs == null) return 0.0;\n if (arrs.length == 0) {\n return 0.0;\n }\n double d3 = 0.0;\n for (int i2 = 0; i2 < arrs.length; d3 += arrs[i2].a().e(), ++i2) {\n if (bl2) return d3;\n if (!bl2) continue;\n }\n d3 += (double)(10 * (arrs.length - 1));\n return d3;\n }\n\n private S[] d(d d2) {\n c c2 = this.e.c(U.a);\n if (c2 != null) return (S[])c2.b(d2);\n return null;\n }\n\n boolean a(q q2) {\n if (this.i == null) return false;\n if (this.i.b(q2) == null) return false;\n return true;\n }\n\n ar b(q q2) {\n if (this.i == null) return null;\n ar ar2 = (ar)this.i.b(q2);\n return ar2;\n }\n\n private aq e(d d2) {\n aq aq2 = (aq)this.k.get(d2);\n if (aq2 != null) return aq2;\n aq2 = new aq();\n this.k.put(d2, aq2);\n return aq2;\n }\n\n /*\n * Unable to fully structure code\n */\n public void c(D var1_1) {\n var12_2 = a.i;\n if (!this.a()) {\n return;\n }\n this.k = new HashMap<K, V>();\n var2_3 = new b(0.0, 0.0);\n var3_4 = new b(0.0, 0.0);\n var4_5 = var1_1.k();\n block0 : do {\n block10 : {\n if (var4_5 == null) return;\n v0 = var4_5.c();\n block1 : do lbl-1000: // 3 sources:\n {\n var5_6 = (C)v0;\n var6_7 = var5_6.a;\n var2_3.a(var5_6.b - 100000.0, var5_6.b - 90000.0, 1);\n var3_4.a(var5_6.c + 90000.0, var5_6.c + 100000.0, 1);\n var7_8 = new HashMap<K, V>();\n for (var8_9 = var6_7.k(); var8_9 != null; var8_9 = var8_9.a()) {\n var9_11 = (q)var8_9.c();\n v0 = var10_15 = this.b(var9_11);\n if (var12_2) ** GOTO lbl-1000\n if (v0 == null) continue;\n var10_15.a(this.e.a(var9_11));\n this.b(var9_11, var10_15.a(1), var7_8);\n this.b(var9_11, var10_15.b(1), var7_8);\n this.b(var9_11, var10_15.a(3), var7_8);\n this.b(var9_11, var10_15.b(3), var7_8);\n this.a(var9_11, var10_15.a(0), var7_8);\n this.a(var9_11, var10_15.c(0), var7_8);\n this.a(var9_11, var10_15.b(0), var7_8);\n this.a(var9_11, var10_15.a(2), var7_8);\n this.a(var9_11, var10_15.c(2), var7_8);\n this.a(var9_11, var10_15.b(2), var7_8);\n if (!var12_2) continue;\n }\n for (var8_9 = var6_7.k(); var8_9 != null; var8_9 = var8_9.a()) {\n var9_12 = (q)var8_9.c();\n v0 = var10_15 = this.b(var9_12);\n if (var12_2) continue block1;\n if (v0 == null) continue;\n var11_16 = this.e.a(var9_12);\n this.a(var9_12, var10_15.a(1), var7_8, var2_3);\n this.a(var9_12, var10_15.b(1), var7_8, var3_4);\n this.a(var9_12, var10_15.a(3), var7_8, var3_4);\n this.a(var9_12, var10_15.b(3), var7_8, var2_3);\n this.a(var9_12, (ar)var10_15, var10_15.a(0), var7_8, var2_3, var3_4, 2, 3, var11_16);\n this.a(var9_12, (ar)var10_15, var10_15.c(0), var7_8, var2_3, var3_4, 2, 1, var11_16);\n this.a(var9_12, (ar)var10_15, var10_15.b(0), var7_8, var2_3, var3_4, 2, 1, var11_16);\n this.a(var9_12, (ar)var10_15, var10_15.a(2), var7_8, var3_4, var2_3, 1, 1, var11_16);\n this.a(var9_12, (ar)var10_15, var10_15.c(2), var7_8, var3_4, var2_3, 1, 1, var11_16);\n this.a(var9_12, (ar)var10_15, var10_15.b(2), var7_8, var3_4, var2_3, 1, 3, var11_16);\n if (!var12_2) continue;\n }\n break;\n } while (true);\n var2_3.b();\n var3_4.b();\n if (var2_3.c() > 0) {\n var5_6.d = this.a * (double)var2_3.c();\n }\n if (var3_4.c() > 0) {\n var5_6.e = this.a * (double)var3_4.c();\n }\n var8_9 = var2_3.a();\n while (var8_9.hasNext()) {\n var9_13 = (d)var8_9.next();\n var10_15 = (aq)this.k.get(var9_13);\n var10_15.a[0] = var2_3.c(var9_13);\n if (!var12_2) {\n if (!var12_2) continue;\n }\n break block10;\n }\n var8_9 = var3_4.a();\n }\n while (var8_9.hasNext()) {\n var9_14 = (d)var8_9.next();\n var10_15 = (aq)this.k.get(var9_14);\n var10_15.a[1] = var3_4.c(var9_14);\n if (var12_2) continue block0;\n if (!var12_2) continue;\n }\n var4_5 = var4_5.a();\n } while (!var12_2);\n }\n\n private void a(q q2, z z2, Map map) {\n boolean bl2 = a.i;\n p p2 = z2.l.k();\n do {\n if (p2 == null) return;\n d d2 = (d)p2.c();\n aq aq2 = this.e(d2);\n if (q2 != d2.d()) {\n map.put(d2, this.e.p(d2));\n }\n p2 = p2.a();\n } while (!bl2);\n }\n\n /*\n * Unable to fully structure code\n */\n private void b(q var1_1, z var2_2, Map var3_3) {\n var10_4 = a.i;\n var4_5 = var2_2.l.k();\n do {\n if (var4_5 == null) return;\n var5_6 = (d)var4_5.c();\n var6_7 = this.e(var5_6);\n if (var1_1 != var5_6.d()) ** GOTO lbl-1000\n var6_7.c = var2_2.b();\n if (var10_4) lbl-1000: // 2 sources:\n {\n var6_7.b = var2_2.b();\n var7_8 = var2_2.f(0.0, var6_7.b);\n var9_9 = this.e.p(var5_6);\n var3_3.put(var5_6, new t(var7_8, var9_9.b));\n }\n var4_5 = var4_5.a();\n } while (!var10_4);\n }\n\n private void a(q q2, z z2, Map map, b b2) {\n boolean bl2 = a.i;\n p p2 = z2.l.k();\n do {\n if (p2 == null) return;\n d d2 = (d)p2.c();\n if (q2 != d2.c()) {\n aq aq2 = (aq)this.k.get(d2);\n t t2 = this.e.q(d2);\n t t3 = (t)map.get(d2);\n aE aE2 = this.a(d2);\n am am2 = this.e.a(d2.d());\n t t4 = new t(z2.f(0.0, aq2.c), am2.getY());\n b2.a(d2, t3, t4);\n }\n p2 = p2.a();\n } while (!bl2);\n }\n\n /*\n * Unable to fully structure code\n */\n private void a(q var1_1, ar var2_2, z var3_3, Map var4_4, b var5_5, b var6_6, byte var7_7, int var8_8, am var9_9) {\n var17_10 = a.i;\n var10_11 = var3_3.l.k();\n do {\n if (var10_11 == null) return;\n var11_12 = (d)var10_11.c();\n if (var1_1 == var11_12.c()) ** GOTO lbl18\n var12_13 = (aq)this.k.get(var11_12);\n var13_14 = this.e.q(var11_12);\n var14_15 = (t)var4_4.get(var11_12);\n var15_16 = this.a(var11_12);\n if (var15_16.b() != var7_7) ** GOTO lbl-1000\n var16_17 = new t(var2_2.c(var8_8).f(0.0, var2_2.g(var8_8)), var9_9.getY());\n var12_13.d = var16_17.a - var9_9.getX();\n var12_13.c = var3_3.b();\n var6_6.a(var11_12, var14_15, var16_17);\n if (var17_10) lbl-1000: // 2 sources:\n {\n var5_5.a(var11_12, var14_15, var13_14);\n }\nlbl18: // 4 sources:\n var10_11 = var10_11.a();\n } while (!var17_10);\n }\n\n private D f(d d2) {\n D d3 = (D)this.b.get(d2);\n if (d3 != null) return d3;\n d3 = new D();\n this.b.put(d2, d3);\n return d3;\n }\n\n /*\n * Exception decompiling\n */\n void d(D 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 [6[FORLOOP]], but top level block is 8[FORLOOP]\n // org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.processEndingBlocks(Op04StructuredStatement.java:394)\n // org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:446)\n // org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:2869)\n // org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:817)\n // org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:220)\n // org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:165)\n // org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:91)\n // org.benf.cfr.reader.entities.Method.analyse(Method.java:354)\n // org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:751)\n // org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:683)\n // org.benf.cfr.reader.Main.doJar(Main.java:129)\n // org.benf.cfr.reader.Main.main(Main.java:181)\n // the.bytecode.club.bytecodeviewer.decompilers.CFRDecompiler.decompileToZip(CFRDecompiler.java:245)\n // the.bytecode.club.bytecodeviewer.gui.MainViewerGUI$18$1$3.run(MainViewerGUI.java:1107)\n throw new IllegalStateException(\"Decompilation failed\");\n }\n\n /*\n * Unable to fully structure code\n */\n private void a(q var1_1, z var2_2, byte var3_3, double var4_4, int var6_5) {\n var16_6 = a.i;\n var7_7 = var2_2.l.k();\n do {\n if (var7_7 == null) return;\n var8_8 = (d)var7_7.c();\n var9_9 = (aq)this.k.get(var8_8);\n var10_10 = this.f(var8_8);\n var11_11 = var4_4 + (double)var9_9.a[var6_5] * this.a;\n if (var8_8.c() != var1_1) ** GOTO lbl-1000\n var13_12 = this.e.p(var8_8);\n if (!Double.isNaN(var9_9.d)) {\n var14_13 = this.e.a(var8_8.d()).getX() + var9_9.d;\n var10_10.a(new t(var14_13, var11_11));\n }\n var10_10.a(new t(var13_12.a, var11_11));\n if (var16_6) lbl-1000: // 2 sources:\n {\n var13_12 = this.e.q(var8_8);\n if (!Double.isNaN(var9_9.d)) {\n var14_13 = this.e.a(var8_8.d()).getX() + var9_9.d;\n var11_11 = var2_2.e(0.0, var9_9.c);\n var10_10.add(new t(var14_13, var11_11));\n }\n var10_10.add(new t(var13_12.a, var11_11));\n }\n var7_7 = var7_7.a();\n } while (!var16_6);\n }\n\n /*\n * Unable to fully structure code\n */\n private void a(q var1_1, z var2_2, double var3_3, int var5_4) {\n var15_5 = a.i;\n var6_6 = var2_2.l.k();\n do {\n if (var6_6 == null) return;\n var7_7 = (d)var6_6.c();\n var8_8 = (aq)this.k.get(var7_7);\n var9_9 = this.f(var7_7);\n var10_10 = var3_3 + (double)var8_8.a[var5_4] * this.a;\n if (var7_7.c() != var1_1) ** GOTO lbl-1000\n var12_11 = var2_2.f(0.0, var8_8.b);\n var14_12 = this.e.p(var7_7);\n var9_9.a(new t(var12_11, var10_10));\n var9_9.a(new t(var12_11, var14_12.b));\n if (var15_5) lbl-1000: // 2 sources:\n {\n var12_11 = var2_2.f(0.0, var8_8.c);\n var14_12 = this.e.q(var7_7);\n var9_9.b(new t(var12_11, var10_10));\n var9_9.b(new t(var12_11, var14_12.b));\n }\n var6_6 = var6_6.a();\n } while (!var15_5);\n }\n\n void e() {\n this.l = null;\n this.k = null;\n this.q = null;\n this.p = null;\n this.n = null;\n this.o = null;\n this.s = null;\n this.t = null;\n if (this.i != null) {\n this.e.a(this.i);\n this.i = null;\n }\n if (this.h == null) return;\n this.e.a(this.h);\n this.h = null;\n }\n\n public void b(double d2) {\n this.r = d2;\n }\n\n static X a(ap ap2) {\n return ap2.e;\n }\n}", "title": "" }, { "docid": "347b20aec2949f6505faf05849b3b611", "score": "0.6391101", "text": "final boolean m3254a(java.lang.String 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.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 r3 = this;\n r0 = 0;\n r1 = r3.f2532a;\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r1.mo1229a(r4);\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r1 = new java.lang.StringBuilder;\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r2 = \"Class: \";\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r1.<init>(r2);\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r1.append(r4);\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r4 = \" is found.\";\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r1.append(r4);\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r4 = r1.toString();\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n com.appsflyer.AFLogger.m3072a(r4);\t Catch:{ ClassNotFoundException -> 0x0027, Throwable -> 0x001e }\n r4 = 1;\n return r4;\n L_0x001e:\n r4 = move-exception;\n r1 = r4.getMessage();\n com.appsflyer.AFLogger.m3073a(r1, r4);\n return r0;\n L_0x0027:\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.appsflyer.t.a(java.lang.String):boolean\");\n }", "title": "" }, { "docid": "d2276bdff052277cc169dbfce6c9ed66", "score": "0.63356", "text": "private static final void jj_rescan_token()\n/* */ {\n/* 2514 */ jj_rescan = true;\n/* 2515 */ for (int i = 0; i < 23; i++) {\n/* 2516 */ JJCalls localJJCalls = jj_2_rtns[i];\n/* */ do {\n/* 2518 */ if (localJJCalls.gen > jj_gen) {\n/* 2519 */ jj_la = localJJCalls.arg;jj_lastpos = jj_scanpos = localJJCalls.first;\n/* 2520 */ switch (i) {\n/* 2521 */ case 0: jj_3_1(); break;\n/* 2522 */ case 1: jj_3_2(); break;\n/* 2523 */ case 2: jj_3_3(); break;\n/* 2524 */ case 3: jj_3_4(); break;\n/* 2525 */ case 4: jj_3_5(); break;\n/* 2526 */ case 5: jj_3_6(); break;\n/* 2527 */ case 6: jj_3_7(); break;\n/* 2528 */ case 7: jj_3_8(); break;\n/* 2529 */ case 8: jj_3_9(); break;\n/* 2530 */ case 9: jj_3_10(); break;\n/* 2531 */ case 10: jj_3_11(); break;\n/* 2532 */ case 11: jj_3_12(); break;\n/* 2533 */ case 12: jj_3_13(); break;\n/* 2534 */ case 13: jj_3_14(); break;\n/* 2535 */ case 14: jj_3_15(); break;\n/* 2536 */ case 15: jj_3_16(); break;\n/* 2537 */ case 16: jj_3_17(); break;\n/* 2538 */ case 17: jj_3_18(); break;\n/* 2539 */ case 18: jj_3_19(); break;\n/* 2540 */ case 19: jj_3_20(); break;\n/* 2541 */ case 20: jj_3_21(); break;\n/* 2542 */ case 21: jj_3_22(); break;\n/* 2543 */ case 22: jj_3_23();\n/* */ }\n/* */ }\n/* 2546 */ localJJCalls = localJJCalls.next;\n/* 2547 */ } while (localJJCalls != null);\n/* */ }\n/* 2549 */ jj_rescan = false;\n/* */ }", "title": "" }, { "docid": "4f6506f1f95b1e492e09ab8da92aa2ed", "score": "0.6314557", "text": "public boolean m29432a(byte[] r12, int r13, int r14, boolean r15) {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxOverflowException: Regions stack size limit reached\n\tat jadx.core.utils.ErrorsCounter.addError(ErrorsCounter.java:37)\n\tat jadx.core.utils.ErrorsCounter.methodError(ErrorsCounter.java:61)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:33)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:37)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r11 = this;\n r6 = r11.f22429l;\n r7 = r11.a;\n r1 = 0;\n r0 = r11.f22428k;\n r8 = r14 + r13;\n r2 = -1;\n r3 = r11.f22423c;\n switch(r3) {\n case 0: goto L_0x00a7;\n case 1: goto L_0x00aa;\n case 2: goto L_0x00cd;\n default: goto L_0x000f;\n };\n L_0x000f:\n r3 = r13;\n L_0x0010:\n r4 = -1;\n if (r2 == r4) goto L_0x023b;\n L_0x0013:\n r4 = 1;\n r5 = r2 >> 18;\n r5 = r5 & 63;\n r5 = r6[r5];\n r7[r1] = r5;\n r1 = 2;\n r5 = r2 >> 12;\n r5 = r5 & 63;\n r5 = r6[r5];\n r7[r4] = r5;\n r4 = 3;\n r5 = r2 >> 6;\n r5 = r5 & 63;\n r5 = r6[r5];\n r7[r1] = r5;\n r1 = 4;\n r2 = r2 & 63;\n r2 = r6[r2];\n r7[r4] = r2;\n r0 = r0 + -1;\n if (r0 != 0) goto L_0x023b;\n L_0x0039:\n r0 = r11.f22426f;\n if (r0 == 0) goto L_0x023f;\n L_0x003d:\n r0 = 5;\n r2 = 13;\n r7[r1] = r2;\n L_0x0042:\n r1 = r0 + 1;\n r2 = 10;\n r7[r0] = r2;\n r0 = 19;\n r5 = r0;\n r4 = r1;\n L_0x004c:\n r0 = r3 + 3;\n if (r0 > r8) goto L_0x00f0;\n L_0x0050:\n r0 = r12[r3];\n r0 = r0 & 255;\n r0 = r0 << 16;\n r1 = r3 + 1;\n r1 = r12[r1];\n r1 = r1 & 255;\n r1 = r1 << 8;\n r0 = r0 | r1;\n r1 = r3 + 2;\n r1 = r12[r1];\n r1 = r1 & 255;\n r0 = r0 | r1;\n r1 = r0 >> 18;\n r1 = r1 & 63;\n r1 = r6[r1];\n r7[r4] = r1;\n r1 = r4 + 1;\n r2 = r0 >> 12;\n r2 = r2 & 63;\n r2 = r6[r2];\n r7[r1] = r2;\n r1 = r4 + 2;\n r2 = r0 >> 6;\n r2 = r2 & 63;\n r2 = r6[r2];\n r7[r1] = r2;\n r1 = r4 + 3;\n r0 = r0 & 63;\n r0 = r6[r0];\n r7[r1] = r0;\n r3 = r3 + 3;\n r1 = r4 + 4;\n r0 = r5 + -1;\n if (r0 != 0) goto L_0x023b;\n L_0x0092:\n r0 = r11.f22426f;\n if (r0 == 0) goto L_0x0238;\n L_0x0096:\n r0 = r1 + 1;\n r2 = 13;\n r7[r1] = r2;\n L_0x009c:\n r1 = r0 + 1;\n r2 = 10;\n r7[r0] = r2;\n r0 = 19;\n r5 = r0;\n r4 = r1;\n goto L_0x004c;\n L_0x00a7:\n r3 = r13;\n goto L_0x0010;\n L_0x00aa:\n r3 = r13 + 2;\n if (r3 > r8) goto L_0x000f;\n L_0x00ae:\n r2 = r11.f22427j;\n r3 = 0;\n r2 = r2[r3];\n r2 = r2 & 255;\n r2 = r2 << 16;\n r3 = r13 + 1;\n r4 = r12[r13];\n r4 = r4 & 255;\n r4 = r4 << 8;\n r2 = r2 | r4;\n r13 = r3 + 1;\n r3 = r12[r3];\n r3 = r3 & 255;\n r2 = r2 | r3;\n r3 = 0;\n r11.f22423c = r3;\n r3 = r13;\n goto L_0x0010;\n L_0x00cd:\n r3 = r13 + 1;\n if (r3 > r8) goto L_0x000f;\n L_0x00d1:\n r2 = r11.f22427j;\n r3 = 0;\n r2 = r2[r3];\n r2 = r2 & 255;\n r2 = r2 << 16;\n r3 = r11.f22427j;\n r4 = 1;\n r3 = r3[r4];\n r3 = r3 & 255;\n r3 = r3 << 8;\n r2 = r2 | r3;\n r3 = r13 + 1;\n r4 = r12[r13];\n r4 = r4 & 255;\n r2 = r2 | r4;\n r4 = 0;\n r11.f22423c = r4;\n goto L_0x0010;\n L_0x00f0:\n if (r15 == 0) goto L_0x01fe;\n L_0x00f2:\n r0 = r11.f22423c;\n r0 = r3 - r0;\n r1 = r8 + -1;\n if (r0 != r1) goto L_0x015e;\n L_0x00fa:\n r2 = 0;\n r0 = r11.f22423c;\n if (r0 <= 0) goto L_0x0156;\n L_0x00ff:\n r0 = r11.f22427j;\n r1 = 1;\n r0 = r0[r2];\n r2 = r3;\n L_0x0105:\n r0 = r0 & 255;\n r3 = r0 << 4;\n r0 = r11.f22423c;\n r0 = r0 - r1;\n r11.f22423c = r0;\n r1 = r4 + 1;\n r0 = r3 >> 6;\n r0 = r0 & 63;\n r0 = r6[r0];\n r7[r4] = r0;\n r0 = r1 + 1;\n r3 = r3 & 63;\n r3 = r6[r3];\n r7[r1] = r3;\n r1 = r11.f22424d;\n if (r1 == 0) goto L_0x0130;\n L_0x0124:\n r1 = r0 + 1;\n r3 = 61;\n r7[r0] = r3;\n r0 = r1 + 1;\n r3 = 61;\n r7[r1] = r3;\n L_0x0130:\n r1 = r11.f22425e;\n if (r1 == 0) goto L_0x0146;\n L_0x0134:\n r1 = r11.f22426f;\n if (r1 == 0) goto L_0x013f;\n L_0x0138:\n r1 = r0 + 1;\n r3 = 13;\n r7[r0] = r3;\n r0 = r1;\n L_0x013f:\n r1 = r0 + 1;\n r3 = 10;\n r7[r0] = r3;\n r0 = r1;\n L_0x0146:\n r3 = r2;\n r4 = r0;\n L_0x0148:\n r0 = f22420g;\n if (r0 != 0) goto L_0x01f2;\n L_0x014c:\n r0 = r11.f22423c;\n if (r0 == 0) goto L_0x01f2;\n L_0x0150:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x0156:\n r1 = r3 + 1;\n r0 = r12[r3];\n r10 = r2;\n r2 = r1;\n r1 = r10;\n goto L_0x0105;\n L_0x015e:\n r0 = r11.f22423c;\n r0 = r3 - r0;\n r1 = r8 + -2;\n if (r0 != r1) goto L_0x01d6;\n L_0x0166:\n r2 = 0;\n r0 = r11.f22423c;\n r1 = 1;\n if (r0 <= r1) goto L_0x01c9;\n L_0x016c:\n r0 = r11.f22427j;\n r1 = 1;\n r0 = r0[r2];\n L_0x0171:\n r0 = r0 & 255;\n r9 = r0 << 10;\n r0 = r11.f22423c;\n if (r0 <= 0) goto L_0x01d0;\n L_0x0179:\n r0 = r11.f22427j;\n r2 = r1 + 1;\n r0 = r0[r1];\n r1 = r2;\n L_0x0180:\n r0 = r0 & 255;\n r0 = r0 << 2;\n r0 = r0 | r9;\n r2 = r11.f22423c;\n r1 = r2 - r1;\n r11.f22423c = r1;\n r1 = r4 + 1;\n r2 = r0 >> 12;\n r2 = r2 & 63;\n r2 = r6[r2];\n r7[r4] = r2;\n r2 = r1 + 1;\n r4 = r0 >> 6;\n r4 = r4 & 63;\n r4 = r6[r4];\n r7[r1] = r4;\n r1 = r2 + 1;\n r0 = r0 & 63;\n r0 = r6[r0];\n r7[r2] = r0;\n r0 = r11.f22424d;\n if (r0 == 0) goto L_0x0235;\n L_0x01ab:\n r0 = r1 + 1;\n r2 = 61;\n r7[r1] = r2;\n L_0x01b1:\n r1 = r11.f22425e;\n if (r1 == 0) goto L_0x01c7;\n L_0x01b5:\n r1 = r11.f22426f;\n if (r1 == 0) goto L_0x01c0;\n L_0x01b9:\n r1 = r0 + 1;\n r2 = 13;\n r7[r0] = r2;\n r0 = r1;\n L_0x01c0:\n r1 = r0 + 1;\n r2 = 10;\n r7[r0] = r2;\n r0 = r1;\n L_0x01c7:\n r4 = r0;\n goto L_0x0148;\n L_0x01c9:\n r1 = r3 + 1;\n r0 = r12[r3];\n r3 = r1;\n r1 = r2;\n goto L_0x0171;\n L_0x01d0:\n r2 = r3 + 1;\n r0 = r12[r3];\n r3 = r2;\n goto L_0x0180;\n L_0x01d6:\n r0 = r11.f22425e;\n if (r0 == 0) goto L_0x0148;\n L_0x01da:\n if (r4 <= 0) goto L_0x0148;\n L_0x01dc:\n r0 = 19;\n if (r5 == r0) goto L_0x0148;\n L_0x01e0:\n r0 = r11.f22426f;\n if (r0 == 0) goto L_0x0233;\n L_0x01e4:\n r0 = r4 + 1;\n r1 = 13;\n r7[r4] = r1;\n L_0x01ea:\n r4 = r0 + 1;\n r1 = 10;\n r7[r0] = r1;\n goto L_0x0148;\n L_0x01f2:\n r0 = f22420g;\n if (r0 != 0) goto L_0x020e;\n L_0x01f6:\n if (r3 == r8) goto L_0x020e;\n L_0x01f8:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x01fe:\n r0 = r8 + -1;\n if (r3 != r0) goto L_0x0214;\n L_0x0202:\n r0 = r11.f22427j;\n r1 = r11.f22423c;\n r2 = r1 + 1;\n r11.f22423c = r2;\n r2 = r12[r3];\n r0[r1] = r2;\n L_0x020e:\n r11.b = r4;\n r11.f22428k = r5;\n r0 = 1;\n return r0;\n L_0x0214:\n r0 = r8 + -2;\n if (r3 != r0) goto L_0x020e;\n L_0x0218:\n r0 = r11.f22427j;\n r1 = r11.f22423c;\n r2 = r1 + 1;\n r11.f22423c = r2;\n r2 = r12[r3];\n r0[r1] = r2;\n r0 = r11.f22427j;\n r1 = r11.f22423c;\n r2 = r1 + 1;\n r11.f22423c = r2;\n r2 = r3 + 1;\n r2 = r12[r2];\n r0[r1] = r2;\n goto L_0x020e;\n L_0x0233:\n r0 = r4;\n goto L_0x01ea;\n L_0x0235:\n r0 = r1;\n goto L_0x01b1;\n L_0x0238:\n r0 = r1;\n goto L_0x009c;\n L_0x023b:\n r5 = r0;\n r4 = r1;\n goto L_0x004c;\n L_0x023f:\n r0 = r1;\n goto L_0x0042;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.stat.b.l.a(byte[], int, int, boolean):boolean\");\n }", "title": "" }, { "docid": "812120beb776d9f2301c496a09c5bd6b", "score": "0.6309971", "text": "public void mo8403g() {\n /*\n r9 = this;\n com.applovin.impl.sdk.j r0 = r9.f6212c\n com.applovin.impl.sdk.b.c<java.lang.Boolean> r1 = com.applovin.impl.sdk.p050b.C1840b.f5781s\n java.lang.Object r0 = r0.mo8549a(r1)\n java.lang.Boolean r0 = (java.lang.Boolean) r0\n boolean r0 = r0.booleanValue()\n if (r0 == 0) goto L_0x0071\n java.lang.Object r0 = r9.f6211b\n monitor-enter(r0)\n com.applovin.impl.sdk.j r1 = r9.f6212c // Catch:{ all -> 0x006e }\n com.applovin.impl.sdk.p r1 = r1.mo8547Z() // Catch:{ all -> 0x006e }\n boolean r1 = r1.mo8735b() // Catch:{ all -> 0x006e }\n if (r1 == 0) goto L_0x002e\n com.applovin.impl.sdk.j r1 = r9.f6212c // Catch:{ all -> 0x006e }\n com.applovin.impl.sdk.q r1 = r1.mo8602v() // Catch:{ all -> 0x006e }\n java.lang.String r2 = \"AdRefreshManager\"\n java.lang.String r3 = \"Waiting for the full screen ad to be dismissed to resume the timer.\"\n r1.mo8742b(r2, r3) // Catch:{ all -> 0x006e }\n monitor-exit(r0) // Catch:{ all -> 0x006e }\n return\n L_0x002e:\n com.applovin.impl.sdk.utils.p r1 = r9.f6210a // Catch:{ all -> 0x006e }\n r2 = 0\n if (r1 == 0) goto L_0x005d\n long r3 = r9.f6214e // Catch:{ all -> 0x006e }\n long r5 = r9.mo8398b() // Catch:{ all -> 0x006e }\n long r3 = r3 - r5\n com.applovin.impl.sdk.j r1 = r9.f6212c // Catch:{ all -> 0x006e }\n com.applovin.impl.sdk.b.c<java.lang.Long> r5 = com.applovin.impl.sdk.p050b.C1840b.f5780r // Catch:{ all -> 0x006e }\n java.lang.Object r1 = r1.mo8549a(r5) // Catch:{ all -> 0x006e }\n java.lang.Long r1 = (java.lang.Long) r1 // Catch:{ all -> 0x006e }\n long r5 = r1.longValue() // Catch:{ all -> 0x006e }\n r7 = 0\n int r1 = (r5 > r7 ? 1 : (r5 == r7 ? 0 : -1))\n if (r1 < 0) goto L_0x0058\n int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r1 <= 0) goto L_0x0058\n r9.mo8399c() // Catch:{ all -> 0x006e }\n r1 = 1\n r2 = 1\n goto L_0x005d\n L_0x0058:\n com.applovin.impl.sdk.utils.p r1 = r9.f6210a // Catch:{ all -> 0x006e }\n r1.mo8813c() // Catch:{ all -> 0x006e }\n L_0x005d:\n monitor-exit(r0) // Catch:{ all -> 0x006e }\n if (r2 == 0) goto L_0x0071\n java.lang.ref.WeakReference<com.applovin.impl.sdk.d$a> r0 = r9.f6213d\n java.lang.Object r0 = r0.get()\n com.applovin.impl.sdk.d$a r0 = (com.applovin.impl.sdk.C1861d.C1863a) r0\n if (r0 == 0) goto L_0x0071\n r0.onAdRefresh()\n goto L_0x0071\n L_0x006e:\n r1 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x006e }\n throw r1\n L_0x0071:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.applovin.impl.sdk.C1861d.mo8403g():void\");\n }", "title": "" }, { "docid": "067529750929f57910065a7dbc35e9af", "score": "0.62598187", "text": "com.squareup.okhttp.internal.C6020b.C6019c m25911a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r11 = this;\n r0 = r11.f22006a;\n r0 = java.lang.Thread.holdsLock(r0);\n if (r0 != 0) goto L_0x000e;\n L_0x0008:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x000e:\n r0 = r11.f22006a;\n r0 = r0.f22029j;\n r0 = new okio.Source[r0];\n r1 = r11.f22008c;\n r1 = r1.clone();\n r7 = r1;\n r7 = (long[]) r7;\n r9 = 0;\n r1 = 0;\n L_0x0021:\n r2 = r11.f22006a;\t Catch:{ FileNotFoundException -> 0x004b }\n r2 = r2.f22029j;\t Catch:{ FileNotFoundException -> 0x004b }\n if (r1 >= r2) goto L_0x003c;\t Catch:{ FileNotFoundException -> 0x004b }\n L_0x0029:\n r2 = r11.f22006a;\t Catch:{ FileNotFoundException -> 0x004b }\n r2 = r2.f22022c;\t Catch:{ FileNotFoundException -> 0x004b }\n r3 = r11.f22009d;\t Catch:{ FileNotFoundException -> 0x004b }\n r3 = r3[r1];\t Catch:{ FileNotFoundException -> 0x004b }\n r2 = r2.source(r3);\t Catch:{ FileNotFoundException -> 0x004b }\n r0[r1] = r2;\t Catch:{ FileNotFoundException -> 0x004b }\n r1 = r1 + 1;\t Catch:{ FileNotFoundException -> 0x004b }\n goto L_0x0021;\t Catch:{ FileNotFoundException -> 0x004b }\n L_0x003c:\n r10 = new com.squareup.okhttp.internal.b$c;\t Catch:{ FileNotFoundException -> 0x004b }\n r2 = r11.f22006a;\t Catch:{ FileNotFoundException -> 0x004b }\n r3 = r11.f22007b;\t Catch:{ FileNotFoundException -> 0x004b }\n r4 = r11.f22013h;\t Catch:{ FileNotFoundException -> 0x004b }\n r8 = 0;\t Catch:{ FileNotFoundException -> 0x004b }\n r1 = r10;\t Catch:{ FileNotFoundException -> 0x004b }\n r6 = r0;\t Catch:{ FileNotFoundException -> 0x004b }\n r1.<init>(r3, r4, r6, r7);\t Catch:{ FileNotFoundException -> 0x004b }\n return r10;\n L_0x004b:\n r1 = r11.f22006a;\n r1 = r1.f22029j;\n if (r9 >= r1) goto L_0x005f;\n L_0x0053:\n r1 = r0[r9];\n if (r1 == 0) goto L_0x005f;\n L_0x0057:\n r1 = r0[r9];\n com.squareup.okhttp.internal.C6058i.m26247a(r1);\n r9 = r9 + 1;\n goto L_0x004b;\n L_0x005f:\n r0 = 0;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.squareup.okhttp.internal.b.b.a():com.squareup.okhttp.internal.b$c\");\n }", "title": "" }, { "docid": "b5ad72d268f474fe6f2d86e8cf4f0353", "score": "0.62102234", "text": "@org.jetbrains.annotations.Nullable\n public java.io.File step() {\n /*\n r8 = this;\n r2 = 0;\n r0 = r8.b;\n if (r0 != 0) goto L_0x002f;\n L_0x0005:\n r0 = r8.a;\n r0 = r0.a;\n r0 = r0.c;\n if (r0 == 0) goto L_0x0025;\n L_0x000f:\n r1 = r8.getRoot();\n r0 = r0.invoke(r1);\n r0 = (java.lang.Boolean) r0;\n L_0x0019:\n r1 = 0;\n r1 = java.lang.Boolean.valueOf(r1);\n r0 = kotlin.jvm.internal.Intrinsics.areEqual(r0, r1);\n if (r0 == 0) goto L_0x0027;\n L_0x0024:\n return r2;\n L_0x0025:\n r0 = r2;\n goto L_0x0019;\n L_0x0027:\n r0 = 1;\n r8.b = r0;\n r2 = r8.getRoot();\n goto L_0x0024;\n L_0x002f:\n r0 = r8.c;\n if (r0 == 0) goto L_0x0041;\n L_0x0033:\n r1 = r8.d;\n r0 = r8.c;\n if (r0 != 0) goto L_0x003c;\n L_0x0039:\n kotlin.jvm.internal.Intrinsics.throwNpe();\n L_0x003c:\n r0 = (java.lang.Object[]) r0;\n r0 = r0.length;\n if (r1 >= r0) goto L_0x00aa;\n L_0x0041:\n r0 = r8.c;\n if (r0 != 0) goto L_0x0099;\n L_0x0045:\n r0 = r8.getRoot();\n r0 = r0.listFiles();\n r8.c = r0;\n r0 = r8.c;\n if (r0 != 0) goto L_0x0074;\n L_0x0053:\n r0 = r8.a;\n r0 = r0.a;\n r6 = r0.e;\n if (r6 == 0) goto L_0x0074;\n L_0x005d:\n r7 = r8.getRoot();\n r0 = new kotlin.io.AccessDeniedException;\n r1 = r8.getRoot();\n r3 = \"Cannot list files in a directory\";\n r4 = 2;\n r5 = r2;\n r0.<init>(r1, r2, r3, r4, r5);\n r0 = r6.invoke(r7, r0);\n r0 = (kotlin.Unit) r0;\n L_0x0074:\n r0 = r8.c;\n if (r0 == 0) goto L_0x0084;\n L_0x0078:\n r0 = r8.c;\n if (r0 != 0) goto L_0x007f;\n L_0x007c:\n kotlin.jvm.internal.Intrinsics.throwNpe();\n L_0x007f:\n r0 = (java.lang.Object[]) r0;\n r0 = r0.length;\n if (r0 != 0) goto L_0x0099;\n L_0x0084:\n r0 = r8.a;\n r0 = r0.a;\n r0 = r0.d;\n if (r0 == 0) goto L_0x0024;\n L_0x008e:\n r1 = r8.getRoot();\n r0 = r0.invoke(r1);\n r0 = (kotlin.Unit) r0;\n goto L_0x0024;\n L_0x0099:\n r0 = r8.c;\n if (r0 != 0) goto L_0x00a0;\n L_0x009d:\n kotlin.jvm.internal.Intrinsics.throwNpe();\n L_0x00a0:\n r1 = r8.d;\n r2 = r1 + 1;\n r8.d = r2;\n r2 = r0[r1];\n goto L_0x0024;\n L_0x00aa:\n r0 = r8.a;\n r0 = r0.a;\n r0 = r0.d;\n if (r0 == 0) goto L_0x0024;\n L_0x00b4:\n r1 = r8.getRoot();\n r0 = r0.invoke(r1);\n r0 = (kotlin.Unit) r0;\n goto L_0x0024;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlin.io.FileTreeWalk.b.c.step():java.io.File\");\n }", "title": "" }, { "docid": "b417f3d3786ea82ae63e1c10b13b5dd3", "score": "0.6198382", "text": "public final void m26319a(java.lang.Object r8, com.fasterxml.jackson.core.JsonGenerator r9, com.fasterxml.jackson.databind.SerializerProvider r10) {\n /* JADX: method processing error */\n/*\nError: java.util.ConcurrentModificationException\n\tat java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)\n\tat java.util.ArrayList$Itr.next(ArrayList.java:851)\n\tat jadx.core.dex.visitors.typeinference.FinishTypeInference.visit(FinishTypeInference.java:43)\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.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:37)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:59)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:42)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r7 = this;\n r8 = (com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.SouvenirMediaModel) r8;\n r2 = null;\n r0 = r8.w_();\n if (r0 != null) goto L_0x0035;\n L_0x0009:\n r0 = new com.facebook.flatbuffers.FlatBufferBuilder;\n r1 = 128;\n r0.<init>(r1);\n r1 = r8.m26320a(r0);\n r0.d(r1);\n r0 = r0.e();\n r1 = java.nio.ByteBuffer.wrap(r0);\n r0 = null;\n r1.position(r0);\n r0 = new com.facebook.flatbuffers.MutableFlatBuffer;\n r4 = 1;\n r3 = r2;\n r5 = r2;\n r0.<init>(r1, r2, r3, r4, r5);\n r6 = r0.a;\n r1 = r6;\n r1 = com.facebook.flatbuffers.FlatBuffer.a(r1);\n r8.a(r0, r1);\n L_0x0035:\n r0 = r8.w_();\n r1 = r8.u_();\n com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsParsers.SouvenirsMediaElementFieldsParser.SouvenirMediaParser.m26409a(r0, r1, r9, r10);\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.SouvenirMediaModel.Serializer.a(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider):void\");\n }", "title": "" }, { "docid": "fdd322e7d75d88fe325ce58e078a0f9e", "score": "0.6162279", "text": "private void m9832a(int r6) {\n /*\n r5 = this;\n monitor-enter(r5);\n r0 = r5.f5710b;\t Catch:{ all -> 0x003f }\n if (r0 > r6) goto L_0x0007;\n L_0x0005:\n monitor-exit(r5);\t Catch:{ all -> 0x003f }\n L_0x0006:\n return;\n L_0x0007:\n monitor-exit(r5);\t Catch:{ all -> 0x003f }\n r0 = 0;\n r1 = r0;\n L_0x000a:\n monitor-enter(r5);\n r0 = r5.f5710b;\t Catch:{ all -> 0x003c }\n if (r0 < 0) goto L_0x001b;\n L_0x000f:\n r0 = r5.f5709a;\t Catch:{ all -> 0x003c }\n r0 = r0.isEmpty();\t Catch:{ all -> 0x003c }\n if (r0 == 0) goto L_0x0042;\n L_0x0017:\n r0 = r5.f5710b;\t Catch:{ all -> 0x003c }\n if (r0 == 0) goto L_0x0042;\n L_0x001b:\n r0 = new java.lang.IllegalStateException;\t Catch:{ all -> 0x003c }\n r1 = new java.lang.StringBuilder;\t Catch:{ all -> 0x003c }\n r1.<init>();\t Catch:{ all -> 0x003c }\n r2 = r5.getClass();\t Catch:{ all -> 0x003c }\n r2 = r2.getName();\t Catch:{ all -> 0x003c }\n r1 = r1.append(r2);\t Catch:{ all -> 0x003c }\n r2 = \".sizeOf() is reporting inconsistent results!\";\n r1 = r1.append(r2);\t Catch:{ all -> 0x003c }\n r1 = r1.toString();\t Catch:{ all -> 0x003c }\n r0.<init>(r1);\t Catch:{ all -> 0x003c }\n throw r0;\t Catch:{ all -> 0x003c }\n L_0x003c:\n r0 = move-exception;\n monitor-exit(r5);\t Catch:{ all -> 0x003c }\n throw r0;\n L_0x003f:\n r0 = move-exception;\n monitor-exit(r5);\t Catch:{ }\n throw r0;\n L_0x0042:\n r0 = r5.f5717i;\t Catch:{ }\n if (r1 < r0) goto L_0x004a;\n L_0x0046:\n r0 = r5.f5710b;\t Catch:{ }\n if (r0 <= r6) goto L_0x0052;\n L_0x004a:\n r0 = r5.f5709a;\t Catch:{ }\n r0 = r0.isEmpty();\t Catch:{ }\n if (r0 == 0) goto L_0x0057;\n L_0x0052:\n monitor-exit(r5);\t Catch:{ }\n r5.m9839e(r1);\n goto L_0x0006;\n L_0x0057:\n r0 = r5.f5709a;\t Catch:{ }\n r0 = r0.entrySet();\t Catch:{ }\n r0 = r0.iterator();\t Catch:{ }\n r0 = r0.next();\t Catch:{ }\n r0 = (java.util.Map.Entry) r0;\t Catch:{ }\n r2 = r0.getKey();\t Catch:{ }\n r3 = r0.getValue();\t Catch:{ }\n r0 = r5.f5709a;\t Catch:{ }\n r0.remove(r2);\t Catch:{ }\n r0 = r5.f5710b;\t Catch:{ }\n r4 = r5.m9835c(r2, r3);\t Catch:{ }\n r0 = r0 - r4;\n r5.f5710b = r0;\t Catch:{ }\n r0 = r5.f5710b;\t Catch:{ }\n r5.m9840f(r0);\t Catch:{ }\n r0 = r5.f5714f;\t Catch:{ }\n r0 = r0 + 1;\n r5.f5714f = r0;\t Catch:{ }\n r0 = r1 + 1;\n monitor-exit(r5);\t Catch:{ }\n r1 = 1;\n r4 = 0;\n r5.mo1393a(r1, r2, r3, r4);\n r1 = r0;\n goto L_0x000a;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.cache.TrackedLruCache.a(int):void\");\n }", "title": "" }, { "docid": "f155dce161eb1613721a7cbef73d2977", "score": "0.6155705", "text": "private void m7011c(android.content.Context 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.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 r4 = this;\n r0 = com.foursquare.pilgrim.am.m6940b(r5);\n r1 = android.text.TextUtils.isEmpty(r0);\n if (r1 != 0) goto L_0x00b2;\n L_0x000a:\n r1 = com.foursquare.pilgrim.ax.class;\t Catch:{ Exception -> 0x0097 }\n r0 = com.foursquare.internal.api.C1913a.m6650a(r0, r1);\t Catch:{ Exception -> 0x0097 }\n r0 = (com.foursquare.pilgrim.ax) r0;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.m7030b();\t Catch:{ Exception -> 0x0097 }\n if (r1 != 0) goto L_0x008f;\t Catch:{ Exception -> 0x0097 }\n L_0x0018:\n r1 = r0.m7030b();\t Catch:{ Exception -> 0x0097 }\n r4.f5332h = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.m7033c();\t Catch:{ Exception -> 0x0097 }\n r4.f5327c = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = new com.foursquare.pilgrim.ax$a;\t Catch:{ Exception -> 0x0097 }\n r1.<init>();\t Catch:{ Exception -> 0x0097 }\n r4.f5335k = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r4.f5335k;\t Catch:{ Exception -> 0x0097 }\n r2 = r0.m7034d();\t Catch:{ Exception -> 0x0097 }\n r1.f5323a = r2;\t Catch:{ Exception -> 0x0097 }\n r1 = r4.f5335k;\t Catch:{ Exception -> 0x0097 }\n r2 = r0.m7035e();\t Catch:{ Exception -> 0x0097 }\n r1.f5324b = r2;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.m7000A();\t Catch:{ Exception -> 0x0097 }\n r4.f5328d = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.m7036f();\t Catch:{ Exception -> 0x0097 }\n r4.f5329e = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.m7037g();\t Catch:{ Exception -> 0x0097 }\n r4.f5330f = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.m7039i();\t Catch:{ Exception -> 0x0097 }\n r4.f5333i = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.m7001B();\t Catch:{ Exception -> 0x0097 }\n r4.f5334j = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5336l;\t Catch:{ Exception -> 0x0097 }\n r4.f5336l = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5337m;\t Catch:{ Exception -> 0x0097 }\n r4.f5337m = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5338n;\t Catch:{ Exception -> 0x0097 }\n r4.f5338n = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5339o;\t Catch:{ Exception -> 0x0097 }\n r4.f5339o = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5331g;\t Catch:{ Exception -> 0x0097 }\n r4.f5331g = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5341q;\t Catch:{ Exception -> 0x0097 }\n r4.f5341q = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5340p;\t Catch:{ Exception -> 0x0097 }\n r4.f5340p = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5342r;\t Catch:{ Exception -> 0x0097 }\n r4.f5342r = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5343s;\t Catch:{ Exception -> 0x0097 }\n r4.f5343s = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5344t;\t Catch:{ Exception -> 0x0097 }\n r4.f5344t = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5345u;\t Catch:{ Exception -> 0x0097 }\n r4.f5345u = r1;\t Catch:{ Exception -> 0x0097 }\n r1 = r0.f5346v;\t Catch:{ Exception -> 0x0097 }\n r4.f5346v = r1;\t Catch:{ Exception -> 0x0097 }\n r0 = r0.f5347w;\t Catch:{ Exception -> 0x0097 }\n r4.f5347w = r0;\t Catch:{ Exception -> 0x0097 }\n r0 = 0;\t Catch:{ Exception -> 0x0097 }\n goto L_0x00b3;\t Catch:{ Exception -> 0x0097 }\n L_0x008f:\n r0 = new java.lang.Exception;\t Catch:{ Exception -> 0x0097 }\n r1 = \"Radar settings file version out of date, will recreate.\";\t Catch:{ Exception -> 0x0097 }\n r0.<init>(r1);\t Catch:{ Exception -> 0x0097 }\n throw r0;\t Catch:{ Exception -> 0x0097 }\n L_0x0097:\n r0 = move-exception;\n r1 = f5325a;\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Load error: \";\n r2.append(r3);\n r0 = r0.getMessage();\n r2.append(r0);\n r0 = r2.toString();\n com.foursquare.internal.util.FsLog.m6807d(r1, r0);\n L_0x00b2:\n r0 = 1;\n L_0x00b3:\n if (r0 == 0) goto L_0x00c3;\n L_0x00b5:\n r4.m7020z();\n r4.m7032b(r5);\t Catch:{ Exception -> 0x00bc }\n goto L_0x00c3;\n L_0x00bc:\n r5 = f5325a;\n r0 = \"Error saving fresh instance.\";\n com.foursquare.internal.util.FsLog.m6807d(r5, r0);\n L_0x00c3:\n r4.m7002C();\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.foursquare.pilgrim.ax.c(android.content.Context):void\");\n }", "title": "" }, { "docid": "a364677869652bb71c929cec26543972", "score": "0.6132461", "text": "public p005b.p082j.p083a.p084a.C1525j mo11584U0(\n/*\nMethod generation error in method: b.j.a.a.r.f.U0(int, boolean):b.j.a.a.j, dex: classes.dex\n jadx.core.utils.exceptions.JadxRuntimeException: Code variable not set in r10v0 ?\n \tat jadx.core.dex.instructions.args.SSAVar.getCodeVar(SSAVar.java:189)\n \tat jadx.core.codegen.MethodGen.addMethodArguments(MethodGen.java:157)\n \tat jadx.core.codegen.MethodGen.addDefinition(MethodGen.java:129)\n \tat jadx.core.codegen.ClassGen.addMethodCode(ClassGen.java:313)\n \tat jadx.core.codegen.ClassGen.addMethod(ClassGen.java:271)\n \tat jadx.core.codegen.ClassGen.lambda$addInnerClsAndMethods$2(ClassGen.java:240)\n \tat java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)\n \tat java.base/java.util.ArrayList.forEach(ArrayList.java:1540)\n \tat java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395)\n \tat java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258)\n \tat java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)\n \tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)\n \tat java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)\n \tat java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)\n \tat java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\n \tat java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)\n \tat jadx.core.codegen.ClassGen.addInnerClsAndMethods(ClassGen.java:236)\n \tat jadx.core.codegen.ClassGen.addClassBody(ClassGen.java:227)\n \tat jadx.core.codegen.ClassGen.addClassCode(ClassGen.java:112)\n \tat jadx.core.codegen.ClassGen.makeClass(ClassGen.java:78)\n \tat jadx.core.codegen.CodeGen.wrapCodeGen(CodeGen.java:44)\n \tat jadx.core.codegen.CodeGen.generateJavaCode(CodeGen.java:33)\n \tat jadx.core.codegen.CodeGen.generate(CodeGen.java:21)\n \tat jadx.core.ProcessClass.generateCode(ProcessClass.java:61)\n \tat jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:273)\n \n*/\n\n /* renamed from: V0 */\n public boolean mo11585V0() {\n int i = this.f2425u;\n Reader reader = this.f2523L;\n if (reader != null) {\n char[] cArr = this.f2524M;\n int read = reader.read(cArr, 0, cArr.length);\n if (read > 0) {\n this.f2424t = 0;\n this.f2425u = read;\n long j = (long) i;\n this.f2426v += j;\n this.f2428x -= i;\n this.f2529R -= j;\n return true;\n }\n mo11511F0();\n if (read == 0) {\n StringBuilder u = C0843a.m460u(\"Reader returned 0 characters when trying to read \");\n u.append(this.f2425u);\n throw new IOException(u.toString());\n }\n }\n return false;\n }", "title": "" }, { "docid": "9f0a1e23a1e67f9fd48719940b30d8fe", "score": "0.6107372", "text": "public boolean a(byte[] r13, int r14, int r15, boolean r16) {\n /* JADX: method processing error */\n/*\n Error: jadx.core.utils.exceptions.JadxOverflowException: Regions stack size limit reached\n\tat jadx.core.utils.ErrorsCounter.addError(ErrorsCounter.java:42)\n\tat jadx.core.utils.ErrorsCounter.methodError(ErrorsCounter.java:66)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:33)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:37)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:281)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:59)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:161)\n*/\n /*\n r12 = this;\n r6 = org.whispersystems.jobqueue.r.a;\n r7 = r12.k;\n r8 = r12.a;\n r4 = 0;\n r0 = r12.e;\n r9 = r15 + r14;\n r1 = -1;\n r2 = r12.j;\n switch(r2) {\n case 0: goto L_0x0198;\n case 1: goto L_0x019a;\n case 2: goto L_0x01bc;\n default: goto L_0x0011;\n };\n L_0x0011:\n r2 = r1;\n r3 = r14;\n L_0x0013:\n r1 = -1;\n if (r2 == r1) goto L_0x004d;\n L_0x0016:\n r1 = 1;\n r5 = r2 >> 18;\n r5 = r5 & 63;\n r5 = r7[r5];\n r8[r4] = r5;\n r4 = 2;\n r5 = r2 >> 12;\n r5 = r5 & 63;\n r5 = r7[r5];\n r8[r1] = r5;\n r5 = 3;\n r1 = r2 >> 6;\n r1 = r1 & 63;\n r1 = r7[r1];\n r8[r4] = r1;\n r1 = 4;\n r2 = r2 & 63;\n r2 = r7[r2];\n r8[r5] = r2;\n r0 = r0 + -1;\n if (r0 != 0) goto L_0x0253;\n L_0x003c:\n r0 = r12.i;\n if (r0 == 0) goto L_0x0256;\n L_0x0040:\n r0 = 5;\n r2 = 13;\n r8[r1] = r2;\n L_0x0045:\n r4 = r0 + 1;\n r1 = 10;\n r8[r0] = r1;\n r0 = 19;\n L_0x004d:\n r1 = r3 + 3;\n if (r1 > r9) goto L_0x00a7;\n L_0x0051:\n r1 = r13[r3];\n r1 = r1 & 255;\n r1 = r1 << 16;\n r2 = r3 + 1;\n r2 = r13[r2];\n r2 = r2 & 255;\n r2 = r2 << 8;\n r1 = r1 | r2;\n r2 = r3 + 2;\n r2 = r13[r2];\n r2 = r2 & 255;\n r1 = r1 | r2;\n r2 = r1 >> 18;\n r2 = r2 & 63;\n r2 = r7[r2];\n r8[r4] = r2;\n r2 = r4 + 1;\n r5 = r1 >> 12;\n r5 = r5 & 63;\n r5 = r7[r5];\n r8[r2] = r5;\n r2 = r4 + 2;\n r5 = r1 >> 6;\n r5 = r5 & 63;\n r5 = r7[r5];\n r8[r2] = r5;\n r2 = r4 + 3;\n r1 = r1 & 63;\n r1 = r7[r1];\n r8[r2] = r1;\n r3 = r3 + 3;\n r1 = r4 + 4;\n r0 = r0 + -1;\n if (r0 != 0) goto L_0x0253;\n L_0x0093:\n r0 = r12.i;\n if (r0 == 0) goto L_0x0250;\n L_0x0097:\n r0 = r1 + 1;\n r2 = 13;\n r8[r1] = r2;\n L_0x009d:\n r4 = r0 + 1;\n r1 = 10;\n r8[r0] = r1;\n r0 = 19;\n if (r6 == 0) goto L_0x004d;\n L_0x00a7:\n r5 = r0;\n if (r16 == 0) goto L_0x0203;\n L_0x00aa:\n r0 = r12.j;\n r0 = r3 - r0;\n r1 = r9 + -1;\n if (r0 != r1) goto L_0x024c;\n L_0x00b2:\n r2 = 0;\n r0 = r12.j;\n if (r0 <= 0) goto L_0x01e0;\n L_0x00b7:\n r0 = r12.h;\n r1 = 1;\n r0 = r0[r2];\n r2 = r3;\n L_0x00bd:\n r0 = r0 & 255;\n r3 = r0 << 4;\n r0 = r12.j;\n r0 = r0 - r1;\n r12.j = r0;\n r1 = r4 + 1;\n r0 = r3 >> 6;\n r0 = r0 & 63;\n r0 = r7[r0];\n r8[r4] = r0;\n r0 = r1 + 1;\n r3 = r3 & 63;\n r3 = r7[r3];\n r8[r1] = r3;\n r1 = r12.f;\n if (r1 == 0) goto L_0x00e8;\n L_0x00dc:\n r1 = r0 + 1;\n r3 = 61;\n r8[r0] = r3;\n r0 = r1 + 1;\n r3 = 61;\n r8[r1] = r3;\n L_0x00e8:\n r1 = r12.g;\n if (r1 == 0) goto L_0x00fe;\n L_0x00ec:\n r1 = r12.i;\n if (r1 == 0) goto L_0x00f7;\n L_0x00f0:\n r1 = r0 + 1;\n r3 = 13;\n r8[r0] = r3;\n r0 = r1;\n L_0x00f7:\n r1 = r0 + 1;\n r3 = 10;\n r8[r0] = r3;\n r0 = r1;\n L_0x00fe:\n if (r6 == 0) goto L_0x0249;\n L_0x0100:\n r1 = r12.j;\n r1 = r2 - r1;\n r3 = r9 + -2;\n if (r1 != r3) goto L_0x0246;\n L_0x0108:\n r4 = 0;\n r1 = r12.j;\n r3 = 1;\n if (r1 <= r3) goto L_0x01e9;\n L_0x010e:\n r1 = r12.h;\n r3 = 1;\n r1 = r1[r4];\n r11 = r3;\n r3 = r2;\n r2 = r11;\n L_0x0116:\n r1 = r1 & 255;\n r10 = r1 << 10;\n r1 = r12.j;\n if (r1 <= 0) goto L_0x01f0;\n L_0x011e:\n r1 = r12.h;\n r4 = r2 + 1;\n r1 = r1[r2];\n r2 = r4;\n L_0x0125:\n r1 = r1 & 255;\n r1 = r1 << 2;\n r4 = r10 | r1;\n r1 = r12.j;\n r1 = r1 - r2;\n r12.j = r1;\n r1 = r0 + 1;\n r2 = r4 >> 12;\n r2 = r2 & 63;\n r2 = r7[r2];\n r8[r0] = r2;\n r0 = r1 + 1;\n r2 = r4 >> 6;\n r2 = r2 & 63;\n r2 = r7[r2];\n r8[r1] = r2;\n r1 = r0 + 1;\n r2 = r4 & 63;\n r2 = r7[r2];\n r8[r0] = r2;\n r0 = r12.f;\n if (r0 == 0) goto L_0x0243;\n L_0x0150:\n r0 = r1 + 1;\n r2 = 61;\n r8[r1] = r2;\n L_0x0156:\n r1 = r12.g;\n if (r1 == 0) goto L_0x016c;\n L_0x015a:\n r1 = r12.i;\n if (r1 == 0) goto L_0x0165;\n L_0x015e:\n r1 = r0 + 1;\n r2 = 13;\n r8[r0] = r2;\n r0 = r1;\n L_0x0165:\n r1 = r0 + 1;\n r2 = 10;\n r8[r0] = r2;\n r0 = r1;\n L_0x016c:\n if (r6 == 0) goto L_0x018a;\n L_0x016e:\n r1 = r12.g;\n if (r1 == 0) goto L_0x018a;\n L_0x0172:\n if (r0 <= 0) goto L_0x018a;\n L_0x0174:\n r1 = 19;\n if (r5 == r1) goto L_0x018a;\n L_0x0178:\n r1 = r12.i;\n if (r1 == 0) goto L_0x0183;\n L_0x017c:\n r1 = r0 + 1;\n r2 = 13;\n r8[r0] = r2;\n r0 = r1;\n L_0x0183:\n r1 = r0 + 1;\n r2 = 10;\n r8[r0] = r2;\n r0 = r1;\n L_0x018a:\n r1 = l;\n if (r1 != 0) goto L_0x01f7;\n L_0x018e:\n r1 = r12.j;\n if (r1 == 0) goto L_0x01f7;\n L_0x0192:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x0198:\n if (r6 == 0) goto L_0x0011;\n L_0x019a:\n r2 = r14 + 2;\n if (r2 > r9) goto L_0x0011;\n L_0x019e:\n r1 = r12.h;\n r2 = 0;\n r1 = r1[r2];\n r1 = r1 & 255;\n r1 = r1 << 16;\n r2 = r14 + 1;\n r3 = r13[r14];\n r3 = r3 & 255;\n r3 = r3 << 8;\n r1 = r1 | r3;\n r14 = r2 + 1;\n r2 = r13[r2];\n r2 = r2 & 255;\n r1 = r1 | r2;\n r2 = 0;\n r12.j = r2;\n if (r6 == 0) goto L_0x0011;\n L_0x01bc:\n r3 = r14;\n r2 = r3 + 1;\n if (r2 > r9) goto L_0x0259;\n L_0x01c1:\n r1 = r12.h;\n r2 = 0;\n r1 = r1[r2];\n r1 = r1 & 255;\n r1 = r1 << 16;\n r2 = r12.h;\n r5 = 1;\n r2 = r2[r5];\n r2 = r2 & 255;\n r2 = r2 << 8;\n r1 = r1 | r2;\n r14 = r3 + 1;\n r2 = r13[r3];\n r2 = r2 & 255;\n r1 = r1 | r2;\n r2 = 0;\n r12.j = r2;\n goto L_0x0011;\n L_0x01e0:\n r1 = r3 + 1;\n r0 = r13[r3];\n r11 = r2;\n r2 = r1;\n r1 = r11;\n goto L_0x00bd;\n L_0x01e9:\n r3 = r2 + 1;\n r1 = r13[r2];\n r2 = r4;\n goto L_0x0116;\n L_0x01f0:\n r4 = r3 + 1;\n r1 = r13[r3];\n r3 = r4;\n goto L_0x0125;\n L_0x01f7:\n r1 = l;\n if (r1 != 0) goto L_0x0241;\n L_0x01fb:\n if (r3 == r9) goto L_0x0241;\n L_0x01fd:\n r0 = new java.lang.AssertionError;\n r0.<init>();\n throw r0;\n L_0x0203:\n r0 = r9 + -1;\n if (r3 != r0) goto L_0x0215;\n L_0x0207:\n r0 = r12.h;\n r1 = r12.j;\n r2 = r1 + 1;\n r12.j = r2;\n r2 = r13[r3];\n r0[r1] = r2;\n if (r6 == 0) goto L_0x0233;\n L_0x0215:\n r0 = r9 + -2;\n if (r3 != r0) goto L_0x0233;\n L_0x0219:\n r0 = r12.h;\n r1 = r12.j;\n r2 = r1 + 1;\n r12.j = r2;\n r2 = r13[r3];\n r0[r1] = r2;\n r0 = r12.h;\n r1 = r12.j;\n r2 = r1 + 1;\n r12.j = r2;\n r2 = r3 + 1;\n r2 = r13[r2];\n r0[r1] = r2;\n L_0x0233:\n r12.b = r4;\n r12.e = r5;\n r0 = 1;\n r1 = org.whispersystems.jobqueue.v.d;\n if (r1 == 0) goto L_0x0240;\n L_0x023c:\n r1 = r6 + 1;\n org.whispersystems.jobqueue.r.a = r1;\n L_0x0240:\n return r0;\n L_0x0241:\n r4 = r0;\n goto L_0x0233;\n L_0x0243:\n r0 = r1;\n goto L_0x0156;\n L_0x0246:\n r3 = r2;\n goto L_0x016e;\n L_0x0249:\n r3 = r2;\n goto L_0x018a;\n L_0x024c:\n r2 = r3;\n r0 = r4;\n goto L_0x0100;\n L_0x0250:\n r0 = r1;\n goto L_0x009d;\n L_0x0253:\n r4 = r1;\n goto L_0x004d;\n L_0x0256:\n r0 = r1;\n goto L_0x0045;\n L_0x0259:\n r2 = r1;\n goto L_0x0013;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.whispersystems.jobqueue.d.a(byte[], int, int, boolean):boolean\");\n }", "title": "" }, { "docid": "a12cda59e6093b49a3c8b42b9e165473", "score": "0.6075959", "text": "public final void run() {\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 L_0x0000:\n r0 = m10636e();\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n if (r0 == 0) goto L_0x0059;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n L_0x0006:\n r0 = com.google.android.gms.ads.internal.zzbv.zzen();\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r0 = r0.m10630a();\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n if (r0 != 0) goto L_0x0019;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n L_0x0010:\n r0 = \"ContentFetchThread: no activity. Sleeping.\";\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n com.google.android.gms.internal.ads.zzaok.m10001b(r0);\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r4.m10637f();\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n goto L_0x0061;\n L_0x0019:\n if (r0 == 0) goto L_0x0061;\n L_0x001b:\n r1 = 0;\n r2 = r0.getWindow();\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n if (r2 == 0) goto L_0x004c;\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n L_0x0022:\n r2 = r0.getWindow();\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n r2 = r2.getDecorView();\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n if (r2 == 0) goto L_0x004c;\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n L_0x002c:\n r0 = r0.getWindow();\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n r0 = r0.getDecorView();\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n r2 = 16908290; // 0x1020002 float:2.3877235E-38 double:8.353805E-317;\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n r0 = r0.findViewById(r2);\t Catch:{ Exception -> 0x003d, InterruptedException -> 0x007a }\n r1 = r0;\n goto L_0x004c;\n L_0x003d:\n r0 = move-exception;\n r2 = com.google.android.gms.ads.internal.zzbv.zzeo();\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r3 = \"ContentFetchTask.extractContent\";\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r2.m9714a(r0, r3);\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r0 = \"Failed getting root view of activity. Content not extracted.\";\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n com.google.android.gms.internal.ads.zzaok.m10001b(r0);\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n L_0x004c:\n if (r1 == 0) goto L_0x0061;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n L_0x004e:\n if (r1 == 0) goto L_0x0061;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n L_0x0050:\n r0 = new com.google.android.gms.internal.ads.qj;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r0.<init>(r4, r1);\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r1.post(r0);\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n goto L_0x0061;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n L_0x0059:\n r0 = \"ContentFetchTask: sleeping\";\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n com.google.android.gms.internal.ads.zzaok.m10001b(r0);\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r4.m10637f();\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n L_0x0061:\n r0 = r4.f9498f;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r0 = r0 * 1000;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n r0 = (long) r0;\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n java.lang.Thread.sleep(r0);\t Catch:{ InterruptedException -> 0x007a, Exception -> 0x006a }\n goto L_0x0080;\n L_0x006a:\n r0 = move-exception;\n r1 = \"Error in ContentFetchTask\";\n com.google.android.gms.internal.ads.zzaok.m10002b(r1, r0);\n r1 = com.google.android.gms.ads.internal.zzbv.zzeo();\n r2 = \"ContentFetchTask.run\";\n r1.m9714a(r0, r2);\n goto L_0x0080;\n L_0x007a:\n r0 = move-exception;\n r1 = \"Error in ContentFetchTask\";\n com.google.android.gms.internal.ads.zzaok.m10002b(r1, r0);\n L_0x0080:\n r0 = r4.f9496d;\n monitor-enter(r0);\n L_0x0083:\n r1 = r4.f9494b;\t Catch:{ all -> 0x0095 }\n if (r1 == 0) goto L_0x0092;\n L_0x0087:\n r1 = \"ContentFetchTask: waiting\";\t Catch:{ InterruptedException -> 0x0083 }\n com.google.android.gms.internal.ads.zzaok.m10001b(r1);\t Catch:{ InterruptedException -> 0x0083 }\n r1 = r4.f9496d;\t Catch:{ InterruptedException -> 0x0083 }\n r1.wait();\t Catch:{ InterruptedException -> 0x0083 }\n goto L_0x0083;\n L_0x0092:\n monitor-exit(r0);\t Catch:{ all -> 0x0095 }\n goto L_0x0000;\t Catch:{ all -> 0x0095 }\n L_0x0095:\n r1 = move-exception;\t Catch:{ all -> 0x0095 }\n monitor-exit(r0);\t Catch:{ all -> 0x0095 }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.zzgn.run():void\");\n }", "title": "" }, { "docid": "68d7fa4fa682eba8e3f75f83a54ff705", "score": "0.6064807", "text": "private boolean m11301d(java.util.ArrayList<com.fossil.en> r5, java.util.ArrayList<java.lang.Boolean> r6) {\n /*\n r4 = this;\n r1 = 0;\n monitor-enter(r4);\n r0 = r4.Jc;\t Catch:{ all -> 0x003e }\n if (r0 == 0) goto L_0x000e;\n L_0x0006:\n r0 = r4.Jc;\t Catch:{ all -> 0x003e }\n r0 = r0.size();\t Catch:{ all -> 0x003e }\n if (r0 != 0) goto L_0x0011;\n L_0x000e:\n monitor-exit(r4);\t Catch:{ all -> 0x003e }\n r0 = r1;\n L_0x0010:\n return r0;\n L_0x0011:\n r0 = r4.Jc;\t Catch:{ all -> 0x003e }\n r3 = r0.size();\t Catch:{ all -> 0x003e }\n r2 = r1;\n L_0x0018:\n if (r2 >= r3) goto L_0x0029;\n L_0x001a:\n r0 = r4.Jc;\t Catch:{ all -> 0x003e }\n r0 = r0.get(r2);\t Catch:{ all -> 0x003e }\n r0 = (com.fossil.fb.C3468c) r0;\t Catch:{ all -> 0x003e }\n r0.mo2969a(r5, r6);\t Catch:{ all -> 0x003e }\n r0 = r2 + 1;\n r2 = r0;\n goto L_0x0018;\n L_0x0029:\n r0 = r4.Jc;\t Catch:{ all -> 0x003e }\n r0.clear();\t Catch:{ all -> 0x003e }\n r0 = r4.mHost;\t Catch:{ all -> 0x003e }\n r0 = r0.getHandler();\t Catch:{ all -> 0x003e }\n r2 = r4.JB;\t Catch:{ all -> 0x003e }\n r0.removeCallbacks(r2);\t Catch:{ all -> 0x003e }\n monitor-exit(r4);\t Catch:{ all -> 0x003e }\n if (r3 <= 0) goto L_0x0041;\n L_0x003c:\n r0 = 1;\n goto L_0x0010;\n L_0x003e:\n r0 = move-exception;\n monitor-exit(r4);\t Catch:{ all -> 0x003e }\n throw r0;\n L_0x0041:\n r0 = r1;\n goto L_0x0010;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.fossil.fb.d(java.util.ArrayList, java.util.ArrayList):boolean\");\n }", "title": "" }, { "docid": "3c0c1c6afc72c8d9782d00c27dcdcdd5", "score": "0.6055743", "text": "final void m9042a(android.support.v4.app.Fragment r17, int r18, int r19, int r20, boolean r21) {\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:37)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:59)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:42)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r16 = this;\n r6 = r16;\n r7 = r17;\n r0 = r7.f13208t;\n r8 = 1;\n if (r0 == 0) goto L_0x0011;\n L_0x0009:\n r0 = r7.f13182J;\n if (r0 == 0) goto L_0x000e;\n L_0x000d:\n goto L_0x0011;\n L_0x000e:\n r0 = r18;\n goto L_0x0016;\n L_0x0011:\n r0 = r18;\n if (r0 <= r8) goto L_0x0016;\n L_0x0015:\n r0 = r8;\n L_0x0016:\n r1 = r7.f13209u;\n if (r1 == 0) goto L_0x002c;\n L_0x001a:\n r1 = r7.f13199k;\n if (r0 <= r1) goto L_0x002c;\n L_0x001e:\n r0 = r7.f13199k;\n if (r0 != 0) goto L_0x002a;\n L_0x0022:\n r0 = r17.m8908i();\n if (r0 == 0) goto L_0x002a;\n L_0x0028:\n r0 = r8;\n goto L_0x002c;\n L_0x002a:\n r0 = r7.f13199k;\n L_0x002c:\n r1 = r7.f13191S;\n r9 = 4;\n r10 = 3;\n if (r1 == 0) goto L_0x003a;\n L_0x0032:\n r1 = r7.f13199k;\n if (r1 >= r9) goto L_0x003a;\n L_0x0036:\n if (r0 <= r10) goto L_0x003a;\n L_0x0038:\n r11 = r10;\n goto L_0x003b;\n L_0x003a:\n r11 = r0;\n L_0x003b:\n r0 = r7.f13199k;\n r12 = 2;\n r13 = -1;\n r14 = 0;\n r15 = 0;\n if (r0 > r11) goto L_0x0327;\n L_0x0043:\n r0 = r7.f13210v;\n if (r0 == 0) goto L_0x004c;\n L_0x0047:\n r0 = r7.f13211w;\n if (r0 != 0) goto L_0x004c;\n L_0x004b:\n return;\n L_0x004c:\n r0 = r17.m8870J();\n if (r0 != 0) goto L_0x0058;\n L_0x0052:\n r0 = r17.m8871K();\n if (r0 == 0) goto L_0x006a;\n L_0x0058:\n r7.m8887a(r14);\n r7.m8880a(r14);\n r2 = r17.m8872L();\n r3 = 0;\n r4 = 0;\n r5 = 1;\n r0 = r6;\n r1 = r7;\n r0.m9042a(r1, r2, r3, r4, r5);\n L_0x006a:\n r0 = r7.f13199k;\n switch(r0) {\n case 0: goto L_0x0071;\n case 1: goto L_0x0186;\n case 2: goto L_0x02df;\n case 3: goto L_0x02e3;\n case 4: goto L_0x0302;\n default: goto L_0x006f;\n };\n L_0x006f:\n goto L_0x0626;\n L_0x0071:\n if (r11 <= 0) goto L_0x0186;\n L_0x0073:\n r0 = f13284a;\n if (r0 == 0) goto L_0x008a;\n L_0x0077:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"moveto CREATED: \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x008a:\n r0 = r7.f13200l;\n if (r0 == 0) goto L_0x00d0;\n L_0x008e:\n r0 = r7.f13200l;\n r1 = r6.f13302m;\n r1 = r1.f13261c;\n r1 = r1.getClassLoader();\n r0.setClassLoader(r1);\n r0 = r7.f13200l;\n r1 = \"android:view_state\";\n r0 = r0.getSparseParcelableArray(r1);\n r7.f13201m = r0;\n r0 = r7.f13200l;\n r1 = \"android:target_state\";\n r0 = r6.mo252a(r0, r1);\n r7.f13205q = r0;\n r0 = r7.f13205q;\n if (r0 == 0) goto L_0x00bd;\n L_0x00b3:\n r0 = r7.f13200l;\n r1 = \"android:target_req_state\";\n r0 = r0.getInt(r1, r15);\n r7.f13207s = r0;\n L_0x00bd:\n r0 = r7.f13200l;\n r1 = \"android:user_visible_hint\";\n r0 = r0.getBoolean(r1, r8);\n r7.f13192T = r0;\n r0 = r7.f13192T;\n if (r0 != 0) goto L_0x00d0;\n L_0x00cb:\n r7.f13191S = r8;\n if (r11 <= r10) goto L_0x00d0;\n L_0x00cf:\n r11 = r10;\n L_0x00d0:\n r0 = r6.f13302m;\n r7.f13174B = r0;\n r0 = r6.f13304o;\n r7.f13177E = r0;\n r0 = r6.f13304o;\n if (r0 == 0) goto L_0x00e1;\n L_0x00dc:\n r0 = r6.f13304o;\n r0 = r0.f13175C;\n goto L_0x00e5;\n L_0x00e1:\n r0 = r6.f13302m;\n r0 = r0.f13264f;\n L_0x00e5:\n r7.f13173A = r0;\n r0 = r7.f13205q;\n if (r0 == 0) goto L_0x012c;\n L_0x00eb:\n r0 = r6.f13295f;\n r1 = r7.f13205q;\n r1 = r1.f13202n;\n r0 = r0.get(r1);\n r1 = r7.f13205q;\n if (r0 == r1) goto L_0x011c;\n L_0x00f9:\n r0 = new java.lang.IllegalStateException;\n r1 = new java.lang.StringBuilder;\n r2 = \"Fragment \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" declared target fragment \";\n r1.append(r2);\n r2 = r7.f13205q;\n r1.append(r2);\n r2 = \" that does not belong to this FragmentManager!\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x011c:\n r0 = r7.f13205q;\n r0 = r0.f13199k;\n if (r0 > 0) goto L_0x012c;\n L_0x0122:\n r1 = r7.f13205q;\n r2 = 1;\n r3 = 0;\n r4 = 0;\n r5 = 1;\n r0 = r6;\n r0.m9042a(r1, r2, r3, r4, r5);\n L_0x012c:\n r0 = r6.f13302m;\n r0 = r0.f13261c;\n r6.m8995a(r7, r0, r15);\n r7.f13187O = r15;\n r0 = r6.f13302m;\n r0 = r0.f13261c;\n r7.mo2528a(r0);\n r0 = r7.f13187O;\n if (r0 != 0) goto L_0x0159;\n L_0x0140:\n r0 = new android.support.v4.app.al;\n r1 = new java.lang.StringBuilder;\n r2 = \"Fragment \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" did not call through to super.onAttach()\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x0159:\n r0 = r7.f13177E;\n if (r0 == 0) goto L_0x0162;\n L_0x015d:\n r0 = r7.f13177E;\n android.support.v4.app.Fragment.m8857s();\n L_0x0162:\n r0 = r6.f13302m;\n r0 = r0.f13261c;\n r6.m9006b(r7, r0, r15);\n r0 = r7.ac;\n if (r0 != 0) goto L_0x017d;\n L_0x016d:\n r0 = r7.f13200l;\n r6.m8996a(r7, r0, r15);\n r0 = r7.f13200l;\n r7.m8906h(r0);\n r0 = r7.f13200l;\n r6.m9007b(r7, r0, r15);\n goto L_0x0184;\n L_0x017d:\n r0 = r7.f13200l;\n r7.m8904g(r0);\n r7.f13199k = r8;\n L_0x0184:\n r7.f13184L = r15;\n L_0x0186:\n r0 = r7.f13210v;\n r1 = 8;\n if (r0 == 0) goto L_0x01c5;\n L_0x018c:\n r0 = r7.f13213y;\n if (r0 != 0) goto L_0x01c5;\n L_0x0190:\n r0 = r7.f13200l;\n r0 = r7.m8901f(r0);\n r2 = r7.f13200l;\n r0 = r7.m8891b(r0, r14, r2);\n r7.f13189Q = r0;\n r0 = r7.f13189Q;\n if (r0 == 0) goto L_0x01c3;\n L_0x01a2:\n r0 = r7.f13189Q;\n r7.f13190R = r0;\n r0 = r7.f13189Q;\n r0.setSaveFromParentEnabled(r15);\n r0 = r7.f13181I;\n if (r0 == 0) goto L_0x01b4;\n L_0x01af:\n r0 = r7.f13189Q;\n r0.setVisibility(r1);\n L_0x01b4:\n r0 = r7.f13189Q;\n r2 = r7.f13200l;\n r7.mo3453a(r0, r2);\n r0 = r7.f13189Q;\n r2 = r7.f13200l;\n r6.m8997a(r7, r0, r2, r15);\n goto L_0x01c5;\n L_0x01c3:\n r7.f13190R = r14;\n L_0x01c5:\n if (r11 <= r8) goto L_0x02df;\n L_0x01c7:\n r0 = f13284a;\n if (r0 == 0) goto L_0x01de;\n L_0x01cb:\n r0 = \"FragmentManager\";\n r2 = new java.lang.StringBuilder;\n r3 = \"moveto ACTIVITY_CREATED: \";\n r2.<init>(r3);\n r2.append(r7);\n r2 = r2.toString();\n android.util.Log.v(r0, r2);\n L_0x01de:\n r0 = r7.f13210v;\n if (r0 != 0) goto L_0x029f;\n L_0x01e2:\n r0 = r7.f13179G;\n if (r0 == 0) goto L_0x024f;\n L_0x01e6:\n r0 = r7.f13179G;\n if (r0 != r13) goto L_0x0205;\n L_0x01ea:\n r0 = new java.lang.IllegalArgumentException;\n r2 = new java.lang.StringBuilder;\n r3 = \"Cannot create fragment \";\n r2.<init>(r3);\n r2.append(r7);\n r3 = \" for a container view with no id\";\n r2.append(r3);\n r2 = r2.toString();\n r0.<init>(r2);\n r6.m9003a(r0);\n L_0x0205:\n r0 = r6.f13303n;\n r2 = r7.f13179G;\n r0 = r0.mo222a(r2);\n r0 = (android.view.ViewGroup) r0;\n if (r0 != 0) goto L_0x0250;\n L_0x0211:\n r2 = r7.f13212x;\n if (r2 != 0) goto L_0x0250;\n L_0x0215:\n r2 = r17.m8912l();\t Catch:{ NotFoundException -> 0x0220 }\n r3 = r7.f13179G;\t Catch:{ NotFoundException -> 0x0220 }\n r2 = r2.getResourceName(r3);\t Catch:{ NotFoundException -> 0x0220 }\n goto L_0x0222;\n L_0x0220:\n r2 = \"unknown\";\n L_0x0222:\n r3 = new java.lang.IllegalArgumentException;\n r4 = new java.lang.StringBuilder;\n r5 = \"No view found for id 0x\";\n r4.<init>(r5);\n r5 = r7.f13179G;\n r5 = java.lang.Integer.toHexString(r5);\n r4.append(r5);\n r5 = \" (\";\n r4.append(r5);\n r4.append(r2);\n r2 = \") for fragment \";\n r4.append(r2);\n r4.append(r7);\n r2 = r4.toString();\n r3.<init>(r2);\n r6.m9003a(r3);\n goto L_0x0250;\n L_0x024f:\n r0 = r14;\n L_0x0250:\n r7.f13188P = r0;\n r2 = r7.f13200l;\n r2 = r7.m8901f(r2);\n r3 = r7.f13200l;\n r2 = r7.m8891b(r2, r0, r3);\n r7.f13189Q = r2;\n r2 = r7.f13189Q;\n if (r2 == 0) goto L_0x029d;\n L_0x0264:\n r2 = r7.f13189Q;\n r7.f13190R = r2;\n r2 = r7.f13189Q;\n r2.setSaveFromParentEnabled(r15);\n if (r0 == 0) goto L_0x0274;\n L_0x026f:\n r2 = r7.f13189Q;\n r0.addView(r2);\n L_0x0274:\n r0 = r7.f13181I;\n if (r0 == 0) goto L_0x027d;\n L_0x0278:\n r0 = r7.f13189Q;\n r0.setVisibility(r1);\n L_0x027d:\n r0 = r7.f13189Q;\n r1 = r7.f13200l;\n r7.mo3453a(r0, r1);\n r0 = r7.f13189Q;\n r1 = r7.f13200l;\n r6.m8997a(r7, r0, r1, r15);\n r0 = r7.f13189Q;\n r0 = r0.getVisibility();\n if (r0 != 0) goto L_0x0299;\n L_0x0293:\n r0 = r7.f13188P;\n if (r0 == 0) goto L_0x0299;\n L_0x0297:\n r0 = r8;\n goto L_0x029a;\n L_0x0299:\n r0 = r15;\n L_0x029a:\n r7.f13197Y = r0;\n goto L_0x029f;\n L_0x029d:\n r7.f13190R = r14;\n L_0x029f:\n r0 = r7.f13200l;\n r7.m8907i(r0);\n r0 = r7.f13200l;\n r6.m9012c(r7, r0, r15);\n r0 = r7.f13189Q;\n if (r0 == 0) goto L_0x02dd;\n L_0x02ad:\n r0 = r7.f13200l;\n r0 = r7.f13201m;\n if (r0 == 0) goto L_0x02bc;\n L_0x02b3:\n r0 = r7.f13190R;\n r1 = r7.f13201m;\n r0.restoreHierarchyState(r1);\n r7.f13201m = r14;\n L_0x02bc:\n r7.f13187O = r15;\n r7.f13187O = r8;\n r0 = r7.f13187O;\n if (r0 != 0) goto L_0x02dd;\n L_0x02c4:\n r0 = new android.support.v4.app.al;\n r1 = new java.lang.StringBuilder;\n r2 = \"Fragment \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" did not call through to super.onViewStateRestored()\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x02dd:\n r7.f13200l = r14;\n L_0x02df:\n if (r11 <= r12) goto L_0x02e3;\n L_0x02e1:\n r7.f13199k = r10;\n L_0x02e3:\n if (r11 <= r10) goto L_0x0302;\n L_0x02e5:\n r0 = f13284a;\n if (r0 == 0) goto L_0x02fc;\n L_0x02e9:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"moveto STARTED: \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x02fc:\n r17.m8861A();\n r6.m9008b(r7, r15);\n L_0x0302:\n if (r11 <= r9) goto L_0x0626;\n L_0x0304:\n r0 = f13284a;\n if (r0 == 0) goto L_0x031b;\n L_0x0308:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"moveto RESUMED: \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x031b:\n r17.m8862B();\n r6.m9013c(r7, r15);\n r7.f13200l = r14;\n r7.f13201m = r14;\n goto L_0x0626;\n L_0x0327:\n r0 = r7.f13199k;\n if (r0 <= r11) goto L_0x0626;\n L_0x032b:\n r0 = r7.f13199k;\n switch(r0) {\n case 1: goto L_0x04e6;\n case 2: goto L_0x03ef;\n case 3: goto L_0x03d3;\n case 4: goto L_0x0383;\n case 5: goto L_0x0332;\n default: goto L_0x0330;\n };\n L_0x0330:\n goto L_0x0626;\n L_0x0332:\n r0 = 5;\n if (r11 >= r0) goto L_0x0383;\n L_0x0335:\n r0 = f13284a;\n if (r0 == 0) goto L_0x034c;\n L_0x0339:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"movefrom RESUMED: \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x034c:\n r0 = r7.ad;\n r1 = android.arch.lifecycle.C0093d.C0091a.ON_PAUSE;\n r0.m8543a(r1);\n r0 = r7.f13175C;\n if (r0 == 0) goto L_0x035c;\n L_0x0357:\n r0 = r7.f13175C;\n r0.m9065d(r9);\n L_0x035c:\n r7.f13199k = r9;\n r7.f13187O = r15;\n r17.mo2480a();\n r0 = r7.f13187O;\n if (r0 != 0) goto L_0x0380;\n L_0x0367:\n r0 = new android.support.v4.app.al;\n r1 = new java.lang.StringBuilder;\n r2 = \"Fragment \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" did not call through to super.onPause()\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x0380:\n r6.m9016d(r7, r15);\n L_0x0383:\n if (r11 >= r9) goto L_0x03d3;\n L_0x0385:\n r0 = f13284a;\n if (r0 == 0) goto L_0x039c;\n L_0x0389:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"movefrom STARTED: \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x039c:\n r0 = r7.ad;\n r1 = android.arch.lifecycle.C0093d.C0091a.ON_STOP;\n r0.m8543a(r1);\n r0 = r7.f13175C;\n if (r0 == 0) goto L_0x03ac;\n L_0x03a7:\n r0 = r7.f13175C;\n r0.m9085s();\n L_0x03ac:\n r7.f13199k = r10;\n r7.f13187O = r15;\n r17.mo2481b();\n r0 = r7.f13187O;\n if (r0 != 0) goto L_0x03d0;\n L_0x03b7:\n r0 = new android.support.v4.app.al;\n r1 = new java.lang.StringBuilder;\n r2 = \"Fragment \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" did not call through to super.onStop()\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x03d0:\n r6.m9018e(r7, r15);\n L_0x03d3:\n if (r11 >= r10) goto L_0x03ef;\n L_0x03d5:\n r0 = f13284a;\n if (r0 == 0) goto L_0x03ec;\n L_0x03d9:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"movefrom STOPPED: \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x03ec:\n r17.m8863C();\n L_0x03ef:\n if (r11 >= r12) goto L_0x04e6;\n L_0x03f1:\n r0 = f13284a;\n if (r0 == 0) goto L_0x0408;\n L_0x03f5:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"movefrom ACTIVITY_CREATED: \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x0408:\n r0 = r7.f13189Q;\n if (r0 == 0) goto L_0x041b;\n L_0x040c:\n r0 = r6.f13302m;\n r0 = r0.mo2539b();\n if (r0 == 0) goto L_0x041b;\n L_0x0414:\n r0 = r7.f13201m;\n if (r0 != 0) goto L_0x041b;\n L_0x0418:\n r16.m9025l(r17);\n L_0x041b:\n r0 = r7.f13175C;\n if (r0 == 0) goto L_0x0424;\n L_0x041f:\n r0 = r7.f13175C;\n r0.m9065d(r8);\n L_0x0424:\n r7.f13199k = r8;\n r7.f13187O = r15;\n r17.mo2536h();\n r0 = r7.f13187O;\n if (r0 != 0) goto L_0x0448;\n L_0x042f:\n r0 = new android.support.v4.app.al;\n r1 = new java.lang.StringBuilder;\n r2 = \"Fragment \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" did not call through to super.onDestroyView()\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x0448:\n r0 = r7.f13193U;\n if (r0 == 0) goto L_0x0451;\n L_0x044c:\n r0 = r7.f13193U;\n r0.m9126f();\n L_0x0451:\n r7.f13213y = r15;\n r6.m9020f(r7, r15);\n r0 = r7.f13189Q;\n if (r0 == 0) goto L_0x04de;\n L_0x045a:\n r0 = r7.f13188P;\n if (r0 == 0) goto L_0x04de;\n L_0x045e:\n r0 = r7.f13189Q;\n r0.clearAnimation();\n r0 = r7.f13188P;\n r1 = r7.f13189Q;\n r0.endViewTransition(r1);\n r0 = r6.f13301l;\n r1 = 0;\n if (r0 <= 0) goto L_0x048a;\n L_0x046f:\n r0 = r6.f13308t;\n if (r0 != 0) goto L_0x048a;\n L_0x0473:\n r0 = r7.f13189Q;\n r0 = r0.getVisibility();\n if (r0 != 0) goto L_0x048a;\n L_0x047b:\n r0 = r7.aa;\n r0 = (r0 > r1 ? 1 : (r0 == r1 ? 0 : -1));\n if (r0 < 0) goto L_0x048a;\n L_0x0481:\n r0 = r19;\n r2 = r20;\n r0 = r6.m8992a(r7, r0, r15, r2);\n goto L_0x048b;\n L_0x048a:\n r0 = r14;\n L_0x048b:\n r7.aa = r1;\n if (r0 == 0) goto L_0x04d7;\n L_0x048f:\n r1 = r7.f13189Q;\n r7.e_(r11);\n r2 = r0.f1434a;\n if (r2 == 0) goto L_0x04b4;\n L_0x0498:\n r2 = r0.f1434a;\n r3 = r7.f13189Q;\n r7.m8887a(r3);\n r3 = android.support.v4.app.C4783l.m8993a(r2);\n r4 = new android.support.v4.app.l$2;\n r4.<init>(r6, r3, r7);\n r2.setAnimationListener(r4);\n android.support.v4.app.C4783l.m9002a(r1, r0);\n r0 = r7.f13189Q;\n r0.startAnimation(r2);\n goto L_0x04d7;\n L_0x04b4:\n r2 = r0.f1435b;\n r3 = r0.f1435b;\n r7.m8880a(r3);\n r3 = r7.f13188P;\n if (r3 == 0) goto L_0x04c2;\n L_0x04bf:\n r3.startViewTransition(r1);\n L_0x04c2:\n r4 = new android.support.v4.app.l$3;\n r4.<init>(r6, r3, r1, r7);\n r2.addListener(r4);\n r1 = r7.f13189Q;\n r2.setTarget(r1);\n r1 = r7.f13189Q;\n android.support.v4.app.C4783l.m9002a(r1, r0);\n r2.start();\n L_0x04d7:\n r0 = r7.f13188P;\n r1 = r7.f13189Q;\n r0.removeView(r1);\n L_0x04de:\n r7.f13188P = r14;\n r7.f13189Q = r14;\n r7.f13190R = r14;\n r7.f13211w = r15;\n L_0x04e6:\n if (r11 > 0) goto L_0x0626;\n L_0x04e8:\n r0 = r6.f13308t;\n if (r0 == 0) goto L_0x050d;\n L_0x04ec:\n r0 = r17.m8870J();\n if (r0 == 0) goto L_0x04fd;\n L_0x04f2:\n r0 = r17.m8870J();\n r7.m8887a(r14);\n r0.clearAnimation();\n goto L_0x050d;\n L_0x04fd:\n r0 = r17.m8871K();\n if (r0 == 0) goto L_0x050d;\n L_0x0503:\n r0 = r17.m8871K();\n r7.m8880a(r14);\n r0.cancel();\n L_0x050d:\n r0 = r17.m8870J();\n if (r0 != 0) goto L_0x0622;\n L_0x0513:\n r0 = r17.m8871K();\n if (r0 == 0) goto L_0x051b;\n L_0x0519:\n goto L_0x0622;\n L_0x051b:\n r0 = f13284a;\n if (r0 == 0) goto L_0x0532;\n L_0x051f:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"movefrom CREATED: \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x0532:\n r0 = r7.f13184L;\n if (r0 != 0) goto L_0x0572;\n L_0x0536:\n r0 = r7.ad;\n r1 = android.arch.lifecycle.C0093d.C0091a.ON_DESTROY;\n r0.m8543a(r1);\n r0 = r7.f13175C;\n if (r0 == 0) goto L_0x0546;\n L_0x0541:\n r0 = r7.f13175C;\n r0.m9086t();\n L_0x0546:\n r7.f13199k = r15;\n r7.f13187O = r15;\n r7.ac = r15;\n r17.mo2482c();\n r0 = r7.f13187O;\n if (r0 != 0) goto L_0x056c;\n L_0x0553:\n r0 = new android.support.v4.app.al;\n r1 = new java.lang.StringBuilder;\n r2 = \"Fragment \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" did not call through to super.onDestroy()\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x056c:\n r7.f13175C = r14;\n r6.m9022g(r7, r15);\n goto L_0x0574;\n L_0x0572:\n r7.f13199k = r15;\n L_0x0574:\n r7.f13187O = r15;\n r17.mo2534f();\n r7.ab = r14;\n r0 = r7.f13187O;\n if (r0 != 0) goto L_0x0598;\n L_0x057f:\n r0 = new android.support.v4.app.al;\n r1 = new java.lang.StringBuilder;\n r2 = \"Fragment \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" did not call through to super.onDetach()\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x0598:\n r0 = r7.f13175C;\n if (r0 == 0) goto L_0x05c0;\n L_0x059c:\n r0 = r7.f13184L;\n if (r0 != 0) goto L_0x05b9;\n L_0x05a0:\n r0 = new java.lang.IllegalStateException;\n r1 = new java.lang.StringBuilder;\n r2 = \"Child FragmentManager of \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" was not destroyed and this fragment is not retaining instance\";\n r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x05b9:\n r0 = r7.f13175C;\n r0.m9086t();\n r7.f13175C = r14;\n L_0x05c0:\n r6.m9023h(r7, r15);\n if (r21 != 0) goto L_0x0626;\n L_0x05c5:\n r0 = r7.f13184L;\n if (r0 != 0) goto L_0x061b;\n L_0x05c9:\n r0 = r7.f13202n;\n if (r0 < 0) goto L_0x0626;\n L_0x05cd:\n r0 = f13284a;\n if (r0 == 0) goto L_0x05e4;\n L_0x05d1:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"Freeing fragment index \";\n r1.<init>(r2);\n r1.append(r7);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x05e4:\n r0 = r6.f13295f;\n r1 = r7.f13202n;\n r0.put(r1, r14);\n r0 = r6.f13302m;\n r1 = r7.f13203o;\n r0.m8975a(r1);\n r7.f13202n = r13;\n r7.f13203o = r14;\n r7.f13208t = r15;\n r7.f13209u = r15;\n r7.f13210v = r15;\n r7.f13211w = r15;\n r7.f13212x = r15;\n r7.f13214z = r15;\n r7.f13173A = r14;\n r7.f13175C = r14;\n r7.f13174B = r14;\n r7.f13178F = r15;\n r7.f13179G = r15;\n r7.f13180H = r14;\n r7.f13181I = r15;\n r7.f13182J = r15;\n r7.f13184L = r15;\n r7.f13193U = r14;\n r7.f13194V = r15;\n r7.f13195W = r15;\n goto L_0x0626;\n L_0x061b:\n r7.f13174B = r14;\n r7.f13177E = r14;\n r7.f13173A = r14;\n goto L_0x0626;\n L_0x0622:\n r7.e_(r11);\n goto L_0x0627;\n L_0x0626:\n r8 = r11;\n L_0x0627:\n r0 = r7.f13199k;\n if (r0 == r8) goto L_0x0652;\n L_0x062b:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r2 = \"moveToState: Fragment state for \";\n r1.<init>(r2);\n r1.append(r7);\n r2 = \" not updated inline; expected state \";\n r1.append(r2);\n r1.append(r8);\n r2 = \" found \";\n r1.append(r2);\n r2 = r7.f13199k;\n r1.append(r2);\n r1 = r1.toString();\n android.util.Log.w(r0, r1);\n r7.f13199k = r8;\n L_0x0652:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.app.l.a(android.support.v4.app.Fragment, int, int, int, boolean):void\");\n }", "title": "" }, { "docid": "2a6260bcc4948603ccb575912d3d78c4", "score": "0.6004612", "text": "private void m7172j() {\n /*\n r4 = this;\n com.applovin.impl.sdk.j r0 = r4.f6212c\n com.applovin.impl.sdk.b.c<java.lang.Boolean> r1 = com.applovin.impl.sdk.p050b.C1840b.f5782t\n java.lang.Object r0 = r0.mo8549a(r1)\n java.lang.Boolean r0 = (java.lang.Boolean) r0\n boolean r0 = r0.booleanValue()\n if (r0 == 0) goto L_0x003c\n java.lang.Object r0 = r4.f6211b\n monitor-enter(r0)\n com.applovin.impl.sdk.j r1 = r4.f6212c // Catch:{ all -> 0x0039 }\n com.applovin.impl.sdk.w r1 = r1.mo8546Y() // Catch:{ all -> 0x0039 }\n boolean r1 = r1.mo8846a() // Catch:{ all -> 0x0039 }\n if (r1 == 0) goto L_0x002e\n com.applovin.impl.sdk.j r1 = r4.f6212c // Catch:{ all -> 0x0039 }\n com.applovin.impl.sdk.q r1 = r1.mo8602v() // Catch:{ all -> 0x0039 }\n java.lang.String r2 = \"AdRefreshManager\"\n java.lang.String r3 = \"Waiting for the application to enter foreground to resume the timer.\"\n r1.mo8742b(r2, r3) // Catch:{ all -> 0x0039 }\n monitor-exit(r0) // Catch:{ all -> 0x0039 }\n return\n L_0x002e:\n com.applovin.impl.sdk.utils.p r1 = r4.f6210a // Catch:{ all -> 0x0039 }\n if (r1 == 0) goto L_0x0037\n com.applovin.impl.sdk.utils.p r1 = r4.f6210a // Catch:{ all -> 0x0039 }\n r1.mo8813c() // Catch:{ all -> 0x0039 }\n L_0x0037:\n monitor-exit(r0) // Catch:{ all -> 0x0039 }\n goto L_0x003c\n L_0x0039:\n r1 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x0039 }\n throw r1\n L_0x003c:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.applovin.impl.sdk.C1861d.m7172j():void\");\n }", "title": "" }, { "docid": "2b4fedb24352bbacd919c5c7305a82cc", "score": "0.5953952", "text": "private void m9834b(int r6) {\n /*\n r5 = this;\n monitor-enter(r5);\n r0 = r5.f5709a;\t Catch:{ all -> 0x0028 }\n r0 = r0.size();\t Catch:{ all -> 0x0028 }\n if (r0 > r6) goto L_0x000b;\n L_0x0009:\n monitor-exit(r5);\t Catch:{ all -> 0x0028 }\n L_0x000a:\n return;\n L_0x000b:\n monitor-exit(r5);\t Catch:{ all -> 0x0028 }\n r0 = 0;\n r1 = r0;\n L_0x000e:\n monitor-enter(r5);\n r0 = r5.f5717i;\t Catch:{ all -> 0x0066 }\n if (r1 < r0) goto L_0x001b;\n L_0x0013:\n r0 = r5.f5709a;\t Catch:{ all -> 0x0066 }\n r0 = r0.size();\t Catch:{ all -> 0x0066 }\n if (r0 <= r6) goto L_0x0023;\n L_0x001b:\n r0 = r5.f5709a;\t Catch:{ all -> 0x0066 }\n r0 = r0.isEmpty();\t Catch:{ all -> 0x0066 }\n if (r0 == 0) goto L_0x002b;\n L_0x0023:\n monitor-exit(r5);\t Catch:{ all -> 0x0066 }\n r5.m9839e(r1);\n goto L_0x000a;\n L_0x0028:\n r0 = move-exception;\n monitor-exit(r5);\t Catch:{ }\n throw r0;\n L_0x002b:\n r0 = r5.f5709a;\t Catch:{ }\n r0 = r0.entrySet();\t Catch:{ }\n r0 = r0.iterator();\t Catch:{ }\n r0 = r0.next();\t Catch:{ }\n r0 = (java.util.Map.Entry) r0;\t Catch:{ }\n r2 = r0.getKey();\t Catch:{ }\n r3 = r0.getValue();\t Catch:{ }\n r0 = r5.f5709a;\t Catch:{ }\n r0.remove(r2);\t Catch:{ }\n r0 = r5.f5710b;\t Catch:{ }\n r4 = r5.m9835c(r2, r3);\t Catch:{ }\n r0 = r0 - r4;\n r5.f5710b = r0;\t Catch:{ }\n r0 = r5.f5710b;\t Catch:{ }\n r5.m9840f(r0);\t Catch:{ }\n r0 = r5.f5714f;\t Catch:{ }\n r0 = r0 + 1;\n r5.f5714f = r0;\t Catch:{ }\n r0 = r1 + 1;\n monitor-exit(r5);\t Catch:{ }\n r1 = 1;\n r4 = 0;\n r5.mo1393a(r1, r2, r3, r4);\n r1 = r0;\n goto L_0x000e;\n L_0x0066:\n r0 = move-exception;\n monitor-exit(r5);\t Catch:{ }\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.cache.TrackedLruCache.b(int):void\");\n }", "title": "" }, { "docid": "89d2c1e8e8d28665313e1f35ce649bb2", "score": "0.5887229", "text": "public static com.cuvora.carinfo.models.DlTemplateModel m6018f() {\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 r0 = new com.cuvora.carinfo.helpers.t$4;\t Catch:{ Exception -> 0x0012 }\n r0.<init>();\t Catch:{ Exception -> 0x0012 }\n r0 = r0.getType();\t Catch:{ Exception -> 0x0012 }\n r1 = \"dlTemplateData\";\t Catch:{ Exception -> 0x0012 }\n r0 = com.cuvora.carinfo.helpers.C1541e.m5851a(r0, r1);\t Catch:{ Exception -> 0x0012 }\n r0 = (com.cuvora.carinfo.models.DlTemplateModel) r0;\t Catch:{ Exception -> 0x0012 }\n return r0;\n L_0x0012:\n r0 = new com.cuvora.carinfo.models.DlTemplateModel;\n r0.<init>();\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.cuvora.carinfo.helpers.t.f():com.cuvora.carinfo.models.DlTemplateModel\");\n }", "title": "" }, { "docid": "43baec4de9df4af432d07a467f1137b9", "score": "0.58645666", "text": "public void a(org.apache.thrift.protocol.e r5) {\n /*\n r4 = this;\n r5.g();\n L_0x0003:\n r0 = r5.i();\n r1 = r0.b;\n if (r1 != 0) goto L_0x0012;\n L_0x000b:\n r5.h();\n r4.m();\n return;\n L_0x0012:\n r1 = r0.c;\n r2 = 1;\n r3 = 11;\n switch(r1) {\n case 1: goto L_0x00ae;\n case 2: goto L_0x009b;\n case 3: goto L_0x0090;\n case 4: goto L_0x0085;\n case 5: goto L_0x007a;\n case 6: goto L_0x006f;\n case 7: goto L_0x0064;\n case 8: goto L_0x0059;\n case 9: goto L_0x004e;\n case 10: goto L_0x0042;\n case 11: goto L_0x0032;\n case 12: goto L_0x0021;\n default: goto L_0x001a;\n };\n L_0x001a:\n r0 = r0.b;\n org.apache.thrift.protocol.h.a(r5, r0);\n goto L_0x00b8;\n L_0x0021:\n r1 = r0.b;\n r3 = 10;\n if (r1 != r3) goto L_0x001a;\n L_0x0027:\n r0 = r5.u();\n r4.l = r0;\n r4.b(r2);\n goto L_0x00b8;\n L_0x0032:\n r1 = r0.b;\n r3 = 2;\n if (r1 != r3) goto L_0x001a;\n L_0x0037:\n r0 = r5.q();\n r4.k = r0;\n r4.a(r2);\n goto L_0x00b8;\n L_0x0042:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x0046:\n r0 = r5.w();\n r4.j = r0;\n goto L_0x00b8;\n L_0x004e:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x0052:\n r0 = r5.w();\n r4.i = r0;\n goto L_0x00b8;\n L_0x0059:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x005d:\n r0 = r5.w();\n r4.h = r0;\n goto L_0x00b8;\n L_0x0064:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x0068:\n r0 = r5.w();\n r4.g = r0;\n goto L_0x00b8;\n L_0x006f:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x0073:\n r0 = r5.w();\n r4.f = r0;\n goto L_0x00b8;\n L_0x007a:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x007e:\n r0 = r5.w();\n r4.e = r0;\n goto L_0x00b8;\n L_0x0085:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x0089:\n r0 = r5.w();\n r4.d = r0;\n goto L_0x00b8;\n L_0x0090:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x0094:\n r0 = r5.w();\n r4.c = r0;\n goto L_0x00b8;\n L_0x009b:\n r1 = r0.b;\n r2 = 12;\n if (r1 != r2) goto L_0x001a;\n L_0x00a1:\n r0 = new com.xiaomi.xmpush.thrift.x;\n r0.<init>();\n r4.b = r0;\n r0 = r4.b;\n r0.a(r5);\n goto L_0x00b8;\n L_0x00ae:\n r1 = r0.b;\n if (r1 != r3) goto L_0x001a;\n L_0x00b2:\n r0 = r5.w();\n r4.a = r0;\n L_0x00b8:\n r5.j();\n goto L_0x0003;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.xiaomi.xmpush.thrift.ap.a(org.apache.thrift.protocol.e):void\");\n }", "title": "" }, { "docid": "c2fb419235ca429b7c2c9c6b1bc24651", "score": "0.58512336", "text": "private final com.google.p425d.p426a.p429b.C7096e m32245b(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 24: goto L_0x0026;\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.f34716b;\n if (r0 != 0) goto L_0x0019;\n L_0x0012:\n r0 = new com.google.d.a.b.l;\n r0.<init>();\n r6.f34716b = r0;\n L_0x0019:\n r0 = r6.f34716b;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x001f:\n r0 = r7.m33565g();\n r6.f34717c = r0;\n goto L_0x0000;\n L_0x0026:\n r1 = r7.m33573o();\n r2 = r7.m33567i();\t Catch:{ IllegalArgumentException -> 0x004c }\n switch(r2) {\n case 0: goto L_0x0054;\n case 1: goto L_0x0054;\n case 2: goto L_0x0054;\n case 3: goto L_0x0054;\n case 4: goto L_0x0054;\n default: goto L_0x0031;\n };\t Catch:{ IllegalArgumentException -> 0x004c }\n L_0x0031:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x004c }\n r4 = 51;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x004c }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x004c }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x004c }\n r4 = \" is not a valid enum DiversionProvenance\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x004c }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x004c }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x004c }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x004c }\n L_0x004c:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x0054:\n r6.f34718d = r2;\t Catch:{ IllegalArgumentException -> 0x004c }\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.d.a.b.e.b(com.google.protobuf.nano.a):com.google.d.a.b.e\");\n }", "title": "" }, { "docid": "cec92f7409ad074b0363e435a545ba58", "score": "0.58108294", "text": "private o a(y.c.f var1_1) {\n var10_2 = f.a;\n var2_3 = new o();\n var3_4 = var1_1.a();\n do {\n block5 : {\n if (var3_4.f() == false) return var2_3;\n var4_5 = var3_4.a();\n var5_6 = var4_5.c();\n var6_7 = \"\";\n var7_8 = var5_6.l();\n while (var7_8.f()) {\n var8_9 = var7_8.a();\n var9_10 = this.b.h(var8_9);\n var6_7 = new StringBuffer().append(var6_7).append(var9_10).toString();\n var7_8.g();\n if (!var10_2) {\n if (!var10_2) continue;\n }\n break block5;\n }\n if (!var6_7.equals(\">_\") && !var6_7.equals(\"_>\")) ** GOTO lbl22\n var2_3.a = var5_6;\n }\n if (!var10_2) ** GOTO lbl30\nlbl22: // 2 sources:\n if (!var6_7.equals(\"<_\") && !var6_7.equals(\"_<\")) ** GOTO lbl25\n var2_3.b = var5_6;\n if (!var10_2) ** GOTO lbl30\nlbl25: // 2 sources:\n if (!var6_7.equals(\">^\") && !var6_7.equals(\"^>\")) ** GOTO lbl-1000\n var2_3.d = var5_6;\n if (var10_2) lbl-1000: // 2 sources:\n {\n if (var6_7.equals(\"<^\") || var6_7.equals(\"^<\")) {\n var2_3.c = var5_6;\n }\n }\nlbl30: // 7 sources:\n var3_4.g();\n } while (!var10_2);\n return var2_3;\n }", "title": "" }, { "docid": "3ab47ed267dbb6907771ae72c340d67f", "score": "0.5806255", "text": "private boolean m8195a(long r8) {\n /*\n r7 = this;\n r2 = 0;\n r3 = 1;\n r0 = r7.f5454n;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.size();\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 <= 0) goto L_0x0064;\n L_0x000a:\n r0 = new java.lang.IllegalStateException;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = \"Cannot run labeler loop until all previous labels have either been copied into new label table or destroyed.\";\n r0.<init>(r1);\t Catch:{ RuntimeException -> 0x0012 }\n throw r0;\t Catch:{ RuntimeException -> 0x0012 }\n L_0x0012:\n r0 = move-exception;\n r1 = new java.lang.StringBuilder;\n r3 = 256; // 0x100 float:3.59E-43 double:1.265E-321;\n r1.<init>(r3);\n r3 = \"#:\";\n r3 = r1.append(r3);\n r4 = r7.f5440E;\n r5 = r4 + 1;\n r7.f5440E = r5;\n r3 = r3.append(r4);\n r4 = \" T:\";\n r3 = r3.append(r4);\n r4 = java.lang.Thread.currentThread();\n r4 = r4.getName();\n r3 = r3.append(r4);\n r4 = \" E:\";\n r3 = r3.append(r4);\n r0 = r0.toString();\n r0 = r3.append(r0);\n r3 = \" numL:\";\n r0 = r0.append(r3);\n r3 = r7.f5452l;\n r3 = r3.size();\n r0.append(r3);\n r0 = \"Labeler.runLabeler\";\n r1 = r1.toString();\n com.google.android.m4b.maps.p058v.Util.m11555b(r0, r1);\n r0 = r2;\n L_0x0063:\n return r0;\n L_0x0064:\n r0 = r7.f5451k;\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 == 0) goto L_0x0085;\n L_0x0068:\n r0 = r7.f5451k;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.hasNext();\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 == 0) goto L_0x0085;\n L_0x0070:\n r0 = r7.f5459s;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r7.f5457q;\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 >= r1) goto L_0x0085;\n L_0x0076:\n r0 = r7.f5451k;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.next();\t Catch:{ RuntimeException -> 0x0012 }\n r0 = (com.google.android.m4b.maps.an.bc) r0;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = 0;\n r4 = 1;\n r5 = 1;\n r7.m8194a(r0, r1, r4, r5);\t Catch:{ RuntimeException -> 0x0012 }\n goto L_0x0064;\n L_0x0085:\n r4 = r2;\n L_0x0086:\n r0 = r7.f5437B;\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 != 0) goto L_0x0092;\n L_0x008a:\n r0 = r7.f5450j;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.hasNext();\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 == 0) goto L_0x0168;\n L_0x0092:\n r0 = r7.f5459s;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r7.f5457q;\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 < r1) goto L_0x00ba;\n L_0x0098:\n r0 = r7.f5450j;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.hasNext();\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 == 0) goto L_0x0168;\n L_0x00a0:\n r0 = r7.f5452l;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r7.f5453m;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.get(r1);\t Catch:{ RuntimeException -> 0x0012 }\n r0 = (com.google.android.m4b.maps.ba.GLLabel) r0;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.m7915s();\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r7.f5450j;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.m7198b();\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.m8187b();\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 > r1) goto L_0x0168;\n L_0x00ba:\n if (r4 <= 0) goto L_0x00c6;\n L_0x00bc:\n r0 = android.os.SystemClock.elapsedRealtime();\t Catch:{ RuntimeException -> 0x0012 }\n r0 = (r0 > r8 ? 1 : (r0 == r8 ? 0 : -1));\n if (r0 < 0) goto L_0x00c6;\n L_0x00c4:\n r0 = r3;\n goto L_0x0063;\n L_0x00c6:\n r0 = r7.f5437B;\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 != 0) goto L_0x0108;\n L_0x00ca:\n r0 = r7.f5450j;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.m7196a();\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r7.f5436A;\t Catch:{ RuntimeException -> 0x0012 }\n r1.add(r0);\t Catch:{ RuntimeException -> 0x0012 }\n L_0x00d5:\n r1 = r7.f5450j;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.hasNext();\t Catch:{ RuntimeException -> 0x0012 }\n if (r1 == 0) goto L_0x00f9;\n L_0x00dd:\n r1 = r7.f5450j;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.m7198b();\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.m8187b();\t Catch:{ RuntimeException -> 0x0012 }\n r5 = r0.m8187b();\t Catch:{ RuntimeException -> 0x0012 }\n if (r1 != r5) goto L_0x00f9;\n L_0x00ed:\n r1 = r7.f5450j;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.m7196a();\t Catch:{ RuntimeException -> 0x0012 }\n r5 = r7.f5436A;\t Catch:{ RuntimeException -> 0x0012 }\n r5.add(r1);\t Catch:{ RuntimeException -> 0x0012 }\n goto L_0x00d5;\n L_0x00f9:\n r0 = r7.f5436A;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r7.f5438C;\t Catch:{ RuntimeException -> 0x0012 }\n java.util.Collections.sort(r0, r1);\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r7.f5436A;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.listIterator();\t Catch:{ RuntimeException -> 0x0012 }\n r7.f5437B = r0;\t Catch:{ RuntimeException -> 0x0012 }\n L_0x0108:\n r0 = r4;\n L_0x0109:\n r1 = r7.f5437B;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.hasNext();\t Catch:{ RuntimeException -> 0x0012 }\n if (r1 == 0) goto L_0x015d;\n L_0x0111:\n r4 = r0 + 1;\n if (r0 <= 0) goto L_0x0120;\n L_0x0115:\n r0 = android.os.SystemClock.elapsedRealtime();\t Catch:{ RuntimeException -> 0x0012 }\n r0 = (r0 > r8 ? 1 : (r0 == r8 ? 0 : -1));\n if (r0 < 0) goto L_0x0120;\n L_0x011d:\n r0 = r3;\n goto L_0x0063;\n L_0x0120:\n r0 = r7.f5437B;\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.next();\t Catch:{ RuntimeException -> 0x0012 }\n r0 = (com.google.android.m4b.maps.bc.LabelableFeature) r0;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r7.f5459s;\t Catch:{ RuntimeException -> 0x0012 }\n r5 = r7.f5457q;\t Catch:{ RuntimeException -> 0x0012 }\n if (r1 < r5) goto L_0x0142;\n L_0x012e:\n r1 = r7.f5452l;\t Catch:{ RuntimeException -> 0x0012 }\n r5 = r7.f5453m;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.get(r5);\t Catch:{ RuntimeException -> 0x0012 }\n r1 = (com.google.android.m4b.maps.ba.GLLabel) r1;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r1.m7915s();\t Catch:{ RuntimeException -> 0x0012 }\n r5 = r0.m8187b();\t Catch:{ RuntimeException -> 0x0012 }\n if (r1 >= r5) goto L_0x015c;\n L_0x0142:\n r1 = r0.m8186a();\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r0.m8188c();\t Catch:{ RuntimeException -> 0x0012 }\n r5 = 0;\n r6 = 1;\n r7.m8194a(r1, r0, r5, r6);\t Catch:{ RuntimeException -> 0x0012 }\n r0 = r7.f5459s;\t Catch:{ RuntimeException -> 0x0012 }\n r1 = r7.f5457q;\t Catch:{ RuntimeException -> 0x0012 }\n if (r0 <= r1) goto L_0x015a;\n L_0x0155:\n r0 = r7.f5453m;\t Catch:{ RuntimeException -> 0x0012 }\n r7.m8201c(r0);\t Catch:{ RuntimeException -> 0x0012 }\n L_0x015a:\n r0 = r4;\n goto L_0x0109;\n L_0x015c:\n r0 = r4;\n L_0x015d:\n r1 = r7.f5436A;\t Catch:{ RuntimeException -> 0x0012 }\n r1.clear();\t Catch:{ RuntimeException -> 0x0012 }\n r1 = 0;\n r7.f5437B = r1;\t Catch:{ RuntimeException -> 0x0012 }\n r4 = r0;\n goto L_0x0086;\n L_0x0168:\n r0 = r2;\n goto L_0x0063;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.bc.e.a(long):boolean\");\n }", "title": "" }, { "docid": "86c7dbfeee837d5eee8c76973b535657", "score": "0.5802476", "text": "private void DW(aob r21, apy r22, java.util.Set<? extends ans> r23, java.util.Set<? extends ans> r24) {\n /*\n r20 = this;\n r10 = java.lang.System.currentTimeMillis();\n r4 = asy$b.COUNTING;\n r6 = 0;\n r0 = r20;\n r1 = r21;\n r0.j6(r4, r1, r6);\n if (r24 != 0) goto L_0x0015;\n L_0x0011:\n r24 = java.util.Collections.emptySet();\n L_0x0015:\n r0 = r20;\n r4 = r0.J8;\n r5 = new java.util.HashSet;\n r0 = r23;\n r5.<init>(r0);\n r5 = java.util.Collections.unmodifiableSet(r5);\n r4.j6 = r5;\n r0 = r20;\n r4 = r0.J8;\n r5 = new java.util.HashSet;\n r0 = r24;\n r5.<init>(r0);\n r5 = java.util.Collections.unmodifiableSet(r5);\n r4.DW = r5;\n r9 = new java.util.ArrayList;\n r4 = r23.size();\n r5 = r24.size();\n r4 = r4 + r5;\n r9.<init>(r4);\n r0 = r23;\n r9.addAll(r0);\n r0 = r24;\n r9.addAll(r0);\n r12 = new java.util.HashMap;\n r12.<init>();\n r4 = \"inCachedPack\";\n r0 = r22;\n r13 = r0.j6(r4);\n r4 = \"include\";\n r0 = r22;\n r14 = r0.j6(r4);\n r4 = \"added\";\n r0 = r22;\n r15 = r0.j6(r4);\n r6 = new aqf;\n r6.<init>();\n r6.j6(r13);\n r4 = 0;\n r0 = r22;\n r0.j6(r4);\n r0 = r22;\n r0.j6(r14);\n r7 = r24.size();\n r4 = r24.isEmpty();\n if (r4 == 0) goto L_0x0227;\n L_0x008c:\n r4 = aqi.COMMIT_TIME_DESC;\n r0 = r22;\n r0.j6(r4);\n r0 = r20;\n r4 = r0.er;\n if (r4 == 0) goto L_0x023c;\n L_0x0099:\n r0 = r20;\n r4 = r0.we;\n if (r4 == 0) goto L_0x023c;\n L_0x009f:\n r8 = new java.util.HashSet;\n r0 = r23;\n r8.<init>(r0);\n r16 = new java.util.LinkedList;\n r16.<init>();\n r0 = r20;\n r4 = r0.we;\n r4 = r4.v5();\n r17 = r4.iterator();\n L_0x00b7:\n r4 = r17.hasNext();\n if (r4 != 0) goto L_0x00eb;\n L_0x00bd:\n r4 = r8.isEmpty();\n if (r4 == 0) goto L_0x0133;\n L_0x00c3:\n r4 = r16.isEmpty();\n if (r4 != 0) goto L_0x0133;\n L_0x00c9:\n r0 = r20;\n r4 = r0.Zo;\n r0 = r16;\n r4.addAll(r0);\n r5 = r16.iterator();\n L_0x00d6:\n r4 = r5.hasNext();\n if (r4 != 0) goto L_0x0122;\n L_0x00dc:\n r20.j6(r21);\n r0 = r20;\n r4 = r0.J8;\n r6 = java.lang.System.currentTimeMillis();\n r6 = r6 - r10;\n r4.J0 = r6;\n L_0x00ea:\n return;\n L_0x00eb:\n r4 = r17.next();\n r4 = (ask) r4;\n r5 = r4.j6();\n r5 = r8.containsAll(r5);\n if (r5 == 0) goto L_0x0107;\n L_0x00fb:\n r5 = r4.j6();\n r8.removeAll(r5);\n r0 = r16;\n r0.add(r4);\n L_0x0107:\n r5 = r4.j6();\n r18 = r5.iterator();\n L_0x010f:\n r5 = r18.hasNext();\n if (r5 == 0) goto L_0x00b7;\n L_0x0115:\n r5 = r18.next();\n r5 = (ans) r5;\n r12.put(r5, r4);\n r9.add(r5);\n goto L_0x010f;\n L_0x0122:\n r4 = r5.next();\n r4 = (ask) r4;\n r6 = r4.DW();\n r4 = (int) r6;\n r0 = r21;\n r0.j6(r4);\n goto L_0x00d6;\n L_0x0133:\n r4 = r12.size();\n r4 = r4 + r7;\n L_0x0138:\n r7 = new java.util.ArrayList;\n r5 = r23.size();\n r7.<init>(r5);\n r8 = new java.util.ArrayList;\n r8.<init>(r4);\n r5 = new java.util.ArrayList;\n r4 = r23.size();\n r5.<init>(r4);\n r4 = 1;\n r0 = r22;\n r9 = r0.j6(r9, r4);\n L_0x0156:\n r4 = r9.j6();\t Catch:{ ali -> 0x026e }\n if (r4 != 0) goto L_0x023f;\n L_0x015c:\n r9.v5();\n r4 = r5.isEmpty();\n if (r4 != 0) goto L_0x0188;\n L_0x0165:\n r9 = new java.util.ArrayList;\n r4 = r5.size();\n r9.<init>(r4);\n r5 = r5.iterator();\n L_0x0172:\n r4 = r5.hasNext();\n if (r4 != 0) goto L_0x028b;\n L_0x0178:\n r4 = 1;\n r0 = r22;\n r4 = r0.j6(r9, r4);\n L_0x017f:\n r5 = r4.j6();\t Catch:{ all -> 0x029a }\n if (r5 != 0) goto L_0x017f;\n L_0x0185:\n r4.v5();\n L_0x0188:\n r0 = r22;\n r4 = r0 instanceof apr$b;\n if (r4 == 0) goto L_0x02bb;\n L_0x018e:\n r4 = r22;\n r4 = (apr$b) r4;\n r9 = r7.iterator();\n L_0x0196:\n r5 = r9.hasNext();\n if (r5 != 0) goto L_0x029f;\n L_0x019c:\n r0 = r20;\n r5 = r0.P8;\n if (r5 == 0) goto L_0x01b0;\n L_0x01a2:\n r0 = r20;\n r5 = r0.P8;\n r9 = r5.iterator();\n L_0x01aa:\n r5 = r9.hasNext();\n if (r5 != 0) goto L_0x02aa;\n L_0x01b0:\n r5 = r8.iterator();\n L_0x01b4:\n r4 = r5.hasNext();\n if (r4 != 0) goto L_0x02d1;\n L_0x01ba:\n r0 = r20;\n r4 = r0.J0;\n r16 = r4.Zo();\n r17 = new java.util.HashSet;\n r17.<init>();\n r4 = new awn;\n r4.<init>();\n L_0x01cc:\n r5 = r22.Hw();\n if (r5 != 0) goto L_0x02de;\n L_0x01d2:\n r0 = r20;\n r5 = r0.BT;\n if (r5 == 0) goto L_0x034c;\n L_0x01d8:\n r5 = r4.iterator();\n L_0x01dc:\n r4 = r5.hasNext();\n if (r4 != 0) goto L_0x033e;\n L_0x01e2:\n r0 = r20;\n r4 = r0.rN;\n if (r4 == 0) goto L_0x0416;\n L_0x01e8:\n r4 = r17.isEmpty();\n if (r4 != 0) goto L_0x0416;\n L_0x01ee:\n r4 = new asi;\n r0 = r20;\n r7 = r0.Hw;\n r0 = r20;\n r8 = r0.v5;\n r0 = r20;\n r9 = r0.EQ;\n r5 = r21;\n r6 = r17;\n r4.<init>(r5, r6, r7, r8, r9);\n L_0x0203:\n r5 = r22.v5();\n if (r5 != 0) goto L_0x03de;\n L_0x0209:\n r0 = r20;\n r4 = r0.Zo;\n r5 = r4.iterator();\n L_0x0211:\n r4 = r5.hasNext();\n if (r4 != 0) goto L_0x0436;\n L_0x0217:\n r20.j6(r21);\n r0 = r20;\n r4 = r0.J8;\n r6 = java.lang.System.currentTimeMillis();\n r6 = r6 - r10;\n r4.J0 = r6;\n goto L_0x00ea;\n L_0x0227:\n r4 = aqi.TOPO;\n r0 = r22;\n r0.j6(r4);\n r0 = r20;\n r4 = r0.rN;\n if (r4 == 0) goto L_0x023c;\n L_0x0234:\n r4 = aqi.BOUNDARY;\n r5 = 1;\n r0 = r22;\n r0.j6(r4, r5);\n L_0x023c:\n r4 = r7;\n goto L_0x0138;\n L_0x023f:\n r16 = r12.containsKey(r4);\t Catch:{ ali -> 0x026e }\n if (r16 == 0) goto L_0x0248;\n L_0x0245:\n r4.FH(r13);\t Catch:{ ali -> 0x026e }\n L_0x0248:\n r0 = r24;\n r16 = r0.contains(r4);\t Catch:{ ali -> 0x026e }\n if (r16 == 0) goto L_0x0253;\n L_0x0250:\n r8.add(r4);\t Catch:{ ali -> 0x026e }\n L_0x0253:\n r0 = r23;\n r16 = r0.contains(r4);\t Catch:{ ali -> 0x026e }\n if (r16 == 0) goto L_0x0156;\n L_0x025b:\n r4.FH(r14);\t Catch:{ ali -> 0x026e }\n r7.add(r4);\t Catch:{ ali -> 0x026e }\n r0 = r4 instanceof aqj;\t Catch:{ ali -> 0x026e }\n r16 = r0;\n if (r16 == 0) goto L_0x0156;\n L_0x0267:\n r4 = (aqj) r4;\t Catch:{ ali -> 0x026e }\n r5.add(r4);\t Catch:{ ali -> 0x026e }\n goto L_0x0156;\n L_0x026e:\n r4 = move-exception;\n r0 = r20;\n r0 = r0.yS;\t Catch:{ all -> 0x0286 }\n r16 = r0;\n if (r16 == 0) goto L_0x0285;\n L_0x0277:\n r16 = r4.j6();\t Catch:{ all -> 0x0286 }\n r0 = r24;\n r1 = r16;\n r16 = r0.contains(r1);\t Catch:{ all -> 0x0286 }\n if (r16 != 0) goto L_0x0156;\n L_0x0285:\n throw r4;\t Catch:{ all -> 0x0286 }\n L_0x0286:\n r4 = move-exception;\n r9.v5();\n throw r4;\n L_0x028b:\n r4 = r5.next();\n r4 = (aqj) r4;\n r4 = r4.gn();\n r9.add(r4);\n goto L_0x0172;\n L_0x029a:\n r5 = move-exception;\n r4.v5();\n throw r5;\n L_0x029f:\n r5 = r9.next();\n r5 = (aqg) r5;\n r4.j6(r5);\n goto L_0x0196;\n L_0x02aa:\n r5 = r9.next();\n r5 = (ans) r5;\n r0 = r22;\n r5 = r0.gn(r5);\n r4.DW(r5);\n goto L_0x01aa;\n L_0x02bb:\n r5 = r7.iterator();\n L_0x02bf:\n r4 = r5.hasNext();\n if (r4 == 0) goto L_0x01b0;\n L_0x02c5:\n r4 = r5.next();\n r4 = (aqg) r4;\n r0 = r22;\n r0.FH(r4);\n goto L_0x02bf;\n L_0x02d1:\n r4 = r5.next();\n r4 = (aqg) r4;\n r0 = r22;\n r0.Hw(r4);\n goto L_0x01b4;\n L_0x02de:\n r0 = r20;\n r9 = r0.FH(r5);\n if (r9 != 0) goto L_0x01cc;\n L_0x02e6:\n r9 = r5.DW(r13);\n if (r9 == 0) goto L_0x0318;\n L_0x02ec:\n r9 = r12.get(r5);\n r9 = (ask) r9;\n r0 = r22;\n r18 = j6(r9, r14, r0);\n if (r18 == 0) goto L_0x0318;\n L_0x02fa:\n r4 = r20;\n r5 = r22;\n r4.j6(r5, r6, r7, r8, r9);\n r4 = new awn;\n r4.<init>();\n r20.j6(r21);\n r5 = asy$b.COUNTING;\n r18 = 0;\n r0 = r20;\n r1 = r21;\n r2 = r18;\n r0.j6(r5, r1, r2);\n goto L_0x01cc;\n L_0x0318:\n r9 = aqe.j6;\n r9 = r5.DW(r9);\n if (r9 == 0) goto L_0x0333;\n L_0x0320:\n r9 = r17.size();\n r0 = r16;\n if (r9 > r0) goto L_0x01cc;\n L_0x0328:\n r5 = r5.u7();\n r0 = r17;\n r0.add(r5);\n goto L_0x01cc;\n L_0x0333:\n r4.add(r5);\n r5 = 1;\n r0 = r21;\n r0.j6(r5);\n goto L_0x01cc;\n L_0x033e:\n r4 = r5.next();\n r4 = (aqc) r4;\n r6 = 0;\n r0 = r20;\n r0.j6(r4, r6);\n goto L_0x01dc;\n L_0x034c:\n r6 = 0;\n r5 = 0;\n r9 = r4.iterator();\n L_0x0352:\n r4 = r9.hasNext();\n if (r4 == 0) goto L_0x01e2;\n L_0x0358:\n r4 = r9.next();\n r4 = (aqc) r4;\n r7 = r4.DW(r15);\n if (r7 != 0) goto L_0x036f;\n L_0x0364:\n r4.FH(r15);\n r7 = 0;\n r0 = r20;\n r0.j6(r4, r7);\n r6 = r6 + 1;\n L_0x036f:\n r7 = 0;\n L_0x0370:\n r8 = r4.tp();\n if (r7 < r8) goto L_0x038d;\n L_0x0376:\n if (r5 != 0) goto L_0x0352;\n L_0x0378:\n r4 = 4096; // 0x1000 float:5.74E-42 double:2.0237E-320;\n if (r4 >= r6) goto L_0x0352;\n L_0x037c:\n r0 = r20;\n r4 = r0.VH;\n r5 = r4.iterator();\n L_0x0384:\n r4 = r5.hasNext();\n if (r4 != 0) goto L_0x03b0;\n L_0x038a:\n r4 = 1;\n r5 = r4;\n goto L_0x0352;\n L_0x038d:\n r8 = r4.DW(r7);\n r12 = r8.DW(r15);\n if (r12 != 0) goto L_0x0448;\n L_0x0397:\n r12 = aqe.j6;\n r12 = r8.DW(r12);\n if (r12 != 0) goto L_0x0448;\n L_0x039f:\n r8.FH(r15);\n r12 = 0;\n r0 = r20;\n r0.j6(r8, r12);\n r6 = r6 + 1;\n r8 = r6;\n L_0x03ab:\n r6 = r7 + 1;\n r7 = r6;\n r6 = r8;\n goto L_0x0370;\n L_0x03b0:\n r4 = r5.next();\n r4 = (ans) r4;\n r0 = r22;\n r4 = r0.v5(r4);\n r7 = r4 instanceof aqc;\n if (r7 == 0) goto L_0x0384;\n L_0x03c0:\n r7 = r4.DW(r14);\n if (r7 == 0) goto L_0x0384;\n L_0x03c6:\n r7 = aqe.j6;\n r7 = r4.DW(r7);\n if (r7 != 0) goto L_0x0384;\n L_0x03ce:\n r7 = r4.DW(r15);\n if (r7 != 0) goto L_0x0384;\n L_0x03d4:\n r4.FH(r15);\n r7 = 0;\n r0 = r20;\n r0.j6(r4, r7);\n goto L_0x0384;\n L_0x03de:\n r6 = aqe.j6;\n r6 = r5.DW(r6);\n if (r6 != 0) goto L_0x0203;\n L_0x03e6:\n r0 = r20;\n r6 = r0.FH(r5);\n if (r6 != 0) goto L_0x0203;\n L_0x03ee:\n r6 = r22.VH();\n r7 = r22.gn();\n r8 = r22.u7();\n r9 = r5.v_();\n r4.j6(r9, r7, r8, r6);\n r0 = r20;\n r0.j6(r5, r6);\n r5 = 1;\n r0 = r21;\n r0.j6(r5);\n goto L_0x0203;\n L_0x040e:\n r5 = aqe.j6;\n r5 = r4.DW(r5);\n if (r5 == 0) goto L_0x041e;\n L_0x0416:\n r4 = r22.v5();\n if (r4 != 0) goto L_0x040e;\n L_0x041c:\n goto L_0x0209;\n L_0x041e:\n r0 = r20;\n r5 = r0.FH(r4);\n if (r5 != 0) goto L_0x0416;\n L_0x0426:\n r5 = r22.VH();\n r0 = r20;\n r0.j6(r4, r5);\n r4 = 1;\n r0 = r21;\n r0.j6(r4);\n goto L_0x0416;\n L_0x0436:\n r4 = r5.next();\n r4 = (ask) r4;\n r6 = r4.DW();\n r4 = (int) r6;\n r0 = r21;\n r0.j6(r4);\n goto L_0x0211;\n L_0x0448:\n r8 = r6;\n goto L_0x03ab;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: asy.DW(aob, apy, java.util.Set, java.util.Set):void\");\n }", "title": "" }, { "docid": "1c5f662cfd1a59acb513a099009c50d9", "score": "0.5801792", "text": "private void m11867e() {\n /*\n r3 = this;\n monitor-enter(r3);\n r1 = r3.f13164b;\t Catch:{ all -> 0x001a }\n if (r1 == 0) goto L_0x0007;\n L_0x0005:\n monitor-exit(r3);\t Catch:{ all -> 0x001a }\n L_0x0006:\n return;\n L_0x0007:\n r1 = r3.f13165c;\t Catch:{ all -> 0x001a }\n r0 = com.facebook.common.p140h.C2921a.m11258b(r1);\t Catch:{ all -> 0x001a }\n monitor-exit(r3);\t Catch:{ all -> 0x001a }\n r1 = r3.d();\t Catch:{ all -> 0x001d }\n r2 = 0;\n r1.b(r0, r2);\t Catch:{ all -> 0x001d }\n com.facebook.common.p140h.C2921a.m11259c(r0);\n goto L_0x0006;\n L_0x001a:\n r1 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x001a }\n throw r1;\n L_0x001d:\n r1 = move-exception;\n com.facebook.common.p140h.C2921a.m11259c(r0);\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.imagepipeline.l.ah$b.e():void\");\n }", "title": "" }, { "docid": "5b44dec13cb5323f5b6b8f8bf5f0980c", "score": "0.5794327", "text": "private void m1266c() {\n /*\n r2 = this;\n r0 = r2.f1079n;\t Catch:{ Exception -> 0x003b }\n r0.acquire();\t Catch:{ Exception -> 0x003b }\n r0 = r2.f1082q;\t Catch:{ Exception -> 0x003b }\n if (r0 == 0) goto L_0x0011;\n L_0x0009:\n r0 = r2.f1082q;\t Catch:{ Exception -> 0x003b }\n r0.close();\t Catch:{ Exception -> 0x003b }\n r0 = 0;\n r2.f1082q = r0;\t Catch:{ Exception -> 0x003b }\n L_0x0011:\n r0 = r2.f1075j;\t Catch:{ Exception -> 0x003b }\n if (r0 == 0) goto L_0x001d;\n L_0x0015:\n r0 = r2.f1075j;\t Catch:{ Exception -> 0x003b }\n r0.close();\t Catch:{ Exception -> 0x003b }\n r0 = 0;\n r2.f1075j = r0;\t Catch:{ Exception -> 0x003b }\n L_0x001d:\n r0 = r2.f1071f;\t Catch:{ Exception -> 0x003b }\n if (r0 == 0) goto L_0x0029;\n L_0x0021:\n r0 = r2.f1071f;\t Catch:{ Exception -> 0x003b }\n r0.close();\t Catch:{ Exception -> 0x003b }\n r0 = 0;\n r2.f1071f = r0;\t Catch:{ Exception -> 0x003b }\n L_0x0029:\n r0 = r2.f1083r;\t Catch:{ Exception -> 0x003b }\n if (r0 == 0) goto L_0x0035;\n L_0x002d:\n r0 = r2.f1083r;\t Catch:{ Exception -> 0x003b }\n r0.release();\t Catch:{ Exception -> 0x003b }\n r0 = 0;\n r2.f1083r = r0;\t Catch:{ Exception -> 0x003b }\n L_0x0035:\n r0 = r2.f1079n;\n r0.release();\n L_0x003a:\n return;\n L_0x003b:\n r0 = move-exception;\n r0.printStackTrace();\t Catch:{ all -> 0x0045 }\n r0 = r2.f1079n;\n r0.release();\n goto L_0x003a;\n L_0x0045:\n r0 = move-exception;\n r1 = r2.f1079n;\n r1.release();\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.domobile.applock.chamber.c.e.c():void\");\n }", "title": "" }, { "docid": "15dac6a812fd8602af47b4cd1a12fa72", "score": "0.57937706", "text": "private AstNode m6252l() {\n boolean z;\n AstNode b;\n int i;\n if (m6221a(85)) {\n z = false;\n } else if (this.f6427a.f6739b < 180) {\n mo18981a(\"msg.no.brace.body\");\n z = false;\n } else {\n z = true;\n }\n this.f6429c++;\n int i2 = this.f6443q.f6660o;\n Block hVar = new Block(i2);\n boolean z2 = this.f6430d;\n hVar.f6393e = this.f6443q.f6655j;\n if (z) {\n try {\n ReturnStatement asVar = new ReturnStatement(this.f6443q.f6655j);\n asVar.mo18745a(m6264x());\n asVar.mo18925a(25, (Object) Boolean.TRUE);\n hVar.mo18925a(25, (Object) Boolean.TRUE);\n hVar.mo18792c(asVar);\n } catch (C2165cv e) {\n this.f6429c--;\n this.f6430d = z2;\n } catch (Throwable th) {\n this.f6429c--;\n this.f6430d = z2;\n throw th;\n }\n } else {\n boolean z3 = true;\n while (true) {\n switch (m6237d()) {\n case -1:\n case 0:\n case 86:\n break;\n case 109:\n this.f6444r = 0;\n b = m6230b(1);\n continue;\n default:\n b = m6254n();\n if (!z3) {\n break;\n } else {\n String c = m6231c(b);\n if (c != null) {\n if (!c.equals(\"use strict\")) {\n break;\n } else {\n this.f6430d = true;\n break;\n }\n } else {\n z3 = false;\n continue;\n }\n }\n }\n hVar.mo18792c(b);\n }\n }\n this.f6429c--;\n this.f6430d = z2;\n int i3 = this.f6443q.f6661p;\n m6233c();\n if (z || !m6223a(86, \"msg.no.brace.after.body\")) {\n i = i3;\n } else {\n i = this.f6443q.f6661p;\n }\n hVar.mo18796g(i - i2);\n return hVar;\n }", "title": "" }, { "docid": "58b70b67a1338709964c67e551c7d9bf", "score": "0.57914513", "text": "@Converted(kind = Converted.Kind.MANUAL_COMPILATION,\n source = \"${LLVM_SRC}/llvm/tools/clang/lib/CodeGen/CGException.cpp\", line = 731,\n FQN=\"clang::CodeGen::CodeGenFunction::EmitLandingPad\", NM=\"_ZN5clang7CodeGen15CodeGenFunction14EmitLandingPadEv\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.clang.codegen/llvmToClangType -split-class=clang::CodeGen::CodeGenFunction@this ${LLVM_SRC}/llvm/tools/clang/lib/CodeGen/CGException.cpp -nm=_ZN5clang7CodeGen15CodeGenFunction14EmitLandingPadEv\")\n//</editor-fold>\npublic final BasicBlock /*P*/ EmitLandingPad() {\n ApplyDebugLocation DL = null;\n try {\n assert ($this().EHStack.requiresLandingPad());\n \n final EHScope /*&*/ innermostEHScope = $this().EHStack.find($this().EHStack.getInnermostEHScope()).$star();\n switch (innermostEHScope.getKind()) {\n case Terminate:\n return $this().getTerminateLandingPad();\n case PadEnd:\n throw new llvm_unreachable(\"PadEnd unnecessary for Itanium!\");\n case Catch:\n case Cleanup:\n case Filter:\n {\n BasicBlock /*P*/ lpad = innermostEHScope.getCachedLandingPad();\n if ((lpad != null)) {\n return lpad;\n }\n }\n }\n \n // Save the current IR generation state.\n CGBuilderTy.InsertPoint savedIP = $this().Builder.saveAndClearIP();\n DL = ApplyDebugLocation.CreateDefaultArtificial(/*Deref*/$this(), new SourceLocation($this().CurEHLocation));\n \n // Create and configure the landing pad.\n BasicBlock /*P*/ lpad = $this().createBasicBlock(new Twine(/*KEEP_STR*/\"lpad\"));\n $this().EmitBlock(lpad);\n \n LandingPadInst /*P*/ LPadInst = $this().Builder.CreateLandingPad(StructType.get(Unnamed_field9.Int8PtrTy, Int32Ty, null), 0);\n \n Value /*P*/ LPadExn = $this().Builder.CreateExtractValue(LPadInst, new ArrayRefUInt(0));\n $this().Builder.CreateStore(LPadExn, $this().getExceptionSlot());\n Value /*P*/ LPadSel = $this().Builder.CreateExtractValue(LPadInst, new ArrayRefUInt(1));\n $this().Builder.CreateStore(LPadSel, $this().getEHSelectorSlot());\n \n // Save the exception pointer. It's safe to use a single exception\n // pointer per function because EH cleanups can never have nested\n // try/catches.\n // Build the landingpad instruction.\n \n // Accumulate all the handlers in scope.\n boolean hasCatchAll = false;\n boolean hasCleanup = false;\n boolean hasFilter = false;\n SmallVector<Value /*P*/ > filterTypes/*J*/= new SmallVector<Value /*P*/ >(4, (Value /*P*/ )null);\n SmallPtrSet<Value /*P*/ > catchTypes/*J*/= new SmallPtrSet<Value /*P*/ >(DenseMapInfo$LikePtr.$Info(), 4);\n done: for (EHScopeStack.iterator I = $this().EHStack.begin(), E = $this().EHStack.end(); I.$noteq(/*NO_COPY*/E);\n I.$preInc()) {\n switch (I.$arrow().getKind()) {\n case Cleanup:\n // If we have a cleanup, remember that.\n hasCleanup = (hasCleanup || cast_EHCleanupScope(I.$star()).isEHCleanup());\n continue;\n case Filter:\n {\n assert (I.next().$eq($this().EHStack.end())) : \"EH filter is not end of EH stack\";\n assert (!hasCatchAll) : \"EH filter reached after catch-all\";\n \n // Filter scopes get added to the landingpad in weird ways.\n final EHFilterScope /*&*/ filter = cast_EHFilterScope(I.$star());\n hasFilter = true;\n \n // Add all the filter values.\n for (/*uint*/int i = 0, e = filter.getNumFilters(); i != e; ++i) {\n filterTypes.push_back(filter.getFilter(i));\n }\n break done;\n }\n case Terminate:\n // Terminate scopes are basically catch-alls.\n assert (!hasCatchAll);\n hasCatchAll = true;\n break done;\n case Catch:\n break;\n case PadEnd:\n throw new llvm_unreachable(\"PadEnd unnecessary for Itanium!\");\n }\n \n final EHCatchScope /*&*/ catchScope = cast_EHCatchScope(I.$star());\n for (/*uint*/int hi = 0, he = catchScope.getNumHandlers(); hi != he; ++hi) {\n EHCatchScope.Handler handler = new EHCatchScope.Handler(catchScope.getHandler(hi));\n assert (handler.Type.Flags == 0) : \"landingpads do not support catch handler flags\";\n \n // If this is a catch-all, register that and abort.\n if (!(handler.Type.RTTI != null)) {\n assert (!hasCatchAll);\n hasCatchAll = true;\n break done;\n }\n \n // Check whether we already have a handler for this type.\n if (catchTypes.insert(handler.Type.RTTI).second) {\n // If not, add it directly to the landingpad.\n LPadInst.addClause(handler.Type.RTTI);\n }\n }\n }\n //done:\n // If we have a catch-all, add null to the landingpad.\n assert (!(hasCatchAll && hasFilter));\n if (hasCatchAll) {\n LPadInst.addClause(CGExceptionStatics.getCatchAllValue(/*Deref*/$this()));\n // If we have an EH filter, we need to add those handlers in the\n // right place in the landingpad, which is to say, at the end.\n } else if (hasFilter) {\n // Create a filter expression: a constant array indicating which filter\n // types there are. The personality routine only lands here if the filter\n // doesn't match.\n SmallVector<Constant /*P*/ > Filters/*J*/= new SmallVector<Constant /*P*/ >(8, (Constant /*P*/ )null);\n org.llvm.ir.ArrayType /*P*/ AType = org.llvm.ir.ArrayType.get(!filterTypes.empty() ? filterTypes.$at(0).getType() : Unnamed_field9.Int8PtrTy, \n $uint2ulong(filterTypes.size()));\n \n for (/*uint*/int i = 0, e = filterTypes.size(); i != e; ++i) {\n Filters.push_back(cast_Constant(filterTypes.$at(i)));\n }\n Constant /*P*/ FilterArray = ConstantArray.get(AType, new ArrayRef<Constant /*P*/ >(Filters, true));\n LPadInst.addClause(FilterArray);\n \n // Also check whether we need a cleanup.\n if (hasCleanup) {\n LPadInst.setCleanup(true);\n }\n // Otherwise, signal that we at least have cleanups.\n } else if (hasCleanup) {\n LPadInst.setCleanup(true);\n }\n assert (($greater_uint(LPadInst.getNumClauses(), 0) || LPadInst.isCleanup())) : \"landingpad instruction has no clauses!\";\n \n // Tell the backend how to generate the landing pad.\n $this().Builder.CreateBr($this().getEHDispatchBlock($this().EHStack.getInnermostEHScope()));\n \n // Restore the old IR generation state.\n $this().Builder.restoreIP(new IRBuilderBase.InsertPoint(savedIP));\n \n return lpad;\n } finally {\n if (DL != null) { DL.$destroy(); }\n }\n}", "title": "" }, { "docid": "4c13ac05264a182004b61c731db0bf0d", "score": "0.5788146", "text": "public java.lang.Object m28332a(com.fasterxml.jackson.core.JsonParser r11, com.fasterxml.jackson.databind.DeserializationContext r12) {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: SSA rename variables already executed\n\tat jadx.core.dex.visitors.ssa.SSATransform.renameVariables(SSATransform.java:120)\n\tat jadx.core.dex.visitors.ssa.SSATransform.process(SSATransform.java:52)\n\tat jadx.core.dex.visitors.ssa.SSATransform.visit(SSATransform.java:42)\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.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:37)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:59)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:42)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r10 = this;\n r8 = 1;\n r6 = null;\n r4 = new com.facebook.flatbuffers.FlatBufferBuilder;\n r5 = 128;\n r4.<init>(r5);\n r5 = com.facebook.video.settings.graphql.AutoplaySettingsGraphQLParsers.ViewerQueryParser.DeviceAutoplaySettingParser.m28350a(r11, r4);\n r4.d(r5);\n r4 = r4.e();\n r5 = java.nio.ByteBuffer.wrap(r4);\n r4 = null;\n r5.position(r4);\n r4 = new com.facebook.flatbuffers.MutableFlatBuffer;\n r7 = r6;\n r9 = r6;\n r4.<init>(r5, r6, r7, r8, r9);\n r5 = 4;\n r6 = java.lang.Boolean.valueOf(r8);\n r4.a(r5, r6);\n r2 = r4;\n r1 = new com.facebook.video.settings.graphql.AutoplaySettingsGraphQLModels$ViewerQueryModel$DeviceAutoplaySettingModel;\n r1.<init>();\n r4 = r2.a;\n r0 = r4;\n r3 = com.facebook.flatbuffers.FlatBuffer.a(r0);\n r0 = r1;\n r0 = (com.facebook.graphql.modelutil.BaseModel) r0;\n r0.a(r2, r3, r11);\n r0 = r1 instanceof com.facebook.common.json.Postprocessable;\n if (r0 == null) goto L_0x0048;\n L_0x0042:\n r1 = (com.facebook.common.json.Postprocessable) r1;\n r1 = r1.a();\n L_0x0048:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.video.settings.graphql.AutoplaySettingsGraphQLModels.ViewerQueryModel.DeviceAutoplaySettingModel.Deserializer.a(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext):java.lang.Object\");\n }", "title": "" }, { "docid": "8a62bff0a205eaae350a906a3388341c", "score": "0.5784122", "text": "public void run() {\n /*\n r6 = this;\n r0 = r6.a;\n r1 = r0.p;\n monitor-enter(r1);\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r2 = 0;\n r0.m = r2;\t Catch:{ all -> 0x0036 }\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r0 = r0.f;\t Catch:{ all -> 0x0036 }\n if (r0 == 0) goto L_0x001d;\n L_0x0015:\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r0 = r0.h;\t Catch:{ all -> 0x0036 }\n if (r0 != 0) goto L_0x001f;\n L_0x001d:\n monitor-exit(r1);\t Catch:{ all -> 0x0036 }\n L_0x001e:\n return;\n L_0x001f:\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r0 = r0.i;\t Catch:{ all -> 0x0036 }\n if (r0 == 0) goto L_0x0034;\n L_0x0027:\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r0 = r0.i;\t Catch:{ all -> 0x0036 }\n r0 = r0.size();\t Catch:{ all -> 0x0036 }\n r2 = 1;\n if (r0 >= r2) goto L_0x0039;\n L_0x0034:\n monitor-exit(r1);\t Catch:{ all -> 0x0036 }\n goto L_0x001e;\n L_0x0036:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x0036 }\n throw r0;\n L_0x0039:\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r0 = r0.l;\t Catch:{ all -> 0x0036 }\n if (r0 == 0) goto L_0x006f;\n L_0x0041:\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r0 = r0.n;\t Catch:{ all -> 0x0036 }\n if (r0 != 0) goto L_0x0055;\n L_0x0049:\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r2 = new com.baidu.location.LocationClient$b;\t Catch:{ all -> 0x0036 }\n r3 = r6.a;\t Catch:{ all -> 0x0036 }\n r2.<init>(r3);\t Catch:{ all -> 0x0036 }\n r0.n = r2;\t Catch:{ all -> 0x0036 }\n L_0x0055:\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r0 = r0.g;\t Catch:{ all -> 0x0036 }\n r2 = r6.a;\t Catch:{ all -> 0x0036 }\n r2 = r2.n;\t Catch:{ all -> 0x0036 }\n r3 = r6.a;\t Catch:{ all -> 0x0036 }\n r3 = r3.c;\t Catch:{ all -> 0x0036 }\n r3 = r3.scanSpan;\t Catch:{ all -> 0x0036 }\n r4 = (long) r3;\t Catch:{ all -> 0x0036 }\n r0.postDelayed(r2, r4);\t Catch:{ all -> 0x0036 }\n monitor-exit(r1);\t Catch:{ all -> 0x0036 }\n goto L_0x001e;\n L_0x006f:\n r0 = r6.a;\t Catch:{ all -> 0x0036 }\n r0 = r0.g;\t Catch:{ all -> 0x0036 }\n r2 = 4;\n r0 = r0.obtainMessage(r2);\t Catch:{ all -> 0x0036 }\n r0.sendToTarget();\t Catch:{ all -> 0x0036 }\n monitor-exit(r1);\t Catch:{ all -> 0x0036 }\n goto L_0x001e;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.baidu.location.LocationClient.b.run():void\");\n }", "title": "" }, { "docid": "7382f2a92a3761f041378c5ebcd8c31e", "score": "0.5763403", "text": "private void m9010b(java.util.ArrayList<android.support.v4.app.C4777b> r9, java.util.ArrayList<java.lang.Boolean> r10) {\n /*\n r8 = this;\n r0 = r8.f13287B;\n r1 = 0;\n if (r0 != 0) goto L_0x0007;\n L_0x0005:\n r0 = r1;\n goto L_0x000d;\n L_0x0007:\n r0 = r8.f13287B;\n r0 = r0.size();\n L_0x000d:\n r2 = r0;\n r0 = r1;\n L_0x000f:\n if (r0 >= r2) goto L_0x0079;\n L_0x0011:\n r3 = r8.f13287B;\n r3 = r3.get(r0);\n r3 = (android.support.v4.app.C4783l.C4782h) r3;\n r4 = 1;\n r5 = -1;\n if (r9 == 0) goto L_0x0039;\n L_0x001d:\n r6 = r3.f13277a;\n if (r6 != 0) goto L_0x0039;\n L_0x0021:\n r6 = r3.f13278b;\n r6 = r9.indexOf(r6);\n if (r6 == r5) goto L_0x0039;\n L_0x0029:\n r6 = r10.get(r6);\n r6 = (java.lang.Boolean) r6;\n r6 = r6.booleanValue();\n if (r6 == 0) goto L_0x0039;\n L_0x0035:\n r3.m8987d();\n goto L_0x0077;\n L_0x0039:\n r6 = r3.f13279c;\n if (r6 != 0) goto L_0x003f;\n L_0x003d:\n r6 = r4;\n goto L_0x0040;\n L_0x003f:\n r6 = r1;\n L_0x0040:\n if (r6 != 0) goto L_0x0050;\n L_0x0042:\n if (r9 == 0) goto L_0x0077;\n L_0x0044:\n r6 = r3.f13278b;\n r7 = r9.size();\n r6 = r6.m8959a(r9, r1, r7);\n if (r6 == 0) goto L_0x0077;\n L_0x0050:\n r6 = r8.f13287B;\n r6.remove(r0);\n r0 = r0 + -1;\n r2 = r2 + -1;\n if (r9 == 0) goto L_0x0074;\n L_0x005b:\n r6 = r3.f13277a;\n if (r6 != 0) goto L_0x0074;\n L_0x005f:\n r6 = r3.f13278b;\n r6 = r9.indexOf(r6);\n if (r6 == r5) goto L_0x0074;\n L_0x0067:\n r5 = r10.get(r6);\n r5 = (java.lang.Boolean) r5;\n r5 = r5.booleanValue();\n if (r5 == 0) goto L_0x0074;\n L_0x0073:\n goto L_0x0035;\n L_0x0074:\n r3.m8986c();\n L_0x0077:\n r0 = r0 + r4;\n goto L_0x000f;\n L_0x0079:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.app.l.b(java.util.ArrayList, java.util.ArrayList):void\");\n }", "title": "" }, { "docid": "d722102bbd50686c9d8275c868d60b86", "score": "0.5757844", "text": "public void b(fl var1_1) {\n block17: {\n block25: {\n block27: {\n block26: {\n block24: {\n block18: {\n block21: {\n block23: {\n block22: {\n block19: {\n block20: {\n var2_2 = var1_1.a();\n var3_3 = var1_1.a();\n var4_4 = null;\n var5_5 = null;\n if (var3_3 == 0) break block18;\n var3_3 = var1_1.a();\n var6_6 = Integer.toString(var3_3);\n var8_11 = \"SECMSG\";\n var7_8 = var1_1.a();\n var9_13 = var8_11.equals(var7_8);\n if (!var9_13) break block19;\n var10_15 = var1_1.a();\n if (var10_15) break block20;\n var2_2 = this.a.b();\n var4_4 = this.a;\n var2_2.a((XMPushService)var4_4, var6_6, (fl)var1_1);\n break block17;\n }\n var2_2 = new StringBuilder();\n var2_2.append(\"Recv SECMSG errCode = \");\n var3_3 = var1_1.b();\n var2_2.append(var3_3);\n var6_6 = \" errStr = \";\n var2_2.append(var6_6);\n var1_1 = var1_1.c();\nlbl29:\n // 3 sources\n\n while (true) {\n var2_2.append((String)var1_1);\n var1_1 = var2_2.toString();\nlbl33:\n // 2 sources\n\n while (true) {\n b.a((String)var1_1);\n break block17;\n break;\n }\n break;\n }\n }\n var7_8 = \"BIND\";\n var9_13 = var7_8.equals(var2_2);\n var8_11 = \"wait\";\n var11_19 = \" reason=\";\n if (!var9_13) break block21;\n var2_2 = ek$d.a(var1_1.a());\n var7_8 = var1_1.g();\n var12_21 = ap.a();\n var13_24 = var12_21.a(var6_6, (String)var7_8);\n if (var13_24 == null) {\n return;\n }\n var14_28 = var2_2.a();\n if (!var14_28) break block22;\n var2_2 = new StringBuilder();\n var6_6 = \"SMACK: channel bind succeeded, chid=\";\n var2_2.append(var6_6);\n var15_30 = var1_1.a();\n var2_2.append(var15_30);\n var1_1 = var2_2.toString();\n b.a((String)var1_1);\n var16_33 = ap$c.c;\n var17_37 = 1;\n var18_42 = false;\n var19_45 = null;\n var20_47 = null;\n var21_51 = null;\n var13_24.a(var16_33, var17_37, 0, null, null);\n break block17;\n }\n var1_1 = \"auth\";\n var21_52 = var2_2.a();\n var15_31 = var1_1.equals(var21_52);\n if (var15_31 == 0) break block23;\n var8_11 = \"invalid-sig\";\n var1_1 = var2_2.b();\n var15_31 = var8_11.equals(var1_1);\n if (var15_31 != 0) {\n var1_1 = new StringBuilder();\n var1_1.append(\"SMACK: bind error invalid-sig token = \");\n var8_11 = var13_24.c;\n var1_1.append(var8_11);\n var1_1.append(\" sec = \");\n var8_11 = var13_24.h;\n var1_1.append(var8_11);\n b.a(var1_1.toString());\n var1_1 = fh.Q;\n var15_31 = var1_1.a();\n var22_53 = 1;\n hg.a(0, var15_31, var22_53, null, 0);\n }\n var16_34 = ap$c.a;\n var17_38 = 1;\n var18_43 = 5;\n ** GOTO lbl103\n }\n var1_1 = \"cancel\";\n var15_31 = var1_1.equals(var21_52);\n if (var15_31 != 0) {\n var16_34 = ap$c.a;\n var17_38 = 1;\n var18_43 = 7;\nlbl103:\n // 2 sources\n\n var20_48 = var2_2.b();\n var13_24.a(var16_34, var17_38, var18_43, var20_48, var21_52);\n var1_1 = ap.a();\n var1_1.a(var6_6, (String)var7_8);\n } else {\n var15_31 = var8_11.equals(var21_52);\n if (var15_31 != 0) {\n var1_1 = this.a;\n var1_1.a(var13_24);\n var16_35 = ap$c.a;\n var17_39 = 1;\n var18_44 = 7;\n var20_49 = var2_2.b();\n var13_24.a(var16_35, var17_39, var18_44, var20_49, var21_52);\n }\n }\n var1_1 = new StringBuilder();\n var4_4 = \"SMACK: channel bind failed, chid=\";\n var1_1.append((String)var4_4);\n var1_1.append(var6_6);\n var1_1.append((String)var11_19);\n var2_2 = var2_2.b();\n var1_1.append((String)var2_2);\n var1_1 = var1_1.toString();\n ** while (true)\n }\n var4_4 = \"KICK\";\n var10_16 = var4_4.equals(var2_2);\n if (var10_16) {\n var2_2 = ek$g.a(var1_1.a());\n var1_1 = var1_1.g();\n var20_50 = var2_2.a();\n var19_46 = var2_2.b();\n var2_2 = new StringBuilder();\n var2_2.append(\"kicked by server, chid=\");\n var2_2.append(var6_6);\n var2_2.append(\" res= \");\n var4_4 = ap$b.a((String)var1_1);\n var2_2.append((String)var4_4);\n var4_4 = \" type=\";\n var2_2.append((String)var4_4);\n var2_2.append(var20_50);\n var2_2.append((String)var11_19);\n var2_2.append(var19_46);\n var2_2 = var2_2.toString();\n b.a((String)var2_2);\n var10_16 = var8_11.equals(var20_50);\n if (var10_16) {\n var2_2 = ap.a();\n var12_22 = var2_2.a(var6_6, (String)var1_1);\n if (var12_22 != null) {\n var1_1 = this.a;\n var1_1.a(var12_22);\n var13_25 = ap$c.a;\n var23_54 = 3;\n var17_40 = false;\n var12_22.a(var13_25, var23_54, 0, var19_46, var20_50);\n }\n } else {\n var7_8 = this.a;\n var14_29 = 3;\n var8_11 = var6_6;\n var11_19 = var1_1;\n var13_26 = var19_46;\n var16_36 = var20_50;\n var7_8.a(var6_6, (String)var1_1, var14_29, var19_46, var20_50);\n var2_2 = ap.a();\n var2_2.a(var6_6, (String)var1_1);\n }\n }\n break block17;\n }\n var6_7 = \"PING\";\n var3_3 = (int)var6_7.equals(var2_2);\n if (var3_3 == 0) break block24;\n var2_2 = var1_1.a();\n if (var2_2 != null && (var3_3 = ((Object)var2_2).length) > 0 && (var3_3 = (int)(var2_2 = ek$j.a((byte[])var2_2)).b()) != 0) {\n var6_7 = be.a();\n var2_2 = var2_2.a();\n var6_7.a((ek$b)var2_2);\n }\n if (!(var10_17 = (var6_7 = \"com.xiaomi.xmsf\").equals(var2_2 = this.a.getPackageName()))) {\n var2_2 = this.a;\n var2_2.a();\n }\n if (var15_32 = (var2_2 = \"1\").equals(var1_1 = var1_1.e())) {\n var1_1 = \"received a server ping\";\n b.a((String)var1_1);\n } else {\n hg.b();\n }\n var1_1 = this.a;\n var1_1.b();\n break block17;\n }\n var6_7 = \"SYNC\";\n var10_18 = var6_7.equals(var2_2);\n if (!var10_18) break block25;\n var6_7 = \"CONF\";\n var2_2 = var1_1.b();\n var10_18 = var6_7.equals(var2_2);\n if (!var10_18) break block26;\n var1_1 = ek$b.a(var1_1.a());\n var2_2 = be.a();\n var2_2.a((ek$b)var1_1);\n break block17;\n }\n var6_7 = \"U\";\n var2_2 = var1_1.b();\n var10_18 = TextUtils.equals((CharSequence)var6_7, (CharSequence)var2_2);\n if (!var10_18) break block27;\n var2_2 = ek$k.a(var1_1.a());\n var7_9 = di.a((Context)this.a);\n var8_12 = var2_2.a();\n var11_20 = var2_2.b();\n var24_56 = var2_2.a();\n var12_23 = new Date(var24_56);\n var24_56 = var2_2.b();\n var13_27 = new Date(var24_56);\n var3_3 = var2_2.c();\n var23_55 = var3_3 * 1024;\n var17_41 = var2_2.e();\n var7_9.a(var8_12, var11_20, var12_23, var13_27, var23_55, var17_41);\n var2_2 = new fl();\n var2_2.a(0);\n var6_7 = var1_1.a();\n var4_4 = \"UCA\";\n var2_2.a((String)var6_7, (String)var4_4);\n var1_1 = var1_1.e();\n var2_2.a((String)var1_1);\n var1_1 = this.a;\n var6_7 = new ba((XMPushService)var1_1, (fl)var2_2);\n var1_1.a((XMPushService$i)var6_7);\n break block17;\n }\n var6_7 = \"P\";\n var2_2 = var1_1.b();\n var10_18 = TextUtils.equals((CharSequence)var6_7, (CharSequence)var2_2);\n if (!var10_18) break block17;\n var2_2 = ek$i.a(var1_1.a());\n var6_7 = new fl();\n var6_7.a(0);\n var5_5 = var1_1.a();\n var7_10 = \"PCA\";\n var6_7.a((String)var5_5, var7_10);\n var5_5 = var1_1.e();\n var6_7.a((String)var5_5);\n var5_5 = new ek$i();\n var9_14 = var2_2.a();\n if (var9_14) {\n var2_2 = var2_2.a();\n var5_5.a((a)var2_2);\n }\n var2_2 = var5_5.a();\n var6_7.a((byte[])var2_2, null);\n var2_2 = this.a;\n var4_4 = new ba((XMPushService)var2_2, (fl)var6_7);\n var2_2.a((XMPushService$i)var4_4);\n var2_2 = new StringBuilder();\n var6_7 = \"ACK msgP: id = \";\n var2_2.append((String)var6_7);\n var1_1 = var1_1.e();\n ** GOTO lbl29\n }\n var6_7 = \"NOTIFY\";\n var2_2 = var1_1.a();\n var10_18 = var6_7.equals(var2_2);\n if (var10_18) {\n var1_1 = ek$h.a(var1_1.a());\n var2_2 = new StringBuilder();\n var2_2.append(\"notify by server err = \");\n var3_3 = var1_1.c();\n var2_2.append(var3_3);\n var6_7 = \" desc = \";\n var2_2.append((String)var6_7);\n var1_1 = var1_1.a();\n ** continue;\n }\n }\n }\n}", "title": "" }, { "docid": "6d99f9b07121f36c538782e3138268cc", "score": "0.5746769", "text": "public final com.facebook.graphql.visitor.GraphQLVisitableModel m26325a(com.facebook.graphql.visitor.GraphQLModelMutatingVisitor r4) {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: SSA rename variables already executed\n\tat jadx.core.dex.visitors.ssa.SSATransform.renameVariables(SSATransform.java:120)\n\tat jadx.core.dex.visitors.ssa.SSATransform.process(SSATransform.java:52)\n\tat jadx.core.dex.visitors.ssa.SSATransform.visit(SSATransform.java:42)\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:37)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:59)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:42)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r3 = this;\n r1 = null;\n r3.h();\n r0 = r3.m26323j();\n if (r0 == null) goto L_0x0022;\n L_0x000a:\n r0 = r3.m26323j();\n r0 = r4.b(r0);\n r0 = (com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.SouvenirMediaModel) r0;\n r2 = r3.m26323j();\n if (r2 == r0) goto L_0x0022;\n L_0x001a:\n r1 = com.facebook.graphql.modelutil.ModelHelper.a(r1, r3);\n r1 = (com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel) r1;\n r1.f24158f = r0;\n L_0x0022:\n r3.i();\n if (r1 != null) goto L_0x0028;\n L_0x0027:\n return r3;\n L_0x0028:\n r3 = r1;\n goto L_0x0027;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.a(com.facebook.graphql.visitor.GraphQLModelMutatingVisitor):com.facebook.graphql.visitor.GraphQLVisitableModel\");\n }", "title": "" }, { "docid": "04493851f57e3531821ab15923fd0c46", "score": "0.5746765", "text": "private boolean i() {\n /*\n r13 = this;\n r12 = 59;\n r11 = 58;\n r10 = 34;\n r2 = 1;\n r4 = 0;\n r0 = \"8BIT\";\n r13.e = r0;\n r6 = r13.b();\n r3 = new bgy;\n r3.<init>();\n r7 = r6.length();\n if (r7 <= 0) goto L_0x0029;\n L_0x001b:\n r0 = r6.charAt(r4);\n r1 = 35;\n if (r0 != r1) goto L_0x0029;\n L_0x0023:\n r0 = new bhe;\n r0.<init>();\n throw r0;\n L_0x0029:\n r5 = r4;\n r0 = r4;\n r1 = r4;\n L_0x002c:\n if (r5 >= r7) goto L_0x00fa;\n L_0x002e:\n r8 = r6.charAt(r5);\n switch(r1) {\n case 0: goto L_0x0038;\n case 1: goto L_0x00a4;\n case 2: goto L_0x00e4;\n default: goto L_0x0035;\n };\n L_0x0035:\n r5 = r5 + 1;\n goto L_0x002c;\n L_0x0038:\n if (r8 != r11) goto L_0x006e;\n L_0x003a:\n r0 = r6.substring(r0, r5);\n r3.a(r0);\n r0 = r7 + -1;\n if (r5 >= r0) goto L_0x006b;\n L_0x0045:\n r0 = r5 + 1;\n r0 = r6.substring(r0);\n L_0x004b:\n r3.d = r0;\n r0 = r3;\n L_0x004e:\n r1 = r0.a;\n r3 = r1.toUpperCase();\n r1 = r0.d;\n r5 = \"BEGIN\";\n r5 = r3.equals(r5);\n if (r5 == 0) goto L_0x013f;\n L_0x005e:\n r0 = \"VCARD\";\n r0 = r1.equalsIgnoreCase(r0);\n if (r0 == 0) goto L_0x0123;\n L_0x0066:\n r13.j();\n L_0x0069:\n r2 = r4;\n L_0x006a:\n return r2;\n L_0x006b:\n r0 = \"\";\n goto L_0x004b;\n L_0x006e:\n r9 = 46;\n if (r8 != r9) goto L_0x0097;\n L_0x0072:\n r0 = r6.substring(r0, r5);\n r8 = r0.length();\n if (r8 != 0) goto L_0x0086;\n L_0x007c:\n r0 = \"vCard\";\n r8 = \"Empty group found. Ignoring.\";\n android.util.Log.w(r0, r8);\n L_0x0083:\n r0 = r5 + 1;\n goto L_0x0035;\n L_0x0086:\n r8 = r3.b;\n if (r8 != 0) goto L_0x0091;\n L_0x008a:\n r8 = new java.util.ArrayList;\n r8.<init>();\n r3.b = r8;\n L_0x0091:\n r8 = r3.b;\n r8.add(r0);\n goto L_0x0083;\n L_0x0097:\n if (r8 != r12) goto L_0x0035;\n L_0x0099:\n r0 = r6.substring(r0, r5);\n r3.a(r0);\n r0 = r5 + 1;\n L_0x00a2:\n r1 = r2;\n goto L_0x0035;\n L_0x00a4:\n if (r8 != r10) goto L_0x00bc;\n L_0x00a6:\n r1 = \"2.1\";\n r8 = r13.d();\n r1 = r1.equalsIgnoreCase(r8);\n if (r1 == 0) goto L_0x00b9;\n L_0x00b2:\n r1 = \"vCard\";\n r8 = \"Double-quoted params found in vCard 2.1. Silently allow it\";\n android.util.Log.w(r1, r8);\n L_0x00b9:\n r1 = 2;\n goto L_0x0035;\n L_0x00bc:\n if (r8 != r12) goto L_0x00c9;\n L_0x00be:\n r0 = r6.substring(r0, r5);\n r13.a(r3, r0);\n r0 = r5 + 1;\n goto L_0x0035;\n L_0x00c9:\n if (r8 != r11) goto L_0x0035;\n L_0x00cb:\n r0 = r6.substring(r0, r5);\n r13.a(r3, r0);\n r0 = r7 + -1;\n if (r5 >= r0) goto L_0x00e1;\n L_0x00d6:\n r0 = r5 + 1;\n r0 = r6.substring(r0);\n L_0x00dc:\n r3.d = r0;\n r0 = r3;\n goto L_0x004e;\n L_0x00e1:\n r0 = \"\";\n goto L_0x00dc;\n L_0x00e4:\n if (r8 != r10) goto L_0x0035;\n L_0x00e6:\n r1 = \"2.1\";\n r8 = r13.d();\n r1 = r1.equalsIgnoreCase(r8);\n if (r1 == 0) goto L_0x00a2;\n L_0x00f2:\n r1 = \"vCard\";\n r8 = \"Double-quoted params found in vCard 2.1. Silently allow it\";\n android.util.Log.w(r1, r8);\n goto L_0x00a2;\n L_0x00fa:\n r0 = new bhd;\n r1 = new java.lang.StringBuilder;\n r2 = java.lang.String.valueOf(r6);\n r2 = r2.length();\n r2 = r2 + 16;\n r1.<init>(r2);\n r2 = \"Invalid line: \\\"\";\n r1 = r1.append(r2);\n r1 = r1.append(r6);\n r2 = \"\\\"\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1, r4);\n throw r0;\n L_0x0123:\n r2 = new bhd;\n r3 = \"Unknown BEGIN type: \";\n r0 = java.lang.String.valueOf(r1);\n r1 = r0.length();\n if (r1 == 0) goto L_0x0139;\n L_0x0131:\n r0 = r3.concat(r0);\n L_0x0135:\n r2.<init>(r0);\n throw r2;\n L_0x0139:\n r0 = new java.lang.String;\n r0.<init>(r3);\n goto L_0x0135;\n L_0x013f:\n r5 = \"END\";\n r5 = r3.equals(r5);\n if (r5 == 0) goto L_0x016b;\n L_0x0147:\n r0 = \"VCARD\";\n r0 = r1.equalsIgnoreCase(r0);\n if (r0 != 0) goto L_0x006a;\n L_0x014f:\n r2 = new bhd;\n r3 = \"Unknown END type: \";\n r0 = java.lang.String.valueOf(r1);\n r1 = r0.length();\n if (r1 == 0) goto L_0x0165;\n L_0x015d:\n r0 = r3.concat(r0);\n L_0x0161:\n r2.<init>(r0);\n throw r2;\n L_0x0165:\n r0 = new java.lang.String;\n r0.<init>(r3);\n goto L_0x0161;\n L_0x016b:\n r2 = r0.d;\n r1 = \"AGENT\";\n r1 = r3.equals(r1);\n if (r1 == 0) goto L_0x017a;\n L_0x0175:\n r13.a(r0);\n goto L_0x0069;\n L_0x017a:\n r1 = r13.e();\n r5 = r3.toUpperCase();\n r1 = r1.contains(r5);\n if (r1 != 0) goto L_0x01b2;\n L_0x0188:\n r1 = \"X-\";\n r1 = r3.startsWith(r1);\n if (r1 != 0) goto L_0x01b2;\n L_0x0190:\n r1 = r13.f;\n r1 = r1.contains(r3);\n if (r1 != 0) goto L_0x01b2;\n L_0x0198:\n r1 = r13.f;\n r1.add(r3);\n r5 = \"vCard\";\n r6 = \"Property name unsupported by vCard 2.1: \";\n r1 = java.lang.String.valueOf(r3);\n r7 = r1.length();\n if (r7 == 0) goto L_0x0202;\n L_0x01ab:\n r1 = r6.concat(r1);\n L_0x01af:\n android.util.Log.w(r5, r1);\n L_0x01b2:\n r1 = \"VERSION\";\n r1 = r3.equals(r1);\n if (r1 == 0) goto L_0x0208;\n L_0x01ba:\n r1 = r13.d();\n r1 = r2.equals(r1);\n if (r1 != 0) goto L_0x0208;\n L_0x01c4:\n r0 = new bhh;\n r1 = r13.d();\n r1 = java.lang.String.valueOf(r1);\n r3 = new java.lang.StringBuilder;\n r4 = java.lang.String.valueOf(r2);\n r4 = r4.length();\n r4 = r4 + 26;\n r5 = java.lang.String.valueOf(r1);\n r5 = r5.length();\n r4 = r4 + r5;\n r3.<init>(r4);\n r4 = \"Incompatible version: \";\n r3 = r3.append(r4);\n r2 = r3.append(r2);\n r3 = \" != \";\n r2 = r2.append(r3);\n r1 = r2.append(r1);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x0202:\n r1 = new java.lang.String;\n r1.<init>(r6);\n goto L_0x01af;\n L_0x0208:\n r13.b(r0);\n goto L_0x0069;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: bgt.i():boolean\");\n }", "title": "" }, { "docid": "681c7d0de1e8c6095a09064f9bc4e28c", "score": "0.5743637", "text": "public void d() {\n/* 1177 */ if (!this.n) {\n/* 1178 */ throw new IllegalArgumentException();\n/* */ }\n/* */ \n/* */ \n/* 1182 */ this.l = null;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1193 */ for (int t = this.f.length - 1; t >= 0; t--) {\n/* */ \n/* 1195 */ for (int c = (this.f[t]).length - 1; c >= 0; c--) {\n/* */ \n/* 1197 */ int[][][] lblock_t_c = this.h[t][c];\n/* 1198 */ int[][][] bak_lblock_t_c = this.j[t][c];\n/* 1199 */ f[][][] ttIncl_t_c = this.f[t][c];\n/* 1200 */ f[][][] ttMaxBP_t_c = this.g[t][c];\n/* */ \n/* 1202 */ for (int r = lblock_t_c.length - 1; r >= 0; r--) {\n/* */ \n/* 1204 */ f[][] ttIncl_t_c_r = ttIncl_t_c[r];\n/* 1205 */ f[][] ttMaxBP_t_c_r = ttMaxBP_t_c[r];\n/* 1206 */ int[][] prevtIdxs_t_c_r = this.i[t][c][r];\n/* 1207 */ int[][] bak_prevtIdxs_t_c_r = this.k[t][c][r];\n/* */ \n/* */ \n/* 1210 */ int minsbi = (r == 0) ? 0 : 1;\n/* 1211 */ int maxsbi = (r == 0) ? 1 : 4;\n/* 1212 */ for (int s = minsbi; s < maxsbi; s++) {\n/* */ \n/* 1214 */ System.arraycopy(bak_lblock_t_c[r][s], 0, lblock_t_c[r][s], 0, (lblock_t_c[r][s]).length);\n/* */ \n/* */ \n/* */ \n/* 1218 */ System.arraycopy(bak_prevtIdxs_t_c_r[s], 0, prevtIdxs_t_c_r[s], 0, (prevtIdxs_t_c_r[s]).length);\n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1224 */ for (int p = (this.q[t][c][r]).length - 1; p >= 0; p--) {\n/* 1225 */ if (p < ttIncl_t_c_r.length)\n/* */ {\n/* 1227 */ for (int i = minsbi; i < maxsbi; i++) {\n/* 1228 */ ttIncl_t_c_r[p][i].d();\n/* 1229 */ ttMaxBP_t_c_r[p][i].d();\n/* */ } \n/* */ }\n/* */ } \n/* */ } \n/* */ } \n/* */ } \n/* */ }", "title": "" }, { "docid": "73c7f6711fb4c1ace5e2b4e1c0a5c29e", "score": "0.57329905", "text": "public final void mo25698d(p421m.p422m0.p429j.C7922b r4, p421m.p422m0.p429j.C7922b r5, java.io.IOException r6) {\n /*\n r3 = this;\n java.lang.String r0 = \"connectionCode\"\n p298d.p344x.p346c.C6888i.m12438e(r4, r0)\n java.lang.String r0 = \"streamCode\"\n p298d.p344x.p346c.C6888i.m12438e(r5, r0)\n byte[] r0 = p421m.p422m0.C7867c.f15619a\n r3.mo25692H(r4) // Catch:{ IOException -> 0x000f }\n L_0x000f:\n r4 = 0\n monitor-enter(r3)\n java.util.Map<java.lang.Integer, m.m0.j.o> r0 = r3.f15856i // Catch:{ all -> 0x0062 }\n boolean r0 = r0.isEmpty() // Catch:{ all -> 0x0062 }\n r0 = r0 ^ 1\n r1 = 0\n if (r0 == 0) goto L_0x003a\n java.util.Map<java.lang.Integer, m.m0.j.o> r4 = r3.f15856i // Catch:{ all -> 0x0062 }\n java.util.Collection r4 = r4.values() // Catch:{ all -> 0x0062 }\n m.m0.j.o[] r0 = new p421m.p422m0.p429j.C7950o[r1] // Catch:{ all -> 0x0062 }\n java.lang.Object[] r4 = r4.toArray(r0) // Catch:{ all -> 0x0062 }\n if (r4 == 0) goto L_0x0032\n m.m0.j.o[] r4 = (p421m.p422m0.p429j.C7950o[]) r4 // Catch:{ all -> 0x0062 }\n java.util.Map<java.lang.Integer, m.m0.j.o> r0 = r3.f15856i // Catch:{ all -> 0x0062 }\n r0.clear() // Catch:{ all -> 0x0062 }\n goto L_0x003a\n L_0x0032:\n java.lang.NullPointerException r4 = new java.lang.NullPointerException // Catch:{ all -> 0x0062 }\n java.lang.String r5 = \"null cannot be cast to non-null type kotlin.Array<T>\"\n r4.<init>(r5) // Catch:{ all -> 0x0062 }\n throw r4 // Catch:{ all -> 0x0062 }\n L_0x003a:\n monitor-exit(r3)\n if (r4 == 0) goto L_0x0048\n int r0 = r4.length\n L_0x003e:\n if (r1 >= r0) goto L_0x0048\n r2 = r4[r1]\n r2.mo25720c(r5, r6) // Catch:{ IOException -> 0x0045 }\n L_0x0045:\n int r1 = r1 + 1\n goto L_0x003e\n L_0x0048:\n m.m0.j.p r4 = r3.f15851F // Catch:{ IOException -> 0x004d }\n r4.close() // Catch:{ IOException -> 0x004d }\n L_0x004d:\n java.net.Socket r4 = r3.f15850E // Catch:{ IOException -> 0x0052 }\n r4.close() // Catch:{ IOException -> 0x0052 }\n L_0x0052:\n m.m0.f.c r4 = r3.f15862o\n r4.mo25593e()\n m.m0.f.c r4 = r3.f15863p\n r4.mo25593e()\n m.m0.f.c r4 = r3.f15864q\n r4.mo25593e()\n return\n L_0x0062:\n r4 = move-exception\n monitor-exit(r3)\n throw r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p421m.p422m0.p429j.C7929f.mo25698d(m.m0.j.b, m.m0.j.b, java.io.IOException):void\");\n }", "title": "" }, { "docid": "e282f75d2cea49945499ec0602832d65", "score": "0.57283604", "text": "public void e() {\n/* 1246 */ this.n = false;\n/* */ \n/* 1248 */ this.l = null;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1258 */ for (int t = this.f.length - 1; t >= 0; t--) {\n/* */ \n/* 1260 */ for (int c = (this.f[t]).length - 1; c >= 0; c--) {\n/* */ \n/* 1262 */ int[][][] lblock_t_c = this.h[t][c];\n/* 1263 */ f[][][] ttIncl_t_c = this.f[t][c];\n/* 1264 */ f[][][] ttMaxBP_t_c = this.g[t][c];\n/* */ \n/* 1266 */ for (int r = lblock_t_c.length - 1; r >= 0; r--) {\n/* */ \n/* 1268 */ f[][] ttIncl_t_c_r = ttIncl_t_c[r];\n/* 1269 */ f[][] ttMaxBP_t_c_r = ttMaxBP_t_c[r];\n/* 1270 */ int[][] prevtIdxs_t_c_r = this.i[t][c][r];\n/* */ \n/* */ \n/* 1273 */ int minsbi = (r == 0) ? 0 : 1;\n/* 1274 */ int maxsbi = (r == 0) ? 1 : 4;\n/* 1275 */ for (int s = minsbi; s < maxsbi; s++) {\n/* */ \n/* 1277 */ a.a(prevtIdxs_t_c_r[s], -1);\n/* */ \n/* 1279 */ a.a(lblock_t_c[r][s], 3);\n/* */ } \n/* */ \n/* */ \n/* 1283 */ for (int p = (this.q[t][c][r]).length - 1; p >= 0; p--) {\n/* 1284 */ if (p < ttIncl_t_c_r.length)\n/* */ {\n/* 1286 */ for (int i = minsbi; i < maxsbi; i++) {\n/* 1287 */ ttIncl_t_c_r[p][i].e();\n/* 1288 */ ttMaxBP_t_c_r[p][i].e();\n/* */ } \n/* */ }\n/* */ } \n/* */ } \n/* */ } \n/* */ } \n/* */ }", "title": "" }, { "docid": "ea9ad3099c1927fa375aba63090db2cb", "score": "0.57268965", "text": "public okio.Sink m25895a(int r4) throws java.io.IOException {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r3 = this;\n r0 = r3.f22001a;\n monitor-enter(r0);\n r1 = r3.f22002b;\t Catch:{ all -> 0x003d }\n r1 = r1.f22012g;\t Catch:{ all -> 0x003d }\n if (r1 == r3) goto L_0x0011;\t Catch:{ all -> 0x003d }\n L_0x000b:\n r4 = new java.lang.IllegalStateException;\t Catch:{ all -> 0x003d }\n r4.<init>();\t Catch:{ all -> 0x003d }\n throw r4;\t Catch:{ all -> 0x003d }\n L_0x0011:\n r1 = r3.f22002b;\t Catch:{ all -> 0x003d }\n r1 = r1.f22011f;\t Catch:{ all -> 0x003d }\n if (r1 != 0) goto L_0x001e;\t Catch:{ all -> 0x003d }\n L_0x0019:\n r1 = r3.f22003c;\t Catch:{ all -> 0x003d }\n r2 = 1;\t Catch:{ all -> 0x003d }\n r1[r4] = r2;\t Catch:{ all -> 0x003d }\n L_0x001e:\n r1 = r3.f22002b;\t Catch:{ all -> 0x003d }\n r1 = r1.f22010e;\t Catch:{ all -> 0x003d }\n r4 = r1[r4];\t Catch:{ all -> 0x003d }\n r1 = r3.f22001a;\t Catch:{ FileNotFoundException -> 0x0037 }\n r1 = r1.f22022c;\t Catch:{ FileNotFoundException -> 0x0037 }\n r4 = r1.sink(r4);\t Catch:{ FileNotFoundException -> 0x0037 }\n r1 = new com.squareup.okhttp.internal.b$a$1;\t Catch:{ all -> 0x003d }\n r1.<init>(r3, r4);\t Catch:{ all -> 0x003d }\n monitor-exit(r0);\t Catch:{ all -> 0x003d }\n return r1;\t Catch:{ all -> 0x003d }\n L_0x0037:\n r4 = com.squareup.okhttp.internal.C6020b.f22021u;\t Catch:{ all -> 0x003d }\n monitor-exit(r0);\t Catch:{ all -> 0x003d }\n return r4;\t Catch:{ all -> 0x003d }\n L_0x003d:\n r4 = move-exception;\t Catch:{ all -> 0x003d }\n monitor-exit(r0);\t Catch:{ all -> 0x003d }\n throw r4;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.squareup.okhttp.internal.b.a.a(int):okio.Sink\");\n }", "title": "" }, { "docid": "592d4de1a0928f54d735634c0dd14d14", "score": "0.57085323", "text": "private final void m404a(int r6, boolean r7, boolean r8, int r9) {\n /*\n r5 = this;\n r3 = 1;\n r1 = 0;\n r0 = r5.f590d;\n if (r0 == 0) goto L_0x000c;\n L_0x0006:\n r0 = r0.getCount();\n if (r0 > 0) goto L_0x0010;\n L_0x000c:\n r5.m409b(r1);\n L_0x000f:\n return;\n L_0x0010:\n if (r8 != 0) goto L_0x0022;\n L_0x0012:\n r0 = r5.f591e;\n if (r0 != r6) goto L_0x0022;\n L_0x0016:\n r0 = r5.f589c;\n r0 = r0.size();\n if (r0 == 0) goto L_0x0022;\n L_0x001e:\n r5.m409b(r1);\n goto L_0x000f;\n L_0x0022:\n if (r6 < 0) goto L_0x0074;\n L_0x0024:\n r0 = r5.f590d;\n r0 = r0.getCount();\n if (r6 < r0) goto L_0x0034;\n L_0x002c:\n r0 = r5.f590d;\n r0 = r0.getCount();\n r6 = r0 + -1;\n L_0x0034:\n r0 = r5.f607w;\n r2 = r5.f591e;\n r4 = r2 + r0;\n if (r6 > r4) goto L_0x0072;\n L_0x003c:\n r0 = r2 - r0;\n if (r6 >= r0) goto L_0x0057;\n L_0x0040:\n r2 = r1;\n L_0x0041:\n r0 = r5.f589c;\n r0 = r0.size();\n if (r2 >= r0) goto L_0x0057;\n L_0x0049:\n r0 = r5.f589c;\n r0 = r0.get(r2);\n r0 = (p000.C0321ju) r0;\n r0.f8347c = r3;\n r0 = r2 + 1;\n r2 = r0;\n goto L_0x0041;\n L_0x0057:\n r0 = r5.f591e;\n if (r0 == r6) goto L_0x005c;\n L_0x005b:\n r1 = r3;\n L_0x005c:\n r0 = r5.f597k;\n if (r0 == 0) goto L_0x006b;\n L_0x0060:\n r5.f591e = r6;\n if (r1 == 0) goto L_0x0067;\n L_0x0064:\n r5.m410c();\n L_0x0067:\n r5.requestLayout();\n goto L_0x000f;\n L_0x006b:\n r5.m415e(r6);\n r5.m403a(r6, r7, r9, r1);\n goto L_0x000f;\n L_0x0072:\n r2 = r1;\n goto L_0x0041;\n L_0x0074:\n r6 = r1;\n goto L_0x0034;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.view.ViewPager.a(int, boolean, boolean, int):void\");\n }", "title": "" }, { "docid": "3619d0e897a23a44c7d26520281ed5bc", "score": "0.57070374", "text": "@org.jetbrains.annotations.Nullable\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public java.lang.Object emit(java.lang.Object r8, @org.jetbrains.annotations.NotNull kotlin.coroutines.Continuation r9) {\n /*\n r7 = this;\n boolean r0 = r9 instanceof kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1.C32451\n if (r0 == 0) goto L_0x0014\n r0 = r9\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1$1 r0 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1.C32451) r0\n int r1 = r0.label\n r2 = -2147483648(0xffffffff80000000, float:-0.0)\n r1 = r1 & r2\n if (r1 == 0) goto L_0x0014\n int r9 = r0.label\n int r9 = r9 - r2\n r0.label = r9\n goto L_0x0019\n L_0x0014:\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1$1 r0 = new kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1$1\n r0.<init>(r7, r9)\n L_0x0019:\n java.lang.Object r9 = r0.result\n java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()\n int r2 = r0.label\n r3 = 3\n r4 = 2\n r5 = 1\n if (r2 == 0) goto L_0x0064\n if (r2 == r5) goto L_0x0054\n if (r2 == r4) goto L_0x0044\n if (r2 != r3) goto L_0x003c\n java.lang.Object r8 = r0.L$3\n java.lang.Object r8 = r0.L$2\n kotlin.coroutines.Continuation r8 = (kotlin.coroutines.Continuation) r8\n java.lang.Object r8 = r0.L$1\n java.lang.Object r8 = r0.L$0\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1 r8 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1) r8\n kotlin.ResultKt.throwOnFailure(r9)\n goto L_0x00a4\n L_0x003c:\n java.lang.IllegalStateException r8 = new java.lang.IllegalStateException\n java.lang.String r9 = \"call to 'resume' before 'invoke' with coroutine\"\n r8.<init>(r9)\n throw r8\n L_0x0044:\n java.lang.Object r8 = r0.L$3\n java.lang.Object r2 = r0.L$2\n kotlin.coroutines.Continuation r2 = (kotlin.coroutines.Continuation) r2\n java.lang.Object r4 = r0.L$1\n java.lang.Object r5 = r0.L$0\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1 r5 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1) r5\n kotlin.ResultKt.throwOnFailure(r9)\n goto L_0x0091\n L_0x0054:\n java.lang.Object r8 = r0.L$3\n java.lang.Object r2 = r0.L$2\n kotlin.coroutines.Continuation r2 = (kotlin.coroutines.Continuation) r2\n java.lang.Object r4 = r0.L$1\n java.lang.Object r5 = r0.L$0\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1 r5 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1) r5\n kotlin.ResultKt.throwOnFailure(r9)\n goto L_0x008e\n L_0x0064:\n kotlin.ResultKt.throwOnFailure(r9)\n r9 = r0\n kotlin.coroutines.Continuation r9 = (kotlin.coroutines.Continuation) r9\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1 r2 = r7.this$0\n kotlin.jvm.functions.Function2 r2 = r2.$action$inlined\n r0.L$0 = r7\n r0.L$1 = r8\n r0.L$2 = r9\n r0.L$3 = r8\n r0.label = r4\n r0.L$0 = r7\n r0.L$1 = r8\n r0.L$2 = r9\n r0.L$3 = r8\n r0.label = r5\n java.lang.Object r2 = r2.invoke(r8, r0)\n if (r2 != r1) goto L_0x0089\n return r1\n L_0x0089:\n r5 = r7\n r4 = r8\n r6 = r2\n r2 = r9\n r9 = r6\n L_0x008e:\n if (r9 != r1) goto L_0x0091\n return r1\n L_0x0091:\n kotlinx.coroutines.flow.FlowCollector r9 = r5.$this_unsafeFlow$inlined\n r0.L$0 = r5\n r0.L$1 = r4\n r0.L$2 = r2\n r0.L$3 = r8\n r0.label = r3\n java.lang.Object r8 = r9.emit(r8, r0)\n if (r8 != r1) goto L_0x00a4\n return r1\n L_0x00a4:\n kotlin.Unit r8 = kotlin.Unit.INSTANCE\n return r8\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeFlow$1$lambda$1.emit(java.lang.Object, kotlin.coroutines.Continuation):java.lang.Object\");\n }", "title": "" }, { "docid": "835da7d119831eadd9bd0f82f6cf2443", "score": "0.568698", "text": "private void m7176d(java.net.Socket r3) {\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 r2 = this;\n r0 = r3.isInputShutdown();\t Catch:{ SocketException -> 0x0016, IOException -> 0x000a }\n if (r0 != 0) goto L_0x001d;\t Catch:{ SocketException -> 0x0016, IOException -> 0x000a }\n L_0x0006:\n r3.shutdownInput();\t Catch:{ SocketException -> 0x0016, IOException -> 0x000a }\n goto L_0x001d;\n L_0x000a:\n r3 = move-exception;\n r0 = new com.facebook.ads.internal.p.b.l;\n r1 = \"Error closing socket input stream\";\n r0.<init>(r1, r3);\n r2.m7165a(r0);\n goto L_0x001d;\n L_0x0016:\n r3 = \"ProxyCache\";\n r0 = \"Releasing input stream... Socket is closed by client.\";\n android.util.Log.d(r3, r0);\n L_0x001d:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.p.b.f.d(java.net.Socket):void\");\n }", "title": "" }, { "docid": "729bafc737f65719d488bcd99400bde8", "score": "0.56681156", "text": "public static java.lang.Integer m5994b(android.content.Context r2) {\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 r0 = r2.getPackageManager();\t Catch:{ Exception -> 0x0014 }\n r2 = r2.getPackageName();\t Catch:{ Exception -> 0x0014 }\n r1 = 0;\t Catch:{ Exception -> 0x0014 }\n r2 = r0.getPackageInfo(r2, r1);\t Catch:{ Exception -> 0x0014 }\n r2 = r2.versionCode;\t Catch:{ Exception -> 0x0014 }\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ Exception -> 0x0014 }\n goto L_0x0015;\n L_0x0014:\n r2 = 0;\n L_0x0015:\n return r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.cuvora.carinfo.helpers.t.b(android.content.Context):java.lang.Integer\");\n }", "title": "" }, { "docid": "bc2a5c9da191e06f46ae4f6682f3beb7", "score": "0.5667902", "text": "private final com.google.wireless.android.finsky.dfe.p505c.p506a.eb m35433b(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_0x001b;\n case 26: goto L_0x0028;\n case 32: goto L_0x0035;\n case 40: goto L_0x0072;\n case 50: goto L_0x007f;\n case 58: goto L_0x008d;\n case 64: goto L_0x009f;\n case 74: goto L_0x00c4;\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 = r7.m33564f();\n r6.f37524b = r0;\n r0 = r6.f37523a;\n r0 = r0 | 1;\n r6.f37523a = r0;\n goto L_0x0000;\n L_0x001b:\n r0 = r7.m33564f();\n r6.f37525c = r0;\n r0 = r6.f37523a;\n r0 = r0 | 2;\n r6.f37523a = r0;\n goto L_0x0000;\n L_0x0028:\n r0 = r7.m33564f();\n r6.f37526d = r0;\n r0 = r6.f37523a;\n r0 = r0 | 4;\n r6.f37523a = r0;\n goto L_0x0000;\n L_0x0035:\n r1 = r6.f37523a;\n r1 = r1 | 8;\n r6.f37523a = r1;\n r1 = r7.m33573o();\n r2 = r7.m33567i();\t Catch:{ IllegalArgumentException -> 0x0061 }\n switch(r2) {\n case 0: goto L_0x0069;\n case 1: goto L_0x0069;\n case 2: goto L_0x0069;\n case 3: goto L_0x0069;\n case 4: goto L_0x0069;\n case 5: goto L_0x0069;\n case 6: goto L_0x0069;\n case 7: goto L_0x0069;\n case 8: goto L_0x0069;\n case 9: goto L_0x0069;\n case 10: goto L_0x0069;\n default: goto L_0x0046;\n };\t Catch:{ IllegalArgumentException -> 0x0061 }\n L_0x0046:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0061 }\n r4 = 34;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0061 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0061 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0061 }\n r4 = \" is not a valid enum Id\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0061 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0061 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0061 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0061 }\n L_0x0061:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x0069:\n r6.f37527e = r2;\t Catch:{ IllegalArgumentException -> 0x0061 }\n r2 = r6.f37523a;\t Catch:{ IllegalArgumentException -> 0x0061 }\n r2 = r2 | 8;\n r6.f37523a = r2;\t Catch:{ IllegalArgumentException -> 0x0061 }\n goto L_0x0000;\n L_0x0072:\n r0 = r7.m33559c();\n r6.f37528f = r0;\n r0 = r6.f37523a;\n r0 = r0 | 16;\n r6.f37523a = r0;\n goto L_0x0000;\n L_0x007f:\n r0 = r7.m33564f();\n r6.f37529g = r0;\n r0 = r6.f37523a;\n r0 = r0 | 32;\n r6.f37523a = r0;\n goto L_0x0000;\n L_0x008d:\n r0 = r6.f37530h;\n if (r0 != 0) goto L_0x0098;\n L_0x0091:\n r0 = new com.google.android.finsky.cv.a.ax;\n r0.<init>();\n r6.f37530h = r0;\n L_0x0098:\n r0 = r6.f37530h;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x009f:\n r1 = r6.f37523a;\n r1 = r1 | 64;\n r6.f37523a = r1;\n r1 = r7.m33573o();\n r2 = r7.m33560d();\t Catch:{ IllegalArgumentException -> 0x00bb }\n r2 = com.google.android.finsky.cv.a.bp.a(r2);\t Catch:{ IllegalArgumentException -> 0x00bb }\n r6.f37531i = r2;\t Catch:{ IllegalArgumentException -> 0x00bb }\n r2 = r6.f37523a;\t Catch:{ IllegalArgumentException -> 0x00bb }\n r2 = r2 | 64;\n r6.f37523a = r2;\t Catch:{ IllegalArgumentException -> 0x00bb }\n goto L_0x0000;\n L_0x00bb:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x00c4:\n r0 = r7.m33564f();\n r6.f37532j = r0;\n r0 = r6.f37523a;\n r0 = r0 | 128;\n r6.f37523a = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.c.a.eb.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.c.a.eb\");\n }", "title": "" }, { "docid": "b6bab38364e0e7d19e4ddc02ca82fc71", "score": "0.565514", "text": "private boolean bь044Cь044C044Cь() {\n /*\n r5 = this;\n r0 = 0;\n r2 = 0;\n r1 = r5.bЛЛЛЛ041BЛ;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n if (r1 == 0) goto L_0x0008;\n L_0x0006:\n r0 = 1;\n L_0x0007:\n return r0;\n L_0x0008:\n r1 = 12288; // 0x3000 float:1.7219E-41 double:6.071E-320;\n r1 = r5.b044Cьь044C044Cь(r1);\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n if (r1 != 0) goto L_0x0007;\n L_0x0010:\n r1 = r5.b041BЛЛ041BЛЛ;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n if (r1 != 0) goto L_0x001e;\n L_0x0014:\n r1 = r5.b041BЛ041BЛ041BЛ;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n r3 = r5.b041B041BЛЛ041BЛ;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n r1 = r1.getHapticStorageFile(r3);\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n r5.b041BЛЛ041BЛЛ = r1;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n L_0x001e:\n r1 = r5.bЛ041BЛ041BЛЛ;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n if (r1 != 0) goto L_0x0033;\n L_0x0022:\n r3 = new java.io.RandomAccessFile;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n r1 = r5.b041BЛЛ041BЛЛ;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n r4 = \"r\";\n r3.<init>(r1, r4);\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n r1 = r3.getChannel();\t Catch:{ FileNotFoundException -> 0x007e, Exception -> 0x0079 }\n r5.bЛ041BЛ041BЛЛ = r1;\t Catch:{ FileNotFoundException -> 0x007e, Exception -> 0x0079 }\n r2 = r3;\n L_0x0033:\n r1 = r5.bЛ041BЛ041BЛЛ;\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n if (r1 == 0) goto L_0x0007;\n L_0x0037:\n r0 = r5.b044C044Cь044C044Cь();\t Catch:{ FileNotFoundException -> 0x003c, Exception -> 0x0079 }\n goto L_0x0007;\n L_0x003c:\n r1 = move-exception;\n L_0x003d:\n r3 = \"MemoryMappedFileReader\";\n L_0x003f:\n switch(r0) {\n case 0: goto L_0x0046;\n case 1: goto L_0x003f;\n default: goto L_0x0042;\n };\n L_0x0042:\n switch(r0) {\n case 0: goto L_0x0046;\n case 1: goto L_0x003f;\n default: goto L_0x0045;\n };\n L_0x0045:\n goto L_0x0042;\n L_0x0046:\n r1 = r1.getMessage();\n com.immersion.hapticmediasdk.utils.Log.e(r3, r1);\n r1 = r5.b041BЛ041BЛ041BЛ;\n r1.closeCloseable(r2);\n r1 = r5.b041BЛ041BЛ041BЛ;\n r2 = r5.bЛ041BЛ041BЛЛ;\n r1.closeCloseable(r2);\n r1 = b0415ЕЕ0415Е0415();\n r2 = b041504150415ЕЕ0415;\n r1 = r1 + r2;\n r2 = b0415ЕЕ0415Е0415();\n r1 = r1 * r2;\n r2 = bЕЕЕ0415Е0415;\n r1 = r1 % r2;\n r2 = bЕ04150415ЕЕ0415;\n if (r1 == r2) goto L_0x0007;\n L_0x006c:\n r1 = b0415ЕЕ0415Е0415();\n b0415Е0415ЕЕ0415 = r1;\n r1 = b0415ЕЕ0415Е0415();\n bЕ04150415ЕЕ0415 = r1;\n goto L_0x0007;\n L_0x0079:\n r1 = move-exception;\n r1.printStackTrace();\n goto L_0x0007;\n L_0x007e:\n r1 = move-exception;\n r2 = r3;\n goto L_0x003d;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.immersion.hapticmediasdk.controllers.MemoryMappedFileReader.bь044Cь044C044Cь():boolean\");\n }", "title": "" }, { "docid": "0fe0baec2ff038059ff6fea0b08052d4", "score": "0.56320214", "text": "private boolean m9014c(java.util.ArrayList<android.support.v4.app.C4777b> r5, java.util.ArrayList<java.lang.Boolean> r6) {\n /*\n r4 = this;\n monitor-enter(r4);\n r0 = r4.f13291b;\t Catch:{ all -> 0x003a }\n r1 = 0;\n if (r0 == 0) goto L_0x0038;\n L_0x0006:\n r0 = r4.f13291b;\t Catch:{ all -> 0x003a }\n r0 = r0.size();\t Catch:{ all -> 0x003a }\n if (r0 != 0) goto L_0x000f;\n L_0x000e:\n goto L_0x0038;\n L_0x000f:\n r0 = r4.f13291b;\t Catch:{ all -> 0x003a }\n r0 = r0.size();\t Catch:{ all -> 0x003a }\n r2 = r1;\n L_0x0016:\n if (r1 >= r0) goto L_0x0028;\n L_0x0018:\n r3 = r4.f13291b;\t Catch:{ all -> 0x003a }\n r3 = r3.get(r1);\t Catch:{ all -> 0x003a }\n r3 = (android.support.v4.app.C4783l.C0399f) r3;\t Catch:{ all -> 0x003a }\n r3 = r3.mo239a(r5, r6);\t Catch:{ all -> 0x003a }\n r2 = r2 | r3;\n r1 = r1 + 1;\n goto L_0x0016;\n L_0x0028:\n r5 = r4.f13291b;\t Catch:{ all -> 0x003a }\n r5.clear();\t Catch:{ all -> 0x003a }\n r5 = r4.f13302m;\t Catch:{ all -> 0x003a }\n r5 = r5.f13262d;\t Catch:{ all -> 0x003a }\n r6 = r4.f13289D;\t Catch:{ all -> 0x003a }\n r5.removeCallbacks(r6);\t Catch:{ all -> 0x003a }\n monitor-exit(r4);\t Catch:{ all -> 0x003a }\n return r2;\n L_0x0038:\n monitor-exit(r4);\t Catch:{ all -> 0x003a }\n return r1;\n L_0x003a:\n r5 = move-exception;\n monitor-exit(r4);\t Catch:{ all -> 0x003a }\n throw r5;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.app.l.c(java.util.ArrayList, java.util.ArrayList):boolean\");\n }", "title": "" }, { "docid": "42dc2d3fab7191cb2e10d4c58f6b686e", "score": "0.5631098", "text": "private boolean r_Step_1b()\r\n/* */ {\r\n/* 192 */ this.ket = this.cursor;\r\n/* */ \r\n/* 194 */ int among_var = find_among_b(a_2, 3);\r\n/* 195 */ if (among_var == 0)\r\n/* */ {\r\n/* 197 */ return false;\r\n/* */ }\r\n/* */ \r\n/* 200 */ this.bra = this.cursor;\r\n/* 201 */ switch (among_var) {\r\n/* */ case 0: \r\n/* 203 */ return false;\r\n/* */ \r\n/* */ \r\n/* */ case 1: \r\n/* 207 */ if (!r_R1())\r\n/* */ {\r\n/* 209 */ return false;\r\n/* */ }\r\n/* */ \r\n/* 212 */ slice_from(\"ee\");\r\n/* 213 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 2: \r\n/* 217 */ int v_1 = this.limit - this.cursor;\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ \r\n/* 222 */ while (!in_grouping_b(g_v, 97, 121))\r\n/* */ {\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ \r\n/* 228 */ if (this.cursor <= this.limit_backward)\r\n/* */ {\r\n/* 230 */ return false;\r\n/* */ }\r\n/* 232 */ this.cursor -= 1;\r\n/* */ }\r\n/* 234 */ this.cursor = (this.limit - v_1);\r\n/* */ \r\n/* 236 */ slice_del();\r\n/* */ \r\n/* 238 */ int v_3 = this.limit - this.cursor;\r\n/* */ \r\n/* 240 */ among_var = find_among_b(a_1, 13);\r\n/* 241 */ if (among_var == 0)\r\n/* */ {\r\n/* 243 */ return false;\r\n/* */ }\r\n/* 245 */ this.cursor = (this.limit - v_3);\r\n/* 246 */ switch (among_var) {\r\n/* */ case 0: \r\n/* 248 */ return false;\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ case 1: \r\n/* 253 */ int c = this.cursor;\r\n/* 254 */ insert(this.cursor, this.cursor, \"e\");\r\n/* 255 */ this.cursor = c;\r\n/* */ \r\n/* 257 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 2: \r\n/* 261 */ this.ket = this.cursor;\r\n/* */ \r\n/* 263 */ if (this.cursor <= this.limit_backward)\r\n/* */ {\r\n/* 265 */ return false;\r\n/* */ }\r\n/* 267 */ this.cursor -= 1;\r\n/* */ \r\n/* 269 */ this.bra = this.cursor;\r\n/* */ \r\n/* 271 */ slice_del();\r\n/* 272 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 3: \r\n/* 276 */ if (this.cursor != this.I_p1)\r\n/* */ {\r\n/* 278 */ return false;\r\n/* */ }\r\n/* */ \r\n/* 281 */ int v_4 = this.limit - this.cursor;\r\n/* */ \r\n/* 283 */ if (!r_shortv())\r\n/* */ {\r\n/* 285 */ return false;\r\n/* */ }\r\n/* 287 */ this.cursor = (this.limit - v_4);\r\n/* */ \r\n/* */ \r\n/* 290 */ int c = this.cursor;\r\n/* 291 */ insert(this.cursor, this.cursor, \"e\");\r\n/* 292 */ this.cursor = c;\r\n/* */ }\r\n/* */ \r\n/* */ break;\r\n/* */ }\r\n/* */ \r\n/* 298 */ return true;\r\n/* */ }", "title": "" }, { "docid": "2987764289b746d23ff6165cafcdfa6b", "score": "0.5630067", "text": "private static <T> com.airbnb.lottie.p037e.C0959a<T> m4060a(com.airbnb.lottie.C0955d r16, android.util.JsonReader r17, float r18, com.airbnb.lottie.p035c.aj<T> r19) {\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 r0 = r17;\n r1 = r18;\n r2 = r19;\n r17.beginObject();\n r4 = 0;\n r5 = 0;\n r6 = r4;\n r7 = r6;\n r8 = r7;\n r9 = r8;\n r13 = r9;\n r14 = r13;\n r5 = 0;\n r11 = 0;\n L_0x0013:\n r10 = r17.hasNext();\n if (r10 == 0) goto L_0x00ba;\n L_0x0019:\n r10 = r17.nextName();\n r12 = -1;\n r15 = r10.hashCode();\n r3 = 1;\n switch(r15) {\n case 101: goto L_0x006d;\n case 104: goto L_0x0063;\n case 105: goto L_0x0059;\n case 111: goto L_0x004f;\n case 115: goto L_0x0045;\n case 116: goto L_0x003b;\n case 3701: goto L_0x0031;\n case 3707: goto L_0x0027;\n default: goto L_0x0026;\n };\n L_0x0026:\n goto L_0x0077;\n L_0x0027:\n r15 = \"to\";\n r10 = r10.equals(r15);\n if (r10 == 0) goto L_0x0077;\n L_0x002f:\n r10 = 6;\n goto L_0x0078;\n L_0x0031:\n r15 = \"ti\";\n r10 = r10.equals(r15);\n if (r10 == 0) goto L_0x0077;\n L_0x0039:\n r10 = 7;\n goto L_0x0078;\n L_0x003b:\n r15 = \"t\";\n r10 = r10.equals(r15);\n if (r10 == 0) goto L_0x0077;\n L_0x0043:\n r10 = 0;\n goto L_0x0078;\n L_0x0045:\n r15 = \"s\";\n r10 = r10.equals(r15);\n if (r10 == 0) goto L_0x0077;\n L_0x004d:\n r10 = 1;\n goto L_0x0078;\n L_0x004f:\n r15 = \"o\";\n r10 = r10.equals(r15);\n if (r10 == 0) goto L_0x0077;\n L_0x0057:\n r10 = 3;\n goto L_0x0078;\n L_0x0059:\n r15 = \"i\";\n r10 = r10.equals(r15);\n if (r10 == 0) goto L_0x0077;\n L_0x0061:\n r10 = 4;\n goto L_0x0078;\n L_0x0063:\n r15 = \"h\";\n r10 = r10.equals(r15);\n if (r10 == 0) goto L_0x0077;\n L_0x006b:\n r10 = 5;\n goto L_0x0078;\n L_0x006d:\n r15 = \"e\";\n r10 = r10.equals(r15);\n if (r10 == 0) goto L_0x0077;\n L_0x0075:\n r10 = 2;\n goto L_0x0078;\n L_0x0077:\n r10 = -1;\n L_0x0078:\n switch(r10) {\n case 0: goto L_0x00b2;\n case 1: goto L_0x00ab;\n case 2: goto L_0x00a4;\n case 3: goto L_0x009d;\n case 4: goto L_0x0096;\n case 5: goto L_0x008b;\n case 6: goto L_0x0085;\n case 7: goto L_0x007f;\n default: goto L_0x007b;\n };\n L_0x007b:\n r17.skipValue();\n goto L_0x0013;\n L_0x007f:\n r3 = com.airbnb.lottie.p035c.C0940p.m4053b(r17, r18);\n r14 = r3;\n goto L_0x0013;\n L_0x0085:\n r3 = com.airbnb.lottie.p035c.C0940p.m4053b(r17, r18);\n r13 = r3;\n goto L_0x0013;\n L_0x008b:\n r5 = r17.nextInt();\n if (r5 != r3) goto L_0x0092;\n L_0x0091:\n goto L_0x0093;\n L_0x0092:\n r3 = 0;\n L_0x0093:\n r5 = r3;\n goto L_0x0013;\n L_0x0096:\n r3 = com.airbnb.lottie.p035c.C0940p.m4053b(r17, r18);\n r7 = r3;\n goto L_0x0013;\n L_0x009d:\n r3 = com.airbnb.lottie.p035c.C0940p.m4053b(r17, r18);\n r6 = r3;\n goto L_0x0013;\n L_0x00a4:\n r3 = r2.mo875b(r0, r1);\n r9 = r3;\n goto L_0x0013;\n L_0x00ab:\n r3 = r2.mo875b(r0, r1);\n r8 = r3;\n goto L_0x0013;\n L_0x00b2:\n r10 = r17.nextDouble();\n r3 = (float) r10;\n r11 = r3;\n goto L_0x0013;\n L_0x00ba:\n r17.endObject();\n if (r5 == 0) goto L_0x00c4;\n L_0x00bf:\n r0 = f3127a;\n r10 = r0;\n r9 = r8;\n goto L_0x0127;\n L_0x00c4:\n if (r6 == 0) goto L_0x0124;\n L_0x00c6:\n if (r7 == 0) goto L_0x0124;\n L_0x00c8:\n r0 = r6.x;\n r2 = -r1;\n r0 = com.airbnb.lottie.p036d.C0953e.m4098b(r0, r2, r1);\n r6.x = r0;\n r0 = r6.y;\n r3 = 1120403456; // 0x42c80000 float:100.0 double:5.53552857E-315;\n r5 = -1027080192; // 0xffffffffc2c80000 float:-100.0 double:NaN;\n r0 = com.airbnb.lottie.p036d.C0953e.m4098b(r0, r5, r3);\n r6.y = r0;\n r0 = r7.x;\n r0 = com.airbnb.lottie.p036d.C0953e.m4098b(r0, r2, r1);\n r7.x = r0;\n r0 = r7.y;\n r0 = com.airbnb.lottie.p036d.C0953e.m4098b(r0, r5, r3);\n r7.y = r0;\n r0 = r6.x;\n r2 = r6.y;\n r3 = r7.x;\n r5 = r7.y;\n r0 = com.airbnb.lottie.p036d.C0954f.m4103a(r0, r2, r3, r5);\n r2 = com.airbnb.lottie.p035c.C0941q.m4061a(r0);\n if (r2 == 0) goto L_0x0106;\n L_0x00ff:\n r3 = r2.get();\n r4 = r3;\n r4 = (android.view.animation.Interpolator) r4;\n L_0x0106:\n if (r2 == 0) goto L_0x010a;\n L_0x0108:\n if (r4 != 0) goto L_0x0122;\n L_0x010a:\n r2 = r6.x;\n r2 = r2 / r1;\n r3 = r6.y;\n r3 = r3 / r1;\n r4 = r7.x;\n r4 = r4 / r1;\n r5 = r7.y;\n r5 = r5 / r1;\n r4 = android.support.v4.view.p019b.C0541f.m2025a(r2, r3, r4, r5);\n r1 = new java.lang.ref.WeakReference;\t Catch:{ ArrayIndexOutOfBoundsException -> 0x0122 }\n r1.<init>(r4);\t Catch:{ ArrayIndexOutOfBoundsException -> 0x0122 }\n com.airbnb.lottie.p035c.C0941q.m4062a(r0, r1);\t Catch:{ ArrayIndexOutOfBoundsException -> 0x0122 }\n L_0x0122:\n r10 = r4;\n goto L_0x0127;\n L_0x0124:\n r0 = f3127a;\n r10 = r0;\n L_0x0127:\n r0 = new com.airbnb.lottie.e.a;\n r12 = 0;\n r6 = r0;\n r7 = r16;\n r6.<init>(r7, r8, r9, r10, r11, r12);\n r0.f3169f = r13;\n r0.f3170g = r14;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.airbnb.lottie.c.q.a(com.airbnb.lottie.d, android.util.JsonReader, float, com.airbnb.lottie.c.aj):com.airbnb.lottie.e.a<T>\");\n }", "title": "" }, { "docid": "f37e1ee797a6ad31970815b32d9b4388", "score": "0.5629805", "text": "@Override\n protected int findInstanceIdInfo(String var1_1) {\n block43 : {\n block37 : {\n block38 : {\n block39 : {\n block40 : {\n block41 : {\n block42 : {\n block32 : {\n block33 : {\n block36 : {\n block35 : {\n block34 : {\n var2_2 = var1_1.length();\n if (var2_2 == 2) break block32;\n if (var2_2 == 5) break block33;\n if (var2_2 == 9) break block34;\n if (var2_2 != 11) {\n if (var2_2 != 12) {\n var5_3 = 0;\n var6_4 = null;\n } else {\n var6_4 = \"rightContext\";\n var5_3 = 11;\n }\n } else {\n var6_4 = \"leftContext\";\n var5_3 = 9;\n }\n ** GOTO lbl-1000\n }\n var22_5 = var1_1.charAt(4);\n if (var22_5 != 'M') break block35;\n var6_4 = \"lastMatch\";\n var5_3 = 5;\n ** GOTO lbl-1000\n }\n if (var22_5 != 'P') break block36;\n var6_4 = \"lastParen\";\n var5_3 = 7;\n ** GOTO lbl-1000\n }\n var5_3 = 0;\n var6_4 = null;\n if (var22_5 != 'i') ** GOTO lbl-1000\n var6_4 = \"multiline\";\n var5_3 = 1;\n ** GOTO lbl-1000\n }\n var6_4 = \"input\";\n var5_3 = 3;\n ** GOTO lbl-1000\n }\n var3_6 = var1_1.charAt(1);\n if (var3_6 == '&') break block37;\n if (var3_6 == '\\'') break block38;\n if (var3_6 == '*') break block39;\n if (var3_6 == '+') break block40;\n if (var3_6 == '_') break block41;\n if (var3_6 == '`') break block42;\n switch (var3_6) {\n default: {\n var5_3 = 0;\n var6_4 = null;\n ** GOTO lbl-1000\n }\n case '9': {\n var21_7 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var21_7 == '$') {\n var5_3 = 21;\n ** break;\n }\n ** GOTO lbl-1000\n }\n case '8': {\n var20_8 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var20_8 == '$') {\n var5_3 = 20;\n ** break;\n }\n ** GOTO lbl-1000\n }\n case '7': {\n var19_9 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var19_9 == '$') {\n var5_3 = 19;\n ** break;\n }\n ** GOTO lbl-1000\n }\n case '6': {\n var18_10 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var18_10 == '$') {\n var5_3 = 18;\n ** break;\n }\n ** GOTO lbl-1000\n }\n case '5': {\n var17_11 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var17_11 == '$') {\n var5_3 = 17;\n ** break;\n }\n ** GOTO lbl-1000\n }\n case '4': {\n var16_12 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var16_12 == '$') {\n var5_3 = 16;\n ** break;\n }\n ** GOTO lbl-1000\n }\n case '3': {\n var15_13 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var15_13 == '$') {\n var5_3 = 15;\n ** break;\n }\n ** GOTO lbl-1000\n }\n case '2': {\n var14_14 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var14_14 == '$') {\n var5_3 = 14;\n ** break;\n }\n ** GOTO lbl-1000\n }\n case '1': {\n var13_15 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var13_15 == '$') {\n var5_3 = 13;\n ** break;\n }\n ** GOTO lbl-1000\nlbl123: // 9 sources:\n break;\n }\n }\n break block43;\n }\n var12_16 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var12_16 != '$') ** GOTO lbl-1000\n var5_3 = 10;\n break block43;\n }\n var11_17 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var11_17 != '$') ** GOTO lbl-1000\n var5_3 = 4;\n break block43;\n }\n var10_18 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var10_18 != '$') ** GOTO lbl-1000\n var5_3 = 8;\n break block43;\n }\n var9_19 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var9_19 != '$') ** GOTO lbl-1000\n var5_3 = 2;\n break block43;\n }\n var8_20 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var8_20 != '$') ** GOTO lbl-1000\n var5_3 = 12;\n break block43;\n }\n var4_21 = var1_1.charAt(0);\n var5_3 = 0;\n var6_4 = null;\n if (var4_21 == '$') {\n var5_3 = 6;\n } else if (var6_4 != null && var6_4 != var1_1 && !var6_4.equals((Object)var1_1)) {\n var5_3 = 0;\n }\n }\n if (var5_3 == 0) {\n return super.findInstanceIdInfo(var1_1);\n }\n if (var5_3 == 1) {\n var7_22 = this.multilineAttr;\n return NativeRegExpCtor.instanceIdInfo(var7_22, var5_3 + super.getMaxInstanceId());\n }\n if (var5_3 == 2) {\n var7_22 = this.starAttr;\n return NativeRegExpCtor.instanceIdInfo(var7_22, var5_3 + super.getMaxInstanceId());\n }\n if (var5_3 == 3) {\n var7_22 = this.inputAttr;\n return NativeRegExpCtor.instanceIdInfo(var7_22, var5_3 + super.getMaxInstanceId());\n }\n if (var5_3 != 4) {\n var7_22 = 5;\n return NativeRegExpCtor.instanceIdInfo(var7_22, var5_3 + super.getMaxInstanceId());\n }\n var7_22 = this.underscoreAttr;\n return NativeRegExpCtor.instanceIdInfo(var7_22, var5_3 + super.getMaxInstanceId());\n }\n\n @Override\n public int getArity() {\n return 2;\n }\n\n @Override\n public String getFunctionName() {\n return \"RegExp\";\n }\n\n @Override\n protected String getInstanceIdName(int n) {\n int n2 = n - super.getMaxInstanceId();\n if (1 <= n2 && n2 <= 21) {\n switch (n2) {\n default: {\n int n3 = n2 - 12 - 1;\n char[] arrc = new char[]{'$', (char)(n3 + 49)};\n return new String(arrc);\n }\n case 12: {\n return \"$'\";\n }\n case 11: {\n return \"rightContext\";\n }\n case 10: {\n return \"$`\";\n }\n case 9: {\n return \"leftContext\";\n }\n case 8: {\n return \"$+\";\n }\n case 7: {\n return \"lastParen\";\n }\n case 6: {\n return \"$&\";\n }\n case 5: {\n return \"lastMatch\";\n }\n case 4: {\n return \"$_\";\n }\n case 3: {\n return \"input\";\n }\n case 2: {\n return \"$*\";\n }\n case 1: \n }\n return \"multiline\";\n }\n return super.getInstanceIdName(n);\n }\n\n @Override\n protected Object getInstanceIdValue(int n) {\n int n2 = n - super.getMaxInstanceId();\n if (1 <= n2 && n2 <= 21) {\n Object object;\n RegExpImpl regExpImpl = NativeRegExpCtor.getImpl();\n switch (n2) {\n default: {\n object = regExpImpl.getParenSubString(n2 - 12 - 1);\n break;\n }\n case 11: \n case 12: {\n object = regExpImpl.rightContext;\n break;\n }\n case 9: \n case 10: {\n object = regExpImpl.leftContext;\n break;\n }\n case 7: \n case 8: {\n object = regExpImpl.lastParen;\n break;\n }\n case 5: \n case 6: {\n object = regExpImpl.lastMatch;\n break;\n }\n case 3: \n case 4: {\n object = regExpImpl.input;\n break;\n }\n case 1: \n case 2: {\n return ScriptRuntime.wrapBoolean(regExpImpl.multiline);\n }\n }\n if (object == null) {\n return \"\";\n }\n return object.toString();\n }\n return super.getInstanceIdValue(n);\n }\n\n @Override\n public int getLength() {\n return 2;\n }\n\n @Override\n protected int getMaxInstanceId() {\n return 21 + super.getMaxInstanceId();\n }\n\n @Override\n protected void setInstanceIdAttributes(int n, int n2) {\n int n3 = n - super.getMaxInstanceId();\n switch (n3) {\n default: {\n int n4 = -1 + (n3 - 12);\n if (n4 < 0 || n4 > 8) break;\n return;\n }\n case 5: \n case 6: \n case 7: \n case 8: \n case 9: \n case 10: \n case 11: \n case 12: {\n return;\n }\n case 4: {\n this.underscoreAttr = n2;\n return;\n }\n case 3: {\n this.inputAttr = n2;\n return;\n }\n case 2: {\n this.starAttr = n2;\n return;\n }\n case 1: {\n this.multilineAttr = n2;\n return;\n }\n }\n super.setInstanceIdAttributes(n, n2);\n }\n\n @Override\n protected void setInstanceIdValue(int n, Object object) {\n int n2 = n - super.getMaxInstanceId();\n switch (n2) {\n default: {\n int n3 = -1 + (n2 - 12);\n if (n3 < 0 || n3 > 8) break;\n return;\n }\n case 5: \n case 6: \n case 7: \n case 8: \n case 9: \n case 10: \n case 11: \n case 12: {\n return;\n }\n case 3: \n case 4: {\n NativeRegExpCtor.getImpl().input = ScriptRuntime.toString(object);\n return;\n }\n case 1: \n case 2: {\n NativeRegExpCtor.getImpl().multiline = ScriptRuntime.toBoolean(object);\n return;\n }\n }\n super.setInstanceIdValue(n, object);\n }\n}", "title": "" }, { "docid": "b25ed6dabf4171e0c4552a8995f09ec1", "score": "0.56243104", "text": "public final V m9841a(K r5) {\n /*\n r4 = this;\n if (r5 != 0) goto L_0x000a;\n L_0x0002:\n r0 = new java.lang.NullPointerException;\n r1 = \"key == null\";\n r0.<init>(r1);\n throw r0;\n L_0x000a:\n monitor-enter(r4);\n r0 = r4.f5709a;\t Catch:{ all -> 0x0032 }\n r0 = r0.get(r5);\t Catch:{ all -> 0x0032 }\n if (r0 == 0) goto L_0x001f;\n L_0x0013:\n r1 = r4.f5715g;\t Catch:{ all -> 0x0032 }\n r1 = r1 + 1;\n r4.f5715g = r1;\t Catch:{ all -> 0x0032 }\n r1 = 1;\n r4.m9836c(r1);\t Catch:{ all -> 0x0032 }\n monitor-exit(r4);\t Catch:{ all -> 0x0032 }\n L_0x001e:\n return r0;\n L_0x001f:\n r0 = r4.f5716h;\t Catch:{ all -> 0x0032 }\n r0 = r0 + 1;\n r4.f5716h = r0;\t Catch:{ all -> 0x0032 }\n r0 = 1;\n r4.m9838d(r0);\t Catch:{ all -> 0x0032 }\n monitor-exit(r4);\t Catch:{ all -> 0x0032 }\n r1 = m9837d();\n if (r1 != 0) goto L_0x0035;\n L_0x0030:\n r0 = 0;\n goto L_0x001e;\n L_0x0032:\n r0 = move-exception;\n monitor-exit(r4);\t Catch:{ }\n throw r0;\n L_0x0035:\n monitor-enter(r4);\n r0 = r4.f5713e;\t Catch:{ all -> 0x0060 }\n r0 = r0 + 1;\n r4.f5713e = r0;\t Catch:{ all -> 0x0060 }\n r0 = r4.f5709a;\t Catch:{ all -> 0x0060 }\n r0 = r0.put(r5, r1);\t Catch:{ all -> 0x0060 }\n if (r0 == 0) goto L_0x0051;\n L_0x0044:\n r2 = r4.f5709a;\t Catch:{ all -> 0x0060 }\n r2.put(r5, r0);\t Catch:{ all -> 0x0060 }\n L_0x0049:\n monitor-exit(r4);\t Catch:{ all -> 0x0060 }\n if (r0 == 0) goto L_0x0063;\n L_0x004c:\n r2 = 0;\n r4.mo1393a(r2, r5, r1, r0);\n goto L_0x001e;\n L_0x0051:\n r2 = r4.f5710b;\t Catch:{ }\n r3 = r4.m9835c(r5, r1);\t Catch:{ }\n r2 = r2 + r3;\n r4.f5710b = r2;\t Catch:{ }\n r2 = r4.f5710b;\t Catch:{ }\n r4.m9840f(r2);\t Catch:{ }\n goto L_0x0049;\n L_0x0060:\n r0 = move-exception;\n monitor-exit(r4);\t Catch:{ }\n throw r0;\n L_0x0063:\n r0 = r4.f5711c;\n r4.m9832a(r0);\n r0 = r1;\n goto L_0x001e;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.cache.TrackedLruCache.a(java.lang.Object):V\");\n }", "title": "" }, { "docid": "14d79ac22220805cc4ecbd4f4ba628fc", "score": "0.5608202", "text": "public final com.facebook.graphql.visitor.GraphQLVisitableModel m26321a(com.facebook.graphql.visitor.GraphQLModelMutatingVisitor r3) {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: SSA rename variables already executed\n\tat jadx.core.dex.visitors.ssa.SSATransform.renameVariables(SSATransform.java:120)\n\tat jadx.core.dex.visitors.ssa.SSATransform.process(SSATransform.java:52)\n\tat jadx.core.dex.visitors.ssa.SSATransform.visit(SSATransform.java:42)\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:37)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:59)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:42)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler$1.run(JadxDecompiler.java:199)\n*/\n /*\n r2 = this;\n r0 = null;\n r2.h();\n r1 = r2.m26322a();\n if (r1 == null) goto L_0x0020;\n L_0x000a:\n r1 = r2.m26322a();\n r1 = com.facebook.graphql.modelutil.ModelHelper.a(r1, r3);\n if (r1 == null) goto L_0x0020;\n L_0x0014:\n r0 = com.facebook.graphql.modelutil.ModelHelper.a(r0, r2);\n r0 = (com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.SouvenirMediaModel) r0;\n r1 = r1.b();\n r0.f24155d = r1;\n L_0x0020:\n r2.i();\n if (r0 != null) goto L_0x0026;\n L_0x0025:\n return r2;\n L_0x0026:\n r2 = r0;\n goto L_0x0025;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.friendsharing.souvenirs.protocols.FetchSouvenirsModels.SouvenirsMediaElementFieldsModel.SouvenirMediaModel.a(com.facebook.graphql.visitor.GraphQLModelMutatingVisitor):com.facebook.graphql.visitor.GraphQLVisitableModel\");\n }", "title": "" }, { "docid": "568e98a0a59eeba75049c5b8891620c0", "score": "0.5607545", "text": "public void method_3659(class_22 var1) {\r\n String[] var2 = class_752.method_4253();\r\n class_22 var10000 = var1;\r\n if(var2 != null) {\r\n if(var1 != this.field_2924) {\r\n return;\r\n }\r\n\r\n var10000 = var1;\r\n }\r\n\r\n int var4;\r\n byte var8;\r\n label169: {\r\n label178: {\r\n add var3 = var10000.method_84(0);\r\n add var7 = var3;\r\n if(var2 != null) {\r\n if(var3 == null) {\r\n break label178;\r\n }\r\n\r\n var7 = var3;\r\n }\r\n\r\n var8 = var7.method_3777();\r\n if(var2 == null) {\r\n break label169;\r\n }\r\n\r\n if(var8 != 0) {\r\n this.field_2930 = this.field_2929.nextLong();\r\n var8 = this.field_2925.field_1832;\r\n if(var2 != null) {\r\n if(this.field_2925.field_1832) {\r\n return;\r\n }\r\n\r\n var8 = 0;\r\n }\r\n\r\n var4 = var8;\r\n int var5 = -1;\r\n\r\n byte var11;\r\n label150:\r\n while(true) {\r\n int var10 = var5;\r\n\r\n label147:\r\n while(var10 <= 1) {\r\n var11 = -1;\r\n if(var2 == null) {\r\n break label150;\r\n }\r\n\r\n int var6 = -1;\r\n\r\n while(var6 <= 1) {\r\n var10 = var5;\r\n if(var2 == null) {\r\n continue label147;\r\n }\r\n\r\n label183: {\r\n if(var2 != null) {\r\n label139: {\r\n if(var5 == 0) {\r\n var10 = var6;\r\n if(var2 == null) {\r\n break label139;\r\n }\r\n\r\n if(var6 == 0) {\r\n break label183;\r\n }\r\n }\r\n\r\n var10 = this.field_2925.method_34(this.field_2926 + var6, this.field_2927, this.field_2928 + var5);\r\n }\r\n }\r\n\r\n ahb var12;\r\n int var10001;\r\n int var10002;\r\n int var10003;\r\n label184: {\r\n if(var2 != null) {\r\n if(var10 == 0) {\r\n break label183;\r\n }\r\n\r\n var12 = this.field_2925;\r\n var10001 = this.field_2926 + var6;\r\n var10002 = this.field_2927 + 1;\r\n var10003 = this.field_2928 + var5;\r\n if(var2 == null) {\r\n break label184;\r\n }\r\n\r\n var10 = this.field_2925.method_34(var10001, var10002, var10003);\r\n }\r\n\r\n if(var10 == 0) {\r\n break label183;\r\n }\r\n\r\n var12 = this.field_2925;\r\n var10001 = this.field_2926 + var6 * 2;\r\n var10002 = this.field_2927;\r\n var10003 = this.field_2928 + var5 * 2;\r\n }\r\n\r\n aji var13 = var12.getBlock(var10001, var10002, var10003);\r\n aji var9 = class_1192.field_6074;\r\n if(var2 != null) {\r\n if(var13 == class_1192.field_6074) {\r\n ++var4;\r\n }\r\n\r\n var13 = this.field_2925.getBlock(this.field_2926 + var6 * 2, this.field_2927 + 1, this.field_2928 + var5 * 2);\r\n var9 = class_1192.field_6074;\r\n }\r\n\r\n if(var13 == var9) {\r\n ++var4;\r\n }\r\n\r\n var10 = var6;\r\n if(var2 != null) {\r\n if(var6 == 0) {\r\n break label183;\r\n }\r\n\r\n var10 = var5;\r\n }\r\n\r\n if(var10 != 0) {\r\n var13 = this.field_2925.getBlock(this.field_2926 + var6 * 2, this.field_2927, this.field_2928 + var5);\r\n var9 = class_1192.field_6074;\r\n if(var2 != null) {\r\n if(var13 == class_1192.field_6074) {\r\n ++var4;\r\n }\r\n\r\n var13 = this.field_2925.getBlock(this.field_2926 + var6 * 2, this.field_2927 + 1, this.field_2928 + var5);\r\n var9 = class_1192.field_6074;\r\n }\r\n\r\n if(var2 != null) {\r\n if(var13 == var9) {\r\n ++var4;\r\n }\r\n\r\n var13 = this.field_2925.getBlock(this.field_2926 + var6, this.field_2927, this.field_2928 + var5 * 2);\r\n var9 = class_1192.field_6074;\r\n }\r\n\r\n if(var2 != null) {\r\n if(var13 == var9) {\r\n ++var4;\r\n }\r\n\r\n var13 = this.field_2925.getBlock(this.field_2926 + var6, this.field_2927 + 1, this.field_2928 + var5 * 2);\r\n var9 = class_1192.field_6074;\r\n }\r\n\r\n if(var13 == var9) {\r\n ++var4;\r\n }\r\n }\r\n }\r\n\r\n ++var6;\r\n if(var2 == null) {\r\n break;\r\n }\r\n }\r\n\r\n ++var5;\r\n if(var2 != null) {\r\n continue label150;\r\n }\r\n break;\r\n }\r\n\r\n var11 = 0;\r\n break;\r\n }\r\n\r\n var5 = var11;\r\n\r\n while(true) {\r\n if(var5 < 3) {\r\n this.field_2931[var5] = class_980.method_5662(this.field_2929, var5, var4, var3);\r\n ++var5;\r\n if(var2 == null) {\r\n break;\r\n }\r\n\r\n if(var2 != null) {\r\n continue;\r\n }\r\n }\r\n\r\n this.method_3650();\r\n break;\r\n }\r\n\r\n if(var2 != null) {\r\n return;\r\n }\r\n }\r\n }\r\n\r\n var8 = 0;\r\n }\r\n\r\n var4 = var8;\r\n\r\n while(var4 < 3) {\r\n this.field_2931[var4] = 0;\r\n ++var4;\r\n if(var2 == null) {\r\n break;\r\n }\r\n }\r\n\r\n }", "title": "" }, { "docid": "8e4e9d6a873900ae9a7f44a4ebfe3180", "score": "0.5595693", "text": "private static java.lang.Class<?> m11502c() {\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 r0 = \"com.google.protobuf.ExtensionRegistry\";\t Catch:{ ClassNotFoundException -> 0x0007 }\n r0 = java.lang.Class.forName(r0);\t Catch:{ ClassNotFoundException -> 0x0007 }\n return r0;\n L_0x0007:\n r0 = 0;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.measurement.bh.c():java.lang.Class<?>\");\n }", "title": "" }, { "docid": "99714bd95a20b8753a2e6221a0f59a22", "score": "0.5565298", "text": "private int m8989a(java.util.ArrayList<android.support.v4.app.C4777b> r9, java.util.ArrayList<java.lang.Boolean> r10, int r11, int r12, android.support.v4.p038g.C0464b<android.support.v4.app.Fragment> r13) {\n /*\n r8 = this;\n r0 = r12 + -1;\n r1 = r12;\n L_0x0003:\n if (r0 < r11) goto L_0x0073;\n L_0x0005:\n r2 = r9.get(r0);\n r2 = (android.support.v4.app.C4777b) r2;\n r3 = r10.get(r0);\n r3 = (java.lang.Boolean) r3;\n r3 = r3.booleanValue();\n r4 = 0;\n r5 = r4;\n L_0x0017:\n r6 = r2.f13240c;\n r6 = r6.size();\n r7 = 1;\n if (r5 >= r6) goto L_0x0033;\n L_0x0020:\n r6 = r2.f13240c;\n r6 = r6.get(r5);\n r6 = (android.support.v4.app.C4777b.C0381a) r6;\n r6 = android.support.v4.app.C4777b.m8945b(r6);\n if (r6 == 0) goto L_0x0030;\n L_0x002e:\n r5 = r7;\n goto L_0x0034;\n L_0x0030:\n r5 = r5 + 1;\n goto L_0x0017;\n L_0x0033:\n r5 = r4;\n L_0x0034:\n if (r5 == 0) goto L_0x003f;\n L_0x0036:\n r5 = r0 + 1;\n r5 = r2.m8959a(r9, r5, r12);\n if (r5 != 0) goto L_0x003f;\n L_0x003e:\n goto L_0x0040;\n L_0x003f:\n r7 = r4;\n L_0x0040:\n if (r7 == 0) goto L_0x0070;\n L_0x0042:\n r5 = r8.f13287B;\n if (r5 != 0) goto L_0x004d;\n L_0x0046:\n r5 = new java.util.ArrayList;\n r5.<init>();\n r8.f13287B = r5;\n L_0x004d:\n r5 = new android.support.v4.app.l$h;\n r5.<init>(r2, r3);\n r6 = r8.f13287B;\n r6.add(r5);\n r2.m8954a(r5);\n if (r3 == 0) goto L_0x0060;\n L_0x005c:\n r2.m8970f();\n goto L_0x0063;\n L_0x0060:\n r2.m8958a(r4);\n L_0x0063:\n r1 = r1 + -1;\n if (r0 == r1) goto L_0x006d;\n L_0x0067:\n r9.remove(r0);\n r9.add(r1, r2);\n L_0x006d:\n r8.m9009b(r13);\n L_0x0070:\n r0 = r0 + -1;\n goto L_0x0003;\n L_0x0073:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.app.l.a(java.util.ArrayList, java.util.ArrayList, int, int, android.support.v4.g.b):int\");\n }", "title": "" }, { "docid": "76c98aee8355277cff87dc71840ec94f", "score": "0.5538565", "text": "@Override // kotlinx.coroutines.flow.Flow\n @org.jetbrains.annotations.Nullable\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public java.lang.Object collect(@org.jetbrains.annotations.NotNull kotlinx.coroutines.flow.FlowCollector r12, @org.jetbrains.annotations.NotNull kotlin.coroutines.Continuation r13) {\n /*\n r11 = this;\n boolean r0 = r13 instanceof kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$6.AnonymousClass1\n if (r0 == 0) goto L_0x0013\n r0 = r13\n kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$6$1 r0 = (kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$6.AnonymousClass1) r0\n int r1 = r0.b\n r2 = -2147483648(0xffffffff80000000, float:-0.0)\n r3 = r1 & r2\n if (r3 == 0) goto L_0x0013\n int r1 = r1 - r2\n r0.b = r1\n goto L_0x0018\n L_0x0013:\n kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$6$1 r0 = new kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$6$1\n r0.<init>(r11, r13)\n L_0x0018:\n java.lang.Object r13 = r0.a\n java.lang.Object r1 = t6.p.a.a.getCOROUTINE_SUSPENDED()\n int r2 = r0.b\n r3 = 1\n if (r2 == 0) goto L_0x0056\n if (r2 != r3) goto L_0x004e\n int r12 = r0.m\n int r2 = r0.l\n java.lang.Object r4 = r0.i\n java.lang.Object[] r4 = (java.lang.Object[]) r4\n java.lang.Object r5 = r0.h\n java.lang.Object[] r5 = (java.lang.Object[]) r5\n java.lang.Object r6 = r0.g\n kotlinx.coroutines.flow.FlowCollector r6 = (kotlinx.coroutines.flow.FlowCollector) r6\n java.lang.Object r7 = r0.f\n kotlin.coroutines.Continuation r7 = (kotlin.coroutines.Continuation) r7\n java.lang.Object r8 = r0.e\n kotlinx.coroutines.flow.FlowCollector r8 = (kotlinx.coroutines.flow.FlowCollector) r8\n java.lang.Object r9 = r0.d\n kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$6 r9 = (kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$6) r9\n kotlin.ResultKt.throwOnFailure(r13)\n r13 = r6\n r6 = r4\n r4 = r1\n r1 = r0\n r0 = r8\n r10 = r5\n r5 = r2\n r2 = r7\n r7 = r10\n goto L_0x0088\n L_0x004e:\n java.lang.IllegalStateException r12 = new java.lang.IllegalStateException\n java.lang.String r13 = \"call to 'resume' before 'invoke' with coroutine\"\n r12.<init>(r13)\n throw r12\n L_0x0056:\n kotlin.ResultKt.throwOnFailure(r13)\n java.lang.Object[] r13 = r11.a\n int r2 = r13.length\n r4 = 0\n r9 = r11\n r6 = r13\n r7 = r6\n r4 = r1\n r5 = r2\n r13 = r12\n r1 = r0\n r2 = r1\n r0 = r13\n r12 = 0\n L_0x0067:\n if (r12 >= r5) goto L_0x008a\n r8 = r6[r12]\n r1.d = r9\n r1.e = r0\n r1.f = r2\n r1.g = r13\n r1.h = r7\n r1.i = r6\n r1.l = r5\n r1.m = r12\n r1.j = r8\n r1.k = r8\n r1.b = r3\n java.lang.Object r8 = r13.emit(r8, r1)\n if (r8 != r4) goto L_0x0088\n return r4\n L_0x0088:\n int r12 = r12 + r3\n goto L_0x0067\n L_0x008a:\n kotlin.Unit r12 = kotlin.Unit.INSTANCE\n return r12\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlinx.coroutines.flow.FlowKt__BuildersKt$asFlow$$inlined$unsafeFlow$6.collect(kotlinx.coroutines.flow.FlowCollector, kotlin.coroutines.Continuation):java.lang.Object\");\n }", "title": "" }, { "docid": "aa0bc6817b6cf1936121364e81ba1fd4", "score": "0.5536898", "text": "private AstNode m6254n() {\n /*\n r4 = this;\n org.mozilla.javascript.ef r0 = r4.f6443q\n int r2 = r0.f6660o\n org.mozilla.javascript.b.e r0 = r4.m6255o() // Catch:{ cv -> 0x0049 }\n if (r0 == 0) goto L_0x0033\n org.mozilla.javascript.i r1 = r4.f6427a // Catch:{ cv -> 0x0049 }\n boolean r1 = r1.f6746i // Catch:{ cv -> 0x0049 }\n if (r1 == 0) goto L_0x002f\n boolean r1 = r0.mo18724k() // Catch:{ cv -> 0x0049 }\n if (r1 != 0) goto L_0x002f\n int r1 = r0.mo18798q() // Catch:{ cv -> 0x0049 }\n int r3 = r4.m6238d(r1) // Catch:{ cv -> 0x0049 }\n java.lang.Math.max(r1, r3) // Catch:{ cv -> 0x0049 }\n boolean r1 = r0 instanceof org.mozilla.javascript.p110b.EmptyStatement // Catch:{ cv -> 0x0049 }\n if (r1 == 0) goto L_0x0030\n java.lang.String r1 = \"msg.extra.trailing.semi\"\n L_0x0027:\n java.lang.String r3 = \"\"\n m6245f(r0) // Catch:{ cv -> 0x0049 }\n r4.m6236c(r1, r3) // Catch:{ cv -> 0x0049 }\n L_0x002f:\n return r0\n L_0x0030:\n java.lang.String r1 = \"msg.no.side.effects\"\n goto L_0x0027\n L_0x0033:\n int r0 = r4.m6244f()\n r1 = 0\n r4.f6444r = r1\n switch(r0) {\n case -1: goto L_0x003e;\n case 0: goto L_0x003e;\n case 1: goto L_0x003e;\n case 82: goto L_0x003e;\n default: goto L_0x003d;\n }\n L_0x003d:\n goto L_0x0033\n L_0x003e:\n org.mozilla.javascript.b.r r0 = new org.mozilla.javascript.b.r\n org.mozilla.javascript.ef r1 = r4.f6443q\n int r1 = r1.f6660o\n int r1 = r1 - r2\n r0.<init>(r2, r1)\n goto L_0x002f\n L_0x0049:\n r0 = move-exception\n goto L_0x0033\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.mozilla.javascript.Parser.m6254n():org.mozilla.javascript.b.e\");\n }", "title": "" }, { "docid": "f9eb25d10154d1f62153786ebca78f1b", "score": "0.5536236", "text": "static com.google.android.gms.internal.measurement.zzuz m11501b() {\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 r0 = f10044a;\n if (r0 == 0) goto L_0x000b;\n L_0x0004:\n r0 = \"loadGeneratedRegistry\";\t Catch:{ Exception -> 0x000b }\n r0 = m11500a(r0);\t Catch:{ Exception -> 0x000b }\n goto L_0x000c;\n L_0x000b:\n r0 = 0;\n L_0x000c:\n if (r0 != 0) goto L_0x0012;\n L_0x000e:\n r0 = com.google.android.gms.internal.measurement.zzuz.m12054c();\n L_0x0012:\n if (r0 != 0) goto L_0x0018;\n L_0x0014:\n r0 = m11499a();\n L_0x0018:\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.measurement.bh.b():com.google.android.gms.internal.measurement.zzuz\");\n }", "title": "" }, { "docid": "7967b9008f4d1e18a4e5f88f087bf7c9", "score": "0.5514245", "text": "public static java.lang.String m6004c(android.content.Context r2) {\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 r0 = r2.getPackageManager();\t Catch:{ Exception -> 0x0010 }\n r2 = r2.getPackageName();\t Catch:{ Exception -> 0x0010 }\n r1 = 0;\t Catch:{ Exception -> 0x0010 }\n r2 = r0.getPackageInfo(r2, r1);\t Catch:{ Exception -> 0x0010 }\n r2 = r2.versionName;\t Catch:{ Exception -> 0x0010 }\n goto L_0x0011;\n L_0x0010:\n r2 = 0;\n L_0x0011:\n return r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.cuvora.carinfo.helpers.t.c(android.content.Context):java.lang.String\");\n }", "title": "" }, { "docid": "7c3f83040d18bd43bd37113e58789000", "score": "0.5510948", "text": "final void m519b(final int r10, int r11) {\n /*\n r9 = this;\n r0 = r9.f1022c;\n if (r0 == 0) goto L_0x0011;\n L_0x0004:\n r0 = r9.f1022c;\n r0 = r0.isRunning();\n if (r0 == 0) goto L_0x0011;\n L_0x000c:\n r0 = r9.f1022c;\n r0.cancel();\n L_0x0011:\n r0 = android.support.v4.view.C0571r.m1369h(r9);\n r1 = 1;\n if (r0 != r1) goto L_0x001a;\n L_0x0018:\n r0 = r1;\n goto L_0x001b;\n L_0x001a:\n r0 = 0;\n L_0x001b:\n r2 = r9.getChildAt(r10);\n if (r2 != 0) goto L_0x0025;\n L_0x0021:\n r9.m515a();\n return;\n L_0x0025:\n r6 = r2.getLeft();\n r8 = r2.getRight();\n r2 = r9.f1020a;\n r2 = r10 - r2;\n r2 = java.lang.Math.abs(r2);\n if (r2 > r1) goto L_0x003e;\n L_0x0037:\n r0 = r9.f1027h;\n r1 = r9.f1028i;\n r5 = r0;\n r7 = r1;\n goto L_0x0057;\n L_0x003e:\n r1 = r9.f1023d;\n r2 = 24;\n r1 = r1.m548b(r2);\n r2 = r9.f1020a;\n if (r10 >= r2) goto L_0x0050;\n L_0x004a:\n if (r0 != 0) goto L_0x0053;\n L_0x004c:\n r1 = r1 + r8;\n r5 = r1;\n L_0x004e:\n r7 = r5;\n goto L_0x0057;\n L_0x0050:\n if (r0 == 0) goto L_0x0053;\n L_0x0052:\n goto L_0x004c;\n L_0x0053:\n r0 = r6 - r1;\n r5 = r0;\n goto L_0x004e;\n L_0x0057:\n if (r5 != r6) goto L_0x005b;\n L_0x0059:\n if (r7 == r8) goto L_0x0089;\n L_0x005b:\n r0 = new android.animation.ValueAnimator;\n r0.<init>();\n r9.f1022c = r0;\n r1 = android.support.design.widget.C0296a.f1124b;\n r0.setInterpolator(r1);\n r1 = (long) r11;\n r0.setDuration(r1);\n r11 = 2;\n r11 = new float[r11];\n r11 = {0, 1065353216};\n r0.setFloatValues(r11);\n r11 = new android.support.design.widget.TabLayout$d$1;\n r3 = r11;\n r4 = r9;\n r3.<init>(r4, r5, r6, r7, r8);\n r0.addUpdateListener(r11);\n r11 = new android.support.design.widget.TabLayout$d$2;\n r11.<init>(r9, r10);\n r0.addListener(r11);\n r0.start();\n L_0x0089:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.design.widget.TabLayout.d.b(int, int):void\");\n }", "title": "" }, { "docid": "2c2f22bb6eb06a52275bbdbb31b3220b", "score": "0.550822", "text": "public static void m6035t(final android.content.Context r6) {\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 r0 = r6.getPackageName();\n r1 = 268435456; // 0x10000000 float:2.5243549E-29 double:1.32624737E-315;\n r2 = new android.content.Intent;\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r3 = \"android.intent.action.VIEW\";\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r4 = new java.lang.StringBuilder;\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r4.<init>();\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r5 = \"market://details?id=\";\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r4.append(r5);\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r4.append(r0);\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r4 = r4.toString();\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r4 = android.net.Uri.parse(r4);\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r2.<init>(r3, r4);\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r2.addFlags(r1);\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r6.startActivity(r2);\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r2 = new android.os.Handler;\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r2.<init>();\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r3 = new com.cuvora.carinfo.helpers.t$3;\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r3.<init>(r6);\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r4 = 1000; // 0x3e8 float:1.401E-42 double:4.94E-321;\t Catch:{ ActivityNotFoundException -> 0x0038 }\n r2.postDelayed(r3, r4);\t Catch:{ ActivityNotFoundException -> 0x0038 }\n goto L_0x005a;\n L_0x0038:\n r2 = new android.content.Intent;\n r3 = \"android.intent.action.VIEW\";\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"https://play.google.com/store/apps/details?id=\";\n r4.append(r5);\n r4.append(r0);\n r0 = r4.toString();\n r0 = android.net.Uri.parse(r0);\n r2.<init>(r3, r0);\n r2.addFlags(r1);\n r6.startActivity(r2);\n L_0x005a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.cuvora.carinfo.helpers.t.t(android.content.Context):void\");\n }", "title": "" }, { "docid": "a9cedf49f3526cfebd388b065f57c58e", "score": "0.5504167", "text": "public static void t()\r\n/* 336: */ {\r\n/* 337:399 */ a(BlockList.stone, new amr(BlockList.stone, BlockList.stone, new alr()).b(\"stone\"));\r\n/* 338: */ \r\n/* 339: */ \r\n/* 340: */ \r\n/* 341: */ \r\n/* 342: */ \r\n/* 343: */ \r\n/* 344:406 */ a(BlockList.grass, new ann(BlockList.grass, false));\r\n/* 345:407 */ a(BlockList.dirt, new amr(BlockList.dirt, BlockList.dirt, new ama()).b(\"dirt\"));\r\n/* 346: */ \r\n/* 347: */ \r\n/* 348: */ \r\n/* 349: */ \r\n/* 350: */ \r\n/* 351: */ \r\n/* 352:414 */ c(BlockList.cobblestone);\r\n/* 353:415 */ a(BlockList.planks, new amr(BlockList.planks, BlockList.planks, new amb()).b(\"wood\"));\r\n/* 354: */ \r\n/* 355: */ \r\n/* 356: */ \r\n/* 357: */ \r\n/* 358: */ \r\n/* 359: */ \r\n/* 360:422 */ a(BlockList.sapling, new amr(BlockList.sapling, BlockList.sapling, new amc()).b(\"sapling\"));\r\n/* 361: */ \r\n/* 362: */ \r\n/* 363: */ \r\n/* 364: */ \r\n/* 365: */ \r\n/* 366: */ \r\n/* 367:429 */ c(BlockList.bedrock);\r\n/* 368:430 */ a(BlockList.sand, new amr(BlockList.sand, BlockList.sand, new amd()).b(\"sand\"));\r\n/* 369: */ \r\n/* 370: */ \r\n/* 371: */ \r\n/* 372: */ \r\n/* 373: */ \r\n/* 374: */ \r\n/* 375:437 */ c(BlockList.gravel);\r\n/* 376:438 */ c(BlockList.goldOre);\r\n/* 377:439 */ c(BlockList.ironOre);\r\n/* 378:440 */ c(BlockList.coalOre);\r\n/* 379:441 */ a(BlockList.log, new amr(BlockList.log, BlockList.log, new ame()).b(\"log\"));\r\n/* 380: */ \r\n/* 381: */ \r\n/* 382: */ \r\n/* 383: */ \r\n/* 384: */ \r\n/* 385: */ \r\n/* 386:448 */ a(BlockList.log2, new amr(BlockList.log2, BlockList.log2, new amf()).b(\"log\"));\r\n/* 387: */ \r\n/* 388: */ \r\n/* 389: */ \r\n/* 390: */ \r\n/* 391: */ \r\n/* 392: */ \r\n/* 393:455 */ a(BlockList.leaves, new amm(BlockList.leaves).b(\"leaves\"));\r\n/* 394:456 */ a(BlockList.leaves2, new amm(BlockList.leaves2).b(\"leaves\"));\r\n/* 395:457 */ a(BlockList.v, new amr(BlockList.v, BlockList.v, new amg()).b(\"sponge\"));\r\n/* 396: */ \r\n/* 397: */ \r\n/* 398: */ \r\n/* 399: */ \r\n/* 400: */ \r\n/* 401: */ \r\n/* 402:464 */ c(BlockList.glass);\r\n/* 403:465 */ c(BlockList.lapisOre);\r\n/* 404:466 */ c(BlockList.y);\r\n/* 405:467 */ c(BlockList.z);\r\n/* 406:468 */ a(BlockList.A, new amr(BlockList.A, BlockList.A, new amh()).b(\"sandStone\"));\r\n/* 407: */ \r\n/* 408: */ \r\n/* 409: */ \r\n/* 410: */ \r\n/* 411: */ \r\n/* 412: */ \r\n/* 413:475 */ c(BlockList.B);\r\n/* 414:476 */ c(BlockList.D);\r\n/* 415:477 */ c(BlockList.detector_rail);\r\n/* 416:478 */ a(BlockList.F, new amv(BlockList.F));\r\n/* 417:479 */ c(BlockList.web);\r\n/* 418:480 */ a(BlockList.tallgrass, new ann(BlockList.tallgrass, true).a(new String[] { \"shrub\", \"grass\", \"fern\" }));\r\n/* 419:481 */ c(BlockList.deadbush);\r\n/* 420:482 */ a(BlockList.J, new amv(BlockList.J));\r\n/* 421:483 */ a(BlockList.wool, new akx(BlockList.wool).b(\"cloth\"));\r\n/* 422:484 */ a(BlockList.yellowFlower, new amr(BlockList.yellowFlower, BlockList.yellowFlower, new als()).b(\"flower\"));\r\n/* 423: */ \r\n/* 424: */ \r\n/* 425: */ \r\n/* 426: */ \r\n/* 427: */ \r\n/* 428: */ \r\n/* 429:491 */ a(BlockList.redFlower, new amr(BlockList.redFlower, BlockList.redFlower, new alt()).b(\"rose\"));\r\n/* 430: */ \r\n/* 431: */ \r\n/* 432: */ \r\n/* 433: */ \r\n/* 434: */ \r\n/* 435: */ \r\n/* 436:498 */ c(BlockList.brownMushroom);\r\n/* 437:499 */ c(BlockList.redMushroom);\r\n/* 438:500 */ c(BlockList.R);\r\n/* 439:501 */ c(BlockList.S);\r\n/* 440:502 */ a(BlockList.U, new ani(BlockList.U, BlockList.U, BlockList.T).b(\"stoneSlab\"));\r\n/* 441:503 */ c(BlockList.V);\r\n/* 442:504 */ c(BlockList.W);\r\n/* 443:505 */ c(BlockList.bookshelf);\r\n/* 444:506 */ c(BlockList.mossyCobblestone);\r\n/* 445:507 */ c(BlockList.obsidian);\r\n/* 446:508 */ c(BlockList.torch);\r\n/* 447:509 */ c(BlockList.mobSpawner);\r\n/* 448:510 */ c(BlockList.ad);\r\n/* 449:511 */ c(BlockList.chest);\r\n/* 450:512 */ c(BlockList.diamondOre);\r\n/* 451:513 */ c(BlockList.diamondBlock);\r\n/* 452:514 */ c(BlockList.ai);\r\n/* 453:515 */ c(BlockList.ak);\r\n/* 454:516 */ c(BlockList.al);\r\n/* 455:517 */ c(BlockList.am);\r\n/* 456:518 */ c(BlockList.au);\r\n/* 457:519 */ c(BlockList.av);\r\n/* 458:520 */ c(BlockList.aw);\r\n/* 459:521 */ c(BlockList.ay);\r\n/* 460:522 */ c(BlockList.az);\r\n/* 461:523 */ c(BlockList.aB);\r\n/* 462:524 */ c(BlockList.redstoneOre);\r\n/* 463:525 */ c(BlockList.aF);\r\n/* 464:526 */ c(BlockList.stoneButton);\r\n/* 465:527 */ a(BlockList.aH, new anj(BlockList.aH));\r\n/* 466:528 */ c(BlockList.aI);\r\n/* 467:529 */ c(BlockList.aJ);\r\n/* 468:530 */ c(BlockList.cactus);\r\n/* 469:531 */ c(BlockList.aL);\r\n/* 470:532 */ c(BlockList.aN);\r\n/* 471:533 */ c(BlockList.fence);\r\n/* 472:534 */ c(BlockList.aP);\r\n/* 473:535 */ c(BlockList.aQ);\r\n/* 474:536 */ c(BlockList.aR);\r\n/* 475:537 */ c(BlockList.darkOakFence);\r\n/* 476:538 */ c(BlockList.aT);\r\n/* 477:539 */ c(BlockList.pumpkin);\r\n/* 478:540 */ c(BlockList.netherrack);\r\n/* 479:541 */ c(BlockList.soulSand);\r\n/* 480:542 */ c(BlockList.glowstone);\r\n/* 481:543 */ c(BlockList.aZ);\r\n/* 482:544 */ c(BlockList.bd);\r\n/* 483:545 */ a(BlockList.monsterEgg, new amr(BlockList.monsterEgg, BlockList.monsterEgg, new alu()).b(\"monsterStoneEgg\"));\r\n/* 484: */ \r\n/* 485: */ \r\n/* 486: */ \r\n/* 487: */ \r\n/* 488: */ \r\n/* 489: */ \r\n/* 490:552 */ a(BlockList.stoneBrick, new amr(BlockList.stoneBrick, BlockList.stoneBrick, new alv()).b(\"stonebricksmooth\"));\r\n/* 491: */ \r\n/* 492: */ \r\n/* 493: */ \r\n/* 494: */ \r\n/* 495: */ \r\n/* 496: */ \r\n/* 497:559 */ c(BlockList.bg);\r\n/* 498:560 */ c(BlockList.bh);\r\n/* 499:561 */ c(BlockList.ironBars);\r\n/* 500:562 */ c(BlockList.bj);\r\n/* 501:563 */ c(BlockList.melonBlock);\r\n/* 502:564 */ a(BlockList.vine, new ann(BlockList.vine, false));\r\n/* 503:565 */ c(BlockList.bo);\r\n/* 504:566 */ c(BlockList.bp);\r\n/* 505:567 */ c(BlockList.bq);\r\n/* 506:568 */ c(BlockList.br);\r\n/* 507:569 */ c(BlockList.bs);\r\n/* 508:570 */ c(BlockList.bt);\r\n/* 509:571 */ c(BlockList.bu);\r\n/* 510:572 */ c(BlockList.bv);\r\n/* 511:573 */ c(BlockList.bw);\r\n/* 512:574 */ a(BlockList.waterLily, new anp(BlockList.waterLily));\r\n/* 513:575 */ c(BlockList.netherBrick);\r\n/* 514:576 */ c(BlockList.bz);\r\n/* 515:577 */ c(BlockList.bA);\r\n/* 516:578 */ c(BlockList.bC);\r\n/* 517:579 */ c(BlockList.endPortalFrame);\r\n/* 518:580 */ c(BlockList.endStone);\r\n/* 519:581 */ c(BlockList.dragonEgg);\r\n/* 520:582 */ c(BlockList.bJ);\r\n/* 521:583 */ a(BlockList.bM, new ani(BlockList.bM, BlockList.bM, BlockList.bL).b(\"woodSlab\"));\r\n/* 522:584 */ c(BlockList.bO);\r\n/* 523:585 */ c(BlockList.bP);\r\n/* 524:586 */ c(BlockList.bQ);\r\n/* 525:587 */ c(BlockList.bR);\r\n/* 526:588 */ c(BlockList.emeraldBlock);\r\n/* 527:589 */ c(BlockList.bU);\r\n/* 528:590 */ c(BlockList.bV);\r\n/* 529:591 */ c(BlockList.bW);\r\n/* 530:592 */ c(BlockList.bX);\r\n/* 531:593 */ c(BlockList.bY);\r\n/* 532:594 */ a(BlockList.bZ, new amr(BlockList.bZ, BlockList.bZ, new alw()).b(\"cobbleWall\"));\r\n/* 533: */ \r\n/* 534: */ \r\n/* 535: */ \r\n/* 536: */ \r\n/* 537: */ \r\n/* 538: */ \r\n/* 539:601 */ c(BlockList.cd);\r\n/* 540:602 */ a(BlockList.cf, new ajm(BlockList.cf).b(\"anvil\"));\r\n/* 541:603 */ c(BlockList.cg);\r\n/* 542:604 */ c(BlockList.ch);\r\n/* 543:605 */ c(BlockList.ci);\r\n/* 544:606 */ c(BlockList.cl);\r\n/* 545:607 */ c(BlockList.cn);\r\n/* 546:608 */ c(BlockList.quartzOre);\r\n/* 547:609 */ c(BlockList.cp);\r\n/* 548:610 */ a(BlockList.cq, new amr(BlockList.cq, BlockList.cq, new String[] { \"default\", \"chiseled\", \"lines\" }).b(\"quartzBlock\"));\r\n/* 549:611 */ c(BlockList.cr);\r\n/* 550:612 */ c(BlockList.activatorRail);\r\n/* 551:613 */ c(BlockList.ct);\r\n/* 552:614 */ a(BlockList.cu, new akx(BlockList.cu).b(\"clayHardenedStained\"));\r\n/* 553:615 */ c(BlockList.barrier);\r\n/* 554:616 */ c(BlockList.cw);\r\n/* 555:617 */ c(BlockList.cx);\r\n/* 556:618 */ a(BlockList.cy, new akx(BlockList.cy).b(\"woolCarpet\"));\r\n/* 557:619 */ c(BlockList.cz);\r\n/* 558:620 */ c(BlockList.cA);\r\n/* 559:621 */ c(BlockList.cB);\r\n/* 560:622 */ c(BlockList.cC);\r\n/* 561:623 */ c(BlockList.cD);\r\n/* 562:624 */ c(BlockList.cE);\r\n/* 563:625 */ a(BlockList.cF, new aku(BlockList.cF, BlockList.cF, new alx()).b(\"doublePlant\"));\r\n/* 564: */ \r\n/* 565: */ \r\n/* 566: */ \r\n/* 567: */ \r\n/* 568: */ \r\n/* 569: */ \r\n/* 570:632 */ a(BlockList.cG, new akx(BlockList.cG).b(\"stainedGlass\"));\r\n/* 571:633 */ a(BlockList.stainedGlassPane, new akx(BlockList.stainedGlassPane).b(\"stainedGlassPane\"));\r\n/* 572:634 */ a(BlockList.cI, new amr(BlockList.cI, BlockList.cI, new aly()).b(\"prismarine\"));\r\n/* 573: */ \r\n/* 574: */ \r\n/* 575: */ \r\n/* 576: */ \r\n/* 577: */ \r\n/* 578: */ \r\n/* 579:641 */ c(BlockList.seaLantern);\r\n/* 580:642 */ a(BlockList.cM, new amr(BlockList.cM, BlockList.cM, new alz()).b(\"redSandStone\"));\r\n/* 581: */ \r\n/* 582: */ \r\n/* 583: */ \r\n/* 584: */ \r\n/* 585: */ \r\n/* 586: */ \r\n/* 587:649 */ c(BlockList.cN);\r\n/* 588:650 */ a(BlockList.cP, new ani(BlockList.cP, BlockList.cP, BlockList.cO).b(\"stoneSlab2\"));\r\n/* 589: */ \r\n/* 590: */ \r\n/* 591:653 */ a(256, \"iron_shovel\", new ItemShovel(EnumToolMaterial.IRON).setID(\"shovelIron\"));\r\n/* 592:654 */ a(257, \"iron_pickaxe\", new ItemPickaxe(EnumToolMaterial.IRON).setID(\"pickaxeIron\"));\r\n/* 593:655 */ a(258, \"iron_axe\", new ItemAxe(EnumToolMaterial.IRON).setID(\"hatchetIron\"));\r\n/* 594:656 */ a(259, \"flint_and_steel\", new alk().setID(\"flintAndSteel\"));\r\n/* 595:657 */ a(260, \"apple\", new all(4, 0.3F, false).setID(\"apple\"));\r\n/* 596:658 */ a(261, \"bow\", new ItemBow().setID(\"bow\"));\r\n/* 597:659 */ a(262, \"arrow\", new Item().setID(\"arrow\").setTabToDisplayOn(CreativeTabs.tabCombat));\r\n/* 598:660 */ a(263, \"coal\", new akd().setID(\"coal\"));\r\n/* 599:661 */ a(264, \"diamond\", new Item().setID(\"diamond\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 600:662 */ a(265, \"iron_ingot\", new Item().setID(\"ingotIron\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 601:663 */ a(266, \"gold_ingot\", new Item().setID(\"ingotGold\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 602:664 */ a(267, \"iron_sword\", new ItemSword(EnumToolMaterial.IRON).setID(\"swordIron\"));\r\n/* 603:665 */ a(268, \"wooden_sword\", new ItemSword(EnumToolMaterial.WOOD).setID(\"swordWood\"));\r\n/* 604:666 */ a(269, \"wooden_shovel\", new ItemShovel(EnumToolMaterial.WOOD).setID(\"shovelWood\"));\r\n/* 605:667 */ a(270, \"wooden_pickaxe\", new ItemPickaxe(EnumToolMaterial.WOOD).setID(\"pickaxeWood\"));\r\n/* 606:668 */ a(271, \"wooden_axe\", new ItemAxe(EnumToolMaterial.WOOD).setID(\"hatchetWood\"));\r\n/* 607:669 */ a(272, \"stone_sword\", new ItemSword(EnumToolMaterial.STONE).setID(\"swordStone\"));\r\n/* 608:670 */ a(273, \"stone_shovel\", new ItemShovel(EnumToolMaterial.STONE).setID(\"shovelStone\"));\r\n/* 609:671 */ a(274, \"stone_pickaxe\", new ItemPickaxe(EnumToolMaterial.STONE).setID(\"pickaxeStone\"));\r\n/* 610:672 */ a(275, \"stone_axe\", new ItemAxe(EnumToolMaterial.STONE).setID(\"hatchetStone\"));\r\n/* 611:673 */ a(276, \"diamond_sword\", new ItemSword(EnumToolMaterial.DIAMOND).setID(\"swordDiamond\"));\r\n/* 612:674 */ a(277, \"diamond_shovel\", new ItemShovel(EnumToolMaterial.DIAMOND).setID(\"shovelDiamond\"));\r\n/* 613:675 */ a(278, \"diamond_pickaxe\", new ItemPickaxe(EnumToolMaterial.DIAMOND).setID(\"pickaxeDiamond\"));\r\n/* 614:676 */ a(279, \"diamond_axe\", new ItemAxe(EnumToolMaterial.DIAMOND).setID(\"hatchetDiamond\"));\r\n/* 615:677 */ a(280, \"stick\", new Item().n().setID(\"stick\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 616:678 */ a(281, \"bowl\", new Item().setID(\"bowl\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 617:679 */ a(282, \"mushroom_stew\", new aka(6).setID(\"mushroomStew\"));\r\n/* 618:680 */ a(283, \"golden_sword\", new ItemSword(EnumToolMaterial.GOLD).setID(\"swordGold\"));\r\n/* 619:681 */ a(284, \"golden_shovel\", new ItemShovel(EnumToolMaterial.GOLD).setID(\"shovelGold\"));\r\n/* 620:682 */ a(285, \"golden_pickaxe\", new ItemPickaxe(EnumToolMaterial.GOLD).setID(\"pickaxeGold\"));\r\n/* 621:683 */ a(286, \"golden_axe\", new ItemAxe(EnumToolMaterial.GOLD).setID(\"hatchetGold\"));\r\n/* 622:684 */ a(287, \"string\", new ajv(BlockList.tripwire).setID(\"string\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 623:685 */ a(288, \"feather\", new Item().setID(\"feather\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 624:686 */ a(289, \"gunpowder\", new Item().setID(\"sulphur\").setPotionEffect(PotionHelper.gunPowderEffect).setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 625:687 */ a(290, \"wooden_hoe\", new alo(EnumToolMaterial.WOOD).setID(\"hoeWood\"));\r\n/* 626:688 */ a(291, \"stone_hoe\", new alo(EnumToolMaterial.STONE).setID(\"hoeStone\"));\r\n/* 627:689 */ a(292, \"iron_hoe\", new alo(EnumToolMaterial.IRON).setID(\"hoeIron\"));\r\n/* 628:690 */ a(293, \"diamond_hoe\", new alo(EnumToolMaterial.DIAMOND).setID(\"hoeDiamond\"));\r\n/* 629:691 */ a(294, \"golden_hoe\", new alo(EnumToolMaterial.GOLD).setID(\"hoeGold\"));\r\n/* 630:692 */ a(295, \"wheat_seeds\", new anc(BlockList.aj, BlockList.ak).setID(\"seeds\"));\r\n/* 631:693 */ a(296, \"wheat\", new Item().setID(\"wheat\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 632:694 */ a(297, \"bread\", new all(5, 0.6F, false).setID(\"bread\"));\r\n/* 633:695 */ a(298, \"leather_helmet\", new ItemArmor(EnumArmorMaterial.LEATHER, 0, 0).setID(\"helmetCloth\"));\r\n/* 634:696 */ a(299, \"leather_chestplate\", new ItemArmor(EnumArmorMaterial.LEATHER, 0, 1).setID(\"chestplateCloth\"));\r\n/* 635:697 */ a(300, \"leather_leggings\", new ItemArmor(EnumArmorMaterial.LEATHER, 0, 2).setID(\"leggingsCloth\"));\r\n/* 636:698 */ a(301, \"leather_boots\", new ItemArmor(EnumArmorMaterial.LEATHER, 0, 3).setID(\"bootsCloth\"));\r\n/* 637:699 */ a(302, \"chainmail_helmet\", new ItemArmor(EnumArmorMaterial.CHAIN, 1, 0).setID(\"helmetChain\"));\r\n/* 638:700 */ a(303, \"chainmail_chestplate\", new ItemArmor(EnumArmorMaterial.CHAIN, 1, 1).setID(\"chestplateChain\"));\r\n/* 639:701 */ a(304, \"chainmail_leggings\", new ItemArmor(EnumArmorMaterial.CHAIN, 1, 2).setID(\"leggingsChain\"));\r\n/* 640:702 */ a(305, \"chainmail_boots\", new ItemArmor(EnumArmorMaterial.CHAIN, 1, 3).setID(\"bootsChain\"));\r\n/* 641:703 */ a(306, \"iron_helmet\", new ItemArmor(EnumArmorMaterial.IRON, 2, 0).setID(\"helmetIron\"));\r\n/* 642:704 */ a(307, \"iron_chestplate\", new ItemArmor(EnumArmorMaterial.IRON, 2, 1).setID(\"chestplateIron\"));\r\n/* 643:705 */ a(308, \"iron_leggings\", new ItemArmor(EnumArmorMaterial.IRON, 2, 2).setID(\"leggingsIron\"));\r\n/* 644:706 */ a(309, \"iron_boots\", new ItemArmor(EnumArmorMaterial.IRON, 2, 3).setID(\"bootsIron\"));\r\n/* 645:707 */ a(310, \"diamond_helmet\", new ItemArmor(EnumArmorMaterial.DIAMOND, 3, 0).setID(\"helmetDiamond\"));\r\n/* 646:708 */ a(311, \"diamond_chestplate\", new ItemArmor(EnumArmorMaterial.DIAMOND, 3, 1).setID(\"chestplateDiamond\"));\r\n/* 647:709 */ a(312, \"diamond_leggings\", new ItemArmor(EnumArmorMaterial.DIAMOND, 3, 2).setID(\"leggingsDiamond\"));\r\n/* 648:710 */ a(313, \"diamond_boots\", new ItemArmor(EnumArmorMaterial.DIAMOND, 3, 3).setID(\"bootsDiamond\"));\r\n/* 649:711 */ a(314, \"golden_helmet\", new ItemArmor(EnumArmorMaterial.GOLD, 4, 0).setID(\"helmetGold\"));\r\n/* 650:712 */ a(315, \"golden_chestplate\", new ItemArmor(EnumArmorMaterial.GOLD, 4, 1).setID(\"chestplateGold\"));\r\n/* 651:713 */ a(316, \"golden_leggings\", new ItemArmor(EnumArmorMaterial.GOLD, 4, 2).setID(\"leggingsGold\"));\r\n/* 652:714 */ a(317, \"golden_boots\", new ItemArmor(EnumArmorMaterial.GOLD, 4, 3).setID(\"bootsGold\"));\r\n/* 653:715 */ a(318, \"flint\", new Item().setID(\"flint\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 654:716 */ a(319, \"porkchop\", new all(3, 0.3F, true).setID(\"porkchopRaw\"));\r\n/* 655:717 */ a(320, \"cooked_porkchop\", new all(8, 0.8F, true).setID(\"porkchopCooked\"));\r\n/* 656:718 */ a(321, \"painting\", new ItemFrame(adm.class).setID(\"painting\"));\r\n/* 657:719 */ a(322, \"golden_apple\", new alm(4, 1.2F, false).h().a(Potion.regeneration.id, 5, 1, 1.0F).setID(\"appleGold\"));\r\n/* 658:720 */ a(323, \"sign\", new anf().setID(\"sign\"));\r\n/* 659:721 */ a(324, \"wooden_door\", new akt(BlockList.woodenDoor).setID(\"doorOak\"));\r\n/* 660:722 */ Item localalq = new akb(BlockList.air).setID(\"bucket\").setStackLimit(16);\r\n/* 661:723 */ a(325, \"bucket\", localalq);\r\n/* 662:724 */ a(326, \"water_bucket\", new akb(BlockList.flowingWater).setID(\"bucketWater\").c(localalq));\r\n/* 663:725 */ a(327, \"lava_bucket\", new akb(BlockList.flowingLava).setID(\"bucketLava\").c(localalq));\r\n/* 664:726 */ a(328, \"minecart\", new amp(EnumMinecartVariant.a).setID(\"minecart\"));\r\n/* 665:727 */ a(329, \"saddle\", new ana().setID(\"saddle\"));\r\n/* 666:728 */ a(330, \"iron_door\", new akt(BlockList.ironDoor).setID(\"doorIron\"));\r\n/* 667:729 */ a(331, \"redstone\", new amz().setID(\"redstone\").setPotionEffect(PotionHelper.redStoneEffect));\r\n/* 668:730 */ a(332, \"snowball\", new ank().setID(\"snowball\"));\r\n/* 669:731 */ a(333, \"boat\", new ajw().setID(\"boat\"));\r\n/* 670:732 */ a(334, \"leather\", new Item().setID(\"leather\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 671:733 */ a(335, \"milk_bucket\", new amo().setID(\"milk\").c(localalq));\r\n/* 672:734 */ a(336, \"brick\", new Item().setID(\"brick\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 673:735 */ a(337, \"clay_ball\", new Item().setID(\"clay\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 674:736 */ a(338, \"reeds\", new ajv(BlockList.reeds).setID(\"reeds\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 675:737 */ a(339, \"paper\", new Item().setID(\"paper\").setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 676:738 */ a(340, \"book\", new ajx().setID(\"book\").setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 677:739 */ a(341, \"slime_ball\", new Item().setID(\"slimeball\").setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 678:740 */ a(342, \"chest_minecart\", new amp(EnumMinecartVariant.b).setID(\"minecartChest\"));\r\n/* 679:741 */ a(343, \"furnace_minecart\", new amp(EnumMinecartVariant.c).setID(\"minecartFurnace\"));\r\n/* 680:742 */ a(344, \"egg\", new aky().setID(\"egg\"));\r\n/* 681:743 */ a(345, \"compass\", new Item().setID(\"compass\").setTabToDisplayOn(CreativeTabs.tabTools));\r\n/* 682:744 */ a(346, \"fishing_rod\", new ItemFishingRod().setID(\"fishingRod\"));\r\n/* 683:745 */ a(347, \"clock\", new Item().setID(\"clock\").setTabToDisplayOn(CreativeTabs.tabTools));\r\n/* 684:746 */ a(348, \"glowstone_dust\", new Item().setID(\"yellowDust\").setPotionEffect(PotionHelper.glowstoneEffect).setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 685:747 */ a(349, \"fish\", new ItemFish(false).setID(\"fish\").a(true));\r\n/* 686:748 */ a(350, \"cooked_fish\", new ItemFish(true).setID(\"fish\").a(true));\r\n/* 687:749 */ a(351, \"dye\", new akw().setID(\"dyePowder\"));\r\n/* 688:750 */ a(352, \"bone\", new Item().setID(\"bone\").n().setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 689:751 */ a(353, \"sugar\", new Item().setID(\"sugar\").setPotionEffect(PotionHelper.sugarEffect).setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 690:752 */ a(354, \"cake\", new ajv(BlockList.ba).setStackLimit(1).setID(\"cake\").setTabToDisplayOn(CreativeTabs.tabFood));\r\n/* 691:753 */ a(355, \"bed\", new ajt().setStackLimit(1).setID(\"bed\"));\r\n/* 692:754 */ a(356, \"repeater\", new ajv(BlockList.unpoweredRepeater).setID(\"diode\").setTabToDisplayOn(CreativeTabs.tabRedstone));\r\n/* 693:755 */ a(357, \"cookie\", new all(2, 0.1F, false).setID(\"cookie\"));\r\n/* 694:756 */ a(358, \"filled_map\", new ItemFilledMap().setID(\"map\"));\r\n/* 695:757 */ a(359, \"shears\", new ItemShears().setID(\"shears\"));\r\n/* 696:758 */ a(360, \"melon\", new all(2, 0.3F, false).setID(\"melon\"));\r\n/* 697:759 */ a(361, \"pumpkin_seeds\", new anc(BlockList.bl, BlockList.ak).setID(\"seeds_pumpkin\"));\r\n/* 698:760 */ a(362, \"melon_seeds\", new anc(BlockList.bm, BlockList.ak).setID(\"seeds_melon\"));\r\n/* 699:761 */ a(363, \"beef\", new all(3, 0.3F, true).setID(\"beefRaw\"));\r\n/* 700:762 */ a(364, \"cooked_beef\", new all(8, 0.8F, true).setID(\"beefCooked\"));\r\n/* 701:763 */ a(365, \"chicken\", new all(2, 0.3F, true).a(Potion.hunger.id, 30, 0, 0.3F).setID(\"chickenRaw\"));\r\n/* 702:764 */ a(366, \"cooked_chicken\", new all(6, 0.6F, true).setID(\"chickenCooked\"));\r\n/* 703:765 */ a(367, \"rotten_flesh\", new all(4, 0.1F, true).a(Potion.hunger.id, 30, 0, 0.8F).setID(\"rottenFlesh\"));\r\n/* 704:766 */ a(368, \"ender_pearl\", new alc().setID(\"enderPearl\"));\r\n/* 705:767 */ a(369, \"blaze_rod\", new Item().setID(\"blazeRod\").setTabToDisplayOn(CreativeTabs.tabMaterials).n());\r\n/* 706:768 */ a(370, \"ghast_tear\", new Item().setID(\"ghastTear\").setPotionEffect(PotionHelper.ghastTearEffect).setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 707:769 */ a(371, \"gold_nugget\", new Item().setID(\"goldNugget\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 708:770 */ a(372, \"nether_wart\", new anc(BlockList.bB, BlockList.soulSand).setID(\"netherStalkSeeds\").setPotionEffect(\"+4\"));\r\n/* 709:771 */ a(373, \"potion\", new ItemPotion().setID(\"potion\"));\r\n/* 710:772 */ a(374, \"glass_bottle\", new ajy().setID(\"glassBottle\"));\r\n/* 711:773 */ a(375, \"spider_eye\", new all(2, 0.8F, false).a(Potion.poison.id, 5, 0, 1.0F).setID(\"spiderEye\").setPotionEffect(PotionHelper.spiderEyeEffect));\r\n/* 712:774 */ a(376, \"fermented_spider_eye\", new Item().setID(\"fermentedSpiderEye\").setPotionEffect(PotionHelper.fermentedSpiderEyeEffect).setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 713:775 */ a(377, \"blaze_powder\", new Item().setID(\"blazePowder\").setPotionEffect(PotionHelper.blazePowderEffect).setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 714:776 */ a(378, \"magma_cream\", new Item().setID(\"magmaCream\").setPotionEffect(PotionHelper.magmaCreamEffect).setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 715:777 */ a(379, \"brewing_stand\", new ajv(BlockList.bD).setID(\"brewingStand\").setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 716:778 */ a(380, \"cauldron\", new ajv(BlockList.bE).setID(\"cauldron\").setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 717:779 */ a(381, \"ender_eye\", new ItemEnderEye().setID(\"eyeOfEnder\"));\r\n/* 718:780 */ a(382, \"speckled_melon\", new Item().setID(\"speckledMelon\").setPotionEffect(PotionHelper.speckledMelonEffect).setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 719:781 */ a(383, \"spawn_egg\", new anl().setID(\"monsterPlacer\"));\r\n/* 720:782 */ a(384, \"experience_bottle\", new ald().setID(\"expBottle\"));\r\n/* 721:783 */ a(385, \"fire_charge\", new ale().setID(\"fireball\"));\r\n/* 722:784 */ a(386, \"writable_book\", new anq().setID(\"writingBook\").setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 723:785 */ a(387, \"written_book\", new anr().setID(\"writtenBook\").setStackLimit(16));\r\n/* 724:786 */ a(388, \"emerald\", new Item().setID(\"emerald\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 725:787 */ a(389, \"item_frame\", new ItemFrame(EntityItemFrame.class).setID(\"frame\"));\r\n/* 726:788 */ a(390, \"flower_pot\", new ajv(BlockList.ca).setID(\"flowerPot\").setTabToDisplayOn(CreativeTabs.tabDeco));\r\n/* 727:789 */ a(391, \"carrot\", new anb(3, 0.6F, BlockList.cb, BlockList.ak).setID(\"carrots\"));\r\n/* 728:790 */ a(392, \"potato\", new anb(1, 0.3F, BlockList.cc, BlockList.ak).setID(\"potato\"));\r\n/* 729:791 */ a(393, \"baked_potato\", new all(5, 0.6F, false).setID(\"potatoBaked\"));\r\n/* 730:792 */ a(394, \"poisonous_potato\", new all(2, 0.3F, false).a(Potion.poison.id, 5, 0, 0.6F).setID(\"potatoPoisonous\"));\r\n/* 731:793 */ a(395, \"map\", new akz().setID(\"emptyMap\"));\r\n/* 732:794 */ a(396, \"golden_carrot\", new all(6, 1.2F, false).setID(\"carrotGolden\").setPotionEffect(PotionHelper.goldenCarrotEffect).setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 733:795 */ a(397, \"skull\", new anh().setID(\"skull\"));\r\n/* 734:796 */ a(398, \"carrot_on_a_stick\", new akc().setID(\"carrotOnAStick\"));\r\n/* 735:797 */ a(399, \"nether_star\", new ang().setID(\"netherStar\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 736:798 */ a(400, \"pumpkin_pie\", new all(8, 0.3F, false).setID(\"pumpkinPie\").setTabToDisplayOn(CreativeTabs.tabFood));\r\n/* 737:799 */ a(401, \"fireworks\", new alg().setID(\"fireworks\"));\r\n/* 738:800 */ a(402, \"firework_charge\", new alf().setID(\"fireworksCharge\").setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 739:801 */ a(403, \"enchanted_book\", new ItemEnchantedBook().setStackLimit(1).setID(\"enchantedBook\"));\r\n/* 740:802 */ a(404, \"comparator\", new ajv(BlockList.unpowered_comparator).setID(\"comparator\").setTabToDisplayOn(CreativeTabs.tabRedstone));\r\n/* 741:803 */ a(405, \"netherbrick\", new Item().setID(\"netherbrick\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 742:804 */ a(406, \"quartz\", new Item().setID(\"netherquartz\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 743:805 */ a(407, \"tnt_minecart\", new amp(EnumMinecartVariant.d).setID(\"minecartTnt\"));\r\n/* 744:806 */ a(408, \"hopper_minecart\", new amp(EnumMinecartVariant.f).setID(\"minecartHopper\"));\r\n/* 745:807 */ a(409, \"prismarine_shard\", new Item().setID(\"prismarineShard\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 746:808 */ a(410, \"prismarine_crystals\", new Item().setID(\"prismarineCrystals\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 747:809 */ a(411, \"rabbit\", new all(3, 0.3F, true).setID(\"rabbitRaw\"));\r\n/* 748:810 */ a(412, \"cooked_rabbit\", new all(5, 0.6F, true).setID(\"rabbitCooked\"));\r\n/* 749:811 */ a(413, \"rabbit_stew\", new aka(10).setID(\"rabbitStew\"));\r\n/* 750:812 */ a(414, \"rabbit_foot\", new Item().setID(\"rabbitFoot\").setPotionEffect(PotionHelper.rabbitFootEffect).setTabToDisplayOn(CreativeTabs.tabBrewing));\r\n/* 751:813 */ a(415, \"rabbit_hide\", new Item().setID(\"rabbitHide\").setTabToDisplayOn(CreativeTabs.tabMaterials));\r\n/* 752:814 */ a(416, \"armor_stand\", new ajq().setID(\"armorStand\").setStackLimit(16));\r\n/* 753:815 */ a(417, \"iron_horse_armor\", new Item().setID(\"horsearmormetal\").setStackLimit(1).setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 754:816 */ a(418, \"golden_horse_armor\", new Item().setID(\"horsearmorgold\").setStackLimit(1).setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 755:817 */ a(419, \"diamond_horse_armor\", new Item().setID(\"horsearmordiamond\").setStackLimit(1).setTabToDisplayOn(CreativeTabs.tabMisc));\r\n/* 756:818 */ a(420, \"lead\", new aml().setID(\"leash\"));\r\n/* 757:819 */ a(421, \"name_tag\", new amt().setID(\"nameTag\"));\r\n/* 758:820 */ a(422, \"command_block_minecart\", new amp(EnumMinecartVariant.g).setID(\"minecartCommandBlock\").setTabToDisplayOn(null));\r\n/* 759:821 */ a(423, \"mutton\", new all(2, 0.3F, true).setID(\"muttonRaw\"));\r\n/* 760:822 */ a(424, \"cooked_mutton\", new all(6, 0.8F, true).setID(\"muttonCooked\"));\r\n/* 761:823 */ a(425, \"banner\", new ajs().b(\"banner\"));\r\n/* 762:824 */ a(427, \"spruce_door\", new akt(BlockList.ap).setID(\"doorSpruce\"));\r\n/* 763:825 */ a(428, \"birch_door\", new akt(BlockList.aq).setID(\"doorBirch\"));\r\n/* 764:826 */ a(429, \"jungle_door\", new akt(BlockList.ar).setID(\"doorJungle\"));\r\n/* 765:827 */ a(430, \"acacia_door\", new akt(BlockList.as).setID(\"doorAcacia\"));\r\n/* 766:828 */ a(431, \"dark_oak_door\", new akt(BlockList.at).setID(\"doorDarkOak\"));\r\n/* 767: */ \r\n/* 768: */ \r\n/* 769:831 */ a(2256, \"record_13\", new ItemDisc(\"13\").setID(\"record\"));\r\n/* 770:832 */ a(2257, \"record_cat\", new ItemDisc(\"cat\").setID(\"record\"));\r\n/* 771:833 */ a(2258, \"record_blocks\", new ItemDisc(\"blocks\").setID(\"record\"));\r\n/* 772:834 */ a(2259, \"record_chirp\", new ItemDisc(\"chirp\").setID(\"record\"));\r\n/* 773:835 */ a(2260, \"record_far\", new ItemDisc(\"far\").setID(\"record\"));\r\n/* 774:836 */ a(2261, \"record_mall\", new ItemDisc(\"mall\").setID(\"record\"));\r\n/* 775:837 */ a(2262, \"record_mellohi\", new ItemDisc(\"mellohi\").setID(\"record\"));\r\n/* 776:838 */ a(2263, \"record_stal\", new ItemDisc(\"stal\").setID(\"record\"));\r\n/* 777:839 */ a(2264, \"record_strad\", new ItemDisc(\"strad\").setID(\"record\"));\r\n/* 778:840 */ a(2265, \"record_ward\", new ItemDisc(\"ward\").setID(\"record\"));\r\n/* 779:841 */ a(2266, \"record_11\", new ItemDisc(\"11\").setID(\"record\"));\r\n/* 780:842 */ a(2267, \"record_wait\", new ItemDisc(\"wait\").setID(\"record\"));\r\n/* 781: */ }", "title": "" }, { "docid": "6ccca54df84f097039b2ab192da1e105", "score": "0.5501726", "text": "private synchronized void m25919a(com.squareup.okhttp.internal.C6020b.C6017a r12, boolean r13) throws java.io.IOException {\n /*\n r11 = this;\n monitor-enter(r11);\n r0 = r12.f22002b;\t Catch:{ all -> 0x011c }\n r1 = r0.f22012g;\t Catch:{ all -> 0x011c }\n if (r1 == r12) goto L_0x0011;\n L_0x000b:\n r12 = new java.lang.IllegalStateException;\t Catch:{ all -> 0x011c }\n r12.<init>();\t Catch:{ all -> 0x011c }\n throw r12;\t Catch:{ all -> 0x011c }\n L_0x0011:\n r1 = 0;\n if (r13 == 0) goto L_0x0057;\n L_0x0014:\n r2 = r0.f22011f;\t Catch:{ all -> 0x011c }\n if (r2 != 0) goto L_0x0057;\n L_0x001a:\n r2 = 0;\n L_0x001b:\n r3 = r11.f22029j;\t Catch:{ all -> 0x011c }\n if (r2 >= r3) goto L_0x0057;\n L_0x001f:\n r3 = r12.f22003c;\t Catch:{ all -> 0x011c }\n r3 = r3[r2];\t Catch:{ all -> 0x011c }\n if (r3 != 0) goto L_0x0041;\n L_0x0027:\n r12.m25897b();\t Catch:{ all -> 0x011c }\n r12 = new java.lang.IllegalStateException;\t Catch:{ all -> 0x011c }\n r13 = new java.lang.StringBuilder;\t Catch:{ all -> 0x011c }\n r13.<init>();\t Catch:{ all -> 0x011c }\n r0 = \"Newly created entry didn't create value for index \";\n r13.append(r0);\t Catch:{ all -> 0x011c }\n r13.append(r2);\t Catch:{ all -> 0x011c }\n r13 = r13.toString();\t Catch:{ all -> 0x011c }\n r12.<init>(r13);\t Catch:{ all -> 0x011c }\n throw r12;\t Catch:{ all -> 0x011c }\n L_0x0041:\n r3 = r11.f22022c;\t Catch:{ all -> 0x011c }\n r4 = r0.f22010e;\t Catch:{ all -> 0x011c }\n r4 = r4[r2];\t Catch:{ all -> 0x011c }\n r3 = r3.exists(r4);\t Catch:{ all -> 0x011c }\n if (r3 != 0) goto L_0x0054;\n L_0x004f:\n r12.m25897b();\t Catch:{ all -> 0x011c }\n monitor-exit(r11);\n return;\n L_0x0054:\n r2 = r2 + 1;\n goto L_0x001b;\n L_0x0057:\n r12 = r11.f22029j;\t Catch:{ all -> 0x011c }\n if (r1 >= r12) goto L_0x009a;\n L_0x005b:\n r12 = r0.f22010e;\t Catch:{ all -> 0x011c }\n r12 = r12[r1];\t Catch:{ all -> 0x011c }\n if (r13 == 0) goto L_0x0092;\n L_0x0063:\n r2 = r11.f22022c;\t Catch:{ all -> 0x011c }\n r2 = r2.exists(r12);\t Catch:{ all -> 0x011c }\n if (r2 == 0) goto L_0x0097;\n L_0x006b:\n r2 = r0.f22009d;\t Catch:{ all -> 0x011c }\n r2 = r2[r1];\t Catch:{ all -> 0x011c }\n r3 = r11.f22022c;\t Catch:{ all -> 0x011c }\n r3.rename(r12, r2);\t Catch:{ all -> 0x011c }\n r12 = r0.f22008c;\t Catch:{ all -> 0x011c }\n r3 = r12[r1];\t Catch:{ all -> 0x011c }\n r12 = r11.f22022c;\t Catch:{ all -> 0x011c }\n r5 = r12.size(r2);\t Catch:{ all -> 0x011c }\n r12 = r0.f22008c;\t Catch:{ all -> 0x011c }\n r12[r1] = r5;\t Catch:{ all -> 0x011c }\n r7 = r11.f22030k;\t Catch:{ all -> 0x011c }\n r12 = 0;\n r9 = r7 - r3;\n r2 = r9 + r5;\n r11.f22030k = r2;\t Catch:{ all -> 0x011c }\n goto L_0x0097;\n L_0x0092:\n r2 = r11.f22022c;\t Catch:{ all -> 0x011c }\n r2.delete(r12);\t Catch:{ all -> 0x011c }\n L_0x0097:\n r1 = r1 + 1;\n goto L_0x0057;\n L_0x009a:\n r12 = r11.f22033n;\t Catch:{ all -> 0x011c }\n r1 = 1;\n r12 = r12 + r1;\n r11.f22033n = r12;\t Catch:{ all -> 0x011c }\n r12 = 0;\n r0.f22012g = r12;\t Catch:{ all -> 0x011c }\n r12 = r0.f22011f;\t Catch:{ all -> 0x011c }\n r12 = r12 | r13;\n r2 = 10;\n r3 = 32;\n if (r12 == 0) goto L_0x00de;\n L_0x00af:\n r0.f22011f = r1;\t Catch:{ all -> 0x011c }\n r12 = r11.f22031l;\t Catch:{ all -> 0x011c }\n r1 = \"CLEAN\";\n r12 = r12.writeUtf8(r1);\t Catch:{ all -> 0x011c }\n r12.writeByte(r3);\t Catch:{ all -> 0x011c }\n r12 = r11.f22031l;\t Catch:{ all -> 0x011c }\n r1 = r0.f22007b;\t Catch:{ all -> 0x011c }\n r12.writeUtf8(r1);\t Catch:{ all -> 0x011c }\n r12 = r11.f22031l;\t Catch:{ all -> 0x011c }\n r0.m25912a(r12);\t Catch:{ all -> 0x011c }\n r12 = r11.f22031l;\t Catch:{ all -> 0x011c }\n r12.writeByte(r2);\t Catch:{ all -> 0x011c }\n if (r13 == 0) goto L_0x0100;\n L_0x00d2:\n r12 = r11.f22037r;\t Catch:{ all -> 0x011c }\n r1 = 1;\n r3 = r12 + r1;\n r11.f22037r = r3;\t Catch:{ all -> 0x011c }\n r0.f22013h = r12;\t Catch:{ all -> 0x011c }\n goto L_0x0100;\n L_0x00de:\n r12 = r11.f22032m;\t Catch:{ all -> 0x011c }\n r13 = r0.f22007b;\t Catch:{ all -> 0x011c }\n r12.remove(r13);\t Catch:{ all -> 0x011c }\n r12 = r11.f22031l;\t Catch:{ all -> 0x011c }\n r13 = \"REMOVE\";\n r12 = r12.writeUtf8(r13);\t Catch:{ all -> 0x011c }\n r12.writeByte(r3);\t Catch:{ all -> 0x011c }\n r12 = r11.f22031l;\t Catch:{ all -> 0x011c }\n r13 = r0.f22007b;\t Catch:{ all -> 0x011c }\n r12.writeUtf8(r13);\t Catch:{ all -> 0x011c }\n r12 = r11.f22031l;\t Catch:{ all -> 0x011c }\n r12.writeByte(r2);\t Catch:{ all -> 0x011c }\n L_0x0100:\n r12 = r11.f22031l;\t Catch:{ all -> 0x011c }\n r12.flush();\t Catch:{ all -> 0x011c }\n r12 = r11.f22030k;\t Catch:{ all -> 0x011c }\n r0 = r11.f22028i;\t Catch:{ all -> 0x011c }\n r2 = (r12 > r0 ? 1 : (r12 == r0 ? 0 : -1));\n if (r2 > 0) goto L_0x0113;\n L_0x010d:\n r12 = r11.m25939j();\t Catch:{ all -> 0x011c }\n if (r12 == 0) goto L_0x011a;\n L_0x0113:\n r12 = r11.f22038s;\t Catch:{ all -> 0x011c }\n r13 = r11.f22039t;\t Catch:{ all -> 0x011c }\n r12.execute(r13);\t Catch:{ all -> 0x011c }\n L_0x011a:\n monitor-exit(r11);\n return;\n L_0x011c:\n r12 = move-exception;\n monitor-exit(r11);\n throw r12;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.squareup.okhttp.internal.b.a(com.squareup.okhttp.internal.b$a, boolean):void\");\n }", "title": "" }, { "docid": "26584e05cd34d8b43da118be62feefc3", "score": "0.5491811", "text": "public static java.lang.String m5022a() {\n /*\n r1 = f4619a;\n monitor-enter(r1);\n r0 = f4619a;\t Catch:{ all -> 0x0039 }\n r0 = r0.isEmpty();\t Catch:{ all -> 0x0039 }\n if (r0 == 0) goto L_0x000f;\n L_0x000b:\n r0 = \"\";\n monitor-exit(r1);\t Catch:{ all -> 0x0039 }\n L_0x000e:\n return r0;\n L_0x000f:\n r0 = new java.util.ArrayList;\t Catch:{ all -> 0x0039 }\n r2 = f4619a;\t Catch:{ all -> 0x0039 }\n r0.<init>(r2);\t Catch:{ all -> 0x0039 }\n r2 = f4619a;\t Catch:{ all -> 0x0039 }\n r2.clear();\t Catch:{ all -> 0x0039 }\n monitor-exit(r1);\t Catch:{ all -> 0x0039 }\n r1 = new org.json.JSONArray;\n r1.<init>();\n r2 = r0.iterator();\n L_0x0025:\n r0 = r2.hasNext();\n if (r0 == 0) goto L_0x003c;\n L_0x002b:\n r0 = r2.next();\n r0 = (com.facebook.ads.internal.p021o.C2058a) r0;\n r0 = r0.m5021a();\n r1.put(r0);\n goto L_0x0025;\n L_0x0039:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x0039 }\n throw r0;\n L_0x003c:\n r0 = r1.toString();\n goto L_0x000e;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.o.b.a():java.lang.String\");\n }", "title": "" }, { "docid": "bb06acb434a823bceac30e0b562a9868", "score": "0.5485566", "text": "public void method_2459(ahb var1, int var2, int var3, int var4, aji var5) {\r\n String[] var6;\r\n class_1193 var8;\r\n class_1193 var9;\r\n int var11;\r\n label81: {\r\n int var7 = method_2580(var1.method_33(var2, var3, var4));\r\n String[] var10000 = class_752.method_4253();\r\n class_1193 var10001 = new class_1193;\r\n var10001.method_6412(var1, var2, var3, var4, 1);\r\n var8 = var10001;\r\n var6 = var10000;\r\n class_1193 var10 = new class_1193;\r\n var10.method_6412(var1, var2, var3, var4, 2);\r\n var9 = var10;\r\n var11 = var7;\r\n int var13 = 1;\r\n boolean var12;\r\n if(var6 != null) {\r\n label82: {\r\n if(var7 == 1) {\r\n label73: {\r\n var12 = var8.method_6416();\r\n if(var6 != null) {\r\n if(var12) {\r\n var11 = class_1193.method_6418(var8);\r\n var13 = class_1193.method_6419(var8) * class_1193.method_6420(var8);\r\n if(var6 == null) {\r\n break label82;\r\n }\r\n\r\n if(var11 >= var13) {\r\n break label73;\r\n }\r\n }\r\n\r\n var1.method_2058(var2, var3, var4, class_1192.field_6025);\r\n }\r\n\r\n if(var6 != null) {\r\n return;\r\n }\r\n }\r\n }\r\n\r\n var11 = var7;\r\n if(var6 == null) {\r\n break label81;\r\n }\r\n\r\n var13 = 2;\r\n }\r\n }\r\n\r\n if(var11 == var13) {\r\n label59: {\r\n var12 = var9.method_6416();\r\n if(var6 != null) {\r\n if(var12) {\r\n var11 = class_1193.method_6418(var9);\r\n if(var6 == null) {\r\n break label81;\r\n }\r\n\r\n if(var11 >= class_1193.method_6419(var9) * class_1193.method_6420(var9)) {\r\n break label59;\r\n }\r\n }\r\n\r\n var1.method_2058(var2, var3, var4, class_1192.field_6025);\r\n }\r\n\r\n if(var6 != null) {\r\n return;\r\n }\r\n }\r\n }\r\n\r\n var11 = var7;\r\n }\r\n\r\n if(var6 != null) {\r\n if(var11 != 0) {\r\n return;\r\n }\r\n\r\n var11 = var8.method_6416();\r\n }\r\n\r\n if(var6 != null) {\r\n if(var11 != 0) {\r\n return;\r\n }\r\n\r\n var11 = var9.method_6416();\r\n }\r\n\r\n if(var6 != null && var11 == 0) {\r\n var1.method_2058(var2, var3, var4, class_1192.field_6025);\r\n }\r\n\r\n }", "title": "" }, { "docid": "415bf223a441b5838d95899d3d0e3430", "score": "0.5484678", "text": "private void d() {\n /*\n r8 = this;\n r2 = com.whatsapp.DialogToastActivity.f;\n r3 = r8.E;\n monitor-enter(r3);\n r1 = new java.util.ArrayList;\t Catch:{ all -> 0x00af }\n r1.<init>();\t Catch:{ all -> 0x00af }\n r0 = r8.E;\t Catch:{ all -> 0x00af }\n r4 = r0.iterator();\t Catch:{ all -> 0x00af }\n L_0x0010:\n r0 = r4.hasNext();\t Catch:{ all -> 0x00af }\n if (r0 == 0) goto L_0x0027;\n L_0x0016:\n r0 = r4.next();\t Catch:{ all -> 0x00af }\n r0 = (com.whatsapp.l5) r0;\t Catch:{ all -> 0x00af }\n if (r0 == 0) goto L_0x0025;\n L_0x001e:\n r5 = r0.e;\t Catch:{ IllegalArgumentException -> 0x00ab }\n if (r5 == 0) goto L_0x0025;\n L_0x0022:\n r1.add(r0);\t Catch:{ IllegalArgumentException -> 0x00ad }\n L_0x0025:\n if (r2 == 0) goto L_0x0010;\n L_0x0027:\n r0 = r8.E;\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r0.clear();\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r0 = com.whatsapp.App.as;\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r4 = r8.E;\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r0.d(r4);\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r0 = r8.E;\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r0 = r0.size();\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r4 = 20;\n if (r0 >= r4) goto L_0x004d;\n L_0x003d:\n r0 = r8.A;\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r4 = 2131755700; // 0x7f1002b4 float:1.9142287E38 double:1.0532272567E-314;\n r0 = r0.findViewById(r4);\t Catch:{ IllegalArgumentException -> 0x00b2 }\n r4 = 8;\n r0.setVisibility(r4);\t Catch:{ IllegalArgumentException -> 0x00b2 }\n if (r2 == 0) goto L_0x005a;\n L_0x004d:\n r0 = r8.A;\t Catch:{ IllegalArgumentException -> 0x00b4 }\n r4 = 2131755700; // 0x7f1002b4 float:1.9142287E38 double:1.0532272567E-314;\n r0 = r0.findViewById(r4);\t Catch:{ IllegalArgumentException -> 0x00b4 }\n r4 = 0;\n r0.setVisibility(r4);\t Catch:{ IllegalArgumentException -> 0x00b4 }\n L_0x005a:\n r4 = new com.whatsapp.a3d;\t Catch:{ all -> 0x00af }\n r0 = r8.getApplicationContext();\t Catch:{ all -> 0x00af }\n r4.<init>(r0);\t Catch:{ all -> 0x00af }\n r5 = r1.iterator();\t Catch:{ all -> 0x00af }\n L_0x0067:\n r0 = r5.hasNext();\t Catch:{ all -> 0x00af }\n if (r0 == 0) goto L_0x0098;\n L_0x006d:\n r0 = r5.next();\t Catch:{ all -> 0x00af }\n r0 = (com.whatsapp.l5) r0;\t Catch:{ all -> 0x00af }\n r1 = r8.E;\t Catch:{ all -> 0x00af }\n r6 = r1.iterator();\t Catch:{ all -> 0x00af }\n L_0x0079:\n r1 = r6.hasNext();\t Catch:{ all -> 0x00af }\n if (r1 == 0) goto L_0x0096;\n L_0x007f:\n r1 = r6.next();\t Catch:{ all -> 0x00af }\n r1 = (com.whatsapp.l5) r1;\t Catch:{ all -> 0x00af }\n if (r0 == 0) goto L_0x0094;\n L_0x0087:\n if (r1 == 0) goto L_0x0094;\n L_0x0089:\n r7 = r4.a(r0, r1);\t Catch:{ IllegalArgumentException -> 0x00b6 }\n if (r7 != 0) goto L_0x0094;\n L_0x008f:\n r7 = 1;\n r1.e = r7;\t Catch:{ IllegalArgumentException -> 0x00b8 }\n if (r2 == 0) goto L_0x0079;\n L_0x0094:\n if (r2 == 0) goto L_0x0079;\n L_0x0096:\n if (r2 == 0) goto L_0x0067;\n L_0x0098:\n r0 = r8.E;\t Catch:{ all -> 0x00af }\n r1 = new com.whatsapp.a3d;\t Catch:{ all -> 0x00af }\n r2 = r8.getApplicationContext();\t Catch:{ all -> 0x00af }\n r1.<init>(r2);\t Catch:{ all -> 0x00af }\n java.util.Collections.sort(r0, r1);\t Catch:{ all -> 0x00af }\n r8.b();\t Catch:{ all -> 0x00af }\n monitor-exit(r3);\t Catch:{ all -> 0x00af }\n return;\n L_0x00ab:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x00ad }\n L_0x00ad:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x00af }\n L_0x00af:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x00af }\n throw r0;\n L_0x00b2:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x00b4 }\n L_0x00b4:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x00af }\n L_0x00b6:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x00b8 }\n L_0x00b8:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x00af }\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.MultipleContactPicker.d():void\");\n }", "title": "" }, { "docid": "92d8fd6c406a03a77db2a41cc721b498", "score": "0.54774106", "text": "@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/tools/clang/lib/CodeGen/CGException.cpp\", line = 1286,\n FQN=\"clang::CodeGen::CodeGenFunction::getTerminateLandingPad\", NM=\"_ZN5clang7CodeGen15CodeGenFunction22getTerminateLandingPadEv\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.clang.codegen/llvmToClangType -split-class=clang::CodeGen::CodeGenFunction@this ${LLVM_SRC}/llvm/tools/clang/lib/CodeGen/CGException.cpp -nm=_ZN5clang7CodeGen15CodeGenFunction22getTerminateLandingPadEv\")\n//</editor-fold>\npublic final BasicBlock /*P*/ getTerminateLandingPad() {\n if (($this().TerminateLandingPad != null)) {\n return $this().TerminateLandingPad;\n }\n \n CGBuilderTy.InsertPoint SavedIP = $this().Builder.saveAndClearIP();\n \n // This will get inserted at the end of the function.\n $this().TerminateLandingPad = $this().createBasicBlock(new Twine(/*KEEP_STR*/\"terminate.lpad\"));\n $this().Builder.SetInsertPoint($this().TerminateLandingPad);\n \n // Tell the backend that this is a landing pad.\n final /*const*/ EHPersonality /*&*/ Personality = EHPersonality.get(/*Deref*/$this());\n if (!$this().CurFn.hasPersonalityFn()) {\n $this().CurFn.setPersonalityFn(CGExceptionStatics.getOpaquePersonalityFn($this().CGM, Personality));\n }\n \n LandingPadInst /*P*/ LPadInst = $this().Builder.CreateLandingPad(StructType.get(Unnamed_field9.Int8PtrTy, Int32Ty, null), 0);\n LPadInst.addClause(CGExceptionStatics.getCatchAllValue(/*Deref*/$this()));\n \n Value /*P*/ Exn = null;\n if ($this().getLangOpts().CPlusPlus) {\n Exn = $this().Builder.CreateExtractValue(LPadInst, new ArrayRefUInt(0));\n }\n CallInst /*P*/ terminateCall = $this().CGM.getCXXABI().emitTerminateForUnexpectedException(/*Deref*/$this(), Exn);\n terminateCall.setDoesNotReturn();\n $this().Builder.CreateUnreachable();\n \n // Restore the saved insertion state.\n $this().Builder.restoreIP(new IRBuilderBase.InsertPoint(SavedIP));\n \n return $this().TerminateLandingPad;\n}", "title": "" }, { "docid": "5c2febd6d93a06d214dd72cc0c5a96d7", "score": "0.5473332", "text": "private void m25902a(java.lang.String[] r5) throws java.io.IOException {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r4 = this;\n r0 = r5.length;\n r1 = r4.f22006a;\n r1 = r1.f22029j;\n if (r0 == r1) goto L_0x000e;\n L_0x0009:\n r5 = r4.m25904b(r5);\n throw r5;\n L_0x000e:\n r0 = 0;\n L_0x000f:\n r1 = r5.length;\t Catch:{ NumberFormatException -> 0x0020 }\n if (r0 >= r1) goto L_0x001f;\t Catch:{ NumberFormatException -> 0x0020 }\n L_0x0012:\n r1 = r4.f22008c;\t Catch:{ NumberFormatException -> 0x0020 }\n r2 = r5[r0];\t Catch:{ NumberFormatException -> 0x0020 }\n r2 = java.lang.Long.parseLong(r2);\t Catch:{ NumberFormatException -> 0x0020 }\n r1[r0] = r2;\t Catch:{ NumberFormatException -> 0x0020 }\n r0 = r0 + 1;\n goto L_0x000f;\n L_0x001f:\n return;\n L_0x0020:\n r5 = r4.m25904b(r5);\n throw r5;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.squareup.okhttp.internal.b.b.a(java.lang.String[]):void\");\n }", "title": "" }, { "docid": "b168207287d504dc1de32b217f693412", "score": "0.5468278", "text": "private boolean r_Step_4()\r\n/* */ {\r\n/* 487 */ this.ket = this.cursor;\r\n/* */ \r\n/* 489 */ int among_var = find_among_b(a_5, 19);\r\n/* 490 */ if (among_var == 0)\r\n/* */ {\r\n/* 492 */ return false;\r\n/* */ }\r\n/* */ \r\n/* 495 */ this.bra = this.cursor;\r\n/* */ \r\n/* 497 */ if (!r_R2())\r\n/* */ {\r\n/* 499 */ return false;\r\n/* */ }\r\n/* 501 */ switch (among_var) {\r\n/* */ case 0: \r\n/* 503 */ return false;\r\n/* */ \r\n/* */ \r\n/* */ case 1: \r\n/* 507 */ slice_del();\r\n/* 508 */ break;\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ case 2: \r\n/* 513 */ int v_1 = this.limit - this.cursor;\r\n/* */ \r\n/* */ \r\n/* 516 */ if (!eq_s_b(1, \"s\"))\r\n/* */ {\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ \r\n/* 522 */ this.cursor = (this.limit - v_1);\r\n/* */ \r\n/* 524 */ if (!eq_s_b(1, \"t\"))\r\n/* */ {\r\n/* 526 */ return false;\r\n/* */ }\r\n/* */ }\r\n/* */ \r\n/* 530 */ slice_del();\r\n/* */ }\r\n/* */ \r\n/* 533 */ return true;\r\n/* */ }", "title": "" }, { "docid": "6800467215d51211b3d248e01f1305a9", "score": "0.5451803", "text": "private final com.google.wireless.android.p356a.p357a.p358a.p359a.cn m34331b(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_0x001b;\n case 24: goto L_0x0028;\n case 32: goto L_0x0035;\n case 40: goto L_0x0072;\n case 50: goto L_0x007f;\n case 58: goto L_0x008d;\n case 64: goto L_0x009b;\n case 72: goto L_0x00a9;\n case 82: goto L_0x00b7;\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 = r7.m33564f();\n r6.f35973b = r0;\n r0 = r6.f35972a;\n r0 = r0 | 1;\n r6.f35972a = r0;\n goto L_0x0000;\n L_0x001b:\n r0 = r7.m33564f();\n r6.f35974c = r0;\n r0 = r6.f35972a;\n r0 = r0 | 2;\n r6.f35972a = r0;\n goto L_0x0000;\n L_0x0028:\n r0 = r7.m33568j();\n r6.f35975d = r0;\n r0 = r6.f35972a;\n r0 = r0 | 4;\n r6.f35972a = r0;\n goto L_0x0000;\n L_0x0035:\n r1 = r6.f35972a;\n r1 = r1 | 8;\n r6.f35972a = r1;\n r1 = r7.m33573o();\n r2 = r7.m33567i();\t Catch:{ IllegalArgumentException -> 0x0061 }\n switch(r2) {\n case 0: goto L_0x0069;\n case 1: goto L_0x0069;\n case 2: goto L_0x0069;\n case 3: goto L_0x0069;\n case 4: goto L_0x0069;\n case 5: goto L_0x0069;\n default: goto L_0x0046;\n };\t Catch:{ IllegalArgumentException -> 0x0061 }\n L_0x0046:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0061 }\n r4 = 48;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0061 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0061 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0061 }\n r4 = \" is not a valid enum SuggestionSource\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0061 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0061 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0061 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0061 }\n L_0x0061:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x0069:\n r6.f35976e = r2;\t Catch:{ IllegalArgumentException -> 0x0061 }\n r2 = r6.f35972a;\t Catch:{ IllegalArgumentException -> 0x0061 }\n r2 = r2 | 8;\n r6.f35972a = r2;\t Catch:{ IllegalArgumentException -> 0x0061 }\n goto L_0x0000;\n L_0x0072:\n r0 = r7.m33560d();\n r6.f35977f = r0;\n r0 = r6.f35972a;\n r0 = r0 | 16;\n r6.f35972a = r0;\n goto L_0x0000;\n L_0x007f:\n r0 = r7.m33565g();\n r6.f35978g = r0;\n r0 = r6.f35972a;\n r0 = r0 | 32;\n r6.f35972a = r0;\n goto L_0x0000;\n L_0x008d:\n r0 = r7.m33565g();\n r6.f35979h = r0;\n r0 = r6.f35972a;\n r0 = r0 | 64;\n r6.f35972a = r0;\n goto L_0x0000;\n L_0x009b:\n r0 = r7.m33560d();\n r6.f35980i = r0;\n r0 = r6.f35972a;\n r0 = r0 | 128;\n r6.f35972a = r0;\n goto L_0x0000;\n L_0x00a9:\n r0 = r7.m33560d();\n r6.f35981j = r0;\n r0 = r6.f35972a;\n r0 = r0 | 256;\n r6.f35972a = r0;\n goto L_0x0000;\n L_0x00b7:\n r0 = r7.m33564f();\n r6.f35982k = r0;\n r0 = r6.f35972a;\n r0 = r0 | 512;\n r6.f35972a = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.a.a.a.a.cn.b(com.google.protobuf.nano.a):com.google.wireless.android.a.a.a.a.cn\");\n }", "title": "" }, { "docid": "89c4ccdfe01b998cbf1f2ad2b49bc2e2", "score": "0.5440312", "text": "private void bvN(java.lang.Object r5, java.lang.reflect.Field r6, android.content.ContentValues r7) {\n /*\n r4 = this;\n r0 = com.loc.C1258b.class;\n r0 = r6.getAnnotation(r0);\n if (r0 == 0) goto L_0x0012;\n L_0x0008:\n r0 = (com.loc.C1258b) r0;\n r1 = r0.m289b();\n switch(r1) {\n case 1: goto L_0x0028;\n case 2: goto L_0x0013;\n case 3: goto L_0x0069;\n case 4: goto L_0x0048;\n case 5: goto L_0x0038;\n case 6: goto L_0x0058;\n case 7: goto L_0x0079;\n default: goto L_0x0011;\n };\n L_0x0011:\n return;\n L_0x0012:\n return;\n L_0x0013:\n r1 = r6.getInt(r5);\t Catch:{ IllegalAccessException -> 0x0023 }\n r0 = r0.m288a();\t Catch:{ IllegalAccessException -> 0x0023 }\n r1 = java.lang.Integer.valueOf(r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n r7.put(r0, r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n goto L_0x0011;\n L_0x0023:\n r0 = move-exception;\n r0.printStackTrace();\n goto L_0x0011;\n L_0x0028:\n r1 = r6.getShort(r5);\t Catch:{ IllegalAccessException -> 0x0023 }\n r0 = r0.m288a();\t Catch:{ IllegalAccessException -> 0x0023 }\n r1 = java.lang.Short.valueOf(r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n r7.put(r0, r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n goto L_0x0011;\n L_0x0038:\n r2 = r6.getLong(r5);\t Catch:{ IllegalAccessException -> 0x0023 }\n r0 = r0.m288a();\t Catch:{ IllegalAccessException -> 0x0023 }\n r1 = java.lang.Long.valueOf(r2);\t Catch:{ IllegalAccessException -> 0x0023 }\n r7.put(r0, r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n goto L_0x0011;\n L_0x0048:\n r2 = r6.getDouble(r5);\t Catch:{ IllegalAccessException -> 0x0023 }\n r0 = r0.m288a();\t Catch:{ IllegalAccessException -> 0x0023 }\n r1 = java.lang.Double.valueOf(r2);\t Catch:{ IllegalAccessException -> 0x0023 }\n r7.put(r0, r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n goto L_0x0011;\n L_0x0058:\n r1 = \"\";\n r1 = r6.get(r5);\t Catch:{ IllegalAccessException -> 0x0023 }\n r1 = (java.lang.String) r1;\t Catch:{ IllegalAccessException -> 0x0023 }\n r0 = r0.m288a();\t Catch:{ IllegalAccessException -> 0x0023 }\n r7.put(r0, r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n goto L_0x0011;\n L_0x0069:\n r1 = r6.getFloat(r5);\t Catch:{ IllegalAccessException -> 0x0023 }\n r0 = r0.m288a();\t Catch:{ IllegalAccessException -> 0x0023 }\n r1 = java.lang.Float.valueOf(r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n r7.put(r0, r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n goto L_0x0011;\n L_0x0079:\n r1 = r6.get(r5);\t Catch:{ IllegalAccessException -> 0x0023 }\n r1 = (byte[]) r1;\t Catch:{ IllegalAccessException -> 0x0023 }\n r1 = (byte[]) r1;\t Catch:{ IllegalAccessException -> 0x0023 }\n r0 = r0.m288a();\t Catch:{ IllegalAccessException -> 0x0023 }\n r7.put(r0, r1);\t Catch:{ IllegalAccessException -> 0x0023 }\n goto L_0x0011;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.loc.m.bvN(java.lang.Object, java.lang.reflect.Field, android.content.ContentValues):void\");\n }", "title": "" }, { "docid": "1f50969ab7a7592f9bad97fcf140dc33", "score": "0.543978", "text": "public JJITInstruction run(KFrame frame) throws Exception {\n int local_17 = frame.getLocal(17).intValue();\n // local_16 16 ; r=1/w=0 : NotCached\n // local_6 6 ; r=1/w=0 : NotCached\n // local_8 8 ; r=1/w=0 : NotCached\n // local_14 14 ; r=4/w=0 : Cached\n KRegister local_14 = frame.getLocal(14);\n // local_15 15 ; r=1/w=0 : NotCached\n // *********[49] ALOAD(14)\n // **REMOVED Substitution** s0 = local_14;\n // *********[50] ILOAD(17)\n // **REMOVED Substitution** s1 = new KInteger(local_17);\n // *********[51] DLOAD(6)\n // **REMOVED Substitution** s2 = frame.getLocal(6);\n // *********[52] ALOAD(15)\n // **REMOVED Substitution** s3 = frame.getLocal(15);\n // *********[53] ILOAD(17)\n // **REMOVED Substitution** s4 = new KInteger(local_17);\n // *********[54] DALOAD\n // **REMOVED Substitution** index = local_17;\n // **REMOVED Substitution** s3 = new KDouble(c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17));\n // *********[55] ALOAD(16)\n // **REMOVED Substitution** s4 = frame.getLocal(16);\n // *********[56] ILOAD(17)\n // **REMOVED Substitution** s5 = new KInteger(local_17);\n // *********[57] DALOAD\n // **REMOVED Substitution** index = local_17;\n // **REMOVED Substitution** s4 = new KDouble(c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17));\n // *********[58] DADD\n // **REMOVED Substitution** m_d = c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17);\n // **REMOVED Substitution** s3 = new KDouble((c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17) + c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17)));\n // *********[59] ALOAD(14)\n // **REMOVED Substitution** s4 = local_14;\n // *********[60] ILOAD(17)\n // **REMOVED Substitution** s5 = new KInteger(local_17);\n // *********[61] ICONST_1(Integer{1})\n // **REMOVED Substitution** s6 = IONE;\n // *********[62] ISUB\n // **REMOVED Substitution** index = 1;\n // **REMOVED Substitution** s5 = new KInteger((local_17 - 1));\n // *********[63] DALOAD\n // **REMOVED Substitution** index = (local_17 - 1);\n // **REMOVED Substitution** s4 = new KDouble(c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1)));\n // *********[64] DADD\n // **REMOVED Substitution** m_d2 = c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1));\n // **REMOVED Substitution** s3 = new KDouble(((c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17) + c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17)) + c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1))));\n // *********[65] ALOAD(14)\n // **REMOVED Substitution** s4 = local_14;\n // *********[66] ILOAD(17)\n // **REMOVED Substitution** s5 = new KInteger(local_17);\n // *********[67] ICONST_1(Integer{1})\n // **REMOVED Substitution** s6 = IONE;\n // *********[68] IADD\n // **REMOVED Substitution** index = 1;\n // **REMOVED Substitution** s5 = new KInteger((local_17 + 1));\n // *********[69] DALOAD\n // **REMOVED Substitution** index = (local_17 + 1);\n // **REMOVED Substitution** s4 = new KDouble(c_memman.getDoubleArray(((KReference)local_14),(local_17 + 1)));\n // *********[70] DADD\n // **REMOVED Substitution** m_d3 = c_memman.getDoubleArray(((KReference)local_14),(local_17 + 1));\n // **REMOVED Substitution** s3 = new KDouble((((c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17) + c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17)) + c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1))) + c_memman.getDoubleArray(((KReference)local_14),(local_17 + 1))));\n // *********[71] DMUL\n // **REMOVED Substitution** m_d4 = (((c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17) + c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17)) + c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1))) + c_memman.getDoubleArray(((KReference)local_14),(local_17 + 1)));\n // **REMOVED Substitution** s2 = new KDouble((frame.getLocal(6).doubleValue() * (((c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17) + c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17)) + c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1))) + c_memman.getDoubleArray(((KReference)local_14),(local_17 + 1)))));\n // *********[72] DLOAD(8)\n // **REMOVED Substitution** s3 = frame.getLocal(8);\n // *********[73] ALOAD(14)\n // **REMOVED Substitution** s4 = local_14;\n // *********[74] ILOAD(17)\n // **REMOVED Substitution** s5 = new KInteger(local_17);\n // *********[75] DALOAD\n // **REMOVED Substitution** index = local_17;\n // **REMOVED Substitution** s4 = new KDouble(c_memman.getDoubleArray(((KReference)local_14),local_17));\n // *********[76] DMUL\n // **REMOVED Substitution** m_d5 = c_memman.getDoubleArray(((KReference)local_14),local_17);\n // **REMOVED Substitution** s3 = new KDouble((frame.getLocal(8).doubleValue() * c_memman.getDoubleArray(((KReference)local_14),local_17)));\n // *********[77] DADD\n // **REMOVED Substitution** m_d6 = (frame.getLocal(8).doubleValue() * c_memman.getDoubleArray(((KReference)local_14),local_17));\n // **REMOVED Substitution** s2 = new KDouble(((frame.getLocal(6).doubleValue() * (((c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17) + c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17)) + c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1))) + c_memman.getDoubleArray(((KReference)local_14),(local_17 + 1)))) + (frame.getLocal(8).doubleValue() * c_memman.getDoubleArray(((KReference)local_14),local_17))));\n // *********[78] DASTORE\n // **REMOVED Substitution** m_d7 = ((frame.getLocal(6).doubleValue() * (((c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17) + c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17)) + c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1))) + c_memman.getDoubleArray(((KReference)local_14),(local_17 + 1)))) + (frame.getLocal(8).doubleValue() * c_memman.getDoubleArray(((KReference)local_14),local_17)));\n // **REMOVED Substitution** index = local_17;\n c_memman.setDoubleArray(((KReference)local_14),local_17,((frame.getLocal(6).doubleValue() * (((c_memman.getDoubleArray(((KReference)frame.getLocal(15)),local_17) + c_memman.getDoubleArray(((KReference)frame.getLocal(16)),local_17)) + c_memman.getDoubleArray(((KReference)local_14),(local_17 - 1))) + c_memman.getDoubleArray(((KReference)local_14),(local_17 + 1)))) + (frame.getLocal(8).doubleValue() * c_memman.getDoubleArray(((KReference)local_14),local_17))));\n // *********[79] IINC(17,1)\n // **REMOVED Substitution** local_17 = (local_17 + 1);\n frame.setLocal(17,new KInteger((local_17 + 1)));\n return c_next;\n }", "title": "" }, { "docid": "7be746ef3767926a0c9b8c6b84f18fef", "score": "0.5437536", "text": "private void a() {\n /*\n r4 = this;\n r1 = 0\n java.io.ByteArrayInputStream r0 = new java.io.ByteArrayInputStream // Catch:{ Exception -> 0x0025, all -> 0x0032 }\n byte[] r2 = com.baidu.location.b.b.b.a() // Catch:{ Exception -> 0x0025, all -> 0x0032 }\n r0.<init>(r2) // Catch:{ Exception -> 0x0025, all -> 0x0032 }\n java.lang.String r1 = \"X.509\"\n java.security.cert.CertificateFactory r1 = java.security.cert.CertificateFactory.getInstance(r1) // Catch:{ Exception -> 0x0043, all -> 0x003e }\n java.security.cert.Certificate r1 = r1.generateCertificate(r0) // Catch:{ Exception -> 0x0043, all -> 0x003e }\n java.security.PublicKey r1 = r1.getPublicKey() // Catch:{ Exception -> 0x0043, all -> 0x003e }\n r4.c = r1 // Catch:{ Exception -> 0x0043, all -> 0x003e }\n if (r0 == 0) goto L_0x001f\n r0.close() // Catch:{ Exception -> 0x0020 }\n L_0x001f:\n return\n L_0x0020:\n r0 = move-exception\n b((java.lang.Throwable) r0)\n goto L_0x001f\n L_0x0025:\n r0 = move-exception\n r0 = r1\n L_0x0027:\n if (r0 == 0) goto L_0x001f\n r0.close() // Catch:{ Exception -> 0x002d }\n goto L_0x001f\n L_0x002d:\n r0 = move-exception\n b((java.lang.Throwable) r0)\n goto L_0x001f\n L_0x0032:\n r0 = move-exception\n L_0x0033:\n if (r1 == 0) goto L_0x0038\n r1.close() // Catch:{ Exception -> 0x0039 }\n L_0x0038:\n throw r0\n L_0x0039:\n r1 = move-exception\n b((java.lang.Throwable) r1)\n goto L_0x0038\n L_0x003e:\n r1 = move-exception\n r3 = r1\n r1 = r0\n r0 = r3\n goto L_0x0033\n L_0x0043:\n r1 = move-exception\n goto L_0x0027\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.baidu.location.b.b.c.a():void\");\n }", "title": "" }, { "docid": "552e252b15584a29fb7af54b0bd5a4ed", "score": "0.5435862", "text": "private boolean r_Step_2()\r\n/* */ {\r\n/* 351 */ this.ket = this.cursor;\r\n/* */ \r\n/* 353 */ int among_var = find_among_b(a_3, 20);\r\n/* 354 */ if (among_var == 0)\r\n/* */ {\r\n/* 356 */ return false;\r\n/* */ }\r\n/* */ \r\n/* 359 */ this.bra = this.cursor;\r\n/* */ \r\n/* 361 */ if (!r_R1())\r\n/* */ {\r\n/* 363 */ return false;\r\n/* */ }\r\n/* 365 */ switch (among_var) {\r\n/* */ case 0: \r\n/* 367 */ return false;\r\n/* */ \r\n/* */ \r\n/* */ case 1: \r\n/* 371 */ slice_from(\"tion\");\r\n/* 372 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 2: \r\n/* 376 */ slice_from(\"ence\");\r\n/* 377 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 3: \r\n/* 381 */ slice_from(\"ance\");\r\n/* 382 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 4: \r\n/* 386 */ slice_from(\"able\");\r\n/* 387 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 5: \r\n/* 391 */ slice_from(\"ent\");\r\n/* 392 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 6: \r\n/* 396 */ slice_from(\"e\");\r\n/* 397 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 7: \r\n/* 401 */ slice_from(\"ize\");\r\n/* 402 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 8: \r\n/* 406 */ slice_from(\"ate\");\r\n/* 407 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 9: \r\n/* 411 */ slice_from(\"al\");\r\n/* 412 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 10: \r\n/* 416 */ slice_from(\"al\");\r\n/* 417 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 11: \r\n/* 421 */ slice_from(\"ful\");\r\n/* 422 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 12: \r\n/* 426 */ slice_from(\"ous\");\r\n/* 427 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 13: \r\n/* 431 */ slice_from(\"ive\");\r\n/* 432 */ break;\r\n/* */ \r\n/* */ \r\n/* */ case 14: \r\n/* 436 */ slice_from(\"ble\");\r\n/* */ }\r\n/* */ \r\n/* 439 */ return true;\r\n/* */ }", "title": "" }, { "docid": "6c36299629e6ed07c484f87f911d469e", "score": "0.54339904", "text": "@Override\n public void a() {\n block14 : {\n var13_1 = f.a;\n var1_2 = this.c.c(\"y.layout.orthogonal.cluster.NodeSplitter.INSETS_KEY\");\n if (var1_2 != null) {\n var2_3 = this.c.p();\n while (var2_3.f()) {\n var3_4 = var2_3.a();\n v0 = this;\n if (!var13_1) {\n if (!v0.b.c((d)var3_4)) {\n var4_5 = r.a(var1_2.b(var3_4));\n var5_6 = this.b.h((d)var3_4);\n if (var4_5 != null) {\n var6_7 = 0.0;\n var8_9 = 0.0;\n if (var5_6.a(y.f.f.b.o.a)) {\n var6_7 = var4_5.b;\n }\n if (var5_6.a(y.f.f.b.o.b)) {\n var6_7 = var4_5.a;\n }\n if (var5_6.a(y.f.f.b.o.c)) {\n var8_9 = var4_5.d;\n }\n if (var5_6.a(y.f.f.b.o.d)) {\n var8_9 = var4_5.c;\n }\n var8_9 = Math.ceil(var8_9 / (double)this.f);\n var6_7 = Math.ceil(var6_7 / (double)this.f);\n this.b.c((d)var3_4, (int)var8_9);\n this.b.c(this.b.a((d)var3_4), (int)var8_9);\n this.b.d((d)var3_4, (int)var6_7);\n this.b.d(this.b.a((d)var3_4), (int)var6_7);\n }\n }\n var2_3.g();\n if (!var13_1) continue;\n }\n break;\n }\n } else {\n v0 = this;\n }\n var2_3 = v0.c.c(y.f.b.f.f);\n var3_4 = this.c.c(\"y.layout.orthogonal.cluster.NodeSplitter.BORDER_INFO_KEY\");\n if (var2_3 == null || var3_4 == null) ** GOTO lbl69\n var4_5 = new y();\n var5_6 = this.c.t();\n var6_8 = this.c.p();\n while (var6_8.f()) {\n var7_13 = var6_8.a();\n var8_11 = (y.c.q)var3_4.b(var7_13);\n v1 = this;\n if (var13_1) break block14;\n if (v1.b.c(var7_13) || var8_11 == null) ** GOTO lbl52\n var9_16 = (y.c.f)var5_6.b(var8_11);\n if (var9_16 == null) ** GOTO lbl-1000\n var9_16.add(var7_13);\n if (var13_1) lbl-1000: // 2 sources:\n {\n var9_16 = new y.c.f(var7_13);\n var5_6.a((Object)var8_11, var9_16);\n var4_5.add(var8_11);\n }\nlbl52: // 4 sources:\n var6_8.g();\n if (!var13_1) continue;\n }\n var6_8 = var4_5.a();\n while (var6_8.f()) {\n var7_15 = var6_8.e();\n var8_12 = (y.c.f)var5_6.b(var7_15);\n var9_16 = (q)var2_3.b(var7_15);\n if (var13_1 != false) return;\n if (var9_16 != null) {\n var10_17 = (int)Math.ceil(var9_16.a() / (double)this.f);\n var11_18 = (int)Math.ceil(var9_16.b() / (double)this.f);\n var12_19 = this.a(var8_12);\n this.b.a(new y.f.f.b.n(var12_19.a, var12_19.c, var10_17, 1, y.f.f.b.o.b));\n this.b.a(new y.f.f.b.n(var12_19.a, var12_19.c, var11_18, 1, y.f.f.b.o.c));\n }\n var6_8.g();\n if (!var13_1) continue;\n }\n this.c.a((A)var5_6);\nlbl69: // 2 sources:\n v1 = this;\n }\n super.a();\n }", "title": "" }, { "docid": "d11088201469f0fb2ae89706c29119a3", "score": "0.54203784", "text": "void a(java.util.List<java.lang.String> r13, com.tencent.stat.c r14) {\n /*\n r12 = this;\n r10 = 0;\n r9 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n r1 = 0;\n r3 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x015f }\n r3.<init>();\t Catch:{ Throwable -> 0x015f }\n r0 = \"[\";\n r3.append(r0);\t Catch:{ Throwable -> 0x015f }\n r2 = r1;\n L_0x0011:\n r0 = r13.size();\t Catch:{ Throwable -> 0x015f }\n if (r2 >= r0) goto L_0x0032;\n L_0x0017:\n r0 = r13.get(r2);\t Catch:{ Throwable -> 0x015f }\n r0 = (java.lang.String) r0;\t Catch:{ Throwable -> 0x015f }\n r3.append(r0);\t Catch:{ Throwable -> 0x015f }\n r0 = r13.size();\t Catch:{ Throwable -> 0x015f }\n r0 = r0 + -1;\n if (r2 == r0) goto L_0x002e;\n L_0x0028:\n r0 = \",\";\n r3.append(r0);\t Catch:{ Throwable -> 0x015f }\n L_0x002e:\n r0 = r2 + 1;\n r2 = r0;\n goto L_0x0011;\n L_0x0032:\n r0 = \"]\";\n r3.append(r0);\t Catch:{ Throwable -> 0x015f }\n r0 = com.tencent.stat.StatConfig.getStatReportUrl();\t Catch:{ Throwable -> 0x015f }\n r2 = c;\t Catch:{ Throwable -> 0x015f }\n r4 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x015f }\n r4.<init>();\t Catch:{ Throwable -> 0x015f }\n r5 = \"[\";\n r4 = r4.append(r5);\t Catch:{ Throwable -> 0x015f }\n r4 = r4.append(r0);\t Catch:{ Throwable -> 0x015f }\n r5 = \"]Send request(\";\n r4 = r4.append(r5);\t Catch:{ Throwable -> 0x015f }\n r5 = r3.toString();\t Catch:{ Throwable -> 0x015f }\n r5 = r5.length();\t Catch:{ Throwable -> 0x015f }\n r4 = r4.append(r5);\t Catch:{ Throwable -> 0x015f }\n r5 = \"bytes):\";\n r4 = r4.append(r5);\t Catch:{ Throwable -> 0x015f }\n r5 = r3.toString();\t Catch:{ Throwable -> 0x015f }\n r4 = r4.append(r5);\t Catch:{ Throwable -> 0x015f }\n r4 = r4.toString();\t Catch:{ Throwable -> 0x015f }\n r2.i(r4);\t Catch:{ Throwable -> 0x015f }\n r2 = new org.apache.http.client.methods.HttpPost;\t Catch:{ Throwable -> 0x015f }\n r2.<init>(r0);\t Catch:{ Throwable -> 0x015f }\n r0 = \"Accept-Encoding\";\n r4 = \"gzip\";\n r2.addHeader(r0, r4);\t Catch:{ Throwable -> 0x015f }\n r0 = \"Connection\";\n r4 = \"Keep-Alive\";\n r2.setHeader(r0, r4);\t Catch:{ Throwable -> 0x015f }\n r0 = \"Cache-Control\";\n r2.removeHeaders(r0);\t Catch:{ Throwable -> 0x015f }\n r0 = f;\t Catch:{ Throwable -> 0x015f }\n r4 = com.tencent.stat.common.k.a(r0);\t Catch:{ Throwable -> 0x015f }\n if (r4 == 0) goto L_0x00cb;\n L_0x009c:\n r0 = r12.a;\t Catch:{ Throwable -> 0x015f }\n r0 = r0.getParams();\t Catch:{ Throwable -> 0x015f }\n r1 = \"http.route.default-proxy\";\n r5 = f;\t Catch:{ Throwable -> 0x015f }\n r5 = com.tencent.stat.common.k.a(r5);\t Catch:{ Throwable -> 0x015f }\n r0.setParameter(r1, r5);\t Catch:{ Throwable -> 0x015f }\n r0 = \"X-Online-Host\";\n r1 = \"pingma.qq.com:80\";\n r2.addHeader(r0, r1);\t Catch:{ Throwable -> 0x015f }\n r0 = \"Accept\";\n r1 = \"*/\n *\";\n r2.addHeader(r0, r1);\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = \"Content-Type\";\n r1 = \"json\";\n r2.addHeader(r0, r1);\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = 1;\n r1 = r0;\n L_0x00cb:\n r5 = new java.io.ByteArrayOutputStream; Catch:\n {\n Throwable -> 0x015f\n }\n r5.<init> (); Catch:\n {\n Throwable -> 0x015f\n }\n r0 = r3.toString();\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = \"UTF-8\";\n r0 = r0.getBytes(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = r0.length;\n Catch:\n {\n Throwable -> 0x015f\n }\n r3 = r3.length();\n Catch:\n {\n Throwable -> 0x015f\n }\n r7 = 256; // 0x100 float:3.59E-43 double:1.265E-321;\n if (r3 >= r7)goto L_0x0174;\n L_0x00e4:\n if (r4 != 0)goto L_0x0155;\n L_0x00e6:\n r3 = \"Content-Encoding\";\n r4 = \"rc4\";\n r2.addHeader(r3, r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n L_0x00ef:\n r0 = com.tencent.stat.common.e.a(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n r3 = new org.apache.http.entity.ByteArrayEntity; Catch:\n {\n Throwable -> 0x015f\n }\n r3.<init> (r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n r2.setEntity(r3);\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = r12.a;\n Catch:\n {\n Throwable -> 0x015f\n }\n r2 = r0.execute(r2);\n Catch:\n {\n Throwable -> 0x015f\n }\n if (r1 == 0)goto L_0x010f;\n L_0x0103:\n r0 = r12.a;\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = r0.getParams();\n Catch:\n {\n Throwable -> 0x015f\n }\n r1 = \"http.route.default-proxy\";\n r0.removeParameter(r1);\n Catch:\n {\n Throwable -> 0x015f\n }\n L_0x010f:\n r0 = r2.getEntity();\n Catch:\n {\n Throwable -> 0x015f\n }\n r1 = r2.getStatusLine();\n Catch:\n {\n Throwable -> 0x015f\n }\n r1 = r1.getStatusCode();\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = r0.getContentLength();\n Catch:\n {\n Throwable -> 0x015f\n }\n r3 = c;\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = new java.lang.StringBuilder; Catch:\n {\n Throwable -> 0x015f\n }\n r4.<init> (); Catch:\n {\n Throwable -> 0x015f\n }\n r8 = \"recv response status code:\";\n r4 = r4.append(r8);\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = r4.append(r1);\n Catch:\n {\n Throwable -> 0x015f\n }\n r8 = \", content length:\";\n r4 = r4.append(r8);\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = r4.append(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = r4.toString();\n Catch:\n {\n Throwable -> 0x015f\n }\n r3.i(r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n r3 = (r6 > r10 ? 1 : (r6 == r10 ? 0 : -1));\n if (r3 != 0)goto L_0x01f0;\n L_0x0147:\n org.apache.http.util.EntityUtils.toString(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n if (r1 != r9)goto L_0x01d5;\n L_0x014c:\n if (r14 == 0)goto L_0x0151;\n L_0x014e:\n r14.a();\n Catch:\n {\n Throwable -> 0x015f\n }\n L_0x0151:\n r5.close();\n Catch:\n {\n Throwable -> 0x015f\n }\n L_0x0154:\n return;\n L_0x0155:\n r3 = \"X-Content-Encoding\";\n r4 = \"rc4\";\n r2.addHeader(r3, r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x00ef;\n L_0x015f:\n r0 = move - exception;\n r1 = c;\n Catch:\n {\n all -> 0x0172\n }\n r1.e(r0);\n Catch:\n {\n all -> 0x0172\n }\n if (r14 == 0)goto L_0x0154;\n L_0x0167:\n r14.b();\n Catch:\n {\n Throwable -> 0x016b\n }\n goto L_0x0154;\n L_0x016b:\n r0 = move - exception;\n r1 = c;\n Catch:\n {\n all -> 0x0172\n }\n r1.e(r0);\n Catch:\n {\n all -> 0x0172\n }\n goto L_0x0154;\n L_0x0172:\n r0 = move - exception;\n throw r0;\n L_0x0174:\n if (r4 != 0)goto L_0x01cb;\n L_0x0176:\n r3 = \"Content-Encoding\";\n r4 = \"rc4,gzip\";\n r2.addHeader(r3, r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n L_0x017f:\n r3 = 4;\n r3 = new byte[r3];\n Catch:\n {\n Throwable -> 0x015f\n }\n r5.write(r3);\n Catch:\n {\n Throwable -> 0x015f\n }\n r3 = new java.util.zip.GZIPOutputStream; Catch:\n {\n Throwable -> 0x015f\n }\n r3.<init> (r5);\n Catch:\n {\n Throwable -> 0x015f\n }\n r3.write(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n r3.close();\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = r5.toByteArray();\n Catch:\n {\n Throwable -> 0x015f\n }\n r3 = 0;\n r4 = 4;\n r3 = java.nio.ByteBuffer.wrap(r0, r3, r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n r3.putInt(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r3 = c;\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = new java.lang.StringBuilder; Catch:\n {\n Throwable -> 0x015f\n }\n r4.<init> (); Catch:\n {\n Throwable -> 0x015f\n }\n r7 = \"before Gzip:\";\n r4 = r4.append(r7);\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = r4.append(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = \" bytes, after Gzip:\";\n r4 = r4.append(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = r0.length;\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = r4.append(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = \" bytes\";\n r4 = r4.append(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = r4.toString();\n Catch:\n {\n Throwable -> 0x015f\n }\n r3.d(r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x00ef;\n L_0x01cb:\n r3 = \"X-Content-Encoding\";\n r4 = \"rc4,gzip\";\n r2.addHeader(r3, r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x017f;\n L_0x01d5:\n r0 = c;\n Catch:\n {\n Throwable -> 0x015f\n }\n r2 = new java.lang.StringBuilder; Catch:\n {\n Throwable -> 0x015f\n }\n r2.<init> (); Catch:\n {\n Throwable -> 0x015f\n }\n r3 = \"Server response error code:\";\n r2 = r2.append(r3);\n Catch:\n {\n Throwable -> 0x015f\n }\n r1 = r2.append(r1);\n Catch:\n {\n Throwable -> 0x015f\n }\n r1 = r1.toString();\n Catch:\n {\n Throwable -> 0x015f\n }\n r0.error(r1);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x0151;\n L_0x01f0:\n r3 = (r6 > r10 ? 1 : (r6 == r10 ? 0 : -1));\n if (r3 <= 0)goto L_0x0345;\n L_0x01f4:\n r3 = r0.getContent();\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = new java.io.DataInputStream; Catch:\n {\n Throwable -> 0x015f\n }\n r4.<init> (r3);\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = r0.getContentLength();\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = (int) r6;\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = new byte[r0];\n Catch:\n {\n Throwable -> 0x015f\n }\n r4.readFully(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n r3.close();\n Catch:\n {\n Throwable -> 0x015f\n }\n r4.close();\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = \"Content-Encoding\";\n r2 = r2.getFirstHeader(r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n if (r2 == 0)goto L_0x022b;\n L_0x0216:\n r4 = r2.getValue();\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = \"gzip,rc4\";\n r4 = r4.equalsIgnoreCase(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n if (r4 == 0)goto L_0x02b9;\n L_0x0223:\n r0 = com.tencent.stat.common.k.a(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = com.tencent.stat.common.e.b(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n L_0x022b:\n if (r1 != r9)goto L_0x0317;\n L_0x022d:\n r1 = new java.lang.String; Catch:\n {\n Throwable -> 0x030c\n }\n r2 = \"UTF-8\";\n r1.<init> (r0, r2);\n Catch:\n {\n Throwable -> 0x030c\n }\n r0 = c;\n Catch:\n {\n Throwable -> 0x030c\n }\n r0.d(r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n r0 = new org.json.JSONObject; Catch:\n {\n Throwable -> 0x030c\n }\n r0.<init> (r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n r2 = \"cfg\";\n r2 = r0.isNull(r2);\n Catch:\n {\n Throwable -> 0x030c\n }\n if (r2 != 0)goto L_0x0252;\n L_0x0248:\n r2 = \"cfg\";\n r2 = r0.getJSONObject(r2);\n Catch:\n {\n Throwable -> 0x030c\n }\n com.tencent.stat.StatConfig.a(r2);\n Catch:\n {\n Throwable -> 0x030c\n }\n L_0x0252:\n r2 = \"et\";\n r2 = r0.isNull(r2);\n Catch:\n {\n Throwable -> 0x030c\n }\n if (r2 != 0)goto L_0x02af;\n L_0x025b:\n r2 = \"st\";\n r2 = r0.isNull(r2);\n Catch:\n {\n Throwable -> 0x030c\n }\n if (r2 != 0)goto L_0x02af;\n L_0x0264:\n r2 = c;\n Catch:\n {\n Throwable -> 0x030c\n }\n r4 = new java.lang.StringBuilder; Catch:\n {\n Throwable -> 0x030c\n }\n r4.<init> (); Catch:\n {\n Throwable -> 0x030c\n }\n r6 = \"get mid respone:\";\n r4 = r4.append(r6);\n Catch:\n {\n Throwable -> 0x030c\n }\n r1 = r4.append(r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n r1 = r1.toString();\n Catch:\n {\n Throwable -> 0x030c\n }\n r2.d(r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n r1 = \"et\";\n r1 = r0.getInt(r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n r2 = com.tencent.stat.a.f.SESSION_ENV;\n Catch:\n {\n Throwable -> 0x030c\n }\n r2 = r2.a();\n Catch:\n {\n Throwable -> 0x030c\n }\n if (r1 != r2)goto L_0x02af;\n L_0x028c:\n r1 = \"st\";\n r1 = r0.getInt(r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n switch (r1) {\n case -1:goto L_0x02f6;\n case 0:goto L_0x02f6;\n default:goto L_0x0296;\n } ;\n Catch:\n {\n Throwable -> 0x030c\n }\n L_0x0296:\n r0 = c;\n Catch:\n {\n Throwable -> 0x030c\n }\n r2 = new java.lang.StringBuilder; Catch:\n {\n Throwable -> 0x030c\n }\n r2.<init> (); Catch:\n {\n Throwable -> 0x030c\n }\n r4 = \"error type for st:\";\n r2 = r2.append(r4);\n Catch:\n {\n Throwable -> 0x030c\n }\n r1 = r2.append(r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n r1 = r1.toString();\n Catch:\n {\n Throwable -> 0x030c\n }\n r0.e(r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n L_0x02af:\n if (r14 == 0)goto L_0x02b4;\n L_0x02b1:\n r14.a();\n Catch:\n {\n Throwable -> 0x015f\n }\n L_0x02b4:\n r3.close();\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x0151;\n L_0x02b9:\n r4 = r2.getValue();\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = \"rc4,gzip\";\n r4 = r4.equalsIgnoreCase(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n if (r4 == 0)goto L_0x02d0;\n L_0x02c6:\n r0 = com.tencent.stat.common.e.b(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = com.tencent.stat.common.k.a(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x022b;\n L_0x02d0:\n r4 = r2.getValue();\n Catch:\n {\n Throwable -> 0x015f\n }\n r6 = \"gzip\";\n r4 = r4.equalsIgnoreCase(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n if (r4 == 0)goto L_0x02e3;\n L_0x02dd:\n r0 = com.tencent.stat.common.k.a(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x022b;\n L_0x02e3:\n r2 = r2.getValue();\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = \"rc4\";\n r2 = r2.equalsIgnoreCase(r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n if (r2 == 0)goto L_0x022b;\n L_0x02f0:\n r0 = com.tencent.stat.common.e.b(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x022b;\n L_0x02f6:\n r1 = \"mid\";\n r1 = r0.isNull(r1);\n Catch:\n {\n Throwable -> 0x030c\n }\n if (r1 != 0)goto L_0x02af;\n L_0x02ff:\n r1 = f;\n Catch:\n {\n Throwable -> 0x030c\n }\n r2 = \"mid\";\n r0 = r0.getString(r2);\n Catch:\n {\n Throwable -> 0x030c\n }\n com.tencent.stat.StatMid.updateDeviceInfo(r1, r0);\n Catch:\n {\n Throwable -> 0x030c\n }\n goto L_0x02af;\n L_0x030c:\n r0 = move - exception;\n r1 = c;\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = r0.toString();\n Catch:\n {\n Throwable -> 0x015f\n }\n r1.i(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x02af;\n L_0x0317:\n r2 = c;\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = new java.lang.StringBuilder; Catch:\n {\n Throwable -> 0x015f\n }\n r4.<init> (); Catch:\n {\n Throwable -> 0x015f\n }\n r6 = \"Server response error code:\";\n r4 = r4.append(r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r1 = r4.append(r1);\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = \", error:\";\n r1 = r1.append(r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n r4 = new java.lang.String; Catch:\n {\n Throwable -> 0x015f\n }\n r6 = \"UTF-8\";\n r4.<init> (r0, r6);\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = r1.append(r4);\n Catch:\n {\n Throwable -> 0x015f\n }\n r0 = r0.toString();\n Catch:\n {\n Throwable -> 0x015f\n }\n r2.error(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x02b4;\n L_0x0345:\n org.apache.http.util.EntityUtils.toString(r0);\n Catch:\n {\n Throwable -> 0x015f\n }\n goto L_0x0151;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.stat.d.a(java.util.List, com.tencent.stat.c):void\");\n }", "title": "" }, { "docid": "83ba1ef6683340dc6e4dd7eb71210fee", "score": "0.5396531", "text": "public final void run() {\n /*\n r53 = this;\n L_0x0000:\n r6 = r53\n X.D1y r0 = r6.A01 // Catch:{ InterruptedException -> 0x03b1 }\n java.util.concurrent.BlockingQueue r0 = r0.A0B // Catch:{ InterruptedException -> 0x03b1 }\n java.lang.Object r0 = r0.take() // Catch:{ InterruptedException -> 0x03b1 }\n X.D1R r0 = (p000X.D1R) r0 // Catch:{ InterruptedException -> 0x03b1 }\n X.D1Z r1 = r0.A03 // Catch:{ InterruptedException -> 0x03b1 }\n android.net.Uri r1 = r1.A02 // Catch:{ InterruptedException -> 0x03b1 }\n r18 = r1\n X.D1y r2 = r6.A01\n boolean r1 = r2.A07\n if (r1 == 0) goto L_0x002c\n X.D23 r3 = r2.A09\n X.Cuo r1 = r0.A04\n java.lang.String r2 = r1.A04\n r1 = r18\n byte[] r1 = r3.A01(r2, r1)\n if (r1 == 0) goto L_0x002c\n java.lang.Integer r1 = p000X.Constants.ONE\n r0.A00(r1)\n goto L_0x0000\n L_0x002c:\n java.lang.Integer r2 = r0.A01\n java.lang.Integer r1 = p000X.Constants.ZERO\n if (r2 != r1) goto L_0x0000\n r17 = 2\n r5 = 1\n r4 = 0\n X.D1H r3 = new X.D1H // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r3.<init>() // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1Q r7 = new X.D1Q // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1y r1 = r6.A01 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D2V r2 = r1.A02 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r1 = 0\n r7.<init>(r1, r2) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1U r1 = r7.A00 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r3.A00(r1) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1u r1 = r0.A06 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D2G r1 = r1.A00() // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D29 r8 = r0.A05 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n if (r8 == 0) goto L_0x00ba\n X.D1N r7 = new X.D1N // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.Cuo r13 = r0.A04 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r21 = 0\n r24 = 1\n java.lang.String r12 = r0.A08 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r26 = 0\n X.Cv5 r2 = p000X.C29279Cv5.A00 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.String r27 = r2.A01() // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r28 = 0\n java.lang.String r11 = r0.A07 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1Z r2 = r0.A03 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.Integer r10 = r2.A04 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r31 = 0\n r32 = 0\n if (r1 == 0) goto L_0x007c\n X.D2U r2 = r1.A01 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n boolean r2 = r2.A0I // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r33 = 1\n if (r2 != 0) goto L_0x007e\n L_0x007c:\n r33 = 0\n L_0x007e:\n if (r1 == 0) goto L_0x0088\n X.D2U r2 = r1.A01 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n boolean r2 = r2.A0J // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r34 = 1\n if (r2 != 0) goto L_0x008a\n L_0x0088:\n r34 = 0\n L_0x008a:\n if (r1 == 0) goto L_0x0094\n X.D2U r2 = r1.A01 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n boolean r2 = r2.A0K // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r35 = 1\n if (r2 != 0) goto L_0x0096\n L_0x0094:\n r35 = 0\n L_0x0096:\n if (r1 == 0) goto L_0x00a0\n X.D2U r2 = r1.A01 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n boolean r2 = r2.A0G // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r36 = 1\n if (r2 != 0) goto L_0x00a2\n L_0x00a0:\n r36 = 0\n L_0x00a2:\n r37 = 0\n r38 = 0\n r39 = 0\n r23 = r8\n r25 = r12\n r29 = r11\n r30 = r10\n r19 = r7\n r20 = r13\n r19.<init>(r20, r21, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r3.A00(r7) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n L_0x00ba:\n X.DCI r2 = r0.A02 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n if (r2 == 0) goto L_0x00c3\n X.DCH r2 = r2.A0Z // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r3.A00(r2) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n L_0x00c3:\n X.D1Z r7 = r0.A03 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.Integer r2 = r7.A04 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n if (r2 != 0) goto L_0x00cb\n java.lang.Integer r2 = p000X.Constants.ZERO // Catch:{ IOException | RuntimeException -> 0x02e1 }\n L_0x00cb:\n int r27 = p000X.C43721uy.A00(r2) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1J r2 = new X.D1J // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.Cuo r12 = r0.A04 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1y r8 = r6.A01 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.String r11 = r8.A03 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D23 r10 = r8.A09 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.Cv2 r8 = r3.A00 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r19 = r2\n X.Cv5 r25 = p000X.C29279Cv5.A00 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r20 = r12\n r21 = r11\n r22 = r10\n r23 = r3\n r24 = r8\n r19.<init>(r20, r21, r22, r23, r24, r25) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1M r1 = new X.D1M // Catch:{ IOException | RuntimeException -> 0x02e1 }\n android.net.Uri r13 = r7.A02 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r43 = 0\n r50 = 0\n X.D1P r19 = new X.D1P // Catch:{ IOException | RuntimeException -> 0x02e1 }\n com.google.android.exoplayer2.Format r3 = r7.A03 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.String r12 = r3.A0P // Catch:{ IOException | RuntimeException -> 0x02e1 }\n int r3 = r3.A04 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n long r10 = (long) r3 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r23 = 0\n int r8 = r7.A01 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n int r7 = r7.A00 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r26 = -1\n r28 = 0\n r29 = 0\n r30 = -1\n r31 = -1\n X.D1B r3 = new X.D1B // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r3.<init>(r5) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r34 = 0\n r36 = 0\n r37 = -1\n r39 = -1\n r41 = -1\n r42 = 0\n r20 = r12\n r21 = r10\n r24 = r8\n r25 = r7\n r33 = r3\n r19.<init>(r20, r21, r23, r24, r25, r26, r27, r28, r29, r30, r31, r33, r34, r36, r37, r39, r41, r42) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r44 = 0\n r46 = 0\n r48 = -1\n r51 = 0\n r41 = r1\n r42 = r13\n r52 = r19\n r41.<init>(r42, r43, r44, r46, r48, r50, r51, r52) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n monitor-enter(r2) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n X.D1W r10 = new X.D1W // Catch:{ all -> 0x02de }\n X.Cuo r3 = r2.A06 // Catch:{ all -> 0x02de }\n java.lang.String r7 = r3.A04 // Catch:{ all -> 0x02de }\n android.net.Uri r3 = r1.A04 // Catch:{ all -> 0x02de }\n r10.<init>(r7, r3) // Catch:{ all -> 0x02de }\n X.D24 r16 = p000X.D1J.A0C // Catch:{ all -> 0x02de }\n monitor-enter(r16) // Catch:{ all -> 0x02de }\n X.D24 r3 = p000X.D1J.A0C // Catch:{ all -> 0x02db }\n X.D15 r3 = r3.A00(r10) // Catch:{ all -> 0x02db }\n if (r3 != 0) goto L_0x02aa\n X.D23 r8 = r2.A03 // Catch:{ all -> 0x02db }\n X.Cuo r3 = r2.A06 // Catch:{ all -> 0x02db }\n java.lang.String r7 = r3.A04 // Catch:{ all -> 0x02db }\n android.net.Uri r3 = r1.A04 // Catch:{ all -> 0x02db }\n byte[] r3 = r8.A01(r7, r3) // Catch:{ all -> 0x02db }\n if (r3 != 0) goto L_0x02aa\n X.D1G r9 = new X.D1G // Catch:{ all -> 0x02db }\n X.Cv5 r12 = r2.A04 // Catch:{ all -> 0x02db }\n java.lang.String r11 = r2.A08 // Catch:{ all -> 0x02db }\n int r22 = p000X.D1J.A09 // Catch:{ all -> 0x02db }\n int r23 = p000X.D1J.A0A // Catch:{ all -> 0x02db }\n X.D23 r8 = r2.A03 // Catch:{ all -> 0x02db }\n X.D19 r7 = r2.A05 // Catch:{ all -> 0x02db }\n X.Cv2 r3 = r2.A07 // Catch:{ all -> 0x02db }\n java.lang.String r27 = p000X.D1J.A0B // Catch:{ all -> 0x02db }\n r19 = r9\n r20 = r12\n r21 = r11\n r24 = r8\n r25 = r7\n r26 = r3\n r19.<init>(r20, r21, r22, r23, r24, r25, r26, r27) // Catch:{ all -> 0x02db }\n X.D24 r13 = p000X.D1J.A0C // Catch:{ all -> 0x02db }\n r13.A02(r10, r9) // Catch:{ all -> 0x02db }\n monitor-exit(r16) // Catch:{ all -> 0x02db }\n X.D1M r7 = p000X.D1J.A00(r2, r1, r5) // Catch:{ IOException -> 0x02a1 }\n X.Cuo r12 = r2.A06 // Catch:{ IOException -> 0x02a1 }\n android.net.Uri r14 = r1.A04 // Catch:{ IOException -> 0x02a1 }\n X.D19 r3 = r9.A01 // Catch:{ IOException -> 0x02a1 }\n if (r3 == 0) goto L_0x0199\n X.1ux r1 = p000X.C43711ux.NOT_CACHED // Catch:{ IOException -> 0x02a1 }\n r3.BSW(r7, r1) // Catch:{ IOException -> 0x02a1 }\n L_0x0199:\n monitor-enter(r9) // Catch:{ IOException -> 0x02a1 }\n r11 = 0\n r9.A04 = r11 // Catch:{ all -> 0x029e }\n r3 = -1\n r9.A01 = r3 // Catch:{ all -> 0x029e }\n r9.A00 = r3 // Catch:{ all -> 0x029e }\n r9.A00 = r3 // Catch:{ all -> 0x029e }\n r9.A06 = r5 // Catch:{ all -> 0x029e }\n monitor-exit(r9) // Catch:{ all -> 0x029e }\n X.Cv5 r1 = r9.A0A // Catch:{ IOException -> 0x02a1 }\n r19 = r1\n java.lang.String r1 = r9.A0B // Catch:{ IOException -> 0x02a1 }\n r20 = r1\n X.D19 r1 = r9.A01 // Catch:{ IOException -> 0x02a1 }\n r21 = r1\n X.Cv2 r15 = r9.A03 // Catch:{ IOException -> 0x02a1 }\n int r8 = r9.A07 // Catch:{ IOException -> 0x02a1 }\n int r1 = r9.A08 // Catch:{ IOException -> 0x02a1 }\n r22 = r15\n r23 = r8\n r24 = r1\n r25 = r12\n X.D17 r1 = r19.A00(r20, r21, r22, r23, r24, r25) // Catch:{ IOException -> 0x02a1 }\n java.lang.String r8 = r9.A03 // Catch:{ IOException -> 0x02a1 }\n if (r8 == 0) goto L_0x01e2\n java.lang.String r15 = r14.getHost() // Catch:{ IOException -> 0x02a1 }\n java.lang.String r8 = \"m-livestream-lookaside.facebook.com\"\n boolean r8 = r15.equals(r8) // Catch:{ IOException -> 0x02a1 }\n if (r8 == 0) goto L_0x01e2\n java.lang.String r15 = \"OAuth \"\n java.lang.String r8 = r9.A03 // Catch:{ IOException -> 0x02a1 }\n java.lang.String r15 = p000X.AnonymousClass000.A0E(r15, r8) // Catch:{ IOException -> 0x02a1 }\n java.lang.String r8 = \"Authorization\"\n r1.BkD(r8, r15) // Catch:{ IOException -> 0x02a1 }\n L_0x01e2:\n long r7 = r1.BWT(r7) // Catch:{ IOException -> 0x0278 }\n monitor-enter(r9) // Catch:{ IOException -> 0x0278 }\n X.D19 r15 = r9.A01 // Catch:{ all -> 0x0275 }\n r9.A01(r15) // Catch:{ all -> 0x0275 }\n int r15 = (int) r7 // Catch:{ all -> 0x0275 }\n r9.A01 = r15 // Catch:{ all -> 0x0275 }\n r7 = 0\n if (r15 != r3) goto L_0x01f3\n r7 = 1\n L_0x01f3:\n r9.A05 = r7 // Catch:{ all -> 0x0275 }\n X.D17 r3 = r9.A02 // Catch:{ all -> 0x0275 }\n if (r3 == 0) goto L_0x0211\n java.util.Map r7 = r3.AUX() // Catch:{ all -> 0x0275 }\n if (r7 == 0) goto L_0x0211\n java.lang.String r3 = \"X-FB-Video-Livehead\"\n java.lang.Object r3 = r7.get(r3) // Catch:{ all -> 0x0275 }\n java.util.List r3 = (java.util.List) r3 // Catch:{ all -> 0x0275 }\n if (r3 == 0) goto L_0x0211\n boolean r3 = r3.isEmpty() // Catch:{ all -> 0x0275 }\n if (r3 != 0) goto L_0x0211\n r9.A05 = r5 // Catch:{ all -> 0x0275 }\n L_0x0211:\n r9.A00 = r4 // Catch:{ all -> 0x0275 }\n int r3 = r9.A01 // Catch:{ all -> 0x0275 }\n r15 = 1048576(0x100000, float:1.469368E-39)\n if (r3 > r15) goto L_0x021c\n if (r3 < 0) goto L_0x021c\n r15 = r3\n L_0x021c:\n byte[] r8 = new byte[r15] // Catch:{ all -> 0x0275 }\n r9.A02 = r1 // Catch:{ all -> 0x0275 }\n r9.A04 = r8 // Catch:{ all -> 0x0275 }\n r9.notifyAll() // Catch:{ all -> 0x0275 }\n monitor-exit(r9) // Catch:{ all -> 0x0275 }\n L_0x0226:\n boolean r3 = r9.A06 // Catch:{ IOException -> 0x0278 }\n if (r3 == 0) goto L_0x024d\n int r7 = r9.A00 // Catch:{ IOException -> 0x0278 }\n if (r7 >= r15) goto L_0x024d\n int r3 = r15 - r7\n int r7 = r1.read(r8, r7, r3) // Catch:{ IOException -> 0x0278 }\n monitor-enter(r9) // Catch:{ IOException -> 0x0278 }\n if (r7 >= 0) goto L_0x0238\n goto L_0x0244\n L_0x0238:\n int r3 = r9.A00 // Catch:{ all -> 0x024a }\n int r3 = r3 + r7\n r9.A00 = r3 // Catch:{ all -> 0x024a }\n if (r7 <= 0) goto L_0x0242\n r9.notifyAll() // Catch:{ all -> 0x024a }\n L_0x0242:\n monitor-exit(r9) // Catch:{ all -> 0x024a }\n goto L_0x0226\n L_0x0244:\n int r3 = r9.A00 // Catch:{ all -> 0x024a }\n r9.A01 = r3 // Catch:{ all -> 0x024a }\n monitor-exit(r9) // Catch:{ all -> 0x024a }\n goto L_0x024d\n L_0x024a:\n r3 = move-exception\n monitor-exit(r9) // Catch:{ all -> 0x024a }\n goto L_0x0277\n L_0x024d:\n monitor-enter(r9) // Catch:{ IOException -> 0x0278 }\n r9.A06 = r4 // Catch:{ all -> 0x0272 }\n int r7 = r9.A01 // Catch:{ all -> 0x0272 }\n int r3 = r9.A00 // Catch:{ all -> 0x0272 }\n if (r7 != r3) goto L_0x026d\n r1.close() // Catch:{ IOException -> 0x0259 }\n L_0x0259:\n r9.A02 = r11 // Catch:{ all -> 0x026a }\n X.D23 r8 = r9.A09 // Catch:{ all -> 0x026a }\n if (r8 == 0) goto L_0x0268\n java.lang.String r7 = r12.A04 // Catch:{ all -> 0x026a }\n byte[] r3 = r9.A04 // Catch:{ all -> 0x026a }\n int r1 = r9.A01 // Catch:{ all -> 0x026a }\n r8.A00(r7, r14, r3, r1) // Catch:{ all -> 0x026a }\n L_0x0268:\n r1 = r11\n goto L_0x026d\n L_0x026a:\n r3 = move-exception\n r1 = r11\n goto L_0x0273\n L_0x026d:\n r9.notifyAll() // Catch:{ all -> 0x0272 }\n monitor-exit(r9) // Catch:{ all -> 0x0272 }\n goto L_0x0292\n L_0x0272:\n r3 = move-exception\n L_0x0273:\n monitor-exit(r9) // Catch:{ all -> 0x0272 }\n goto L_0x0277\n L_0x0275:\n r3 = move-exception\n monitor-exit(r9) // Catch:{ all -> 0x0275 }\n L_0x0277:\n throw r3 // Catch:{ IOException -> 0x0278 }\n L_0x0278:\n r7 = move-exception\n X.D19 r3 = r9.A01 // Catch:{ IOException -> 0x02a1 }\n if (r3 == 0) goto L_0x0280\n r3.BSS(r7) // Catch:{ IOException -> 0x02a1 }\n L_0x0280:\n monitor-enter(r9) // Catch:{ IOException -> 0x02a1 }\n r9.A06 = r4 // Catch:{ all -> 0x029b }\n r1.close() // Catch:{ IOException -> 0x0286 }\n L_0x0286:\n r9.A02 = r11 // Catch:{ all -> 0x029b }\n int r1 = r9.A00 // Catch:{ all -> 0x029b }\n if (r1 < 0) goto L_0x0297\n r9.A04 = r7 // Catch:{ all -> 0x029b }\n r9.notifyAll() // Catch:{ all -> 0x029b }\n monitor-exit(r9) // Catch:{ all -> 0x029b }\n L_0x0292:\n r9.A01 = r11 // Catch:{ IOException -> 0x02a1 }\n int r9 = r9.A00 // Catch:{ IOException -> 0x02a1 }\n goto L_0x02ae\n L_0x0297:\n r9.notifyAll() // Catch:{ all -> 0x029b }\n throw r7 // Catch:{ all -> 0x029b }\n L_0x029b:\n r1 = move-exception\n monitor-exit(r9) // Catch:{ all -> 0x029b }\n goto L_0x02a0\n L_0x029e:\n r1 = move-exception\n monitor-exit(r9) // Catch:{ all -> 0x029e }\n L_0x02a0:\n throw r1 // Catch:{ IOException -> 0x02a1 }\n L_0x02a1:\n r1 = move-exception\n monitor-enter(r16) // Catch:{ all -> 0x02de }\n r13.A01(r10) // Catch:{ all -> 0x02a8 }\n L_0x02a6:\n monitor-exit(r16) // Catch:{ all -> 0x02a8 }\n goto L_0x02dd\n L_0x02a8:\n r1 = move-exception\n goto L_0x02a6\n L_0x02aa:\n monitor-exit(r16) // Catch:{ all -> 0x02db }\n monitor-exit(r2) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r9 = 0\n goto L_0x02af\n L_0x02ae:\n monitor-exit(r2) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n L_0x02af:\n java.lang.Integer r1 = p000X.Constants.ONE // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r0.A00(r1) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.String r8 = \"DashLiveSegmentPrefetcher\"\n java.lang.String r7 = \"[thread=%d] Prefetch is done, fetched: %d, url=%s, cacheKey=%s\"\n r1 = 4\n java.lang.Object[] r3 = new java.lang.Object[r1] // Catch:{ IOException | RuntimeException -> 0x02e1 }\n int r1 = r6.A00 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.Integer r1 = java.lang.Integer.valueOf(r1) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r3[r4] = r1 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.Integer r1 = java.lang.Integer.valueOf(r9) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r3[r5] = r1 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r3[r17] = r18 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n r2 = 3\n X.D1Z r1 = r0.A03 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n java.lang.String r1 = r1.A05 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n if (r1 != 0) goto L_0x02d4\n java.lang.String r1 = \"null\"\n L_0x02d4:\n r3[r2] = r1 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n p000X.C40431oe.A01(r8, r7, r3) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n goto L_0x0000\n L_0x02db:\n r1 = move-exception\n monitor-exit(r16) // Catch:{ all -> 0x02db }\n L_0x02dd:\n throw r1 // Catch:{ all -> 0x02de }\n L_0x02de:\n r1 = move-exception\n monitor-exit(r2) // Catch:{ IOException | RuntimeException -> 0x02e1 }\n throw r1 // Catch:{ IOException | RuntimeException -> 0x02e1 }\n L_0x02e1:\n r8 = move-exception\n boolean r1 = r8 instanceof p000X.C29264Cuq\n if (r1 == 0) goto L_0x0375\n java.lang.String r3 = \"DashLiveSegmentPrefetcher\"\n java.lang.Object[] r2 = new java.lang.Object[r5]\n r2[r4] = r18\n java.lang.String r1 = \"Invalid response happens while fetching %s\"\n p000X.C40431oe.A05(r3, r8, r1, r2)\n java.lang.Integer r1 = p000X.Constants.A0C\n r0.A00(r1)\n X.Cuq r8 = (p000X.C29264Cuq) r8\n int r2 = r8.A00\n r1 = 404(0x194, float:5.66E-43)\n if (r2 == r1) goto L_0x0318\n r1 = 410(0x19a, float:5.75E-43)\n if (r2 != r1) goto L_0x0000\n X.D29 r1 = r0.A05\n if (r1 == 0) goto L_0x0000\n X.2jU r2 = new X.2jU\n X.Cuo r0 = r0.A04\n java.lang.String r3 = r0.A04\n r6 = 0\n r7 = -1\n r5 = 410(0x19a, float:5.75E-43)\n r2.<init>(r3, r4, r5, r6, r7)\n r1.A00(r2)\n goto L_0x0000\n L_0x0318:\n X.D1y r1 = r6.A01\n boolean r1 = r1.A08\n if (r1 == 0) goto L_0x0000\n java.util.concurrent.atomic.AtomicBoolean r4 = r0.A0A\n monitor-enter(r4)\n java.util.concurrent.atomic.AtomicBoolean r2 = r0.A0A // Catch:{ all -> 0x03ae }\n boolean r1 = r2.getAndSet(r5) // Catch:{ all -> 0x03ae }\n if (r1 != 0) goto L_0x0372\n java.util.Collection r1 = r0.A09 // Catch:{ all -> 0x03ae }\n java.util.Iterator r3 = r1.iterator() // Catch:{ all -> 0x03ae }\n L_0x032f:\n boolean r1 = r3.hasNext() // Catch:{ all -> 0x03ae }\n if (r1 == 0) goto L_0x0341\n java.lang.Object r2 = r3.next() // Catch:{ all -> 0x03ae }\n X.D1R r2 = (p000X.D1R) r2 // Catch:{ all -> 0x03ae }\n java.lang.Integer r1 = p000X.Constants.A0N // Catch:{ all -> 0x03ae }\n r2.A00(r1) // Catch:{ all -> 0x03ae }\n goto L_0x032f\n L_0x0341:\n X.D1u r5 = r0.A06 // Catch:{ all -> 0x03ae }\n java.lang.Object r3 = r5.A0G // Catch:{ all -> 0x03ae }\n monitor-enter(r3) // Catch:{ all -> 0x03ae }\n java.lang.Integer r1 = r5.A0L // Catch:{ all -> 0x03ab }\n java.lang.Integer r0 = p000X.Constants.ONE // Catch:{ all -> 0x03ab }\n if (r1 != r0) goto L_0x0371\n int r0 = r5.A03 // Catch:{ all -> 0x03ab }\n if (r0 <= 0) goto L_0x0371\n java.util.concurrent.atomic.AtomicInteger r0 = r5.A0I // Catch:{ all -> 0x03ab }\n int r0 = r0.intValue() // Catch:{ all -> 0x03ab }\n if (r0 <= 0) goto L_0x0371\n java.util.concurrent.atomic.AtomicInteger r0 = r5.A0I // Catch:{ all -> 0x03ab }\n int r0 = r0.decrementAndGet() // Catch:{ all -> 0x03ab }\n if (r0 < 0) goto L_0x0371\n java.lang.Integer r0 = p000X.Constants.A0j // Catch:{ all -> 0x03ab }\n r5.A0L = r0 // Catch:{ all -> 0x03ab }\n android.os.Handler r2 = r5.A08 // Catch:{ all -> 0x03ab }\n X.D1h r1 = new X.D1h // Catch:{ all -> 0x03ab }\n r1.<init>(r5) // Catch:{ all -> 0x03ab }\n r0 = -865772510(0xffffffffcc655c22, float:-6.012532E7)\n p000X.AnonymousClass0ZA.A0E(r2, r1, r0) // Catch:{ all -> 0x03ab }\n L_0x0371:\n monitor-exit(r3) // Catch:{ all -> 0x03ab }\n L_0x0372:\n monitor-exit(r4) // Catch:{ all -> 0x03ae }\n goto L_0x0000\n L_0x0375:\n int r1 = r0.A00\n int r7 = r1 + -1\n r0.A00 = r7\n if (r7 <= 0) goto L_0x0399\n java.lang.String r3 = \"DashLiveSegmentPrefetcher\"\n r1 = r17\n java.lang.Object[] r2 = new java.lang.Object[r1]\n r2[r4] = r18\n java.lang.Integer r1 = java.lang.Integer.valueOf(r7)\n r2[r5] = r1\n java.lang.String r1 = \"Error happens while fetching %s retry remain: %d\"\n p000X.C40431oe.A05(r3, r8, r1, r2)\n X.D1y r1 = r6.A01\n java.util.concurrent.BlockingQueue r1 = r1.A0B\n r1.add(r0)\n goto L_0x0000\n L_0x0399:\n java.lang.Integer r1 = p000X.Constants.A0C\n r0.A00(r1)\n java.lang.String r2 = \"DashLiveSegmentPrefetcher\"\n java.lang.Object[] r1 = new java.lang.Object[r5]\n r1[r4] = r18\n java.lang.String r0 = \"Error happens while fetching %s\"\n p000X.C40431oe.A05(r2, r8, r0, r1)\n goto L_0x0000\n L_0x03ab:\n r0 = move-exception\n monitor-exit(r3) // Catch:{ all -> 0x03ab }\n throw r0 // Catch:{ all -> 0x03ae }\n L_0x03ae:\n r0 = move-exception\n monitor-exit(r4) // Catch:{ all -> 0x03ae }\n throw r0\n L_0x03b1:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p000X.D1K.run():void\");\n }", "title": "" }, { "docid": "ed5b57c97a401f4996342fb5260fdce8", "score": "0.5395326", "text": "@Override // a.f.b.h.k\n public void P() {\n d.a aVar;\n d.a aVar2;\n int i;\n int i2;\n boolean[] zArr;\n d.a aVar3;\n int i3;\n int i4;\n int i5;\n d.a aVar4;\n d.a aVar5;\n d.a aVar6;\n boolean z;\n int i6;\n boolean z2;\n boolean z3;\n boolean z4;\n boolean z5;\n int max;\n int max2;\n ?? r3;\n Exception e;\n int i7;\n int i8;\n d.a aVar7;\n d.a aVar8;\n n nVar;\n n nVar2;\n boolean z6;\n a aVar9;\n ArrayList arrayList;\n a aVar10;\n int i9;\n int i10;\n d.a aVar11;\n boolean[] zArr2 = i.f231a;\n d.a aVar12 = d.a.MATCH_CONSTRAINT;\n d.a aVar13 = d.a.WRAP_CONTENT;\n d.a aVar14 = d.a.FIXED;\n this.U = 0;\n this.V = 0;\n this.y0 = false;\n this.z0 = false;\n int size = this.l0.size();\n int max3 = Math.max(0, r());\n int max4 = Math.max(0, l());\n d.a[] aVarArr = this.O;\n d.a aVar15 = aVarArr[1];\n d.a aVar16 = aVarArr[0];\n if (i.b(this.x0, 1)) {\n b.AbstractC0008b bVar = this.o0;\n d.a m = m();\n d.a q = q();\n C();\n ArrayList<d> arrayList2 = this.l0;\n int size2 = arrayList2.size();\n for (int i11 = 0; i11 < size2; i11++) {\n arrayList2.get(i11).C();\n }\n boolean z7 = this.p0;\n if (m == aVar14) {\n zArr = zArr2;\n F(0, r());\n i2 = max4;\n } else {\n zArr = zArr2;\n c cVar = this.D;\n cVar.f226b = 0;\n i2 = max4;\n cVar.c = true;\n this.U = 0;\n }\n boolean z8 = false;\n int i12 = 0;\n boolean z9 = false;\n while (true) {\n i = max3;\n if (i12 >= size2) {\n break;\n }\n d dVar = arrayList2.get(i12);\n if (dVar instanceof f) {\n f fVar = (f) dVar;\n aVar11 = aVar13;\n if (fVar.p0 == 1) {\n int i13 = fVar.m0;\n if (i13 == -1) {\n if (fVar.n0 == -1 || !z()) {\n if (z()) {\n i13 = (int) ((fVar.l0 * ((float) r())) + 0.5f);\n }\n z8 = true;\n } else {\n i13 = r() - fVar.n0;\n }\n }\n fVar.P(i13);\n z8 = true;\n }\n } else {\n aVar11 = aVar13;\n if ((dVar instanceof a) && ((a) dVar).R() == 0) {\n z9 = true;\n }\n }\n i12++;\n max3 = i;\n aVar15 = aVar15;\n aVar13 = aVar11;\n }\n aVar = aVar13;\n aVar2 = aVar15;\n if (z8) {\n for (int i14 = 0; i14 < size2; i14++) {\n d dVar2 = arrayList2.get(i14);\n if (dVar2 instanceof f) {\n f fVar2 = (f) dVar2;\n if (fVar2.p0 == 1) {\n h.b(fVar2, bVar, z7);\n }\n }\n }\n }\n h.b(this, bVar, z7);\n if (z9) {\n for (int i15 = 0; i15 < size2; i15++) {\n d dVar3 = arrayList2.get(i15);\n if (dVar3 instanceof a) {\n a aVar17 = (a) dVar3;\n if (aVar17.R() == 0 && aVar17.Q()) {\n h.b(aVar17, bVar, z7);\n }\n }\n }\n }\n if (q == aVar14) {\n G(0, l());\n } else {\n c cVar2 = this.E;\n cVar2.f226b = 0;\n cVar2.c = true;\n this.V = 0;\n }\n boolean z10 = false;\n boolean z11 = false;\n for (int i16 = 0; i16 < size2; i16++) {\n d dVar4 = arrayList2.get(i16);\n if (dVar4 instanceof f) {\n f fVar3 = (f) dVar4;\n if (fVar3.p0 == 0) {\n int i17 = fVar3.m0;\n if (i17 == -1) {\n if (fVar3.n0 == -1 || !A()) {\n if (A()) {\n i17 = (int) ((fVar3.l0 * ((float) l())) + 0.5f);\n }\n z10 = true;\n } else {\n i17 = l() - fVar3.n0;\n }\n }\n fVar3.P(i17);\n z10 = true;\n }\n } else if ((dVar4 instanceof a) && ((a) dVar4).R() == 1) {\n z11 = true;\n }\n }\n if (z10) {\n for (int i18 = 0; i18 < size2; i18++) {\n d dVar5 = arrayList2.get(i18);\n if (dVar5 instanceof f) {\n f fVar4 = (f) dVar5;\n if (fVar4.p0 == 0) {\n h.g(fVar4, bVar);\n }\n }\n }\n }\n h.g(this, bVar);\n if (z11) {\n for (int i19 = 0; i19 < size2; i19++) {\n d dVar6 = arrayList2.get(i19);\n if (dVar6 instanceof a) {\n a aVar18 = (a) dVar6;\n if (aVar18.R() == 1 && aVar18.Q()) {\n h.g(aVar18, bVar);\n }\n }\n }\n }\n for (int i20 = 0; i20 < size2; i20++) {\n d dVar7 = arrayList2.get(i20);\n if (dVar7.y() && h.a(dVar7)) {\n X(dVar7, bVar, h.f241a, 0);\n h.b(dVar7, bVar, z7);\n h.g(dVar7, bVar);\n }\n }\n for (int i21 = 0; i21 < size; i21++) {\n d dVar8 = this.l0.get(i21);\n if (dVar8.y() && !(dVar8 instanceof f) && !(dVar8 instanceof a) && !(dVar8 instanceof j) && !dVar8.A) {\n if (!(dVar8.k(0) == aVar12 && dVar8.l != 1 && dVar8.k(1) == aVar12 && dVar8.m != 1)) {\n X(dVar8, this.o0, new b.a(), 0);\n }\n }\n }\n } else {\n zArr = zArr2;\n aVar = aVar13;\n i = max3;\n i2 = max4;\n aVar2 = aVar15;\n }\n if (size > 2) {\n d.a aVar19 = aVar;\n d.a aVar20 = aVar2;\n if ((aVar16 == aVar19 || aVar20 == aVar19) && i.b(this.x0, 1024)) {\n b.AbstractC0008b bVar2 = this.o0;\n c.a aVar21 = c.a.CENTER;\n ArrayList<d> arrayList3 = this.l0;\n int size3 = arrayList3.size();\n int i22 = 0;\n while (true) {\n if (i22 < size3) {\n d dVar9 = arrayList3.get(i22);\n if (!a.e(m(), q(), dVar9.m(), dVar9.q())) {\n aVar3 = aVar14;\n aVar5 = aVar19;\n i3 = size;\n aVar7 = aVar20;\n aVar8 = aVar16;\n break;\n }\n i22++;\n } else {\n int i23 = 0;\n ArrayList arrayList4 = null;\n ArrayList arrayList5 = null;\n ArrayList arrayList6 = null;\n ArrayList arrayList7 = null;\n ArrayList arrayList8 = null;\n ArrayList arrayList9 = null;\n while (i23 < size3) {\n d dVar10 = arrayList3.get(i23);\n if (!a.e(m(), q(), dVar10.m(), dVar10.q())) {\n X(dVar10, bVar2, this.E0, 0);\n }\n boolean z12 = dVar10 instanceof f;\n if (z12) {\n f fVar5 = (f) dVar10;\n if (fVar5.p0 == 0) {\n if (arrayList6 == null) {\n arrayList6 = new ArrayList();\n }\n arrayList6.add(fVar5);\n }\n if (fVar5.p0 == 1) {\n if (arrayList4 == null) {\n arrayList4 = new ArrayList();\n }\n arrayList4.add(fVar5);\n }\n }\n if (dVar10 instanceof h) {\n if (dVar10 instanceof a) {\n a aVar22 = (a) dVar10;\n if (aVar22.R() == 0) {\n if (arrayList5 == null) {\n arrayList5 = new ArrayList();\n }\n arrayList5.add(aVar22);\n }\n int R = aVar22.R();\n aVar9 = aVar22;\n if (R == 1) {\n if (arrayList7 == null) {\n arrayList = new ArrayList();\n aVar10 = aVar22;\n }\n arrayList7.add(aVar9 == 1 ? 1 : 0);\n }\n } else {\n h hVar = (h) dVar10;\n if (arrayList5 == null) {\n arrayList5 = new ArrayList();\n }\n arrayList5.add(hVar);\n aVar9 = hVar;\n if (arrayList7 == null) {\n arrayList = new ArrayList();\n aVar10 = hVar;\n }\n arrayList7.add(aVar9 == 1 ? 1 : 0);\n }\n arrayList7 = arrayList;\n aVar9 = aVar10;\n arrayList7.add(aVar9 == 1 ? 1 : 0);\n }\n if (dVar10.D.f == null && dVar10.F.f == null && !z12 && !(dVar10 instanceof a)) {\n if (arrayList8 == null) {\n arrayList8 = new ArrayList();\n }\n arrayList8.add(dVar10);\n arrayList8 = arrayList8;\n }\n if (dVar10.E.f == null && dVar10.G.f == null && dVar10.H.f == null && !z12 && !(dVar10 instanceof a)) {\n if (arrayList9 == null) {\n arrayList9 = new ArrayList();\n }\n arrayList9.add(dVar10);\n arrayList9 = arrayList9;\n }\n i23++;\n aVar20 = aVar20;\n size = size;\n aVar16 = aVar16;\n aVar14 = aVar14;\n aVar19 = aVar19;\n }\n aVar3 = aVar14;\n i3 = size;\n aVar7 = aVar20;\n aVar8 = aVar16;\n ArrayList<n> arrayList10 = new ArrayList<>();\n if (arrayList4 != null) {\n Iterator it = arrayList4.iterator();\n while (it.hasNext()) {\n a.b((f) it.next(), 0, arrayList10, null);\n }\n }\n n nVar3 = null;\n int i24 = 0;\n if (arrayList5 != null) {\n Iterator it2 = arrayList5.iterator();\n while (it2.hasNext()) {\n h hVar2 = (h) it2.next();\n n b2 = a.b(hVar2, i24, arrayList10, nVar3);\n hVar2.P(arrayList10, i24, b2);\n b2.b(arrayList10);\n nVar3 = null;\n i24 = 0;\n }\n }\n HashSet<c> hashSet = i(c.a.LEFT).f225a;\n if (hashSet != null) {\n Iterator<c> it3 = hashSet.iterator();\n while (it3.hasNext()) {\n a.b(it3.next().d, 0, arrayList10, null);\n }\n }\n HashSet<c> hashSet2 = i(c.a.RIGHT).f225a;\n if (hashSet2 != null) {\n Iterator<c> it4 = hashSet2.iterator();\n while (it4.hasNext()) {\n a.b(it4.next().d, 0, arrayList10, null);\n }\n }\n HashSet<c> hashSet3 = i(aVar21).f225a;\n if (hashSet3 != null) {\n Iterator<c> it5 = hashSet3.iterator();\n while (it5.hasNext()) {\n a.b(it5.next().d, 0, arrayList10, null);\n }\n }\n n nVar4 = null;\n if (arrayList8 != null) {\n Iterator it6 = arrayList8.iterator();\n while (it6.hasNext()) {\n a.b((d) it6.next(), 0, arrayList10, null);\n }\n }\n if (arrayList6 != null) {\n Iterator it7 = arrayList6.iterator();\n while (it7.hasNext()) {\n a.b((f) it7.next(), 1, arrayList10, null);\n }\n }\n int i25 = 1;\n if (arrayList7 != null) {\n Iterator it8 = arrayList7.iterator();\n while (it8.hasNext()) {\n h hVar3 = (h) it8.next();\n n b3 = a.b(hVar3, i25, arrayList10, nVar4);\n hVar3.P(arrayList10, i25, b3);\n b3.b(arrayList10);\n nVar4 = null;\n i25 = 1;\n }\n }\n HashSet<c> hashSet4 = i(c.a.TOP).f225a;\n if (hashSet4 != null) {\n Iterator<c> it9 = hashSet4.iterator();\n while (it9.hasNext()) {\n a.b(it9.next().d, 1, arrayList10, null);\n }\n }\n HashSet<c> hashSet5 = i(c.a.BASELINE).f225a;\n if (hashSet5 != null) {\n Iterator<c> it10 = hashSet5.iterator();\n while (it10.hasNext()) {\n a.b(it10.next().d, 1, arrayList10, null);\n }\n }\n HashSet<c> hashSet6 = i(c.a.BOTTOM).f225a;\n if (hashSet6 != null) {\n Iterator<c> it11 = hashSet6.iterator();\n while (it11.hasNext()) {\n a.b(it11.next().d, 1, arrayList10, null);\n }\n }\n HashSet<c> hashSet7 = i(aVar21).f225a;\n if (hashSet7 != null) {\n Iterator<c> it12 = hashSet7.iterator();\n while (it12.hasNext()) {\n a.b(it12.next().d, 1, arrayList10, null);\n }\n }\n char c = 1;\n if (arrayList9 != null) {\n Iterator it13 = arrayList9.iterator();\n while (it13.hasNext()) {\n a.b((d) it13.next(), 1, arrayList10, null);\n }\n }\n int i26 = 0;\n while (i26 < size3) {\n d dVar11 = arrayList3.get(i26);\n d.a[] aVarArr2 = dVar11.O;\n if (aVarArr2[0] == aVar12 && aVarArr2[c] == aVar12) {\n n c2 = a.c(arrayList10, dVar11.j0);\n n c3 = a.c(arrayList10, dVar11.k0);\n if (!(c2 == null || c3 == null)) {\n c2.d(0, c3);\n c3.c = 2;\n arrayList10.remove(c2);\n }\n }\n i26++;\n c = 1;\n }\n int i27 = 1;\n if (arrayList10.size() <= 1) {\n aVar5 = aVar19;\n } else {\n aVar5 = aVar19;\n if (m() == aVar5) {\n Iterator<n> it14 = arrayList10.iterator();\n int i28 = 0;\n nVar = null;\n while (it14.hasNext()) {\n n next = it14.next();\n if (next.c != i27) {\n int c4 = next.c(this.q0, 0);\n if (c4 > i28) {\n i28 = c4;\n nVar = next;\n }\n }\n i27 = 1;\n }\n if (nVar != null) {\n this.O[0] = aVar3;\n M(i28);\n if (q() == aVar5) {\n Iterator<n> it15 = arrayList10.iterator();\n int i29 = 0;\n nVar2 = null;\n while (it15.hasNext()) {\n n next2 = it15.next();\n if (next2.c != 0) {\n int c5 = next2.c(this.q0, 1);\n if (c5 > i29) {\n nVar2 = next2;\n i29 = c5;\n }\n }\n }\n if (nVar2 != null) {\n this.O[1] = aVar3;\n H(i29);\n if (nVar != null || nVar2 != null) {\n z6 = true;\n }\n }\n }\n nVar2 = null;\n z6 = true;\n }\n }\n nVar = null;\n if (q() == aVar5) {\n }\n nVar2 = null;\n z6 = true;\n }\n }\n }\n if (z6) {\n aVar6 = aVar8;\n if (aVar6 == aVar5) {\n i10 = i;\n if (i10 >= r() || i10 <= 0) {\n i5 = r();\n aVar4 = aVar7;\n if (aVar4 != aVar5) {\n i9 = i2;\n if (i9 >= l() || i9 <= 0) {\n i4 = l();\n z = true;\n boolean z13 = !Y(64) || Y(128);\n a.f.b.d dVar12 = this.q0;\n Objects.requireNonNull(dVar12);\n dVar12.g = false;\n if (this.x0 != 0 && z13) {\n dVar12.g = true;\n }\n ArrayList<d> arrayList11 = this.l0;\n boolean z14 = m() != aVar5 || q() == aVar5;\n this.t0 = 0;\n this.u0 = 0;\n for (i6 = 0; i6 < i3; i6++) {\n d dVar13 = this.l0.get(i6);\n if (dVar13 instanceof k) {\n ((k) dVar13).P();\n }\n }\n boolean Y = Y(64);\n z2 = z;\n int i30 = 0;\n z3 = true;\n while (z3) {\n int i31 = i30 + 1;\n try {\n this.q0.u();\n this.t0 = 0;\n this.u0 = 0;\n g(this.q0);\n for (int i32 = 0; i32 < i3; i32++) {\n this.l0.get(i32).g(this.q0);\n }\n R(this.q0);\n try {\n WeakReference<c> weakReference = this.A0;\n if (weakReference == null || weakReference.get() == null) {\n z4 = z2;\n } else {\n z4 = z2;\n try {\n this.q0.f(this.q0.l(this.A0.get()), this.q0.l(this.E), 0, 5);\n this.A0 = null;\n } catch (Exception e2) {\n e = e2;\n z3 = true;\n e.printStackTrace();\n System.out.println(\"EXCEPTION : \" + e);\n a.f.b.d dVar14 = this.q0;\n if (z3) {\n }\n if (z14) {\n }\n z5 = false;\n max = Math.max(this.X, r());\n if (max > r()) {\n }\n max2 = Math.max(this.Y, l());\n if (max2 > l()) {\n }\n if (!z4) {\n }\n z3 = z5;\n z2 = z4;\n i30 = i31;\n }\n }\n WeakReference<c> weakReference2 = this.C0;\n if (!(weakReference2 == null || weakReference2.get() == null)) {\n this.q0.f(this.q0.l(this.G), this.q0.l(this.C0.get()), 0, 5);\n this.C0 = null;\n }\n WeakReference<c> weakReference3 = this.B0;\n if (!(weakReference3 == null || weakReference3.get() == null)) {\n this.q0.f(this.q0.l(this.B0.get()), this.q0.l(this.D), 0, 5);\n this.B0 = null;\n }\n WeakReference<c> weakReference4 = this.D0;\n if (weakReference4 != null && weakReference4.get() != null) {\n this.q0.f(this.q0.l(this.F), this.q0.l(this.D0.get()), 0, 5);\n try {\n this.D0 = null;\n } catch (Exception e3) {\n e = e3;\n z3 = true;\n e.printStackTrace();\n System.out.println(\"EXCEPTION : \" + e);\n a.f.b.d dVar142 = this.q0;\n if (z3) {\n }\n if (z14) {\n }\n z5 = false;\n max = Math.max(this.X, r());\n if (max > r()) {\n }\n max2 = Math.max(this.Y, l());\n if (max2 > l()) {\n }\n if (!z4) {\n }\n z3 = z5;\n z2 = z4;\n i30 = i31;\n }\n }\n this.q0.q();\n z3 = true;\n } catch (Exception e4) {\n e = e4;\n z4 = z2;\n z3 = true;\n e.printStackTrace();\n System.out.println(\"EXCEPTION : \" + e);\n a.f.b.d dVar1422 = this.q0;\n if (z3) {\n }\n if (z14) {\n }\n z5 = false;\n max = Math.max(this.X, r());\n if (max > r()) {\n }\n max2 = Math.max(this.Y, l());\n if (max2 > l()) {\n }\n if (!z4) {\n }\n z3 = z5;\n z2 = z4;\n i30 = i31;\n }\n } catch (Exception e5) {\n e = e5;\n z4 = z2;\n e.printStackTrace();\n System.out.println(\"EXCEPTION : \" + e);\n a.f.b.d dVar14222 = this.q0;\n if (z3) {\n }\n if (z14) {\n }\n z5 = false;\n max = Math.max(this.X, r());\n if (max > r()) {\n }\n max2 = Math.max(this.Y, l());\n if (max2 > l()) {\n }\n if (!z4) {\n }\n z3 = z5;\n z2 = z4;\n i30 = i31;\n }\n a.f.b.d dVar142222 = this.q0;\n if (z3) {\n zArr[2] = false;\n boolean Y2 = Y(64);\n O(dVar142222, Y2);\n int size4 = this.l0.size();\n for (int i33 = 0; i33 < size4; i33++) {\n this.l0.get(i33).O(dVar142222, Y2);\n }\n } else {\n O(dVar142222, Y);\n for (int i34 = 0; i34 < i3; i34++) {\n this.l0.get(i34).O(this.q0, Y);\n }\n }\n if (z14 || i31 >= 8 || !zArr[2]) {\n z5 = false;\n } else {\n int i35 = 0;\n int i36 = 0;\n for (int i37 = 0; i37 < i3; i37++) {\n d dVar15 = this.l0.get(i37);\n i35 = Math.max(i35, dVar15.r() + dVar15.U);\n i36 = Math.max(i36, dVar15.l() + dVar15.V);\n }\n int max5 = Math.max(this.X, i35);\n int max6 = Math.max(this.Y, i36);\n if (aVar6 != aVar5 || r() >= max5) {\n z5 = false;\n } else {\n M(max5);\n this.O[0] = aVar5;\n z5 = true;\n z4 = true;\n }\n if (aVar4 == aVar5 && l() < max6) {\n H(max6);\n this.O[1] = aVar5;\n z5 = true;\n z4 = true;\n }\n }\n max = Math.max(this.X, r());\n if (max > r()) {\n M(max);\n this.O[0] = aVar3;\n z5 = true;\n z4 = true;\n }\n max2 = Math.max(this.Y, l());\n if (max2 > l()) {\n H(max2);\n r3 = 1;\n this.O[1] = aVar3;\n z5 = true;\n z4 = true;\n } else {\n r3 = 1;\n }\n if (!z4) {\n if (this.O[0] == aVar5 && i5 > 0 && r() > i5) {\n this.y0 = r3;\n this.O[0] = aVar3;\n M(i5);\n boolean z15 = r3 == true ? 1 : 0;\n boolean z16 = r3 == true ? 1 : 0;\n boolean z17 = r3 == true ? 1 : 0;\n z5 = z15;\n z4 = z5;\n }\n d.a[] aVarArr3 = this.O;\n char c6 = r3 == true ? 1 : 0;\n char c7 = r3 == true ? 1 : 0;\n char c8 = r3 == true ? 1 : 0;\n if (aVarArr3[c6] == aVar5 && i4 > 0 && l() > i4) {\n this.z0 = r3;\n this.O[r3] = aVar3;\n H(i4);\n z2 = true;\n z3 = true;\n i30 = i31;\n }\n }\n z3 = z5;\n z2 = z4;\n i30 = i31;\n }\n this.l0 = arrayList11;\n if (z2) {\n d.a[] aVarArr4 = this.O;\n aVarArr4[0] = aVar6;\n aVarArr4[1] = aVar4;\n }\n D(this.q0.l);\n }\n H(i9);\n this.z0 = true;\n } else {\n i9 = i2;\n }\n i4 = i9;\n z = true;\n if (!Y(64)) {\n }\n a.f.b.d dVar122 = this.q0;\n Objects.requireNonNull(dVar122);\n dVar122.g = false;\n dVar122.g = true;\n ArrayList<d> arrayList112 = this.l0;\n if (m() != aVar5) {\n }\n this.t0 = 0;\n this.u0 = 0;\n while (i6 < i3) {\n }\n boolean Y3 = Y(64);\n z2 = z;\n int i302 = 0;\n z3 = true;\n while (z3) {\n }\n this.l0 = arrayList112;\n if (z2) {\n }\n D(this.q0.l);\n }\n M(i10);\n this.y0 = true;\n } else {\n i10 = i;\n }\n i5 = i10;\n aVar4 = aVar7;\n if (aVar4 != aVar5) {\n }\n i4 = i9;\n z = true;\n if (!Y(64)) {\n }\n a.f.b.d dVar1222 = this.q0;\n Objects.requireNonNull(dVar1222);\n dVar1222.g = false;\n dVar1222.g = true;\n ArrayList<d> arrayList1122 = this.l0;\n if (m() != aVar5) {\n }\n this.t0 = 0;\n this.u0 = 0;\n while (i6 < i3) {\n }\n boolean Y32 = Y(64);\n z2 = z;\n int i3022 = 0;\n z3 = true;\n while (z3) {\n }\n this.l0 = arrayList1122;\n if (z2) {\n }\n D(this.q0.l);\n }\n i7 = i2;\n i8 = i;\n aVar4 = aVar7;\n aVar6 = aVar8;\n } else {\n aVar3 = aVar14;\n aVar5 = aVar19;\n i3 = size;\n aVar4 = aVar20;\n aVar6 = aVar16;\n i7 = i2;\n i8 = i;\n }\n } else {\n aVar3 = aVar14;\n i3 = size;\n aVar6 = aVar16;\n i7 = i2;\n i8 = i;\n aVar4 = aVar2;\n aVar5 = aVar;\n }\n i5 = i8;\n i4 = i7;\n z = false;\n if (!Y(64)) {\n }\n a.f.b.d dVar12222 = this.q0;\n Objects.requireNonNull(dVar12222);\n dVar12222.g = false;\n dVar12222.g = true;\n ArrayList<d> arrayList11222 = this.l0;\n if (m() != aVar5) {\n }\n this.t0 = 0;\n this.u0 = 0;\n while (i6 < i3) {\n }\n boolean Y322 = Y(64);\n z2 = z;\n int i30222 = 0;\n z3 = true;\n while (z3) {\n }\n this.l0 = arrayList11222;\n if (z2) {\n }\n D(this.q0.l);\n }", "title": "" }, { "docid": "f54737b9f528c0d0e9129fa5fdb4a480", "score": "0.53951305", "text": "public void mo46438b() {\n /*\n r3 = this;\n okhttp3.internal.e.d r0 = okhttp3.internal.p514e.C14928d.this\n monitor-enter(r0)\n boolean r1 = r3.f43292c // Catch:{ all -> 0x0015 }\n if (r1 != 0) goto L_0x0013\n okhttp3.internal.e.d$e r1 = r3.f43290a // Catch:{ all -> 0x0015 }\n okhttp3.internal.e.d$d r1 = r1.f43300f // Catch:{ all -> 0x0015 }\n if (r1 != r3) goto L_0x0013\n okhttp3.internal.e.d r1 = okhttp3.internal.p514e.C14928d.this // Catch:{ IOException -> 0x0013 }\n r2 = 0\n r1.mo46415a(r3, r2) // Catch:{ IOException -> 0x0013 }\n L_0x0013:\n monitor-exit(r0) // Catch:{ all -> 0x0015 }\n return\n L_0x0015:\n r1 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x0015 }\n throw r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.internal.p514e.C14928d.C14932d.mo46438b():void\");\n }", "title": "" }, { "docid": "0d228763a3de7383571c73e4ca0b4f18", "score": "0.53901017", "text": "public static void main(String[] argv) {\n if(argv.length != 1){\n System.out.println(\"BAD NUMBER OF ARGUMENTS: YOU MUST SPECIFY ONLY THE FILENAME THAT CONTAINS THE SOURCE CODE\");\n System.exit(1);\n }\n\n try {\n // Read the content of the specified file and store it in a String variable. Trim() function is used to delete all\n // the unnecesary blanks at the beginning or at the end of the source code.\n String sourceCode = FileManager.readFile(argv[0]).trim() + \" \"; \n\n // Define the variables that will be used while iterating over the source code. \n int state = CompilerEnvironment.INITIAL_STATE;\n int readSourceCode = 0; \n int character = 0;\n String lexeme = \"\";\n int column = 0;\n\n // Vector used to store the token sequence produced by the lexical analyzer. Each element stores an array of objects \n // because the structure of a token is not always the same. Sometimes it only have the token_id and the second element \n // of the tuple is empty (special symbols and keywords), but in other cases, a token is composed by its token_id and a\n // reference to a symbol table (identifiers and numbers).\n Vector<Object[]> sequenceOfTokens = new Vector<Object[]>();\n\n \n // Read characters from the sourceCode until the end of the string is found.\n while(readSourceCode < sourceCode.toCharArray().length) {\n\n // While the current state is a non terminal state.\n while(state < CompilerEnvironment.FIRST_STATE_OF_ACCEPTANCE && readSourceCode <= sourceCode.toCharArray().length) {\n\n // If there are still characters to be read in the sourceCode, read the next character.\n if(readSourceCode < sourceCode.toCharArray().length) {\n character = sourceCode.toCharArray()[readSourceCode];\n }\n\n // Get the column's index value in the transition table for the given ASCII code of the character read.\n column = CompilerEnvironment.getColumnNumber(character);\n\n // Calculate the new state as a function of the current state and the new character read that is represented by the\n // column's index value already calculated.\n state = CompilerEnvironment.TRANSITION_TABLE[state][column];\n\n // If the current character is the EOF and the new state is non terminal.\n if(readSourceCode == sourceCode.toCharArray().length &&\n state < CompilerEnvironment.FIRST_STATE_OF_ACCEPTANCE) {\n \n // If the state is a subset of the states that represent an unclosed comment.\n if(state == CompilerEnvironment.OPEN_COMMENT_STATUS_1 || state == CompilerEnvironment.OPEN_COMMENT_STATUS_2) {\n state = CompilerEnvironment.UNCLOSED_COMMENT_ERROR; \n } \n // If the state is the initial state.\n else if(state == CompilerEnvironment.INITIAL_STATE) {\n state = CompilerEnvironment.EMPTY_FILE_ERROR;\n }\n }\n \n // If the character read is a blank, just ignore it.\n if(column == CompilerEnvironment.BLANK_COLUMN) {\n readSourceCode++;\n continue;\n }\n\n // If the new state is not an state of acceptance, add the character to the current lexeme and continue\n // to the next iteration.\n if(state < CompilerEnvironment.FIRST_STATE_OF_ACCEPTANCE) {\n lexeme += (char) character;\n readSourceCode++;\n }\n }\n\n // If the current state is an state of acceptance.\n if (state >= CompilerEnvironment.FIRST_STATE_OF_ACCEPTANCE && state < CompilerEnvironment.FIRST_STATE_OF_ERROR) {\n Object[] token = new Object[2];\n\n // If the new state corresponds to an identifier token.\n if (state == CompilerEnvironment.ID_TOKEN) {\n \n // If the recognized token is a keyword, add it to the sequence just as a keyword. \n if (CompilerEnvironment.isKeyword(lexeme)) {\n token[0] = CompilerEnvironment.getTokenId(lexeme);\n token[1] = \"\";\n sequenceOfTokens.add(token);\n } \n // If the recognized token is an identifier, add the lexeme to the identifiers' symbol table\n // and add a token to the sequence referencing to that new record of the symbol table.\n else {\n CompilerEnvironment.setIdentifierSymbolTable(lexeme);\n token[0] = CompilerEnvironment.getTokenId(\"identifier\");\n token[1] = CompilerEnvironment.getIdentifierSymbolTableIndex();\n sequenceOfTokens.add(token);\n }\n }\n\n // If the recognized token is a number, add the lexeme to the numbers' symbol table\n // and add a token to the sequence referencing to that new record of the symbol table.\n else if (state == CompilerEnvironment.NUMBER_TOKEN) {\n CompilerEnvironment.setNumberSymbolTable(Integer.parseInt(lexeme));\n token[0] = CompilerEnvironment.getTokenId(\"number\");\n token[1] = CompilerEnvironment.getNumberSymbolTableIndex();\n sequenceOfTokens.add(token);\n }\n\n // If the recognized token is not a identifier, keyword nor number.\n else {\n // If the recognized token is not a comment, add it to the sequence of tokens. If it is a comment\n // there won't be added any token to the sequence.\n if(state != CompilerEnvironment.COMMENT_TOKEN) {\n token[0] = CompilerEnvironment.getTokenId(lexeme);\n token[1] = \"\";\n sequenceOfTokens.add(token);\n }\n }\n\n // Reset the state to the initial value and empty the currently recognized lexeme.\n state = CompilerEnvironment.INITIAL_STATE;\n lexeme = \"\";\n }\n\n // If the current state is an error state, print the corresponding error message and abort the \n // execution of the program.\n else if (state >= CompilerEnvironment.FIRST_STATE_OF_ERROR) {\n switch (state) {\n // Invalid identifier error.\n case CompilerEnvironment.INVALID_IDENTIFIER_ERROR:\n System.out.println(\"EXECUTION FINISHED DUE TO AN INVALID IDENTIFIER ERROR\");\n System.exit(1);\n\n // Invalid number error.\n case CompilerEnvironment.INVALID_NUMBER_ERROR:\n System.out.println(\"EXECUTION FINISHED DUE TO AN INVALID NUMBER ERROR\");\n System.exit(1);\n\n // Invalid logic operator error.\n case CompilerEnvironment.INVALID_LOGIC_OPERATOR_ERROR:\n System.out.println(\"EXECUTION FINISHED DUE TO AN INVALID LOGIC OPERATOR ERROR\");\n System.exit(1);\n\n // Invalid character error.\n case CompilerEnvironment.INVALID_CHARACTER_ERROR:\n System.out.println(\"EXECUTION FINISHED DUE TO AN INVALID CHARACTER ERROR\");\n System.exit(1);\n\n // Unclosed comment error.\n case CompilerEnvironment.UNCLOSED_COMMENT_ERROR:\n System.out.println(\"EXECUTION FINISHED DUE TO AN UNCLOSED COMMENT ERROR\");\n System.exit(1);\n\n // Empty file error.\n case CompilerEnvironment.EMPTY_FILE_ERROR:\n System.out.println(\"EXECUTION FINISHED DUE TO AN EMPTY FILE ERROR\");\n System.exit(1);\n \n // Invalid state error.\n default:\n System.out.println(\"EXECUTION FINISHED DUE TO AN INVALID STATE ERROR\");\n System.exit(1);\n }\n System.exit(1);\n }\n }\n \n // Print the sequence of tokens\n for(Object[] tok : sequenceOfTokens) {\n System.out.println(tok[0] + \" \" + tok[1]); \n }\n\n // Print the identifiers' and numbers' symbol table\n System.out.println(CompilerEnvironment.getIdentifierSymbolTable());\n System.out.println(CompilerEnvironment.getNumberSymbolTable());\n }\n // If the invocation of the FileManager's readFile() method throws an exception indicating that \n // it was not possible to open the file, print the corresponding error and finish the execution \n // of the program.\n catch (FileNotFoundException fileNotFoundException) {\n System.out.println(\"EXECUTION FINISHED CAUSE THE FILENAME YOU SPECIFIED DOES NOT EXIST\");\n System.exit(1);\n } \n \n // If the invocation of the FileManager's readFile() method throws an exception indicating that \n // it occurred an error while reading the content of the file, print the corresponding error and \n // finish the execution of the program.\n catch (IOException ioException) {\n System.out.println(\"EXECUTION FINISHED CAUSE THERE WAS A PROBLEM READING THE FILE\");\n System.exit(1);\n }\n }", "title": "" }, { "docid": "b7c18f4f971e833ab3bf27635ee4030c", "score": "0.5386728", "text": "boolean j6(android.os.Handler r12, java.lang.String r13, int r14, int r15) {\n /*\n r11 = this;\n r4 = 0;\n r2 = 1;\n r3 = 0;\n r0 = r11.u7;\n if (r0 != 0) goto L_0x0008;\n L_0x0007:\n return r3;\n L_0x0008:\n if (r13 != 0) goto L_0x0037;\n L_0x000a:\n if (r14 >= 0) goto L_0x0037;\n L_0x000c:\n r0 = r15 & 1;\n if (r0 != 0) goto L_0x0037;\n L_0x0010:\n r0 = r11.u7;\n r0 = r0.size();\n r0 = r0 + -1;\n if (r0 < 0) goto L_0x0007;\n L_0x001a:\n r1 = r11.u7;\n r0 = r1.remove(r0);\n r0 = (android.support.v4.app.g) r0;\n r1 = new android.util.SparseArray;\n r1.<init>();\n r3 = new android.util.SparseArray;\n r3.<init>();\n r0.j6(r1, r3);\n r0.j6(r2, r4, r1, r3);\n r11.VH();\n L_0x0035:\n r3 = r2;\n goto L_0x0007;\n L_0x0037:\n r0 = -1;\n if (r13 != 0) goto L_0x003c;\n L_0x003a:\n if (r14 < 0) goto L_0x008b;\n L_0x003c:\n r0 = r11.u7;\n r0 = r0.size();\n r1 = r0 + -1;\n L_0x0044:\n if (r1 < 0) goto L_0x005a;\n L_0x0046:\n r0 = r11.u7;\n r0 = r0.get(r1);\n r0 = (android.support.v4.app.g) r0;\n if (r13 == 0) goto L_0x0081;\n L_0x0050:\n r5 = r0.FH();\n r5 = r13.equals(r5);\n if (r5 == 0) goto L_0x0081;\n L_0x005a:\n if (r1 < 0) goto L_0x0007;\n L_0x005c:\n r0 = r15 & 1;\n if (r0 == 0) goto L_0x008a;\n L_0x0060:\n r1 = r1 + -1;\n L_0x0062:\n if (r1 < 0) goto L_0x008a;\n L_0x0064:\n r0 = r11.u7;\n r0 = r0.get(r1);\n r0 = (android.support.v4.app.g) r0;\n if (r13 == 0) goto L_0x0078;\n L_0x006e:\n r5 = r0.FH();\n r5 = r13.equals(r5);\n if (r5 != 0) goto L_0x007e;\n L_0x0078:\n if (r14 < 0) goto L_0x008a;\n L_0x007a:\n r0 = r0.QX;\n if (r14 != r0) goto L_0x008a;\n L_0x007e:\n r1 = r1 + -1;\n goto L_0x0062;\n L_0x0081:\n if (r14 < 0) goto L_0x0087;\n L_0x0083:\n r0 = r0.QX;\n if (r14 == r0) goto L_0x005a;\n L_0x0087:\n r1 = r1 + -1;\n goto L_0x0044;\n L_0x008a:\n r0 = r1;\n L_0x008b:\n r1 = r11.u7;\n r1 = r1.size();\n r1 = r1 + -1;\n if (r0 == r1) goto L_0x0007;\n L_0x0095:\n r6 = new java.util.ArrayList;\n r6.<init>();\n r1 = r11.u7;\n r1 = r1.size();\n r1 = r1 + -1;\n L_0x00a2:\n if (r1 <= r0) goto L_0x00b0;\n L_0x00a4:\n r5 = r11.u7;\n r5 = r5.remove(r1);\n r6.add(r5);\n r1 = r1 + -1;\n goto L_0x00a2;\n L_0x00b0:\n r0 = r6.size();\n r7 = r0 + -1;\n r8 = new android.util.SparseArray;\n r8.<init>();\n r9 = new android.util.SparseArray;\n r9.<init>();\n r1 = r3;\n L_0x00c1:\n if (r1 > r7) goto L_0x00d0;\n L_0x00c3:\n r0 = r6.get(r1);\n r0 = (android.support.v4.app.g) r0;\n r0.j6(r8, r9);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x00c1;\n L_0x00d0:\n r5 = r4;\n r4 = r3;\n L_0x00d2:\n if (r4 > r7) goto L_0x010a;\n L_0x00d4:\n r0 = j6;\n if (r0 == 0) goto L_0x00f6;\n L_0x00d8:\n r0 = \"FragmentManager\";\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r10 = \"Popping back stack state: \";\n r1 = r1.append(r10);\n r10 = r6.get(r4);\n r1 = r1.append(r10);\n r1 = r1.toString();\n android.util.Log.v(r0, r1);\n L_0x00f6:\n r0 = r6.get(r4);\n r0 = (android.support.v4.app.g) r0;\n if (r4 != r7) goto L_0x0108;\n L_0x00fe:\n r1 = r2;\n L_0x00ff:\n r1 = r0.j6(r1, r5, r8, r9);\n r0 = r4 + 1;\n r4 = r0;\n r5 = r1;\n goto L_0x00d2;\n L_0x0108:\n r1 = r3;\n goto L_0x00ff;\n L_0x010a:\n r11.VH();\n goto L_0x0035;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.app.o.j6(android.os.Handler, java.lang.String, int, int):boolean\");\n }", "title": "" }, { "docid": "bf20daebc6de36e39c8df979b8339f45", "score": "0.5366478", "text": "public boolean a(World world, Random paramRandom, bjb parambjb)\r\n/* 48: */ {\r\n/* 49:1498 */ a(world, parambjb, 0, 0, 0, 10, 7, 15, false, paramRandom, blr.c());\r\n/* 50: */ \r\n/* 51:1500 */ a(world, paramRandom, parambjb, bml.c, 4, 1, 0);\r\n/* 52: */ \r\n/* 53: */ \r\n/* 54:1503 */ int i = 6;\r\n/* 55:1504 */ a(world, parambjb, 1, i, 1, 1, i, 14, false, paramRandom, blr.c());\r\n/* 56:1505 */ a(world, parambjb, 9, i, 1, 9, i, 14, false, paramRandom, blr.c());\r\n/* 57:1506 */ a(world, parambjb, 2, i, 1, 8, i, 2, false, paramRandom, blr.c());\r\n/* 58:1507 */ a(world, parambjb, 2, i, 14, 8, i, 14, false, paramRandom, blr.c());\r\n/* 59: */ \r\n/* 60: */ \r\n/* 61:1510 */ a(world, parambjb, 1, 1, 1, 2, 1, 4, false, paramRandom, blr.c());\r\n/* 62:1511 */ a(world, parambjb, 8, 1, 1, 9, 1, 4, false, paramRandom, blr.c());\r\n/* 63:1512 */ a(world, parambjb, 1, 1, 1, 1, 1, 3, BlockList.flowingLava.instance(), BlockList.flowingLava.instance(), false);\r\n/* 64:1513 */ a(world, parambjb, 9, 1, 1, 9, 1, 3, BlockList.flowingLava.instance(), BlockList.flowingLava.instance(), false);\r\n/* 65: */ \r\n/* 66: */ \r\n/* 67:1516 */ a(world, parambjb, 3, 1, 8, 7, 1, 12, false, paramRandom, blr.c());\r\n/* 68:1517 */ a(world, parambjb, 4, 1, 9, 6, 1, 11, BlockList.flowingLava.instance(), BlockList.flowingLava.instance(), false);\r\n/* 69:1520 */ for (int j = 3; j < 14; j += 2)\r\n/* 70: */ {\r\n/* 71:1521 */ a(world, parambjb, 0, 3, j, 0, 4, j, BlockList.ironBars.instance(), BlockList.ironBars.instance(), false);\r\n/* 72:1522 */ a(world, parambjb, 10, 3, j, 10, 4, j, BlockList.ironBars.instance(), BlockList.ironBars.instance(), false);\r\n/* 73: */ }\r\n/* 74:1524 */ for (int j = 2; j < 9; j += 2) {\r\n/* 75:1525 */ a(world, parambjb, j, 3, 15, j, 4, 15, BlockList.ironBars.instance(), BlockList.ironBars.instance(), false);\r\n/* 76: */ }\r\n/* 77:1529 */ int j = a(BlockList.bv, 3);\r\n/* 78:1530 */ a(world, parambjb, 4, 1, 5, 6, 1, 7, false, paramRandom, blr.c());\r\n/* 79:1531 */ a(world, parambjb, 4, 2, 6, 6, 2, 7, false, paramRandom, blr.c());\r\n/* 80:1532 */ a(world, parambjb, 4, 3, 7, 6, 3, 7, false, paramRandom, blr.c());\r\n/* 81:1533 */ for (int k = 4; k <= 6; k++)\r\n/* 82: */ {\r\n/* 83:1534 */ a(world, BlockList.bv.instance(j), k, 1, 4, parambjb);\r\n/* 84:1535 */ a(world, BlockList.bv.instance(j), k, 2, 5, parambjb);\r\n/* 85:1536 */ a(world, BlockList.bv.instance(j), k, 3, 6, parambjb);\r\n/* 86: */ }\r\n/* 87:1539 */ int k = EnumDirection.NORTH.b();\r\n/* 88:1540 */ int m = EnumDirection.SOUTH.b();\r\n/* 89:1541 */ int n = EnumDirection.EAST.b();\r\n/* 90:1542 */ int i1 = EnumDirection.WEST.b();\r\n/* 91:1544 */ if (this.m != null) {\r\n/* 92:1545 */ switch (blu.b[this.m.ordinal()])\r\n/* 93: */ {\r\n/* 94: */ case 2: \r\n/* 95:1547 */ k = EnumDirection.SOUTH.b();\r\n/* 96:1548 */ m = EnumDirection.NORTH.b();\r\n/* 97:1549 */ break;\r\n/* 98: */ case 4: \r\n/* 99:1551 */ k = EnumDirection.EAST.b();\r\n/* 100:1552 */ m = EnumDirection.WEST.b();\r\n/* 101:1553 */ n = EnumDirection.SOUTH.b();\r\n/* 102:1554 */ i1 = EnumDirection.NORTH.b();\r\n/* 103:1555 */ break;\r\n/* 104: */ case 3: \r\n/* 105:1557 */ k = EnumDirection.WEST.b();\r\n/* 106:1558 */ m = EnumDirection.EAST.b();\r\n/* 107:1559 */ n = EnumDirection.SOUTH.b();\r\n/* 108:1560 */ i1 = EnumDirection.NORTH.b();\r\n/* 109: */ }\r\n/* 110: */ }\r\n/* 111:1565 */ a(world, BlockList.endPortalFrame.instance(k).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 4, 3, 8, parambjb);\r\n/* 112:1566 */ a(world, BlockList.endPortalFrame.instance(k).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 5, 3, 8, parambjb);\r\n/* 113:1567 */ a(world, BlockList.endPortalFrame.instance(k).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 6, 3, 8, parambjb);\r\n/* 114:1568 */ a(world, BlockList.endPortalFrame.instance(m).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 4, 3, 12, parambjb);\r\n/* 115:1569 */ a(world, BlockList.endPortalFrame.instance(m).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 5, 3, 12, parambjb);\r\n/* 116:1570 */ a(world, BlockList.endPortalFrame.instance(m).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 6, 3, 12, parambjb);\r\n/* 117:1571 */ a(world, BlockList.endPortalFrame.instance(n).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 3, 3, 9, parambjb);\r\n/* 118:1572 */ a(world, BlockList.endPortalFrame.instance(n).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 3, 3, 10, parambjb);\r\n/* 119:1573 */ a(world, BlockList.endPortalFrame.instance(n).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 3, 3, 11, parambjb);\r\n/* 120:1574 */ a(world, BlockList.endPortalFrame.instance(i1).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 7, 3, 9, parambjb);\r\n/* 121:1575 */ a(world, BlockList.endPortalFrame.instance(i1).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 7, 3, 10, parambjb);\r\n/* 122:1576 */ a(world, BlockList.endPortalFrame.instance(i1).setData(avq.b, Boolean.valueOf(paramRandom.nextFloat() > 0.9F)), 7, 3, 11, parambjb);\r\n/* 123:1578 */ if (!this.a)\r\n/* 124: */ {\r\n/* 125:1579 */ i = d(3);\r\n/* 126:1580 */ BlockPosition localdt = new BlockPosition(a(5, 6), i, b(5, 6));\r\n/* 127:1581 */ if (parambjb.b(localdt))\r\n/* 128: */ {\r\n/* 129:1582 */ this.a = true;\r\n/* 130:1583 */ world.setBlock(localdt, BlockList.mobSpawner.instance(), 2);\r\n/* 131: */ \r\n/* 132:1585 */ bcm localbcm = world.s(localdt);\r\n/* 133:1586 */ if ((localbcm instanceof bdg)) {\r\n/* 134:1587 */ ((bdg)localbcm).b().a(\"Silverfish\");\r\n/* 135: */ }\r\n/* 136: */ }\r\n/* 137: */ }\r\n/* 138:1592 */ return true;\r\n/* 139: */ }", "title": "" }, { "docid": "2b9c03c6ab6c43ac58e929d8a843f46f", "score": "0.5365935", "text": "public synchronized void mo22476j() {\n /*\n r4 = this;\n monitor-enter(r4)\n boolean r0 = r4.f21059d // Catch:{ all -> 0x001f }\n if (r0 == 0) goto L_0x0007\n monitor-exit(r4)\n return\n L_0x0007:\n r0 = 1\n r4.f21059d = r0 // Catch:{ all -> 0x001f }\n r4.mo22788s() // Catch:{ all -> 0x001f }\n r4.mo22798f() // Catch:{ IOException -> 0x0010 }\n L_0x0010:\n org.apache.a.c.b r0 = r4.f21056a // Catch:{ all -> 0x001f }\n if (r0 == 0) goto L_0x001d\n org.apache.a.c.b r0 = r4.f21056a // Catch:{ all -> 0x001f }\n long r1 = r4.f21060e // Catch:{ all -> 0x001f }\n java.util.concurrent.TimeUnit r3 = java.util.concurrent.TimeUnit.MILLISECONDS // Catch:{ all -> 0x001f }\n r0.mo22480a(r4, r1, r3) // Catch:{ all -> 0x001f }\n L_0x001d:\n monitor-exit(r4)\n return\n L_0x001f:\n r0 = move-exception\n monitor-exit(r4)\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.apache.p199a.p218f.p221c.C6423a.mo22476j():void\");\n }", "title": "" }, { "docid": "71dcfe96df585e3986ca2e91330d5ee8", "score": "0.53638333", "text": "private void m5659a(java.lang.String r10) {\n /*\n r9 = this;\n r0 = r9.m5662b(r10);\n r5 = r9.m5658a(r10, r0);\n monitor-enter(r9);\n r1 = r9.f3714k;\t Catch:{ all -> 0x0045 }\n if (r1 == 0) goto L_0x0017;\n L_0x000d:\n r1 = r9.f3715l;\t Catch:{ all -> 0x0045 }\n r1 = r1 + -1;\n r9.f3715l = r1;\t Catch:{ all -> 0x0045 }\n if (r1 == 0) goto L_0x0020;\n L_0x0015:\n if (r0 != 0) goto L_0x0020;\n L_0x0017:\n r0 = r9.f3714k;\t Catch:{ all -> 0x0045 }\n if (r0 != 0) goto L_0x0043;\n L_0x001b:\n r0 = r9.f3716m;\t Catch:{ all -> 0x0045 }\n r1 = 1;\n if (r0 != r1) goto L_0x0043;\n L_0x0020:\n r0 = com.google.android.gms.common.stats.C1374g.m4919a();\t Catch:{ all -> 0x0045 }\n r1 = r9.f3713j;\t Catch:{ all -> 0x0045 }\n r2 = r9.f3707d;\t Catch:{ all -> 0x0045 }\n r2 = com.google.android.gms.common.stats.C1372e.m4913a(r2, r5);\t Catch:{ all -> 0x0045 }\n r3 = 8;\n r4 = r9.f3710g;\t Catch:{ all -> 0x0045 }\n r6 = r9.f3712i;\t Catch:{ all -> 0x0045 }\n r7 = r9.f3709f;\t Catch:{ all -> 0x0045 }\n r8 = r9.f3708e;\t Catch:{ all -> 0x0045 }\n r8 = com.google.android.gms.common.util.C1391q.m4984b(r8);\t Catch:{ all -> 0x0045 }\n r0.m4922a(r1, r2, r3, r4, r5, r6, r7, r8);\t Catch:{ all -> 0x0045 }\n r0 = r9.f3716m;\t Catch:{ all -> 0x0045 }\n r0 = r0 + -1;\n r9.f3716m = r0;\t Catch:{ all -> 0x0045 }\n L_0x0043:\n monitor-exit(r9);\t Catch:{ all -> 0x0045 }\n return;\n L_0x0045:\n r0 = move-exception;\n monitor-exit(r9);\t Catch:{ all -> 0x0045 }\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.cx.a(java.lang.String):void\");\n }", "title": "" }, { "docid": "a9489fe184fc1101d440856f8abdc18d", "score": "0.53629637", "text": "private void zzj(java.lang.String r13, long r14) {\n /*\n r12 = this;\n r0 = r12.zzge(r13);\n r6 = r12.zzo(r13, r0);\n monitor-enter(r12);\n r1 = r12.zzbnv;\t Catch:{ all -> 0x0044 }\n if (r1 == 0) goto L_0x0017;\n L_0x000d:\n r1 = r12.zzbnw;\t Catch:{ all -> 0x0044 }\n r2 = r1 + 1;\n r12.zzbnw = r2;\t Catch:{ all -> 0x0044 }\n if (r1 == 0) goto L_0x001f;\n L_0x0015:\n if (r0 != 0) goto L_0x001f;\n L_0x0017:\n r0 = r12.zzbnv;\t Catch:{ all -> 0x0044 }\n if (r0 != 0) goto L_0x0042;\n L_0x001b:\n r0 = r12.zzbnx;\t Catch:{ all -> 0x0044 }\n if (r0 != 0) goto L_0x0042;\n L_0x001f:\n r1 = com.google.android.gms.common.stats.zzh.zzuS();\t Catch:{ all -> 0x0044 }\n r2 = r12.mContext;\t Catch:{ all -> 0x0044 }\n r0 = r12.zzbns;\t Catch:{ all -> 0x0044 }\n r3 = com.google.android.gms.common.stats.zzf.zza(r0, r6);\t Catch:{ all -> 0x0044 }\n r4 = 7;\n r5 = r12.zzatO;\t Catch:{ all -> 0x0044 }\n r7 = r12.zzatQ;\t Catch:{ all -> 0x0044 }\n r8 = r12.zzbnt;\t Catch:{ all -> 0x0044 }\n r0 = r12.zzaUG;\t Catch:{ all -> 0x0044 }\n r9 = com.google.android.gms.common.util.zzz.zzb(r0);\t Catch:{ all -> 0x0044 }\n r10 = r14;\n r1.zza(r2, r3, r4, r5, r6, r7, r8, r9, r10);\t Catch:{ all -> 0x0044 }\n r0 = r12.zzbnx;\t Catch:{ all -> 0x0044 }\n r0 = r0 + 1;\n r12.zzbnx = r0;\t Catch:{ all -> 0x0044 }\n L_0x0042:\n monitor-exit(r12);\t Catch:{ all -> 0x0044 }\n return;\n L_0x0044:\n r0 = move-exception;\n monitor-exit(r12);\t Catch:{ all -> 0x0044 }\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.zztx.zzj(java.lang.String, long):void\");\n }", "title": "" }, { "docid": "cfe2f2fa5ad755c00bad3df95feb2428", "score": "0.53526515", "text": "private bx(com.google.ad r9, com.google.h r10) {\n /*\n r8 = this;\n r2 = 1;\n r3 = 0;\n r0 = -1;\n r7 = 2;\n r5 = com.google.bA.b;\n r8.<init>();\n r8.h = r0;\n r8.k = r0;\n r8.c();\n r6 = com.google.eV.g();\n r1 = r3;\n L_0x0015:\n if (r3 != 0) goto L_0x007f;\n L_0x0017:\n r4 = r9.z();\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n switch(r4) {\n case 0: goto L_0x0095;\n case 10: goto L_0x00db;\n case 18: goto L_0x00d8;\n case 26: goto L_0x0051;\n default: goto L_0x001e;\n };\n L_0x001e:\n r0 = r3;\n L_0x001f:\n r3 = r8.a(r9, r6, r10, r4);\t Catch:{ fN -> 0x0099, IOException -> 0x00bc }\n if (r3 != 0) goto L_0x007d;\n L_0x0025:\n if (r5 == 0) goto L_0x00d6;\n L_0x0027:\n r0 = r2;\n L_0x0028:\n r3 = r8.j;\t Catch:{ fN -> 0x00b8, IOException -> 0x00bc }\n r3 = r3 | 1;\n r8.j = r3;\t Catch:{ fN -> 0x00b8, IOException -> 0x00bc }\n r3 = r9.q();\t Catch:{ fN -> 0x00b8, IOException -> 0x00bc }\n r8.n = r3;\t Catch:{ fN -> 0x00b8, IOException -> 0x00bc }\n if (r5 == 0) goto L_0x007d;\n L_0x0036:\n r3 = r1 & 2;\n if (r3 == r7) goto L_0x0043;\n L_0x003a:\n r3 = new java.util.ArrayList;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r3.<init>();\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r8.e = r3;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r1 = r1 | 2;\n L_0x0043:\n r3 = r8.e;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r4 = com.google.bP.r;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r4 = r9.a(r4, r10);\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r3.add(r4);\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n if (r5 == 0) goto L_0x007d;\n L_0x0050:\n r3 = r0;\n L_0x0051:\n r0 = 0;\n r4 = r8.j;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r4 = r4 & 2;\n if (r4 != r7) goto L_0x00d4;\n L_0x0058:\n r0 = r8.o;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r0 = r0.b();\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r4 = r0;\n L_0x005f:\n r0 = com.google.ca.g;\t Catch:{ fN -> 0x00cb, IOException -> 0x00bc }\n r0 = r9.a(r0, r10);\t Catch:{ fN -> 0x00cb, IOException -> 0x00bc }\n r0 = (com.google.ca) r0;\t Catch:{ fN -> 0x00cb, IOException -> 0x00bc }\n r8.o = r0;\t Catch:{ fN -> 0x00cb, IOException -> 0x00bc }\n if (r4 == 0) goto L_0x0076;\n L_0x006b:\n r0 = r8.o;\t Catch:{ fN -> 0x00cb, IOException -> 0x00bc }\n r4.a(r0);\t Catch:{ fN -> 0x00cb, IOException -> 0x00bc }\n r0 = r4.h();\t Catch:{ fN -> 0x00cb, IOException -> 0x00bc }\n r8.o = r0;\t Catch:{ fN -> 0x00cb, IOException -> 0x00bc }\n L_0x0076:\n r0 = r8.j;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r0 = r0 | 2;\n r8.j = r0;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n r0 = r3;\n L_0x007d:\n if (r5 == 0) goto L_0x00d1;\n L_0x007f:\n r0 = r1 & 2;\n if (r0 != r7) goto L_0x008b;\n L_0x0083:\n r0 = r8.e;\t Catch:{ fN -> 0x00cf }\n r0 = java.util.Collections.unmodifiableList(r0);\t Catch:{ fN -> 0x00cf }\n r8.e = r0;\t Catch:{ fN -> 0x00cf }\n L_0x008b:\n r0 = r6.d();\n r8.g = r0;\n r8.b();\n return;\n L_0x0095:\n if (r5 == 0) goto L_0x00d6;\n L_0x0097:\n r0 = r2;\n goto L_0x001f;\n L_0x0099:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n L_0x009b:\n r0 = move-exception;\n r0 = r0.a(r8);\t Catch:{ all -> 0x00a1 }\n throw r0;\t Catch:{ all -> 0x00a1 }\n L_0x00a1:\n r0 = move-exception;\n r1 = r1 & 2;\n if (r1 != r7) goto L_0x00ae;\n L_0x00a6:\n r1 = r8.e;\t Catch:{ fN -> 0x00cd }\n r1 = java.util.Collections.unmodifiableList(r1);\t Catch:{ fN -> 0x00cd }\n r8.e = r1;\t Catch:{ fN -> 0x00cd }\n L_0x00ae:\n r1 = r6.d();\n r8.g = r1;\n r8.b();\n throw r0;\n L_0x00b8:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x00ba, IOException -> 0x00bc }\n L_0x00ba:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n L_0x00bc:\n r0 = move-exception;\n r2 = new com.google.fN;\t Catch:{ all -> 0x00a1 }\n r0 = r0.getMessage();\t Catch:{ all -> 0x00a1 }\n r2.<init>(r0);\t Catch:{ all -> 0x00a1 }\n r0 = r2.a(r8);\t Catch:{ all -> 0x00a1 }\n throw r0;\t Catch:{ all -> 0x00a1 }\n L_0x00cb:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x009b, IOException -> 0x00bc }\n L_0x00cd:\n r0 = move-exception;\n throw r0;\n L_0x00cf:\n r0 = move-exception;\n throw r0;\n L_0x00d1:\n r3 = r0;\n goto L_0x0015;\n L_0x00d4:\n r4 = r0;\n goto L_0x005f;\n L_0x00d6:\n r0 = r2;\n goto L_0x007d;\n L_0x00d8:\n r0 = r3;\n goto L_0x0036;\n L_0x00db:\n r0 = r3;\n goto L_0x0028;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.bx.<init>(com.google.ad, com.google.h):void\");\n }", "title": "" }, { "docid": "9aa48f0df8ca6f916f51b1ea9740c833", "score": "0.5349367", "text": "public void Method_2593() {\n block29 : {\n long l;\n block28 : {\n try {\n if (this.Method_2621()) {\n this.Field_2499 = Class_2457.Method_2513();\n l = 135414291L & 8021233600329187360L;\n this.Field_2469.Method_3177(new Class_2840(this.Field_2508));\n this.Field_2469.Method_3171(new Class_13307(\"1.8.8\", 2799 & 20527));\n this.Method_2599(this.Field_2469);\n break block28;\n }\n this.Method_2604(null);\n break block29;\n }\n catch (Throwable throwable) {\n try {\n Field_2460.error(\"Encountered an unexpected exception\", throwable);\n Class_13268 class_13268 = null;\n class_13268 = throwable instanceof Class_1809 ? this.Method_2612(((Class_1809)throwable).Method_1812()) : this.Method_2612(new Class_13268(\"Exception in server tick loop\", throwable));\n UUID uUID = Class_6093.Method_6098(throwable, class_13268.Method_13282());\n class_13268.Method_13281().Method_13231(\"UUID\", uUID == null ? \"(null)\" : uUID);\n File file = new File(new File(this.Method_2528(), \"crash-reports\"), \"crash-\" + new SimpleDateFormat(\"yyyy-MM-dd_HH.mm.ss\").format(new Date()) + \"-server.txt\");\n if (class_13268.Method_13286(file)) {\n Field_2460.error(\"This crash report has been saved to: \" + file.getAbsolutePath());\n } else {\n Field_2460.error(\"We were unable to save this crash report to disk.\");\n }\n this.Method_2604(class_13268);\n }\n catch (Throwable throwable2) {\n try {\n this.Field_2492 = 9793 & 20489;\n this.Method_2532();\n throw throwable2;\n }\n catch (Throwable throwable3) {\n Field_2460.error(\"Exception stopping the server\", throwable3);\n Class_6093.Method_6098(throwable3, \"Exception stopping the server\");\n throw throwable2;\n }\n finally {\n this.Method_2586();\n }\n }\n try {\n this.Field_2492 = 257 & -32695;\n this.Method_2532();\n return;\n }\n catch (Throwable throwable4) {\n Field_2460.error(\"Exception stopping the server\", throwable4);\n Class_6093.Method_6098(throwable4, \"Exception stopping the server\");\n return;\n }\n finally {\n this.Method_2586();\n }\n }\n }\n while (this.Field_2485) {\n long l2 = Class_2457.Method_2513();\n long l3 = l2 - this.Field_2499;\n if (l3 > (-5141215459064936496L & 1145513944L) && this.Field_2499 - this.Field_2483 >= (537737977L & -8036180455566852456L)) {\n Object[] arrobject = new Object[-3646 & 2058];\n arrobject[11305 & 16642] = l3;\n arrobject[-26593 & 16705] = l3 / (2622879406785581750L & -2622879408620175310L);\n Field_2460.warn(\"Can't keep up! Did the system time change, or is the server overloaded? Running {}ms behind, skipping {} tick(s)\", arrobject);\n l3 = 6358992L & 1871466456L;\n this.Field_2483 = this.Field_2499;\n }\n if (l3 < (853637048467216457L & -853637048681856480L)) {\n Field_2460.warn(\"Time ran backwards! Did the system time change?\");\n l3 = 5844243138177467008L & 1088454711L;\n }\n l += l3;\n this.Field_2499 = l2;\n if (this.Field_2463[27030 & 1065].Method_2701()) {\n this.Method_2578();\n l = 1094726824L & 5912219278614218752L;\n } else {\n while (l > (104925494L & 1216537992860401778L)) {\n l -= 22898L & -2758000152684748238L;\n this.Method_2578();\n }\n }\n Thread.sleep(Math.max(-5145520059982737399L & 5145520059055104133L, (5195674666529786934L & 4743346L) - l));\n this.Field_2479 = 16909 & -26495;\n }\n }\n try {\n this.Field_2492 = 14893 & 129;\n this.Method_2532();\n return;\n }\n catch (Throwable throwable) {\n Field_2460.error(\"Exception stopping the server\", throwable);\n Class_6093.Method_6098(throwable, \"Exception stopping the server\");\n return;\n }\n finally {\n this.Method_2586();\n }\n }", "title": "" }, { "docid": "e73bdde7fe248775d44e2c03abcd783a", "score": "0.5347155", "text": "public final void a(java.lang.String r11) {\n /*\n r10 = this;\n monitor-enter(r10);\n r0 = r10.a;\t Catch:{ all -> 0x00fa }\n r0 = r0.get();\t Catch:{ all -> 0x00fa }\n r1 = 0;\n if (r0 == 0) goto L_0x0013;\n L_0x000a:\n r11 = \"trace started return \";\n r0 = new java.lang.Object[r1];\t Catch:{ all -> 0x00fa }\n com.tencent.bugly.proguard.an.c(r11, r0);\t Catch:{ all -> 0x00fa }\n monitor-exit(r10);\t Catch:{ all -> 0x00fa }\n return;\n L_0x0013:\n r0 = r10.a;\t Catch:{ all -> 0x00fa }\n r2 = 1;\n r0.set(r2);\t Catch:{ all -> 0x00fa }\n monitor-exit(r10);\t Catch:{ all -> 0x00fa }\n r0 = \"read trace first dump for create time!\";\n r3 = new java.lang.Object[r1];\t Catch:{ Throwable -> 0x00d8 }\n com.tencent.bugly.proguard.an.c(r0, r3);\t Catch:{ Throwable -> 0x00d8 }\n r0 = com.tencent.bugly.crashreport.crash.anr.TraceFileHelper.readFirstDumpInfo(r11, r1);\t Catch:{ Throwable -> 0x00d8 }\n r3 = -1;\n if (r0 == 0) goto L_0x002c;\n L_0x0029:\n r5 = r0.c;\t Catch:{ Throwable -> 0x00d8 }\n goto L_0x002d;\n L_0x002c:\n r5 = r3;\n L_0x002d:\n r0 = (r5 > r3 ? 1 : (r5 == r3 ? 0 : -1));\n if (r0 != 0) goto L_0x003c;\n L_0x0031:\n r0 = \"trace dump fail could not get time!\";\n r3 = new java.lang.Object[r1];\t Catch:{ Throwable -> 0x00d8 }\n com.tencent.bugly.proguard.an.d(r0, r3);\t Catch:{ Throwable -> 0x00d8 }\n r5 = java.lang.System.currentTimeMillis();\t Catch:{ Throwable -> 0x00d8 }\n L_0x003c:\n r7 = r5;\n r3 = r10.b;\t Catch:{ Throwable -> 0x00d8 }\n r5 = r7 - r3;\n r3 = java.lang.Math.abs(r5);\t Catch:{ Throwable -> 0x00d8 }\n r5 = 10000; // 0x2710 float:1.4013E-41 double:4.9407E-320;\n r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1));\n if (r0 >= 0) goto L_0x0060;\n L_0x004b:\n r11 = \"should not process ANR too Fre in %d\";\n r0 = new java.lang.Object[r2];\t Catch:{ Throwable -> 0x00d8 }\n r3 = 10000; // 0x2710 float:1.4013E-41 double:4.9407E-320;\n r3 = java.lang.Integer.valueOf(r3);\t Catch:{ Throwable -> 0x00d8 }\n r0[r1] = r3;\t Catch:{ Throwable -> 0x00d8 }\n com.tencent.bugly.proguard.an.d(r11, r0);\t Catch:{ Throwable -> 0x00d8 }\n r11 = r10.a;\n r11.set(r1);\n return;\n L_0x0060:\n r10.b = r7;\t Catch:{ Throwable -> 0x00d8 }\n r0 = r10.a;\t Catch:{ Throwable -> 0x00d8 }\n r0.set(r2);\t Catch:{ Throwable -> 0x00d8 }\n r0 = com.tencent.bugly.crashreport.crash.c.f;\t Catch:{ Throwable -> 0x00c5 }\n r9 = com.tencent.bugly.proguard.ap.a(r0, r1);\t Catch:{ Throwable -> 0x00c5 }\n if (r9 == 0) goto L_0x00b8;\n L_0x006f:\n r0 = r9.size();\t Catch:{ Throwable -> 0x00d8 }\n if (r0 > 0) goto L_0x0076;\n L_0x0075:\n goto L_0x00b8;\n L_0x0076:\n r0 = r10.c;\t Catch:{ Throwable -> 0x00d8 }\n r6 = r10.a(r0, r5);\t Catch:{ Throwable -> 0x00d8 }\n if (r6 != 0) goto L_0x008b;\n L_0x007e:\n r11 = \"proc state is unvisiable!\";\n r0 = new java.lang.Object[r1];\t Catch:{ Throwable -> 0x00d8 }\n com.tencent.bugly.proguard.an.c(r11, r0);\t Catch:{ Throwable -> 0x00d8 }\n r11 = r10.a;\n r11.set(r1);\n return;\n L_0x008b:\n r0 = r6.pid;\t Catch:{ Throwable -> 0x00d8 }\n r3 = android.os.Process.myPid();\t Catch:{ Throwable -> 0x00d8 }\n if (r0 == r3) goto L_0x00a4;\n L_0x0093:\n r11 = \"not mind proc!\";\n r0 = new java.lang.Object[r2];\t Catch:{ Throwable -> 0x00d8 }\n r3 = r6.processName;\t Catch:{ Throwable -> 0x00d8 }\n r0[r1] = r3;\t Catch:{ Throwable -> 0x00d8 }\n com.tencent.bugly.proguard.an.c(r11, r0);\t Catch:{ Throwable -> 0x00d8 }\n r11 = r10.a;\n r11.set(r1);\n return;\n L_0x00a4:\n r0 = \"found visiable anr , start to process!\";\n r3 = new java.lang.Object[r1];\t Catch:{ Throwable -> 0x00d8 }\n com.tencent.bugly.proguard.an.a(r0, r3);\t Catch:{ Throwable -> 0x00d8 }\n r4 = r10.c;\t Catch:{ Throwable -> 0x00d8 }\n r3 = r10;\n r5 = r11;\n r3.a(r4, r5, r6, r7, r9);\t Catch:{ Throwable -> 0x00d8 }\n L_0x00b2:\n r11 = r10.a;\n r11.set(r1);\n return;\n L_0x00b8:\n r11 = \"can't get all thread skip this anr\";\n r0 = new java.lang.Object[r1];\t Catch:{ Throwable -> 0x00d8 }\n com.tencent.bugly.proguard.an.d(r11, r0);\t Catch:{ Throwable -> 0x00d8 }\n r11 = r10.a;\n r11.set(r1);\n return;\n L_0x00c5:\n r11 = move-exception;\n com.tencent.bugly.proguard.an.a(r11);\t Catch:{ Throwable -> 0x00d8 }\n r11 = \"get all thread stack fail!\";\n r0 = new java.lang.Object[r1];\t Catch:{ Throwable -> 0x00d8 }\n com.tencent.bugly.proguard.an.e(r11, r0);\t Catch:{ Throwable -> 0x00d8 }\n r11 = r10.a;\n r11.set(r1);\n return;\n L_0x00d6:\n r11 = move-exception;\n goto L_0x00f4;\n L_0x00d8:\n r11 = move-exception;\n r0 = com.tencent.bugly.proguard.an.a(r11);\t Catch:{ all -> 0x00d6 }\n if (r0 != 0) goto L_0x00e2;\n L_0x00df:\n r11.printStackTrace();\t Catch:{ all -> 0x00d6 }\n L_0x00e2:\n r0 = \"handle anr error %s\";\n r2 = new java.lang.Object[r2];\t Catch:{ all -> 0x00d6 }\n r11 = r11.getClass();\t Catch:{ all -> 0x00d6 }\n r11 = r11.toString();\t Catch:{ all -> 0x00d6 }\n r2[r1] = r11;\t Catch:{ all -> 0x00d6 }\n com.tencent.bugly.proguard.an.e(r0, r2);\t Catch:{ all -> 0x00d6 }\n goto L_0x00b2;\n L_0x00f4:\n r0 = r10.a;\n r0.set(r1);\n throw r11;\n L_0x00fa:\n r11 = move-exception;\n monitor-exit(r10);\t Catch:{ all -> 0x00fa }\n throw r11;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.bugly.crashreport.crash.anr.b.a(java.lang.String):void\");\n }", "title": "" }, { "docid": "1da1ead9e69eccf0f0796e3546eff149", "score": "0.53326535", "text": "public boolean a(com.xiaomi.xmpush.thrift.ap r6) {\n /*\n r5 = this;\n r0 = 0;\n if (r6 != 0) goto L_0x0004;\n L_0x0003:\n return r0;\n L_0x0004:\n r1 = r5.a();\n r2 = r6.a();\n if (r1 != 0) goto L_0x0010;\n L_0x000e:\n if (r2 == 0) goto L_0x0020;\n L_0x0010:\n if (r1 == 0) goto L_0x0150;\n L_0x0012:\n if (r2 != 0) goto L_0x0015;\n L_0x0014:\n return r0;\n L_0x0015:\n r1 = r5.a;\n r2 = r6.a;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x0020;\n L_0x001f:\n return r0;\n L_0x0020:\n r1 = r5.b();\n r2 = r6.b();\n if (r1 != 0) goto L_0x002c;\n L_0x002a:\n if (r2 == 0) goto L_0x003c;\n L_0x002c:\n if (r1 == 0) goto L_0x0150;\n L_0x002e:\n if (r2 != 0) goto L_0x0031;\n L_0x0030:\n return r0;\n L_0x0031:\n r1 = r5.b;\n r2 = r6.b;\n r1 = r1.a(r2);\n if (r1 != 0) goto L_0x003c;\n L_0x003b:\n return r0;\n L_0x003c:\n r1 = r5.c();\n r2 = r6.c();\n if (r1 != 0) goto L_0x0048;\n L_0x0046:\n if (r2 == 0) goto L_0x0058;\n L_0x0048:\n if (r1 == 0) goto L_0x0150;\n L_0x004a:\n if (r2 != 0) goto L_0x004d;\n L_0x004c:\n return r0;\n L_0x004d:\n r1 = r5.c;\n r2 = r6.c;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x0058;\n L_0x0057:\n return r0;\n L_0x0058:\n r1 = r5.d();\n r2 = r6.d();\n if (r1 != 0) goto L_0x0064;\n L_0x0062:\n if (r2 == 0) goto L_0x0074;\n L_0x0064:\n if (r1 == 0) goto L_0x0150;\n L_0x0066:\n if (r2 != 0) goto L_0x0069;\n L_0x0068:\n return r0;\n L_0x0069:\n r1 = r5.d;\n r2 = r6.d;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x0074;\n L_0x0073:\n return r0;\n L_0x0074:\n r1 = r5.e();\n r2 = r6.e();\n if (r1 != 0) goto L_0x0080;\n L_0x007e:\n if (r2 == 0) goto L_0x0090;\n L_0x0080:\n if (r1 == 0) goto L_0x0150;\n L_0x0082:\n if (r2 != 0) goto L_0x0085;\n L_0x0084:\n return r0;\n L_0x0085:\n r1 = r5.e;\n r2 = r6.e;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x0090;\n L_0x008f:\n return r0;\n L_0x0090:\n r1 = r5.f();\n r2 = r6.f();\n if (r1 != 0) goto L_0x009c;\n L_0x009a:\n if (r2 == 0) goto L_0x00ac;\n L_0x009c:\n if (r1 == 0) goto L_0x0150;\n L_0x009e:\n if (r2 != 0) goto L_0x00a1;\n L_0x00a0:\n return r0;\n L_0x00a1:\n r1 = r5.f;\n r2 = r6.f;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x00ac;\n L_0x00ab:\n return r0;\n L_0x00ac:\n r1 = r5.g();\n r2 = r6.g();\n if (r1 != 0) goto L_0x00b8;\n L_0x00b6:\n if (r2 == 0) goto L_0x00c8;\n L_0x00b8:\n if (r1 == 0) goto L_0x0150;\n L_0x00ba:\n if (r2 != 0) goto L_0x00bd;\n L_0x00bc:\n return r0;\n L_0x00bd:\n r1 = r5.g;\n r2 = r6.g;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x00c8;\n L_0x00c7:\n return r0;\n L_0x00c8:\n r1 = r5.h();\n r2 = r6.h();\n if (r1 != 0) goto L_0x00d4;\n L_0x00d2:\n if (r2 == 0) goto L_0x00e4;\n L_0x00d4:\n if (r1 == 0) goto L_0x0150;\n L_0x00d6:\n if (r2 != 0) goto L_0x00d9;\n L_0x00d8:\n return r0;\n L_0x00d9:\n r1 = r5.h;\n r2 = r6.h;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x00e4;\n L_0x00e3:\n return r0;\n L_0x00e4:\n r1 = r5.i();\n r2 = r6.i();\n if (r1 != 0) goto L_0x00f0;\n L_0x00ee:\n if (r2 == 0) goto L_0x0100;\n L_0x00f0:\n if (r1 == 0) goto L_0x0150;\n L_0x00f2:\n if (r2 != 0) goto L_0x00f5;\n L_0x00f4:\n return r0;\n L_0x00f5:\n r1 = r5.i;\n r2 = r6.i;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x0100;\n L_0x00ff:\n return r0;\n L_0x0100:\n r1 = r5.j();\n r2 = r6.j();\n if (r1 != 0) goto L_0x010c;\n L_0x010a:\n if (r2 == 0) goto L_0x011c;\n L_0x010c:\n if (r1 == 0) goto L_0x0150;\n L_0x010e:\n if (r2 != 0) goto L_0x0111;\n L_0x0110:\n return r0;\n L_0x0111:\n r1 = r5.j;\n r2 = r6.j;\n r1 = r1.equals(r2);\n if (r1 != 0) goto L_0x011c;\n L_0x011b:\n return r0;\n L_0x011c:\n r1 = r5.k();\n r2 = r6.k();\n if (r1 != 0) goto L_0x0128;\n L_0x0126:\n if (r2 == 0) goto L_0x0134;\n L_0x0128:\n if (r1 == 0) goto L_0x0150;\n L_0x012a:\n if (r2 != 0) goto L_0x012d;\n L_0x012c:\n return r0;\n L_0x012d:\n r1 = r5.k;\n r2 = r6.k;\n if (r1 == r2) goto L_0x0134;\n L_0x0133:\n return r0;\n L_0x0134:\n r1 = r5.l();\n r2 = r6.l();\n if (r1 != 0) goto L_0x0140;\n L_0x013e:\n if (r2 == 0) goto L_0x014e;\n L_0x0140:\n if (r1 == 0) goto L_0x0150;\n L_0x0142:\n if (r2 != 0) goto L_0x0145;\n L_0x0144:\n return r0;\n L_0x0145:\n r1 = r5.l;\n r3 = r6.l;\n r6 = (r1 > r3 ? 1 : (r1 == r3 ? 0 : -1));\n if (r6 == 0) goto L_0x014e;\n L_0x014d:\n return r0;\n L_0x014e:\n r6 = 1;\n return r6;\n L_0x0150:\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.xiaomi.xmpush.thrift.ap.a(com.xiaomi.xmpush.thrift.ap):boolean\");\n }", "title": "" }, { "docid": "047e42f86329924e994b5c79db9c70af", "score": "0.5324533", "text": "public java.util.BitSet m37625a(p163g.p449j.p487c.p488a0.C11533a r8) throws java.io.IOException {\n /*\n r7 = this;\n java.util.BitSet r0 = new java.util.BitSet\n r0.<init>()\n r8.mo29462a()\n g.j.c.a0.b r1 = r8.peek()\n r2 = 0\n r3 = 0\n L_0x000e:\n g.j.c.a0.b r4 = p163g.p449j.p487c.p488a0.C11535b.END_ARRAY\n if (r1 == r4) goto L_0x0075\n int[] r4 = p163g.p449j.p487c.p490y.p491l.C11649n.C11654b0.f27207a\n int r5 = r1.ordinal()\n r4 = r4[r5]\n r5 = 1\n if (r4 == r5) goto L_0x0063\n r6 = 2\n if (r4 == r6) goto L_0x005e\n r6 = 3\n if (r4 != r6) goto L_0x0047\n java.lang.String r1 = r8.mo29479o()\n int r1 = java.lang.Integer.parseInt(r1) // Catch:{ NumberFormatException -> 0x0030 }\n if (r1 == 0) goto L_0x002e\n goto L_0x0069\n L_0x002e:\n r5 = 0\n goto L_0x0069\n L_0x0030:\n g.j.c.t r8 = new g.j.c.t\n java.lang.StringBuilder r0 = new java.lang.StringBuilder\n r0.<init>()\n java.lang.String r2 = \"Error: Expecting: bitset number value (1, 0), Found: \"\n r0.append(r2)\n r0.append(r1)\n java.lang.String r0 = r0.toString()\n r8.<init>(r0)\n throw r8\n L_0x0047:\n g.j.c.t r8 = new g.j.c.t\n java.lang.StringBuilder r0 = new java.lang.StringBuilder\n r0.<init>()\n java.lang.String r2 = \"Invalid bitset value type: \"\n r0.append(r2)\n r0.append(r1)\n java.lang.String r0 = r0.toString()\n r8.<init>(r0)\n throw r8\n L_0x005e:\n boolean r5 = r8.mo29472i()\n goto L_0x0069\n L_0x0063:\n int r1 = r8.mo29475k()\n if (r1 == 0) goto L_0x002e\n L_0x0069:\n if (r5 == 0) goto L_0x006e\n r0.set(r3)\n L_0x006e:\n int r3 = r3 + 1\n g.j.c.a0.b r1 = r8.peek()\n goto L_0x000e\n L_0x0075:\n r8.mo29467d()\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p163g.p449j.p487c.p490y.p491l.C11649n.C11683v.m37625a(g.j.c.a0.a):java.util.BitSet\");\n }", "title": "" }, { "docid": "115bc148381afb3fe469f7546654b950", "score": "0.5323741", "text": "public synchronized void a(com.tencent.bugly.crashreport.common.strategy.StrategyBean r6) {\n /*\n r5 = this;\n monitor-enter(r5);\n if (r6 != 0) goto L_0x0005;\n L_0x0003:\n monitor-exit(r5);\n return;\n L_0x0005:\n r0 = r6.j;\t Catch:{ all -> 0x0043 }\n r1 = r5.d();\t Catch:{ all -> 0x0043 }\n r2 = 0;\n r3 = 1;\n if (r0 == r1) goto L_0x001e;\n L_0x000f:\n r0 = \"server anr changed to %b\";\n r1 = new java.lang.Object[r3];\t Catch:{ all -> 0x0043 }\n r4 = r6.j;\t Catch:{ all -> 0x0043 }\n r4 = java.lang.Boolean.valueOf(r4);\t Catch:{ all -> 0x0043 }\n r1[r2] = r4;\t Catch:{ all -> 0x0043 }\n com.tencent.bugly.proguard.an.d(r0, r1);\t Catch:{ all -> 0x0043 }\n L_0x001e:\n r6 = r6.j;\t Catch:{ all -> 0x0043 }\n if (r6 == 0) goto L_0x002a;\n L_0x0022:\n r6 = r5.e();\t Catch:{ all -> 0x0043 }\n if (r6 == 0) goto L_0x002a;\n L_0x0028:\n r6 = r3;\n goto L_0x002b;\n L_0x002a:\n r6 = r2;\n L_0x002b:\n r0 = r5.d();\t Catch:{ all -> 0x0043 }\n if (r6 == r0) goto L_0x0041;\n L_0x0031:\n r0 = \"anr changed to %b\";\n r1 = new java.lang.Object[r3];\t Catch:{ all -> 0x0043 }\n r3 = java.lang.Boolean.valueOf(r6);\t Catch:{ all -> 0x0043 }\n r1[r2] = r3;\t Catch:{ all -> 0x0043 }\n com.tencent.bugly.proguard.an.a(r0, r1);\t Catch:{ all -> 0x0043 }\n r5.a(r6);\t Catch:{ all -> 0x0043 }\n L_0x0041:\n monitor-exit(r5);\n return;\n L_0x0043:\n r6 = move-exception;\n monitor-exit(r5);\n throw r6;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.bugly.crashreport.crash.anr.b.a(com.tencent.bugly.crashreport.common.strategy.StrategyBean):void\");\n }", "title": "" }, { "docid": "be99cdb89f1f99296319a8e98f87534b", "score": "0.5318855", "text": "private static void m6017j(com.google.android.gms.internal.ads.zzenw r2, java.lang.Object r3) {\n /*\n com.google.android.gms.internal.ads.zzekk.m8823a(r3)\n int[] r0 = com.google.android.gms.internal.ads.g90.f8527a\n com.google.android.gms.internal.ads.zzenz r2 = r2.zzbkp()\n int r2 = r2.ordinal()\n r2 = r0[r2]\n r0 = 1\n r1 = 0\n switch(r2) {\n case 1: goto L_0x0040;\n case 2: goto L_0x003d;\n case 3: goto L_0x003a;\n case 4: goto L_0x0037;\n case 5: goto L_0x0034;\n case 6: goto L_0x0031;\n case 7: goto L_0x0028;\n case 8: goto L_0x001f;\n case 9: goto L_0x0016;\n default: goto L_0x0014;\n }\n L_0x0014:\n r0 = 0\n goto L_0x0042\n L_0x0016:\n boolean r2 = r3 instanceof com.google.android.gms.internal.ads.zzels\n if (r2 != 0) goto L_0x0042\n boolean r2 = r3 instanceof com.google.android.gms.internal.ads.zzekt\n if (r2 == 0) goto L_0x0014\n goto L_0x0042\n L_0x001f:\n boolean r2 = r3 instanceof java.lang.Integer\n if (r2 != 0) goto L_0x0042\n boolean r2 = r3 instanceof com.google.android.gms.internal.ads.zzekj\n if (r2 == 0) goto L_0x0014\n goto L_0x0042\n L_0x0028:\n boolean r2 = r3 instanceof com.google.android.gms.internal.ads.zzeiu\n if (r2 != 0) goto L_0x0042\n boolean r2 = r3 instanceof byte[]\n if (r2 == 0) goto L_0x0014\n goto L_0x0042\n L_0x0031:\n boolean r0 = r3 instanceof java.lang.String\n goto L_0x0042\n L_0x0034:\n boolean r0 = r3 instanceof java.lang.Boolean\n goto L_0x0042\n L_0x0037:\n boolean r0 = r3 instanceof java.lang.Double\n goto L_0x0042\n L_0x003a:\n boolean r0 = r3 instanceof java.lang.Float\n goto L_0x0042\n L_0x003d:\n boolean r0 = r3 instanceof java.lang.Long\n goto L_0x0042\n L_0x0040:\n boolean r0 = r3 instanceof java.lang.Integer\n L_0x0042:\n if (r0 == 0) goto L_0x0045\n return\n L_0x0045:\n java.lang.IllegalArgumentException r2 = new java.lang.IllegalArgumentException\n java.lang.String r3 = \"Wrong object type used with protocol message reflection.\"\n r2.<init>(r3)\n goto L_0x004e\n L_0x004d:\n throw r2\n L_0x004e:\n goto L_0x004d\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.e90.m6017j(com.google.android.gms.internal.ads.zzenw, java.lang.Object):void\");\n }", "title": "" }, { "docid": "99f9ae5ce7674e31ae8478d5f11accbd", "score": "0.5317455", "text": "public boolean method_2445(ahl var1, int var2, int var3, int var4, int var5) {\r\n int var7 = 0;\r\n String[] var6 = class_752.method_4253();\r\n aji var10000 = var1.getBlock(var2, var3, var4);\r\n class_375 var10001 = this;\r\n int var14;\r\n if(var6 != null) {\r\n if(var10000 == this) {\r\n label229: {\r\n var7 = method_2580(var1.method_33(var2, var3, var4));\r\n var14 = var7;\r\n if(var6 != null) {\r\n if(var7 == 0) {\r\n return false;\r\n }\r\n\r\n var14 = var7;\r\n }\r\n\r\n byte var15 = 2;\r\n if(var6 != null) {\r\n label197: {\r\n if(var14 == 2) {\r\n var14 = var5;\r\n var15 = 5;\r\n if(var6 == null) {\r\n break label197;\r\n }\r\n\r\n if(var5 != 5) {\r\n var14 = var5;\r\n var15 = 4;\r\n if(var6 == null) {\r\n break label197;\r\n }\r\n\r\n if(var5 != 4) {\r\n return false;\r\n }\r\n }\r\n }\r\n\r\n var14 = var7;\r\n var15 = 1;\r\n }\r\n }\r\n\r\n if(var6 != null) {\r\n if(var14 != var15) {\r\n break label229;\r\n }\r\n\r\n var14 = var5;\r\n var15 = 3;\r\n }\r\n\r\n if(var6 != null) {\r\n if(var14 == var15) {\r\n break label229;\r\n }\r\n\r\n var14 = var5;\r\n if(var6 == null) {\r\n return (boolean)var14;\r\n }\r\n\r\n var15 = 2;\r\n }\r\n\r\n if(var14 != var15) {\r\n var14 = 0;\r\n return (boolean)var14;\r\n }\r\n }\r\n }\r\n\r\n var10000 = var1.getBlock(var2 - 1, var3, var4);\r\n var10001 = this;\r\n }\r\n\r\n byte var16;\r\n label188: {\r\n label187: {\r\n if(var6 != null) {\r\n if(var10000 != var10001) {\r\n break label187;\r\n }\r\n\r\n var10000 = var1.getBlock(var2 - 2, var3, var4);\r\n var10001 = this;\r\n }\r\n\r\n if(var10000 != var10001) {\r\n var16 = 1;\r\n break label188;\r\n }\r\n }\r\n\r\n var16 = 0;\r\n }\r\n\r\n byte var8;\r\n label179: {\r\n label178: {\r\n var8 = var16;\r\n var10000 = var1.getBlock(var2 + 1, var3, var4);\r\n var10001 = this;\r\n if(var6 != null) {\r\n if(var10000 != this) {\r\n break label178;\r\n }\r\n\r\n var10000 = var1.getBlock(var2 + 2, var3, var4);\r\n var10001 = this;\r\n }\r\n\r\n if(var10000 != var10001) {\r\n var16 = 1;\r\n break label179;\r\n }\r\n }\r\n\r\n var16 = 0;\r\n }\r\n\r\n byte var9;\r\n label170: {\r\n label169: {\r\n var9 = var16;\r\n var10000 = var1.getBlock(var2, var3, var4 - 1);\r\n var10001 = this;\r\n if(var6 != null) {\r\n if(var10000 != this) {\r\n break label169;\r\n }\r\n\r\n var10000 = var1.getBlock(var2, var3, var4 - 2);\r\n var10001 = this;\r\n }\r\n\r\n if(var10000 != var10001) {\r\n var16 = 1;\r\n break label170;\r\n }\r\n }\r\n\r\n var16 = 0;\r\n }\r\n\r\n byte var10;\r\n label161: {\r\n label160: {\r\n var10 = var16;\r\n var10000 = var1.getBlock(var2, var3, var4 + 1);\r\n var10001 = this;\r\n if(var6 != null) {\r\n if(var10000 != this) {\r\n break label160;\r\n }\r\n\r\n var10000 = var1.getBlock(var2, var3, var4 + 2);\r\n var10001 = this;\r\n }\r\n\r\n if(var10000 != var10001) {\r\n var16 = 1;\r\n break label161;\r\n }\r\n }\r\n\r\n var16 = 0;\r\n }\r\n\r\n byte var11 = var16;\r\n var14 = var8;\r\n if(var6 != null) {\r\n label151: {\r\n if(var8 == 0) {\r\n var14 = var9;\r\n if(var6 == null) {\r\n break label151;\r\n }\r\n\r\n if(var9 == 0) {\r\n var14 = var7;\r\n if(var6 == null) {\r\n break label151;\r\n }\r\n\r\n if(var7 != 1) {\r\n var14 = 0;\r\n break label151;\r\n }\r\n }\r\n }\r\n\r\n var14 = 1;\r\n }\r\n }\r\n\r\n int var12 = var14;\r\n var14 = var10;\r\n if(var6 != null) {\r\n label140: {\r\n if(var10 == 0) {\r\n var14 = var11;\r\n if(var6 == null) {\r\n break label140;\r\n }\r\n\r\n if(var11 == 0) {\r\n var14 = var7;\r\n if(var6 == null) {\r\n break label140;\r\n }\r\n\r\n if(var7 != 2) {\r\n var14 = 0;\r\n break label140;\r\n }\r\n }\r\n }\r\n\r\n var14 = 1;\r\n }\r\n }\r\n\r\n int var13 = var14;\r\n var14 = var12;\r\n if(var6 != null) {\r\n label129: {\r\n if(var12 != 0) {\r\n var14 = var5;\r\n if(var6 == null) {\r\n break label129;\r\n }\r\n\r\n if(var5 == 4) {\r\n return true;\r\n }\r\n }\r\n\r\n var14 = var12;\r\n }\r\n }\r\n\r\n if(var6 != null) {\r\n label122: {\r\n if(var14 != 0) {\r\n var14 = var5;\r\n if(var6 == null) {\r\n break label122;\r\n }\r\n\r\n if(var5 == 5) {\r\n return true;\r\n }\r\n }\r\n\r\n var14 = var13;\r\n }\r\n }\r\n\r\n if(var6 != null) {\r\n label115: {\r\n if(var14 != 0) {\r\n var14 = var5;\r\n if(var6 == null) {\r\n break label115;\r\n }\r\n\r\n if(var5 == 2) {\r\n return true;\r\n }\r\n }\r\n\r\n var14 = var13;\r\n }\r\n }\r\n\r\n if(var6 != null) {\r\n if(var14 != 0) {\r\n var14 = var5;\r\n if(var6 == null) {\r\n return (boolean)var14;\r\n }\r\n\r\n if(var5 == 3) {\r\n return true;\r\n }\r\n }\r\n\r\n var14 = 0;\r\n }\r\n\r\n return (boolean)var14;\r\n }", "title": "" }, { "docid": "154a90a34301345b1efff218d5ab4ecd", "score": "0.53170836", "text": "public JJITInstruction run(KFrame frame) throws Exception {\n KRegister[] regs = null;\n // **REMOVED Unused Var** int m_v;\n // **REMOVED Unused Var** int m_v2;\n // **REMOVED Unused Var** int m_v3;\n // **REMOVED Unused Var** int m_v4;\n // **REMOVED Unused Var** double m_d4;\n // **REMOVED Unused Var** double m_d5;\n KLocalThread thread = frame.getThread();\n // **REMOVED Unused Var** KReference ref;\n // **REMOVED Unused Var** KFrame nextFrame = null;\n // this_ref 0 ; r=2/w=0 : Cached\n KReference this_ref = ((KReference)frame.getLocal(0));\n // local_1 1 ; r=1/w=0 : NotCached\n // local_3 3 ; r=1/w=0 : NotCached\n // local_7 7 ; r=1/w=0 : NotCached\n // local_8 8 ; r=1/w=0 : NotCached\n // local_9 9 ; r=1/w=0 : NotCached\n // local_11 11 ; r=1/w=0 : NotCached\n // local_21 21 ; r=2/w=1 : Cached\n int local_21;\n // local_20 20 ; r=1/w=0 : NotCached\n // local_23 23 ; r=3/w=1 : Cached\n // **REMOVED Unused Var** int local_23;\n // local_22 22 ; r=1/w=1 : Cached\n int local_22;\n // local_25 25 ; r=2/w=1 : Cached\n // **REMOVED Unused Var** int local_25;\n // local_24 24 ; r=3/w=1 : Cached\n int local_24;\n // local_27 27 ; r=1/w=1 : Cached\n int local_27;\n // local_26 26 ; r=2/w=1 : Cached\n int local_26;\n // local_29 29 ; r=0/w=1 : NotCached\n // local_28 28 ; r=0/w=1 : NotCached\n // *********[141] GETFIELD(java.awt.Dimension,width,I)\n if(c_width == null){\n c_width = c_repo.getClassByName(\"java.awt.Dimension\").getField(\"width\",true);\n }\n // **REMOVED Substitution** s0 = c_width.getInstanceValue(frame.popRef());\n // *********[142] ISTORE(21)\n local_21 = c_width.getInstanceValue(frame.popRef()).intValue();\n // *********[143] ALOAD(20)\n // **REMOVED Substitution** s0 = frame.getLocal(20);\n // *********[144] GETFIELD(java.awt.Dimension,height,I)\n if(c_height == null){\n c_height = c_repo.getClassByName(\"java.awt.Dimension\").getField(\"height\",true);\n }\n // **REMOVED Substitution** s0 = c_height.getInstanceValue(((KReference)frame.getLocal(20)));\n // *********[145] ISTORE(22)\n local_22 = c_height.getInstanceValue(((KReference)frame.getLocal(20))).intValue();\n // *********[146] ICONST_0(Integer{0})\n // **REMOVED Substitution** s0 = IZERO;\n // *********[147] ISTORE(23)\n // **REMOVED Substitution** local_23 = 0;\n // *********[148] ILOAD(8)\n // **REMOVED Substitution** s0 = frame.getLocal(8);\n // *********[149] ILOAD(21)\n // **REMOVED Substitution** s1 = new KInteger(local_21);\n // *********[150] ICONST_2(Integer{2})\n // **REMOVED Substitution** s2 = ITWO;\n // *********[151] IDIV\n // **REMOVED Substitution** index = 2;\n // **REMOVED Substitution** s1 = new KInteger((local_21 / 2));\n // *********[152] INVOKE_HOST(java.lang.Math.min(II)I)\n // **REMOVED Substitution** m_v2 = (local_21 / 2);\n // **REMOVED Substitution** m_v = frame.getLocal(8).intValue();\n // **REMOVED Substitution** s0 = new KInteger(Math.min(frame.getLocal(8).intValue(),(local_21 / 2)));\n // *********[153] BIPUSH(10)\n // **REMOVED Substitution** s1 = I10;\n // *********[154] IADD\n // **REMOVED Substitution** index = 10;\n // **REMOVED Substitution** s0 = new KInteger((Math.min(frame.getLocal(8).intValue(),(local_21 / 2)) + 10));\n // *********[155] ISTORE(24)\n local_24 = (Math.min(frame.getLocal(8).intValue(),(local_21 / 2)) + 10);\n // *********[156] ILOAD(21)\n // **REMOVED Substitution** s0 = new KInteger(local_21);\n // *********[157] ICONST_2(Integer{2})\n // **REMOVED Substitution** s1 = ITWO;\n // *********[158] ISUB\n // **REMOVED Substitution** index = 2;\n // **REMOVED Substitution** s0 = new KInteger((local_21 - 2));\n // *********[159] ISTORE(25)\n // **REMOVED Substitution** local_25 = (local_21 - 2);\n // *********[160] ILOAD(22)\n // **REMOVED Substitution** s0 = new KInteger(local_22);\n // *********[161] ICONST_2(Integer{2})\n // **REMOVED Substitution** s1 = ITWO;\n // *********[162] ILOAD(7)\n // **REMOVED Substitution** s2 = frame.getLocal(7);\n // *********[163] IMUL\n // **REMOVED Substitution** index = frame.getLocal(7).intValue();\n // **REMOVED Substitution** s1 = new KInteger((2 * frame.getLocal(7).intValue()));\n // *********[164] ISUB\n // **REMOVED Substitution** index = (2 * frame.getLocal(7).intValue());\n // **REMOVED Substitution** s0 = new KInteger((local_22 - (2 * frame.getLocal(7).intValue())));\n // *********[165] ICONST_3(Integer{3})\n // **REMOVED Substitution** s1 = ITHREE;\n // *********[166] ISUB\n // **REMOVED Substitution** index = 3;\n // **REMOVED Substitution** s0 = new KInteger(((local_22 - (2 * frame.getLocal(7).intValue())) - 3));\n // *********[167] ISTORE(26)\n local_26 = ((local_22 - (2 * frame.getLocal(7).intValue())) - 3);\n // *********[168] ILOAD(26)\n // **REMOVED Substitution** s0 = new KInteger(local_26);\n // *********[169] ILOAD(23)\n // **REMOVED Substitution** s1 = KInteger.ZERO;\n // *********[170] ISUB\n // **REMOVED Substitution** index = 0;\n // **REMOVED Substitution** s0 = new KInteger((local_26 - 0));\n // *********[171] ILOAD(3)\n // **REMOVED Substitution** s1 = frame.getLocal(3);\n // *********[172] IDIV\n // **REMOVED Substitution** index = frame.getLocal(3).intValue();\n // **REMOVED Substitution** s0 = new KInteger(((local_26 - 0) / frame.getLocal(3).intValue()));\n // *********[173] ISTORE(27)\n local_27 = ((local_26 - 0) / frame.getLocal(3).intValue());\n // *********[174] ICONST_4(Integer{4})\n // **REMOVED Substitution** s0 = IFOUR;\n // *********[175] ILOAD(27)\n // **REMOVED Substitution** s1 = new KInteger(local_27);\n // *********[176] ICONST_4(Integer{4})\n // **REMOVED Substitution** s2 = IFOUR;\n // *********[177] ISUB\n // **REMOVED Substitution** index = 4;\n // **REMOVED Substitution** s1 = new KInteger((local_27 - 4));\n // *********[178] INVOKE_HOST(java.lang.Math.max(II)I)\n // **REMOVED Substitution** m_v4 = (local_27 - 4);\n // **REMOVED Substitution** m_v3 = 4;\n // **REMOVED Substitution** s0 = new KInteger(Math.max(4,(local_27 - 4)));\n // *********[179] ISTORE(28)\n frame.setLocal(28,new KInteger(Math.max(4,(local_27 - 4))));\n // *********[180] ILOAD(25)\n // **REMOVED Substitution** s0 = new KInteger((local_21 - 2));\n // *********[181] ILOAD(24)\n // **REMOVED Substitution** s1 = new KInteger(local_24);\n // *********[182] ISUB\n // **REMOVED Substitution** index = local_24;\n // **REMOVED Substitution** s0 = new KInteger(((local_21 - 2) - local_24));\n // *********[183] ICONST_5(Integer{5})\n // **REMOVED Substitution** s1 = IFIVE;\n // *********[184] ISUB\n // **REMOVED Substitution** index = 5;\n // **REMOVED Substitution** s0 = new KInteger((((local_21 - 2) - local_24) - 5));\n // *********[185] I2D\n // **REMOVED Substitution** s0 = new KDouble((((local_21 - 2) - local_24) - 5));\n // *********[186] DLOAD(11)\n // **REMOVED Substitution** s1 = frame.getLocal(11);\n // *********[187] DLOAD(9)\n // **REMOVED Substitution** s2 = frame.getLocal(9);\n // *********[188] DSUB\n // **REMOVED Substitution** m_d4 = frame.getLocal(9).doubleValue();\n // **REMOVED Substitution** s1 = new KDouble((frame.getLocal(11).doubleValue() - frame.getLocal(9).doubleValue()));\n // *********[189] DDIV\n // **REMOVED Substitution** m_d5 = (frame.getLocal(11).doubleValue() - frame.getLocal(9).doubleValue());\n // **REMOVED Substitution** s0 = new KDouble((((double)(((local_21 - 2) - local_24) - 5)) / (frame.getLocal(11).doubleValue() - frame.getLocal(9).doubleValue())));\n // *********[190] DSTORE(29)\n frame.setLocal(29,new KDouble((((double)(((local_21 - 2) - local_24) - 5)) / (frame.getLocal(11).doubleValue() - frame.getLocal(9).doubleValue()))));\n // *********[191] ALOAD(0)\n // **REMOVED Substitution** s0_ref = this_ref;\n // *********[192] ALOAD(1)\n // **REMOVED Substitution** s1 = frame.getLocal(1);\n // *********[193] ALOAD(0)\n // **REMOVED Substitution** s2_ref = this_ref;\n // *********[194] GETFIELD(jnt.Bench.Plotter,bgColor,Ljava/awt/Color;)\n // **REMOVED Substitution** s2_ref = c_bgColor.getInstanceRef(this_ref);\n // *********[195] ILOAD(24)\n // **REMOVED Substitution** s3 = new KInteger(local_24);\n // *********[196] ILOAD(23)\n // **REMOVED Substitution** s4 = KInteger.ZERO;\n // *********[197] ILOAD(25)\n // **REMOVED Substitution** s5 = new KInteger((local_21 - 2));\n // *********[198] ILOAD(24)\n // **REMOVED Substitution** s6 = new KInteger(local_24);\n // *********[199] ISUB\n // **REMOVED Substitution** index = local_24;\n // **REMOVED Substitution** s5 = new KInteger(((local_21 - 2) - local_24));\n // *********[200] ICONST_1(Integer{1})\n // **REMOVED Substitution** s6 = IONE;\n // *********[201] ISUB\n // **REMOVED Substitution** index = 1;\n // **REMOVED Substitution** s5 = new KInteger((((local_21 - 2) - local_24) - 1));\n // *********[202] ILOAD(26)\n // **REMOVED Substitution** s6 = new KInteger(local_26);\n // *********[203] ILOAD(23)\n // **REMOVED Substitution** s7 = KInteger.ZERO;\n // *********[204] ISUB\n // **REMOVED Substitution** index = 0;\n // **REMOVED Substitution** s6 = new KInteger((local_26 - 0));\n // *********[205] ICONST_1(Integer{1})\n // **REMOVED Substitution** s7 = IONE;\n // *********[206] ISUB\n // **REMOVED Substitution** index = 1;\n // **REMOVED Substitution** s6 = new KInteger(((local_26 - 0) - 1));\n // *********[207] INVOKEVIRTUAL(jnt.Bench.Plotter,drawBox(Ljava/awt/Graphics;Ljava/awt/Color;IIII)V)\n regs = new KRegister[7];\n regs[6] = new KInteger(((local_26 - 0) - 1));\n regs[5] = new KInteger((((local_21 - 2) - local_24) - 1));\n regs[4] = KInteger.ZERO;\n regs[3] = new KInteger(local_24);\n regs[2] = c_bgColor.getInstanceRef(this_ref);\n regs[1] = frame.getLocal(1);\n // **REMOVED Substitution** ref = this_ref;\n regs[0] = this_ref;\n frame.setProgramCounter(33);\n // **REMOVED Substitution** nextFrame = thread.pushFrame(c_memman.getKClass(this_ref).getVirtualMethodBySignature(\"drawBox(Ljava/awt/Graphics;Ljava/awt/Color;IIII)V\"),regs);\n frame.setLocal(21,new KInteger(local_21));\n frame.setLocal(23,KInteger.ZERO);\n frame.setLocal(22,new KInteger(local_22));\n frame.setLocal(25,new KInteger((local_21 - 2)));\n frame.setLocal(24,new KInteger(local_24));\n frame.setLocal(27,new KInteger(local_27));\n frame.setLocal(26,new KInteger(local_26));\n return ((JJITInstruction)thread.pushFrame(c_memman.getKClass(this_ref).getVirtualMethodBySignature(\"drawBox(Ljava/awt/Graphics;Ljava/awt/Color;IIII)V\"),regs).getCurrentInstruction());\n }", "title": "" }, { "docid": "da365212e9474fce9f7df878ce8a4c41", "score": "0.5303245", "text": "private synchronized int a(android.content.Context r18, java.lang.Integer r19, java.lang.String r20) {\n /*\n r17 = this;\n r9 = r18;\n monitor-enter(r17);\n if (r20 == 0) goto L_0x001a;\n L_0x0005:\n r2 = new java.io.File;\t Catch:{ all -> 0x0016 }\n r3 = G;\t Catch:{ all -> 0x0016 }\n r2.<init>(r3);\t Catch:{ all -> 0x0016 }\n r2 = r2.exists();\t Catch:{ all -> 0x0016 }\n if (r2 == 0) goto L_0x0013;\n L_0x0012:\n goto L_0x001a;\n L_0x0013:\n r1 = r20;\n goto L_0x001c;\n L_0x0016:\n r0 = move-exception;\n r1 = r0;\n goto L_0x0241;\n L_0x001a:\n r1 = G;\t Catch:{ all -> 0x0016 }\n L_0x001c:\n r2 = x;\t Catch:{ all -> 0x0016 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r3.<init>();\t Catch:{ all -> 0x0016 }\n r4 = \"licensePath: \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r1);\t Catch:{ all -> 0x0016 }\n r3 = r3.toString();\t Catch:{ all -> 0x0016 }\n r2.info(r3);\t Catch:{ all -> 0x0016 }\n r10 = com.baidu.speech.easr.Utility.c(r18);\t Catch:{ all -> 0x0016 }\n r2 = new java.io.File;\t Catch:{ all -> 0x0016 }\n r2.<init>(r1);\t Catch:{ all -> 0x0016 }\n r2 = r2.exists();\t Catch:{ all -> 0x0016 }\n r11 = 0;\n if (r2 != 0) goto L_0x00ac;\n L_0x0042:\n r2 = new java.io.File;\t Catch:{ all -> 0x0016 }\n r2.<init>(r1);\t Catch:{ all -> 0x0016 }\n r2 = r2.canWrite();\t Catch:{ all -> 0x0016 }\n if (r2 != 0) goto L_0x004f;\n L_0x004d:\n r1 = G;\t Catch:{ all -> 0x0016 }\n L_0x004f:\n r7 = r1;\n r8 = com.baidu.speech.easr.stat.StatHelper.a(r9, r11);\t Catch:{ all -> 0x0016 }\n r1 = r17;\n r2 = r9;\n r3 = r19;\n r4 = r10;\n r5 = r8;\n r6 = r7;\n r1 = r1.a(r2, r3, r4, r5, r6);\t Catch:{ all -> 0x0016 }\n r2 = x;\t Catch:{ all -> 0x0016 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r3.<init>();\t Catch:{ all -> 0x0016 }\n r4 = \"GetLicense getLicenseRet \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r1);\t Catch:{ all -> 0x0016 }\n r4 = \", licensePath: \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r7);\t Catch:{ all -> 0x0016 }\n r3 = r3.toString();\t Catch:{ all -> 0x0016 }\n r2.info(r3);\t Catch:{ all -> 0x0016 }\n r2 = x;\t Catch:{ all -> 0x0016 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r3.<init>();\t Catch:{ all -> 0x0016 }\n r4 = \"cuid: \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r10);\t Catch:{ all -> 0x0016 }\n r4 = \", stat: \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r8);\t Catch:{ all -> 0x0016 }\n r3 = r3.toString();\t Catch:{ all -> 0x0016 }\n r2.info(r3);\t Catch:{ all -> 0x0016 }\n if (r1 >= 0) goto L_0x00aa;\n L_0x009e:\n r2 = \"\";\n J = r2;\t Catch:{ all -> 0x0016 }\n r1 = java.lang.Math.abs(r1);\t Catch:{ all -> 0x0016 }\n r1 = r1 + 9000;\n monitor-exit(r17);\n return r1;\n L_0x00aa:\n r12 = r7;\n goto L_0x00ad;\n L_0x00ac:\n r12 = r1;\n L_0x00ad:\n r1 = 32;\n r13 = new byte[r1];\t Catch:{ all -> 0x0016 }\n r1 = 1024; // 0x400 float:1.435E-42 double:5.06E-321;\n r14 = new byte[r1];\t Catch:{ all -> 0x0016 }\n r6 = com.baidu.speech.easr.Utility.a(r12, r14);\t Catch:{ all -> 0x0016 }\n r1 = z;\t Catch:{ all -> 0x0016 }\n r1 = r1.getFilesDir();\t Catch:{ all -> 0x0016 }\n r8 = r1.getAbsolutePath();\t Catch:{ all -> 0x0016 }\n r1 = x;\t Catch:{ all -> 0x0016 }\n r2 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r2.<init>();\t Catch:{ all -> 0x0016 }\n r3 = \"logDir: \";\n r2.append(r3);\t Catch:{ all -> 0x0016 }\n r2.append(r8);\t Catch:{ all -> 0x0016 }\n r2 = r2.toString();\t Catch:{ all -> 0x0016 }\n r1.info(r2);\t Catch:{ all -> 0x0016 }\n r2 = z;\t Catch:{ all -> 0x0016 }\n r1 = r17;\n r3 = r19;\n r4 = r10;\n r5 = r14;\n r7 = r13;\n r15 = r8;\n r1 = r1.a(r2, r3, r4, r5, r6, r7, r8);\t Catch:{ all -> 0x0016 }\n r2 = new java.lang.String;\t Catch:{ all -> 0x0016 }\n r2.<init>(r13);\t Catch:{ all -> 0x0016 }\n r3 = \"end\";\n r3 = r2.indexOf(r3);\t Catch:{ all -> 0x0016 }\n r4 = -1;\n r8 = 0;\n if (r3 == r4) goto L_0x0102;\n L_0x00f6:\n r3 = r2.substring(r8, r3);\t Catch:{ all -> 0x0016 }\n r4 = new com.baidu.speech.easr.stat.StatThread;\t Catch:{ all -> 0x0016 }\n r4.<init>(r9, r3);\t Catch:{ all -> 0x0016 }\n r4.start();\t Catch:{ all -> 0x0016 }\n L_0x0102:\n r3 = x;\t Catch:{ all -> 0x0016 }\n r4 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r4.<init>();\t Catch:{ all -> 0x0016 }\n r5 = \"VerifyLicense authRet \";\n r4.append(r5);\t Catch:{ all -> 0x0016 }\n r4.append(r1);\t Catch:{ all -> 0x0016 }\n r4 = r4.toString();\t Catch:{ all -> 0x0016 }\n r3.info(r4);\t Catch:{ all -> 0x0016 }\n r3 = x;\t Catch:{ all -> 0x0016 }\n r4 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r4.<init>();\t Catch:{ all -> 0x0016 }\n r5 = \"appIdStr: \";\n r4.append(r5);\t Catch:{ all -> 0x0016 }\n r4.append(r2);\t Catch:{ all -> 0x0016 }\n r2 = r4.toString();\t Catch:{ all -> 0x0016 }\n r3.info(r2);\t Catch:{ all -> 0x0016 }\n r2 = P;\t Catch:{ all -> 0x0016 }\n r7 = 1;\n r6 = 1000; // 0x3e8 float:1.401E-42 double:4.94E-321;\n if (r1 < 0) goto L_0x0159;\n L_0x0135:\n r2 = P;\t Catch:{ all -> 0x0016 }\n if (r1 >= r6) goto L_0x0140;\n L_0x0139:\n I = r8;\t Catch:{ all -> 0x0016 }\n r1 = \"\";\n J = r1;\t Catch:{ all -> 0x0016 }\n goto L_0x0157;\n L_0x0140:\n I = r7;\t Catch:{ all -> 0x0016 }\n r2 = java.util.Locale.US;\t Catch:{ all -> 0x0016 }\n r3 = \"[百度语音试用服务%d天后到期]\";\n r4 = new java.lang.Object[r7];\t Catch:{ all -> 0x0016 }\n r5 = P;\t Catch:{ all -> 0x0016 }\n r1 = r1 - r6;\n r1 = java.lang.Integer.valueOf(r1);\t Catch:{ all -> 0x0016 }\n r4[r8] = r1;\t Catch:{ all -> 0x0016 }\n r1 = java.lang.String.format(r2, r3, r4);\t Catch:{ all -> 0x0016 }\n J = r1;\t Catch:{ all -> 0x0016 }\n L_0x0157:\n monitor-exit(r17);\n return r8;\n L_0x0159:\n r2 = P;\t Catch:{ all -> 0x0016 }\n r5 = -6;\n if (r1 != r5) goto L_0x0179;\n L_0x015e:\n r1 = C;\t Catch:{ all -> 0x0016 }\n if (r1 != 0) goto L_0x0177;\n L_0x0162:\n r7 = new java.lang.Thread;\t Catch:{ all -> 0x0016 }\n r11 = new com.baidu.speech.easr.EmbeddedASREngine$1;\t Catch:{ all -> 0x0016 }\n r1 = r11;\n r2 = r17;\n r3 = r12;\n r4 = r9;\n r5 = r19;\n r6 = r10;\n r1.<init>(r3, r4, r5, r6);\t Catch:{ all -> 0x0016 }\n r7.<init>(r11);\t Catch:{ all -> 0x0016 }\n r7.start();\t Catch:{ all -> 0x0016 }\n L_0x0177:\n monitor-exit(r17);\n return r8;\n L_0x0179:\n r11 = com.baidu.speech.easr.stat.StatHelper.a(r9, r11);\t Catch:{ all -> 0x0016 }\n r1 = new java.io.File;\t Catch:{ all -> 0x0016 }\n r1.<init>(r12);\t Catch:{ all -> 0x0016 }\n r1 = r1.canWrite();\t Catch:{ all -> 0x0016 }\n if (r1 != 0) goto L_0x018b;\n L_0x0188:\n r1 = G;\t Catch:{ all -> 0x0016 }\n r12 = r1;\n L_0x018b:\n r1 = r17;\n r2 = r9;\n r3 = r19;\n r4 = r10;\n r9 = -6;\n r5 = r11;\n r6 = r12;\n r1 = r1.a(r2, r3, r4, r5, r6);\t Catch:{ all -> 0x0016 }\n r2 = x;\t Catch:{ all -> 0x0016 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r3.<init>();\t Catch:{ all -> 0x0016 }\n r4 = \"GetLicense getLicenseRet \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r1);\t Catch:{ all -> 0x0016 }\n r4 = \", licensePath: \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r12);\t Catch:{ all -> 0x0016 }\n r3 = r3.toString();\t Catch:{ all -> 0x0016 }\n r2.info(r3);\t Catch:{ all -> 0x0016 }\n r2 = x;\t Catch:{ all -> 0x0016 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r3.<init>();\t Catch:{ all -> 0x0016 }\n r4 = \"cuid: \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r10);\t Catch:{ all -> 0x0016 }\n r4 = \", stat: \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r11);\t Catch:{ all -> 0x0016 }\n r3 = r3.toString();\t Catch:{ all -> 0x0016 }\n r2.info(r3);\t Catch:{ all -> 0x0016 }\n if (r1 <= 0) goto L_0x0235;\n L_0x01d6:\n r6 = com.baidu.speech.easr.Utility.a(r12, r14);\t Catch:{ all -> 0x0016 }\n r2 = z;\t Catch:{ all -> 0x0016 }\n r1 = r17;\n r3 = r19;\n r4 = r10;\n r5 = r14;\n r10 = 1;\n r7 = r13;\n r11 = 0;\n r8 = r15;\n r1 = r1.a(r2, r3, r4, r5, r6, r7, r8);\t Catch:{ all -> 0x0016 }\n r2 = x;\t Catch:{ all -> 0x0016 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0016 }\n r3.<init>();\t Catch:{ all -> 0x0016 }\n r4 = \"VerifyLicense authRet \";\n r3.append(r4);\t Catch:{ all -> 0x0016 }\n r3.append(r1);\t Catch:{ all -> 0x0016 }\n r3 = r3.toString();\t Catch:{ all -> 0x0016 }\n r2.info(r3);\t Catch:{ all -> 0x0016 }\n r2 = P;\t Catch:{ all -> 0x0016 }\n if (r1 >= 0) goto L_0x020f;\n L_0x0204:\n r2 = P;\t Catch:{ all -> 0x0016 }\n if (r1 != r9) goto L_0x0209;\n L_0x0208:\n goto L_0x020f;\n L_0x0209:\n r2 = \"[百度语音试用服务已经到期,请及时更新授权]\";\n J = r2;\t Catch:{ all -> 0x0016 }\n monitor-exit(r17);\n return r1;\n L_0x020f:\n r2 = P;\t Catch:{ all -> 0x0016 }\n r2 = 1000; // 0x3e8 float:1.401E-42 double:4.94E-321;\n if (r1 >= r2) goto L_0x021c;\n L_0x0215:\n I = r11;\t Catch:{ all -> 0x0016 }\n r1 = \"\";\n J = r1;\t Catch:{ all -> 0x0016 }\n goto L_0x0233;\n L_0x021c:\n I = r10;\t Catch:{ all -> 0x0016 }\n r3 = java.util.Locale.US;\t Catch:{ all -> 0x0016 }\n r4 = \"[百度语音试用服务%d天后到期]\";\n r5 = new java.lang.Object[r10];\t Catch:{ all -> 0x0016 }\n r6 = P;\t Catch:{ all -> 0x0016 }\n r1 = r1 - r2;\n r1 = java.lang.Integer.valueOf(r1);\t Catch:{ all -> 0x0016 }\n r5[r11] = r1;\t Catch:{ all -> 0x0016 }\n r1 = java.lang.String.format(r3, r4, r5);\t Catch:{ all -> 0x0016 }\n J = r1;\t Catch:{ all -> 0x0016 }\n L_0x0233:\n monitor-exit(r17);\n return r11;\n L_0x0235:\n r2 = \"[百度语音试用服务已经到期,请及时更新授权]\";\n J = r2;\t Catch:{ all -> 0x0016 }\n r1 = java.lang.Math.abs(r1);\t Catch:{ all -> 0x0016 }\n r1 = r1 + 9000;\n monitor-exit(r17);\n return r1;\n L_0x0241:\n monitor-exit(r17);\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.baidu.speech.easr.EmbeddedASREngine.a(android.content.Context, java.lang.Integer, java.lang.String):int\");\n }", "title": "" }, { "docid": "76fe35c14cbde1edc401a763b7c4b1f4", "score": "0.52987117", "text": "private static byte[] m19816a(java.lang.String r3, byte[] r4, java.lang.String r5, java.lang.String r6, java.lang.String r7, boolean r8, boolean r9) throws java.lang.Throwable {\n /*\n r8 = 0\n com.bytedance.framwork.core.monitor.MonitorNetUtil$a r0 = f18672a // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n if (r0 == 0) goto L_0x000b\n com.bytedance.framwork.core.monitor.MonitorNetUtil$a r0 = f18672a // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n java.lang.String r3 = r0.mo15283a(r3, r4) // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n L_0x000b:\n java.util.LinkedList r0 = new java.util.LinkedList // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n r0.<init>() // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n if (r9 == 0) goto L_0x001c\n java.lang.String r3 = com.bytedance.frameworks.core.encrypt.C6367a.m19792a(r3, r0) // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n java.net.URL r1 = new java.net.URL // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n r1.<init>(r3) // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n goto L_0x0021\n L_0x001c:\n java.net.URL r1 = new java.net.URL // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n r1.<init>(r3) // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n L_0x0021:\n java.net.URLConnection r3 = r1.openConnection() // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n java.net.HttpURLConnection r3 = (java.net.HttpURLConnection) r3 // Catch:{ Throwable -> 0x00e3, all -> 0x00df }\n if (r9 == 0) goto L_0x0056\n boolean r9 = r0.isEmpty() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n if (r9 != 0) goto L_0x0056\n java.util.Iterator r9 = r0.iterator() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n L_0x0033:\n boolean r0 = r9.hasNext() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n if (r0 == 0) goto L_0x0056\n java.lang.Object r0 = r9.next() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n android.util.Pair r0 = (android.util.Pair) r0 // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n if (r0 == 0) goto L_0x0033\n java.lang.Object r1 = r0.first // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n java.lang.String r1 = (java.lang.String) r1 // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n java.lang.Object r0 = r0.second // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n java.lang.String r0 = (java.lang.String) r0 // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n com.bytedance.framwork.core.monitor.C6378b.m19821a(r3, r1, r0) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n goto L_0x0033\n L_0x004d:\n r4 = move-exception\n goto L_0x00eb\n L_0x0050:\n r4 = move-exception\n r2 = r8\n r8 = r3\n r3 = r2\n goto L_0x00e6\n L_0x0056:\n r9 = 1\n r3.setDoOutput(r9) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n if (r5 == 0) goto L_0x0061\n java.lang.String r9 = \"Content-Type\"\n com.bytedance.framwork.core.monitor.C6378b.m19821a(r3, r9, r5) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n L_0x0061:\n if (r6 == 0) goto L_0x0068\n java.lang.String r5 = \"Content-Encoding\"\n com.bytedance.framwork.core.monitor.C6378b.m19821a(r3, r5, r6) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n L_0x0068:\n java.lang.String r5 = \"Accept-Encoding\"\n java.lang.String r6 = \"gzip\"\n com.bytedance.framwork.core.monitor.C6378b.m19821a(r3, r5, r6) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n java.lang.String r5 = \"Version-Code\"\n java.lang.String r6 = \"1\"\n com.bytedance.framwork.core.monitor.C6378b.m19821a(r3, r5, r6) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n r3.setRequestMethod(r7) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n if (r4 == 0) goto L_0x0090\n int r5 = r4.length // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n if (r5 <= 0) goto L_0x0090\n java.io.DataOutputStream r5 = new java.io.DataOutputStream // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n java.io.OutputStream r6 = r3.getOutputStream() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n r5.<init>(r6) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n r5.write(r4) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n r5.flush() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n r5.close() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n L_0x0090:\n int r4 = r3.getResponseCode() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n r5 = 200(0xc8, float:2.8E-43)\n if (r4 != r5) goto L_0x00d5\n java.io.InputStream r4 = com.bytedance.framwork.core.monitor.C6378b.m19820a(r3) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n java.lang.String r5 = r3.getContentEncoding() // Catch:{ Throwable -> 0x00d0, all -> 0x00cc }\n boolean r6 = android.text.TextUtils.isEmpty(r5) // Catch:{ Throwable -> 0x00d0, all -> 0x00cc }\n if (r6 != 0) goto L_0x00bb\n java.lang.String r6 = \"gzip\"\n boolean r5 = r5.equalsIgnoreCase(r6) // Catch:{ Throwable -> 0x00d0, all -> 0x00cc }\n if (r5 == 0) goto L_0x00bb\n java.util.zip.GZIPInputStream r5 = new java.util.zip.GZIPInputStream // Catch:{ Throwable -> 0x00d0, all -> 0x00cc }\n r5.<init>(r4) // Catch:{ Throwable -> 0x00d0, all -> 0x00cc }\n byte[] r6 = m19815a(r5) // Catch:{ Throwable -> 0x00d0, all -> 0x00cc }\n r5.close() // Catch:{ Throwable -> 0x00d0, all -> 0x00cc }\n goto L_0x00bf\n L_0x00bb:\n byte[] r6 = m19815a(r4) // Catch:{ Throwable -> 0x00d0, all -> 0x00cc }\n L_0x00bf:\n if (r4 == 0) goto L_0x00c6\n r4.close() // Catch:{ Exception -> 0x00c5 }\n goto L_0x00c6\n L_0x00c5:\n L_0x00c6:\n if (r3 == 0) goto L_0x00cb\n r3.disconnect() // Catch:{ Exception -> 0x00cb }\n L_0x00cb:\n return r6\n L_0x00cc:\n r5 = move-exception\n r8 = r4\n r4 = r5\n goto L_0x00eb\n L_0x00d0:\n r5 = move-exception\n r8 = r3\n r3 = r4\n r4 = r5\n goto L_0x00e6\n L_0x00d5:\n java.lang.String r5 = r3.getResponseMessage() // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n com.bytedance.apm.net.HttpResponseException r6 = new com.bytedance.apm.net.HttpResponseException // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n r6.<init>(r4, r5) // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n throw r6 // Catch:{ Throwable -> 0x0050, all -> 0x004d }\n L_0x00df:\n r3 = move-exception\n r4 = r3\n r3 = r8\n goto L_0x00eb\n L_0x00e3:\n r3 = move-exception\n r4 = r3\n r3 = r8\n L_0x00e6:\n throw r4 // Catch:{ all -> 0x00e7 }\n L_0x00e7:\n r4 = move-exception\n r2 = r8\n r8 = r3\n r3 = r2\n L_0x00eb:\n if (r8 == 0) goto L_0x00f2\n r8.close() // Catch:{ Exception -> 0x00f1 }\n goto L_0x00f2\n L_0x00f1:\n L_0x00f2:\n if (r3 == 0) goto L_0x00f7\n r3.disconnect() // Catch:{ Exception -> 0x00f7 }\n L_0x00f7:\n throw r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bytedance.framwork.core.monitor.MonitorNetUtil.m19816a(java.lang.String, byte[], java.lang.String, java.lang.String, java.lang.String, boolean, boolean):byte[]\");\n }", "title": "" }, { "docid": "68c692dea7e6ada7778ffd66f4b635bc", "score": "0.52849054", "text": "public static final <E, R> java.lang.Object m149321a(kotlinx.coroutines.channels.C48138e<? extends E> r17, java.lang.Object r18, kotlin.jvm.p357a.C48006q<? super java.lang.Integer, ? super R, ? super E, ? extends R> r19, kotlin.coroutines.C47919b<? super R> r20) {\n /*\n r0 = r20\n boolean r1 = r0 instanceof kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$foldIndexed$1\n if (r1 == 0) goto L_0x0016\n r1 = r0\n kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$foldIndexed$1 r1 = (kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$foldIndexed$1) r1\n int r2 = r1.label\n r3 = -2147483648(0xffffffff80000000, float:-0.0)\n r2 = r2 & r3\n if (r2 == 0) goto L_0x0016\n int r0 = r1.label\n int r0 = r0 - r3\n r1.label = r0\n goto L_0x001b\n L_0x0016:\n kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$foldIndexed$1 r1 = new kotlinx.coroutines.channels.ChannelsKt__Channels_commonKt$foldIndexed$1\n r1.<init>(r0)\n L_0x001b:\n java.lang.Object r0 = r1.result\n java.lang.Object r2 = kotlin.coroutines.intrinsics.C47948a.m148881a()\n int r3 = r1.label\n switch(r3) {\n case 0: goto L_0x009d;\n case 1: goto L_0x0064;\n case 2: goto L_0x002e;\n default: goto L_0x0026;\n }\n L_0x0026:\n java.lang.IllegalStateException r0 = new java.lang.IllegalStateException\n java.lang.String r1 = \"call to 'resume' before 'invoke' with coroutine\"\n r0.<init>(r1)\n throw r0\n L_0x002e:\n java.lang.Object r3 = r1.L$9\n kotlinx.coroutines.channels.b r3 = (kotlinx.coroutines.channels.C48135b) r3\n java.lang.Object r4 = r1.L$8\n kotlinx.coroutines.channels.e r4 = (kotlinx.coroutines.channels.C48138e) r4\n java.lang.Object r5 = r1.L$7\n java.lang.Throwable r5 = (java.lang.Throwable) r5\n java.lang.Object r6 = r1.L$6\n kotlinx.coroutines.channels.e r6 = (kotlinx.coroutines.channels.C48138e) r6\n java.lang.Object r7 = r1.L$5\n kotlinx.coroutines.channels.e r7 = (kotlinx.coroutines.channels.C48138e) r7\n java.lang.Object r8 = r1.L$4\n kotlin.jvm.internal.Ref$ObjectRef r8 = (kotlin.jvm.internal.Ref.ObjectRef) r8\n java.lang.Object r9 = r1.L$3\n kotlin.jvm.internal.Ref$IntRef r9 = (kotlin.jvm.internal.Ref.IntRef) r9\n java.lang.Object r10 = r1.L$2\n kotlin.jvm.a.q r10 = (kotlin.jvm.p357a.C48006q) r10\n java.lang.Object r11 = r1.L$1\n java.lang.Object r12 = r1.L$0\n kotlinx.coroutines.channels.e r12 = (kotlinx.coroutines.channels.C48138e) r12\n boolean r13 = r0 instanceof kotlin.Result.Failure // Catch:{ Throwable -> 0x009a }\n if (r13 != 0) goto L_0x005f\n r15 = r8\n r8 = r2\n r2 = r6\n r6 = r3\n r3 = r15\n goto L_0x0111\n L_0x005f:\n kotlin.Result$Failure r0 = (kotlin.Result.Failure) r0 // Catch:{ Throwable -> 0x009a }\n java.lang.Throwable r0 = r0.exception // Catch:{ Throwable -> 0x009a }\n throw r0 // Catch:{ Throwable -> 0x009a }\n L_0x0064:\n java.lang.Object r3 = r1.L$9\n kotlinx.coroutines.channels.b r3 = (kotlinx.coroutines.channels.C48135b) r3\n java.lang.Object r4 = r1.L$8\n kotlinx.coroutines.channels.e r4 = (kotlinx.coroutines.channels.C48138e) r4\n java.lang.Object r5 = r1.L$7\n java.lang.Throwable r5 = (java.lang.Throwable) r5\n java.lang.Object r6 = r1.L$6\n kotlinx.coroutines.channels.e r6 = (kotlinx.coroutines.channels.C48138e) r6\n java.lang.Object r7 = r1.L$5\n kotlinx.coroutines.channels.e r7 = (kotlinx.coroutines.channels.C48138e) r7\n java.lang.Object r8 = r1.L$4\n kotlin.jvm.internal.Ref$ObjectRef r8 = (kotlin.jvm.internal.Ref.ObjectRef) r8\n java.lang.Object r9 = r1.L$3\n kotlin.jvm.internal.Ref$IntRef r9 = (kotlin.jvm.internal.Ref.IntRef) r9\n java.lang.Object r10 = r1.L$2\n kotlin.jvm.a.q r10 = (kotlin.jvm.p357a.C48006q) r10\n java.lang.Object r11 = r1.L$1\n java.lang.Object r12 = r1.L$0\n kotlinx.coroutines.channels.e r12 = (kotlinx.coroutines.channels.C48138e) r12\n boolean r13 = r0 instanceof kotlin.Result.Failure // Catch:{ Throwable -> 0x009a }\n if (r13 != 0) goto L_0x0092\n r15 = r6\n r6 = r2\n r2 = r15\n goto L_0x00e7\n L_0x0092:\n kotlin.Result$Failure r0 = (kotlin.Result.Failure) r0 // Catch:{ Throwable -> 0x009a }\n java.lang.Throwable r0 = r0.exception // Catch:{ Throwable -> 0x009a }\n throw r0 // Catch:{ Throwable -> 0x009a }\n L_0x0097:\n r0 = move-exception\n goto L_0x0129\n L_0x009a:\n r0 = move-exception\n goto L_0x0128\n L_0x009d:\n boolean r3 = r0 instanceof kotlin.Result.Failure\n if (r3 != 0) goto L_0x012a\n kotlin.jvm.internal.Ref$IntRef r0 = new kotlin.jvm.internal.Ref$IntRef\n r0.<init>()\n r3 = 0\n r0.element = r3\n kotlin.jvm.internal.Ref$ObjectRef r3 = new kotlin.jvm.internal.Ref$ObjectRef\n r3.<init>()\n r4 = r18\n r3.element = r4\n r5 = 0\n kotlinx.coroutines.channels.b r6 = r17.mo120362a() // Catch:{ Throwable -> 0x009a }\n r7 = r17\n r12 = r7\n r10 = r19\n r8 = r2\n r11 = r4\n r2 = r12\n r4 = r2\n L_0x00c0:\n r1.L$0 = r12 // Catch:{ Throwable -> 0x009a }\n r1.L$1 = r11 // Catch:{ Throwable -> 0x009a }\n r1.L$2 = r10 // Catch:{ Throwable -> 0x009a }\n r1.L$3 = r0 // Catch:{ Throwable -> 0x009a }\n r1.L$4 = r3 // Catch:{ Throwable -> 0x009a }\n r1.L$5 = r7 // Catch:{ Throwable -> 0x009a }\n r1.L$6 = r2 // Catch:{ Throwable -> 0x009a }\n r1.L$7 = r5 // Catch:{ Throwable -> 0x009a }\n r1.L$8 = r4 // Catch:{ Throwable -> 0x009a }\n r1.L$9 = r6 // Catch:{ Throwable -> 0x009a }\n r9 = 1\n r1.label = r9 // Catch:{ Throwable -> 0x009a }\n java.lang.Object r9 = r6.mo120360a(r1) // Catch:{ Throwable -> 0x009a }\n if (r9 != r8) goto L_0x00de\n return r8\n L_0x00de:\n r15 = r9\n r9 = r0\n r0 = r15\n r16 = r8\n r8 = r3\n r3 = r6\n r6 = r16\n L_0x00e7:\n java.lang.Boolean r0 = (java.lang.Boolean) r0 // Catch:{ Throwable -> 0x009a }\n boolean r0 = r0.booleanValue() // Catch:{ Throwable -> 0x009a }\n if (r0 == 0) goto L_0x0125\n r1.L$0 = r12 // Catch:{ Throwable -> 0x009a }\n r1.L$1 = r11 // Catch:{ Throwable -> 0x009a }\n r1.L$2 = r10 // Catch:{ Throwable -> 0x009a }\n r1.L$3 = r9 // Catch:{ Throwable -> 0x009a }\n r1.L$4 = r8 // Catch:{ Throwable -> 0x009a }\n r1.L$5 = r7 // Catch:{ Throwable -> 0x009a }\n r1.L$6 = r2 // Catch:{ Throwable -> 0x009a }\n r1.L$7 = r5 // Catch:{ Throwable -> 0x009a }\n r1.L$8 = r4 // Catch:{ Throwable -> 0x009a }\n r1.L$9 = r3 // Catch:{ Throwable -> 0x009a }\n r0 = 2\n r1.label = r0 // Catch:{ Throwable -> 0x009a }\n java.lang.Object r0 = r3.mo120361b(r1) // Catch:{ Throwable -> 0x009a }\n if (r0 != r6) goto L_0x010d\n return r6\n L_0x010d:\n r15 = r6\n r6 = r3\n r3 = r8\n r8 = r15\n L_0x0111:\n int r13 = r9.element // Catch:{ Throwable -> 0x009a }\n int r14 = r13 + 1\n r9.element = r14 // Catch:{ Throwable -> 0x009a }\n java.lang.Integer r13 = kotlin.coroutines.jvm.internal.C47951a.m148884a(r13) // Catch:{ Throwable -> 0x009a }\n T r14 = r3.element // Catch:{ Throwable -> 0x009a }\n java.lang.Object r0 = r10.invoke(r13, r14, r0) // Catch:{ Throwable -> 0x009a }\n r3.element = r0 // Catch:{ Throwable -> 0x009a }\n r0 = r9\n goto L_0x00c0\n L_0x0125:\n T r0 = r8.element\n return r0\n L_0x0128:\n throw r0 // Catch:{ all -> 0x0097 }\n L_0x0129:\n throw r0\n L_0x012a:\n kotlin.Result$Failure r0 = (kotlin.Result.Failure) r0\n java.lang.Throwable r0 = r0.exception\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlinx.coroutines.channels.C48137d.m149321a(kotlinx.coroutines.channels.e, java.lang.Object, kotlin.jvm.a.q, kotlin.coroutines.b):java.lang.Object\");\n }", "title": "" } ]
e4f694ee306804f6ff73420f9631e48d
Returns parameterized values for User View ADD USER MANAGEMENT
[ { "docid": "2969dcd0af437eee491887d17c6b6dd3", "score": "0.6173881", "text": "public static String getAddUserParam(UserModel form) {\n\n\t\tString s = \"\";\n\n\t\tif (form.getUser() != null && form.getUser() != \"\") {\n\t\t\ts = s + \"@p_user='\" + form.getUser() + \"',\";\n\t\t}\n\n\t\tif (form.getUserName() != null && form.getUserName() != \"\") {\n\t\t\ts = s + \"@p_userName='\" + form.getUserName() + \"',\";\n\t\t}\n\t\t\n\t\tif (form.getUserLname() != null && form.getUserLname() != \"\") {\n\t\t\ts = s + \"@p_userLastName='\" + form.getUserLname() + \"',\";\n\t\t}\n\n\t\tif (form.getUserType() != null && form.getUserType() != \"\") {\n\t\t\ts = s + \"@p_userType='\" + form.getUserType() + \"',\";\n\t\t}\n\n\t\tif (form.getUserPassword() != null && form.getUserPassword() != \"\") {\n\t\t\ts = s + \"@p_userPassword='\" + form.getUserPassword() + \"',\";\n\t\t}\n\n\t\tif (form.getUserPINno() != null && form.getUserPINno() != \"\") {\n\t\t\ts = s + \"@p_userPINno='\" + form.getUserPINno() + \"',\";\n\t\t}\n\n\t\tif (form.getUserMobile() != null && form.getUserMobile() != \"\") {\n\t\t\ts = s + \"@p_userMobile='\" + form.getUserMobile() + \"',\";\n\t\t}\n\n\t\tif (form.getUserEmail() != null && form.getUserEmail() != \"\") {\n\t\t\ts = s + \"@p_userEmail='\" + form.getUserEmail() + \"',\";\n\t\t}\n\n\t\tif (form.getUserIMEI() != null && form.getUserIMEI() != \"\") {\n\t\t\ts = s + \"@p_userIMEI='\" + form.getUserIMEI() + \"',\";\n\t\t}\n\n\t\tif (form.getUserAddress() != null && form.getUserAddress() != \"\") {\n\t\t\ts = s + \"@p_userAddress='\" + form.getUserAddress() + \"',\";\n\t\t}\n\n\t\tif (form.getUserState() != null && form.getUserState() != \"\") {\n\t\t\ts = s + \"@p_userState='\" + form.getUserState() + \"',\";\n\t\t}\n\n\t\tif (form.getUserCountry() != null && form.getUserCountry() != \"\") {\n\t\t\ts = s + \"@p_userCountry='\" + form.getUserCountry() + \"',\";\n\t\t}\n\n\t\tif (form.getUserDist() != null && form.getUserDist() != \"\") {\n\t\t\ts = s + \"@p_userDist='\" + form.getUserDist() + \"',\";\n\t\t}\n\n\t\tif (form.getUserPin() != null && form.getUserPin() != \"\") {\n\t\t\ts = s + \"@p_userPin='\" + form.getUserPin() + \"',\";\n\t\t}\n\t\t\n\t\tif (form.getCreatedBy() != null && form.getCreatedBy() != \"\") {\n\t\t\ts = s + \"@p_createdBy='\" + form.getCreatedBy() + \"',\";\n\t\t}\n\n\t\tif (form.getUserRole() != null && form.getUserRole() != \"\") {\n\n\t\t\t// s = s + \"@p_userRole='\" + form.getUserRole() + \"',\";\n\n\t\t\tString am = \"\";\n\n\t\t\tString[] amList = form.getUserRole().split(\",\");\n\n\t\t\tfor (int i = 0; i < amList.length; i++) {\n\n\t\t\t\tam = am + \"(@PrtId,\\\"\" + amList[i] + \"\\\"),\";\n\t\t\t}\n\n\t\t\tam = am.substring(0, am.length() - 1);\n\n\t\t\ts = s + \"@p_userRole='\" + am + \"',\";\n\t\t}\n\n\t\ts = s + \"@p_userStatus=\" + form.getUserStatus() + \",\";\n\n\t\tif (s != \"\") {\n\t\t\ts = s.substring(0, s.length() - 1);\n\n\t\t\ts = \"SET \" + s + \";\";\n\t\t}\n\t\t System.out.println(\"S in generate parameter-----------------\"+s);\n\t\treturn s;\n\t}", "title": "" } ]
[ { "docid": "e8e5bf6e39373abaea30dd93256de2fb", "score": "0.6838863", "text": "void createUserView();", "title": "" }, { "docid": "fae715f56474908c0947b19d58aa2bcd", "score": "0.6324866", "text": "public UserInfoAdd() {\n\t\tsuper();\n\t\t// TODO Auto-generated constructor stub\n\t}", "title": "" }, { "docid": "1f7d4a8fd9b0b3010b6bd63901c39422", "score": "0.6195857", "text": "public ViewCreateUser() {\r\n\t\tsuper();\r\n\t\tsetTitle(\"Creacio d'un nou usuari\");\r\n\t\taddPasswordField();\r\n\t\tsetPanelSize(300,3);\r\n\t}", "title": "" }, { "docid": "de2246b5d7f3383ec040331375fa50a9", "score": "0.612226", "text": "public String initViewUser()\n {\n try\n {\n clearSearchParameter(SESSION_KEY_SEARCH_PARAMETER_CREATE_GROUP_POPUP_USER);\n \n if (userProfile == null)\n {\n userProfile = (UserProfileExHolder) getSession().get(\n SESSION_KEY_SEARCH_PARAMETER_CREATE_GROUP_POPUP_USER);\n }\n else\n {\n getSession().put(SESSION_KEY_SEARCH_PARAMETER_CREATE_GROUP_POPUP_USER, userProfile);\n }\n \n }\n catch (Exception e)\n {\n this.handleException(e);\n return FORWARD_COMMON_MESSAGE;\n }\n\n return SUCCESS;\n }", "title": "" }, { "docid": "8761629a9471e162a8f963778b6ec315", "score": "0.5990674", "text": "private User getDetailData() {\n //get values from the form to be added to the user table\n user.setSurname(txtSurname.getText());\n user.setIdcardno(txtRegNo.getText());\n user.setFirstname(txtFirstname.getText());\n user.setMiddlename(txtMiddlename.getText());\n user.setGender(buttonGroup1.getSelection().getActionCommand());\n user.setAddress(txtAddress.getText());\n user.setDepartment(cboDepartment.getSelectedItem().toString());\n user.setPhoneno(txtPhone.getText());\n user.setUserCategory(buttonGroup2.getSelection().getActionCommand());\n\n // format the text from the Calendar\n SimpleDateFormat format = new SimpleDateFormat(\"yyyy-MM-dd\");\n\n try {\n\n dateRegistered = format.format(dateChooser.getDate());\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n user.setDateRegistered(dateRegistered);\n\n return user;\n }", "title": "" }, { "docid": "162e2b548a602b8393ffff2411e8b551", "score": "0.58709925", "text": "public String getCreateUser() {\n return createUser; \n }", "title": "" }, { "docid": "bc7fa4198fde1737d6ee4a1393fe2c1a", "score": "0.5867432", "text": "public String createUser() {\n for (BlogBoxUser temp : blogBoxUserFacade.findAll()) {\n if (temp.getName().equals(user.getName()) && temp.getPassword().equals(user.getPassword())) {\n\n return \"index?faces-redirect=true&includeViewParams=true\";\n }\n }\n this.blogBoxUserFacade.create(user);\n blogBoxView.setUser(user);\n return \"user?faces-redirect=true&includeViewParams=true\";\n }", "title": "" }, { "docid": "6f8f03d78c0b98d180fb3c95755c4683", "score": "0.58357465", "text": "org.oasis_open.docs.ns.bpel4people.ws_humantask.types._200803.TUser addNewUser();", "title": "" }, { "docid": "5d2e792466647deaeada5e4670dec5a2", "score": "0.58213073", "text": "@Override\r\n public String toString()\r\n {\r\n return \"[\" + User_ID + \"]\" + \" \" + User_Name;\r\n }", "title": "" }, { "docid": "44553dba2f8c28456745b1082532060c", "score": "0.5771705", "text": "public String getCreateUser() {\r\n return createUser;\r\n }", "title": "" }, { "docid": "437ee9e86dee5a290e5bb16a7e0b0a24", "score": "0.57708234", "text": "public String getCreateUser () {\r\n\t\treturn createUser;\r\n\t}", "title": "" }, { "docid": "437ee9e86dee5a290e5bb16a7e0b0a24", "score": "0.57708234", "text": "public String getCreateUser () {\r\n\t\treturn createUser;\r\n\t}", "title": "" }, { "docid": "dec1eb268875da962790bd356d4980dc", "score": "0.5761312", "text": "public String getCreateuser() {\n return createuser;\n }", "title": "" }, { "docid": "12c31d549ab6a4967d161adecbaae979", "score": "0.5704984", "text": "public void setUserName1(User userName1){\n this.userName1 = userName1;\n }", "title": "" }, { "docid": "6ee9f554816ce857dbba1b8017e4dc67", "score": "0.5696898", "text": "@Override\n public String toString(){\n return (\"Username: \"+ this.getUsername() + \" Name: \"+ this.getName()); //may need to change this to userid?\n }", "title": "" }, { "docid": "ddf7f4b31e18cfd15fb27a016ae7026f", "score": "0.56827456", "text": "public String getCreateUser() {\n return this.createUser;\n }", "title": "" }, { "docid": "159468a208010ff27717e199387ba0a2", "score": "0.5682069", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String,String> parametros = new HashMap<>();\n parametros.put(\"id\", user.getId());\n return parametros;\n }", "title": "" }, { "docid": "d6e94f8a659affde364f8726e5773906", "score": "0.56796646", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<>();\n params.put(\"user\", userID);\n params.put(\"type\", userType);\n return params;\n }", "title": "" }, { "docid": "1ee7f4328ae66c6229b0f346bb05865e", "score": "0.56724113", "text": "@Override\n public String createUser(User prmObjUser) throws Exception {\n String requestJson = addUser(prmObjUser);\n if((this.procesarConexion(requestJson).equals(\"FALLO\"))){\n return null;\n }\n return valueOf(prmObjUser.getUserName());\n }", "title": "" }, { "docid": "b351ee7341dfdc11a4a428d68f8a828a", "score": "0.5669515", "text": "public void createJointAccount(View view) {\n String infoKey = spnUsers.getSelectedItem().toString();\n int userId = userInfoIdMap.get(infoKey);\n // pass information back to parent activity\n Intent intent = new Intent();\n intent.putExtra(\"USERID\", userId);\n setResult(RESULT_OK, intent);\n finish();\n }", "title": "" }, { "docid": "1745bdb7250f16828826d099746961d8", "score": "0.5668358", "text": "private void addUser() {\n int identifiant, nature;\n String firstName, name, email, password;\n\n System.out.println(\"1. administrateur\\n2. enseignant\\n3. etudiant\");\n nature = manager.requestInt(1, 3);\n\n System.out.println(\"Prenom :\");\n firstName = manager.requestString();\n\n System.out.println(\"Nom :\");\n name = manager.requestString();\n\n System.out.println(\"Mail :\");\n email = manager.requestString();\n\n System.out.println(\"Mot de passe :\");\n password = manager.requestString();\n\n System.out.println(\"Identifiant :\");\n identifiant = manager.requestInt(1, Config.MAX_USERS);\n\n switch (nature) {\n case 1:\n this.database.addUser(new Administrator(firstName, name, email,\n password, identifiant));\n break;\n case 2:\n this.database.addUser(new Teacher(firstName, name, email, password,\n identifiant, 0));\n break;\n case 3:\n this.database.addUser(new Student(firstName, name, email, password,\n identifiant, 0));\n break;\n }\n\n System.out.println(\"Utilisateur ajoute\");\n }", "title": "" }, { "docid": "c0272edcaf0f84623ed9bf4d31f6801b", "score": "0.566591", "text": "UserRoleInfo user();", "title": "" }, { "docid": "9cef73dec659b4c73b1f17e5896de39f", "score": "0.5664221", "text": "public List<String> getInfoUser(){\r\n\t\tList<String> user = new ArrayList<String>();\r\n\t\tuser.add(getName());\r\n\t\tuser.add(String.valueOf(pf.getPassword()));\r\n\t\tuser.add(String.valueOf(pass2.getPassword()));\r\n\t\treturn user;\r\n\t}", "title": "" }, { "docid": "d3871e809f8c872e16685173c97c37c2", "score": "0.5662228", "text": "public String getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "d3871e809f8c872e16685173c97c37c2", "score": "0.5662228", "text": "public String getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "d3871e809f8c872e16685173c97c37c2", "score": "0.5662228", "text": "public String getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "d3871e809f8c872e16685173c97c37c2", "score": "0.5662228", "text": "public String getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "d3871e809f8c872e16685173c97c37c2", "score": "0.5662228", "text": "public String getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "d3871e809f8c872e16685173c97c37c2", "score": "0.5662228", "text": "public String getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "d3871e809f8c872e16685173c97c37c2", "score": "0.5662228", "text": "public String getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "b1f36b85115b3f0c8957a4c64dc69124", "score": "0.5653515", "text": "private Map<String, AttributeValue> newItem(String user_id, String password, String firstname, String lastname,\n\t\t\tString email_id) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8f473a277cbd85c6da01176c84c7f41a", "score": "0.56527966", "text": "public String createUser() {\n Employee newUser = new Employee();\n\n newUser.setUserId(user.getUserId());\n newUser.setFname(user.getFname());\n newUser.setLname(user.getLname());\n newUser.setPassword(user.getPassword());\n newUser.setUsername(user.getUsername());\n newUser.setIsSupervisor(user.getIsSupervisor());\n list.add(newUser);\n this.clearUser();\n return \"success\";\n }", "title": "" }, { "docid": "955b5a80fb6afb30f22720235cc80b99", "score": "0.5650448", "text": "public String getCreateUser() {\r\n\t\treturn createUser;\r\n\t}", "title": "" }, { "docid": "551412fc5be02590298aba0c78397c32", "score": "0.56445956", "text": "public Object getCreateuser() {\n return createuser;\n }", "title": "" }, { "docid": "7382d4b955fa5f280d3f6d5d2eb61437", "score": "0.564459", "text": "public void addRequired(User1 user);", "title": "" }, { "docid": "f3c2267babe0ddb1219ade165fa02379", "score": "0.5638355", "text": "public void setUser(entity.User value);", "title": "" }, { "docid": "7d807ba4efdfa062fb1b6978633e780e", "score": "0.5638155", "text": "@Override\n public String[] getModelFields(Model model) {\n User user = (User) model;\n return new String[]{String.valueOf(user.getId()), user.getUserName(), user.getPassword(),\n user.getCountry(), user.getUserType().toString()};\n }", "title": "" }, { "docid": "f9e4e7ae9f6c4d47156b2f5701056e40", "score": "0.5628073", "text": "void addUser(java.lang.String user);", "title": "" }, { "docid": "d90a754e54af6fa4c1e0159e6bd372aa", "score": "0.5623447", "text": "public String getAddUsers() {\n return _addUsers;\n }", "title": "" }, { "docid": "e65ee60de4ad1943f1c962ee71885b2b", "score": "0.56201756", "text": "void setCreatedUser( String createduser );", "title": "" }, { "docid": "22ea60e7f9f7b5294f4cfa21a48c379d", "score": "0.5602271", "text": "public void addUser(User inputUser){\n\t\tSystem.out.println(\"\\nImplement add in UserDataBase\");\n\t\tUsers.add(inputUser);\n\t}", "title": "" }, { "docid": "4b74ed8ddab2244e814aabab543820b3", "score": "0.5591105", "text": "@Override\n protected String createEntityAsString(User entity) {\n return entity.getId()+\";\"+entity.getFirstName()+\";\"+entity.getLastName();\n }", "title": "" }, { "docid": "e9d2a8ec2b40353b22c77a4cf43ef5b9", "score": "0.5581997", "text": "public com.cboe.interfaces.application.UserAccessV7 create();", "title": "" }, { "docid": "b35650bf077f6444e95193bd628ba1d2", "score": "0.5577149", "text": "@RequestMapping(value = \"/admin/addUser\", method = RequestMethod.GET)\n\tpublic ModelAndView addUser(ModelMap model) {\n\t\tModelAndView mav = new ModelAndView(\"admin/them_khach_hang\");\n\t\tmodel.addAttribute(\"user\", new User());\n\t\tmodel.addAttribute(\"listAllUser\", userService.findAll());\n\t\treturn mav;\n\t}", "title": "" }, { "docid": "888ea5b1ecaf1001f013c82909586ec6", "score": "0.55718285", "text": "@GetMapping(\"/new\")\n\tpublic Map<String, Object> signUpInfo() {\n\t\tMap<String, Object> model = new HashMap<>();\n\t\tcheckTrue(config.isSignUpEnabled(), \"Access to this url is not allowed when sign up is disabled\");\n\t\tUser one = User.createNew();\n\t\tmodel.put(\"user\", one);\n\n\t\tMap<String, Object> viewConfig = new HashMap<>();\n\t\tviewConfig.put(\"newUser\", true);\n\t\tviewConfig.put(\"roleSet\", EnumSet.allOf(Role.class));\n\t\tviewConfig.put(\"allowUserIdChange\", true);\n\t\tviewConfig.put(\"allowPasswordChange\", true);\n\t\tviewConfig.put(\"allowRoleChange\", false);\n\t\tviewConfig.put(\"userSecurityEnabled\", config.isUserSecurityEnabled());\n\t\tviewConfig.put(\"allowShareChange\", false);\n\t\tviewConfig.put(\"showPasswordByDefault\", true);\n\n\t\tmodel.put(\"config\", viewConfig);\n\t\treturn model;\n\t}", "title": "" }, { "docid": "b12e6d7ec7b54c55dcfb6dabcaedb205", "score": "0.5570121", "text": "public void setUserViews(com.booktera.data.CommonModels_Models_EntityFramework.UserView[] userViews) {\n this.userViews = userViews;\n }", "title": "" }, { "docid": "f7d6870e0f68e5c024b745bfa47e10dd", "score": "0.55649096", "text": "public void setUser(String value) { m_user = value; }", "title": "" }, { "docid": "656efde876ea83016c5c192f735f82f9", "score": "0.55514616", "text": "public void newUserAccountCreation(View view){\n createAccount(emailf.getText().toString(),pwd.getText().toString());\n }", "title": "" }, { "docid": "9acb99481b834c0c68095c73be0a3346", "score": "0.5550328", "text": "com.google.ads.googleads.v3.common.UserData getCreate();", "title": "" }, { "docid": "11b8431fa25002c11385d724b4234cb4", "score": "0.55459684", "text": "@Override\n\tpublic String getCreateUserUuid() {\n\t\treturn model.getCreateUserUuid();\n\t}", "title": "" }, { "docid": "b3eae7896bd6ab7f4d1fbd1153624617", "score": "0.5545666", "text": "public void addUserButtonPressed(View view) {\n User newUser = new User();\n user = newUser;\n DatabaseReference usersRef = database.getReference().child(\"Users\");\n usersRef.child(newUser.getIdNum()).setValue(newUser);\n }", "title": "" }, { "docid": "36c019479f414fbb43969da6213e670c", "score": "0.5536966", "text": "public void addUser(User User) {\n\t}", "title": "" }, { "docid": "245d96597c4645272cf7ce98f97ad7a0", "score": "0.5529967", "text": "private void populateUsers() {\r\n\t\t// User Name\t//PW\t//Moderator of group\t// user ID\r\n\t\t//ID uname Password List of groups to which the user is mod, unique user id\r\n\t\tint uniqueId = getUniqueUserId();\r\n\t\tString userIdString = Integer.toString(uniqueId);\r\n\t\tusers.put(uniqueId, addData(\"Mike\",\"pw\",\"1~\",\"~\", userIdString));\r\n\t\t\r\n\t\tuniqueId = getUniqueUserId();\r\n\t\tuserIdString = Integer.toString(uniqueId);\r\n\t\tusers.put(uniqueId, addData(\"Bob\",\"pw\",\"2~\", \"~\", userIdString));\r\n\t}", "title": "" }, { "docid": "0e30667c7f413d1ffa76a795e391e419", "score": "0.55168575", "text": "public void addUser(User user) {\r\n\t}", "title": "" }, { "docid": "01d65422387905e8943e1cff61de8662", "score": "0.55116004", "text": "public String add() throws Exception {\n\t\tIUserService userService = new UserServiceImpl();\n\t\tSystem.out.println(userModel.getId());\n\t\tSystem.out.println(userModel.getName());\n\t\tSystem.out.println(userModel.getPerson());\n\t\tuserService.add(userModel);\n//\t\tActionContext actionContext = \n\t\treturn \"success\";\n\t}", "title": "" }, { "docid": "d5e44775e772dda0b5403e3a7160ac5a", "score": "0.549687", "text": "private MallUserModel buildUserInfo(MallUser mallUser) {\n MallUserModel mallUserModel = new MallUserModel();\n // mallUserModel.setUserId(mallUser.getId());\n // 设置加密的用户ID\n mallUserModel.setUserIdStr(UserIDBase64.encoderUserID(mallUser.getId()));\n mallUserModel.setName(mallUser.getName());\n mallUserModel.setTrueName(mallUser.getTrueName());\n System.out.println(\"service.builduserInfo says:\"+ mallUserModel.toString());\n return mallUserModel;\n }", "title": "" }, { "docid": "3149d815edaa1c8b900e95badbc68884", "score": "0.54795754", "text": "public int \nAddNewPrimRegUser( View ViewToWindow )\n{\n zVIEW wWebXfer = new zVIEW( );\n int RESULT = 0;\n //:VIEW mCurrentUser BASED ON LOD mUser\n zVIEW mCurrentUser = new zVIEW( );\n //:VIEW mPerson BASED ON LOD mPerson\n zVIEW mPerson = new zVIEW( );\n //:VIEW qPrimReg BASED ON LOD qPrimReg\n zVIEW qPrimReg = new zVIEW( );\n //:VIEW lPrimReg REGISTERED AS lPrimReg\n zVIEW lPrimReg = new zVIEW( );\n int lTempInteger_0 = 0;\n zVIEW vTempViewVar_0 = new zVIEW( );\n int lTempInteger_1 = 0;\n int lTempInteger_2 = 0;\n\n RESULT = GetViewByName( wWebXfer, \"wWebXfer\", ViewToWindow, zLEVEL_TASK );\n RESULT = GetViewByName( lPrimReg, \"lPrimReg\", ViewToWindow, zLEVEL_TASK );\n\n //:wWebXfer.Root.AttemptPassword = \"\"\n SetAttributeFromString( wWebXfer, \"Root\", \"AttemptPassword\", \"\" );\n //:wWebXfer.Root.ConfirmPassword = \"\"\n SetAttributeFromString( wWebXfer, \"Root\", \"ConfirmPassword\", \"\" );\n\n //:IF lPrimReg = 0\n if ( getView( lPrimReg ) == null )\n { \n //:MessageSend( ViewToWindow, \"\", \"Initialize Primary Registrant User\",\n //: \"The registrant list is empty.\",\n //: zMSGQ_OBJECT_CONSTRAINT_ERROR, 0 )\n MessageSend( ViewToWindow, \"\", \"Initialize Primary Registrant User\", \"The registrant list is empty.\", zMSGQ_OBJECT_CONSTRAINT_ERROR, 0 );\n //:SetWindowActionBehavior( ViewToWindow, zWAB_StayOnWindow, \"\", \"\" )\n m_ZDRVROPR.SetWindowActionBehavior( ViewToWindow, zWAB_StayOnWindow, \"\", \"\" );\n //:RETURN 2\n if(8==8)return( 2 );\n } \n\n //:END\n\n //:GET VIEW qPrimReg NAMED \"qPrimReg\"\n RESULT = GetViewByName( qPrimReg, \"qPrimReg\", ViewToWindow, zLEVEL_TASK );\n //:IF qPrimReg != 0\n if ( getView( qPrimReg ) != null )\n { \n //:DropObjectInstance( qPrimReg )\n DropObjectInstance( qPrimReg );\n } \n\n //:END\n\n //:ACTIVATE qPrimReg WHERE qPrimReg.PrimaryRegistrant.ID = lPrimReg.PrimaryRegistrant.ID\n {MutableInt mi_lTempInteger_0 = new MutableInt( lTempInteger_0 );\n GetIntegerFromAttribute( mi_lTempInteger_0, lPrimReg, \"PrimaryRegistrant\", \"ID\" );\n lTempInteger_0 = mi_lTempInteger_0.intValue( );}\n o_fnLocalBuildQual_26( ViewToWindow, vTempViewVar_0, lTempInteger_0 );\n RESULT = ActivateObjectInstance( qPrimReg, \"qPrimReg\", ViewToWindow, vTempViewVar_0, zSINGLE );\n DropView( vTempViewVar_0 );\n //:NAME VIEW qPrimReg \"qPrimReg\"\n SetNameForView( qPrimReg, \"qPrimReg\", null, zLEVEL_TASK );\n\n //:IF qPrimReg.PrimaryRegistrant DOES NOT EXIST\n lTempInteger_1 = CheckExistenceOfEntity( qPrimReg, \"PrimaryRegistrant\" );\n if ( lTempInteger_1 != 0 )\n { \n //:TraceLineI( \"InitializePrimRegUser cannot activate Primary Registrant: \",\n //: lPrimReg.PrimaryRegistrant.ID )\n {MutableInt mi_lTempInteger_2 = new MutableInt( lTempInteger_2 );\n GetIntegerFromAttribute( mi_lTempInteger_2, lPrimReg, \"PrimaryRegistrant\", \"ID\" );\n lTempInteger_2 = mi_lTempInteger_2.intValue( );}\n TraceLineI( \"InitializePrimRegUser cannot activate Primary Registrant: \", lTempInteger_2 );\n //:MessageSend( ViewToWindow, \"\", \"Initialize New Primary Registrant User\",\n //: \"Cannot activate Primary Registrant.\",\n //: zMSGQ_OBJECT_CONSTRAINT_ERROR, 0 )\n MessageSend( ViewToWindow, \"\", \"Initialize New Primary Registrant User\", \"Cannot activate Primary Registrant.\", zMSGQ_OBJECT_CONSTRAINT_ERROR, 0 );\n //:SetWindowActionBehavior( ViewToWindow, zWAB_StayOnWindow, \"\", \"\" )\n m_ZDRVROPR.SetWindowActionBehavior( ViewToWindow, zWAB_StayOnWindow, \"\", \"\" );\n //:DropObjectInstance( qPrimReg )\n DropObjectInstance( qPrimReg );\n //:RETURN 2\n if(8==8)return( 2 );\n } \n\n //:END\n\n //:DropObjectInstance( qPrimReg )\n DropObjectInstance( qPrimReg );\n\n //:GET VIEW mCurrentUser NAMED \"mCurrentUser\"\n RESULT = GetViewByName( mCurrentUser, \"mCurrentUser\", ViewToWindow, zLEVEL_TASK );\n //:IF mCurrentUser != 0\n if ( getView( mCurrentUser ) != null )\n { \n //:DropObjectInstance( mCurrentUser )\n DropObjectInstance( mCurrentUser );\n } \n\n //:END\n\n //:GET VIEW mPerson NAMED \"mPerson\"\n RESULT = GetViewByName( mPerson, \"mPerson\", ViewToWindow, zLEVEL_TASK );\n //:IF mPerson != 0\n if ( getView( mPerson ) != null )\n { \n //:DropObjectInstance( mPerson )\n DropObjectInstance( mPerson );\n } \n\n //:END\n\n //:// We are activating empty OI's, so create all the entities.\n //:ACTIVATE mCurrentUser EMPTY\n RESULT = ActivateEmptyObjectInstance( mCurrentUser, \"mUser\", ViewToWindow, zSINGLE );\n //:NAME VIEW mCurrentUser \"mCurrentUser\"\n SetNameForView( mCurrentUser, \"mCurrentUser\", null, zLEVEL_TASK );\n //:CREATE ENTITY mCurrentUser.User\n RESULT = CreateEntity( mCurrentUser, \"User\", zPOS_AFTER );\n //:mCurrentUser.User.Status = \"B\" // beginner\n SetAttributeFromString( mCurrentUser, \"User\", \"Status\", \"B\" );\n\n //:ACTIVATE mPerson EMPTY\n RESULT = ActivateEmptyObjectInstance( mPerson, \"mPerson\", ViewToWindow, zSINGLE );\n //:NAME VIEW mPerson \"mPerson\"\n SetNameForView( mPerson, \"mPerson\", null, zLEVEL_TASK );\n //:CREATE ENTITY mPerson.Person\n RESULT = CreateEntity( mPerson, \"Person\", zPOS_AFTER );\n //:CREATE ENTITY mPerson.Address\n RESULT = CreateEntity( mPerson, \"Address\", zPOS_AFTER );\n\n //:wWebXfer.Root.AttemptUserName = \"\"\n SetAttributeFromString( wWebXfer, \"Root\", \"AttemptUserName\", \"\" );\n //:wWebXfer.Root.AttemptPassword = \"\"\n SetAttributeFromString( wWebXfer, \"Root\", \"AttemptPassword\", \"\" );\n //:wWebXfer.Root.ConfirmPassword = \"\"\n SetAttributeFromString( wWebXfer, \"Root\", \"ConfirmPassword\", \"\" );\n //:wWebXfer.Root.CurrentPassword = \"\"\n SetAttributeFromString( wWebXfer, \"Root\", \"CurrentPassword\", \"\" );\n\n //:mPerson.Address.Country = \"USA\"\n SetAttributeFromString( mPerson, \"Address\", \"Country\", \"USA\" );\n\n //:// CreateTemporalSubobjectVersion( mPerson, \"Address\" )\n //:CreateTemporalSubobjectVersion( mPerson, \"Person\" )\n CreateTemporalSubobjectVersion( mPerson, \"Person\" );\n //:CreateTemporalSubobjectVersion( mCurrentUser, \"User\" )\n CreateTemporalSubobjectVersion( mCurrentUser, \"User\" );\n\n //:SetDynamicBannerName( ViewToWindow, \"wStartUp\", \"PrimaryRegistrant\" )\n {\n ZGlobalV_Operation m_ZGlobalV_Operation = new ZGlobalV_Operation( ViewToWindow );\n m_ZGlobalV_Operation.SetDynamicBannerName( ViewToWindow, \"wStartUp\", \"PrimaryRegistrant\" );\n // m_ZGlobalV_Operation = null; // permit gc (unnecessary)\n }\n return( 0 );\n// END\n}", "title": "" }, { "docid": "bb337df317b6ee79f84f97a42b612d8b", "score": "0.5462081", "text": "VersionInfo groupAddUser(VersionableType vType, KeyValue key,String addUserToGroup,boolean isHidden) throws DataAccessException, ObjectNotFoundException, RemoteProxyException;", "title": "" }, { "docid": "4d30fe0ca9dbe6221f2e933acd4ec437", "score": "0.5461726", "text": "@Override\r\n\tprotected ArrayList<String> getRequireParam() {\n\t\tArrayList<String> list = new ArrayList<String>();\r\n\t\tlist.add(\"user_name\");\r\n\t\tlist.add(\"user_pwd\");\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "e25af7fe71b7f660b5b7905de80dd127", "score": "0.54606724", "text": "@Override\n public void populateContextForCreate(@NotNull final Map<String, Object> context) {\n super.populateContextForCreate(context);\n context.put(StringConstants.USER_DATA, generateUserDataScript());\n }", "title": "" }, { "docid": "3104f3ceb580f428bcf8511088d3e0db", "score": "0.54575276", "text": "public List<String> create(List<String> userList, String trans_line) {\n // get trans_line user info in seperate variables\n username = trans_line.substring(3, 19);\n type = trans_line.substring(19, 22);\n String credit_string = trans_line.substring(22, 31);\n\n // combine the user info\n String combined_user = username + type + credit_string;\n\n // check if user is in users.ua, if not, add (create)\n if (checkUserIntegrity(userList, username) == false) {\n System.out.println(\"Creating user: \" + username);\n userList.add(combined_user);\n }\n\n return userList;\n }", "title": "" }, { "docid": "871031d02b7dc59357acb558da9a84cb", "score": "0.5456907", "text": "@Override\n public void onClick(View v)\n {\n final String userName = name.getEditableText().toString();\n\n\n //We display the properties into the logcat\n displayUserEntries(userName);\n\n //We check if all entries are valid (not null and not empty)\n final boolean canAddUser = checkFormEntries(userName);\n\n if (canAddUser == true)\n {\n //We add the user to the list and we reset the form\n saveUser(userName);\n resetForm();\n }\n else\n {\n //we display a log error and a Toast\n Log.w(AddUserActivity.TAG, \"Cannot add the user\");\n Toast.makeText(this, R.string.cannot_add_user, Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "6d4e10bc879d1a6d801a3cd06a946c74", "score": "0.5456275", "text": "public String getUserField1() {\n return userField1;\n }", "title": "" }, { "docid": "696b70d16630595abd74cd2c888079b7", "score": "0.5456157", "text": "public Integer getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "696b70d16630595abd74cd2c888079b7", "score": "0.5456157", "text": "public Integer getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "696b70d16630595abd74cd2c888079b7", "score": "0.5456157", "text": "public Integer getCreateUser() {\n return createUser;\n }", "title": "" }, { "docid": "cfa430d618c097a516d3beb211488a31", "score": "0.54559886", "text": "int addUser(String username, String password, String type, String organisation);", "title": "" }, { "docid": "270183255fd222f9e30507227691a578", "score": "0.5455892", "text": "public UserEdit addUser(String arg0, String arg1)\n\t\t\tthrows UserIdInvalidException, UserAlreadyDefinedException,\n\t\t\tUserPermissionException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e99e323dff0ca22174ac47e4c8a9b316", "score": "0.54518163", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError\n {\n Map<String, String> params = new HashMap<>();\n // params.put(Keys.name,UsernameTextview.getText().toString());\n\n return params;\n }", "title": "" }, { "docid": "66bb3918029d7b2f527f9402d2fe4598", "score": "0.5448846", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"idUser: \"+id+\" \\t nameUser: \"+name+\" \\temailUser: \"+email+\"\\n\";\n\t}", "title": "" }, { "docid": "af032c128bf11ec8951e3082f98f5cfc", "score": "0.5440769", "text": "public User giveMeInfo() {\r\n User user = new User();\r\n System.out.println(\"What is your first name?\");\r\n user.setFirstName(keyboard.nextLine());\r\n System.out.println(\"What is your last name?\");\r\n user.setLastName(keyboard.nextLine());\r\n System.out.println(\"What do you want your username to be?\");\r\n user.setUsername(keyboard.nextLine());\r\n System.out.println(\"What is your email?\");\r\n user.setEmail(keyboard.nextLine());\r\n System.out.println(\"What is your avatar?\");\r\n user.setAvatarUrl(keyboard.nextLine());\r\n validateUser(user);\r\n userLog.add(user);\r\n return user;\r\n }", "title": "" }, { "docid": "c1379a355e8d1560e295f08324bccb00", "score": "0.5439687", "text": "private void setCreateUser(entity.User value) {\n __getInternalInterface().setFieldValue(CREATEUSER_PROP.get(), value);\n }", "title": "" }, { "docid": "b8e195c093d8dd1764693ecff1ef82c2", "score": "0.54337525", "text": "public void onUpdateData(View view, User user) {\n user.setName(\"Huy\");\n user.setEmail(\"Gmail\");\n\n }", "title": "" }, { "docid": "a0fece8e1ba16de094f2db94feca6732", "score": "0.5432909", "text": "java.lang.String getFromUser();", "title": "" }, { "docid": "4939f992bead5f5317d354804cd8a729", "score": "0.5430299", "text": "@RequestMapping(value = \"/addNewUser\", method = RequestMethod.POST)\r\n\tpublic ModelAndView addNewUser(HttpServletRequest req,\r\n\t\t\tHttpServletResponse res) throws IOException {\r\n\t\ttry {\r\n\t\t\tlogger.log(IAppLogger.INFO, \"Enter: AdminController - addNewUser\");\r\n\t\t\tUserTO userTo = null;\r\n\t\t\tList<UserTO> UserTOs = new ArrayList<UserTO>();\r\n\t\t\tString adminYear = (String) req.getParameter(\"AdminYear\");\r\n\t\t\tString tenantId = (String) req.getParameter(\"tenantId\");\r\n\t\t\tString userName = (String) req.getParameter(\"userName\");\r\n\t\t\tString userId = (String) req.getParameter(\"userId\");\r\n\t\t\tString emailId = (String) req.getParameter(\"emailId\") != null ? (String) req.getParameter(\"emailId\") : \"\";\r\n\t\t\tString password = (String) req.getParameter(\"password\");\r\n\t\t\tString userStatus = (String) req.getParameter(\"userStatus\");\r\n\t\t\tString orgLevel = (String) req.getParameter(\"orgLevel\");\r\n\t\t\tString purpose = (String) req.getParameter(\"purpose\")!= null ? (String) req.getParameter(\"purpose\") : \"\";\r\n\t\t\tString eduCenterId = (String) req.getParameter(\"eduCenterId\")!= null ? (String) req.getParameter(\"eduCenterId\") : \"\";\r\n\t\t\t\r\n\t\t\t//userId stands for username in DB and userName stands for display_username in DB\r\n\t\t\tMap<String,Object> paramMap = new HashMap<String,Object>(); \r\n\t\t\tparamMap.put(\"adminYear\", adminYear);\r\n\t\t\tparamMap.put(\"tenantId\", tenantId);\r\n\t\t\tparamMap.put(\"userName\", userId);\r\n\t\t\tparamMap.put(\"userDisplayName\", userName);\r\n\t\t\tparamMap.put(\"emailId\", emailId);\r\n\t\t\tparamMap.put(\"password\", password);\r\n\t\t\tparamMap.put(\"orgLevel\", orgLevel);\r\n\t\t\tparamMap.put(\"purpose\", purpose);\r\n\t\t\tparamMap.put(\"eduCenterId\", eduCenterId);\r\n\t\t\t\r\n\t\t\tif (IApplicationConstants.CHECKED_CHECKBOX_VALUE.equals(userStatus)) {\r\n\t\t\t\tuserStatus = IApplicationConstants.ACTIVE_FLAG;\r\n\t\t\t} else {\r\n\t\t\t\tuserStatus = IApplicationConstants.INACTIVE_FLAG;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString[] userRoles = req.getParameterValues(\"userRole\");\r\n\t\t\tString customer = (String) req.getSession().getAttribute(IApplicationConstants.CUSTOMER);\r\n\t\t\tparamMap.put(\"userStatus\", userStatus);\r\n\t\t\tparamMap.put(\"userRoles\", userRoles);\r\n\t\t\tparamMap.put(\"customer\", customer);\r\n\t\t\t\r\n\t\t\tString status = \"Fail\";\r\n\t\t\t\t\t\t\r\n\t\t\tif(password!=null && password.trim().length() > 0)\r\n\t\t\t{\r\n\t\t\t\tif (password.equals(userId)) {\r\n\t\t\t\t\tres.setContentType(\"text/plain\");\r\n\t\t\t\t\tstatus=\"equalsUserName\";\r\n\t\t\t\t\tres.getWriter().write(\"{\\\"status\\\":\\\"\" + status + \"\\\"}\");\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t} else if(!Utils.validatePassword(password)) {\r\n\t\t\t\t\tres.setContentType(\"text/plain\");\r\n\t\t\t\t\tstatus=\"invalidPwd\";\r\n\t\t\t\t\tres.getWriter().write(\"{\\\"status\\\":\\\"\" + status + \"\\\"}\");\r\n\t\t\t\t\treturn null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// Check if password contains part of user name\r\n\t\t\tif (password.equalsIgnoreCase(userId) || password.toLowerCase().indexOf(userId.toLowerCase()) != -1 || userId.toLowerCase().indexOf(password.toLowerCase()) != -1) {\r\n\t\t\t\tthrow new BusinessException(propertyLookup.get(\"script.user.passwordPartUsername\"));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t/*userTo = adminService.addNewUser(userId, tenantId, userName,\r\n\t\t\t\t\t\t\temailId, password, userStatus, userRoles,orgLevel, adminYear, customer);*/\r\n\t\t\tparamMap.put(\"contractName\", Utils.getContractName());\r\n\t\t\t\r\n\t\t\t//Second parameter is needed to build cache key to implement cachePut\r\n\t\t\tMap<String,Object> searchParamMap = new HashMap<String,Object>(); \r\n\t\t\tsearchParamMap.put(\"NODEID\", tenantId);\r\n\t\t\tsearchParamMap.put(\"CURRENTORG\", tenantId);\t\t\t\t\r\n\t\t\tsearchParamMap.put(\"ADMINYEAR\", adminYear);\r\n\t\t\tsearchParamMap.put(\"SEARCHPARAM\", null);\r\n\t\t\tsearchParamMap.put(\"CUSTOMERID\", customer);\r\n\t\t\tsearchParamMap.put(\"ORGMODE\", req.getSession().getAttribute(IApplicationConstants.ORG_MODE));\r\n\t\t\tsearchParamMap.put(\"moreCount\", propertyLookup.get(\"count.results.button.more\"));\r\n\t\t\t\r\n\t\t\tuserTo = adminService.addNewUser(paramMap);\r\n\t\t\tres.setContentType(\"text/plain\");\r\n\t\t\t\r\n\t\t\tif (userTo != null) {\r\n\t\t\t\tUserTOs.add(userTo);\r\n\t\t\t\tString userJsonString = JsonUtil.convertToJsonAdmin(UserTOs);\r\n\t\t\t\tres.getWriter().write(userJsonString);\r\n\t\t\t} else {\r\n\t\t\t\tstatus = \"Faliure\";\r\n\t\t\t\tres.getWriter().write(\"{\\\"status\\\":\\\"\" + status + \"\\\"}\");\r\n\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\tlogger.log(IAppLogger.INFO, \"Exit: AdminController - addNewUser\");\r\n\r\n\t\t} catch (BusinessException bex) {\r\n\t\t\tlogger.log(IAppLogger.ERROR, \"Error Saving User\", bex);\r\n\t\t\tres.setContentType(\"text/plain\");\r\n\t\t\tres.getWriter().write(\"{\\\"status\\\":\\\"LDAP_ERROR\\\", \\\"message\\\":\\\"\"+bex.getCustomExceptionMessage()+\"\\\"}\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tlogger.log(IAppLogger.ERROR, \"Error Saving User\", e);\r\n\t\t\tres.setContentType(\"text/plain\");\r\n\t\t\tres.getWriter().write(\"{\\\"status\\\":\\\"Faliure\\\", \\\"message\\\":\\\"Error in user creation. Please try later.\\\"}\");\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "16fb34909df46165328234a9e52ff935", "score": "0.54302394", "text": "public void addUser(User user) {\n\t\t\r\n\t}", "title": "" }, { "docid": "16fb34909df46165328234a9e52ff935", "score": "0.54302394", "text": "public void addUser(User user) {\n\t\t\r\n\t}", "title": "" }, { "docid": "cd5aebf8ef9479ecf5d7ff372c2efcea", "score": "0.54292405", "text": "public void registerUser(){\n String userName = this.userName.getText().toString();\n String userID = this.userID.getText().toString();\n String password = this.password.getText().toString();\n String marital = this.maritalStatus;\n String profession = this.profession.getText().toString();\n String dob = this.DOB;\n String locLat = this.locationLat;\n String locLong = this.locationLong;\n \n // Instantiate Http Request Param Object\n RequestParams params = new RequestParams();\n // When Name Edit View, Email Edit View and Password Edit View have values other than Null\n if(Utility.isNotNull(userName) && Utility.isNotNull(userID) && Utility.isNotNull(password)\n \t&& Utility.isNotNull(marital) && Utility.isNotNull(profession)){\n // When Email entered is Valid\n // if(Utility.validate(userID))\n \t{\n // Put Http parameter name with value of Name Edit View control\n \tparams.put(\"userID\", userID);\n \tparams.put(\"userName\", userName);\n params.put(\"password\", password);\n params.put(\"marital\", marital);\n params.put(\"profession\", profession);\n params.put(\"dob\", dob);\n params.put(\"locLat\", locLat);\n params.put(\"locLong\", locLong);\n \n // Invoke RESTful Web Service with Http parameters\n invokeWS(params);\n }\n // When Email is invalid\n //else\n \t{\n // Toast.makeText(getApplicationContext(), \"Please enter valid username\", Toast.LENGTH_LONG).show();\n }\n } \n // When any of the Edit View control left blank\n else{\n Toast.makeText(getApplicationContext(), \"Please fill the form, don't leave any field blank\", Toast.LENGTH_LONG).show();\n }\n }", "title": "" }, { "docid": "8d50f0ffb2cc7c90adff8c13ccd51393", "score": "0.5418974", "text": "@Override\n\tpublic String addUser(UserVO user) {\n\t\tString res=lendingdao.addUser(user);\n\t\t\n\t\t\n\t\treturn res;\n\t}", "title": "" }, { "docid": "234ec3993343f47444ba1a9656e869e1", "score": "0.5417625", "text": "@Override\n\tpublic int insertUserInfo(User user) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.5405049", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.5405049", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.5405049", "text": "java.lang.String getUser();", "title": "" }, { "docid": "fb652f9b902fab1701865ec6a51a049a", "score": "0.53825927", "text": "String getCreatedUser();", "title": "" }, { "docid": "3f4395a071d4c97c134ba69600ac4f4d", "score": "0.5379499", "text": "@Override\n\tprotected String getCreateAPI()\n\t{\n\n\t\tfinal StringBuffer createUserAPI = new StringBuffer(CreateUserAPIAction\n\t\t\t.getResourceBundle().getString(\n\t\t\t\tCreateUserAPIAction.MSG_CREATE_USER_COMMENT))\n\t\t\t.append(CreateUserAPIAction.getResourceBundle().getString(\n\t\t\t\tCreateUserAPIAction.MSG_CREATE_USER));\n\t\treturn createUserAPI.toString();\n\t}", "title": "" }, { "docid": "1c924f8095f37808d452687049ae72f5", "score": "0.53764045", "text": "public String createUser(User user);", "title": "" }, { "docid": "a7b3d6bfec479dec345e2028172b097d", "score": "0.5374614", "text": "private User getData() {\n user.setUserID(Integer.parseInt(txtSearch.getText()));\n user.setIdcardno(txtSearchIdentity.getText());\n user.setDepartment(txtSearchDepartment.getText());\n user.setSurname(txtSearchSurname.getText());\n user.setMiddlename(txtSearchMiddlename.getText());\n user.setAddress(txtSearchAddress.getText());\n user.setFirstname(txtSearchFirstname.getText());\n user.setPhoneno(txtSearchPhoneNo.getText());\n user.setGender(txtSearchGender.getText());\n user.setUserCategory(txtSearchCat.getText());\n user.setDateRegistered(txtDateReg.getText());\n\n return user;\n }", "title": "" }, { "docid": "b5492990192be98b283ad3d97aa28d9e", "score": "0.5372246", "text": "@Override\n public void getUserData() {\n UserAccountHolder holder = UserAccountHolder.getInstance();\n UserAccount account = holder.getUserAccount();\n this.view.setSessionUsername(account.getUsername());\n this.view.setSessionUserType(account.getUserType());\n }", "title": "" }, { "docid": "602e5a099491ee124024c6e614e57b9b", "score": "0.5372063", "text": "public void addUser() {\r\n\r\n\t\tif (getDriverObject().findElements(By.id(\"addUserUsername\")).size() > 0) {\r\n\t\t\tthis.UserName.sendKeys(\"autouser\" + addUserPageTimeStamp + \"@autouser.com\");\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"UserName field not present\");\r\n\t\t}\r\n\r\n\t\tnew AdvancedSelect(UserOrgID).selectByIndex(4);\r\n\r\n\t\tthis.UserFirstName.sendKeys(\"autouser\" + addUserPageTimeStamp);\r\n\r\n\t\tthis.UserLastName.sendKeys(\"autouser\" + addUserPageTimeStamp);\r\n\r\n\t\tthis.UserEmail.sendKeys(\"autouser\" + addUserPageTimeStamp + \"@autouser.com\");\r\n\r\n\t\tnew AdvancedSelect(UserGroupID).selectByIndex(5);\r\n\r\n\t\tthis.UserSubmit.click();\r\n\r\n\t\tgetDriverObject().switchTo().defaultContent();\r\n\r\n\t\tgetDriverObject().switchTo().frame(MainScreenFrame);\r\n\r\n\t\tthis.BackButton.click();\r\n\t}", "title": "" }, { "docid": "66a5478a9e735d3963ab749f287f75c8", "score": "0.53646153", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n Map<String, String> params = new HashMap<String, String>();\n\n params.put(\"userName\",user.getUserName());\n\n return params;\n\n }", "title": "" }, { "docid": "98d26cfd7d1e266e87c1f1f8b2e512ae", "score": "0.53627807", "text": "@Override\n protected Map<String, String> getParams() {\n\n\n Map<String, String> params = new HashMap<String, String>();\n //params.put(\"doctor_user_name\", signUpUserNameText);\n params.put(\"text\", \"testing\");\n ;\n\n return params;\n }", "title": "" }, { "docid": "0c67217577e4ac760b05dbcc97289d04", "score": "0.53621536", "text": "@Override\n\tpublic Long getAddUserId() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "0c67217577e4ac760b05dbcc97289d04", "score": "0.53621536", "text": "@Override\n\tpublic Long getAddUserId() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8c562a3823240fc7afcf07044789b695", "score": "0.5359222", "text": "private void userRegistrationFields(){\n Label labelUsername = new Label(\"Username\");\n fieldUsername = new TextField();\n Label labelPassword = new Label(\"Password\");\n fieldPassword = new PasswordField();\n Label labelFirstname = new Label(\"First name\");\n fieldFirstname = new TextField();\n Label labelLastname = new Label(\"Last name\");\n fieldLastname = new TextField();\n\n alertMessage = new Text();\n\n buttonRegUser = new Button(\"Register user\");\n buttonRegUser.setOnAction(event -> {\n registerUser();\n });\n\n layout.getChildren().addAll(labelUsername, fieldUsername,labelPassword, fieldPassword,labelFirstname,\n fieldFirstname, labelLastname, fieldLastname, alertMessage, buttonRegUser);\n }", "title": "" }, { "docid": "2116bbe674c90b4fce0ec5875b664986", "score": "0.53473926", "text": "public void getLicenseNumber(@Param(\"newUser\") UserVo newUser);", "title": "" }, { "docid": "82f2ed2ea24ba674d7aa57e20b921873", "score": "0.5346819", "text": "private String[] putNames(){\r\n localUsers = GuiHandler.getInstance().searchLocalUsers(GuiHandler.getInstance().getUser().getId(), \"\");\r\n \r\n String[] temp = new String[localUsers.size()];\r\n int pos=0;\r\n for(User u: localUsers)\r\n temp[pos++] = u.getUsername() + \" - \" + u.getEmail();\r\n \r\n return temp;\r\n }", "title": "" }, { "docid": "1fc9907b3f84a32c7ddb2c9863ee07aa", "score": "0.53460383", "text": "private ComboBoxModel createUserBoxModel(){\n DefaultComboBoxModel model = new DefaultComboBoxModel();\n model.addElement(translation.getString(\"<New_account>\"));\n \n for (int i = 0; i < users.length; i++)\n model.addElement(users[i].getUsername());\n \n return model;\n }", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.53396106", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.53396106", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.53396106", "text": "java.lang.String getUserId();", "title": "" } ]
3761932230b3e4b81d27466f5cb4212d
Add up only the even numbers in the passed closed interval
[ { "docid": "272549838d0a868eb1a4f7954b46ab8f", "score": "0.6064891", "text": "public static long evenSum(int first, int last) {\r\n\t\tlong summation = 0;\r\n\r\n\t\twhile (first <= last) {\r\n\t\t\tif (first % 2 == 0) {\r\n\t\t\t\tsummation = summation + first;\r\n\t\t\t\tfirst = first + 2;\r\n\t\t\t} else {\r\n\t\t\t\tfirst = first + 1;\r\n\t\t\t\tif (first % 2 == 0) {\r\n\t\t\t\t\tsummation = summation + first;\r\n\t\t\t\t\tfirst = first + 2;\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn summation;\r\n\t}", "title": "" } ]
[ { "docid": "ac4ced809bd38f9d8bd81f2b2eba949b", "score": "0.6359807", "text": "public static int EvenSum(int num)\n {\n //use if and else if condition to calculate the even series sum\n if(num<=0) \n \n return 0;\n\n else if(num%2==1)\n \n num=num-1;\n \n //calculate and return even series sum\n return (num+(EvenSum(num-2)));\n }", "title": "" }, { "docid": "9fa38490d865ab16e5ebcadeb5dffdbe", "score": "0.6212607", "text": "public static long evenSum(int first, int last) {\n\t\tlong sum = 0;\n\t\tfor (int cur = first; cur <= last; cur++) {\n\t\t\tif (cur % 2 == 0) {\n\t\t\t\tsum = sum + cur;\n\t\t\t}\n\t\t}\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "f4e12f75515c2b33ca989e78196384c6", "score": "0.6143247", "text": "public int sumaEvenNumber() {\n int suma1 = 0;\n int numar = 60;\n\n if (numar % 2 == 0) {\n for (int i = numar; i <= 100; i++) {\n suma1 = suma1 + i;\n\n }\n\n }\n return suma1;\n }", "title": "" }, { "docid": "6f46c7b8ff5f905e6318620c03b20f73", "score": "0.6085678", "text": "public static void main(String[] args) {\nScanner scan;\nscan=new Scanner(System.in);\n\t\t\n\t\n\nint rangeI=0;\nint rangeF=0;\n\n\nSystem.out.println(\"Please enter your range numbers \");\nrangeI=scan.nextInt();\nrangeF=scan.nextInt();\n\tfor (int a=rangeI;a<=rangeF; a++) {\n\t\t\n\t\tint evenSum=0;\n\t\t//int oddSum=0;\n\t\tif(a%2==0) {\n\t\t\tevenSum=evenSum +a;\n\t\t\tSystem.out.print(evenSum);\t\n\t\t//}if (a%2!=0) {\n\t\t\t//evenSum=rangeI +a++;\n\t\t}\n\t\t//System.out.print(oddSum);\t\t\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t}", "title": "" }, { "docid": "9d87287414d0ff3937f7046b66889b70", "score": "0.60326415", "text": "private static int calc_even_odd(int [] arr, int start_ind, int end_ind)\r\n\t{\r\n\t\tint sum = 0;\r\n\t\t\r\n\t\tfor(int i = start_ind; i <= end_ind; i+=2)\r\n\t\t{\r\n\t\t\tsum += arr[i];\r\n\t\t}\r\n\t\t\r\n\t\treturn sum;\r\n\t}", "title": "" }, { "docid": "38702658cfb0dd0b2b5ee6ff513eeb71", "score": "0.592937", "text": "public static void excersise07() {\n List<Integer> numbers = Arrays.asList(1, 2, 3, 4, 5, 12, 23, 45, 67, 89, 90);\n int sum = numbers.stream()\n .filter(number -> number % 2 != 0)\n .map(number -> (number * number * number))\n .reduce(0, Integer::sum); // reduce acept, initialAggigat value and next value\n System.out.println(sum);\n }", "title": "" }, { "docid": "14da327773ab4c55122af5b7bb36cef3", "score": "0.59000576", "text": "private int twoPairs()\n {\n int result = 0;\n\n List<Integer> list = IntStream.range(0, 6)\n .map(i -> 5 - i)\n .filter(i -> counts[i] >= 2)\n .boxed()\n .collect(Collectors.toList());\n\n if (list.size() == 2) {\n result = list.stream().mapToInt(i -> 2 * (i + 1)).sum();\n }\n\n return result;\n }", "title": "" }, { "docid": "51124ab3ec9209453f4934b12c1d1778", "score": "0.5847371", "text": "public static void main(String[] args) {\n\n int sum1 = 0;\n int sum2 = 0;\n\n for (int i = 0; i <=100; i++ ){\n if (i %2 ==0){ //picks out the even number from 1-100\n sum1 += i ;\n\n }else {\n sum2 += i;\n }\n }\n\n System.out.println(\"Sum of all even numbers between 1-100 is \" + sum1);\n System.out.println(\"Sum of all odd numbers between 1-100 is \" +sum2);\n\n\n\n\n }", "title": "" }, { "docid": "e9f6bfb28e64681021ac7bf7ab79bac2", "score": "0.5797389", "text": "public int evenFibSum(int limit)\n\t{\n\t\tArrayList<Integer> fib = getFibTerms(1,2,limit);\n\t\tgetEven(fib);\n\t\treturn (sum(fib));\n\t}", "title": "" }, { "docid": "2748601d954047fd04d223a430ab9a54", "score": "0.5785658", "text": "public static int OddSum(int num)\n {\n //use if and else if condition to calculate the odd series sum\n if(num<=0)\n \n return 0;\n\n \n else if(num%2==0)\n \n num=num-1;\n\n //calculate and return even series sum\n return (num+(OddSum(num-2)));\n }", "title": "" }, { "docid": "622474c95ab538d832ccaf3e1fad9967", "score": "0.5782459", "text": "static int oddEvenAdd(int n) {\n if (n % 2 == 0) return n / 2;\n return (n * 3) + 1;\n }", "title": "" }, { "docid": "38459564471c6242e6a4ced829a40e9d", "score": "0.5782197", "text": "public int sumValuesInterval(int a, int b){\n int suma=0;\n int aux;\n if(a>=0 && b>=0){\n if(a>b){\n aux=a;\n a = b;\n b = aux;\n }\n if(a==b){\n suma = a;\n }\n else{\n while(a<=b){\n suma = suma + a;\n a++;\n }\n }\n }\n else{\n System.out.println(\"ERROR. Los numeros introducidos deben de ser mayores que 0\");\n suma = -1;\n }\n return suma;\n }", "title": "" }, { "docid": "ba1bc76be9f6cf48b7fa6adf161d9451", "score": "0.5734524", "text": "public static int evenFibSum(int limit) {\n\t\tint sum = 0;\n\t\tint n = 2;\n\t\t\n\t\twhile(fib(n) < limit) {\n\t\t\tsum += fib(n);\n\t\t\tn += 3; // next even term is 3 away\n\t\t}\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "0a43848ddacdf48764906e31046388b9", "score": "0.5654115", "text": "public static int evenFibSumAlt(int limit){\n\t\tint fibTerm = 2;\n\t\tint sum = 0;\n\t\twhile(fibTerm < limit) {\n\t\t\tsum+= fibTerm;\n\t\t\tfibTerm = (int) Math.round(fibTerm*Math.pow(PHI, 3));\n\t\t}\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "8880a39acebcd973f27c17e29d4d2a28", "score": "0.55515736", "text": "public static void main(String[] args) {\n\n int x = 1;\n int sum = 0;\n\n while (x <= 99) {\n if (x % 2 != 0) {\n sum = sum + x;\n }\n x++;\n\n }\n System.out.println(\"The sum of all odd numbers in the range from 1 to 99 inclusive = \" + sum);\n }", "title": "" }, { "docid": "2c419db580a3565057d5ddfce12151bb", "score": "0.55021703", "text": "static int sum(int n){\n int sum = 1;\n for(int i=2;i<n;i++) if(n % i == 0) sum += i;\n return sum;\n }", "title": "" }, { "docid": "bf8577f14bfba6183edb5d8e8bd9b946", "score": "0.54176295", "text": "public static int sum2(int[] nums) {\n if (nums.length == 0) {\n return 0;\n }\n int s = 0;\n for (int i = 0; i < nums.length; i++) {\n if (i == 2) {\n break;\n }\n s += nums[i];\n }\n return s;\n }", "title": "" }, { "docid": "106c7a2aba649691190297c10b66098a", "score": "0.53760636", "text": "public void countInterval()\r\n {\r\n int nr=111;\r\n double sum=0;\r\n int countNumbers=0;\r\n while(nr<8899)\r\n {\r\n sum=sum+nr;\r\n countNumbers++;\r\n nr++;\r\n }\r\n System.out.println(\"Suma totala :\"+sum);\r\n System.out.println(\"Media este : \"+ sum/countNumbers);\r\n }", "title": "" }, { "docid": "8d3f526a7c6e3da1c2227eec71a724b6", "score": "0.5354031", "text": "public int countOdds(int low, int high) {\n return (high + 1) / 2 - low / 2;\n }", "title": "" }, { "docid": "8c4a868c33475bc31a1e0ef2c74cc78b", "score": "0.5308828", "text": "public static List<Integer> sumConsecutives(List<Integer> s) {\n ArrayList<Integer> list = new ArrayList<>();\n int sum = 0;\n int lastInt = -1000000;\n\n for (int value : s) {\n if (value == lastInt) {\n sum += value;\n } else {\n if (lastInt != -1000000) {\n list.add(sum);\n }\n sum = value;\n }\n lastInt = value;\n }\n list.add(sum);\n\n return list;\n }", "title": "" }, { "docid": "4abac67f614118909275a7f3c8589a66", "score": "0.52977794", "text": "public int sum2(int[] nums) {\n int solution = 0;\n if (nums.length < 1) return 0;\n for (int i = 0; i <= 1 && i < nums.length; i++){\n solution += nums[i];\n }\n return solution;\n}", "title": "" }, { "docid": "ae2a5b3a988e81edaf54ae154a525d4c", "score": "0.5291717", "text": "public int sumOfSquares2(int n) {\n int result = 1;\n int sum = 0;\n for (int i = 1; i * i <=n; i++){\n result = i*i;\n sum += result;\n }\n return sum;\n }", "title": "" }, { "docid": "e403bca1fa0ea3fba466548c58673c11", "score": "0.5283589", "text": "public int GetSum(int a, int b) {\n if (a == b) return a;\n int sum = 0;\n if (a < b) {\n for (int i = a; i <= b; i++) {\n sum += i;\n }\n } else {\n for (int i = a; i >= b; i--) {\n sum += i;\n }\n }\n\n return sum;\n }", "title": "" }, { "docid": "697500435456046116b7ab58c8171667", "score": "0.52603984", "text": "private static boolean sum28(int[] array) {\n int sum = 0;\n for (int i = 0; i < array.length; i++) {\n if (array[i] == 2) {\n sum += array[i];\n }\n }\n return sum == 8;\n }", "title": "" }, { "docid": "f2d55e774ad4610629731bfd06ba8fc6", "score": "0.52596337", "text": "private static boolean evenVsOdd (int[] array)\r\n\t{\r\n\t\tint evenSum = 0 ; // sum of even slots\r\n\t\tint oddSum = 0 ; //sum of odd slots\r\n\t\t\r\n\t\tfor (int i=0 ; i<array.length ; i++)\r\n\t\t{\r\n\t\t\tif (i%2 == 0)\r\n\t\t\t\tevenSum = evenSum + array[i] ; // adding the value of the even slots\r\n\t\t\telse\r\n\t\t\t\toddSum = oddSum + array[i] ; // adding the value of the odd slots\r\n\t\t}\r\n\t\t\r\n\t\tif (evenSum > oddSum) //checks which sum is bigger\r\n\t\t\treturn true ;\r\n\t\telse\r\n\t\t\treturn false ;\r\n\t\t\t\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "d7db91ac4d00ed3b2e34a5e3603cad79", "score": "0.52459526", "text": "public static void main(String[] args) {\n List<Integer> numbers = Arrays.asList(5, 9, 1, 2, 3, 7, 5, 6, 7, 3, 7, 6, 8, 5, 4, 9, 6, 2);\n\n long sumOfOddNumbers = numbers.stream()\n .filter(n -> n % 2 == 1)\n .mapToInt(n -> n)\n .sum();\n System.out.println(sumOfOddNumbers);\n\n int sumOfOddNumbers2 = numbers.stream()\n .filter(n -> n % 2 == 1)\n .reduce(0, (summa, n) -> summa + n);\n //.reduce(0, Integer::sum);\n System.out.println(sumOfOddNumbers2);\n }", "title": "" }, { "docid": "1ee79fef7ea02f963337d683ef934aeb", "score": "0.5238588", "text": "public static void main(String[] args) {\n int sum = 0;\n\n for (int i = 1; i <= 100; i++) {\n if(i%2 == 1){\n sum+=i;\n }\n }\n System.out.println(\"The sum of odd numbers from 1 to 100 is \"+sum);\n }", "title": "" }, { "docid": "dcaeefcf9a9fca80b003d7e801043651", "score": "0.5235353", "text": "public int[] twoSum(int[] numbers, int target) {\n int l = 0;\n int r = numbers.length-1;\n int res[] = new int[2];\n while(l<r){\n if(numbers[l] + numbers[r] == target){\n res[0] = l+1;\n res[1] = r+1;\n return res;\n }else if(numbers[l] + numbers[r] < target){\n l++;\n }else{\n r--;\n }\n }\n\n return null;\n}", "title": "" }, { "docid": "2fbe8071255774857ea2b2171cddd17d", "score": "0.5235122", "text": "public static int sumOfDoubleEvenPlace(long number) {\n\t\tint sum = 0;\n\t\tfor (int i = 1; i <= 16; i++) {\n\t\t\tif (i % 2 == 0) /* only factor in even place digits */ {\n\t\t\t\tsum += getDigit((int) (number % 10) * 2); // the mod 10 enforces the range\n\t\t\t}\n\t\t\tnumber /= 10;\n\t\t}\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "b0df783a95cff86fd38c3c58e0bae1a5", "score": "0.5227621", "text": "int main()\n{\n int T,esum = 0, osum = 0;\n cin >> T;\n int arr[T];\n for(int i = 0;i < T; i++)\n cin >> arr[i];\n for(int i = 0;i < T; i++){\n if(arr[i] % 2 == 0)\n esum += arr[i];\n else\n osum += arr[i];\n }\n \n cout << \"The sum of the even numbers in the array is \" << esum << endl;\n cout << \"The sum of the odd numbers in the array is \" << osum;\n}", "title": "" }, { "docid": "6a62a153439004861b8f7e4c685a1b76", "score": "0.52204335", "text": "private static int getSumOfEvenNumbers(List<Integer> intList, Predicate<Integer> intPredicate) {\n int sum = 0;\n //\n for (int value : intList) {\n if (intPredicate.test(value)) {\n sum += value;\n }\n // }\n }\n return sum;\n }", "title": "" }, { "docid": "2c3e51ce2c83cb8a7ca26e9850329895", "score": "0.51977843", "text": "private static int sum(int start, int end, IntArray1SparseVector x) {\r\n\t\tint res = 0;\r\n\t\tfor (int i = start; i <= end; i++) {\r\n\t\t\tint xi = (int) x.getCoord(i);\r\n\t\t\tres += xi;\r\n\t\t}\r\n\t\treturn res;\r\n\t}", "title": "" }, { "docid": "063edfb14b45098b21e0958ff3280825", "score": "0.51938653", "text": "int alternatingSumModulo (int[] array) {\r\n\t\tint sum = 0;\r\n\t\tint sign = 0;\r\n\t\tfor (int index = 0; index < array.length; index++) {\r\n\t\t\tsign = 1 - (index % 2) * 2;\r\n\t\t\tsum += sign * array[index];\r\n\t\t}\r\n\t\treturn sum;\r\n\t}", "title": "" }, { "docid": "d95d9fa33e8013c4113b1015632d1240", "score": "0.51862156", "text": "private static int sum(int first, int second) {\n\t\treturn first + second;\n\t}", "title": "" }, { "docid": "9a8dd2a5831556932b32ab3b138b3c60", "score": "0.51703596", "text": "private static void task18() {\n System.out.print(\"Enter first value: x = \");\n long x = (long) scan();\n System.out.print(\"Enter second value: y = \");\n long y = (long) scan();\n long sum = 0;\n int i = 1;\n int step = 0;\n\n while (y != 0){\n if((y % 10) != 0){\n if(sum != 0){\n sum = addBinary(sum, x * i);\n }else {\n sum = x * i;\n }\n }else {}\n\n System.out.println(\"sum:\" + sum);\n y /= 10;\n i *= 10;\n }\n\n\n\n// System.out.println(addBinary(1101, 110));\n // show number\n System.out.print(sum);\n }", "title": "" }, { "docid": "56b9a0a6566f2d0b0cf4bbe873436038", "score": "0.5169122", "text": "public int arithmeticSeries2(int n, int acc)\n {\n if (n == 0) {\n return acc;\n }\n\n acc += n; \n\n return arithmeticSeries2(n - 1, acc);\n }", "title": "" }, { "docid": "578dd0162af39eec1e4a280ebd00dcbd", "score": "0.516775", "text": "public static void main(String[] args) {\n\n int r1 = RandomNumberGenerator.getRandomNumber(10, 20);\n int r2 = RandomNumberGenerator.getRandomNumber(10, 20);\n\n System.out.println(\"First random number is = \" + r1);\n System.out.println(\"Second random number is = \" + r2);\n\n int sumOfOdds = 0;\n\n for (int i = Math.max(r1, r2); i >= Math.min(r1, r2); i--) {\n if(i % 2 == 0) System.out.println(i);\n else sumOfOdds += i;\n }\n\n System.out.println(\"Sum of the odd numbers is = \" + sumOfOdds);\n System.out.println(\"End of the program\");\n }", "title": "" }, { "docid": "e644420d7b407112a15ca2d420b00dff", "score": "0.5156061", "text": "public static void main(String[] args) {\n int sumOfEven=0;\n int sumOfOdd=0;\n for (int i=0; i<=100; i++){\n if (i%2==0){\n sumOfEven+=i;\n } else{\n sumOfOdd+=i;\n }\n }\n System.out.println(\"the sum of all the even numbers between 1 ~ 100 is \"+sumOfEven);\n System.out.println(\"the sum of all the odd numbers between 1 ~ 100 is \"+sumOfOdd);\n\n }", "title": "" }, { "docid": "47d7bcb1d7d908a236652103f50ca5da", "score": "0.5123045", "text": "public static double Sum(double i) { \n double t = i*2;\n return t; \n }", "title": "" }, { "docid": "70e64c62c0e1d45ad8789bd377d26874", "score": "0.5122374", "text": "public static long EulerTwoImperative() {\n long sum = 0;\n\n int max = 4000000;\n int firstArg = 0;\n int secondArg = 1;\n int fib;\n while (secondArg < max) {\n fib = firstArg + secondArg;\n if (fib % 2 == 0) {\n sum += fib;\n }\n //println(firstArg + \", \" + secondArg + \", \" + sum);\n\n firstArg = secondArg;\n secondArg = fib;\n }\n\n return sum;\n }", "title": "" }, { "docid": "a69c39cb3112c80cb1f82dd4eb9e5bb6", "score": "0.5108805", "text": "public static void evenNumbers(Scanner input) {\n // Create integers to keep track of values to calculate stats\n int count = 0;\n int total = 0;\n int evenNumbers = 0;\n\n while (input.hasNextInt()) {\n // Get the next value from the scanner\n int next = input.nextInt();\n\n // Keep track of the stats\n count++;\n total += next;\n\n if (next % 2 == 0) {\n evenNumbers++;\n }\n }\n\n // Calculate the percent of evens\n double evens = 100.0 * evenNumbers / count;\n\n // Report the stats\n System.out.printf(\"%d numbers, sum = %d\\n\", count, total);\n System.out.printf(\"%d evens (%.2f%%)\\n\", evenNumbers, evens);\n }", "title": "" }, { "docid": "5a483d7089cf8b665f0592feb36816f2", "score": "0.51027644", "text": "public static int getEvenFib(int num) {\n\n // this is what I'm returning. the sum of all even-valued terms up to less than num (4,000,000)\n int evenSum = 0;\n // first value\n int f1 = 1;\n // second value\n int f2 = 1;\n // starts with f_3 because it is the first even-valued term in the Fibonacci Sequence\n int fibSeq = f1 + f2;\n\n //if you want to get the sum of all even Fibonnaci sequence that is less than num, then (f1+f2+evenSum) < num would be more appropriate\n\n if (num <= 2) {\n System.out.println(\"num must be greater than 2.\");\n }\n //if current number in Fibonacci sequence is less than num\n // starts off with f1 + f2 ---> f_3 (2)\n while (fibSeq < num) {\n System.out.println(\"fibSeq \" + fibSeq);\n // if the current number in the Fibonacci Sequence is even, add to evenSum\n if (fibSeq % 2 == 0) {\n System.out.println(\"f1 \" + f1 + \" f2 \" + f2);\n evenSum += fibSeq;\n System.out.println(\"evenSum \" + evenSum);\n }\n // calculate fibonacci sequence\n f1 = f2;\n f2 = fibSeq;\n fibSeq = f1 + f2;\n }\n\n return evenSum;\n\n }", "title": "" }, { "docid": "7e18641b652905b10a2caac56655f85d", "score": "0.50997955", "text": "static int sumOddNodes(Node root, int n1, int n2) \n\t{ \n\t\t// vector to store the path of \n\t\t// first node n1 from root \n\t\tVector<Integer> path1= new Vector<Integer>(); \n\t\t// vector to store the path of \n\t\t// second node n2 from root \n\t\tVector<Integer> path2= new Vector<Integer>(); \n\n\t\tgetPath(root, path1, n1); \n\t\tgetPath(root, path2, n2);\n\n\t\tSystem.out.println(path1);\n\t\tSystem.out.println(path2);\n\n\t\tint intersection = -1; \n\n\t\t// Get intersection point \n\t\tint i = 0, j = 0; \n\t\twhile (i != path1.size() || j != path2.size()) { \n\t\t\t// Keep moving forward until no intersection is found \n\t\t\tif (i == j && path1.get(i) == path2.get(j)) { \n\t\t\t\ti++; \n\t\t\t\tj++; \n\t\t\t} else { \n\t\t\t\tintersection = j - 1; \n\t\t\t\tbreak; \n\t\t\t} \n\t\t} \n\t\t\n\t\tint sum = 0; \n\t\t\n\t\t// calculate sum of ODD nodes from the path \n\t\tfor (i = path1.size()-1; i > intersection; i--) \n\t\t\tif(path1.get(i)%2!=0) \n\t\t\t\tsum += path1.get(i); \n\n\t\tfor (i = intersection; i < path2.size(); i++) \n\t\t\tif(path2.get(i)%2!=0) \n\t\t\t\tsum += path2.get(i); \n\t\treturn sum;\t\t \n\t}", "title": "" }, { "docid": "5e4f42f91aad3f9737e05dc8861e50f7", "score": "0.5097741", "text": "protected static int summation(int n) {\n return n * (n + 1) / 2;\n }", "title": "" }, { "docid": "9c789d5d46398cdc8f6a0d891b3a5d7b", "score": "0.50959104", "text": "public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint user = 0;\n\t\tint even = 0;\n\t\tint odd = 0;\n\t\tfor (int a = 1; a <= 3; a++) {\n\t\t\tSystem.out.println(\"Input an integer\");\n\t\t\tuser = input.nextInt();// for ex. 1st input = 2;\n\t\t\t// 'user' holds the current value, and changes with new input\n\t\t\t// int sum=0;//sum=sum+user;//to save current 'user' input, this can be used\n\t\t\tif (user % 2 == 0) {\n\t\t\t\teven = even + user;// 1st iteration even = 0, becomes 2;\n\t\t\t\t\t\t\t\t\t// 2nd iteration, even =2; becomes 4;\n\t\t\t} else {\n\t\t\t\todd = odd + user;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(even);\n\t\tSystem.out.println(odd);\n\n\t\t// Another ways bringing range\n\t\t\n\t\tSystem.out.println(\"Enter start number\");\n\t\tint start = input.nextInt();\n\t\tSystem.out.println(\"Enter end number\");\n\t\tint end = input.nextInt();\n\t\tint sum = 0;\n\t\tint even2 = 0;\n\t\tint odd2 = 0;\n\t\tfor (int i = start; i <= end; i++) {\n\t\t\tif (i % 2 == 0) {\n\t\t\t\teven2 = even2 + i;\n\t\t\t} else {\n\t\t\t\todd2 = odd2 + i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(even2);\n\t\tSystem.out.println(odd2);\n\n\t\t// another way with if else condition\n\t\t\n\t\tSystem.out.println(\"Enter start number\");\n\t\tint firstNumber = input.nextInt();\n\t\tSystem.out.println(\"Enter ending number\");\n\t\tint secondNumber = input.nextInt();\n\n\t\tint start1 = 0;\n\t\tint end1 = 0;\n\n\t\tif (firstNumber < secondNumber) {// if the user enters 'starting number' larger than 'end number'\n\t\t\tstart1 = firstNumber; // 'if condition' will allow to work 'for loop' properly\n\t\t\tend1 = secondNumber;\n\t\t} else {\n\t\t\tstart1 = secondNumber;\n\t\t\tend1 = firstNumber;\n\t\t}\n\t\tint even1 = 0;\n\t\tint odd1 = 0;\n\t\tfor (int i = start1; i <= end1; i++) {\n\t\t\tif (i % 2 == 0) {\n\t\t\t\teven1 = even1 + i;\n\t\t\t} else {\n\t\t\t\todd1 = odd1 + i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"The sum of even numbers is \" + even1);\n\t\tSystem.out.println(\"The sum of odd numbers is \" + odd1);\n\t}", "title": "" }, { "docid": "6035154f0ae73bb19cbd084320c871f4", "score": "0.5079542", "text": "public int sumOfEvenPlaces(long number) {\r\n\r\n\t// Get rid of first digit (we will extract only even placed digits)\r\n\tlong reminder = number / 10;\r\n\tint sumOfDigits = 0;\r\n\r\n\t// While reminder is not 0, extract digits\r\n\twhile (reminder > 0) {\r\n\t\t// Extract a single digit and double it\r\n\t\tint doubledDigit = 2 * (int) (reminder % 10);\r\n\t\t\r\n\t\t// Compute sum of double digits (if doubled digit > 10, \r\n\t\t// use sum of digits in this sum)\r\n\t\tsumOfDigits += getDigit(doubledDigit);\r\n\t\t\r\n\t\t// Get rid of current (even placed) digit and \r\n\t\t// an odd placed digit which is before current digit\r\n\t\treminder = reminder / 100;\r\n\t}\r\n\r\n\treturn sumOfDigits;\r\n}", "title": "" }, { "docid": "0e4dc12f2484d19d850e5778cd85dca2", "score": "0.50776935", "text": "public static void main(String[] args) {\n\r\n int suma = 0;\r\n Scanner scan = new Scanner(System.in);\r\n\r\n System.out.println(\"Unesite jedan broj: \");\r\n int broj = scan.nextInt();\r\n\r\n for (int i = 1; i <= broj; i++) {\r\n if (i % 2 == 0) {\r\n suma = suma + i;\r\n }\r\n }\r\n System.out.println(\"Zbroj unesenih brojeva je \" + suma);\r\n }", "title": "" }, { "docid": "b5e1d0f52d21fccdf1801ab3e0db54dc", "score": "0.5052836", "text": "static int sum(int n){\n\tint sum=0;\n\tfor(int i=1;i<=n;i++)\n\t{ \n\t sum=sum + i;\n\t}\n\treturn sum;\n\t}", "title": "" }, { "docid": "d2dbde82ea33adaad5f5e3f6241b003c", "score": "0.50408286", "text": "int sumt(int i) {\n\t\t\tint res = 0;\n\t\t\twhile (i >= 0) {\n\t\t\t\tres = (res + a[i]) % MOD;\n\t\t\t\ti = (i & (i + 1)) - 1;\n\t\t\t}\n\t\t\treturn res;\n\t\t}", "title": "" }, { "docid": "5869aa3768a3c6169d29e1312a4a7b4f", "score": "0.50129116", "text": "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int max = sc.nextInt();\n BigInteger sum = BigInteger.ZERO;\n BigInteger b1 = BigInteger.ONE;\n BigInteger b2 = BigInteger.ONE;\n BigInteger tmp;\n BigInteger num;\n for(int i = 0; i < max; i++){\n num = sc.nextBigInteger();\n b1 = BigInteger.ONE;\n b2 = BigInteger.ONE;\n //int b1 = 1, b2 = 1, tmp;\n //int sum = 0;\n sum = BigInteger.ZERO;\n while(b1.compareTo(num) < 0){\n if(b1.mod(new BigInteger(2+\"\")).compareTo(BigInteger.ZERO) == 0){\n sum = sum.add(b1);\n // System.out.println(b1);\n }\n tmp = b1.add(b2);\n \n b2 = b1;\n b1 = tmp;\n }\n System.out.println(\"\"+sum);\n }\n }", "title": "" }, { "docid": "60da12efd96b90eeaeddd7d6b84c6146", "score": "0.50086874", "text": "private static double loop (double n, double low, double range){\n double lowPlusRange = low+range;\n while(n<low){\n n+=range;\n }\n while(n>=range){\n n-=range;\n }\n return n;\n }", "title": "" }, { "docid": "637f702b32d138ff6aa3390f143fdf62", "score": "0.50057906", "text": "public int rangeSum(int l, int r, int BITTree1[], int BITTree2[]);", "title": "" }, { "docid": "96e1432a57096db8e8445c26470b0b18", "score": "0.49978298", "text": "public static int getSum(int start, int stop)\r\n\t{\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "a6a12aac8820216bdd8a0e5534eaddee", "score": "0.4991828", "text": "int right(int intervals);", "title": "" }, { "docid": "73e61167ddf91d5d509e8b35606d015c", "score": "0.49899364", "text": "@Override\n SimpleInterval apply(SimpleInterval pFirstOperand, BigInteger pSecondOperand);", "title": "" }, { "docid": "6e7912e7ef1ae9499c93f40c162fc2f8", "score": "0.49838173", "text": "public static int evenNumberOfDigits(int[] arr) {\n int ans = 0;\n\n for (int a : arr) {\n\n if (a < 0) {\n a = a * -1;\n }\n\n int count = 0;\n\n while (a > 0) {\n a = a / 10;\n count++;\n }\n if (count % 2 == 0) {\n ans++;\n }\n }\n\n System.out.println(ans);\n return ans;\n\n }", "title": "" }, { "docid": "5a7078c26a05612e97237b8305c79e14", "score": "0.4981741", "text": "public static void main(String[] args) {\n\t \n\t int sum=0;\n\t \n\t for (int i=1; i<=100; i++) {\n\t\t if (i%2==0) {\n\t\t\tsum=sum+i; \n\t\t }\n\t }\n\t\t System.out.println(sum); //2550‹\n\t\t \n\t \n}", "title": "" }, { "docid": "316b9a67de2aa614247400127475fa18", "score": "0.49810898", "text": "public int coolSum(int startIndex , int endIndex){\r\n return ls.subList(startIndex, endIndex).stream().mapToInt(Integer::intValue).sum();\r\n }", "title": "" }, { "docid": "e9a2491821676de9ad63a6dc854e9261", "score": "0.49731886", "text": "public void numbersWithEqualsEvenAndOddDigits() {\n\t\tString evenNumbersWithEqualsEvenOddDigits = \"\", newNumbers[] = copyNumbersArray();\n\t\tint countEvenNumbers = 0, nextLine = 0;\n\n\t\tfor (String num : newNumbers) {\n\t\t\tif (Integer.parseInt(num) % 2 == 0) {\n\t\t\t\tcountEvenNumbers++;\n\t\t\t\tevenNumbersWithEqualsEvenOddDigits += isEqualsPartsOfEvenAndOddDigits(num) ? num + \" \" : \"\";\n\t\t\t\tnextLine += isEqualsPartsOfEvenAndOddDigits(num) ? 1 : 0;\n\t\t\t\tevenNumbersWithEqualsEvenOddDigits += nextLine == 10 ? \"\\n\" : \"\";\n\t\t\t\tnextLine = nextLine == 10 ? 0 : nextLine;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\\nFind \" + countEvenNumbers + \" even numbers. This array of numbers has numbers \"\n\t\t\t\t+ \"\\nwhich consist of equals even and odd digit :\\n\" + evenNumbersWithEqualsEvenOddDigits);\n\t}", "title": "" }, { "docid": "7772b277ed346aed74dcd6009c397865", "score": "0.49613512", "text": "public List<List<Integer>> twoSum(int[] arr, int target, int si, int ei) {\n List<List<Integer>> ans=new ArrayList<>();\n int sum=0;\n while(si<ei){\n sum=arr[si]+arr[ei];\n if(sum== target){\n List<Integer> smallAns=Arrays.asList(arr[si], arr[ei]);\n ans.add(smallAns);\n si++;\n ei--;\n while (si < ei && arr[si] == arr[si - 1])\n si++;\n while (si < ei && arr[ei] == arr[ei + 1])\n ei--;\n }\n else if (sum < target)\n si++;\n else\n ei--;\n }\n return ans;\n }", "title": "" }, { "docid": "55affeb19d0ef19adaf110a3752e8dfa", "score": "0.4960456", "text": "public int evenDiv(int divisor)\n\t{\n \tint val = divisor;\n \twhile(!divBy(val, divisor))\n \t{\n \t\tval++;\n \t}\n \treturn val;\n\t}", "title": "" }, { "docid": "3bf6807abb8b6cfd537cd4a68ae21c48", "score": "0.49473664", "text": "public void even() {\r\n\t\tint e1 = state.popF26Dot6();\r\n\t\tif((round(e1) >> 6)%2 == 0) {\r\n\t\t\tstate.push(1, 4);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tstate.push(0, 4);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0d69f732baa8400199d10109d3e7588d", "score": "0.49439257", "text": "static int sumofoddFactors(int n)\n\t {\n\t int res = 1;\n\t \n\t // ignore even factors by\n\t // removing all powers\n\t // of 2\n\t while (n % 2 == 0)\n\t n = n / 2;\n\t \n\t for (int i = 3; i <= Math.sqrt(n); i++)\n\t {\n\t \n\t // While i divides n, print i \n\t // and divide n\n\t int count = 0, curr_sum = 1;\n\t int curr_term = 1;\n\t while (n % i == 0)\n\t {\n\t count++;\n\t \n\t n = n / i;\n\t \n\t curr_term *= i;\n\t curr_sum += curr_term;\n\t }\n\t \n\t res *= curr_sum;\n\t \n\t }\n\t \n\t // This condition is to handle\n\t // the case when n is a \n\t // prime number.\n\t if (n >= 2)\n\t res *= (1 + n);\n\t \n\t return res;\n\t }", "title": "" }, { "docid": "f2e2226365230123928e17b99b04e965", "score": "0.4939395", "text": "public static int[] twoSumEvenFaster(int[] a, int target) {\n Arrays.sort(a);\n int left = 0, right = a.length - 1;\n\n while (left < right) {\n int sum = a[left] + a[right];\n if (sum > target) right--;\n else if (sum < target) left++;\n else return new int[] {a[left], a[right]};\n }\n\n return new int[] {};\n }", "title": "" }, { "docid": "a714052b1eb9a83ea81b65e2307c4bbe", "score": "0.49325597", "text": "void stockBuySell(int price[], int n) \n {\n // Prices must be given for at least two days\n if (n == 1)\n return;\n \n int count = 0;\n\n // solution array\n ArrayList<Interval> sol = new ArrayList<Interval>();\n\n // Traverse through given price array\n int i = 0;\n while (i < n - 1) \n {\n // Find Local Minima. Note that the limit is (n-2) as we are\n // comparing present element to the next element. \n while ((i < n - 1) && (price[i + 1] <= price[i]))\n i++;\n\n // If we reached the end, break as no further solution possible\n if (i == n - 1)\n break;\n\n Interval e = new Interval();\n e.buy = i++;\n // Store the index of minima\n \n\n // Find Local Maxima. Note that the limit is (n-1) as we are\n // comparing to previous element\n while ((i < n) && (price[i] >= price[i - 1]))\n i++;\n\n // Store the index of maxima\n e.sell = i-1;\n sol.add(e);\n \n // Increment number of buy/sell\n count++;\n }\n\n // print solution\n if (count == 0)\n System.out.println(\"There is no day when buying the stock \"\n + \"will make profit\");\n else\n for (int j = 0; j < count; j++)\n System.out.println(\"Buy on day: \" + sol.get(j).buy\n +\" \" + \"Sell on day : \" + sol.get(j).sell);\n \n return;\n }", "title": "" }, { "docid": "dc947b43b0d4b239e58129d0de81b141", "score": "0.492968", "text": "static long advSum(int n) {\n\t\t\n\t\t\n\t\tlong sum = (long)n*(n+1)/2;\n\t\t\n\t\treturn sum;\n\t\t\n\t}", "title": "" }, { "docid": "fa694479d23332ef6a7aecbec65e0213", "score": "0.49288985", "text": "static int calcSum100(int start, int last){\n\t\tint sum = 0 ;\n\t\tfor(int i = start ; i <= last ; i++) sum += i;\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "1e3a8d871117b178f6b3cc4e9e4d6c39", "score": "0.49257147", "text": "public static void fibonacciEvens() {\n int sum = 0;\n for (int i = 1; i < 34; i++) {\n int f = fibonacci(i);\n if (f % 2 == 0) {\n System.out.println(f+\" \"+sum);\n sum = sum + f;\n }\n }\n System.out.println(sum);\n }", "title": "" }, { "docid": "681bcf5a1bf1b1c507c9651cb71008dd", "score": "0.49125576", "text": "public static int example2(int[] arr) {\n int n = arr.length, total = 0;\n for (int j=0; j < n; j += 2) // note the increment of 2\n total += arr[j];\n return total;\n }", "title": "" }, { "docid": "a1d473c791a6806c0573157c43c350d8", "score": "0.4906862", "text": "private static void p25() {\n BigInteger lastFib = BigInteger.valueOf(1);\n BigInteger curFib = BigInteger.valueOf(1);\n BigInteger divisor = BigInteger.valueOf(10).pow(999);\n int term = 2;\n while(curFib.divide(divisor).intValue() != 1) {\n BigInteger tmp = curFib;\n curFib = curFib.add(lastFib);\n lastFib = tmp;\n term += 1;\n }\n System.out.println(term);\n }", "title": "" }, { "docid": "1aeeadec920d2d9052bed1042dff9249", "score": "0.4898725", "text": "private static void evenNumber()\r\n\t{\r\n\t\tSystem.out.println(\"enter number\");\r\n\t\tScanner scan=new Scanner(System.in);\r\n\t\tint num=scan.nextInt();\r\n\t\tSystem.out.println(\"the even number \"+num+\" are\");\r\nint nextEven=2;\r\nfor(int i=1; i<=num;i++)\r\n{\r\n\tSystem.out.println(nextEven);\r\n nextEven=nextEven+2;\r\n //System.out.println(\"even number\" );\r\n}\r\n\t}", "title": "" }, { "docid": "1e4a185224f72a553f22d3714188826d", "score": "0.48975176", "text": "private static int binarySum(int[] arr, int i, int j) {\r\n\t\tif(i==j){\r\n\t\t\treturn arr[i];\r\n\t\t}\r\n\t\tint m = (i+j)/2;\r\n\t\treturn binarySum(arr, i, m) + binarySum(arr, m+1, j);\r\n\t}", "title": "" }, { "docid": "12c5a3226fef68f1581506f2455a2271", "score": "0.48964787", "text": "@Test\n public void testNumSumsWithTest2() {\n try {\n long[] arr = fileIO.getLongArrFromFile(TEST_TWO_FILE_PATH);\n twoSum = new TwoSum(arr);\n int expectedNumSums = 8;\n int numSums = twoSum.testTwoSumRange(3, 10);\n assertEquals(expectedNumSums, numSums);\n } catch(IOException e) {\n fail(e.getMessage());\n }\n }", "title": "" }, { "docid": "af2bb4762a546e638cb88cbcdc541119", "score": "0.48868445", "text": "public static int sumUpto ( int number){\n\n int result = 0;\n int counter = 1;\n\n // same excercise using WHILE\n // while (counter <= number){\n // result = result + counter;\n //counter = counter + 1;\n //}\n\n\n for (int i = 1; i <= number; i++) {\n result = result + i;\n // TODO: complete the function\n\n\n }\n\n return result;\n\n }", "title": "" }, { "docid": "99163baea2a837482d69e80ca5dc6a8f", "score": "0.488612", "text": "int getSumRec(int qs, int qe, int ss, int se, int si, int[] tree) {\n if (ss < qs || ss > qe) //when outside range\n return 0;\n if (qs <= ss && qe >= se) // when inside range\n return tree[si];\n\n int mid = (ss + se) / 2;\n return getSumRec(qs, qe, ss, mid, 2 * si + 1, tree)\n + getSumRec(qs, qe, mid + 1, se, 2 * si + 2, tree);\n }", "title": "" }, { "docid": "051012fdf0fa6d65c85d072db7176f18", "score": "0.4873771", "text": "public List<List<Integer>> twoSumWithoutRange(int[] arr, int target) {\n List<List<Integer>> ans=new ArrayList<>();\n int si=0, ei=arr.length-1, sum=0;\n while(si<ei){\n sum=arr[si]+arr[ei];\n if(sum== target){\n ans.add(Arrays.asList(arr[si], arr[ei]));\n si++;\n ei--;\n while (si < ei && arr[si] == arr[si - 1])\n si++;\n while (si < ei && arr[ei] == arr[ei + 1])\n ei--;\n }\n else if (sum < target)\n si++;\n else\n ei--;\n }\n return ans;\n }", "title": "" }, { "docid": "158c8e044a89d92fcbff5495ad8e31a1", "score": "0.4872301", "text": "BigInteger getIntervalMinorDivisor();", "title": "" }, { "docid": "7da55a352b190e07b39c3c05fdb425f7", "score": "0.48705712", "text": "public static int evenSumSubArrays(int arr[], int k) {\n\t\tint count = 0, s = 0;\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\ts = 0;\n\t\t\tfor (int j = i; j < arr.length; j++) {\n\t\t\t\ts = s + arr[j];\n\t\t\t\tif ((s % k) == 0) {\n\t\t\t\t\tSystem.out.println(\"Value of S \" + s);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Num of Sub-Array \" + count);\n\t\treturn count;\n\t}", "title": "" }, { "docid": "b48b4b31804c86397dd1a35dd14c56a0", "score": "0.48559812", "text": "private static Integer calcTwoPair(ArrayList<Integer> dice){\n \t\tInteger pair1 = 0;\n \t\tInteger pair2 = 0;\n \t\tfor(int i = 0; i < 2; i++){\n \t\t\tif(dice.get(i) == dice.get(i+1)) {\n \t\t\t\tpair1 = dice.get(i) * 2;\n \n \t\t\t\tfor (int j = (i+2); j < 4; j++) {\n \t\t\t\t\tif (dice.get(j).equals(dice.get(j+1))) {\n \t\t\t\t\t\tpair2 = dice.get(j) * 2;\n \n \t\t\t\t\t\tif(pair1 != pair2)\n \t\t\t\t\t\t\treturn pair1 + pair2;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\treturn null;\n \t}", "title": "" }, { "docid": "dbdbcd52fcc1e41d2d25461c2e8c0615", "score": "0.48544928", "text": "private static void oddNumber()\r\n\t{\r\n\t\tSystem.out.println(\"enter number\");\r\n\t\tScanner scan=new Scanner(System.in);\r\n\t\tint num=scan.nextInt();\r\n\t\tSystem.out.println(\"the even number \"+num+\" are\");\r\nint nextEven=1;\r\nfor(int i=1; i<=num;i++)\r\n{\r\n\tSystem.out.println(nextEven);\r\n nextEven=nextEven+2;\r\n //System.out.println(\"even number\" );\r\n}\r\n\t}", "title": "" }, { "docid": "58f2a4e4d72bfb4283beaff3ac2f98ef", "score": "0.48544067", "text": "private int pair()\n {\n return IntStream.range(0, 6)\n .map(i -> 5 - i)\n .filter(i -> counts[i] >= 2)\n .boxed()\n .findFirst()\n .map(i -> 2 * (i + 1)).orElse(0);\n }", "title": "" }, { "docid": "c91c5cf1321269d4206d0e02c53be323", "score": "0.4852474", "text": "public static RealInterval secondHalf(RealInterval i) {\n double inf = i.getLB();\n if (inf == Double.NEGATIVE_INFINITY) {\n inf = -Double.MAX_VALUE;\n }\n double sup = i.getUB();\n if (sup == Double.POSITIVE_INFINITY) {\n sup = Double.MAX_VALUE;\n }\n return new RealIntervalConstant(inf + sup / 2.0 - inf / 2.0, i.getUB());\n }", "title": "" }, { "docid": "0755eadbebe8aee65800a589be5e46ae", "score": "0.48494646", "text": "public static int sumOfDivisorInclude(int number) {\n int sum = 0;\n for (int i = 1; i <= number; i++) {\n if (number % i == 0) {\n sum += i;\n }\n }\n return sum;\n }", "title": "" }, { "docid": "877be89fa022313c35d6e14aab80912c", "score": "0.4846234", "text": "public static double oddsAbove(int n) {\n return oddsAbove(n, false);\n }", "title": "" }, { "docid": "51ccfc4e9b952bf4d926995906a83fe5", "score": "0.48450148", "text": "public static void main(String[] args) {\n\n\n int[] numbers = {1, 2, 3, 4, 5};\n\n int countevennum = 0;\n\n int countoddnum = 0;\n\n for (int eachnum : numbers) {\n /* if (eachnum % 2 != 0) {\n countoddnum ++;\n }else {\n countevennum ++;\n }\n*/\n\n if(eachnum%2 ==0){\n countevennum++;\n continue;\n }\n\n countoddnum++;\n\n }\n System.out.println(\"Even numbers count: \"+countevennum);\n System.out.println(\"Odd numbers count: \"+countoddnum);\n\n\n\n }", "title": "" }, { "docid": "1f66a7d5796834553e175cd18c4c7e1c", "score": "0.4840567", "text": "public static int twoSum(int[] a) {\n\t\tArrays.sort(a);\n\t\t\n\t\tint N = a.length;\n\t\tint cnt = 0;\n\t\t\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tif (BinarySearch.rank(-a[i], a) > i) {\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn cnt;\n\t}", "title": "" }, { "docid": "1ab9d5bb719f19c7650c85295565177a", "score": "0.48388034", "text": "public static void main(String[] args) {\n\t\t\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\t\n\t\t\n\t\tSystem.out.println(\"enter start number\");\n\t\tint a=scan.nextInt();\n\t\tSystem.out.println(\"enter end point\");\n\t\tint b=scan.nextInt();\n\t\t\n\t\tint sumOdd=0;\n\t\tint sumEven=0;\n\t\tfor(int i=a; i<=b; i++) {\n\t\t\tif (i%2==0) {\n\t\t\t\tsumEven=sumEven+i;\n\t\t\t}else {\n\t\t\t\tsumOdd=sumOdd+i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"sum of the even numbers: \"+sumEven);\n\t\tSystem.out.println(\"sum of the odd numbers: \"+sumOdd);\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "b6590d6cc3fd174babb25780f1ad4bf2", "score": "0.48379698", "text": "public static int sumIterative(int n) {\n\t\tint result = 0;\n\t\tfor(int i=1; i<= n; i++) {\n\t\t\tresult = result + i;\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "65247b741c9ad6d86f037bd4b347f087", "score": "0.4830932", "text": "public static void main(String[] args) {\n \n\t\t int oddNum;\n\t\t int counter=1;\n\t\t int sum=0;\n\t\t \n\t\t \n\t\t\n for(counter=1; counter<15; counter=counter+2){\n \t sum=sum+counter;\t \n \t System.out.println(counter);\n }\n System.out.printf(\"Sum is:\");\n System.out.println(sum);\n \n\n}", "title": "" }, { "docid": "431f3e2e39f9e734c8a84ae814d0947b", "score": "0.4828375", "text": "int getNextInterval();", "title": "" }, { "docid": "a88403fb1b30b5c7523d5a44e867791a", "score": "0.48257282", "text": "public int twoSum2(int[] nums, int target) {\n if(nums==null || nums.length==0){\n return 0;\n }\n Arrays.sort(nums);\n int start =0;\n int end = nums.length-1;\n int count =0;\n while(start < end){\n if(nums[start] + nums[end] > target){\n count= count + end-start;\n end--;\n }\n\n\n else{\n start++;\n }\n\n }\n return count;\n }", "title": "" }, { "docid": "e463678a1808b4eba06494e8a6c290f6", "score": "0.48254195", "text": "public void sumaEntreAyB(int a, int b)\n {\n int resultado = 0;\n // Iniciamos dos variables, una como contador, y otra para guardar\n //el resultado.\n while (a <= b){\n resultado = resultado + a;\n a++;\n }\n System.out.println(resultado);\n }", "title": "" }, { "docid": "9ece8acd6d5bcb3e3550b6e1f73de728", "score": "0.48208666", "text": "public int robHelper(int[] nums, int start, int end) {\n int yes = 0, no = 0;\n for(int i = start; i <= end; i++) {\n int tmp = no;\n no = Math.max(no, yes);\n yes = tmp + nums[i];\n }\n return Math.max(no, yes);\n }", "title": "" }, { "docid": "46a1edcd5b2f2aed24b5172d4c18f7e8", "score": "0.48173273", "text": "public static double[] getEvenNum(double[] source) {\r\n\t\tdouble[] re = new double[0];\r\n\t\tfor (double n : source) {\r\n\t\t\tif (n % 2 == 0) {\r\n\t\t\t\tre = FixArr.addToArr(re, n);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn re;\r\n\t}", "title": "" }, { "docid": "ca798efa2759e80dd5ef3ba20d53dab3", "score": "0.48159328", "text": "public void sumValues(){\n int i=0;\n int suma=0;\n while(i<=10){\n suma = suma + i;\n i++;\n }\n System.out.println(suma);\n }", "title": "" }, { "docid": "d311feb70c77fba9803a089a52f8a0ee", "score": "0.48135558", "text": "private static int findSum2(int[] arr, int k) {\n int maxSum = 0;\n int windowSum = 0;\n int windowStart = 0;\n for (int i = 0; i < arr.length; i++) {\n windowSum += arr[i];\n System.out.println(\"sub sum: \" + windowSum);\n if (i >= k - 1) {\n maxSum = Math.max(maxSum, windowSum);\n windowSum -= arr[windowStart];\n windowStart++;\n }\n }\n return maxSum;\n }", "title": "" }, { "docid": "6cac2bb0f7dd8b2fdb80f5b52483fa99", "score": "0.48106042", "text": "int calculateSumOfEvenDigits(final String ccNumber) {\n int sum = 0;\n for (int i = 1; i < ccNumber.length(); i += 2) {\n\n int multipleOfTwo = (ccNumber.charAt(i) - '0') * 2;\n\n // if its a double digit then get the product of the two split values\n if (multipleOfTwo > 9) {\n while(multipleOfTwo > 0) {\n sum += multipleOfTwo % 10;\n multipleOfTwo /= 10;\n }\n } else {\n sum += multipleOfTwo;\n }\n }\n return sum;\n }", "title": "" }, { "docid": "580b4de16930738e403495762e0c6b6b", "score": "0.48026526", "text": "private static long pf_in_range(int n, int floor_num, int floor_denom,\n int ceil_num, int ceil_denom) {\n\n\n HashMap<Integer, ArrayList<Integer>> factors = new HashMap<>();\n long sum = 0;\n\n for (int curr = 2; curr <= n; curr += 1) {\n\n int floor = (int) Math.ceil((curr * floor_num) / (float) floor_denom);\n int ceil = (int) Math.floor((curr * ceil_num) / (float) ceil_denom);\n if (curr % floor_denom == 0) {\n floor += 1;\n }\n if (curr % ceil_denom == 0) {\n ceil -= 1;\n }\n int diff = ceil - floor + 1;\n\n ArrayList<Integer> curr_divisors = Helpers.decomposer(curr);\n HashSet<Integer> curr_div_set = new HashSet<>(curr_divisors);\n HashSet<Integer> in_range = new HashSet<>();\n\n for (int div : curr_div_set) {\n\n if (factors.containsKey(div)) {\n ArrayList<Integer> div_set = factors.get(div);\n for (int i : div_set) {\n if (i >= floor && i <= ceil) {\n in_range.add(i);\n }\n }\n div_set.add(curr);\n } else {\n ArrayList<Integer> to_store = new ArrayList<>();\n to_store.add(curr);\n factors.put(div, to_store);\n }\n\n }\n sum += (diff - in_range.size());\n }\n\n return sum;\n\n }", "title": "" }, { "docid": "bb9f0ed84936eb15d6fa8f036eddac8b", "score": "0.48005792", "text": "private int autocnt(int n,int b,int i){\n int sum = 0;\n if((int)(Math.log10(n)) == (int)(Math.log10(Math.pow(b,i)))){\n if(n == Math.pow(b,i)){\n sum = 1;\n }else{\n sum = -1;\n } \n }else{\n int p1 = (int)(Math.pow(b,i));\n int pot = ((int)(Math.log10(n)))-((int)(Math.log10(p1)));\n int div = (int)(Math.pow(10,pot));\n int aux = autocnt(n%div,b,i+1); \n int next = (aux != -1)? aux : -1; \n if(next!=-1){\n sum = ((n/div) == p1)? 1 + next: -1;\n }else{\n sum = -1;\n } \n }\n return sum;\n }", "title": "" }, { "docid": "d6ee2d21cc4c5e2b146ead2e4baa7b52", "score": "0.4793198", "text": "public int nextInt2() {\r\n\t\t\tdouble log_q = Math.log(1.0 - p);\r\n\t\t\tint x = 0;\r\n\t\t\tdouble sum = 0;\r\n\t\t\twhile (true) {\r\n\t\t\t\tsum += Math.log(rand.nextDouble()) / (n - x);\r\n\t\t\t\tif (sum < log_q) {\r\n\t\t\t\t\treturn x;\r\n\t\t\t\t}\r\n\t\t\t\tx++;\r\n\t\t\t}\r\n\t\t}", "title": "" } ]
68bc1513dce9e39ee2e3ebc5b5bbdeef
1. Convert a phrase to its acronym. Techies love their TLA (Three Letter Acronyms)! Help generate some jargon by writing a program that converts a long name like Portable Network Graphics to its acronym (PNG).
[ { "docid": "413c7c11a04ad2adce12732c3a12e02b", "score": "0.7300069", "text": "public String acronym(String phrase) {\n\t\tString[] p = phrase.split(\"[\\\\W\\\\s]\");\n\t\tString returner = \"\";\n\t\tfor (String s : p) {\n\t\t\tif (!s.isEmpty())\n\t\t\t\treturner = returner + s.charAt(0);\n\t\t}\n\t\treturn returner.toUpperCase();\n\t}", "title": "" } ]
[ { "docid": "d656dbcef1b1fd738f792add9c110707", "score": "0.78226596", "text": "public String acronym(String phrase) {\n /*StringBuilder acronymFeed = new StringBuilder(\"\");\n String wordHolder = \"\";\n int spaceIndex;\n char firstLetter;\n do{\n spaceIndex = phrase.indexOf(\" \");\n wordHolder = phrase.substring(0,spaceIndex);\n acronymFeed.append(wordHolder.charAt(0));\n phrase = phrase.replaceFirst(wordHolder, \"\");\n } while (spaceIndex != -1 && wordHolder != \"\" && phrase != \"\");\n \n \n \n \n \n String acronymResult = acronymFeed.toString().toUpperCase();\n return acronymResult;\n */\n \n char[] letters = phrase.toCharArray();\n String firstLetters = \"\";\n firstLetters += String.valueOf(letters[0]);\n for (int i = 1; i < phrase.length();i++){\n if (letters[i-1] == ' '){\n firstLetters += String.valueOf(letters[i]);\n }\n }\n firstLetters = firstLetters.toUpperCase();\n return firstLetters;\n }", "title": "" }, { "docid": "b927aa50aca1fb2f6739182b22b02628", "score": "0.76392746", "text": "private String createAcronym(String phrase) {\n String[] words = phrase.split(\"\\\\W+|(?<=\\\\p{Lower})(?=\\\\p{Upper})|(?<=\\\\p{Upper})(?=\\\\p{Upper}\\\\p{Lower})\");\n StringBuffer acronym = new StringBuffer();\n for (int i = 0; i < words.length; i++) {\n acronym.append(words[i].substring(0,1).toUpperCase());\n }\n return acronym.toString();\n }", "title": "" }, { "docid": "02eb377b10cf771bd38fd0b8c4df6376", "score": "0.75643164", "text": "public String acronym(String phrase) {\n\t\t\n\t\t//Initialize a character array with length equal to the input string\n\t\t//Convert the input string into array format\n\t\tchar[] phraseArray = new char[phrase.length()]; \t\n\t\tphraseArray = phrase.toCharArray(); \n\t\t\n\t\t//Initialize the string for the acronym\n\t\t//Append the first character of the phrase to our acronym\n\t\tString acronym = \"\"; \n\t\tacronym = acronym + phraseArray[0]; \t\n\t\t\n\t\t//Parse the phrase array\n\t\t//Checks for spaces or dashes\n\t\t//Append the character after a space or dash, capitalized\n\t\tfor(int i = 1; i < phrase.length(); i++) {\t\t\n\t\t\tif(phraseArray[i] == ' ' || phraseArray[i] == '-') {\t\n\t\t\t\tacronym = acronym + Character.toUpperCase(phraseArray[i+1]);\n\t\t\t}\n\t\t}\n\t\treturn acronym;\n\t}", "title": "" }, { "docid": "5eedf93630a791750ca035487e7c1c7a", "score": "0.7430858", "text": "public String acronym(String phrase) {\n\t\t// TODO Write an implementation for this method declaration\n\t\tString acronymString = \"\";\n\t\tfor(int i = 0; i < phrase.length(); i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tif(Character.isUpperCase(phrase.charAt(i))) {\n\t\t\t\t\tacronymString = acronymString + phrase.charAt(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(i > 0){\n\t\t\t\tif(Character.isUpperCase(phrase.charAt(i)) && phrase.charAt(i-1) == ' ') {\n\t\t\t\t\tacronymString = acronymString + phrase.charAt(i);\n\t\t\t\t}\n\t\t\t\telse if(Character.isLowerCase(phrase.charAt(i)) && phrase.charAt(i-1) == ' ') {\n\t\t\t\t\tacronymString = acronymString + Character.toUpperCase(phrase.charAt(i));\n\t\t\t\t}\n\t\t\t\telse if(Character.isLowerCase(phrase.charAt(i)) && phrase.charAt(i-1) == '-') {\n\t\t\t\t\tacronymString = acronymString + Character.toUpperCase(phrase.charAt(i));\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\t//System.out.println(acronymString);\n\t\t\n\t\t\n\t\t\n\t\treturn acronymString;\n\t}", "title": "" }, { "docid": "65164ff0450e6cdd3c74728024bb5723", "score": "0.73455447", "text": "public String acronym(String phrase) {\n String accrStr = phrase.replaceAll(\"\\\\B.|\\\\P{L}\", \"\").toUpperCase();\n return accrStr;\n }", "title": "" }, { "docid": "4741e674a76cab5f4ed4314044f4c59e", "score": "0.7294496", "text": "public static String acronym(String phrase) {\n\t\tString[] arrPhrase = phrase.split(\" \", 0);\n\t\treturn arrPhrase[2];\n\t}", "title": "" }, { "docid": "2c0795263cbcd7e28a8754f421d5c3c5", "score": "0.6623294", "text": "public String getAcronym();", "title": "" }, { "docid": "588b51757667250b11bda5518054c2f9", "score": "0.64109385", "text": "public static void main(String[] args){\r\n String first = \"jin\";\r\n String last = \"jung\";\r\n String ay = \"ay\";\r\n/*\r\n use substring() and toUpperCase methods to reorder and capitalize\r\n*/\r\n\r\n String letFirst = first.substring(0,1);\r\n String capFirst = letFirst.toUpperCase();\r\n String letLast = last.substring(0,1);\r\n String capLast = letLast.toUpperCase();\r\n\r\n String nameInPigLatin = first.substring(1,3) + capFirst + ay + \" \" + last.substring(1,4) + capLast + ay;\r\n\r\n/*\r\n output resultant string to console\r\n*/\r\n\r\n System.out.println(nameInPigLatin);\r\n\r\n }", "title": "" }, { "docid": "04dfd3bb66f94bbc7e27c97e6409b85c", "score": "0.63085425", "text": "public void extracAcronyms() {\n\t\tExtractAbbrev extractAbbrv = new ExtractAbbrev();\n\t\tthis.abbreviations = extractAbbrv.extractAbbrPairs(this.supportDocument);\t\t\t\n\t\t\n\t\tboolean acronym = true;\n\t\t\n\t\tfor (int j = 0; j < this.name.length(); j++) {\n\t\t\tif (Character.isLowerCase(this.name.charAt(j))) {\n\t\t\t\tacronym = false;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (acronym) {\n\t\t\t for (Abbreviations abbreviation : this.abbreviations) {\t\t\t\t\t\n\t\t\t\tif (abbreviation.getShortForm().equalsIgnoreCase(this.name)) {\n\t\t\t\t\tthis.alternative_names.add(abbreviation.getLongForm());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "4364289eec884318567de8a2d39447b6", "score": "0.6305331", "text": "public String alphabeticalTitle(String title){\n if ( title.toLowerCase().startsWith(\"the \") ) {\n \t String titlePrefix = title.substring(0, 3);\n \t String titleSuffix = title.substring(4, title.length());\n \t title = titleSuffix + \", \" + titlePrefix;\n \t }\n\t\t return title;\n\t }", "title": "" }, { "docid": "9c52af007ec09e8eed0ec5c14bd4bde5", "score": "0.61047864", "text": "private static String convert(String word) {\n\n char[] charArray = word.toCharArray();\n\n for (int letter = 0; letter < word.length(); letter++) {\n // Finding the first letter of a word.\n if (letter == 0 && charArray[letter] != ' ' || charArray[letter] != ' ' && charArray[letter - 1] == ' ') {\n // Checking if the first letter is lower case.\n if (charArray[letter] >= 'a' && charArray[letter] <= 'z') {\n // Converting first letter to upper case\n charArray[letter] = (char)(charArray[letter] - 'a' + 'A');\n }\n }\n // Checking if the letters other than the first letter are capital\n else if (charArray[letter] >= 'A' && charArray[letter] <= 'Z')\n // Converting uppercase other letters to lower case.\n charArray[letter] = (char)(charArray[letter] + 'a' - 'A');\n }\n // Returning a Title cased String.\n return new String(charArray);\n }", "title": "" }, { "docid": "f38aab400b011ba8ff01c08ba2eeeed6", "score": "0.61011857", "text": "private static String convertToLatin(String word)\n {\n return word.substring(1) + word.substring(0,1) + \"ay\";\n }", "title": "" }, { "docid": "c1c65cc39d8144869792887db2eacf89", "score": "0.60263497", "text": "public static void main(String[] args) {\n String exclamation1 = \"Ouch!\";\n String exclamation2 = \"Hoorah!\";\n String exclamation3 = \"Amazing!\";\n String adverb1 = \"stupidly\";\n String adverb2 = \"happily\";\n String adverb3 = \"shamefully\";\n String noun1 = \"car\";\n String noun2 = \"book\";\n String noun3 = \"bird\";\n String adjective1 = \"tall\";\n String adjective2 = \"smart\";\n String adjective3 = \"funny\";\n System.out.println( exclamation1+ \" he said \" + adverb1 +\n \" as he jumped into his convertible \" + noun1 +\n \" and drove off with his \" + adjective1 + \" wife.\");\n\n\n\n\n }", "title": "" }, { "docid": "6f16ec7af5d2ee16a11ca34d461323b4", "score": "0.5981004", "text": "public String propergram(String word){\n // word.toLowerCase();\n String[] tempstr =word.split(\"_\");\n String tempstr2;\n\n for(int i=0;i<tempstr.length;i++){\n if((tempstr[i].charAt(0))>='A'&&(tempstr[i].charAt(0))<='Z') {\n tempstr2 = (String.valueOf(tempstr[i].charAt(0)));\n }\n else {\n tempstr2 = (String.valueOf(tempstr[i].charAt(0))).toUpperCase();\n }\n tempstr[i] = tempstr2.concat(tempstr[i].substring(1));\n if (i != 0) {\n word=word.concat(\" \").concat(tempstr[i]);\n } else {\n word = tempstr[i];\n }\n\n }\n return word;\n\n\n }", "title": "" }, { "docid": "bbb53fe74c09ada2d3750a6d55d0227d", "score": "0.5970684", "text": "static String convertToTitle(int n) {\n char a = 'A';\n StringBuilder sb = new StringBuilder();\n while (n / 26 > 0 && n != 26) {\n int temp = n % 26;\n if (n % 26 == 0) {\n sb.append((char) (a + 25));\n n = n/26-1;\n } else {\n sb.append((char) (a + temp-1));\n n /= 26;\n }\n\n }\n sb.append((char) (a + n - 1));\n return sb.reverse().toString();\n }", "title": "" }, { "docid": "d4df9f9f0df3f30a5b80b390fc6403d5", "score": "0.5892449", "text": "static String converToTitle2(int n) {\n StringBuilder result = new StringBuilder();\n\n while(n>0){\n n--;\n result.append((char)('A' + n % 26));\n n /= 26;\n }\n\n return result.reverse().toString();\n }", "title": "" }, { "docid": "0f263d439b064f4d30d6ee69728ba926", "score": "0.5869947", "text": "public static String newWord(String strw) {\n String value = \"Encyclopedia\";\n for (int i = 1; i < value.length(); i++) {\n char letter = 1;\n if (i % 2 != 0) {\n letter = value.charAt(i);\n }\n System.out.print(letter);\n }\n return value;\n }", "title": "" }, { "docid": "06ff1c5e51dba6c39010c1baa4b2f90a", "score": "0.5844765", "text": "AlphabetNameReference createAlphabetNameReference();", "title": "" }, { "docid": "280eee04e22ff548a3bfa2f780fb35af", "score": "0.5840516", "text": "abstract String makeAClue(String puzzleWord);", "title": "" }, { "docid": "2cefa44ac79e998325f6c99c7aed1528", "score": "0.57696295", "text": "private static String buildName(String title)\n {\n // The name is based on the title, but with underscores\n String name = title.replace(' ', '_');\n name = name.replaceAll(\"\\\"\", \"%22\");\n name = name.replaceAll(\"[*]\", \"%2a\");\n name = name.replaceAll(\"<\", \"%3c\");\n name = name.replaceAll(\">\", \"%3e\");\n name = name.replaceAll(\":\", \"%3a\");\n name = name.replaceAll(\"([.]?[.]+$)\", \"%2e\");\n return name;\n }", "title": "" }, { "docid": "e33fcb8b139f5f38563b2539472e0472", "score": "0.57682985", "text": "public static void main(String[] args) {\n\n\n\n Scanner scan = new Scanner(System.in);\n System.out.println(\"Enter your name here: \");\n String name = scan.next();\n System.out.println(\"Your name corrected is: \");\n String name2 = name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();\n System.out.println(name2);\n\n // make whole name uppercase the get the first character\n // get the rest of the characters starting from 2nd character\n /// then make it lowercase\n // eventually concatenate them\n\n\n }", "title": "" }, { "docid": "a27ef718ad39e2abaf73ee6d54c48c31", "score": "0.5762982", "text": "private String getFormattedName(String bossName) {\r\n\t\tString[] startingLetters = { \"corporeal\", \"king black\", \"nomad\", \"tormented\", \"avatar\" };\r\n\t\tfor(int i = 0; i < startingLetters.length; i++)\r\n\t\t\tif(bossName.toLowerCase().contains(startingLetters[i].toLowerCase()))\r\n\t\t\t\treturn \"the \"+bossName;\r\n\t\treturn bossName;\r\n\t}", "title": "" }, { "docid": "716b8ede2ae17de95a3d832849afc8c1", "score": "0.57608795", "text": "public String convertToTitle(int n) {\n StringBuilder res = new StringBuilder();\n while (n > 0){\n n--;\n res.insert(0,(char) (n % 26 + 'A'));\n n /= 26;\n }\n return res.toString();\n }", "title": "" }, { "docid": "88f8ebf5569bafef0908107468d5e902", "score": "0.5755082", "text": "public String firstAlphabeticalTitlePseudoLetter(String title){\n\t\t int first = 0;\n if ( title.toLowerCase().startsWith(\"the\") && !title.toLowerCase().startsWith(\"the \") ) { first = 3; }\n\t\t return title.substring(first, (first + 1));\n\t }", "title": "" }, { "docid": "0fb0428d4b764c10dc383cc171ca9e45", "score": "0.57456166", "text": "public String firstAlphabeticalTitleLetter(String title){\n\t\t int first = 0;\n if ( title.toLowerCase().startsWith(\"the \") ) { first = 4; }\n\t\t return title.substring(first, (first + 1));\n\t }", "title": "" }, { "docid": "f6c12a198a1e4be029cde3d49e004b26", "score": "0.574095", "text": "static String m33125a(String name) {\n StringBuilder fieldNameBuilder = new StringBuilder();\n int index = 0;\n char firstCharacter = name.charAt(0);\n int length = name.length();\n while (index < length - 1 && !Character.isLetter(firstCharacter)) {\n fieldNameBuilder.append(firstCharacter);\n index++;\n firstCharacter = name.charAt(index);\n }\n if (Character.isUpperCase(firstCharacter)) {\n return name;\n }\n fieldNameBuilder.append(m33124a(Character.toUpperCase(firstCharacter), name, index + 1));\n return fieldNameBuilder.toString();\n }", "title": "" }, { "docid": "a892d7f5a4c182302c603cfcb7fba9f4", "score": "0.57318753", "text": "public String getAcronym() {\n return acronym;\n }", "title": "" }, { "docid": "98876fc1252b0fa72cd26bf4f055ce29", "score": "0.57300586", "text": "public static void main(String[] args){\n Solution solution = new Solution();\n System.out.println(solution.convertToTitle(27));\n }", "title": "" }, { "docid": "3c90f4b383748fa99205d7d2472226c7", "score": "0.57263887", "text": "private String preprocessName(String original){\n\t\t// Remove non-alphabetical characters from the name\n\t\toriginal = original.replaceAll( \"[^A-Za-z]\", \"\" );\n\t\t\t\t\n\t\t// Convert to uppercase to help us ignore case-sensitivity\n\t\toriginal = original.toUpperCase();\n\t\t\n\t\t// Remove all occurences of the letters outlined in step 3\n\t\toriginal = original.substring(0,1) + original.substring(1).replaceAll(\"[AEIHOUWY]\",\"\");\n\t\t\n\t\t// Return the result\n\t\treturn original;\n\t}", "title": "" }, { "docid": "a06694ca3440adaa6a05506ab16b3192", "score": "0.568275", "text": "public interface AuthorNames {\n\n static String shortenName(String name) {\n return Arrays.asList(name.split(\" \")).\n stream().\n map(s -> s.substring(0, 1)).collect(Collectors.joining());\n }\n}", "title": "" }, { "docid": "944703427c70b3669728d52fb27a361a", "score": "0.56720334", "text": "private static String updateSpelling(String text) {\n\t\tStringBuilder upSpell = new StringBuilder(32);\n\t\tchar ch = ' ';\n\t\t\n\t\tfor (int i = 0; i<text.length(); i++) {\n\t\t\tif(ch == ' ' && text.charAt(i) != ' ') {\n\t\t\t\tupSpell.append(Character.toUpperCase(text.charAt(i)));\n\t\t\t\t\n\t\t\t}else if(Character.isLetter(text.charAt(i))) {\n\t\t\t\tupSpell.append(Character.toLowerCase(text.charAt(i)));\n\t\t\t\t\n\t\t\t}\n\t\t\t// if anything other type of input is added besides letters.\n\t\t\telse {\n\t\t\t\tupSpell.append(text.charAt(i));\n\t\t\t}\n\t\t\t//This will keep track of previous characters inputed.\n\t\t\tch = text.charAt(i);\t\t\t\n\t\t\t\n\t\t}\n\t\treturn upSpell.toString(); \n\t\t\n\t}", "title": "" }, { "docid": "30cc95edcf443a28ccad5d4df0c8425e", "score": "0.5669797", "text": "public abstract WordEntry autoTranslate(String text, String to);", "title": "" }, { "docid": "52115f1f12a3446ac88a6f6eaf690398", "score": "0.56681335", "text": "private void laadSpellen() {\r\n this.spellen = this.dc.geefOpgeslagenSpellen();\r\n int index = 0;\r\n String res = String.format(\"%25s %20s\", r.getString(\"spelNaam\"), r.getString(\"moeilijkheidsGraad\"));\r\n for (String[] rij : spellen) {\r\n index++;\r\n res += String.format(\"%n%d) %20s\", index, rij[0]);\r\n switch (rij[1]) {\r\n case \"1\":\r\n res += String.format(\"%20s\", r.getString(\"makkelijk\"));\r\n break;\r\n case \"2\":\r\n res += String.format(\"%20s\", r.getString(\"gemiddeld\"));\r\n break;\r\n case \"3\":\r\n res += String.format(\"%20s\", r.getString(\"moeilijk\"));\r\n break;\r\n }\r\n \r\n }\r\n System.out.printf(res);\r\n }", "title": "" }, { "docid": "e3ddca563279093b3af22ed484a34205", "score": "0.565594", "text": "static String m33126a(String name, String separator) {\n StringBuilder translation = new StringBuilder();\n int length = name.length();\n for (int i = 0; i < length; i++) {\n char character = name.charAt(i);\n if (Character.isUpperCase(character) && translation.length() != 0) {\n translation.append(separator);\n }\n translation.append(character);\n }\n return translation.toString();\n }", "title": "" }, { "docid": "6c1870faebae8f8e64b7aecb957cf1a9", "score": "0.56513786", "text": "public String chName(String address) {\n\n if (Locale.getDefault().getLanguage() == \"en\") {//Check System Language\n\n if (address.contains(\"Hang Hau\")) {\n newName = \"HangHau\";\n } else if (address.contains(\"Po Lam\")) {\n newName = \"PoLam\";\n } else {\n newName = \"HangHau\";\n }//default, prevent error\n\n } else if (Locale.getDefault().getLanguage() == \"zh\") {\n\n\n if (address.contains(\"坑口\")) {\n newName = \"HangHau_ZH\";\n } else if (address.contains(\"寶琳\")) {\n newName = \"PoLam_ZH\";\n } else {\n newName = \"HangHau_ZH\";\n }//default, prevent error\n }\n return newName;\n }", "title": "" }, { "docid": "c22c5dedc4568a42ca948beb944d42d2", "score": "0.56490105", "text": "public static String convertToTitle(int n) {\n// int chu = n;\n String res = \"\";\n while(n != 0){\n \tif(n % 26 != 0){\n \tres = (char)(n % 26 + (int)'A' -1) +res;\n \tn = n /26;\n \t}else{\n \t\tres = 'Z' + res;\n \t\tn = n / 26 - 1;\n \t\tif(n == 0) break;\n \t}\n }\n return res;\n }", "title": "" }, { "docid": "81e82265950080cdeb16e8530c15e8bc", "score": "0.5644572", "text": "public static String generateAristocratHint(String plaintext) {\n String[] words = plaintext.split(\" \");\n int freqhigh = 1;\n String mostfreq = null;\n for(String w : words) {\n int wf = freq(words,w);\n if (wf > freqhigh) {\n freqhigh = wf;\n mostfreq = w;\n }\n }\n int hintid = 0;\n if (mostfreq != null) {\n int choice = (int)(Math.random()*3);\n hintid = choice;\n } else {\n int choice = (int)(Math.random()*2);\n hintid = choice*2;\n }\n String hint = \"\";\n if (hintid == 0) {\n int variant = (int)(Math.random()*4);\n if (variant == 0) {\n hint = \"The first word is \" + words[0];\n } else if (variant == 1) {\n hint = \"The second word is \" + words[1];\n } else if (variant == 2) {\n hint = \"The third word is \" + words[2];\n } else if (variant == 3) {\n hint = \"The last word is \" + words[words.length-1];\n }\n } else if (hintid == 1) {\n hint = \"The word \" + mostfreq + \" appears \" + getNumWord(freqhigh);\n } else if (hintid == 2) {\n hint = \"The two most common letters are \" + mostCommonTwo(plaintext)[0] + \" and \" + mostCommonTwo(plaintext)[1];\n }\n return hint;\n }", "title": "" }, { "docid": "17a60b770a586431eb76afa707dc37e2", "score": "0.56414956", "text": "@Override\n public String makeLatinWord(DatabaseAccess databaseAccess, String number, String noun_Case) {\n return makeLatinWord(databaseAccess, number, noun_Case, mGender);\n }", "title": "" }, { "docid": "91bfbef0924518dc5967707a8c3a9c80", "score": "0.5624469", "text": "public static void main(String[] args) {\n\t\tString text = \"\\\"undifferentiated's thyroid carcinomas were carried out with antisera against calcitonin, calcitonin-gene related peptide (CGRP), somatostatin, and also thyroglobulin, using the PAP method. \";\n\t\ttext = text.replace('\\\"', ' ');\n\t\t\n\t\tStringUtil su = new StringUtil();\n\t\t\n\t\t// Extracting...\n\t\tString text2 = new String(text);\n\t\tEnvironmentVariable.setMoaraHome(\"./\");\n\t\tGeneRecognition gr = new GeneRecognition();\n\t\tArrayList<GeneMention> gms = gr.extract(MentionConstant.MODEL_BC2,text);\n\t\t// Listing mentions...\n\t\tSystem.out.println(\"Start\\tEnd\\tMention\");\n\t\tfor (int i=0; i<gms.size(); i++) {\n\t\t\tGeneMention gm = gms.get(i);\n\t\t\tSystem.out.println(gm.Start() + \"\\t\" + gm.End() + \"\\t\" + gm.Text());\n\t\t\t//System.out.println(text2.substring(gm.Start(), gm.End()));\n\t\t\tSystem.out.println(su.getTokenByPosition(text,gm.Start(),gm.End()).trim());\n\t\t}\n\t\tif (true){\n\t\t\treturn;\n\t\t}\n\t\t// Normalizing mentions...\n\t\tOrganism yeast = new Organism(Constant.ORGANISM_YEAST);\n\t\tOrganism human = new Organism(Constant.ORGANISM_HUMAN);\n\t\tExactMatchingNormalization gn = new ExactMatchingNormalization(human);\n\t\tgms = gn.normalize(text,gms);\n\t\t// Listing normalized identifiers...\n\t\t\n\t\tSystem.out.println(\"\\nStart\\tEnd\\t#Pred\\tMention\");\n\t\tfor (int i=0; i<gms.size(); i++) {\n\t\t\tGeneMention gm = gms.get(i);\n\t\t\tif (gm.GeneIds().size()>0) {\n\t\t\t\tSystem.out.println(gm.Start() + \"\\t\" + gm.End() + \"\\t\" + gm.GeneIds().size() + \n\t\t\t\t\t\"\\t\" + su.getTokenByPosition(text,gm.Start(),gm.End()).trim());\n\t\t\t\tfor (int j=0; j<gm.GeneIds().size(); j++) {\n\t\t\t\t\tGenePrediction gp = gm.GeneIds().get(j);\n\t\t\t\t\tSystem.out.print(\"\\t\" + gp.GeneId() + \" \" + gp.OriginalSynonym() + \" \" + gp.ScoreDisambig());\n\t\t\t\t\tSystem.out.println((gm.GeneId().GeneId().equals(gp.GeneId())?\" (*)\":\"\"));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e7660ea6875ace69b022543fc7226094", "score": "0.56039953", "text": "private void convertWord(String word, int n) {\n\t\t\n\t\tStringBuilder convertedWord;\t\t// A StringBuilder object is used to substitute specific characters at locations\n\t\t\n\t\tfor (int i = n; i < word.length(); i++) {\t\t// Loops through the entire word to make substitutions\n\t\t\tswitch (word.charAt(i)) {\n\t\t\t\tcase 'a':\n\t\t\t\t\tconvertedWord = new StringBuilder(word);\t\t// Creates a new StringBuilder string\n\t\t\t\t\tconvertedWord.setCharAt(i, '4');\t\t\t\t// Substitutes 'a' with '4'\n\t\t\t\t\tDLBTCharMethods.addWord(trie, convertedWord.toString());\t\t// Adds the converted word to the trie\n\t\t\t\t\tmyDictionary.println(convertedWord.toString());\t\t\t\t\t// Adds the converted word to my_dictionary.txt\n\t\t\t\t\tconvertWord(convertedWord.toString(), i);\t\t\t\t// Checks this converted word for more substitutions\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 'e':\t\t\t\t\t// These cases all follow the same format; they only differ in the letter that is substituted\n\t\t\t\t\tconvertedWord = new StringBuilder(word);\n\t\t\t\t\tconvertedWord.setCharAt(i, '3');\t\t\t\t// Substitutes 'e' with '3'\n\t\t\t\t\tDLBTCharMethods.addWord(trie, convertedWord.toString());\n\t\t\t\t\tmyDictionary.println(convertedWord.toString());\n\t\t\t\t\tconvertWord(convertedWord.toString(), i);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 'i':\n\t\t\t\t\tconvertedWord = new StringBuilder(word);\n\t\t\t\t\tconvertedWord.setCharAt(i, '1');\t\t\t\t// Substitutes 'i' with '1'\n\t\t\t\t\tDLBTCharMethods.addWord(trie, convertedWord.toString());\n\t\t\t\t\tmyDictionary.println(convertedWord.toString());\n\t\t\t\t\tconvertWord(convertedWord.toString(), i);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 'l':\n\t\t\t\t\tconvertedWord = new StringBuilder(word);\n\t\t\t\t\tconvertedWord.setCharAt(i, '1');\t\t\t\t// Substitutes 'l' with 'i'\n\t\t\t\t\tDLBTCharMethods.addWord(trie, convertedWord.toString());\n\t\t\t\t\tmyDictionary.println(convertedWord.toString());\n\t\t\t\t\tconvertWord(convertedWord.toString(), i);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 'o':\n\t\t\t\t\tconvertedWord = new StringBuilder(word);\n\t\t\t\t\tconvertedWord.setCharAt(i, '0');\t\t\t\t// Substitutes 'o' with '0'\n\t\t\t\t\tDLBTCharMethods.addWord(trie, convertedWord.toString());\n\t\t\t\t\tmyDictionary.println(convertedWord.toString());\n\t\t\t\t\tconvertWord(convertedWord.toString(), i);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 's':\n\t\t\t\t\tconvertedWord = new StringBuilder(word);\n\t\t\t\t\tconvertedWord.setCharAt(i, '$');\t\t\t\t// Substitutes 's' with '$'\n\t\t\t\t\tDLBTCharMethods.addWord(trie, convertedWord.toString());\n\t\t\t\t\tmyDictionary.println(convertedWord.toString());\n\t\t\t\t\tconvertWord(convertedWord.toString(), i);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 't':\n\t\t\t\t\tconvertedWord = new StringBuilder(word);\n\t\t\t\t\tconvertedWord.setCharAt(i, '7');\t\t\t\t// Substitutes 't' with '7'\n\t\t\t\t\tDLBTCharMethods.addWord(trie, convertedWord.toString());\n\t\t\t\t\tmyDictionary.println(convertedWord.toString());\n\t\t\t\t\tconvertWord(convertedWord.toString(), i);\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "447343c4642276e61cf4ffd9e2b937bf", "score": "0.5592152", "text": "public static void main(String arg[]) {\n String frase1 = \"Había vez circo alegraba el\";\n String frase2 = \"una un que siempre carazón sin temer jamás\";\n String frase3 = \"\";\n\n int inicio1 = 0;\n int fin1 = frase1.indexOf(\" \");\n int inicio2 = 0;\n int fin2 = frase2.indexOf(\" \");\n\n while ((fin1 != -1) || (fin2 != -1)) {\n if (fin1 != -1) {\n frase3 = frase3.concat(frase1.substring(inicio1, fin1 + 1));\n inicio1 = fin1 + 1;\n fin1 = frase1.indexOf(\" \", inicio1);\n }\n if (fin2 != -1) {\n frase3 = frase3.concat(frase2.substring(inicio2, fin2 + 1));\n inicio2 = fin2 + 1;\n fin2 = frase2.indexOf(\" \", inicio2);\n }\n }\n System.out.println(frase3);\n }", "title": "" }, { "docid": "834ac9d6c8b08855a00eb6dda34e71f8", "score": "0.5580248", "text": "public static String Rule3(String para_word) {\n\t\tint last = para_word.length();\r\n\r\n\t\tswitch (para_word.charAt(last - 2)) {\r\n\t\tcase 'a':\r\n\t\t\tif (endsWith(\"ational\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"ational\", \"ate\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"tional\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"tional\", \"tion\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\tcase 'c':\r\n\r\n\t\t\tif (endsWith(\"enci\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"enci\", \"ence\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"anci\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"anci\", \"ance\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\tcase 'e':\r\n\t\t\tif (endsWith(\"izer\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"izer\", \"ize\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\tcase 'l':\r\n\t\t\tif (endsWith(\"bli\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"bli\", \"ble\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"alli\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"alli\", \"al\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"entli\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"entli\", \"ent\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"eli\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"eli\", \"e\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"ousli\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"ousli\", \"ous\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\tcase 'o':\r\n\t\t\tif (endsWith(\"ization\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"ization\", \"ize\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"ation\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"ation\", \"ate\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"ator\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"ator\", \"ate\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\tcase 's':\r\n\t\t\tif (endsWith(\"alism\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"alism\", \"al\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"iveness\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"iveness\", \"ive\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"fulness\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"fulness\", \"ful\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"ousness\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"ousness\", \"ous\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\tcase 't':\r\n\t\t\tif (endsWith(\"aliti\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"aliti\", \"al\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"iviti\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"iviti\", \"ive\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tif (endsWith(\"biliti\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"biliti\", \"ble\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\tcase 'g':\r\n\t\t\tif (endsWith(\"logi\", para_word)) {\r\n\t\t\t\tpara_word = transformS(\"logi\", \"log\", para_word);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\treturn para_word;\r\n\t}", "title": "" }, { "docid": "dcc3922ddbaa6fbe0ca64316e1127ad5", "score": "0.55742586", "text": "public static void main(String[] args) {\n\t\tString str = \"Bangalore is capital of Karnataka where\";\n\t\tString[] words = str.split(\" \");\n\t\tString newString=\"\";\n\t\t\t\n\t\tfor(String word: words) {\n\t\n\t\t\t\tnewString= newString+reverse(word);\n\t\t}\n\t\t\n\t\tSystem.out.println(newString);\n\t}", "title": "" }, { "docid": "6b6e33eef82b3d012e570a6c93ce14f5", "score": "0.5574243", "text": "private static String canonicalize (String authorName) {\n\t\tif (authorName.contains(\",\")) {\n\t\t\treturn removeAccents(authorName.substring(0, authorName.indexOf(',')).toLowerCase());\n\t\t} else if( authorName.contains(\" \")) {\n\t\t\treturn removeAccents(authorName.substring(authorName.lastIndexOf(' ') + 1, authorName.length()).toLowerCase());\n\t\t} else {\n\t\t\treturn removeAccents(authorName.toLowerCase());\n\t\t}\n\t}", "title": "" }, { "docid": "9070a5cde11828ed66717f92fbf78d67", "score": "0.556373", "text": "private static String capitaliseSingleWord(String word) {\n String capitalisedFirstLetter = word.substring(0, 1).toUpperCase();\n String lowercaseRemaining = word.substring(1).toLowerCase();\n return capitalisedFirstLetter + lowercaseRemaining;\n }", "title": "" }, { "docid": "b123edd15ba08fe12a51841736a84462", "score": "0.5560367", "text": "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "title": "" }, { "docid": "dfc6650ed2782eebbe0b4a675c0c3ef2", "score": "0.55537146", "text": "public static void main(String[] args) {\n String S1=\"THE QUICK BROWN FOR JUMPS OVER THE LAZY DOG.\";//convert into lowercase\n String result = S1.toLowerCase();//formula to convert\n System.out.println(result);//print the outcome\n }", "title": "" }, { "docid": "a6d004993c601c09a45ecf9cbb4124c5", "score": "0.55463034", "text": "private static void printLatinWord(String s) {\n\t\tif (s.length() < 2|| !s.matches(\"\\\\w*\")) {\n\t\t\tSystem.out.print(s+\" \");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.print(s.replaceAll(\"(\\\\w)(\\\\w*)\", \"$2$1ay \"));\n\t}", "title": "" }, { "docid": "579943f2e2d5919895add7c21abeaad6", "score": "0.55350214", "text": "public static void main(String[] args) {\n\n\t\tSystem.out.println(convertToTitle(53));\n\t}", "title": "" }, { "docid": "31cf6eb51d1f8317c222bee52c2c559b", "score": "0.55336034", "text": "public String convertToUpperCase(String word);", "title": "" }, { "docid": "c54f8fcbfb6ac17f6b2eec6dec9e1c25", "score": "0.5530697", "text": "static String abbreviation(String a, String b) {\r\n \r\n HashSet<Character> aSet = new HashSet<>();\r\n\r\n for(int i = 0 ; i< a.length() ; i++){\r\n aSet.add(a.charAt(i));\r\n }\r\n \r\n for(int i = 0 ; i < b.length() ; i++){\r\n \r\n if(aSet.contains(b.charAt(i)) ){\r\n aSet.remove(b.charAt(i));\r\n }\r\n else if(aSet.contains(Character.toLowerCase(b.charAt(i)))){\r\n aSet.remove(Character.toLowerCase(b.charAt(i)));\r\n }\r\n else{\r\n return \"NO\";\r\n }\r\n \r\n\r\n }\r\n\r\n Iterator<Character> it = aSet.iterator();\r\n while(it.hasNext()){\r\n\r\n if(!isLowerCase(it.next())){\r\n return \"NO\";\r\n }\r\n }\r\n return \"YES\";\r\n \r\n /*\r\n String regex = \"\";\r\n for(int i = 0 ; i < b.length() ; i++){\r\n regex += \"[a-z]*\" + \"[\" + b.charAt(i) + \"|\" + Character.toLowerCase(b.charAt(i)) + \"]\";\r\n }\r\n regex += \"[a-z]*\";\r\n Pattern ptrn = Pattern.compile(regex);\r\n Matcher matcher = ptrn.matcher(a);\r\n\r\n return matcher.matches() ? \"YES\" : \"NO\";\r\n*/\r\n \r\n /*\r\n int aPtr = 0;\r\n\r\n //b e F g H\r\n // E F H\r\n for(int i = 0 ; i < b.length() ; i++){\r\n\r\n if(aPtr + 1 >= a.length())\r\n return \"NO\";\r\n //if(aPtr + 1 == a.length() && i + 1 == b.length())\r\n // return \"YES\";\r\n\r\n System.out.println(b.charAt(i) + \" \" + a.charAt(aPtr));\r\n if(b.charAt(i) == a.charAt(aPtr)){\r\n aPtr++;\r\n }else if(b.charAt(i) == Character.toUpperCase(a.charAt(aPtr)) && isLowerCase(a.charAt(aPtr))){\r\n aPtr++;\r\n\r\n } else if(b.charAt(i) != a.charAt(aPtr) && !isLowerCase(a.charAt(aPtr))){\r\n return \"NO\";\r\n }else if(b.charAt(i) != a.charAt(aPtr) && isLowerCase(a.charAt(aPtr))){\r\n aPtr++;\r\n i--;\r\n }\r\n\r\n\r\n\r\n }\r\n for(int i = aPtr ; i < a.length() ; i++){\r\n if(!isLowerCase(a.charAt(i)))\r\n return \"NO\";\r\n }\r\n\r\n return \"YES\";\r\n */\r\n\r\n }", "title": "" }, { "docid": "e0562dc473e7090e23d3829ebd7563f0", "score": "0.5529616", "text": "public static void theNameSong(String name) {\n\t\tSystem.out.println();\n\t\t//Prints all letters of the first and last names EXCEPT the first letters\n\t\tString allButFirstLetter = name.substring(1);\n\t\tSystem.out.println(name + \" \" + name + \", bo-B\" + allButFirstLetter);\n\t\tSystem.out.println(\"Banana-fana fo-F\" + allButFirstLetter);\n\t\tSystem.out.println(\"Fee-fi-mo-M\" + allButFirstLetter);\n\t\tSystem.out.println(name.toUpperCase() + \"!\");\n\t}", "title": "" }, { "docid": "752fe2f4794bd7eaa95701387e658a83", "score": "0.55224085", "text": "public String titlelize(String toTitlelize) {\r\n if (toTitlelize == null) {\r\n throw new IllegalArgumentException();\r\n }\r\n StringBuilder resultString = new StringBuilder();\r\n List<String> wordList = Arrays.asList(toTitlelize.split(\"\\\\s\"));\r\n\r\n\r\n for (String word : wordList) {\r\n if (!ignoreList.contains(word)) {\r\n resultString.append(WordUtils.capitalizeFully(word));\r\n resultString.append(\" \");\r\n\r\n\r\n } else {\r\n resultString.append(word);\r\n resultString.append(\" \");\r\n }\r\n\r\n\r\n }\r\n resultString.deleteCharAt(resultString.length() - 1);\r\n return resultString.toString();\r\n }", "title": "" }, { "docid": "d3cc1cb44482838e5c466090c59a4ca1", "score": "0.55216825", "text": "private String formatTitle(String source) {\r\n if (source.equalsIgnoreCase(\"Robles Ms Et Al. Plos Genet. (2014)\")) {\r\n return \"Robles MS et al. PloS Genet.(2014)\";\r\n }\r\n\r\n StringBuilder res = new StringBuilder();\r\n source = source.toLowerCase();\r\n String[] strArr = source.split(\" \");\r\n for (String str : strArr) {\r\n char[] stringArray = str.trim().toCharArray();\r\n stringArray[0] = Character.toUpperCase(stringArray[0]);\r\n str = new String(stringArray);\r\n res.append(str).append(\" \");\r\n }\r\n return res.toString().trim();\r\n }", "title": "" }, { "docid": "8dc88f80d7a452b2179deb05135c72fd", "score": "0.55072445", "text": "String transcribe(String dnaStrand) {\n\t\tStringBuilder rnaStrand = new StringBuilder();\n\t\t\n\t\tfor(int i=0; i<dnaStrand.length(); i++)\n\t\t{\n\t\t\t//using append function to add the characters in rnaStrand\n\t\t\trnaStrand.append(hm.get(dnaStrand.charAt(i)));\n\t\t}\n\t\t\n\t\t//return rnaStrand as String.\n\t\treturn rnaStrand.toString();\n\t}", "title": "" }, { "docid": "0ff95e55a1b9adc1a027cf7c7d77f1e4", "score": "0.54974246", "text": "public static void main(String[] args) {\n StringBuffer name = new StringBuffer(\"Abdulazeez Abdulazeez \");\n System.out.println(\"String Buffer of my name \" +name);\n // Supposing I need to add my middle name as an abbr.\n // I'll append it witht the .appendCodePoint() method.\n name.appendCodePoint(65);\n System.out.println(\"My full name after now: \" +name);\n }", "title": "" }, { "docid": "7c13bae44b866d4ca4d5801bf776f7df", "score": "0.54946226", "text": "private String processWord(String word){\r\n\t\tString lword = word.toLowerCase();\r\n\t\tfor (int i = 0;i<word.length();++i){\r\n\t\t\tstemmer.add(lword.charAt(i));\r\n\t\t}\r\n\t\tstemmer.stem();\r\n\t\treturn stemmer.toString();\r\n\t}", "title": "" }, { "docid": "cc833cb32e283c6b55d5a95c66309890", "score": "0.5480873", "text": "void translate(Sentence sentence);", "title": "" }, { "docid": "51a92f0da6f42b078d4c5ba0ce63de82", "score": "0.5463221", "text": "public static void main(String[] args) {\n\t\t\n\t\tfinal String letters = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*\";\n\n\t\t// b. have a random number generator\n\n\t\tRandom rand = new Random();\n\n\t\t// c. use the random generator to get the charAt a random location based on the\n\t\t// number of characters\n\n\t\tchar char1 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char2 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char3 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char4 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char5 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char6 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char7 = letters.charAt(rand.nextInt(letters.length()));\n\t\tchar char8 = letters.charAt(rand.nextInt(letters.length()));\n\t\t// d. concatenate the characters together to get the word\n\n\t\tSystem.out.println(\"\" + char1 + char2 + char3 + char4 + char5 + char6 + char7 + char8);\n\t\tSystem.out.println(String.valueOf(char1)+String.valueOf(char2)+String.valueOf(char3)+String.valueOf(char4)+String.valueOf(char5)+String.valueOf(char6)+String.valueOf(char7)+String.valueOf(char8));\n\t\t\t\t\n\n\t\t\n\t\t\n\t\t//Build a username generator absed on lastname and firstname inputs from the user\n\t\t//Conditions: \n\t\t//\t\t\tNo more than 1 username can include either the whole first or last name\n\t\t//\t\t\tAt least 1 username should include numbers\n\t\t//\t\t\tThere needs to be a random component in at least 2 name generations\n\t\t//\t\t\tThe usernames should adhere to the characteristics of typical usernames\n\t\t\n\t\tfinal String numbers = \"1234567890.\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"Type in your first name > \");\n\t\tString fName = scan.nextLine();\n\t\tSystem.out.println(\"Type in your last name > \");\n\t\tString lName = scan.nextLine();\n\t\t\n\t\tString part1 = fName.toLowerCase().substring(0, rand.nextInt(fName.length()));\n\t\tString part2 = lName.toLowerCase().substring(0, rand.nextInt(lName.length()));\n\t\t\n\t\tSystem.out.println(\"A possible username \" + part1+part2);\n\t\t\n\t\tString part3 = String.valueOf(numbers.charAt(rand.nextInt(numbers.length())));\n\t\tString part4 = String.valueOf(numbers.charAt(rand.nextInt(numbers.length())));\n\t\t\n\t\tSystem.out.println(\"A possible username \" + part1+part2+part3+part4);\n\t\t\n\t\t//Take inputs and Build a decision tree that decides whether to issue a loan or not\n\t\t\n\t\t//https://www.brcommunity.com/images/articles/b624-2full.png\n\t\t\t\n\n\t}", "title": "" }, { "docid": "9e6b50cb138e67f07f8346f19bae6972", "score": "0.5460809", "text": "void setAcronym(String v) {\n if (v == null) {\n throw new IllegalArgumentException(\"Acronym is missing\");\n }\n acronym = v;\n }", "title": "" }, { "docid": "15c3013471f8c29974d3f03c4fbac06b", "score": "0.54597944", "text": "public static String starwarsname(String first, String last, String cit, String frend){\n String name;\r\n int citlen = cit.length();\r\n int frendlen = frend.length();\r\n \r\n //creating first name, taking letters from city and first name\r\n String firstname = cit.substring(citlen - 3, citlen) + first.substring(0, 3);\r\n \r\n //capitalizing the first letter and un-capitalizing the fourth letter of first name\r\n char firone = firstname.charAt(0);\r\n char firmid = first.charAt(0);\r\n firstname = Character.toUpperCase(firone) + firstname.substring(1, 3) + \r\n Character.toLowerCase(firmid) + firstname.substring(4, firstname.length());\r\n \r\n //capitalizing the first letter and un-capitalizing the fourth letter of last name\r\n String lastname = frend.substring(frendlen - 3, frendlen) + last.substring(0, 4);\r\n char lasone = lastname.charAt(0);\r\n char lasmid = last.charAt(0);\r\n lastname = Character.toUpperCase(lasone) + lastname.substring(1, 3) + \r\n Character.toLowerCase(lasmid) + lastname.substring(4, lastname.length());\r\n \r\n //adding the apostrophe before the first consonant for first and last name\r\n firstname = insertApostrophe(firstname);\r\n lastname = insertApostrophe(lastname);\r\n \r\n name = firstname + \" \" + lastname;\r\n return name;\r\n }", "title": "" }, { "docid": "c4dcdcbbbc221436c38077e42722a180", "score": "0.5450394", "text": "public static String translateWord(String word) {\n\n if (word.length() < 1) return word;\n int[] vowelArray = word.chars().filter(c -> vowels.contains((char) c)).toArray();\n if (vowelArray.length == 0) return word.charAt(0) + word.substring(1).toLowerCase() + \"ay\";\n\n char first = Character.isUpperCase(word.charAt(0))\n ? Character.toUpperCase((char) vowelArray[0]) : (char) vowelArray[0];\n if (vowels.contains(word.charAt(0)))\n word = first + word.substring(1).toLowerCase() + \"yay\";\n else\n word = first + word.substring(word.indexOf(vowelArray[0]) + 1).toLowerCase()\n + word.substring(0, word.indexOf(vowelArray[0])).toLowerCase() + \"ay\";\n return word;\n }", "title": "" }, { "docid": "b68f9e34aa4991a5b7fca980d7367483", "score": "0.54468614", "text": "public String getAbbreviation(String phrase) {\n\t\tString abbreviation = abbreviations.get(phrase);\n\t\tif (abbreviation == null) {\n\t\t\treturn phrase;\n\t\t} else {\n\t\t\treturn abbreviation;\n\t\t}\n\t}", "title": "" }, { "docid": "d926ab695ac3c15fd7e32b98d80f12a1", "score": "0.5440401", "text": "ILoLoString translate();", "title": "" }, { "docid": "d921ea6cca14da01cb63c56316a202d5", "score": "0.54367435", "text": "String normalizeName(String tag) {\n\t\tStringBuffer buf = new StringBuffer();\n\t\t\n\t\tboolean newWord = true;\n\t\t// capitalize first letter of each word\n\t\t// remove -'s and _'s\n\t\tfor (int i = 0; i < tag.length(); i++) {\n\t\t\tchar c = tag.charAt(i);\n\t\t\tif (c == '-' || c == '_') {\n\t\t\t\tnewWord=true;\n\t\t\t} else if (newWord) {\n\t\t\t\tbuf.append(Character.toUpperCase(c));\n\t\t\t\tnewWord = false;\n\t\t\t} else {\n\t\t\t\tbuf.append(c);\n\t\t\t\tnewWord = false;\n\t\t\t}\n\t\t}\n\t\treturn buf.toString().trim();\n\t}", "title": "" }, { "docid": "34c81314dab063105e7db23df1b2b54c", "score": "0.54319066", "text": "private static String capName(String name) { return name.substring(0, 1).toUpperCase() + name.substring(1); }", "title": "" }, { "docid": "53245d75694eb0b973552e87a39d6287", "score": "0.54274553", "text": "public String normalize(String word);", "title": "" }, { "docid": "7548d94e9abf192bb5efa87d795c1f70", "score": "0.542634", "text": "public String getTranslation()\n {\n StringBuilder aminoAcid = new StringBuilder();\n Map<String, String> codToAa = Map.ofEntries(\n entry(\"ATA\", \"I\"), entry(\"ATC\", \"I\"), entry(\"ATT\", \"I\"), entry(\"ATG\", \"M\"),\n entry(\"ACA\", \"T\"), entry(\"ACC\", \"T\"), entry(\"ACG\", \"T\"), entry(\"ACT\", \"T\"),\n entry(\"AAC\", \"N\"), entry(\"AAT\", \"N\"), entry(\"AAA\", \"K\"), entry(\"AAG\", \"K\"),\n entry(\"AGC\", \"S\"), entry(\"AGT\", \"S\"), entry(\"AGA\", \"R\"), entry(\"AGG\", \"R\"),\n entry(\"CTA\", \"L\"), entry(\"CTC\", \"L\"), entry(\"CTG\", \"L\"), entry(\"CTT\", \"L\"),\n entry(\"CCA\", \"P\"), entry(\"CCC\", \"P\"), entry(\"CCG\", \"P\"), entry(\"CCT\", \"P\"),\n entry(\"CAC\", \"H\"), entry(\"CAT\", \"H\"), entry(\"CAA\", \"Q\"), entry(\"CAG\", \"Q\"),\n entry(\"CGA\", \"R\"), entry(\"CGC\", \"R\"), entry(\"CGG\", \"R\"), entry(\"CGT\", \"R\"),\n entry(\"GTA\", \"V\"), entry(\"GTC\", \"V\"), entry(\"GTG\", \"V\"), entry(\"GTT\", \"V\"),\n entry(\"GCA\", \"A\"), entry(\"GCC\", \"A\"), entry(\"GCG\", \"A\"), entry(\"GCT\", \"A\"),\n entry(\"GAC\", \"D\"), entry(\"GAT\", \"D\"), entry(\"GAA\", \"E\"), entry(\"GAG\", \"E\"),\n entry(\"GGA\", \"G\"), entry(\"GGC\", \"G\"), entry(\"GGG\", \"G\"), entry(\"GGT\", \"G\"),\n entry(\"TCA\", \"S\"), entry(\"TCC\", \"S\"), entry(\"TCG\", \"S\"), entry(\"TCT\", \"S\"),\n entry(\"TTC\", \"F\"), entry(\"TTT\", \"F\"), entry(\"TTA\", \"L\"), entry(\"TTG\", \"L\"),\n entry(\"TAC\", \"Y\"), entry(\"TAT\", \"Y\"), entry(\"TAA\", \"_\"), entry(\"TAG\", \"_\"),\n entry(\"TGC\", \"C\"), entry(\"TGT\", \"C\"), entry(\"TGA\", \"_\"), entry(\"TGG\", \"W\")\n );\n try\n {\n for (int i = 0; i < this.sequence.length(); i += 3)\n {\n aminoAcid.append(codToAa.get(this.sequence.substring(i, i + 3)));\n }\n }\n catch (StringIndexOutOfBoundsException ignored)\n {\n }\n return aminoAcid.toString();\n }", "title": "" }, { "docid": "45bf814a50cf84ceb9607171b285a181", "score": "0.54256845", "text": "public static void main(String[] args) {\n\t\treverseAlternate(\"Hello Good Morning nanshu\");\n\t\t\t//reverseWords1(\"Hello Good Morning\");\n\t\t\t\n\t\t\t\n\t\t\t//String str1 = \"nashu\";\n\t\t\t//Middle(str1);\n\t}", "title": "" }, { "docid": "8b5aaa5314b5046a4c4d91dce0848085", "score": "0.5410504", "text": "public static String primeraMayus(String s){\n\t\treturn s.substring(0, 1).toUpperCase() + s.substring(1);\n\t}", "title": "" }, { "docid": "c5f1aa891be9b418d6006475097a39b3", "score": "0.540248", "text": "public static String translatePigLatin(String line) {\n\t\tString[] words = line.split(\" \");\n\t\t//declare to use as final string\n\t\tString pigLatin = \"\";\n\t\tfor(int i = 0; i < words.length; i++) {\n\t\t\t//***specification lower case each word and store it over itself\n\t\t\twords[i] = words[i].toLowerCase();\n\t\t\t//***specification if word matches 0-9 or @ or $ or # anywhere then don't change it\n\t\t\tif(!words[i].matches(\".*[\\\\d@$#].*\")) {\n\t\t\t\t//***specification if word has punctuation at the end 1 or more times replace with empty char\n\t\t\t\twords[i] = words[i].replaceAll(\"[\\\\.,:;?!\\\"]+$\", \"\");\n\t\t\t\t//***specification checks if the word starts with a vowel and adds way to the end if it does\n\t\t\t\tif(words[i].matches(\"^[aeiou].*\")) {\n\t\t\t\t\twords[i] = words[i] + \"way\";\n\t\t\t\t} else {\n\t\t\t\t\t//***specification if word starts with a consonant replace all the \n\t\t\t\t\t//consonants until you hit a vowel or y with empty char\n\t\t\t\t\tString begin = words[i].replaceAll(\"^[^aeiou][^aeiouy]*\", \"\");\n\t\t\t\t\t//subtract the length of the replaced string from the word length to \n\t\t\t\t\t//get the consonants removed from the beginning to add them at the end\n\t\t\t\t\tString end = words[i].substring(0, words[i].length() - begin.length());\n\t\t\t\t\t//concatenate the string together for the word\n\t\t\t\t\twords[i] = begin + end + \"ay\";\n\t\t\t\t}\n\t\t\t//concatenate the words back into a sentence\n\t\t\tpigLatin += words[i] + \" \";\n\t\t\t}\n\t\t}\n\t\t//return translated sentence\n\t\treturn pigLatin;\n\t}", "title": "" }, { "docid": "5edfb32835bdfe1d92381d0a322924c9", "score": "0.539383", "text": "public static void main(String[] args) {\n System.out.println(censorLetter(\"computer science\", 'e')); //\"comput*r sci*nc*\"\n System.out.println(censorLetter(\"trick or treat\", 't')); //\"*rick or *rea*\"\n }", "title": "" }, { "docid": "5d7db525bfd27d1a1d13ff5bfd08803e", "score": "0.53924793", "text": "@Test\n\tpublic void simpleNameNormalizationTest() {\n\t\tSystem.out.println(NDLDataUtils.normalizeSimpleName(\"MacMillan, Don\"));\n\t\tSystem.out.println(NDLDataUtils.normalizeSimpleName(\"Jana, DK\"));\n\t\tSystem.out.println(NDLDataUtils.normalizeSimpleName(\"A. Kruger\"));\n\t\tSystem.out.println(NDLDataUtils.normalizeSimpleName(\"Peter axyz ac\"));\n\t\tSystem.out.println(NDLDataUtils.normalizeSimpleName(\"Peter Ãac\"));\n\t\tSystem.out.println(NDLDataUtils.normalizeSimpleName(\"Gestionnaire HAL-SU\"));\n\t\tSystem.out.println(NDLDataUtils.normalizeSimpleName(\"Christophe Penkerc'h\"));\n\t\t\n\t\tSet<String> wrongNameTokens = new HashSet<String>(2);\n\t\twrongNameTokens.add(\"phd\");\n\t\twrongNameTokens.add(\"professor\");\n\t\twrongNameTokens.add(\"of\");\n\t\twrongNameTokens.add(\"nutrition\");\n\t\tSystem.out.println(NDLDataUtils.normalizeSimpleNameByWrongNameTokens(\"A. Kruger PhD, Professor Of Nutrition\",\n\t\t\t\twrongNameTokens));\n\t}", "title": "" }, { "docid": "af3322eae6a32a82bc98c32b47a80a78", "score": "0.53908676", "text": "public static void main(String[] args) {\r\n //Letter J composed of \"J\",\"A\",\"V\",\"A\"\r\n System.out.println(\"JAVAJAVAJAVA\");\r\n System.out.println(\"JAVAJAVAJAVA\");\r\n System.out.println(\" JAVA\");\r\n System.out.println(\" JAVA\");\r\n System.out.println(\" JAVA\");\r\n System.out.println(\" JAVA\");\r\n System.out.println(\"J JAVA\");\r\n System.out.println(\"JA JAVA\");\r\n System.out.println(\" JAVAJAVA\");\r\n System.out.println(\" JAVAJA\");\r\n }", "title": "" }, { "docid": "90f3772db073039124f7f76ee12248e4", "score": "0.53901106", "text": "private String getAbbreviatedName(String name) {\n if (!isTooLarge(name)) {\n return name;\n }\n\n String[] partNames = name.split(\" \");\n\n // Abbreviate middle names:\n for (int i = 1; i < partNames.length - 1 && isTooLarge(Utils.join(\" \", partNames)); i++) {\n partNames[i] = partNames[i].charAt(0) + \".\";\n }\n\n // Remove middle names:\n while (partNames.length > 2 && isTooLarge(Utils.join(\" \", partNames))) {\n String[] newPartNames = new String[partNames.length - 1];\n newPartNames[0] = partNames[0];\n for (int i = 1; i < newPartNames.length; i++) {\n newPartNames[i] = partNames[i + 1];\n }\n partNames = newPartNames;\n }\n\n if (!isTooLarge(Utils.join(\" \", partNames))) {\n return Utils.join(\" \", partNames);\n } else if (!isTooLarge(partNames[0].charAt(0) + \". \" + partNames[1])) {\n return partNames[0].charAt(0) + \". \" + partNames[1];\n } else if (!isTooLarge(partNames[0] + \" \" + partNames[1].charAt(0) + \".\")) {\n return partNames[0] + \" \" + partNames[1].charAt(0) + \".\";\n } else {\n return partNames[0].charAt(0) + \". \" + partNames[1].charAt(0) + \".\";\n }\n }", "title": "" }, { "docid": "aba0274a24c769d45c00ebe375589edd", "score": "0.53888124", "text": "public static void main(String[] args) {\n\n// Random randomizer = new Random();\n// //grab a random noun and adj\n// int randInt = randomizer.nextInt(11);\n// System.out.println(\" random adjective is : \" + adj[randInt]);\n// System.out.println( \" random noun is : \" + noun[randInt]);\n// String randAdj = adj[randInt];\n// String randNoun = noun[randInt];\n// System.out.println();\n// System.out.println(\"Here is your server name: \" + randAdj + \"-\" + randNoun);\n\n //another method\n String nouns = getRandomWord(noun);\n String adjs = getRandomWord(adj);\n System.out.println(adjs + \"-\" + nouns);\n }", "title": "" }, { "docid": "6273b3846310e56c9c25eeafa7ac2797", "score": "0.53841037", "text": "public String soundex(String str) {\n if (null == str || str.length() == 0) { return str; }\n \n StringBuffer sBuf = new StringBuffer(); \n str = str.toUpperCase();\n \n sBuf.append(str.charAt(0));\n \n char last, current;\n last = '*';\n \n for (int i = 0; i < str.length(); i++) {\n \n current = getMappingCode(str.charAt(i));\n if (current == last) {\n continue;\n } \n else if (current != 0) {\n sBuf.append(current); \n }\n \n last = current; \n \n }\n \n return sBuf.toString();\n }", "title": "" }, { "docid": "9584ce67cdd423bf0b9ff8e158d10e75", "score": "0.5379309", "text": "public boolean isAcronym(String word) {\n\t\tif (word.length() < 3) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tif (word.indexOf(\" \") == -1) {\n\t\t\t\tfor (int i = 0; i < word.length(); i++) {\n\t\t\t\t\tif (Character.isDigit(word.charAt(i))) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// if all upper case\n\t\t\tif (Character.isUpperCase(word.charAt(1))) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t// if there is a number in the word\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "09bebfef9b46ee7446b6b786d35f57f7", "score": "0.5377579", "text": "private static String expandUmlauts(String name) {\n return name.toLowerCase().replace(\"ä\", \"ae\").replace(\"ö\", \"oe\").replace(\"ü\", \"ue\");\n }", "title": "" }, { "docid": "93d4f5f0a5e635281fbe61c6443a4541", "score": "0.5373356", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tString text = \"本报讯 (记者 王京) 联想THINKPAD近期几乎全系列笔记本电脑降价促销,最高降幅达到800美元,降幅达到42%。这是记者昨天从联想美国官方网站发现的。联想相关人士表示,这是为纪念新联想成立1周年而在美国市场推出的促销,产品包括THINKPAD T、X以及Z系列笔记本。促销不是打价格战,THINK品牌走高端商务路线方向不会改变。\";\r\n\t\tString[] terms = null;\r\n\t\tterms= ChineseSpliter.split(text, \" \").split(\" \");//中文分词处理(分词后结果可能还包含有停用词)\r\n\t\tterms = DropStopWords(terms);//去掉停用词,以免影响分类\r\n\t\t\r\n\t\tfor(int i=0;i<terms.length;i++)\r\n\t\tSystem.out.println(terms[i]);\r\n\r\n\t}", "title": "" }, { "docid": "59b46fb1b56788c7794c71467444d3fd", "score": "0.5365723", "text": "public static void main(String[] args) {\n\r\n\t\tSystem.out.println(new c4().capitalize(\"aAC!00xsAAa\"));\r\n\t}", "title": "" }, { "docid": "db9060448aea394f4097ee46a2218fb9", "score": "0.53632444", "text": "private String makeHTMLGlossary(String input)\n {\n Collection<String> dictionaryEntries = ((KillhopeApplication) getApplication()).getLinkableWords();\n\n for(String s : dictionaryEntries)\n {\n //Non-word character, then the word (case insensitive), optional s, then another non-word.\n //This is required so \"more\" will not match \"ore\".\n Pattern p = Pattern.compile(String.format(\"(\\\\W)((?i)%ss?)(\\\\W)\", s));\n Matcher m = p.matcher(input);\n //Note: The replacement replaces the loadGlossaryEntry js with %s, which is the dictionary entry.\n //Whereas $2 is the word matched. So \"ores\" will link to ore.\n String newLink = String.format(\"<a href=\\\"noJS.html\\\" onclick=\\\"loadGlossaryEntry(&quot;%s&quot;);return false;\\\">$2</a>\", s);\n //as we match non-word characters outside, we need to re-add these.\n String replaceWith = String.format(\"$1%s$3\", newLink);\n\n if (m.find())\n input = m.replaceAll(replaceWith);\n }\n return input;\n }", "title": "" }, { "docid": "655666f4c20f2887ecf343bb9b7b4fd2", "score": "0.53628695", "text": "public String getCorrectionWord(String misspell);", "title": "" }, { "docid": "9b30ced8df31f54555238c8916f7c7d6", "score": "0.5357643", "text": "private String createName(String line) {\n line = line.replace(\"(L)\",\"\").replace(\"(D)\",\"\").replace(\"(R)\",\"\").replace(\"(I)\",\"\").replace(\"(\",\"\").replace(\")\",\"\");\n String firstName;\n String middleName = \"\";\n String lastName;\n String postNominal = \"\";\n\n firstName = line.split(\",\")[1].trim();\n if (firstName.contains(\" \")){\n middleName = firstName.split(\" \")[1];\n firstName = firstName.split(\" \")[0];\n }\n lastName = line.split(\",\")[0];\n if(lastName.split(\" \")[lastName.split(\" \").length-1].toLowerCase().equals(\"iii\")\n || lastName.split(\" \")[lastName.split(\" \").length-1].toLowerCase().equals(\"ii\")\n || lastName.split(\" \")[lastName.split(\" \").length-1].toLowerCase().equals(\"sr\")\n || lastName.split(\" \")[lastName.split(\" \").length-1].toLowerCase().equals(\"jr\")){\n postNominal = lastName.split(\" \")[1];\n lastName = lastName.split(\" \")[0];\n }\n\n return firstName.trim() + \",\" + middleName.trim() + \",\" + lastName.trim() + \",\" + postNominal.trim();\n }", "title": "" }, { "docid": "72347e677da95cdfc6a56392181aeb0b", "score": "0.5356166", "text": "static private String formats(String target)\n\t{\n\t\tString tmp = target.trim();\n\t\tif (tmp.length() < 1) return \"NaName\";\n\t\treturn (Character.toString(tmp.charAt(0)).toUpperCase()) + tmp.substring(1,tmp.length()).toLowerCase();\n\t}", "title": "" }, { "docid": "0031da36c6bb582670d1cf3e9c3c5c56", "score": "0.53559875", "text": "public abstract WordEntry manualTranslate(String text, String from, String to);", "title": "" }, { "docid": "4de8c82b67b7dee658e0d8e75caf1d28", "score": "0.535346", "text": "public interface IWord2Spell {\r\n String word2spell();\r\n}", "title": "" }, { "docid": "4895e03b79d075824e523a12909439b3", "score": "0.5350181", "text": "public static String the(String str)\n\t{\t\t\n\t\tif (str.startsWith(\"the \")) return str;\n\t\telse if (str.startsWith(\"The \")) return str;\n\t\telse if (str.toLowerCase().charAt(0) == str.charAt(0)) return \"the \" + str;\n\t\telse return \"The \" + str.toLowerCase();\n\t}", "title": "" }, { "docid": "f138b5c85fc0d763a637b8b9a675d3a5", "score": "0.53483033", "text": "public void reagir(String frase) {\n if (frase.equals(\"toma comida\") || frase.equals(\"olá\")) {\n System.out.println(\"abanar e latir\");\n } else {\n System.out.println(\"rosnar\");\n }\n }", "title": "" }, { "docid": "186aa7740c962d40eef21b269def91d8", "score": "0.53445715", "text": "private void fillAdjective1a()\n {\n adjective1a.add(\"Epic\");\n adjective1a.add(\"Brilliant\");\n adjective1a.add(\"Mighty\");\n adjective1a.add(\"Great\");\n adjective1a.add(\"Wonderful\");\n adjective1a.add(\"Crazy\");\n adjective1a.add(\"Sparkling\");\n adjective1a.add(\"Shiny\");\n adjective1a.add(\"Lustful\");\n adjective1a.add(\"Precious\");\n\n }", "title": "" }, { "docid": "26b06e2b1fc6abdd7a06e568807da621", "score": "0.5341873", "text": "public static void main(String[] args) {\n char contin1 = 'y';\n\n //1. display welcome message\n //use \\n (escape sequence) to omit extra code for newline\n System.out.print(\"Welcome to the Pig Latin Translator!\\n\");\n\n do {//needed to do-while loop so it will run at least once before it ask the user to continue\n String contin2 = \"\";\n Scanner input = new Scanner(System.in);\n\n //2. prompt for user input\n //use \\n in the beginning not both for the user word to be in the same line\n System.out.print(\"\\nEnter a word to be translated: \");\n\n //3. get user input\n\n //4. translate user input\n //4.1 convert input to lowercase before translating\n //4.2 start with vowel, add \"way\" onto ending\n /*4.3 start with a consonant, move all of the consonants that appear before the first vowel to the end of the word,\n then add \"ay\" to the end of the word */\n String word = input.nextLine();\n String lowerWord = word.toLowerCase(); //convert to lowercase\n\n //***Determines if a word starts with a vowel or consonant, use if-else statement\n\n if ((lowerWord.startsWith(\"a\") || (lowerWord.startsWith(\"e\") || (lowerWord.startsWith(\"i\") || (lowerWord.startsWith(\"o\") || (lowerWord.startsWith(\"u\") ))))))\n //5. print out results\n System.out.println(lowerWord + \"way\");//starts with a vowels\n\n else\n for (int i= 0; i<lowerWord.length(); i++){//the for loop to check for the first vowel location(i), to split the word for re-arranging\n String vowels = \"aeiou\"; //a list of vowels, only lowercase since already converted\n if (vowels.contains(\"\" + lowerWord.charAt(i))){ // if this is true, (i) will be in first position of the first vowel, to check the position of the vowel\n\n String prefix = lowerWord.substring(0, i); //String buffer(change) creates the consonants to eventually move to the end\n String suffix = lowerWord.substring(i);//as written meaning the rest of the word from beginning of position (i)\n String assembleWord = \"\"; //made up variable name, declare and initialize variable\n assembleWord = suffix + prefix + \"ay\"; // compiling the assembled word from the pieces and adding (concatenating) the ending \"ay\"\n //5. print out results\n System.out.print(assembleWord);//print the assembled word\n\n break; // break out to go back to the for loop\n\n }\n\n }\n\n //6. prompt user to enter a word again\n // start here to keep continue function for a do-while loop\n //use \\n instead of sout at end for spacing\n System.out.print(\"\\nTranslate another word? (y/n): \");\n contin2 = input.next();\n contin1 = contin2.charAt(0);\n // System.out.println(\" \");\n\n\n\n } while (contin1 != 'n'); //do-while loop function needed at the end compares to the while loop\n\n }", "title": "" }, { "docid": "82768380ab4f401329a70dd372df4e60", "score": "0.53415364", "text": "public Athlete()\r\n{\r\n this.def = \"An athlete is said to be running when he/she is accelerating in a certain direction during which his legs and the rest of his body are moving\";\r\n}", "title": "" }, { "docid": "19ecdb860a94feeda820ad0f21da2a5b", "score": "0.5341217", "text": "private static String makeLatinName(int len, Random r) {\n final String lc = \"abcdefghijklmnopqrstuvwxyz\";\n final String alphabet = lc + lc.toUpperCase();\n final String start = \"$_\" + alphabet;\n final String part = start + \"0123456789\";\n\n StringBuffer sb = new StringBuffer();\n sb.append(start.charAt(r.nextInt(start.length())));\n while (sb.length() < len)\n sb.append(part.charAt(r.nextInt(part.length())));\n return sb.toString();\n }", "title": "" }, { "docid": "0e0b56dfe67c63cae19a04458e18045e", "score": "0.5338685", "text": "public static void main(String[] args) {\n\n for(char ch='A'; ch<='Z'; ch++){\n System.out.print(ch+\" \");\n }\n System.out.println();\n\n //backword--descending\n for (char ch='Z'; ch>='A'; ch--){\n System.out.print(ch+\" \");\n }\n System.out.println();\n\n //lower case\n for(char ch ='a'; ch<='z'; ch++){\n System.out.print(ch+ \" \");\n }\n\n\n\n }", "title": "" }, { "docid": "35d3fcf00520b24bb317b668dfae4b3d", "score": "0.5333504", "text": "String getAbbr();", "title": "" }, { "docid": "d3e39c8dd5a834c1629096fcd216676d", "score": "0.5332635", "text": "public static void main(String[] args) {\n\n\n String ad=\"erdogan\";\n String soyad= \"HOZAN\";\n\n System.out.println(\"ad: \"+ ad.toUpperCase());\n System.out.println(\"soyad:\" + soyad.toLowerCase());\n\n }", "title": "" }, { "docid": "4d7082b7980ea2c71082def574a615fd", "score": "0.5329633", "text": "public static void main(String[] args) throws IOException {\n\r\n int q = scanner.nextInt();\r\n scanner.skip(\"(\\r\\n|[\\n\\r\\u2028\\u2029\\u0085])?\");\r\n\r\n for (int qItr = 0; qItr < q; qItr++) {\r\n String a = scanner.nextLine();\r\n\r\n String b = scanner.nextLine();\r\n\r\n String result = abbreviation(a, b);\r\n\r\n System.out.println(result);\r\n\r\n }\r\n\r\n\r\n\r\n scanner.close();\r\n }", "title": "" }, { "docid": "7ba8fc99a1062d9345dc1bd270204beb", "score": "0.53276294", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"认真背单词\");\r\n\t\tSystem.out.println(\"好好敲代码\");\r\n\t\tSystem.out.println(\"努力找到好工作\");\r\n\r\n\t}", "title": "" }, { "docid": "af737c898be7f366caa98a3016faf393", "score": "0.5326828", "text": "@Test\n\tpublic void verifyAcronymCamelCaseScoring() {\n\t\tStringScore stringScore = new StringScore(StringScoreRanking.standardContiguousSequenceRanking(), StringScoreRanking.standardAcronymRanking(), StringScoreRanking.standardNonContiguousSequenceRanking());\n\t\t\n\t\tScore score = stringScore.scoreAsAcronym(\"abc\", \"abcDefGhiJkl\");\n\t\tAssert.assertEquals(0, score.rank);\n\t\t\n\t\tscore = stringScore.scoreAsAcronym(\"ad\", \"abcDefGhiJkl\");\n\t\tAssert.assertEquals(4, score.rank);\n\t\t\n\t\tscore = stringScore.scoreAsAcronym(\"aj\", \"abcDef GhiJkl\");\n\t\tAssert.assertEquals(4, score.rank);\n\t\t\n\t\tscore = stringScore.scoreAsAcronym(\"adz\", \"abcDefGhiJklmn\");\n\t\tAssert.assertEquals(0, score.rank);\n\t\t\n\t\tscore = stringScore.scoreAsAcronym(\"dgj\", \"abcDefGhiJklmn\");\n\t\tAssert.assertEquals(3, score.rank);\n\t\t\n\t\tscore = stringScore.scoreAsAcronym(\"dj\", \"abcDefGhiJklmn\");\n\t\tAssert.assertEquals(3, score.rank);\n\t\t\n\t\tscore = stringScore.scoreAsAcronym(\"ax\", \"abcDefGhiJklmnMopXyz\");\n\t\tAssert.assertEquals(4, score.rank);\n\t}", "title": "" }, { "docid": "6623ececf24fd4065f063f37edb0340f", "score": "0.5324628", "text": "public String lookupCodon( String codon )\n {\n // capitalize and replace U's with T's because the code tables are in terms of T's\n codon = codon.toUpperCase();\n codon = codon.replace('U','T');\n\n\n\n String letter = \"\";\n String outputStr = \"\";\n\n if (code.equals(\"Standard\"))\n {\n for (int i = 0; i < stdTranCodeAA.length(); i++)\n {\n\n letter = String.valueOf(stdTranCodeAA.charAt(i)); // takes one char as a string\n\n if ( stdTranCode[i].equals( codon ) )\n {\n for (int j = 0; j < stdTranCodeStart.length; j++)\n {\n if ( stdTranCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Drosophila Mitochondrial\"))\n {\n for (int i = 0; i < drosMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(drosMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( drosMitoCode[i].equals( codon ) )\n {\n if ( ( letter.equals(\"I\") ) || ( letter.equals(\"M\") ) )\n {\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n \n else if (code.equals(\"Vertebrate Mitochondrial\"))\n {\n for (int i = 0; i < vertMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(vertMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( vertMitoCode[i].equals( codon ) )\n {\n for (int j = 0; j < vertMitoCodeStart.length; j++)\n {\n if ( vertMitoCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Yeast Mitochondrial\"))\n {\n for (int i = 0; i < yeastMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(yeastMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( yeastMitoCode[i].equals( codon ) )\n {\n for (int j = 0; j < yeastMitoCodeStart.length; j++)\n {\n if ( yeastMitoCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Mold Protozoan Coelenterate Mycoplasma Mitochondrial\"))\n {\n for (int i = 0; i < moldProtoMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(moldProtoMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( moldProtoMitoCode[i].equals( codon ) )\n {\n for (int j = 0; j < moldProtoMitoCodeStart.length; j++)\n {\n if ( moldProtoMitoCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Invertebrate Mitochondrial\"))\n {\n for (int i = 0; i < invertMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(invertMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( invertMitoCode[i].equals( codon ) )\n {\n for (int j = 0; j < invertMitoCodeStart.length; j++)\n {\n if ( invertMitoCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Ciliate Dasycladacean Hexamita Nuclear\"))\n {\n for (int i = 0; i < cilDasHexNucCodeAA.length(); i++)\n {\n\n letter = String.valueOf(cilDasHexNucCodeAA.charAt(i)); // takes one char as a string\n\n if ( cilDasHexNucCode[i].equals( codon ) )\n {\n for (int j = 0; j < cilDasHexNucCodeStart.length; j++)\n {\n if ( cilDasHexNucCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Echinoderm Mitochondrial\"))\n {\n for (int i = 0; i < echinoMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(echinoMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( echinoMitoCode[i].equals( codon ) )\n {\n for (int j = 0; j < echinoMitoCodeStart.length; j++)\n {\n if ( echinoMitoCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Euplotid Nuclear\"))\n {\n for (int i = 0; i < euplotidNucCodeAA.length(); i++)\n {\n\n letter = String.valueOf(euplotidNucCodeAA.charAt(i)); // takes one char as a string\n\n if ( euplotidNucCode[i].equals( codon ) )\n {\n if ( letter.equals(\"M\") )\n {\n return (\"<B><FONT COLOR=red>M</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Bacterial\"))\n {\n for (int i = 0; i < bacterialTranCodeAA.length(); i++)\n {\n\n letter = String.valueOf(bacterialTranCodeAA.charAt(i)); // takes one char as a string\n\n if ( bacterialTranCode[i].equals( codon ) )\n {\n for (int j = 0; j < bacterialTranCodeStart.length; j++)\n {\n if ( bacterialTranCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Alternative Yeast Nuclear\"))\n {\n for (int i = 0; i < altYeastCodeAA.length(); i++)\n {\n\n letter = String.valueOf(altYeastCodeAA.charAt(i)); // takes one char as a string\n\n if ( altYeastCode[i].equals( codon ) )\n {\n for (int j = 0; j < altYeastCodeStart.length; j++)\n {\n if ( altYeastCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Ascidian Mitochondrial\"))\n {\n for (int i = 0; i < ascidianMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(ascidianMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( ascidianMitoCode[i].equals( codon ) )\n {\n for (int j = 0; j < ascidianMitoCodeStart.length; j++)\n {\n if ( ascidianMitoCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else if (code.equals(\"Flatworm Mitochondrial\"))\n {\n for (int i = 0; i < flatMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(flatMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( flatMitoCode[i].equals( codon ) )\n {\n for (int j = 0; j < flatMitoCodeStart.length; j++)\n {\n if ( flatMitoCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n else // (code.equals(\"Blepharisma Mitochondrial\"))\n {\n for (int i = 0; i < blephMitoCodeAA.length(); i++)\n {\n\n letter = String.valueOf(blephMitoCodeAA.charAt(i)); // takes one char as a string\n\n if ( blephMitoCode[i].equals( codon ) )\n {\n for (int j = 0; j < blephMitoCodeStart.length; j++)\n {\n if ( blephMitoCodeStart[j].equals( codon ) )\n return (\"<B><FONT COLOR=red>\" + letter + \"</FONT></B>\"); // colors the start AA red\n }\n if (letter.equals(\"*\"))\n {\n if (stopFormat.length() > 0)\n return (\"<B><FONT COLOR=blue>\" + String.valueOf(stopFormat.charAt(0)) + \"</FONT></B>\");\n else\n return (\"<B><FONT COLOR=blue>*</B></FONT>\");\n }\n return letter; // found letter and it is not from a stop or start codon\n }\n else\n continue; // not found so continue searching\n }\n\n }\n\n unknownStatus = 1; // encountered an unknown codon so print this in legend\n\n return \"<FONT COLOR=#ff6633><B>u</B></FONT>\"; // unknown codon\n\n\n }", "title": "" } ]
cbc021225e6f007e3a5a45f7b89f89ce
Sets the next scheduled time after the "number of days to schedule" setting. This is a management piece of information used to identify when the scheduling next needs to consider this schedule. It is not for general use.
[ { "docid": "cf0d5dc867495e08f9d08c8353db80d0", "score": "0.57252055", "text": "public void setNextScheduleAfterPeriod(Date nextScheduleAfterPeriod) {\n\t\tthis.nextScheduleAfterPeriod = nextScheduleAfterPeriod;\n\t}", "title": "" } ]
[ { "docid": "d92a5dedf5c660e4c95dc4764a5c29b5", "score": "0.61918014", "text": "public void rescedule() {\n\t\tCalendar c = Calendar.getInstance();\n\t\tc.add(Calendar.MINUTE, 10);\n\t\tsetDueDate(c.getTime());\n\t}", "title": "" }, { "docid": "c3309daae36cccf06af3157f37beaeda", "score": "0.60763377", "text": "public final void setNextTime(final Date date) {\n nextTime = (Date) date.clone();\n }", "title": "" }, { "docid": "f4db9c79bfd9e3a04c5b7623f14be196", "score": "0.6007348", "text": "public void generateScheduleOnce( ) throws Exception{\n Long sixMinutes = new Long( 6 * 60 * 60 * 1000 ) ;\r\n Calendar calendar = Calendar.getInstance(); \r\n Long currentTime = calendar.getTimeInMillis();\r\n\r\n TaskConfig taskConfig = this.taskDetails.getTaskConfig() ;\r\n TaskConfigStart taskConfigStart = taskConfig.getTaskConfigStart() ;\r\n Long excecuteTime = taskConfigStart.getTime() ;\r\n\r\n if(this.excistingSchedule != null ){ //Already scheduled\r\n\r\n this.newSchedule = this.excistingSchedule ;\r\n // If already scheduled, we want to stop the Task.\r\n // Due to only once scenario\r\n this.newSchedule.setExcecutedStatus( ScheduleDetails.CLOSED ) ;\r\n this.newSchedule.setNextRecuringTime( new Long(0) );\r\n this.newSchedule.setUpdatedTime( currentTime ) ;\r\n\r\n }else{ // if new schedule\r\n\r\n // if current time is greater than the scheduled run time.\r\n // Add the six min to current time and excecute the task only once.\r\n if( currentTime > excecuteTime ){ \r\n excecuteTime = currentTime + sixMinutes ;\r\n } \r\n \r\n this.newSchedule.setNextRecuringTime( excecuteTime );\r\n // scheduled for first time, the task is to get open.\r\n this.newSchedule.setExcecutedStatus( ScheduleDetails.OPEN ) ;\r\n this.newSchedule.setCreatedTime( currentTime ) ;\r\n this.newSchedule.setUpdatedTime( currentTime ) ;\r\n }\r\n \r\n }", "title": "" }, { "docid": "9a72556448bcf947934680a766139259", "score": "0.59385675", "text": "public void setScheduleNumber(long scheduleNumber);", "title": "" }, { "docid": "94ab6aace1645a7662d4bac0f5ad1c7d", "score": "0.58694494", "text": "public void updateNextExecutionTime()\n\t{\n\t\tthis.nextExecutionTime = System.currentTimeMillis() + getPeriod();\n\t}", "title": "" }, { "docid": "babbde9a2281393f3a4f5e419ac14a12", "score": "0.5833033", "text": "private void adjustSchedule( JobExecutionContext context ) {\n\t\tif( rpmConfig != null ) {\n\t\t\tDate nextFireTime = context.getNextFireTime();\n\t\t\tDate current = new Date();\n\t\t\tDate todayStartTime = new Date( current.getYear(), current.getMonth(), current.getDate(), rpmConfig.getStartHour(), rpmConfig.getStartMinute() ); \n\t\t\tCalendar cstart = Calendar.getInstance();\n\t\t\t\n\t\t\tcstart.setTime( todayStartTime );\n\t\t\tcstart.add( Calendar.DATE, 1 ); \n\t\t\tDate nextDayStartTime = cstart.getTime();\n\n\t\t\tif( \tMath.abs(nextFireTime.getTime()- todayStartTime.getTime() ) < repeatIntervalSecond/3 && \n\t\t\t\t\tMath.abs(nextFireTime.getTime()- todayStartTime.getTime() ) > 3*60*1000 ) {\n\t\t\t\tsetTrigger( todayStartTime );\n\t\t\t}\n\t\t\telse if ( \tMath.abs(nextFireTime.getTime()- nextDayStartTime.getTime() ) < repeatIntervalSecond/3 && \n\t\t\t\t\tMath.abs(nextFireTime.getTime()- nextDayStartTime.getTime() ) > 3*60*1000 ) {\n\t\t\t\tsetTrigger( nextDayStartTime );\n\t\t\t} \n\t\t}\n\t}", "title": "" }, { "docid": "72c346a8c20282cff0cacb8146809af4", "score": "0.580813", "text": "private void setEarliestSavedAtTime(@NonNull Calendar nextStart) {\n if (!globalSettings.getSavedAtTime().after(processingStartTime)) {\n //If the saved time is before \"now\" (we just ran), just take the new time\n // (!after is <=)\n globalSettings.setSavedAtTime(nextStart);\n }\n else if (nextStart.before(globalSettings.getSavedAtTime())) {\n // The saved time is in the future; if this is sooner, use it instead.\n // (This can happen if there are several at or every commands queued in the mailbox.)\n globalSettings.setSavedAtTime(nextStart);\n }\n }", "title": "" }, { "docid": "a14266ecaa14cee05a1d7782c70386bd", "score": "0.58064216", "text": "public void setSchedule(psl.workflakes.exercise.tutorial.Schedule newSchedule) {\n schedule = newSchedule;\n }", "title": "" }, { "docid": "6fee57ea6e8cf0e8e28c07375d517b97", "score": "0.56805027", "text": "public void setTargetScheduleDay(int targetScheduleDay) {\n mTargetScheduleDay = targetScheduleDay;\n }", "title": "" }, { "docid": "b4b9e49935239046ecb1cab61733eddf", "score": "0.5632674", "text": "public Date getNextScheduleAfterPeriod() {\n\t\treturn nextScheduleAfterPeriod;\n\t}", "title": "" }, { "docid": "2e799e43724b95982b99dab3e2a0425c", "score": "0.56207675", "text": "public void setNextAlarm(Context context, Reminder reminder, ReminderDatabase rb) {\n //setting up current calendar for reminder to be modified\n Calendar calendar = Calendar.getInstance();\n String dateandtime = reminder.getDate() + \" \" + reminder.getTime();\n try {\n SimpleDateFormat dt = new SimpleDateFormat(\"EEE, dd MMM yyyy HH:mm\");\n Date converted = dt.parse(dateandtime);\n dt = new SimpleDateFormat(\"yyyyMMddHHmm\");\n dateandtime = dt.format(converted);\n calendar.setTime(dt.parse(dateandtime));\n } catch (Exception e) { }\n\n //setting up next timer according to the repeating duration\n if (reminder.getRepeatType().equals(\"Minute(s)\")) {\n calendar.add(Calendar.MINUTE, Integer.parseInt(reminder.getRepeatNo()));\n } else if (reminder.getRepeatType().equals(\"Hour(s)\")) {\n calendar.add(Calendar.HOUR, Integer.parseInt(reminder.getRepeatNo()));\n } else if (reminder.getRepeatType().equals(\"Day(s)\")) {\n calendar.add(Calendar.DATE, Integer.parseInt(reminder.getRepeatNo()));\n } else if (reminder.getRepeatType().equals(\"Week(s)\")) {\n calendar.add(Calendar.WEEK_OF_YEAR, Integer.parseInt(reminder.getRepeatNo()));\n } else if (reminder.getRepeatType().equals(\"Month(s)\")) {\n calendar.add(Calendar.MONTH, Integer.parseInt(reminder.getRepeatNo()));\n }\n\n //re-setup date configuration\n String pattern_date = \"EEE, dd MMM yyyy\";\n SimpleDateFormat dateFormat = new SimpleDateFormat(pattern_date);\n reminder.setDate(dateFormat.format(calendar.getTime()));\n\n //re-setup time configuration\n String pattern_time = \"HH:mm\";\n SimpleDateFormat dateFormat2 = new SimpleDateFormat(pattern_time);\n reminder.setTime(dateFormat2.format(calendar.getTime()));\n\n //update current reminder in the database\n rb.updateReminder(reminder);\n\n //set next alarm with updated timer\n setAlarm(context, calendar, reminder.getId());\n }", "title": "" }, { "docid": "6d9d0b4122e97fe7bf4135bdc28a50b7", "score": "0.55978453", "text": "public void setNexttrialtime(Date nexttrialtime) {\n this.nexttrialtime = nexttrialtime;\n }", "title": "" }, { "docid": "843bf20c3cd87bc294309c715f422449", "score": "0.5583979", "text": "private void advanceTime(){\n\t\tthis.minute += 5;\n\t\tif(this.minute >= 60){\n\t\t\tthis.minute = 0;\n\t\t\tthis.hour ++;\n\t\t\tif(this.hour == 17){\n\t\t\t\tthis.gf.addMoney(day);\n\t\t\t\tnewDay();\n\t\t\t\tsetScreen(new EndDayScreen(this, this.r));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "faaf0779a92a5075ea6ff6f47da7d5d1", "score": "0.548038", "text": "private synchronized void reschedule() {\n\t\t\tlong nextInterval = (remaining < 20) ? remaining : 20l;\r\n\t\t\ttask = Bukkit.getScheduler().runTaskLater(plugin, this,\r\n\t\t\t\t\tnextInterval);\r\n\t\t}", "title": "" }, { "docid": "f684630ae8eee737481139bd71a6351e", "score": "0.5467425", "text": "public void setNewDeadline(int numDays) {\n deadline = deadline + (DAY*numDays);\n }", "title": "" }, { "docid": "95dc92ab4248afdd8a84a5aa7fdc0da8", "score": "0.54618734", "text": "private boolean scheduleNextReminder() {\n \t\tcancelNextReminder();\n \t\t\n \t\t// Get the next time a reminder should be shown.\n \t\tlong nextRemindTime = ReminderActivity.getNextRemindTime(thisContext);\n \t\t/*nextRemindTime = ReminderActivity.getNextRemindTimeSince(\n \t\t\t\tthisContext,\n \t\t\t\tCalendar.getInstance().getTimeInMillis() - 86400000\n \t\t);\n \t\tLog.v(TAG, \"Next remind time:\"+ new Date(nextRemindTime));*/\n \t\t\n \t\tif(nextRemindTime == -1) {\n \t\t\treturn false;\n \t\t}\n \t\t\n //\t\tLog.v(TAG, \"date:\"+ new Date(nextRemindTime));\n \t\t\n \t\t// Schedule a task to be run on a seperate thread.\n \t\ttimer = new Timer();\n \t\ttimer.schedule(new TimerTask() {\n \t\t\t@Override\n \t\t\tpublic void run() {\n \t\t\t\t// Show the notification.\n \t\t\t\topsHandler.sendEmptyMessage(HIDE_NOTIFICATION);\n \t\t\t\topsHandler.sendEmptyMessage(SHOW_NOTIFICATION);\n \t\t\t\t\n \t\t\t\t// Schedule the next notification.\n \t\t\t\topsHandler.sendEmptyMessage(SCHEDULE_NEXT_REMINDER);\n \t\t\t\t/*\n \t\t\t\t\n \t\t\t\thideNotification();\n \t\t\t\tshowNotification();\n \t\t\t\t\n \t\t\t\t// Schedule the next notification.\n \t\t\t\tscheduleNextReminder();*/\n \t\t\t}\n \t\t}, new Date(nextRemindTime));\n \t\t\n \t\treturn true;\n \t}", "title": "" }, { "docid": "b6a4541ff3d811eda22bc79b8b75b5e1", "score": "0.54551387", "text": "private void setNewFirstTimeTask(Reservation r){\n if(timersEntrance.get(r.getStoreID())==null)\n timersEntrance.put(r.getStoreID(), new Timer());\n\n Timer timerEntrance = timersEntrance.get(r.getStoreID());\n timerEntrance.cancel();\n timerEntrance.purge();\n timerEntrance = new Timer();\n TimerTask entrance = createEntranceTimerTask(r);\n if(r.getEntryTime()- Time.valueOf(LocalTime.now()).getTime() - hour >= 0) {\n System.out.println(\"The next user that has to enter is: \" + r.getUserID());\n timerEntrance.schedule(entrance, r.getEntryTime() - Time.valueOf(LocalTime.now()).getTime() - hour);\n }else {\n System.out.println(\"The next user that has to enter is: \" + r.getUserID());\n timerEntrance.schedule(entrance, 0);\n }\n }", "title": "" }, { "docid": "5588bd8b432618a0c168521e01a65b55", "score": "0.5411771", "text": "public int getTargetScheduleDay() {\n return mTargetScheduleDay;\n }", "title": "" }, { "docid": "af9ae090955dfae3d727be90ada6ba79", "score": "0.5340728", "text": "public void reSchedule( double t ) {\n \tScheduler.reSchedule( this, t ) ;\n \treScheduled = true ;\n }", "title": "" }, { "docid": "157db840e99ce9b68642fb726c124357", "score": "0.5325492", "text": "private void setTimer() {\n\n TimerTask task = new TimerTask() {\n\n @Override\n public void run() {\n\n LocalDateTime plusOneHour = LocalDateTime.now().\n plusMinutes(minutesBetweenUpdate);\n String nextUpdate = String.format(\"%02d:%02d:%02d\",\n plusOneHour.getHour(),\n plusOneHour.getMinute(),\n plusOneHour.getSecond());\n window.setNextUpdateTime(nextUpdate);\n updateRadioInfo();\n }\n };\n timer.scheduleAtFixedRate(task, 0,\n 60000 * minutesBetweenUpdate);\n }", "title": "" }, { "docid": "47566beef82b81ef48095021cec301bb", "score": "0.53184766", "text": "@Override\n public long getScheduleTime() {\n return scheduleAt;\n }", "title": "" }, { "docid": "c65a851b8fd150c8131b46dbf265d862", "score": "0.52989876", "text": "private void setNewDayTimer() {\n Context context = getApplicationContext();\n PendingIntent pi = PendingIntent.getBroadcast(context, 0, new Intent(NEW_DAY), PendingIntent.FLAG_UPDATE_CURRENT);\n Intent t = new Intent(NEW_DAY);\n // t.pu\n PendingIntent pi2 = PendingIntent.getBroadcast(context, 0, new Intent(NEW_DAY), PendingIntent.FLAG_UPDATE_CURRENT);\n\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.SECOND, 0);\n calendar.set(Calendar.MINUTE, 0);\n calendar.set(Calendar.HOUR, 0);\n calendar.set(Calendar.AM_PM, Calendar.AM);\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n alarmManager.setRepeating(AlarmManager.RTC, calendar.getTimeInMillis(), 1000 * 60 *60 * 24, pi);\n }", "title": "" }, { "docid": "2af18dc18625d6ba92c971d8fd333a2e", "score": "0.5279182", "text": "public void setSchedule(entity.GL7UAircrSchedCond value);", "title": "" }, { "docid": "7ec42bfd29ebdb08c21373fbf2ca7de3", "score": "0.52592206", "text": "@Override\n public void enterRunEvery( JclParser.RunEveryContext ctx )\n {\n schedule();\n start( \"repeat\", () -> {\n LocalDateTime dt;\n if( ctx.dateOptionalTime() != null ) {\n dt = getDateOptionalTime( ctx.dateOptionalTime(),\n LocalDateTime::now,\n () -> LocalTime.now().truncatedTo( ChronoUnit.MINUTES ) );\n }\n else if( ctx.time() != null ) {\n // AT time. If time is before now then make certain the next time occurs tomorrow\n dt = LocalDateTime.of( LocalDate.now(), getTime( ctx.time() ) );\n if( dt.isBefore( LocalDateTime.now() ) ) {\n dt = dt.plusDays( 1 );\n }\n }\n else {\n dt = LocalDateTime.now();\n }\n attr( \"next\", dt.truncatedTo( ChronoUnit.MINUTES ) );\n\n interval( \"step\", ctx.interval() );\n retry( ctx.retry() );\n between( ctx.between() );\n timeout( ctx.timeout() );\n } );\n }", "title": "" }, { "docid": "2c956b42b5792d8864ce1664febdb514", "score": "0.52444124", "text": "private void updateNextAlarm() {\n this.mNextAlarm = this.mAlarmManager.getNextAlarmClock(-2);\n this.mMainHandler.post(new Runnable() {\n /* class com.android.systemui.statusbar.policy.NextAlarmControllerImpl.AnonymousClass2 */\n\n public void run() {\n NextAlarmControllerImpl.this.fireNextAlarmChanged();\n }\n });\n }", "title": "" }, { "docid": "3769286bcca14f10364a38c101a1c34d", "score": "0.5234238", "text": "public long getScheduledTime() {\r\n\t\treturn mScheduledTime;\r\n\t}", "title": "" }, { "docid": "84cf96e71aa30b7d961391936fab4687", "score": "0.522548", "text": "public void setNextAdjustmentDate(Date param){\r\n \r\n this.localNextAdjustmentDate=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "d000d3f31bb5d0f07c9a5ebbf4a881be", "score": "0.52203774", "text": "protected void computeNextExecutionTime() {\r\n\t\tlong currentTime = System.currentTimeMillis();\r\n\t\tlong execTime = scheduledExecutionTime + period;\r\n\t\t\r\n\t\twhile (execTime <= currentTime) {\r\n\t\t\texecTime += period;\r\n\t\t}\r\n\t\t\r\n\t\tscheduledExecutionTime = execTime;\r\n\t}", "title": "" }, { "docid": "fe1a5646655160c282bc7c25208ef0e1", "score": "0.5191668", "text": "private void setDay() {\n this.day = rand.nextInt(31) + 1;\n }", "title": "" }, { "docid": "481f0e411f446354251d1b2e3ea80d17", "score": "0.51698226", "text": "public void setScheduledEndTimeOffset(Long scheduledEndTimeOffset) {\r\n this.scheduledEndTimeOffset = scheduledEndTimeOffset;\r\n }", "title": "" }, { "docid": "df6378d0ee42f5c913c6d6f0ae3d44b4", "score": "0.51656836", "text": "public static void cycleDayNight() {\n\t\tif (timeOfDay == 1) {\n\t\t\ttimeOfDay = 2;\n\t\t} else {\n\t\t\ttimeOfDay = 1;\n\t\t}\n\t}", "title": "" }, { "docid": "d823b24e8a0798a08bfbca64ed30be6b", "score": "0.51354843", "text": "public void setScheduleForDay(byte[] schedule, int day) {\n int timeInMinutes;\n int temperature;\n for (int i = 0; i < 10; i++) {\n timeInMinutes = ((schedule[3 * i + 1] & 0xFF) << 8) + (schedule[3 * i] & 0xFF);\n temperature = (schedule[3 * i + 2] & 0xFF);\n Log.d(\"Schedule\", \"timeInMinutes: \"+ timeInMinutes+ \" temperature: \"+temperature );\n if (timeInMinutes == 0xFFFF) { // schedule finished\n timeArray[i+1][day] = 25.0f;\n temperatureArray[i+1][day] = temperatureArray[i][day];\n break;\n }\n timeArray[i+1][day] = timeInMinutes / 60.0f;\n temperatureArray[i+1][day] = temperature;\n }\n timeArray[11][day] = 25.0f;\n temperatureArray[0][day] = temperatureArray[1][day];\n temperatureArray[11][day] = temperatureArray[10][day];\n }", "title": "" }, { "docid": "aa27724757236fc34b29d84dbd5a63b6", "score": "0.5134202", "text": "@Override\n public void schedule() {\n m_ranCounter++;\n\n if (canStart())\n super.schedule();\n }", "title": "" }, { "docid": "f3eb5501f37de4bcc9856022b208e2aa", "score": "0.5122958", "text": "private void advanceTime(){\n // Advance the time by one minute.\n minute++;\n if (minute > 59) {\n minute -= 60;\n hour++;\n }\n if (hour > 23) {\n hour -= 24;\n day++;\n dayOfYear++;\n\n profitTotal = profitTotal + profitToday;\n profitToday = 0.0;\n\n weather.nextDay(dayOfYear);\n }\n if (day > 6) {\n day -= 7;\n }\n if (dayOfYear > 364) {\n dayOfYear = 0;\n }\n }", "title": "" }, { "docid": "32dd06ecd8ca9f0fc494b5870a0612f9", "score": "0.5096311", "text": "@Test\n public void nextScheduleTimeMisc() {\n {\n Instant lastScheduleTime = instant(\"2016-03-13 00:12:34 -0800\");\n assertThat(\n newScheduler(\"15:00\", \"America/Los_Angeles\").nextScheduleTime(lastScheduleTime),\n is(ScheduleTime.of(\n instant(\"2016-03-13 01:00:00 -0800\"),\n instant(\"2016-03-13 01:15:00 -0800\"))));\n }\n }", "title": "" }, { "docid": "f5f069ee19847871f2ee079c83a9bff8", "score": "0.5095992", "text": "public void setSettleDay(Integer settleDay) {\r\n this.settleDay = settleDay;\r\n }", "title": "" }, { "docid": "d846cb292f762c36a328584e96a50105", "score": "0.5082006", "text": "public void nextDay()\r\n\t{\r\n\t\tdDay++;\r\n\t\tif(dDay > daysInMonth())//if it's the end of the month, the eay will get reset to 1 and month will advance\r\n\t\t{\r\n\t\t\tdDay = 1;\r\n\t\t\tdMonth++;\r\n\t\t\tif(dMonth > 12)//if it's the end of the year, the month will be set to 1\r\n\t\t\t{\r\n\t\t\t\tdMonth = 1;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7297314b70f3399ff5b60e3ec4f4f0ad", "score": "0.5078845", "text": "public void newDay() {\n\t\tfor(Person person: this.getMembers()) {\n\t\t\tperson.setMinutesForaged(0);\n\t\t}\n\t}", "title": "" }, { "docid": "013e539c41813b4ec104dda1d086adac", "score": "0.5046037", "text": "public void setupSchedule()\n\t{\n\t\tfinal long PERIOD = 500;\n\t\t//final UpdateBackground drawBackground = new UpdateBackground();\n\t\t//drawing = viewDrawer;\n //DrawView drawView;\n//\t\tTimer timer = new Timer(); \n timer.schedule(new TimerTask() \n {\n \t@Override\n \tpublic void run() \n \t{\n \t\tif(!TimerIsStopped)\n \t\t{\n\t \t\tdrawing.postInvalidate();\n\t \t\tcounter++;\n\t \t\tif(counter == (1000/PERIOD))\n\t \t\t{\n\t \t\t\tdrawing.rollBkgdColor();\n\t \t\t\tdrawing.updateTime(canvas, twelve24Mode); \t\t\t\n\t \t\t\tdrawing.draw(canvas);\n\t \t\t\tcounter = 0;\n\t \t\t}\n \t\t}\n// \t\tdrawing.draw(canvas);\n \t} \t\n }, 0L, PERIOD);\n\t}", "title": "" }, { "docid": "d90baf519e88f43b299767d3fc60faee", "score": "0.503926", "text": "public void setEndTime(java.util.Calendar param){\n \n if (param != null){\n //update the setting tracker\n localEndTimeTracker = true;\n } else {\n localEndTimeTracker = true;\n \n }\n \n this.localEndTime=param;\n \n\n }", "title": "" }, { "docid": "1e345a7e06d5752a88e293db1a904dac", "score": "0.5016293", "text": "public void setExpectedNextSnapshotScheduleTime(java.util.Date expectedNextSnapshotScheduleTime) {\n this.expectedNextSnapshotScheduleTime = expectedNextSnapshotScheduleTime;\n }", "title": "" }, { "docid": "d24aca3f38b5206fc160a34270313b3f", "score": "0.4995141", "text": "private void setEveryDay() {\r\n if (stringAfterEvery.equalsIgnoreCase(DAY)) {\r\n everyDay = true;\r\n }\r\n }", "title": "" }, { "docid": "51248bc79526b4534f56ad3ec591d035", "score": "0.49842298", "text": "public void setSchedule(boolean p_schedule) {\n\t\tm_simVars.schedule = p_schedule;\n\t}", "title": "" }, { "docid": "5e79b48cab98052242624e074c959692", "score": "0.49811584", "text": "public Date getNexttrialtime() {\n return nexttrialtime;\n }", "title": "" }, { "docid": "edb9eeca77d2100ad5e29a5c7aee9d16", "score": "0.49599656", "text": "@Test\n\tpublic void scheduleTaskRecurring() throws Exception {\n\t\ttaskScheduler.scheduleRecurringTask(testTask, taskOwner,\n\t\t\t\tSystem.currentTimeMillis(), 50);\n\t}", "title": "" }, { "docid": "67596b83bdda3569b76d069c3db0f033", "score": "0.4951794", "text": "public long getScheduleNumber();", "title": "" }, { "docid": "f96b5b56042f7b4de12ce55777897ae2", "score": "0.49489605", "text": "public void setDay(int newDay){\n this.day = newDay;\n }", "title": "" }, { "docid": "280ecefc38ee39817476f84babc0a6d0", "score": "0.494781", "text": "public SimulationEvent(long scheduledTime) {\r\n\t\tmScheduledTime = scheduledTime;\r\n\t}", "title": "" }, { "docid": "1b8be35b6421aa3edf916a09d2a212e9", "score": "0.49371958", "text": "private int getNextSleepTime(int originalSleepTime) {\n if (deferAction) {\n deferAction = false;\n return 1000;\n } else {\n return originalSleepTime;\n }\n }", "title": "" }, { "docid": "759fe23885cf8e249760c47c5e4cd919", "score": "0.49370462", "text": "public void setScheduling(int scheduling) {\n this.scheduling = scheduling;\n }", "title": "" }, { "docid": "56700e3bf51d95e705541a73aa633707", "score": "0.49366286", "text": "public void skipDay() {\n\t\tbusinessTime.forward(Duration.ofDays(1));\n\t}", "title": "" }, { "docid": "04bb4b1305f40e8df7223c3544bc10e9", "score": "0.49364546", "text": "public void newDay() {\n if(isBurning()){\n day++;\n }if(day > 2){\n burnt = true;\n }\n }", "title": "" }, { "docid": "7a3dc772d040a95ead4f2e8313763952", "score": "0.49344864", "text": "@Override\n public void shedulePeriodicSync() {\n }", "title": "" }, { "docid": "3827570e7071b2d9174ced18a1fe60ee", "score": "0.49344274", "text": "default public long getInitialSchedule() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "69736053050f7853f92f542bc764474b", "score": "0.4934414", "text": "private void immedateTestAlarmSchedule() {\n \t\tMutableDateTime time = new MutableDateTime();\n \t\ttime.addSeconds( 6 );\n \n \t\t// Make an alarm with that time.\n \t\tAlarm alarm = new Alarm( time );\n \t\talarm.setId( 1 );\n \t\tthis.manager.add( alarm );\n \t\tlong scheduleTime = alarm.getNextMillis( this.getNow() );\n \n \t\t// Make pending intent.\n \t\tIntent intent = new Intent(this, AlarmReceiver.class);\n \t\tintent.putExtra( \"alarm_id\", alarm.getId() );\n \t\tPendingIntent pi = PendingIntent.getBroadcast( this, -1, intent, PendingIntent.FLAG_UPDATE_CURRENT );\n \n \t\t// Schedule alarm.\n \t\tAlarmManager androidAM = (AlarmManager) getSystemService( Context.ALARM_SERVICE );\n \t\tandroidAM.set( AlarmManager.RTC_WAKEUP, scheduleTime, pi );\n \t}", "title": "" }, { "docid": "665df41561e8f280f3c0fbe0b078945e", "score": "0.49270004", "text": "private void setEndTimeNow() {\n\t\tif (this.endedAt == null) {\n\t\t\tthis.endedAt = currentTime();\n\t\t} else {\n\t\t\tthrow new RuntimeException(\"Cannot set end time of an already ended job.\");\n\t\t}\n\t}", "title": "" }, { "docid": "54e3217db4f6d59aca2514289dee1b22", "score": "0.49264586", "text": "private void setEndTime() throws TaskDuringSleepTimeException {\n endTime = startTime.plusHours(duration);\n if (isClashWithSleep()) {\n throw new TaskDuringSleepTimeException();\n }\n }", "title": "" }, { "docid": "224953c6209d6777fcc038a220156b29", "score": "0.49242294", "text": "public void setNextMaintenanceWindowStartTime(java.util.Date nextMaintenanceWindowStartTime) {\n this.nextMaintenanceWindowStartTime = nextMaintenanceWindowStartTime;\n }", "title": "" }, { "docid": "a0f416ad1a6e81abd9a58739cbc948f1", "score": "0.4922159", "text": "public void setDayBeforeNextState( final Integer dayBeforeNextState ) {\n this.dayBeforeNextState = dayBeforeNextState;\n }", "title": "" }, { "docid": "f67320205cfe8f8516edc2c8024e452f", "score": "0.49221382", "text": "private void schedule()\n {\n if(!JobManager.instance().getAllJobRequestsForTag(Constant.TAG).isEmpty())\n { return; }\n\n JobRequest.Builder jobBuilder = new JobRequest.Builder(Constant.TAG);\n //Schedule between 12:00 AM and 01:00 AM\n DailyJob.schedule(jobBuilder,\n TimeUnit.HOURS.toMillis(0), TimeUnit.HOURS.toMillis(1));\n }", "title": "" }, { "docid": "8aed1f44eca0e413771a778656546617", "score": "0.4914039", "text": "public void setTimeReminder(final long seconds, final int countTimes){\n timeReminderCounter++;\n radio10.setEnabled(false);\n radio20.setEnabled(false);\n radioMinute.setEnabled(false);\n txtReminderCount.setEnabled(false);\n btnBreakReminder.setEnabled(false);\n btnBreakReminder.setAlpha(0.6f);\n btnStop.setEnabled(true);\n btnStop.setAlpha(1f);\n Log.i(\"\",\"timeReminder: \"+timeReminderCounter );\n Log.i(\"\",\"countTimes: \"+countTimes );\n\n if (timeReminderCounter<=countTimes) {\n //countDownTimer is called as notification that tells us when the task is done\n mCountDownTimer= new CountDownTimer(seconds * 1000, 1000) {\n\n @Override\n public void onTick(long millisUntilFinished) {\n Log.i(\"\",\"millis: \"+millisUntilFinished);\n }\n\n @Override\n public void onFinish() {\n if (!requestToExit) {\n makeVibration();\n setTimeReminder(seconds, countTimes);\n }\n }\n }.start();\n }else{\n reset();\n }\n }", "title": "" }, { "docid": "74ff6f3d37ae820dea794603af84e8c5", "score": "0.48992157", "text": "public synchronized void setDeadline()\n\t{\n\t\ttry {\n\t\tWebActionUtil.waitForElement(setDeadlineBtn, \"SetDeadline\", 20);\n\t\tWebActionUtil.clickOnWebElement(setDeadlineBtn, \"Setdeadline\", \"Calender not visible\");\n\t\t\n\t\t}\n\t\tcatch (Exception e) {\n\n\t\t\tWebActionUtil.error(e.getMessage());\n\t\t\tWebActionUtil.fail(\"Calender not visible\");\n\t\t\tAssert.fail(\"Calender not visible\");\n\t\t}\n\t}", "title": "" }, { "docid": "145c4cacab68b868782f5922b83f83c7", "score": "0.48860872", "text": "public void updateLunchEnd(){\n \tlunchEndEdit.setTime(thirdtime.time());\n }", "title": "" }, { "docid": "1281331b17d4552915888f9fef9c4058", "score": "0.4884641", "text": "private DateTime getNextDayStart(DateTime now){\n\t\tMutableDateTime mu = now.toMutableDateTime();\n\t\tmu.addDays(1);\n\t\tmu.setHourOfDay(6);mu.setMinuteOfHour(0);\n\t\treturn mu.toDateTime();\n\t}", "title": "" }, { "docid": "08ab3f5163ef8fb914ff87600c0d6362", "score": "0.48823732", "text": "@Scheduled(cron =\"0 15 9 * * ?\")\n\tpublic void taskCycle() {\n}", "title": "" }, { "docid": "7531d2a942d364020570aa494f460c2a", "score": "0.4879369", "text": "public void setTimeToNow() {\n\t\tlastUpdateTime.setToNow();\n\t\tmDbHelper.setTime(lastUpdateTime.toMillis(false));\n\t}", "title": "" }, { "docid": "2903f9160b631b50fe3fbec678d09b01", "score": "0.486677", "text": "private void setLastSyncTime() {\n\t\tLogs.i(\"SyncDownService\", \"Update the last sync time to now.\");\n\n\t\tSharedPreferences sharedPrefs = mContext.getSharedPreferences(\"NexusPad\", Context.MODE_PRIVATE);\n\t\tEditor editor = sharedPrefs.edit();\n\t\teditor.putLong(LAST_SYNC_TIME_PREFKEY, DateUtil.now().getTime() - 60000); // Now minus 1 minute\n\t\teditor.commit();\n\t}", "title": "" }, { "docid": "03c5536aa9fd53950fcb6628f42c9b01", "score": "0.4851622", "text": "private void scheduleTask() {\n final String DEBUG_HEADER = \"scheduleTask(): \";\n if (log.isDebug2()) log.debug2(DEBUG_HEADER + \"Starting...\");\n\n Cron cron = (Cron) LockssDaemon.getManager(LockssDaemon.CRON);\n cron.addTask(new FetchTimeExporter(getDaemon()).getCronTask());\n if (log.isDebug3())\n log.debug3(DEBUG_HEADER + \"FetchTimeExporter task added to cron.\");\n\n isExporterTaskScheduled = true;\n if (log.isDebug2()) log.debug2(DEBUG_HEADER + \"isExporterTaskScheduled = \"\n\t+ isExporterTaskScheduled);\n }", "title": "" }, { "docid": "4c1f347a89b3cdab949f4788e9ad16c4", "score": "0.48440188", "text": "protected void remoteUpdateSchedule() {\n\r\n if (database == null || raceID==0) return;\r\n\r\n if (flagUpdateSchedule < 0) loadSchedule();\r\n\r\n if (flagUpdateSchedule < nSchedule) sendSchedule();\r\n\r\n }", "title": "" }, { "docid": "e3251419241ad929f381b4353c7f9185", "score": "0.4842864", "text": "public void setSchedules(int[] schedule,\r\n\t\t\tArrayList<Task> tasksToBeScheduled,\r\n\t\t\tArrayList<Task> tasksAlreadyScheduled, int currentTime) {\r\n\t\t\r\n\t\tQueue<Task> tasksByArrivalTime = new LinkedList<Task>();\r\n\t\tfor (int t = 0; t < schedule.length; t++) {\r\n\t\t\tfor (int taskIndex = 0; taskIndex < tasksToBeScheduled.size(); taskIndex++) {\r\n\t\t\t\tTask atask = tasksToBeScheduled.get(taskIndex);\r\n\t\t\t\tif (atask.getArrivalTime() == t) {\r\n\t\t\t\t\ttasksByArrivalTime.add(atask);\r\n\t\t\t\t\ttasksToBeScheduled.remove(taskIndex);\r\n\t\t\t\t\ttaskIndex--;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\twhile (currentTime < schedule.length) {\r\n\t\t\t\r\n\t\t\t//filter by if tasks on queue are too late or if it's out of scope\r\n\t\t\twhile (tasksByArrivalTime.isEmpty() == false\r\n\t\t\t\t\t&& tasksByArrivalTime.peek().getArrivalTime() <= currentTime &&(tasksByArrivalTime.peek().getDeadline()\r\n\t\t\t\t\t\t\t- tasksByArrivalTime.peek().getDuration() + 2 <= currentTime || tasksByArrivalTime\r\n\t\t\t\t\t\t\t.peek().getDuration() + currentTime - 1 >= schedule.length)) {\r\n\t\t\t\ttasksByArrivalTime.remove();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (tasksByArrivalTime.isEmpty() || tasksByArrivalTime.peek().getArrivalTime() > currentTime) {\r\n\t\t\t\tschedule[currentTime] = -1;\r\n\t\t\t\tcurrentTime++;\r\n\t\t\t} else { // task exists and fits\r\n\r\n\t\t\t\tTask currentTask = tasksByArrivalTime.poll();\r\n\t\t\t\twhile (currentTask.getTimeRemaining() > 0) {\r\n\t\t\t\t\tschedule[currentTime] = currentTask.getID();\r\n\t\t\t\t\tcurrentTask.decrementTimeRemaining();\r\n\t\t\t\t\tcurrentTime++;\r\n\t\t\t\t}\r\n\t\t\t\ttasksAlreadyScheduled.add(currentTask);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tsuper.allPossibleSchedules.add(new Schedule(schedule,\r\n\t\t\t\ttasksAlreadyScheduled));\r\n\t}", "title": "" }, { "docid": "223407047b1a56bd43ae993e583c1d02", "score": "0.48318857", "text": "public void newDay(){\n\t\tthis.nm.addLine(\"Ended day: \"+this.day);\n\t\tif(this.gf.currentMoney > this.gf.money[this.day%7]){\n\t\t\tthis.nm.addBonus(\"More money than yesterday!\");\n\t\t}\n\t\tthis.day++;\n\t\tthis.hour = 9;\n\t\tthis.minute = 0;\n\t\t\n\t\tText.data.setValue(\"Money\", \"\"+this.gf.getMoney());\n\t\tint[] pdays = this.gf.money;\n\t\tString pd = \"\";\n\t\tfor(int i = 0; i < pdays.length; i++){\n\t\t\tpd = pd + pdays[i] + \",\";\n\t\t}\n\t\tpd = pd.substring(0, pd.length() - 1);\n\t\tText.data.setValue(\"Pdays\", pd);\n\t}", "title": "" }, { "docid": "219f112e7a2d98ce3786ca85e0798a2c", "score": "0.48244956", "text": "void setModelEndTime(int x);", "title": "" }, { "docid": "717c862c7eda9f788d4494bcdd639e54", "score": "0.48224768", "text": "public void setDeliveryTime(Date value) {\r\n hDeliveryTime = value;\r\n flagDeliveryTimeAvailable = true;\r\n }", "title": "" }, { "docid": "ab9f74e2dd6ab3fd13aa40e3a69a127e", "score": "0.48222673", "text": "public void setSchedule_endtime(java.util.Calendar schedule_endtime) {\n this.schedule_endtime = schedule_endtime;\n }", "title": "" }, { "docid": "6d11a740f3ef9bf52ea70a2b79961926", "score": "0.48196647", "text": "public void setPnPConfigurationTime(int value) {\n this.pnPConfigurationTime = value;\n }", "title": "" }, { "docid": "528fcdcba1deb54a7565f08f2ec2bea6", "score": "0.48088387", "text": "protected void scheduleNextRolloverCheck ()\n {\n Calendar cal = Calendar.getInstance();\n \n // schedule the next check for the next hour mark\n long nextCheck = (1000L - cal.get(Calendar.MILLISECOND)) +\n (59L - cal.get(Calendar.SECOND)) * 1000L +\n (59L - cal.get(Calendar.MINUTE)) * (1000L * 60L);\n \n IntervalManager.register(this, nextCheck, null, false);\n }", "title": "" }, { "docid": "4c45de2d3cfeb28692121d13b1d1d370", "score": "0.48064336", "text": "public void setTimer(long newTime) {\n this.timer += newTime;\n }", "title": "" }, { "docid": "218a544310d1d77ade1ca1e8af0a2352", "score": "0.4800342", "text": "public void increment() {\n\t\tObject oldCalendar = _calendar.clone();\n\t\t_calendar.add(Calendar.MONTH, 1);\n\t\tObject newCalendar = _calendar.clone();\n\t\tEventGenerator.firePropertyChangeEvent(this, _listeners, \"Calendar\", oldCalendar, newCalendar);\n\t}", "title": "" }, { "docid": "e48ff80e1ae87f07a1e04e3cf7d7738d", "score": "0.47997555", "text": "public void afterPropertiesSet() throws Exception {\n setCronExpression(getSystemCronExpression());\n setStartTime(getCronStartTime());\n super.afterPropertiesSet();\n }", "title": "" }, { "docid": "20eab4cbe2256d3dbbb530e525d71759", "score": "0.4793639", "text": "public final void setScheduledEventName(java.lang.String scheduledeventname)\n\t{\n\t\tsetScheduledEventName(getContext(), scheduledeventname);\n\t}", "title": "" }, { "docid": "122594a32f3bdfb2e86fd7c365f4065e", "score": "0.47913522", "text": "public void setOfficeScheduleId(long officeScheduleId);", "title": "" }, { "docid": "31b05775af019ca9cd50ce14239dbe8e", "score": "0.4788726", "text": "public void setnextStartEndDate() {\n int month, year;\n String[] dateSplit;\n String nextDate;\n if (!startDate.equals(\"\")) {\n dateSplit = startDate.split(\"/\");\n month = Integer.parseInt(dateSplit[0]);\n year = Integer.parseInt(dateSplit[2]);\n\n if (month == 12) {\n month = 1;\n year = year + 1;\n tvMonthTitle.setText(contants2.getMonth3Letter(month - 1) + \" \" + year);\n } else {\n month = month + 1;\n tvMonthTitle.setText(contants2.getMonth3Letter(month - 1) + \" \" + year);\n }\n\n String formattedMonth = month + \"\";\n formattedMonth = formattedMonth.length() > 1 ? formattedMonth : \"0\" + formattedMonth;\n nextDate = dateSplit[1] + \"/\" + formattedMonth + \"/\" + year;\n setStartEndDates(nextDate);\n }\n\n }", "title": "" }, { "docid": "05b6aab51de570f7691d294a73ae9b37", "score": "0.47866544", "text": "public void setScheduled(boolean isScheduled) {\n this.isScheduled = isScheduled;\n }", "title": "" }, { "docid": "3b4139294353c8850fe1b5829b3f4e5a", "score": "0.4783072", "text": "private void setAlarmForUpComingDay(long finishedReminderTimeInMillis, int alarmID,String itemId) {\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(finishedReminderTimeInMillis);\n\n calendar.set(Calendar.DAY_OF_MONTH,calendar.get(Calendar.DAY_OF_MONTH)+1);\n\n //**** setting the alarm\n setAlarm(calendar.getTimeInMillis(),alarmID,itemId);\n }", "title": "" }, { "docid": "b6d2f6b22bd9fedec66c10c191713a8e", "score": "0.4777007", "text": "private void setTime(int value) {\n \n time_ = value;\n }", "title": "" }, { "docid": "b6d2f6b22bd9fedec66c10c191713a8e", "score": "0.4777007", "text": "private void setTime(int value) {\n \n time_ = value;\n }", "title": "" }, { "docid": "b6d2f6b22bd9fedec66c10c191713a8e", "score": "0.4777007", "text": "private void setTime(int value) {\n \n time_ = value;\n }", "title": "" }, { "docid": "b6d2f6b22bd9fedec66c10c191713a8e", "score": "0.4777007", "text": "private void setTime(int value) {\n \n time_ = value;\n }", "title": "" }, { "docid": "b6d2f6b22bd9fedec66c10c191713a8e", "score": "0.4777007", "text": "private void setTime(int value) {\n \n time_ = value;\n }", "title": "" }, { "docid": "b6d2f6b22bd9fedec66c10c191713a8e", "score": "0.4777007", "text": "private void setTime(int value) {\n \n time_ = value;\n }", "title": "" }, { "docid": "2edc69ba07153cc8bf63fa3877d82840", "score": "0.4776313", "text": "public void setDay( int newDay )\n\t{\n\t\tif( (newDay < 1) || (newDay > 31) )\n\t\t{//The new number is out of bounds, throw exception.\n\t\t\tthrow new IllegalArgumentException( \"setDay argument, \" + newDay + \", should be between 1 and 31 inclusive.\" );\n\t\t}\n\t\tday = newDay;\n\t}", "title": "" }, { "docid": "360fdb2d03967225d78e048ce09bf3b5", "score": "0.47726375", "text": "@Test\n public void nextScheduleTimeTz()\n {\n {\n Instant lastScheduleTime1 = instant(\"2016-02-03 00:00:00 +0900\");\n assertThat(\n newScheduler(\"15:00\", \"Asia/Tokyo\").nextScheduleTime(lastScheduleTime1),\n is(ScheduleTime.of(\n instant(\"2016-02-03 01:00:00 +0900\"),\n instant(\"2016-02-03 01:15:00 +0900\"))));\n }\n }", "title": "" }, { "docid": "3a30194381f0d11f43e463c1aef6269b", "score": "0.47698808", "text": "public int getScheduleDay();", "title": "" }, { "docid": "3edbbebeae886a5537c9ac44c0d62f43", "score": "0.47698015", "text": "public interface Schedule {\n\n /**\n * Indicates at what time the next execution is scheduled. A Java timestamp is returned, unless\n * there is no next execution time, in which case <code>null</code> is returned.\n * @return a Java timestamp specifying the next execution time\n */\n Long getNextExecutionTime();\n}", "title": "" }, { "docid": "a54dffc10ce8787f26668e0b7cd6c55c", "score": "0.4763269", "text": "public static void updateNextAlarm(Context context) {\n AlarmInstance nextAlarm = null;\n ContentResolver cr = context.getContentResolver();\n String activeAlarmQuery = AlarmInstance.ALARM_STATE + \"<\" + AlarmInstance.FIRED_STATE;\n for (AlarmInstance instance : AlarmInstance.getInstances(cr, activeAlarmQuery)) {\n if (nextAlarm == null || instance.getAlarmTime().before(nextAlarm.getAlarmTime())) {\n nextAlarm = instance;\n }\n }\n AlarmNotifications.broadcastNextAlarm(context, nextAlarm);\n }", "title": "" }, { "docid": "6b16e6dffd6277b78332ca7369261c5f", "score": "0.4759334", "text": "public void schedule (long when)\n {\n\tif (when <= 0)\n\t{\n\t throw new IllegalArgumentException (\"bad when: \" + when);\n\t}\n\n\tcancel ();\n\n\tsynchronized (TheQueue)\n\t{\n\t synchronized (this)\n\t {\n\t\tmyScheduledTime = System.currentTimeMillis () + when;\n\t\tmyIsActive = true;\n\t\tTheQueue.insert (this);\n\t\tTheQueue.notifyAll ();\n\t }\n\t}\n }", "title": "" }, { "docid": "5c20da1a969380707d3dcc26e3193f4f", "score": "0.4758075", "text": "private void setUpdateAlarm() {\n\t\tAlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n\t\tif (updateIntent != null) {\n\t\t\tam.cancel(updateIntent);\n\t\t}\n\t\tIntent intent = createProjectActionIntent(PROJECT_UPDATE_ACTION);\n\t\tupdateIntent = PendingIntent.getService(this, 0, intent, 0);\n\t\t// Set the trigger time to the next 12am occurrence (today or tomorrow)\n\t\tlong triggerAtTime = obtainNextOcurranceOf(0, 0);\n\t\t// Interval of 24hrs\n\t\tlong interval = 24L * 60L * 60L * 1000L;\n\t\tam.setRepeating(AlarmManager.ELAPSED_REALTIME, triggerAtTime, interval,\n\t\t\t\tupdateIntent);\n\t}", "title": "" }, { "docid": "4f92d34edbdee975e9e7f40d942de915", "score": "0.47557622", "text": "DayTime(int value){\n\t\tthis.value = value;\n\t}", "title": "" }, { "docid": "7122b257324fa7ee8eeccaeb5ef6c50a", "score": "0.47537723", "text": "@Override\n\tpublic void setTimeMax(long newTimeMax) {\n\t\tif (TickDynamicMod.debugTimer)\n\t\t\tTickDynamicMod.logTrace(name + \": setTimeMax: \" + newTimeMax);\n\t\ttimeMax = newTimeMax;\n\t}", "title": "" }, { "docid": "0d63fa9b51448c587f8a04179fcf8c4b", "score": "0.47535136", "text": "private void resetTime(boolean max) {\n if (max) {\n calendar.set(GregorianCalendar.HOUR_OF_DAY, calendar.getMaximum(GregorianCalendar.HOUR_OF_DAY));\n calendar.set(GregorianCalendar.MINUTE, calendar.getMaximum(GregorianCalendar.MINUTE));\n calendar.set(GregorianCalendar.SECOND, calendar.getMaximum(GregorianCalendar.SECOND));\n calendar.set(GregorianCalendar.MILLISECOND, calendar.getMaximum(GregorianCalendar.MILLISECOND));\n } else {\n calendar.set(GregorianCalendar.HOUR_OF_DAY, 0);\n calendar.set(GregorianCalendar.MINUTE, 0);\n calendar.set(GregorianCalendar.SECOND, 0);\n calendar.set(GregorianCalendar.MILLISECOND, 0);\n }\n }", "title": "" } ]
fa9be70ced5a9ae693a06e53662408a8
This returns the session state value.
[ { "docid": "ebb1b92b3967bb8b2a06d6a2f1de5a11", "score": "0.0", "text": "@Override\n protected void doProcess(CamelMediationExchange exchange) throws Exception {\n\n if (handleOptionsRequest(exchange)) { return; }\n\n CamelMediationMessage in = (CamelMediationMessage) exchange.getIn();\n CamelMediationMessage out = (CamelMediationMessage) exchange.getOut();\n\n MediationState state = in.getMessage().getState();\n\n String sessionStateStr = \"NA\";\n RPAuthnContext authnContext = (RPAuthnContext) state.getLocalVariable(AUTHN_CTX_KEY);\n if (authnContext != null) {\n // TODO: Access session ?\n State sessionState = authnContext.getRPSessionState();\n if (sessionState != null) {\n sessionStateStr = sessionState.getValue();\n }\n }\n\n out.setMessage(new MediationMessageImpl(UUIDGenerator.generateJDKId(),\n null,\n sessionStateStr,\n \"application/html\",\n null,\n null,\n in.getMessage().getState()));\n\n exchange.setOut(out);\n\n }", "title": "" } ]
[ { "docid": "a882a3c15908b78f7179974299200562", "score": "0.76105773", "text": "public String getstate() {\n return (String)ensureVariableManager().getVariableValue(\"state\");\n }", "title": "" }, { "docid": "1275a2f1a1ff2221a060c2202ad507e1", "score": "0.7018779", "text": "@java.lang.Override public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "1275a2f1a1ff2221a060c2202ad507e1", "score": "0.7018779", "text": "@java.lang.Override public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "8e9e09064d8e01eddb6da57d8ed8413d", "score": "0.699676", "text": "@java.lang.Override public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "8e9e09064d8e01eddb6da57d8ed8413d", "score": "0.699676", "text": "@java.lang.Override public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "78bcd691b155ac8401a51b668fccecd4", "score": "0.6963272", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "3c99e47df94623251df4816ab2e4a0bc", "score": "0.69088626", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "6e51dce9899fe6b99303ec3070db3136", "score": "0.6904284", "text": "public int currentState() {\n this.lock.readLock().lock();\n int state = this.state;\n this.lock.readLock().unlock();\n\n return state;\n }", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.6893268", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "62e7bd02bd0b4eeff2a9865286b13a9b", "score": "0.688717", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "ee7430730717ed78233a4a0a1d5f0784", "score": "0.6858637", "text": "public String getState() {\r\n\t\treturn this.state; \r\n\t}", "title": "" }, { "docid": "379586b77680bfe9739fcaf80e47ee4c", "score": "0.6845821", "text": "public String getState()\n\t{\n\t\treturn state;\n\t}", "title": "" }, { "docid": "379586b77680bfe9739fcaf80e47ee4c", "score": "0.6845821", "text": "public String getState()\n\t{\n\t\treturn state;\n\t}", "title": "" }, { "docid": "1e954d8e9737f64c6afbd20e0de3b976", "score": "0.6842308", "text": "public String getState() {\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "873a8d155363cab93e6cd06de5ad8fdf", "score": "0.683205", "text": "public String getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.683048", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.683048", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.68295443", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.68295443", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.68295443", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.68295443", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.68295443", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.68295443", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.68295443", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.68295443", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "57949c978b6b497d53f3179c703d5fe3", "score": "0.68285644", "text": "public String getState() {\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "41ef7520d97d0814fbb5307497e95b61", "score": "0.6819916", "text": "public String state() {\n return state;\n }", "title": "" }, { "docid": "dc663ab33ebe4ab3dc6fa788fa1261cc", "score": "0.68111575", "text": "public String getState()\r\n {\r\n return this._state;\r\n }", "title": "" }, { "docid": "b6f2df605bb648a79df2d9a4068fa889", "score": "0.67851543", "text": "public Long state() {\n return state;\n }", "title": "" }, { "docid": "443d866904b4057a772c90996b8e0c54", "score": "0.67807126", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "15c3e716a0a4966c779326b5fbdeabe8", "score": "0.6776717", "text": "public String state() {\n return this.state;\n }", "title": "" }, { "docid": "15c3e716a0a4966c779326b5fbdeabe8", "score": "0.6776717", "text": "public String state() {\n return this.state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.67705345", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "7c37e93a32c77d03b25e871f1eaec50c", "score": "0.67650235", "text": "public Long getState() {\n return state;\n }", "title": "" }, { "docid": "7c37e93a32c77d03b25e871f1eaec50c", "score": "0.67650235", "text": "public Long getState() {\n return state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.67509484", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.67509484", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "e15d310e7d9ae1a11bcc871912d58b6d", "score": "0.6748404", "text": "public String getState()\n {\n return this.state;\n }", "title": "" }, { "docid": "52ab7ddeab86dc4ffb0affe0391cb2f6", "score": "0.6746848", "text": "public String getUserState() {\n\t\tif(userState==null)\n\t\t\treturn \"F\";\n\t\treturn userState;\n\t}", "title": "" }, { "docid": "8fce0bc790c2b5fbb29cc51dc7eb64ed", "score": "0.6746509", "text": "public Integer getState() {\n\treturn new Integer(state) ;\n }", "title": "" }, { "docid": "6ac38cd1cdb5d531363df622eb35d23e", "score": "0.6738513", "text": "public java.lang.String getState () {\r\n\t\treturn _state;\r\n\t}", "title": "" }, { "docid": "4f2435db6fecafc3586250f5d3735d2c", "score": "0.6720163", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "04a6fbcd5a97c68e577171b0523f0aed", "score": "0.67188877", "text": "public int getstate() {return state;}", "title": "" }, { "docid": "90d4bc0b11e80cb437001523882df8a4", "score": "0.6716439", "text": "public YangString getStateValue() throws JNCException {\n return (YangString)getValue(\"state\");\n }", "title": "" }, { "docid": "a9510c565c1e0e4c7f93012fa547b6c5", "score": "0.6696502", "text": "public java.lang.String getState () {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "42ed790df5e729089c38e6580acffb57", "score": "0.66945285", "text": "public java.lang.String getState() {\n\treturn state;\n}", "title": "" }, { "docid": "10e69ca48710ff8a35243398bdf7b07c", "score": "0.6689351", "text": "public int getState()\n {\n return state;\n }", "title": "" }, { "docid": "d213b3b6eaeee12698c0311b9a8a5754", "score": "0.6678696", "text": "public T getState(){\n\t\treturn state;\n\t}", "title": "" }, { "docid": "4b85133bc558bad376e22c0c313836b0", "score": "0.66751695", "text": "public int getState() {\r\n return this.state;\r\n }", "title": "" }, { "docid": "8c25293e7c0472105f428261f115850b", "score": "0.66725075", "text": "public int getState(){\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "7b35c4722d69b746b1d896171de1b7c5", "score": "0.66718185", "text": "public int getState()\n {\n return state;\n }", "title": "" }, { "docid": "faa256a94ecc17235cf4e3992e623549", "score": "0.66631466", "text": "public java.lang.String getState() {\n return state;\n }", "title": "" }, { "docid": "faa256a94ecc17235cf4e3992e623549", "score": "0.66631466", "text": "public java.lang.String getState() {\n return state;\n }", "title": "" }, { "docid": "a6464ebd88507081fce84ad2dda45596", "score": "0.66604006", "text": "public UserState getState()\n {\n return state;\n }", "title": "" }, { "docid": "0be0d8438097c8182385fe97cfe16b7c", "score": "0.6659025", "text": "public static State GetState() {\n return state_code;\n }", "title": "" }, { "docid": "330c9a3d2bf9488856becfb60f94b38f", "score": "0.66489315", "text": "public int getState(){\r\n\t\treturn this.state;\r\n\t}", "title": "" }, { "docid": "51b6021ad81048b7bd95f879ed728dcf", "score": "0.6648875", "text": "public int getState() {\n return state_;\n }", "title": "" }, { "docid": "51b6021ad81048b7bd95f879ed728dcf", "score": "0.6648875", "text": "public int getState() {\n return state_;\n }", "title": "" }, { "docid": "51b6021ad81048b7bd95f879ed728dcf", "score": "0.6648875", "text": "public int getState() {\n return state_;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.66437507", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.66437507", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "295a23f8152bd5c9196dc08920562088", "score": "0.6643218", "text": "public int getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "295a23f8152bd5c9196dc08920562088", "score": "0.6643218", "text": "public int getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "295a23f8152bd5c9196dc08920562088", "score": "0.6643218", "text": "public int getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "19b691b26e7185e9a99cd51465acfa0c", "score": "0.6638906", "text": "public int state()\r\n {\r\n return currentState;\r\n }", "title": "" }, { "docid": "fde1c3f1d4b1c08a56f30ba17de95609", "score": "0.66202134", "text": "public int getState()\n\t{\n\t\treturn state;\n\t}", "title": "" }, { "docid": "652ee9486a6ad2e2fd13ebc33b0e10b9", "score": "0.6611898", "text": "public int getState() {\n \t\treturn this.state;\n \t}", "title": "" }, { "docid": "50d6c5dd262775fcf20dca81ca6fc66b", "score": "0.65894926", "text": "public int getState() {\n return state_;\n }", "title": "" }, { "docid": "50d6c5dd262775fcf20dca81ca6fc66b", "score": "0.65894926", "text": "public int getState() {\n return state_;\n }", "title": "" }, { "docid": "50d6c5dd262775fcf20dca81ca6fc66b", "score": "0.65894926", "text": "public int getState() {\n return state_;\n }", "title": "" }, { "docid": "e82e4775c70be109f38277637cb8cca0", "score": "0.6580091", "text": "public int getAtualState()\n {\n return state;\n }", "title": "" }, { "docid": "8a724b9e9fb0f62b6adcdda5ad7f20d5", "score": "0.65739167", "text": "public S getCurrentState() {\n\t\treturn this.currentState.getStateEnum();\n\t}", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.6556403", "text": "int getStateValue();", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.6556403", "text": "int getStateValue();", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.6556403", "text": "int getStateValue();", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.6556403", "text": "int getStateValue();", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.6556403", "text": "int getStateValue();", "title": "" }, { "docid": "aa1e8597c7250de6fbc0a3242bd0a4f3", "score": "0.6547153", "text": "public synchronized byte getState () { return state; }", "title": "" }, { "docid": "bdaf8f0902ea1252a5e9008eca69acbc", "score": "0.6521481", "text": "synchronized public int getState(){\n \n if(state==0) state=1;\n return state;\n }", "title": "" }, { "docid": "a294418ab6a0cf36aea9218d845eafdf", "score": "0.6504658", "text": "public int getSItState() {\n return sItState;\n }", "title": "" }, { "docid": "0767fad9ecf7d05b661be14bb55c2a6f", "score": "0.6500316", "text": "public final int getCurrentState()\r\n {\r\n return currentState.get();\r\n }", "title": "" }, { "docid": "01fb313b46053bb834fc2f86e04d18a5", "score": "0.6494363", "text": "public java.lang.String getState(){\r\n return localState;\r\n }", "title": "" }, { "docid": "26398013e20e956a254852e07b017fbe", "score": "0.64870423", "text": "public String getState() {\n return mState;\n }", "title": "" }, { "docid": "26398013e20e956a254852e07b017fbe", "score": "0.64870423", "text": "public String getState() {\n return mState;\n }", "title": "" }, { "docid": "63d67328a8d15c2c35eb83c1ee337928", "score": "0.6486295", "text": "@Override\r\n\tpublic String getState() {\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "3dbc16c4808c6b1ef7376a9edbb714c4", "score": "0.6468531", "text": "public String getState() {\n\t\treturn stateName;\n\t}", "title": "" }, { "docid": "f8008a993cae0be0e81850d42f62301a", "score": "0.6467824", "text": "public Status getState() {\n return this.state;\n }", "title": "" } ]
0242be61a63638b85ab0c7676dc8a580
Gets the style name for the notification message.
[ { "docid": "71e4eed863c6ad39d034bf63a9eda213", "score": "0.7132921", "text": "public String getStyleName() {\n return getState(false).styleName;\n }", "title": "" } ]
[ { "docid": "dfa8fcbc1b83403700aa8343fd1cb4a2", "score": "0.6852369", "text": "public String getStyle() {\n\t\treturn styleName;\n\t}", "title": "" }, { "docid": "6dd5c62ec826f8a95f822e0cfdb76fa7", "score": "0.66692084", "text": "String getStyle();", "title": "" }, { "docid": "6dd5c62ec826f8a95f822e0cfdb76fa7", "score": "0.66692084", "text": "String getStyle();", "title": "" }, { "docid": "6dd5c62ec826f8a95f822e0cfdb76fa7", "score": "0.66692084", "text": "String getStyle();", "title": "" }, { "docid": "44a396ba4a8ab5c9759ff096139db94b", "score": "0.65671504", "text": "public TextStyle getNameStyle() {\n return this.nameStyle; \n }", "title": "" }, { "docid": "7067f661505cf3f20b4042d6dcf052b8", "score": "0.6510095", "text": "public String getStyle() {\n\t\tString value = (String)getStateHelper().eval(PropertyKeys.style);\n\t\treturn value;\n\t}", "title": "" }, { "docid": "5ee71c796ca0e205cf4d193417217f9b", "score": "0.64920074", "text": "public String getStyle() {\n\t\treturn (String) getStateHelper().eval(PropertyKeys.style);\n\t}", "title": "" }, { "docid": "79644eab297964754515b70aeea5bf59", "score": "0.6485518", "text": "public String getStyleName() {\n return (String)getAttributeInternal(STYLENAME);\n }", "title": "" }, { "docid": "79644eab297964754515b70aeea5bf59", "score": "0.6485518", "text": "public String getStyleName() {\n return (String)getAttributeInternal(STYLENAME);\n }", "title": "" }, { "docid": "b84b2f3fa569a75030cb2550a4f1dda9", "score": "0.647596", "text": "public String getTitleStyle() {\n \t\treturn getAttributeAsString(\"titleStyle\");\n \t}", "title": "" }, { "docid": "087a4f58d0e7ad79c2393b49b7cdd489", "score": "0.6451991", "text": "public final String getStyle() {\r\n return (style);\r\n }", "title": "" }, { "docid": "e1362d300087a02a307770407e853cd5", "score": "0.6413664", "text": "public java.lang.String getStyle () {\r\n\t\treturn _style;\r\n\t}", "title": "" }, { "docid": "e351c82a783c86e957ec547b1a23633f", "score": "0.63639116", "text": "protected String getStyle() {\n return style != null ? style : \"\";\n }", "title": "" }, { "docid": "02c8ed0d10f65303cd3cfa40a974446f", "score": "0.63374317", "text": "public String getStyle() {\n return (String)getAttributeInternal(STYLE);\n }", "title": "" }, { "docid": "9c68569881755247923d259d1c5b24cf", "score": "0.63045543", "text": "public String getStyle() {\r\n\t\treturn style;\r\n\t}", "title": "" }, { "docid": "61c968876cc4a406022e4220fce94b5c", "score": "0.62633514", "text": "java.lang.String getMessageName();", "title": "" }, { "docid": "2e5020ab9db27946ded8f1f1e874d04b", "score": "0.62294436", "text": "public String getStyle()\n {\n return _myStyle;\n }", "title": "" }, { "docid": "82de335d9fd353ffc15bc337e993ed53", "score": "0.6063206", "text": "public static String getFoStyle(String styleName) {\n String value = UtilProperties.getPropertyValue(\"fo-styles\", styleName);\n if (value.equals(styleName)) {\n return \"\";\n }\n return value;\n }", "title": "" }, { "docid": "6a35ccc858a73e5c19f6c80115bbf2ae", "score": "0.6058568", "text": "public String getName() throws Exception{\n Style style = format.getStyle();\n String name = detail.getName();\n \n return style.getElement(name);\n }", "title": "" }, { "docid": "c59f6a2f2f5bc00ee616f5bbbd5c83f1", "score": "0.6046945", "text": "public String getStyleNo() {\n return (String)getAttributeInternal(STYLENO);\n }", "title": "" }, { "docid": "c59f6a2f2f5bc00ee616f5bbbd5c83f1", "score": "0.6046945", "text": "public String getStyleNo() {\n return (String)getAttributeInternal(STYLENO);\n }", "title": "" }, { "docid": "455889a47d9a68751168da7af00e9a4f", "score": "0.6025388", "text": "public String getErrorStyle() {\n\t\tString value = (String)getStateHelper().eval(PropertyKeys.errorStyle);\n\t\treturn value;\n\t}", "title": "" }, { "docid": "459f1cbdb866ef1e6655428582b26f91", "score": "0.6020352", "text": "public TitleStyle getTitleStyle() {\n return titleStyle.get();\n }", "title": "" }, { "docid": "1f28ceba591d8e36008d64c0350a789a", "score": "0.6006941", "text": "public String getInfoStyle() {\n\t\tString value = (String)getStateHelper().eval(PropertyKeys.infoStyle);\n\t\treturn value;\n\t}", "title": "" }, { "docid": "fd2154687a1acdf169ca28a2fc30a390", "score": "0.5968162", "text": "public java.lang.String[] getStyle() {\r\n return style;\r\n }", "title": "" }, { "docid": "70e3540ef354bc03fc34f65f47ae22c8", "score": "0.59463996", "text": "protected String getStylePrimaryName() {\n return primaryStyleName;\n }", "title": "" }, { "docid": "6a1abee6d82ba96e5f22087c4f06de00", "score": "0.59365654", "text": "public boolean getNotifyStyle(String key);", "title": "" }, { "docid": "144efd8a8cbfe70ab96e33854788ad0c", "score": "0.5882336", "text": "public String getWarnStyle() {\n\t\tString value = (String)getStateHelper().eval(PropertyKeys.warnStyle);\n\t\treturn value;\n\t}", "title": "" }, { "docid": "98a8ec532ae8b217d0b7386f31ea54d8", "score": "0.5850488", "text": "@Override\n\tpublic String getStylePath() {\n\t\treturn MessageUtil.getText(\"system.stylePath\");\n\t}", "title": "" }, { "docid": "2a76e3034468e4f647e353dbdd7a2e65", "score": "0.57500213", "text": "public String getStyleClass() {\n\t\treturn (String) getStateHelper().eval(PropertyKeys.styleClass);\n\t}", "title": "" }, { "docid": "db23029c652a684464defe0163373ea3", "score": "0.5727943", "text": "public String getStyleClass() {\n\t\tString value = (String)getStateHelper().eval(PropertyKeys.styleClass);\n\t\treturn value;\n\t}", "title": "" }, { "docid": "c5474fea74a60ccff718674a64797310", "score": "0.57246304", "text": "public String computeStyle() {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (String key : styles.keySet()) {\n\t\t\tsb.append(key).append(\": \").append(styles.get(key)).append(\";\");\n\t\t}\n\t\treturn sb.toString();\n\t}", "title": "" }, { "docid": "4f442ddfd75414644049a9682438ddb1", "score": "0.56486785", "text": "public String getStyleDescription() {\n return (String)getAttributeInternal(STYLEDESCRIPTION);\n }", "title": "" }, { "docid": "22e2d7e7247d24e6469ea0e69cf5512b", "score": "0.559676", "text": "public int getIncomingTextStyle() {\n return this.incomingTextStyle;\n }", "title": "" }, { "docid": "c0a5f0bf36ee917b77ded035f5cb2747", "score": "0.55829585", "text": "public String getFatalStyle() {\n\t\tString value = (String)getStateHelper().eval(PropertyKeys.fatalStyle);\n\t\treturn value;\n\t}", "title": "" }, { "docid": "3ed0849552192a565947b81312cbdd2b", "score": "0.55714893", "text": "public String getDialogueMessage()\n {\n try\n {\n WebElement shareDialogueBody = findFirstDisplayedElement(SHARE_DIALOGUE_BODY);\n return shareDialogueBody.getText();\n }\n catch (NoSuchElementException nse)\n {\n throw new NoSuchElementException(\"Unable to find the css \", nse);\n }\n }", "title": "" }, { "docid": "2a9c37b1e93e067c7d689ea5ad9da036", "score": "0.5515723", "text": "protected Style getStyle(int code)\n\t{\n\t\tswitch (code){\n\t\t\tcase STYLE_INFO: {\n\t\t\t\treturn Style.INFO;\n\t\t\t}\n\t\t\t\n\t\t\tcase STYLE_ALERT: {\n\t\t\t\treturn Style.ALERT;\n\t\t\t}\n\t\t\t\n\t\t\tcase STYLE_CONFIRM: {\n\t\t\t\treturn Style.CONFIRM;\n\t\t\t}\n\t\t\t\n\t\t\tdefault: return Style.INFO;\n\t\t}\n\t}", "title": "" }, { "docid": "cf6dc3e0d1f3cc158aef9ba297f4a18b", "score": "0.55108166", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"MailMessage(\" + getMessageID() + \")\";\n\t}", "title": "" }, { "docid": "6b928e3aaac16d37929d565026c51325", "score": "0.55085176", "text": "public String getDanceStyle()\r\n\t{\r\n\t\treturn this.danceStyle;\t\t\t// return value to caller\r\n\t}", "title": "" }, { "docid": "fbe07614492ea8c90214c4f9cac7ad96", "score": "0.5494054", "text": "public String getStyleAt(int index) {\n return ((Page)pages.get(index)).style;\n }", "title": "" }, { "docid": "e4380dccf935ad2df7e9310f11718861", "score": "0.54930323", "text": "public String getMessage(String key) {\n return colorMessage(getRawMessage(key));\n }", "title": "" }, { "docid": "07050f56cf3d0e02c86952164a0aa550", "score": "0.5472505", "text": "public String getFontStyle() {\r\n return getAttributeAsString(\"fontStyle\");\r\n }", "title": "" }, { "docid": "ba7b2644fc4ed141e2cff04114c4bef8", "score": "0.5460659", "text": "private String getStyle(Operation portTypeOperation) {\n try {\n if(portTypeOperation.getInput() != null) {\n List<Part> parts = portTypeOperation.getInput().getMessage().getOrderedParts(null);\n for(Part p : parts) {\n if(p.getTypeName() != null) {\n return RPC_STYLE;\n }\n }\n }\n if(portTypeOperation.getOutput() != null) {\n List<Part> parts = portTypeOperation.getOutput().getMessage().getOrderedParts(null);\n for(Part p : parts) {\n if(p.getTypeName() != null) {\n return RPC_STYLE;\n }\n }\n }\n } catch(Exception ex) {\n ex.printStackTrace();\n }\n return DOCUMENT_STYLE;\n }", "title": "" }, { "docid": "a9d362ba054a7e5ec5986adf47e44828", "score": "0.5460135", "text": "@NonNull\n public String getDrawableStyle() {\n return mDrawableStyle;\n }", "title": "" }, { "docid": "798dec2089df21c9a19f9ba1d7fa563b", "score": "0.5427363", "text": "public Color getColor() { return messageColor; }", "title": "" }, { "docid": "ba40fe7386c322b6194c87e6a2096645", "score": "0.5402186", "text": "public abstract String getStyleId();", "title": "" }, { "docid": "95203d71bc6f0032d132e93a1dd1434f", "score": "0.54003954", "text": "public String getStyleClass() {\r\n return Util.getQualifiedStyleClass(this,\r\n styleClass,\r\n CSS_DEFAULT.DEFAULT_CALENDAR,\r\n \"styleClass\", isDisabled());\r\n }", "title": "" }, { "docid": "2f60ad1fba89bc855fcd11ce01859ef1", "score": "0.53720015", "text": "java.lang.String getMsgImageName();", "title": "" }, { "docid": "11a273a6f8ab05170faec90314b9d4a8", "score": "0.5363831", "text": "public String getColorName() {\n return (String)getAttributeInternal(COLORNAME);\n }", "title": "" }, { "docid": "01c2c12dde8356c14c3b4e67fee720e6", "score": "0.5363478", "text": "public String getHintStyle() {\n \t\treturn getAttributeAsString(\"hintStyle\");\n \t}", "title": "" }, { "docid": "50e8a0090893af9487ae48167f8e26ad", "score": "0.5361219", "text": "@Override\n\tpublic String getBadge(String color) {\n\t\tif(color.equals(\"RED\")) {\n\t\t\treturn \"\\u001b[31mW \"+\"\\u001b[0m\";\n\t\t}else {\n\t\t\t\n\t\t\treturn \"\\033[32mW \"+\"\\u001b[0m\";\n\t\t}\n\t}", "title": "" }, { "docid": "bcc42b0c011db1cdada4a4ec7f68dd31", "score": "0.533789", "text": "String getNotificationStatusPrefix()\r\n {\r\n String status;\r\n if (isSystemNotification())\r\n status = \"system\";\r\n else\r\n status = \"in-app\";\r\n status += \"-notification-\";\r\n return status;\r\n }", "title": "" }, { "docid": "44b826860feac9e44f36f7e346fe82e5", "score": "0.5327409", "text": "public Style getStyle() { return style; }", "title": "" }, { "docid": "d474a5698e22c2fa82f28320e9ea7201", "score": "0.53249615", "text": "public String getName() { return szThemeName; }", "title": "" }, { "docid": "735e714076cf6c97999b8fe919c8d885", "score": "0.5274038", "text": "@Override\n public MutableStyle getStyle() {\n return this.style;\n }", "title": "" }, { "docid": "1ca5d6289ead20b05d74456afa2da14a", "score": "0.5261985", "text": "public int getIncomingImageTimeTextStyle() {\n return this.incomingImageTimeTextStyle;\n }", "title": "" }, { "docid": "bc2d1e8383a61a6b7b66f2a0b3e1d881", "score": "0.5237362", "text": "@Override\n\tpublic long getDocumentName() {\n\t\treturn _noticeShipMessage.getDocumentName();\n\t}", "title": "" }, { "docid": "7c5819f49042d94b0c807427879c26eb", "score": "0.5229747", "text": "public String getProStyleNo() {\n return (String)getAttributeInternal(PROSTYLENO);\n }", "title": "" }, { "docid": "7e7851ddae2778bff1ac4a5ab96b6c66", "score": "0.5229267", "text": "@Override\r\n\tpublic String getMessageLabel()\r\n\t{\r\n\t\treturn this.name;\r\n\t}", "title": "" }, { "docid": "5c75e061a38536c8b862708f8a01879a", "score": "0.5214996", "text": "@Override\n\tpublic String getStyleClass() {\n\t\tString styleClass = (String) getStateHelper().eval(HeaderPropertyKeys.styleClass, null);\n\n\t\treturn com.liferay.faces.util.component.ComponentUtil.concatCssClasses(styleClass, \"portal-header\");\n\t}", "title": "" }, { "docid": "c3546c83f1416b6204900982ac9a236d", "score": "0.52075875", "text": "public int getIncomingTimeTextStyle() {\n return this.incomingTimeTextStyle;\n }", "title": "" }, { "docid": "79d347648c0453706cc2601f6e262733", "score": "0.5199257", "text": "public Color getColor() {\n\t\t\t//return color;\n\t\t\tColor color = null;\n\t\t\tif (notice!=null) {\n\t\t\t\tcolor = notice.getColor();\n\t\t\t\tif (color==null) {\n\t\t\t\t\tcolor = DEFAULT_PARSER_NOTICE_COLOR;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn color;\n\t\t}", "title": "" }, { "docid": "e9cea28ae2b82b40362329029598df97", "score": "0.51992077", "text": "public int getOutcomingTextStyle() {\n return this.outcomingTextStyle;\n }", "title": "" }, { "docid": "321af3aadea883497ade279c2932ba38", "score": "0.51771605", "text": "@Override\n\tpublic String getStyleName() {\n\t\treturn Style.ColumnWidth.name;\n\t}", "title": "" }, { "docid": "e577bf421d29f463db8582148e233694", "score": "0.5175247", "text": "public static ImNodesStyle getStyle() {\n STYLE.ptr = nGetStyle();\n return STYLE;\n }", "title": "" }, { "docid": "a81d26bb09c66d71c289e2e4e13f2727", "score": "0.51651543", "text": "public int getDateHeaderTextStyle() {\n return this.dateHeaderTextStyle;\n }", "title": "" }, { "docid": "0d409b8b71f31b5aef3e64d884992ef3", "score": "0.51298684", "text": "public CellStyle getTitleStyle(short color) {\r\n/* 60 */ return this.titleStyle;\r\n/* */ }", "title": "" }, { "docid": "0636fa088629a281dab354898ff89394", "score": "0.51093096", "text": "@Override\n public String getName() {\n return Constant.messages.getString(MESSAGE_PREFIX + \"name\");\n }", "title": "" }, { "docid": "d93afcfd6db2e76b8b54afc556e890e8", "score": "0.5108014", "text": "public String getCSSFileName() {\n\t\treturn \"ReactEmailDialogPlugin.css\";\n\t}", "title": "" }, { "docid": "0161983ec52d77a58b8eba87d0ebb96a", "score": "0.5107309", "text": "java.lang.String getMessageText();", "title": "" }, { "docid": "075b3f5a0e567fac7897caf586cd66e9", "score": "0.5089374", "text": "StyleTextPropertiesContent getTextProperties();", "title": "" }, { "docid": "4618c1a8675946b5e93b083c4f206ff1", "score": "0.5080897", "text": "public NumberTextStyleElement getTextStyle(String name) {\n return mStylesBaseImpl.getTextStyle(name);\n }", "title": "" }, { "docid": "9be57954978984941a602d49f7000f59", "score": "0.5048283", "text": "public Namespace getMessageNamespace()\n {\n return _messageNamespace;\n }", "title": "" }, { "docid": "5018bf89022421ef1d2efd0510af7feb", "score": "0.50422704", "text": "public NotificationMessageFormatter getMessageFormatter() {\n return this.messageFormatter;\n }", "title": "" }, { "docid": "e8685a75b5a04c37f458f1fb5c22308c", "score": "0.5040108", "text": "public Style getStyle() {\n return paint.getStyle();\n\n }", "title": "" }, { "docid": "3d04cfd405d684a0994f9405889fc7e8", "score": "0.5039843", "text": "public int getLabelingStyle() {\n\t\treturn labelingStyle;\n\t}", "title": "" }, { "docid": "19c53fb539ec30ca7b75378258703d5e", "score": "0.5039803", "text": "public String getName() throws JMSException {\n\t\treturn topic.getTopicName();\n\t}", "title": "" }, { "docid": "57fc943f1de4426145396d5dbcabb8b3", "score": "0.50192225", "text": "public static String getContextName(StyleContext context)\n {\n StringBuffer buffer = new StringBuffer();\n buffer.append(_getLocaleString(context));\n buffer.append(_VARIANT_SEPARATOR);\n buffer.append(_getDirectionString(context));\n buffer.append(_VARIANT_SEPARATOR);\n buffer.append(_getBrowserString(context));\n buffer.append(_VARIANT_SEPARATOR);\n buffer.append(_getVersionString(context));\n buffer.append(_VARIANT_SEPARATOR);\n buffer.append(_getPlatformString(context));\n buffer.append(_getModeString(context));\n buffer.append(_VARIANT_SEPARATOR);\n\n return buffer.toString();\n }", "title": "" }, { "docid": "1cb1253a712d2366e04d2d99a9d94bc0", "score": "0.50125545", "text": "public String getMessageClass() {\n return messageClass;\n }", "title": "" }, { "docid": "6dba4fe063855330ecc8bb476a8684d1", "score": "0.50098705", "text": "@NotNull\n String getColorName();", "title": "" }, { "docid": "b909c47b3b0f327a3b437020daa355c6", "score": "0.5004718", "text": "public java.lang.String getMessageName() {\n java.lang.Object ref = messageName_;\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 messageName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "83f787adf678109b6d95320eb7bcfe38", "score": "0.5003263", "text": "private ObjectName getObjectName(Notification notification){\n ObjectName objectName = null;\n if(notification.getClass().getName().equals(\"javax.management.MBeanServerNotification\")){ //NOI18N\n MBeanServerNotification msn = (MBeanServerNotification)notification;\n //printInfo(msn);\n String canonicalName = msn.getMBeanName().getCanonicalName();\n try {\n objectName = new ObjectName(canonicalName);\n } catch(javax.management.MalformedObjectNameException ex){\n Utils.log(Level.WARNING, ex.getMessage(), ex);\n }\n }\n return objectName;\n }", "title": "" }, { "docid": "cb7711e2c1562ac6784cf460ba2968c0", "score": "0.5002878", "text": "public static String getStandardMessageId() {\n return \"[***REPLACE WITH YOUR MESSAGE ID***]\";\n }", "title": "" }, { "docid": "84ccf1f24da1c757571835f4e83713cc", "score": "0.50001293", "text": "@Override\r\n\tpublic String getName() {\r\n\t\treturn CommonFailedMessageUndertaker.class.getSimpleName();\r\n\t}", "title": "" }, { "docid": "693e6e733d4f028f9342b16ba38b9023", "score": "0.49950746", "text": "public int getStrokeStyle() {\n\t\treturn g.getStrokeStyle();\n\t}", "title": "" }, { "docid": "bf180cf4e7e7c70b7904ec6efe8a9678", "score": "0.49936816", "text": "public void setStyleName(String styleName) {\n getState().styleName = styleName;\n }", "title": "" }, { "docid": "910fa417b95608c34520acc6b18a62b8", "score": "0.49807233", "text": "java.lang.String getTheme();", "title": "" }, { "docid": "4cad335b3f7bc09db9ebe42623ff75a1", "score": "0.49793124", "text": "@Override\n public String getName() {\n return \"cancelNotification\";\n }", "title": "" }, { "docid": "fda0af30d2bbb4f52ecca2b4efdeac89", "score": "0.49779996", "text": "public ColorUIResource getWindowTitleForeground()\r\n\t\t\t{return new ColorUIResource(shadow_drkBlue);}", "title": "" }, { "docid": "80a371a7711e9cfaad558cac9b244ed8", "score": "0.49751693", "text": "public Map<String, String> getStyles()\n {\n return Collections.unmodifiableMap(getLabelDTO().getStyle());\n }", "title": "" }, { "docid": "834f41640044b295d0769c9b00fb5c7b", "score": "0.49735895", "text": "public String getLegacyMessage() {\n return ChatColor.translateAlternateColorCodes('&', configYAML.getString(node.toString()));\n }", "title": "" }, { "docid": "7f8817ae1a131f2a819efdedbca5b2d6", "score": "0.49731886", "text": "public TextStyle getDefaulStyle() {\r\n\t\treturn this.defaulStyle;\r\n\t}", "title": "" }, { "docid": "660b2c727237079aef0fd9ebe1d1d139", "score": "0.49702772", "text": "@Override\n public String getDialogueTitle()\n {\n try\n {\n WebElement shareDialogueHeader = findFirstDisplayedElement(SHARE_DIALOGUE_HEADER);\n return shareDialogueHeader.getText();\n }\n catch (NoSuchElementException nse)\n {\n throw new NoSuchElementException(\"Unable to find the css \", nse);\n }\n }", "title": "" }, { "docid": "ef5356e019b85354662ebb9842258425", "score": "0.49695355", "text": "public String getNamespace() {\r\n\t\treturn message == null ? null : message.getNamespace();\r\n\t}", "title": "" }, { "docid": "7fea36eb8d61fa0cf524b39f11b17ba8", "score": "0.49646348", "text": "public int getOutcomingImageTimeTextStyle() {\n return this.outcomingImageTimeTextStyle;\n }", "title": "" }, { "docid": "dfb0ff180ae4b6ffce6eb81ac58878d9", "score": "0.4959271", "text": "java.lang.String getClientName();", "title": "" }, { "docid": "dfb0ff180ae4b6ffce6eb81ac58878d9", "score": "0.4959271", "text": "java.lang.String getClientName();", "title": "" }, { "docid": "8949158c4bdacf136a81093994e0b770", "score": "0.49517575", "text": "public DiagnosticsTreeStyle getStyle() {\n return getStyleMember(\"style\", DiagnosticsTreeStyle.sparse);\n }", "title": "" }, { "docid": "1785dbda94ea65bb26314036959cd364", "score": "0.49453652", "text": "public int getHeaderStyleIndex() {\n return headerStyleIndex;\n }", "title": "" }, { "docid": "94045299f74c430a4ec4e4a1cd5e7590", "score": "0.49446905", "text": "public String getHoverStyle() {\n \t\treturn getAttributeAsString(\"hoverStyle\");\n \t}", "title": "" } ]
5aafd2170622624ebacb74b598c5bc4b
This method was generated by MyBatis Generator. This method returns the value of the database column class_tb.apply_state
[ { "docid": "8839f0f936668518d20332f613857d60", "score": "0.7345642", "text": "public int getApplyState() {\r\n\t\treturn applyState;\r\n\t}", "title": "" } ]
[ { "docid": "63dbfdb3cc416dc8b6e21da1a3d897b8", "score": "0.62905353", "text": "public void setApplyState(int applyState) {\r\n\t\tthis.applyState = applyState;\r\n\t}", "title": "" }, { "docid": "2574bc5d2b22029cfb12a5513c3d113c", "score": "0.6114146", "text": "public ApplyStatus getApplyStatus() {\r\n\t\t\treturn status;\r\n\t\t}", "title": "" }, { "docid": "c90042e017420c663ffa821c25e48979", "score": "0.6086397", "text": "public String getApplyClass() {\r\n\t\treturn applyClass;\r\n\t}", "title": "" }, { "docid": "333b9411a0a16c11d86eb09bd6ba788a", "score": "0.59412456", "text": "com.corkili.pa.dao.generate.protobuf.Model.State getState();", "title": "" }, { "docid": "eae7c7ed5bd3c52b41fc2d45ca1e4bcc", "score": "0.5886995", "text": "public MigrationState state() {\n return this.state;\n }", "title": "" }, { "docid": "a91b77018b28a32e5da32c74a89a67d8", "score": "0.57643974", "text": "public String getApplyTime() {\r\n\t\treturn applyTime;\r\n\t}", "title": "" }, { "docid": "99b560aaa36a4a1151ccc3840115831a", "score": "0.57374823", "text": "public double getApplyTime() {\n\t\treturn applyTime;\n\t}", "title": "" }, { "docid": "4daf460a9573ff1377d454dc84d47aa6", "score": "0.5670434", "text": "@Override\n\tpublic String getState() {\n\t\treturn model.getState();\n\t}", "title": "" }, { "docid": "84e2d51bff5d06de94a7e7dade380b86", "score": "0.5666445", "text": "public Integer getState();", "title": "" }, { "docid": "fdf48a91a2c8bf118ad06c9a5cc88dc8", "score": "0.5637433", "text": "@Override\n\tpublic String getState()\n\t{\n\t\treturn model.getState();\n\t}", "title": "" }, { "docid": "c944deaa7301e49eb2f14a1f994c2868", "score": "0.5636949", "text": "public int getCurrState(){\n return myCurrState;\n }", "title": "" }, { "docid": "dcc169472d404f79fa10939b675dfe55", "score": "0.5616819", "text": "public int getState();", "title": "" }, { "docid": "c613b38c27cf2555cb64c0e0b78b931c", "score": "0.55969834", "text": "public boolean getApplyStateTax()\r\n {\r\n return _applyStateTax;\r\n }", "title": "" }, { "docid": "634000e51eaf9ba797dcc5c66f990ec9", "score": "0.55650216", "text": "public String getState(){\n \n return this.State;\n \n }", "title": "" }, { "docid": "9e5b97d373aae0540a04eed7513f51c0", "score": "0.55325365", "text": "public int getCommitState() {\n return db.getCommitState();\n }", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.5521841", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.5521841", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.5521841", "text": "int getState();", "title": "" }, { "docid": "912f82f71e8257a9ece091310a842c06", "score": "0.54760313", "text": "public int getState(){\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "e97eb11384c41ddf5836859dcb0a1ccd", "score": "0.5468585", "text": "public com.corkili.pa.dao.generate.protobuf.Model.State getState() {\n @SuppressWarnings(\"deprecation\")\n com.corkili.pa.dao.generate.protobuf.Model.State result = com.corkili.pa.dao.generate.protobuf.Model.State.valueOf(state_);\n return result == null ? com.corkili.pa.dao.generate.protobuf.Model.State.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "0713967673fd18e9d69f78bcaaca0771", "score": "0.5456204", "text": "public String getApplyClassroom() {\r\n\t\treturn applyClassroom;\r\n\t}", "title": "" }, { "docid": "23da0b433500d068182869a5b9a7edad", "score": "0.545022", "text": "public java.lang.String getState()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STATE$6);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "title": "" }, { "docid": "cf43fd40fbb3ff0414dafeeb00c64dff", "score": "0.5449217", "text": "public int getState(){\n return state;\n }", "title": "" }, { "docid": "cf43fd40fbb3ff0414dafeeb00c64dff", "score": "0.5449217", "text": "public int getState(){\n return state;\n }", "title": "" }, { "docid": "33d39ce280fe469382bf231fd38bc296", "score": "0.54467607", "text": "public MongoDbMigrationState state() {\n return this.state;\n }", "title": "" }, { "docid": "39c09b40b780cae6069b4052a721100f", "score": "0.5439539", "text": "public com.corkili.pa.dao.generate.protobuf.Model.State getState() {\n @SuppressWarnings(\"deprecation\")\n com.corkili.pa.dao.generate.protobuf.Model.State result = com.corkili.pa.dao.generate.protobuf.Model.State.valueOf(state_);\n return result == null ? com.corkili.pa.dao.generate.protobuf.Model.State.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "1e96f5fd21e372d46fe962be363b0634", "score": "0.54379755", "text": "int\tgetState();", "title": "" }, { "docid": "c68133efd52c9b01ef0073c30f02d977", "score": "0.5434836", "text": "public Long get_state() throws Exception {\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.5425736", "text": "int getStateValue();", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.5425736", "text": "int getStateValue();", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.5425736", "text": "int getStateValue();", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.5425736", "text": "int getStateValue();", "title": "" }, { "docid": "f064ad43b1bf7eccbe3487c2b85f7e23", "score": "0.54163957", "text": "DeploymentState getState();", "title": "" }, { "docid": "78bcd691b155ac8401a51b668fccecd4", "score": "0.5411812", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "78bcd691b155ac8401a51b668fccecd4", "score": "0.5411812", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "87d16e77787e4be5417c0e1b0e912360", "score": "0.5408877", "text": "public String getState() {\r\n\t\treturn this.State;\r\n\t}", "title": "" }, { "docid": "0201e395c17329adbbe915a6b4a3d3fb", "score": "0.53933173", "text": "public String getState() {\r\n\t\treturn (String) this.get(\"State\");\r\n\t}", "title": "" }, { "docid": "197a1885bfe97cf1206e1d39389a4d16", "score": "0.53862476", "text": "public Integer getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "7599a072e7446e6d819fc118decaefe4", "score": "0.53829134", "text": "public String getState(){\n return this.state;\n }", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.53709704", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.53709704", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "a49acbcf6411097478acda558683d1d2", "score": "0.53673524", "text": "public String getState(){\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "9881a82fbcb9fd6da9dec929a769e3d6", "score": "0.53555304", "text": "ReturnCode getState();", "title": "" }, { "docid": "1d0329d61c45c45cd5330dfa66d6308a", "score": "0.5350719", "text": "public int getOutcomeState()\r\n/* 34: */ {\r\n/* 35:77 */ return this.outcomeState;\r\n/* 36: */ }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.53449774", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.53449774", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.53449774", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.53449774", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.53449774", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.53449774", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.53449774", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.53449774", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "ab985aa375c9be2854cd957fcc152250", "score": "0.53420204", "text": "public Long getId_state() {\n return id_state;\n }", "title": "" }, { "docid": "295a23f8152bd5c9196dc08920562088", "score": "0.53376263", "text": "public int getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "62e7bd02bd0b4eeff2a9865286b13a9b", "score": "0.5328865", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "62e7bd02bd0b4eeff2a9865286b13a9b", "score": "0.5328865", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.5320444", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.5320444", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.5320444", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.53203905", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.53203905", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.53203905", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.53203905", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "d1a454eaaec2e3eba82c6ea68d55426f", "score": "0.53175306", "text": "S getGoalState();", "title": "" }, { "docid": "9bc51e3c7dc9354247bda781c11cb0cf", "score": "0.5313233", "text": "java.lang.String getState();", "title": "" }, { "docid": "626b0d569a9704d99eea570afb264092", "score": "0.5310365", "text": "final int state() {\n if (_junctionPlanner != null) return _junctionPlanner.state();\n else {\n WVM.err.println(\"Error, no JunctionPlanner so there is no state information\");\n return -1;\n }\n }", "title": "" }, { "docid": "c594e89d8bf3b227ce2136d697a26611", "score": "0.53097105", "text": "public synchronized int getState() {\n\t\treturn nowState;\n\t}", "title": "" }, { "docid": "e0ebc89d54d7208dd3a585a7b46200cc", "score": "0.5307951", "text": "public int getTriggerState() {\n\t\tint state = -1;\n\t\t\n\t\tswitch(_type) {\t\t\t\n\t\t\tcase Feedback.TYPE_STATUS:\n\t\t\t\tstate = getTrigger().getFeedbackStatus();\n\t\t\t\tbreak;\n\t\t\tcase Feedback.TYPE_SELECT:\n\t\t\t\tstate = getTrigger().getFeedbackSelect();\n\t\t\t\tbreak;\n\t\t\tcase Feedback.TYPE_ACTION:\n\t\t\t\tstate = getTrigger().getFeedbackAction();\n\t\t\t\tbreak;\n\t\t}\n\t\t\n\t\treturn state;\n\t}", "title": "" }, { "docid": "ef786fdcdad9dea4fa1d97bb4a9ad05e", "score": "0.53048885", "text": "public String getGoalState() {\r\n\t\treturn goalIdState;\r\n\t}", "title": "" }, { "docid": "a4f00d0da15c81c9f614e799dfab0ee2", "score": "0.53035676", "text": "public long getState( ) {\n return state;\n }", "title": "" }, { "docid": "405be38218f5626d94f90456d8d2a216", "score": "0.5295106", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "405be38218f5626d94f90456d8d2a216", "score": "0.5295106", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "deddf529b3a1362b9e1ebfbee0844cea", "score": "0.52931917", "text": "public abstract int getState();", "title": "" }, { "docid": "eacef8cb98e645e0f1e6b52380142177", "score": "0.52926415", "text": "public long getState() {\n return state.get();\n }", "title": "" }, { "docid": "42e19c0c450d73acfd969c38d0f3f858", "score": "0.52796435", "text": "public Integer getApplyId() {\n return applyId;\n }", "title": "" }, { "docid": "42e19c0c450d73acfd969c38d0f3f858", "score": "0.52796435", "text": "public Integer getApplyId() {\n return applyId;\n }", "title": "" }, { "docid": "faf188c4265ac4ae24ba83707d050dea", "score": "0.5273243", "text": "public String getState()\r\n\t{\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "1e954d8e9737f64c6afbd20e0de3b976", "score": "0.5270705", "text": "public String getState() {\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "1e954d8e9737f64c6afbd20e0de3b976", "score": "0.5270705", "text": "public String getState() {\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "351600e72b7d0daf4f831b5b137f80d7", "score": "0.52626956", "text": "public Boolean getApplybefore()\n {\n return applybefore; \n }", "title": "" }, { "docid": "5e46bb6d8698e74e0f0cc2e516ee86ac", "score": "0.5255074", "text": "public Date getApplyLitigation() {\n return applyLitigation;\n }", "title": "" }, { "docid": "af082306bd6f604d2e970373c2c5a733", "score": "0.52542156", "text": "public S getState(){\n\t\treturn this.state;\n }", "title": "" }, { "docid": "873a8d155363cab93e6cd06de5ad8fdf", "score": "0.52526164", "text": "public String getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "873a8d155363cab93e6cd06de5ad8fdf", "score": "0.52526164", "text": "public String getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "873a8d155363cab93e6cd06de5ad8fdf", "score": "0.52526164", "text": "public String getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "fc37d6bb44b2ae6f3a0ca239278d353c", "score": "0.5251317", "text": "public String getDateState() {\r\n\t\treturn dateState;\r\n\t}", "title": "" }, { "docid": "2507c9e335c421bc3c4bc0fed1730407", "score": "0.5235446", "text": "public String getState() {\n\t\treturn state.get();\n\t}", "title": "" }, { "docid": "f0e3e0adfb2aeca8d34e43e3f76c13f3", "score": "0.5228654", "text": "boolean getState();", "title": "" }, { "docid": "8a0fd2ca0f7ca91389fe7072365c8404", "score": "0.5224512", "text": "public String reportState() {\n\t\n\t\treturn movsimPF.getStateReport();\n\t}", "title": "" }, { "docid": "5db324bfb5d767590e37672ce1857fe6", "score": "0.5222321", "text": "public State getState();", "title": "" }, { "docid": "9d7ed2188331fdefbe1d603af0c2d4c1", "score": "0.52181214", "text": "public String getState(){\n\treturn state;\n}", "title": "" }, { "docid": "a605653544a32fd7c0525779084f0d25", "score": "0.5213604", "text": "public Date getDraftApplyOn() {\n return draftApplyOn;\n }", "title": "" }, { "docid": "fc52d16d9d93feb99f070ad482077a75", "score": "0.5210766", "text": "public String getBoardState() {\n return board.getBoardState();\n }", "title": "" }, { "docid": "14bc6a817f413c05df6cf3ea6dc38fe5", "score": "0.52088344", "text": "public String getState(){return state;}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.52047235", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.52047235", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.52047235", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.52047235", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.52047235", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "8602e7f8d6af027d06e73a8fff20aa31", "score": "0.520241", "text": "public String getState() { return state; }", "title": "" } ]
76a3ad225d95501efe43e835fea24ca9
Sets the scat_seq_num. Creation Date Thu Jul 07 14:01:55 CDT 2005
[ { "docid": "98e67c60a5637bc0e24f2292a8a72d5d", "score": "0.85082287", "text": "public void setScat_seq_num(final java.lang.String scat_seq_num) {\n\t\tthis.scat_seq_num = scat_seq_num;\n\t}", "title": "" } ]
[ { "docid": "b36284ce2c71f0f4114e1cea66ffb460", "score": "0.71812797", "text": "void setSequenceNumber(int sequenceNumber);", "title": "" }, { "docid": "7715f2c7b6590de051786eb19732a438", "score": "0.7059166", "text": "public java.lang.String getScat_seq_num() {\n\t\treturn scat_seq_num;\n\t}", "title": "" }, { "docid": "b920d5bff0a505f67800e0d7055cd59f", "score": "0.70400804", "text": "public void setSeqNo (int SeqNo);", "title": "" }, { "docid": "b920d5bff0a505f67800e0d7055cd59f", "score": "0.70400804", "text": "public void setSeqNo (int SeqNo);", "title": "" }, { "docid": "dd9cd1df71c63bf9d82029a73587709a", "score": "0.69849706", "text": "public void set_seqnum(byte value) {\n setSIntElement(offsetBits_seqnum(), 8, value);\n }", "title": "" }, { "docid": "fa94a3e031d0c77114fc6e551756d7d4", "score": "0.67993194", "text": "public void setSequenceNo(long n) {\n\tsequenceNo = n;\n }", "title": "" }, { "docid": "271a72acc2af30181d70a94c9660ffde", "score": "0.6770583", "text": "public void setSequenceNo(Number value) {\n setAttributeInternal(SEQUENCENO, value);\n }", "title": "" }, { "docid": "6c8eb43c24b4ce9719a10ba5e91d097c", "score": "0.6751842", "text": "public void setSequenceNumber(int sequence) {\n\t\tfSequenceNumber= sequence;\n\t}", "title": "" }, { "docid": "5de683daff5b9d30e36bafe6b683cee8", "score": "0.6748621", "text": "public void setSeqNo (java.lang.Integer seqNo) {\n\t\tthis.seqNo = seqNo;\n\t}", "title": "" }, { "docid": "017b2b587e2ff896394d51ddaa09b7fe", "score": "0.6704231", "text": "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "title": "" }, { "docid": "017b2b587e2ff896394d51ddaa09b7fe", "score": "0.6704231", "text": "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "title": "" }, { "docid": "017b2b587e2ff896394d51ddaa09b7fe", "score": "0.6704231", "text": "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "title": "" }, { "docid": "8f0d8d1c40e7fe6fd6caff002a03280e", "score": "0.66547483", "text": "void setSeq(long seq) {\n this.seq = seq;\n }", "title": "" }, { "docid": "88706a3da73f2df96c507b302a662032", "score": "0.6645522", "text": "public void setSequenceNumber(long value) {\n this.sequenceNumber = value;\n }", "title": "" }, { "docid": "bdd441ac055ce7aab4fa45a2133bb22b", "score": "0.64977276", "text": "public void setSeqNbr(int seqNbr) {\n this.seqNbr = seqNbr;\n }", "title": "" }, { "docid": "66f971e34bf5549d4179a6bc5401780a", "score": "0.64158523", "text": "public final void setSequence(java.lang.Integer sequence)\r\n\t{\r\n\t\tsetSequence(getContext(), sequence);\r\n\t}", "title": "" }, { "docid": "5aebbc9291ac4449feb94c9937f13854", "score": "0.6372274", "text": "public void set_infos_seq_num(int value) {\n setUIntBEElement(offsetBits_infos_seq_num(), 16, value);\n }", "title": "" }, { "docid": "260c5d60b363579c0cd0abddf00b5955", "score": "0.6338789", "text": "public void setSequenceNumber(int sequenceNumber) {\n this.sequenceNumber = sequenceNumber;\n }", "title": "" }, { "docid": "260c5d60b363579c0cd0abddf00b5955", "score": "0.6338789", "text": "public void setSequenceNumber(int sequenceNumber) {\n this.sequenceNumber = sequenceNumber;\n }", "title": "" }, { "docid": "fac0d4237556a05c7b9c33722d9fceff", "score": "0.6324459", "text": "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000002;\n seqnum_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e75703cd0507e72d6e637210f26d2342", "score": "0.63187885", "text": "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000010;\n seqnum_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e75703cd0507e72d6e637210f26d2342", "score": "0.63187885", "text": "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000010;\n seqnum_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "c98380651cc762429e50fea6983c52be", "score": "0.6299435", "text": "public void setSequence(Integer sequence) {\n this.sequence = sequence;\n }", "title": "" }, { "docid": "f3eb1ac72462a654a699443267cddffb", "score": "0.6295344", "text": "public void setNUMSEC(int value) {\n this.numsec = value;\n }", "title": "" }, { "docid": "f3eb1ac72462a654a699443267cddffb", "score": "0.6295344", "text": "public void setNUMSEC(int value) {\n this.numsec = value;\n }", "title": "" }, { "docid": "f3eb1ac72462a654a699443267cddffb", "score": "0.6295344", "text": "public void setNUMSEC(int value) {\n this.numsec = value;\n }", "title": "" }, { "docid": "346447cc61243b579291f0f77f1e6610", "score": "0.6272701", "text": "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "346447cc61243b579291f0f77f1e6610", "score": "0.6272701", "text": "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "346447cc61243b579291f0f77f1e6610", "score": "0.6272701", "text": "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "346447cc61243b579291f0f77f1e6610", "score": "0.6272701", "text": "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1f943af715ce56cf0916570fc77102e3", "score": "0.6261067", "text": "protected void setStudentNumber(Integer studentNum)\n {\n studentNumber = studentNum;\n }", "title": "" }, { "docid": "4941d8160d1b5c59e648c62896d95b50", "score": "0.62412614", "text": "@IcalProperty(pindex = PropertyInfoIndex.SEQUENCE,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true\n )\n public void setSequence(final int val) {\n sequence = val;\n }", "title": "" }, { "docid": "dd3011ba4473adc264a1c8e5ea4d17ca", "score": "0.6191459", "text": "public void setSequenceNumber(INT sequenceNumber) {\n if(sequenceNumber instanceof org.hl7.hibernate.ClonableCollection)\n sequenceNumber = ((org.hl7.hibernate.ClonableCollection<INT>) sequenceNumber).cloneHibernateCollectionIfNecessary();\n _sequenceNumber = sequenceNumber;\n }", "title": "" }, { "docid": "d055cdc0200dd638781fda0b37fb3719", "score": "0.619074", "text": "public void setSEQN(String SEQN) {\n this.SEQN = SEQN;\n }", "title": "" }, { "docid": "5611e116a76c3e38531274598943bc66", "score": "0.61792195", "text": "public void setSequenceNumberForHibernate(INT sequenceNumber) {\n _sequenceNumber = sequenceNumber;\n }", "title": "" }, { "docid": "54bce97b204aeacda12f9c24348558c3", "score": "0.6141771", "text": "public void setSequence(Integer sequence)\n {\n if (sequence == null)\n sequence = 0;\n \n if (sequence < 0)\n throw new IllegalArgumentException(\"sortrank must be >= 0\");\n \n this.sequence = sequence;\n }", "title": "" }, { "docid": "f46b14b78f4a745dc34219ea99863764", "score": "0.6027603", "text": "public void setUserSeqNbr(Long userSeqNbr) \n\t{\n\t\tthis.userSeqNbr = userSeqNbr;\n\t}", "title": "" }, { "docid": "88bc9cbebdabe79221bbc3941fcac56f", "score": "0.5993196", "text": "public void setSR_SEQ(String SR_SEQ) {\n\t\tthis.SR_SEQ = SR_SEQ == null ? null : SR_SEQ.trim();\n\t}", "title": "" }, { "docid": "aed5d6892b356d61b4303c1494ba8c56", "score": "0.5992381", "text": "public void setUserSeqNbr(Long userSeqNbr)\n\t{\n\t\tthis.userSeqNbr = userSeqNbr;\n\t}", "title": "" }, { "docid": "07b93e2fc63d744a158b6bff934daf87", "score": "0.59600055", "text": "public void setQcIdseq(String value) {\n setAttributeInternal(QCIDSEQ, value);\n }", "title": "" }, { "docid": "f9d438f7e73d79bdbcc03a57c8733ac3", "score": "0.5956391", "text": "public Builder setSequenceNumber(long value) {\n bitField0_ |= 0x00000001;\n sequenceNumber_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1f4df73a1e311360aa40c1f1a22e3f46", "score": "0.5934962", "text": "public final void setSequence(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer sequence)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.Sequence.toString(), sequence);\r\n\t}", "title": "" }, { "docid": "58a71f7a576693c0b2fbb7f0a575dd4f", "score": "0.5862644", "text": "public void setSequenceId(long sequence_id)\n {\n sequence_id_ = sequence_id;\n }", "title": "" }, { "docid": "9b4e90535a5fb6688463bd21bacdefc7", "score": "0.5859234", "text": "@Field(3) \n\tpublic CKSCOSStatusField SequenceNo(int SequenceNo) {\n\t\tthis.io.setIntField(this, 3, SequenceNo);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "950ecea7537ca3d85ed1008f7b25badb", "score": "0.58566564", "text": "public Builder setOriginseqnum(long value) {\n bitField0_ |= 0x00000002;\n originseqnum_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3ea3688f329fe408f3abee29de3105ef", "score": "0.58208823", "text": "void setSeqLoc(gov.nih.nlm.ncbi.www.SeqLocDocument.SeqLoc seqLoc);", "title": "" }, { "docid": "28a8d627ae44c03d6da49be7550abe31", "score": "0.58108526", "text": "public Builder setSeq(int value) {\n\n seq_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "28a8d627ae44c03d6da49be7550abe31", "score": "0.58108526", "text": "public Builder setSeq(int value) {\n\n seq_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a0050287f4fe602a511b7a922935340d", "score": "0.58005184", "text": "public void setSequence(String sequence) {\r\n this.sequence = sequence;\r\n }", "title": "" }, { "docid": "6e521c9814e75f7a8d2b68b7dee1c1fb", "score": "0.578206", "text": "public void setSerialNumber(java.math.BigInteger serialNumber) {\r\n this.serialNumber = serialNumber;\r\n }", "title": "" }, { "docid": "4dc91bf09c031c8b37899266258b0077", "score": "0.57593787", "text": "public void setNumeroScie(int numeroScie) {\n\t\tthis.numeroScie = numeroScie;\n\t}", "title": "" }, { "docid": "f1aefc510251de4b87173ffd04b01964", "score": "0.5758144", "text": "public void setNumberOfSeat(int seatNum) {\n\t\tthis.numberOfSeats = seatNum;\n\t}", "title": "" }, { "docid": "be703fb6b4da6faaca0eae3592fe1490", "score": "0.57443655", "text": "@Override\n\tpublic void setGLSeqNum(BigInteger arg0) {\n\n\t}", "title": "" }, { "docid": "1071b6a0a2e8784e718115ecbe993936", "score": "0.5737639", "text": "public void setSeqId (java.lang.Long seqId) {\n\t\tthis.seqId = seqId;\n\t\tthis.hashCode = Integer.MIN_VALUE;\n\t}", "title": "" }, { "docid": "799b6ef3351d56e5c7699913b72951ff", "score": "0.5733003", "text": "public void setSpNumber(Integer spNumber) {\r\n this.spNumber = spNumber;\r\n }", "title": "" }, { "docid": "baf1bbcb6c3ae0f6948da5c7495204e0", "score": "0.5717254", "text": "public void setSBLNO(int value) {\n this.sblno = value;\n }", "title": "" }, { "docid": "5793bb279d8b01667f8db8c5ef215673", "score": "0.56965643", "text": "public void setClientNo(DBSequence value) {\n setAttributeInternal(CLIENTNO, value);\n }", "title": "" }, { "docid": "9bf3bc747d1919677224771b0cc9cdd5", "score": "0.5690119", "text": "public void setCocSeqNo(Integer cocSeqNo) {\n\t\tthis.cocSeqNo = cocSeqNo;\n\t}", "title": "" }, { "docid": "e4e942711e30074aec464cc9713506f3", "score": "0.5679815", "text": "public final void testSetSequenceNumber() {\n Notification n = new Notification(\"type\", \"src\", 1);\n assertEquals(1, n.getSequenceNumber());\n n.setSequenceNumber(123);\n assertEquals(123, n.getSequenceNumber());\n }", "title": "" }, { "docid": "f03fe35e741975ec2eada060976b2a8c", "score": "0.5671008", "text": "public void testSetSequenceNumber() {\n System.out.println(\"setSequenceNumber\");\n \n long sequenceNumber = 0L;\n LocalFileState instance = new LocalFileState();\n \n instance.setSequenceNumber(sequenceNumber);\n \n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "17f9bd76cd76c899af1fafa4c8df0b94", "score": "0.5653553", "text": "public void setConteIdseq(String value) {\n setAttributeInternal(CONTEIDSEQ, value);\n }", "title": "" }, { "docid": "14330497517f00de0c59c3090c117328", "score": "0.564433", "text": "public void setSeat(int seat) {\n\t\t\tif (seat > 0)\n\t\t\t\tthis.seat = seat;\n\t\t}", "title": "" }, { "docid": "de184df6b58c1c15abde92a978bd1a53", "score": "0.5643918", "text": "public void setCardgroupSeq(String value) {\r\n setAttributeInternal(CARDGROUPSEQ, value);\r\n }", "title": "" }, { "docid": "13925e5aa3333118ed105953bd4b8f4f", "score": "0.5625556", "text": "public void setUserSeq(Long userSeq) {\n sessionData.setUserSeq(userSeq);\n }", "title": "" }, { "docid": "c8f160eb271808a913d076c8a5075960", "score": "0.5616964", "text": "void setPosNr(String posNr);", "title": "" }, { "docid": "c9199d9736fcd0f612ddf038b1aab332", "score": "0.560464", "text": "public static void setSequence(Sequence m){\n\t\tcurMIDI = m;\n\t}", "title": "" }, { "docid": "253b2d7c789d0559b5505150253754d6", "score": "0.5604162", "text": "public void setSMNR(java.math.BigInteger SMNR) {\n this.SMNR = SMNR;\n }", "title": "" }, { "docid": "815c2d780897ea7238c02e661e8a4916", "score": "0.5593013", "text": "public void initsource(int seqnum) {\n if (this.probation <= 0) {\n this.active = true;\n setSender(true);\n }\n this.baseseq = seqnum;\n this.maxseq = seqnum - 1;\n this.lastbadseq = -2;\n this.cycles = 0;\n this.received = 0;\n this.bytesreceived = 0;\n this.lastRTPReceiptTime = 0;\n this.lasttimestamp = 0;\n this.jitter = Pa.LATENCY_UNSPECIFIED;\n this.prevmaxseq = this.maxseq;\n this.prevlost = 0;\n }", "title": "" }, { "docid": "8c9bc7b89867116a22ab30c7c9462f25", "score": "0.559016", "text": "public int getSsNum() {\n return ssNum;\n }", "title": "" }, { "docid": "9a16cff954d03e80caf33aa6ae640553", "score": "0.55869454", "text": "@Override\n\tpublic void setMinnum(long minnum) {\n\t\t_esfTournament.setMinnum(minnum);\n\t}", "title": "" }, { "docid": "6cd2cfde1d9434780e4133831c37d6a1", "score": "0.5579414", "text": "public void setKsdReqSeq(Integer ksdReqSeq) {\r\n\t\tthis.ksdReqSeq = ksdReqSeq;\r\n\t}", "title": "" }, { "docid": "080a9554c473a1b94f6d6b985391630b", "score": "0.55789894", "text": "public void setNUMSECAC(long value) {\n this.numsecac = value;\n }", "title": "" }, { "docid": "080a9554c473a1b94f6d6b985391630b", "score": "0.55789894", "text": "public void setNUMSECAC(long value) {\n this.numsecac = value;\n }", "title": "" }, { "docid": "3ea46c2afa2d264c4bdb47354e607b47", "score": "0.5571124", "text": "public void setTakeupSeqNo(int takeupSeqNo) {\n\t\tthis.takeupSeqNo = takeupSeqNo;\n\t}", "title": "" }, { "docid": "eb22b53da71aaeca1b625e81305feff1", "score": "0.5567877", "text": "public void setSeatNumber(int seatNumber) {\n\t\tthis.seatNumber = seatNumber;\n\t}", "title": "" }, { "docid": "5e6ff982bb3b3cc3c4ed8118a6fa206c", "score": "0.55300426", "text": "public void setStuid(Integer stuid) {\n this.stuid = stuid;\n }", "title": "" }, { "docid": "42815259d17f8239a0645328f2dc3fe6", "score": "0.55278647", "text": "protected void incrementSeqNum() {\n intToNetworkByteOrder(mySeqNum++, sequenceNum, 0, 4);\n }", "title": "" }, { "docid": "39b58a9c0a885eb0fa28cdf5f6c1663e", "score": "0.5523668", "text": "public int getSequenceNum() {\n\t\treturn sequenceNumber;\n\t}", "title": "" }, { "docid": "da701ba48425470b9ccda091ab524690", "score": "0.5521058", "text": "public Builder setSs(int value) {\n \n ss_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1f2520e3c5ebbf3df9f53341b33ff7b4", "score": "0.5520613", "text": "public void setDisplaySequence(Integer value) {\n this.displaySequence = value;\n }", "title": "" }, { "docid": "f2f8f943d9352ac9c7340f0218868675", "score": "0.5518445", "text": "public void setPModIdseq(String value) {\n setAttributeInternal(PMODIDSEQ, value);\n }", "title": "" }, { "docid": "7ede93a0da0761c0866419a103987471", "score": "0.55103165", "text": "@Test\n\tpublic void setSequenceNumberTest() {\n\t\tProductScanImageURIKey key = getDefaultKey();\n\t\tkey.setSequenceNumber(OTHER_SEQUENCE);\n\t\tAssert.assertEquals(OTHER_SEQUENCE, key.getSequenceNumber());\n\t}", "title": "" }, { "docid": "d5366469ec3e4aaa5ed836455e5e6fd5", "score": "0.5508481", "text": "public void setSerialNumber(String value)\n {\n _serialNumber = value;\n }", "title": "" }, { "docid": "1103c84e58292f257bb4fa470d2d4f74", "score": "0.5506231", "text": "public void setStargateId(int val) {\n stargateId = val;\n }", "title": "" }, { "docid": "ddd3be661759acf58c03d756504f941a", "score": "0.54844886", "text": "@Override\r\n\tpublic void setSequenceSize(int x) {\n\t\tsizeNum = x;\r\n\t\tupdate();\r\n\t}", "title": "" }, { "docid": "e693afe1dd6d8702fd0d214add34a9fb", "score": "0.5479882", "text": "private void setStudentID() {\n\t\tid++;\n\t\tthis.studentId = gradeYear + \"\" + id;\n\t\tSystem.out.println(this.studentId);\n\t}", "title": "" }, { "docid": "fa9a2c050aa021bd1ef0ffbec0c5a337", "score": "0.5472479", "text": "public final void setSequence(java.lang.String sequence)\r\n\t{\r\n\t\tsetSequence(getContext(), sequence);\r\n\t}", "title": "" }, { "docid": "0b925f7d7486283f99770203a9ccac98", "score": "0.54608804", "text": "public void setPatentSeqId(gov.nih.nlm.ncbi.www.PatentSeqIdDocument.PatentSeqId patentSeqId)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.PatentSeqIdDocument.PatentSeqId target = null;\r\n target = (gov.nih.nlm.ncbi.www.PatentSeqIdDocument.PatentSeqId)get_store().find_element_user(PATENTSEQID$0, 0);\r\n if (target == null)\r\n {\r\n target = (gov.nih.nlm.ncbi.www.PatentSeqIdDocument.PatentSeqId)get_store().add_element_user(PATENTSEQID$0);\r\n }\r\n target.set(patentSeqId);\r\n }\r\n }", "title": "" }, { "docid": "5b8e47b5aaea980dd1f99b61926af908", "score": "0.54579264", "text": "public void setCLNO(int value) {\n this.clno = value;\n }", "title": "" }, { "docid": "da889c7be1af59a9a4e636108e4f1c12", "score": "0.5450275", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "da889c7be1af59a9a4e636108e4f1c12", "score": "0.5450275", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "da889c7be1af59a9a4e636108e4f1c12", "score": "0.5450275", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "da889c7be1af59a9a4e636108e4f1c12", "score": "0.5450275", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "da889c7be1af59a9a4e636108e4f1c12", "score": "0.5450275", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "da889c7be1af59a9a4e636108e4f1c12", "score": "0.5450275", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "da889c7be1af59a9a4e636108e4f1c12", "score": "0.5450275", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "77c022dcf44dc39cdd874a2bf77d2f7a", "score": "0.5448149", "text": "@MavlinkFieldInfo(\n position = 1,\n unitSize = 2,\n description = \"sequence number (starting with 0 on every transmission)\"\n )\n public final Builder seqnr(int seqnr) {\n this.seqnr = seqnr;\n return this;\n }", "title": "" }, { "docid": "7f29edbf317af03b0bee8ad1d864f84f", "score": "0.54476863", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "7f29edbf317af03b0bee8ad1d864f84f", "score": "0.54476863", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" }, { "docid": "7f29edbf317af03b0bee8ad1d864f84f", "score": "0.54476863", "text": "public long getSeqnum() {\n return seqnum_;\n }", "title": "" } ]
3561b0a97e8885842c7cf4acda4cb8bb
static BST pl_popularity = new BST();
[ { "docid": "1131d8fe69fadc2229a583b46e61c433", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tpretreatment pre = new pretreatment();\n\t\ttry{\n\t\t\tpre.readInFile(\"/Users/muyunyan/Documents/eeclipse/Playlist/PlaylistApp-Datasets/all_playlists.txt\");\t\t\t\n\t\t\tplaylist_popularity pp = new playlist_popularity(pre.playlist_pp);\n\t\t\tArrayList top_8_number = pp.sortAsDecrease(8);\n\t\t\tSystem.out.println(top_8_number);\n\t\t\t\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "title": "" } ]
[ { "docid": "5c975af9608174ea6c30dbf319e95568", "score": "0.66970515", "text": "public BST() {\n\n }", "title": "" }, { "docid": "7a953d91b8fcf6c345ab90a0d1dd2473", "score": "0.65060693", "text": "public BSTMap() {\n }", "title": "" }, { "docid": "cf6e8a4f3b1a54dc37f39b4365789ba8", "score": "0.6443462", "text": "public IntervalBST() {\n }", "title": "" }, { "docid": "7df4fb5e8ca6842b5be8e04ba26b4929", "score": "0.6391383", "text": "public MyBST () {\n\t\troot = null;\n\t\tsize = 0;\n\t}", "title": "" }, { "docid": "11b3767f1bf87d46cd1a50c1e634fa8a", "score": "0.63250464", "text": "public BSTree()\n\t{\n\t\troot = null;\n\t\tcount = 0;\n\t}", "title": "" }, { "docid": "e1fdcd9b3e68d562c8e9bf861f86074b", "score": "0.6243224", "text": "public IntervalBST() {\n\t}", "title": "" }, { "docid": "ec0adbe9cb2a17caf9572582fb0c6d74", "score": "0.618291", "text": "BinarySearchTree() {\n root = null;\n }", "title": "" }, { "docid": "d2d201137bee59134449b55c5478c26a", "score": "0.61826265", "text": "public BST()\n\t{\n\t\troot = null;\n\t}", "title": "" }, { "docid": "91aeb2e18522ec036c88499bbabb9184", "score": "0.61783063", "text": "public SearchTree(){\n root = null;\n }", "title": "" }, { "docid": "da41e588e7bfa956e6b3a7687b7e8fbd", "score": "0.6152589", "text": "public BST() {\n\t\troot = null;\n\t}", "title": "" }, { "docid": "ec95d4f843f814e333afe43975435fb3", "score": "0.6146405", "text": "public BinarySearchTree() {\n root = null;\n size = 0;\n out = new PrintWriter(System.out);\n }", "title": "" }, { "docid": "081e7c67580cbd80addb2fcda44f8c61", "score": "0.61308163", "text": "public BST() {\n this.root = null;\n this.size = 0;\n }", "title": "" }, { "docid": "3a4ce7076add1c3a4a57daf124863b1c", "score": "0.6128442", "text": "public BST(int lgN){\n\t\tthis(lgN, new BstCounter());\n }", "title": "" }, { "docid": "60fb0d7104a5521ba91053fc1ebaa742", "score": "0.60801953", "text": "public SplayTree() \r\n\t{\r\n\t\tsize = 0;\r\n\t}", "title": "" }, { "docid": "1bfe5d4b9d4780c6f41ff32e547ee9db", "score": "0.6047426", "text": "public BinarySearchTree()\r\n\t{\r\n\t\t//nothing to start\r\n\t}", "title": "" }, { "docid": "8228743a97a8d2c046afb526f036ce4d", "score": "0.6046801", "text": "public DepthFirstSearch() {\n mOpenList =new Stack<>();\n mClosedSet = new HashSet<>();\n }", "title": "" }, { "docid": "eeb3f424693aad537301bbc45f1e5d18", "score": "0.59626615", "text": "public BinarySearchTree() {\n\t\troot = null;\n\t}", "title": "" }, { "docid": "22bc199e51977a4db4e0decd6492ec07", "score": "0.59401095", "text": "public RBTree() {\n }", "title": "" }, { "docid": "711c5ccaefba51daeaee328b9e6f3df5", "score": "0.59305155", "text": "public BSTMap() {\n\t\troot = null;\n\t}", "title": "" }, { "docid": "2aed7b1c8df8c42d4163451ce5210e36", "score": "0.5891981", "text": "public BinarySearchTree()\n\t{\n\t\troot = null;\n\t\tnodeCount = 0;\n\t}", "title": "" }, { "docid": "57f99d70f1ba8f2290ef6b47a84aa615", "score": "0.5889212", "text": "public BinarySearchST() { this(INIT_CAPACITY); }", "title": "" }, { "docid": "7d3dec133c984ec7c21b5dd72fbee4b9", "score": "0.58568126", "text": "public AltBSTree()\r\n {\r\n }", "title": "" }, { "docid": "e4a53d30216f8de9437e748ae7b5f5cd", "score": "0.58388805", "text": "public SocietyTree() {\n society = new Vector(); //of hosts\n }", "title": "" }, { "docid": "ddca4f6a627f060635867f9fd38c6797", "score": "0.5829209", "text": "static TreeNode getSampleTree(){\n\t\treturn new TreeNode(1, new TreeNode(2, new TreeNode(4), new TreeNode(5)), new TreeNode(3, new TreeNode(6), new TreeNode(7)));\n\t}", "title": "" }, { "docid": "96307ed5234faf24a48c2db08899eaff", "score": "0.5825281", "text": "public TwoThreeTree()\r\n {\r\n \r\n }", "title": "" }, { "docid": "b68751ca8e8e2bebb61cf34f628609d2", "score": "0.58103037", "text": "public SearchTree(Board game) {\n\t\troot = new Node(game);\n\t\tdepth = 0;\n\t\tsize = 1;\n\t}", "title": "" }, { "docid": "8438a2cc6f8885d5a21af4f3b0bbae60", "score": "0.5777759", "text": "public BFS(){\n open = new Dequeue<TreeNode>();\n closed = new Dequeue<TreeNode>();\n }", "title": "" }, { "docid": "de1a6c261fb8dee3a1dbf87cf369e58b", "score": "0.57746667", "text": "public RBTree() {\n root = null;\n }", "title": "" }, { "docid": "c2f78d8749864feede7e5befbb5d757e", "score": "0.5774353", "text": "public static void main(String [] args){\n\n\n BinarySearchTree B = new BinarySearchTree();\n\n B.insert(15);\n B.insert(11);\n B.insert(20);\n B.insert(8);\n B.insert(12);\n B.insert(17);\n B.insert(25);\n B.insert(30);\n B.insert(7);\n\n // System.out.println(\"The largest item is \"); B.findMax();\n //B.findMin();\n // Depth First Search\n ArrayList preorder = B.preOrderTransversal();\n //System.out.println(preorder);\n ArrayList inorder = B.inOrderTransversal();\n //System.out.println(inorder);\n ArrayList postorder = B.postOrderTraversal();\n //System.out.println(postorder);\n ArrayList bfs = B.BreadthFirstSearch();\n System.out.println(bfs);\n\n //System.out.println(B.sumOfCoveredNodes());\n // shortest path from root to leaf 15-11-12\n //System.out.println(B.shortestPath());\n\n System.out.println(\"Found 18: \" + B.search(18)); // false\n }", "title": "" }, { "docid": "c9dd42012d1c9a95a31af0b18648a06b", "score": "0.57315683", "text": "public LinkedBinarySearchTree() {\n super();\n }", "title": "" }, { "docid": "9c4f9aeb8e37fbcd54a4d03dcce1d7ad", "score": "0.5731529", "text": "public RedBlackTree() {\t\n\t\t\n\t\tcount = 0;\n }", "title": "" }, { "docid": "07bd13034c5d37582b8d75fca90cfe86", "score": "0.5719742", "text": "public BinarySearchTree()\n\t{\n\t\trootNode = null;\n\t\tnumNodes = 0;\n\t}", "title": "" }, { "docid": "62620d81b560943cf10c163e560f794f", "score": "0.5717791", "text": "public BST(T datum)\n\t{\n\t\troot = new BSTnode<T>(datum);\n\t}", "title": "" }, { "docid": "ddfa588dd83d353b1942d509b1e41217", "score": "0.5667686", "text": "public Question_211() {\n root = new TreeNode();\n }", "title": "" }, { "docid": "5bac1db761685fddb9bca41b7c5d8888", "score": "0.56490606", "text": "private Heap(){\r\n \r\n //private constructor for Singleton\r\n heap = new ArrayList<>();\r\n }", "title": "" }, { "docid": "bee7b8317f6b05506c528bd44c628390", "score": "0.56462324", "text": "public binarytree()\n{\n\troot = null; //default constructor, with no node added\n}", "title": "" }, { "docid": "365028a6f62753b0dc2285effd55b1fa", "score": "0.5629486", "text": "public RedBlackTree() {\r\n\t\tinitializeRoot();\r\n\t}", "title": "" }, { "docid": "cbc1cfef0f05da3282751a9ca8cfd598", "score": "0.56293476", "text": "public BinaryTree(){\r\n root = null;\r\n }", "title": "" }, { "docid": "416951a02a65bd5348033293ad507189", "score": "0.5623198", "text": "public void BST() {\n \troot = null;\n }", "title": "" }, { "docid": "03d50e75f7ceb25e1a2983552693d866", "score": "0.5619217", "text": "public BSTWithNumberOfLeaves() {\r\n super();\r\n }", "title": "" }, { "docid": "aada4b348905e19c27505f5158609cea", "score": "0.5618399", "text": "public risingCity() {\n\t\tsuper();\n\t\trbt = new RedBlackTree();\n\t\tmh = new MinHeap(2000);\n\t}", "title": "" }, { "docid": "8cd15213c10c31b3a163d78ad0d75c14", "score": "0.56153536", "text": "public final void treeInit(){\n \n root = null;\n peopleNumber = 0;\n maxDepth = -1;\n depthTracker = new ArrayList<Integer> (0);\n }", "title": "" }, { "docid": "7d21693d5883ba62ec1ef80ef31035d8", "score": "0.5587441", "text": "public NodeStack(){//constructs empty stack\n top = null;\n size = 0;\n }", "title": "" }, { "docid": "6209c24e18f831538f6983ad9db245f8", "score": "0.5579248", "text": "public TreeCollection()\r\n\t{\r\n\t\ttreeTotal=0;\r\n\t\tspeciesList = new ArrayList<String>();\r\n\t\tborocounts = new HashMap<String,Integer>();\r\n\t\t\r\n\t\t//Create keys for all 5 boros, and initialize values to zero. \r\n\t\tborocounts.put(\"brooklyn\",0);\r\n\t\tborocounts.put(\"bronx\",0);\r\n\t\tborocounts.put(\"manhattan\",0);\r\n\t\tborocounts.put(\"queens\",0);\r\n\t\tborocounts.put(\"staten island\",0);\r\n\t}", "title": "" }, { "docid": "816d08b226555f72a82357e592fcbfdb", "score": "0.5531374", "text": "public BST(K key) {\n _key = key;\n }", "title": "" }, { "docid": "9f29da97fcd8e40e098db6eaf15dbf10", "score": "0.55280495", "text": "public MaxStack() {\n dll = new DoublyLinkedList<>();\n map = new TreeMap<>();\n }", "title": "" }, { "docid": "654faed7fd51d6e683cb9ec9c01bbb8f", "score": "0.551497", "text": "public ArrayBinarySearchTree() {\n super();\n height = 0;\n maxIndex = -1;\n }", "title": "" }, { "docid": "5032ad84038865c96348ef6c89117ccc", "score": "0.5510949", "text": "public BSTMap() {\n this.clear();\n }", "title": "" }, { "docid": "5032ad84038865c96348ef6c89117ccc", "score": "0.5510949", "text": "public BSTMap() {\n this.clear();\n }", "title": "" }, { "docid": "3d59298587d6a79a1497b5f079e1be0d", "score": "0.5508675", "text": "public BinaryTree() {\n root = null;\n }", "title": "" }, { "docid": "63c9b16064a2ab0e87fade87bded8a26", "score": "0.55037373", "text": "public BST() {\n sentinel = new Node(null, null);\n root = sentinel;\n }", "title": "" }, { "docid": "a5410f102a5fa5712679fd42593933c9", "score": "0.5478998", "text": "public BinaryTree() {}", "title": "" }, { "docid": "5169249f511113829bb12a1a056ac3c9", "score": "0.5454014", "text": "public MagicDictionary() {\n root=new TreeNode();\n }", "title": "" }, { "docid": "a748ef7179bf717bc9f27d6417dc40f2", "score": "0.5452625", "text": "public static void tree() {\r\n tree.tree();\r\n }", "title": "" }, { "docid": "f9da78605da50c373f2d48aa9aac896b", "score": "0.5446182", "text": "public BST(T data) \r\n {\r\n this.root = new Node<T>(data);\r\n this.output = \"\";\r\n }", "title": "" }, { "docid": "63bb809c01e2e7170163f8335b6cb98b", "score": "0.54410815", "text": "public KdTree() {\n size = 0;\n }", "title": "" }, { "docid": "d467cd507afc370ebea37d2e11887ec8", "score": "0.5439909", "text": "public static void main(String[] args) {\n BST<Integer> bst = new BST<>();\n int[] nums = {5, 3, 6, 8, 4, 2};\n for (int num: nums) {\n bst.add(num);\n }\n// bst.levelOrder();\n System.out.println(bst);\n bst.remove(3);\n System.out.println();\n System.out.println(bst);\n// bst.preOrderNR();\n// System.out.println(bst);\n }", "title": "" }, { "docid": "492836cc49b42f57d4bb5b0bb05e0850", "score": "0.5427369", "text": "public Graph() {\n nodes = new TreeSet<Integer>();\n edges = new TreeMap<Integer, TreeSet<Integer>>() ;\n}", "title": "" }, { "docid": "69a84a83306c22b814fbefcb970c2e71", "score": "0.54134756", "text": "public NLST()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "2f6da563e5338e5a5babeb8d71a41b36", "score": "0.53989196", "text": "public BinaryTreeNode()\n {\n }", "title": "" }, { "docid": "683babbc2d0ba87b72df2f4747bc3bf1", "score": "0.5393294", "text": "private void initializeLevelVariables(){\n root = new Group();\n ballsInPlay = new ArrayList<>();\n bricksInPlay = new ArrayList<>();\n objectsInPlay = new ArrayList<>();\n }", "title": "" }, { "docid": "c90d756bfcf7bc10bb58a4af462431e4", "score": "0.53861964", "text": "public BinarySearchTree(E datum) {\n\t\tdata = datum;\n\t\tleftSubtree = null;\n\t\trightSubtree = null;\n\t}", "title": "" }, { "docid": "65e84d5515b654240e71878e5ce3bbb2", "score": "0.5365758", "text": "void initialize() {\r\n\t\t// STUDENTS: FILL IN CODE HERE!\r\n\t\t\r\n\t\t//do I just make a node that has the number 1.\r\n\t\tvalues.put(1, new Node(1, 1));\r\n\t\t\r\n\t}", "title": "" }, { "docid": "33e93bccf9f290d0832dfd6fbd9ab726", "score": "0.536319", "text": "public Stack() {\r\n this.thetop = null;\r\n }", "title": "" }, { "docid": "6f65912c0c41bf63e6a69a98060e2269", "score": "0.53609234", "text": "public LSBST(){\n }", "title": "" }, { "docid": "324d834cdf1178ebccd2836fcbc09e12", "score": "0.5357875", "text": "public static void main(String[] args) {\n BinarySTree tree = new BinarySTree();\n\n /* Let us create following BST\n 50\n / \\\n 30 70\n / \\ / \\\n 20 40 60 80 */\n\n tree.insert(50);\n tree.insert(30);\n tree.insert(20);\n tree.insert(40);\n tree.insert(70);\n tree.insert(60);\n tree.insert(80);\n tree.inorder();\n tree.delete(70);\n System.out.println(tree.search(tree.root,20));\n\n\n\n\n\n }", "title": "" }, { "docid": "84d62b19b690772f0e6eb35d72e7d35b", "score": "0.5354664", "text": "TreeMap_imp () { \n root = null; \n inOrderKeys = null;\n treeSize = 0;\n getCount = 0;\n \n // for added fields you can add appropriate initialization code here\n }", "title": "" }, { "docid": "253b745022b36195f76baebef547a821", "score": "0.5340386", "text": "public LSBST(String fileName){//reading in args = 1\n try{\n Scanner scFile = new Scanner(new File(fileName));\n \n while (scFile.hasNext()){\n fileLineCount++;\n bst.insert(new DataNode(scFile.nextLine()));\n }\n scFile.close();\n }\n catch (FileNotFoundException e){\n System.out.println(\"File not found.\");\n } \n insCount = BinarySearchTree.insCount;\n }", "title": "" }, { "docid": "c3f76b0ed63dd39a293278df5aff60bd", "score": "0.53373915", "text": "public BSTnode(T datum)\n\t{\n\t\tthis.datum = datum;\n\t\tleft = null;\n\t\tright = null;\n\t}", "title": "" }, { "docid": "f4a5ffe207b607ef6790eb9ea3a28799", "score": "0.53356093", "text": "public MinStack_1() {\n\n }", "title": "" }, { "docid": "0c300d070f6329c797e01b343d3c61f9", "score": "0.5333611", "text": "public NodeStack() {\t// constructs an empty stack\r\n top = null;\r\n size = 0;\r\n }", "title": "" }, { "docid": "4326c3b1dffe1554637a524405dc88a9", "score": "0.53315115", "text": "public static void main(String[] args) {\n\t\t\n\t\tBinarySearchTree binarySearchTree=new BinarySearchTree();\n\t\tbinarySearchTree.insert(5);\n\t\tbinarySearchTree.insert(10);\n\t\tbinarySearchTree.insert(34);\n\t\tbinarySearchTree.insert(2);\n\t\tbinarySearchTree.insert(848);\n\t\tbinarySearchTree.insert(646);\n\t\tbinarySearchTree.insert(44);\n\t\t\n\t\t//binarySearchTree.inOrder();\n\t\t\n\t\t\n\t\tBinarySearchTree tree=new BinarySearchTree();\n\t\t tree.insert(50);\n\t tree.insert(30);\n\t tree.insert(20);\n\t tree.insert(40);\n\t tree.insert(70);\n\t tree.insert(60);\n\t tree.insert(80);\n\t tree.insert(10);\n\t tree.insert(15);\n\t tree.preOrder();\n\t System.out.println(tree.height());\n\t \n\n\t\t\t\n\t}", "title": "" }, { "docid": "ad0dec74079f9044ef1cdf766887733a", "score": "0.53310454", "text": "public static void main(String[] args) {\n\t\tBSTNode root = new BSTNode(5);\n\t\troot.setLeftNode(new BSTNode(3));\n\t\troot.getLeftNode().setLeftNode(new BSTNode(2));\n\t\troot.getLeftNode().setRightNode(new BSTNode(4));\n\t\tBSTNode t = root.getLeftNode();\n\t\t// BSTNode rep = new BSTNode(8);\n\t\tt.setValue(8);\n\t\tBSTNode g = t.getLeftNode();\n\t\tg = new BSTNode(55);\n//\t\troot.setRightNode(new BSTNode(7));\n//\t\troot.getRightNode().setRightNode(new BSTNode(9));\n//\t\troot.setRightNode(null);\n//\t\tSystem.out.println(root.getRightNode().getRightNode().getValue());\n\t\tSystem.out.println(root.getLeftNode().getLeftNode().getValue());\n\t}", "title": "" }, { "docid": "70c7e25abf46b30dd6ba1cb1918cddfe", "score": "0.5325775", "text": "public TreeNode(State state){\n branches=new ArrayList<TreeNode>();\n this.state=state;\n }", "title": "" }, { "docid": "26426bfa3a2a6e0ba594e00447d38c3d", "score": "0.5324347", "text": "public RedBlackTree() {\n\t\troot = null;\n\t}", "title": "" }, { "docid": "fe8e2971c513fab92cf831906c6fb865", "score": "0.5323138", "text": "BTree(int t){\n root = null;\n degree = t;\n }", "title": "" }, { "docid": "998c094f93a30070b55d0fbfdc7e4778", "score": "0.5320255", "text": "static Node GenTree(int pointerk)\n{\n Node count = new Node();\n count.pointerk = pointerk;\n return count;\n}", "title": "" }, { "docid": "dde6da8adcd6844553faf35a4f765104", "score": "0.5302878", "text": "public LibraryTreeNode(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e3bf0bb542322a3f74318ec3e50adf4b", "score": "0.5301463", "text": "public Test0352() {\n treeMap = new TreeMap<>();\n dummy = new Node(-2, -2, null);\n treeMap.put(-2, dummy);\n count = 0;\n }", "title": "" }, { "docid": "0cc547e57e9c5e46177aff6483a69fb1", "score": "0.52987504", "text": "public WBT() {\n root = null;\n }", "title": "" }, { "docid": "20ead595b976702f10322c2b45cebc1d", "score": "0.52941495", "text": "public void init() {\r\n\t\t_bestTourLengthGlobal = 0;\r\n\t\t_bestTourLengthIteration = 0;\r\n\t\t_bestTourGlobal = new ArrayList<Node>();\r\n\t\t_bestTourIteration = new ArrayList<Node>();\r\n\t\t_elapsedTime = 0;\r\n\t}", "title": "" }, { "docid": "2f36edade2bff4110958fa5a22157c9b", "score": "0.5292075", "text": "public MinStack() {\n\n }", "title": "" }, { "docid": "2f36edade2bff4110958fa5a22157c9b", "score": "0.5292075", "text": "public MinStack() {\n\n }", "title": "" }, { "docid": "2f36edade2bff4110958fa5a22157c9b", "score": "0.5292075", "text": "public MinStack() {\n\n }", "title": "" }, { "docid": "2f36edade2bff4110958fa5a22157c9b", "score": "0.5292075", "text": "public MinStack() {\n\n }", "title": "" }, { "docid": "29d52aac0319705ab974966a97b28f8c", "score": "0.52814734", "text": "public BSTree(T value)\n\t{\n\t\troot = new BSTNode<T>(value);\n\t\tcount = 0;\n\t}", "title": "" }, { "docid": "1eb342fd965012090f7f52add3261e79", "score": "0.52805895", "text": "public Stack() {\n top = null;\n }", "title": "" }, { "docid": "ed79048b54fbde028015c8dd0656189a", "score": "0.5279746", "text": "private static BinaryTreeNode init() {\r\n\t\tBinaryTreeNode root = new BinaryTreeNode();\r\n\t\troot.setValue(10);\r\n\t\tBinaryTreeNode left1 = new BinaryTreeNode();\r\n\t\tleft1.setValue(8);\r\n\t\troot.setLeftNode(left1);\r\n\t\tBinaryTreeNode right1 = new BinaryTreeNode();\r\n\t\tright1.setValue(12);\r\n\t\troot.setRightNode(right1);\r\n\t\t\r\n\t\tBinaryTreeNode left2 = new BinaryTreeNode();\r\n\t\tleft2.setValue(6);\r\n\t\tleft1.setLeftNode(left2);\r\n\t\tBinaryTreeNode right2 = new BinaryTreeNode();\r\n\t\tright2.setValue(7);\r\n\t\tleft1.setRightNode(right2);\r\n\r\n\t\tBinaryTreeNode left3 = new BinaryTreeNode();\r\n\t\tleft3.setValue(13);\r\n\t\tright1.setLeftNode(left3);\r\n\t\tBinaryTreeNode right3 = new BinaryTreeNode();\r\n\t\tright3.setValue(14);\r\n\t\tright1.setRightNode(right3);\r\n\t\t\r\n\t\treturn root;\r\n\t}", "title": "" }, { "docid": "34815e917b9b68fc8b21d778aa8ee915", "score": "0.52782667", "text": "public TestTwoThreeTree() {\r\n\t\tTestTwoThreeTree.root = null;\r\n\t}", "title": "" }, { "docid": "f275d53fbb08daf394fbef33800b1a45", "score": "0.5273969", "text": "public PointSET() {\n mList = new RedBlackBST<Point2D, Double>();\n }", "title": "" }, { "docid": "00ad1b628cb5c058e61cc6f360f3bbc0", "score": "0.52713555", "text": "public Tree()\n {\n root = null;\n }", "title": "" }, { "docid": "0d8b5c89b99c42d1586a8031b95037de", "score": "0.527115", "text": "public KdTree()\n {\n this.root = null;\n this.size = 0;\n \n }", "title": "" }, { "docid": "ee15c73575b3f5671179c6bf340e35d2", "score": "0.527056", "text": "public MyFamilyTree() {\n\t\troot = null;\n\t}", "title": "" }, { "docid": "8172964483db053ad510ae5894d5d0e4", "score": "0.52675295", "text": "private void init(){\r\n\t\tbestelling = new Bestelling();\r\n\t}", "title": "" }, { "docid": "083f8446cfbeb41041c0f3d9310acfa2", "score": "0.5266763", "text": "public BFS()\n {\n pq = new PriorityQueue<PuzzleState>(2000, new StateComp());\n dq = new ArrayDeque<PuzzleState>();\n table = new HashTable<PuzzleState>(1024);\n }", "title": "" }, { "docid": "7bfa86147a4661f25e24eaaba647d52e", "score": "0.52455646", "text": "public SongSearch() {\r\n songData = new File(\"data.csv\");\r\n tree = new RedBlackTree<String>();\r\n }", "title": "" }, { "docid": "ad997caf7732e39cae7d6cbad184939a", "score": "0.5240417", "text": "public MinStack() {\n\n\t}", "title": "" }, { "docid": "ee3b281ebdbba94f7dbe5fd9bd72a903", "score": "0.5238017", "text": "public LinkedBinaryTree() {\n\troot = new BTNode<T>(null,null,null);\n }", "title": "" }, { "docid": "7e97915060947a6e24a12aa16a657e17", "score": "0.5228931", "text": "@Before\n public void setUp(){\n tree = new Tree(55);\n NodeM.add(tree, new Node(20));\n NodeM.add(tree, new Node(65));\n NodeM.add(tree, new Node(134));\n NodeM.add(tree, new Node(3));\n NodeM.add(tree, new Node(2));\n NodeM.add(tree, new Node(45));\n NodeM.add(tree, new Node(40));\n NodeM.add(tree, new Node(48));\n }", "title": "" }, { "docid": "030d88137fe886c0e6d68a9970b76e07", "score": "0.5226765", "text": "public RoomTree() {\r\n overallRoot = null;\r\n }", "title": "" }, { "docid": "845d5cfa910077901281010fb2029a06", "score": "0.52255785", "text": "public void initialize(Tree tree) {\n\t}", "title": "" } ]
b712521e9a903d6cfcf8b64a57760dbc
Gets a Menu object for the menuId and languageCd passed in.
[ { "docid": "b2c0f19a708765c39743c65ba18bd727", "score": "0.90595895", "text": "Menu getMenu(String menuId, String languageCd);", "title": "" } ]
[ { "docid": "efc0648582e5c3095842ce6e0977b170", "score": "0.7358283", "text": "List<Menu> getMenuTree(String menuId, String languageCd);", "title": "" }, { "docid": "32d49d9dc3be6fb826183e1524b44e26", "score": "0.71686316", "text": "@Override\n\tpublic Menu getMenu(Long id) {\n\t\treturn menuService.getMenu(id);\n\t}", "title": "" }, { "docid": "9a0cfe952f00b467d975b6809f6af8c6", "score": "0.6449744", "text": "List<Menu> getMenuFamily(String menuId, String languageCd);", "title": "" }, { "docid": "355ba66844e3b40fb9e635f474323d6a", "score": "0.64378226", "text": "public MenuItem getMenuItem(long menuItemId) {\r\n\t\tLOGGER.info(\"Start\");\r\n\t\tMenuItem menuItem=null;\r\n\t\ttry(Connection cn=ConnectionHandler.getConnection();) {\r\n\t\t\tString sql=\"SELECT * FROM menu_item where menu_item_id=\"+menuItemId;\r\n\t\t\tPreparedStatement ps=cn.prepareStatement(sql);\r\n\t\t\tResultSet rs=ps.executeQuery();\r\n\t\t\tps.clearParameters();\r\n\t\t\twhile(rs.next()) {\r\n\t\t\t\tlong id=rs.getLong(\"menu_item_id\");\r\n\t\t\t\tString name = rs.getString(\"name\");\r\n\t\t\t\tString price = String.valueOf(rs.getFloat(\"price\"));\r\n\t\t\t\tString date = sf.format(rs.getDate(\"date_of_launch\"));\r\n\t\t\t\tboolean active = rs.getBoolean(\"active\");\r\n\t\t\t\tString category = rs.getString(\"category\");\r\n\t\t\t\tboolean freeDelivery = rs.getBoolean(\"free_delivery\");\r\n\t\t\t\tmenuItem=new MenuItem(id, name, price, active, DateUtil.convertToDate(date), category,\r\n\t\t\t\t\t\tfreeDelivery);\r\n\t\t\t}\r\n\t\t\trs.close();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tLOGGER.info(\"End\");\r\n\t\treturn menuItem;\r\n\t}", "title": "" }, { "docid": "42f3b0a870d4682d373d4060ec888d1c", "score": "0.6352146", "text": "List<Menu> menuGroup(String menuGroupId, String langCd);", "title": "" }, { "docid": "3139dd48d87e09749d5dcc29804df947", "score": "0.6264557", "text": "@Override\r\n\tpublic MenuVO getMenuDetail(int id) {\n\t\treturn sql.selectOne(namespace+\".getMenuDetail\", id);\r\n\t}", "title": "" }, { "docid": "3454ecf7dbf0a9c80137c844fb030aee", "score": "0.62138236", "text": "@Override\n\tpublic MenuItem getMenuItem(Long id) {\n\t\treturn menuItemService.getMenuItem(id);\n\t}", "title": "" }, { "docid": "2d1e2942b01cb7b36a181e2223542c0b", "score": "0.6067366", "text": "List<Menu> menuGroupSelectedByUser(String menuGroupId, java.lang.String userId, String languageCd);", "title": "" }, { "docid": "44b655c66ff9679469429121643577ed", "score": "0.6061485", "text": "public MenuItem getMenuItem(String menuID) {\n logger.fine(menuID);\n return menuItemMap.get(menuID);\n }", "title": "" }, { "docid": "ebd5aadf22e9da868f381571cc41b947", "score": "0.6038961", "text": "SysMenu selectByPrimaryKey(Long menuId);", "title": "" }, { "docid": "f832c1c0961916dd101de63b6da47ada", "score": "0.5935882", "text": "@Transactional(readOnly = true)\n public Result get(Long id) {\n Md0003Menu menu = Md0003MenuService.find(id);\n if (menu == null ) {\n return JsonController.notFound(id);\n }\n return JsonController.ok(Json.toJson(menu));\n }", "title": "" }, { "docid": "735baa490330e4964e0fdf0bc55914d0", "score": "0.590861", "text": "public static ILibMenu getMenu(int menuType) {\r\n\t\tif(menuType == MENU_TYPE_CLI)\r\n\t\t\treturn new LibMenuCLInput();\r\n\t\t//else if(menuType == MENU_TYPE_GUI)\r\n\t\t//\t return new LibMenuGUI();\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "850849f4809425440313cf563fbfc356", "score": "0.5858809", "text": "List<MenuWrapper> getMenusList(int roleId);", "title": "" }, { "docid": "2c42e3f12fe064904b3d963edf964084", "score": "0.57405216", "text": "ClientMenu findOne(Long id);", "title": "" }, { "docid": "58e387de250ab268788cd0e1882b0073", "score": "0.56703806", "text": "public String getMenuId() {\n return menuId;\n }", "title": "" }, { "docid": "58e387de250ab268788cd0e1882b0073", "score": "0.56703806", "text": "public String getMenuId() {\n return menuId;\n }", "title": "" }, { "docid": "5e65c43bcb59aa38e6d667e0da2904d3", "score": "0.56467205", "text": "@Override\n\t@Transactional(readOnly = true)\n\tpublic MenuDTO findOne(Long id) {\n\t\tSite site = findByEventId(id);\n\t\tSystem.out.println(site);\n\t\treturn menuMapper.toDto(site.getMenu());\n\t}", "title": "" }, { "docid": "2a67069e79629a7fd61ef5d6698968d0", "score": "0.5646615", "text": "public MenuAction\n\tfindMenu (\n\t Object menuId,\n\t MenuAction parentMenu)\n\t{\n\t\t// if no parent, search from root\n\t\tif (parentMenu == null)\n\t\t\tparentMenu = _rootMenu;\n\n\t\t// delegate\n\t\treturn (parentMenu == null)? null: parentMenu.findMenu (menuId);\n\t}", "title": "" }, { "docid": "59cf9fd2c6123709ed7a3e03bf307288", "score": "0.56106716", "text": "@GetMapping(\"/menu\")\r\n @ResponseBody\r\n\tpublic List<Menu> getMenuList(@RequestParam(value=\"menu_id\", required=false) String menu_id, HttpServletRequest request) throws Exception {\r\n\t\tMenu menu = new Menu();\r\n\t\tmenu.setMenu_id(menu_id);\r\n\t\tList<Menu> list = contactDao.getMenuList(menu);\r\n\t\treturn list; \r\n\t}", "title": "" }, { "docid": "65916ce8d03c321acd16a6dcdd6ac3f9", "score": "0.5601729", "text": "Language getLanguageById(String id)throws NoResultsException;", "title": "" }, { "docid": "dc47ef5c2034036dd8116c61ae6cfbd8", "score": "0.5574707", "text": "String getAllMenuOptionIDs(String parentMenuGroupId, String languageCd);", "title": "" }, { "docid": "228f7e39219c66a290a5d65f0875b5d4", "score": "0.5535134", "text": "@Override\n\tpublic Menu getManuDetails(String menuId) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "27162f466d03c60385fa015e4fc7067b", "score": "0.5427308", "text": "public JMenu createMenu(JMenuBar menuBar, String resourceId) {\n\t\tJMenu menu = new JMenu(this.getResourceText(resourceId + \".text\"));\n\t\tString imageId = this.getResourceText(resourceId + \".image\");\n\t\tif (!imageId.equals(resourceId + \".image\")) {\n\t\t\tmenu.setIcon(this.getImageProvider().getImageIcon(imageId));\n\t\t}\n\t\tString m = this.getResourceText(resourceId + \".mnemonic\");\n\t\tif (!m.equals(resourceId + \".mnemonic\")) {\n\t\t\tmenu.setMnemonic((m.length() > 0 ? m.charAt(0) : '\\0'));\n\t\t}\n\t\tif (menuBar != null) {\n\t\t\tmenuBar.add(menu);\n\t\t}\n\t\treturn menu;\n\t}", "title": "" }, { "docid": "97712a85336c6aa127c2a913126a4b3e", "score": "0.541493", "text": "public void setMenuId(String menuId) {\n this.menuId = menuId;\n }", "title": "" }, { "docid": "a78f44700a89823de336329a8dced0e7", "score": "0.5412878", "text": "public Integer getMenuId() {\n return menuId;\n }", "title": "" }, { "docid": "a78f44700a89823de336329a8dced0e7", "score": "0.5412878", "text": "public Integer getMenuId() {\n return menuId;\n }", "title": "" }, { "docid": "fdae04d42ce7bc49d84f6560fff1ad94", "score": "0.5401045", "text": "PlateYwLxMenu selectByPrimaryKey(String cMenudm);", "title": "" }, { "docid": "e04423e85ea7a80fdffbebc5c9cd484b", "score": "0.5396234", "text": "SyMenus selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "2926c54aef3b26146c18d038a0760572", "score": "0.539049", "text": "MenuRole selectByPrimaryKey(String id);", "title": "" }, { "docid": "9bf30f788c99d962ff007d1450166ebb", "score": "0.53796864", "text": "LIElement addMenuItem(String id, String label, String i18n);", "title": "" }, { "docid": "ab16bc1181f9633b2be04a9fbf0f1802", "score": "0.5378306", "text": "@WebMethod(operationName = \"GetMenu\", action = \"http://tempuri.org/GetMenu\")\n @WebResult(name = \"GetMenuResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"GetMenu\", targetNamespace = \"http://tempuri.org/\", className = \"com.client.service.GetMenu\")\n @ResponseWrapper(localName = \"GetMenuResponse\", targetNamespace = \"http://tempuri.org/\", className = \"com.client.service.GetMenuResponse\")\n public Menu getMenu(\n @WebParam(name = \"maMenu\", targetNamespace = \"http://tempuri.org/\")\n int maMenu);", "title": "" }, { "docid": "9acc45f23c1b0e263321ba40d30d35f8", "score": "0.53736323", "text": "public Integer getMenuId() {\r\n return menuId;\r\n }", "title": "" }, { "docid": "86a1a09f52a655ff8b7e5529aee407fc", "score": "0.5373549", "text": "public Menu getMenu() {\n return menu_;\n }", "title": "" }, { "docid": "9147fe1a2a60eae3ba9ec5c0392cc5ba", "score": "0.5372059", "text": "protected UIMenu obtenerMenu(){\n return menu;\n }", "title": "" }, { "docid": "066630d660e41bb4166263acbb21405a", "score": "0.53421205", "text": "public String getMenuid() {\n return menuid;\n }", "title": "" }, { "docid": "69fa0da45ed74fcb2c5a12a2b065c5ec", "score": "0.5335853", "text": "List<Role> getRolesByMenu(String menuId);", "title": "" }, { "docid": "66e83241a1cb9f7e87c916a64eb80f24", "score": "0.532315", "text": "public int getMenuId() {\n\t\treturn menuId;\n\t}", "title": "" }, { "docid": "f2cdd3b473fbe83d30adccfb0a675d81", "score": "0.5320923", "text": "public MenuItem getItemById(int id){\n\t\treturn items.get(id);\n\t}", "title": "" }, { "docid": "b1994d0431cb6eed05cbad672c4a6cf1", "score": "0.53061366", "text": "public RestaurantMenu getRestaurantMenu(int restaurantId) {\n\t\tRestaurantMenu restaurantMenu = restaurantMenuMapper\n\t\t\t\t.getRestaurantMenu(restaurantId);\n\t\trestaurantMenu.setMenuItems(getRestaurantMenuItems(restaurantId));\n\t\trestaurantMenu\n\t\t\t\t.setCategoryMenuMap(getResaurantMenuCategoryMap(restaurantMenu.getMenuItems()));\n\t\treturn restaurantMenu;\n\t}", "title": "" }, { "docid": "0abb393170a2fc21e3c0ffc950a3bc83", "score": "0.5300392", "text": "BaseMenu selectByPrimaryKey(Long id);", "title": "" }, { "docid": "3f595960c5748df621b963b2c8e54918", "score": "0.5253621", "text": "public Menu getMenu()\r\n {\r\n return _menu;\r\n }", "title": "" }, { "docid": "59d3c349300f2d5c772c1b63c0c1f920", "score": "0.52404004", "text": "public Menu getMenu() {\r\n return menu;\r\n }", "title": "" }, { "docid": "2cb41e88ea7b62e33cfa20f203f681e6", "score": "0.5239842", "text": "public JMenuItem getMenuItem(final MenuIdentifier menuIdentifier) {\n synchronized (menuDetailsMap) {\n final MenuDetails menuDetails = menuDetailsMap.get(menuIdentifier);\n if (menuDetails == null) {\n return null;\n }\n return menuDetails.getMenuItem();\n }\n }", "title": "" }, { "docid": "fde823db5a9b55a0a7cbb1bbbaacef4d", "score": "0.5210186", "text": "public void setMenuId(Integer menuId) {\r\n this.menuId = menuId;\r\n }", "title": "" }, { "docid": "e9b3feae31bb05b84e53548f72dd06b2", "score": "0.5209347", "text": "public void setMenuId(Integer menuId) {\n this.menuId = menuId;\n }", "title": "" }, { "docid": "e9b3feae31bb05b84e53548f72dd06b2", "score": "0.5209347", "text": "public void setMenuId(Integer menuId) {\n this.menuId = menuId;\n }", "title": "" }, { "docid": "33e7d73cb3de25f6babc5bac6613c165", "score": "0.5199449", "text": "protected AbstractMenu getMenu(Object src) {\n if (src instanceof AbstractMenu) {\n return (AbstractMenu) src;\n }\n if (src instanceof Component) {\n Component c = (Component)src;\n return c.getOriginMenu();\n }\n return null; \n }", "title": "" }, { "docid": "97fef07153b814e1514cc43241746c91", "score": "0.51955926", "text": "@GET\n\t@Path(\"/menu\")\n\t@Produces({ \"application/json\", \"application/xml\" })\n\t@RestServiceErrorHandler\n\tpublic Response getMenu() {\n\t\treturn Response.ok(this.refDataQueryService.getMenu()).build();\n\t}", "title": "" }, { "docid": "4061f9127f518f4d6cbcfd43764e311d", "score": "0.5183886", "text": "XtMenu selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "a2560a54f7e2a15f4803b109bc048b75", "score": "0.51780206", "text": "List<Menu> getMenusByUser(String menuGroup, String roleId, String userId);", "title": "" }, { "docid": "56567e7226d76cfa6016ad48dd4309f0", "score": "0.5166787", "text": "@PATCH(\"stores/{storeId}/items/{id}\")\n Call<Menu> patchMenu(@Header(\"Authorization\") String token, @Body Menu menu, @Path(\"storeId\") String storeId, @Path(\"id\") String id);", "title": "" }, { "docid": "0cdce5bde3985da4a63f843b73dbbcfb", "score": "0.51639307", "text": "MenuRole selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "2d83ed0bf6f5fd53ce53c2045806ce5f", "score": "0.51249003", "text": "@RequestMapping(value = \"getMenu\", method = RequestMethod.GET)\n\t@ResponseBody\n\tpublic String getMenu(HttpServletResponse response, @RequestHeader(\"Authorization\") String apiKey) {\n\t\tJSONObject respJson = new JSONObject();\n\t\tInteger storeId = SystemConfig.STORE_TAKEN_MAP.get(apiKey);\n\t\tif (storeId == null) {\n\t\t\trespJson.put(\"code\", CODE);\n\t\t\trespJson.put(\"status\", false);\n\t\t\trespJson.put(\"info\", \"Error API token.\");\n\t\t\treturn JSON.toJSONString(respJson);\n\t\t}\n\n\t\ttry {\n\t\t\tList<Tmenu> menuList = menuService.getAllMenu(storeId);\n\n\t\t\tfor (Tmenu menu : menuList) {\n\t\t\t\tJSONArray langJsonArr = null;\n\t\t\t\tList<TlocalizedField> list = localizedFieldService.getLocalizedField(menu.getMenuId(), SystemConstants.TABLE_NAME_MENU, SystemConstants.TABLE_FIELD_TITLE);\n\t\t\t\tif (list != null && list.size() > 0) {\n\t\t\t\t\tlangJsonArr = new JSONArray();\n\t\t\t\t\tfor (TlocalizedField localizedField : list) {\n\t\t\t\t\t\tJSONObject jsonObj = new JSONObject();\n\t\t\t\t\t\tjsonObj.put(\"language\", localizedField.getLanguage().getLocal());\n\t\t\t\t\t\tjsonObj.put(\"value\", localizedField.getLocaleValue());\n\t\t\t\t\t\tlangJsonArr.add(jsonObj);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tmenu.setTitleLocale(langJsonArr);\n\t\t\t}\n\t\t\trespJson.put(\"status\", true);\n\t\t\trespJson.put(\"info\", \"OK\");\n\t\t\trespJson.put(\"data\", menuList);\n\n\t\t\treturn JSON.toJSONString(respJson);\n\t\t} catch (MposException e) {\n\t\t\trespJson.put(\"status\", false);\n\t\t\trespJson.put(\"info\", e.getMessage());\n\t\t\treturn JSON.toJSONString(respJson);\n\t\t}\n\t}", "title": "" }, { "docid": "020a7056f4e5c5d58dc5ab96671e8cb3", "score": "0.5096994", "text": "BaseMenu selectByGuid(String guid);", "title": "" }, { "docid": "8b296a3b263f19379acc363377c799f5", "score": "0.5095138", "text": "@Override\n\tpublic Menu updateMenu(String menuId, Menu menu) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "113696bf31bf8f8a220ba607855a0e88", "score": "0.5043804", "text": "@Override\n\tpublic About findByLang(String Lang_id) {\n\t\treturn aboutRepository.findByLang(Lang_id);\n\t}", "title": "" }, { "docid": "fc845327ae0c2b10006aa86a4584b9c7", "score": "0.5041477", "text": "@GetMapping(\"menus\")\n @Secured(SELF_READ)\n public Menu getMenus()\n {\n return userService.getCurrentUserMenuV2();\n }", "title": "" }, { "docid": "1fa3707e66c2641e7d1613bf9e54e1ae", "score": "0.5014128", "text": "public Menu mo821q() {\n return this.f13948a.getMenu();\n }", "title": "" }, { "docid": "224eef543793819b3fe1eaa46e3c4a65", "score": "0.50067925", "text": "@Override\n\tpublic Menu createMenu(Menu menu) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "22f0c1f167dc9c3a0b182ee09b4260b1", "score": "0.5002914", "text": "public static Menu getInstance() \n\t{\n\t\tif(instance == null)\n\t\t\tinstance = new Menu();\n\t\treturn instance;\n\t}", "title": "" }, { "docid": "fc40092d0f2607995dfde78072362948", "score": "0.50019324", "text": "public static Menu getMenuFromExpandedMenuView(View v) throws NoSuchFieldException, IllegalAccessException, ClassNotFoundException {\n\t\tClass expandedMenuViewClass = Class.forName(Constants.Classes.EXPANDED_MENU_VIEW);\n\t\treturn (Menu) ReflectionUtils.getFieldValue(v, expandedMenuViewClass, Constants.Fields.MENU);\n\t}", "title": "" }, { "docid": "fc05591d820c93049ff7cc6dda5a6ff7", "score": "0.4984752", "text": "public LocaleEntity findLocaleById(String id);", "title": "" }, { "docid": "489031ad1349ff3d210d75edb1c876f9", "score": "0.49673563", "text": "public List<SysMenuCheck> getMenuList(String id, HttpServletRequest request)\n/* */ throws ServiceException, PersistentDataException\n/* */ {\n/* 513 */ List<SysMenuCheck> menuLists = this.sysMenuService.getMenuPanelByParentId(\"system\", id, \n/* 514 */ 3, getRole(request));\n/* */ Iterator localIterator2;\n/* 516 */ for (Iterator localIterator1 = menuLists.iterator(); localIterator1.hasNext(); \n/* */ \n/* */ \n/* */ \n/* 520 */ localIterator2.hasNext())\n/* */ {\n/* 516 */ SysMenuCheck sysMenu = (SysMenuCheck)localIterator1.next();\n/* */ \n/* 518 */ sysMenu.setChildren(getMenuList(String.valueOf(sysMenu.getId()), request));\n/* */ \n/* 520 */ localIterator2 = this.roleIdMenuList.iterator(); continue;Map<String, Object> sysMenuCheck = (Map)localIterator2.next();\n/* */ \n/* 522 */ if (sysMenuCheck.containsValue(Integer.valueOf(Integer.parseInt(String.valueOf(sysMenu.getId()))))) {\n/* 523 */ sysMenu.setChecked(true);\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* 529 */ return menuLists;\n/* */ }", "title": "" }, { "docid": "9ef86e0fa939470e665986c57464799d", "score": "0.49366176", "text": "Language findLanguageByID(Integer language_id);", "title": "" }, { "docid": "f179cda5032a747fb85189cf4afa245c", "score": "0.4931311", "text": "public JMenuItem createMenuItem(JMenu menu, String resourceId, ActionListener actionListener) {\n\t\tJMenuItem menuItem = new JMenuItem(this.getResourceText(resourceId + \".text\"));\n\t\tString imageId = this.getResourceText(resourceId + \".image\");\n\t\tif (!imageId.equals(resourceId + \".image\")) {\n\t\t\tmenuItem.setIcon(this.getImageProvider().getImageIcon(imageId));\n\t\t}\n\t\tString m = this.getResourceText(resourceId + \".mnemonic\");\n\t\tif (!m.equals(resourceId + \".mnemonic\")) {\n\t\t\tmenuItem.setMnemonic((m.length() > 0 ? m.charAt(0) : '\\0'));\n\t\t}\n\t\tif (menu != null) {\n\t\t\tmenu.add(menuItem);\n\t\t}\n\t\tif (actionListener != null) {\n\t\t\tmenuItem.addActionListener(actionListener);\n\t\t}\n\t\treturn menuItem;\n\t}", "title": "" }, { "docid": "25d49fdb7de1fef95743221cfad85bdc", "score": "0.49229574", "text": "private MenuManager getMenuManager(String menuName) {\n\n\t\tchar mk = MenuManager.getMnemonicKey(menuName);\n\t\tmenuName = MenuManager.stripMnemonicAmp(menuName);\n\n\t\tMenuManager mgr = menuManagers.get(menuName);\n\t\tif (mgr == null) {\n\t\t\tmgr = new MenuManager(menuName, new String[] { menuName }, mk, 1, null, false,\n\t\t\t\tmenuHandler, menuGroupMap);\n\t\t\tmenuManagers.put(menuName, mgr);\n\t\t}\n\t\treturn mgr;\n\t}", "title": "" }, { "docid": "bbdfeefd13eb1669328d76e6c7bdac0b", "score": "0.49080554", "text": "public List<Menu> findMenuByPid(Integer pid) throws SQLException {\n\t\tList<Menu> listMenuBypid;\n\t\tlistMenuBypid = menuDAO.selectByMenuPid(pid);\n\t\treturn listMenuBypid;\n\t\t/*\n\t\t * private List getChildrens(List funcs, Integer menuid) { List\n\t\t * resultList = new ArrayList(); Menu func = null; for (Object obj :\n\t\t * funcs) { func = (Menu) obj; if (func.getPid().equals(menuid))\n\t\t * {//鐖惰妭鐐筰d resultList.add(func); } } menuDAO.selectByMenuType() return\n\t\t * resultList; }\n\t\t */\n\t}", "title": "" }, { "docid": "9964eabb4c0f586031c4405fa39da396", "score": "0.4898334", "text": "private void processGetMenu(Protocol protocolRequest) {\n // Extraer la cedula del primer parámetro\n String id_menu = protocolRequest.getParameters().get(0).getValue();\n // String id_drink = protocolRequest.getParameters().get(2).getValue();\n Menu menu = meService.findMenu(id_menu);\n if (menu == null) {\n String errorJson = generateNotFoundErrorJson(\"Menu no encontrado\");\n output.println(errorJson);\n } else {\n output.println(objectToJSONME(menu));\n }\n }", "title": "" }, { "docid": "b4f4bb6b99212fc69854698970098356", "score": "0.48693404", "text": "List<Menu> menuGroupByUser(String menuGroupId, java.lang.String userId, String languageCd) ;", "title": "" }, { "docid": "9fb7a5cfd5e012375460a6049b2d93f4", "score": "0.48663616", "text": "private JMenu createDictionaryMenu(){\n JMenu dictionary = new JMenu(\"Dictionary\");\n dictionary.setMnemonic('D');\n\n JMenuItem create = new JMenuItem(\"New\");\n create.setMnemonic('N');\n create.setAccelerator(KeyStroke.getKeyStroke('N', KeyEvent.CTRL_MASK));\n create.addActionListener(new NewDictionaryListener());\n\n JMenuItem select = new JMenuItem(\"Select\");\n select.setMnemonic('l');\n select.setAccelerator(KeyStroke.getKeyStroke('L', KeyEvent.CTRL_MASK));\n select.addActionListener(new SelectDictionaryListener());\n\n JMenuItem edit = new JMenuItem(\"Edit\");\n edit.setMnemonic('E');\n edit.setAccelerator(KeyStroke.getKeyStroke('E', KeyEvent.CTRL_MASK));\n edit.addActionListener(new EditDictionaryListener());\n\n JMenuItem delete = new JMenuItem(\"Remove\");\n delete.setMnemonic('R');\n delete.setAccelerator(KeyStroke.getKeyStroke('R', KeyEvent.CTRL_MASK));\n delete.addActionListener(new RemoveDictionaryListener());\n\n dictionary.add(create);\n dictionary.add(select);\n dictionary.add(edit);\n dictionary.add(delete);\n\n return dictionary;\n }", "title": "" }, { "docid": "da10afd8f784e730efda6e51db70f37b", "score": "0.48581102", "text": "Optional<LanguageDTO> findOne(Long id);", "title": "" }, { "docid": "50a3792465559b9d1ceed0d7f7be7ac6", "score": "0.48467118", "text": "protected Menu createMenu(Styles menuStyles,\n Styles groupStyles,\n FormatReference groupPane) throws Exception {\n\n if (menuStyles == null) {\n menuStyles = StylesBuilder.getInitialValueStyles();\n }\n\n if (groupStyles == null) {\n groupStyles = StylesBuilder.getInitialValueStyles();\n }\n\n MenuModelBuilder builder = new ConcreteMenuModelBuilder();\n builder.startMenu();\n builder.setElementDetails(\"menu\", \"menu1\", menuStyles);\n builder.startMenuGroup();\n builder.setElementDetails(\"menugroup\", \"menugroup1\", groupStyles);\n\n if (groupPane != null) {\n builder.setPane(groupPane);\n }\n\n builder.startMenuItem();\n builder.setElementDetails(\"menuitem\", \"menuitem1\",\n StylesBuilder.getInitialValueStyles());\n builder.startLabel();\n builder.startIcon();\n builder.setNormalImageURL(new LiteralImageAssetReference(\"normal.gif\"));\n builder.setOverImageURL(new LiteralImageAssetReference(\"over.gif\"));\n builder.endIcon();\n builder.startText();\n\n OutputBuffer buffer = new TestDOMOutputBuffer();\n buffer.writeText(\"text\");\n\n builder.setText(buffer);\n builder.endText();\n builder.endLabel();\n builder.setHref(new LiteralLinkAssetReference(\"href.xml\"));\n builder.endMenuItem();\n builder.endMenuGroup();\n builder.endMenu();\n\n return builder.getCompletedMenuModel();\n }", "title": "" }, { "docid": "4a222ad9f075aa2180ec95b949cd4cc4", "score": "0.48376817", "text": "@Override\n\tpublic List<MenuDto> initLeftMenu(Integer roleId) {\n\t\tList<MenuDto> menus = managerBackMapper.initLeftMenu(roleId,0);\n\t\treturn menus;\n\t}", "title": "" }, { "docid": "1507d1704922981554734a61beeca276", "score": "0.48354572", "text": "default Licenca fromId(Long id) {\n if (id == null) {\n return null;\n }\n Licenca licenca = new Licenca();\n licenca.setId(id);\n return licenca;\n }", "title": "" }, { "docid": "f072143ea3e16cc7000c56a75bb46a0e", "score": "0.48282146", "text": "List<Menu> getMenusByRole(String roleId, String serviceId);", "title": "" }, { "docid": "7975cd18382e9e6f84fed902ebedd6a1", "score": "0.47917783", "text": "public Category getCategory(Long Id) { \n\t\treturn categoryRepository.findById(Id).orElse(null);\n\t}", "title": "" }, { "docid": "537f7d630d7254d3294387affc2781d5", "score": "0.4785629", "text": "@Override\n\tpublic LinkMan getById(Long lkm_id) {\n\t\treturn lmd.getById(lkm_id);\n\t}", "title": "" }, { "docid": "5ebb2090839113e7647acf4dc97b67cb", "score": "0.477494", "text": "public Menu() {\n logger.fine(\"init\");\n menuItemMap = new TreeMap<>();\n }", "title": "" }, { "docid": "ae28c367c68b2a9b2f940c9e267d65cc", "score": "0.47737268", "text": "public AMenuBarItem getMenuItem();", "title": "" }, { "docid": "70d73b2237baad8e3ef89a7cfedf2d99", "score": "0.4770552", "text": "public List<Menu> mainMenu() {\n\t\treturn dao.mainMenu();\n\t}", "title": "" }, { "docid": "91efcecf620b0544fa8f0721e86b7cba", "score": "0.47661805", "text": "public interface MenuDao {\n void deleteMenuById(Integer id);\n\n void editMenu(@Param(\"menu\") Menu menu,@Param(\"preId\") Integer preId);\n\n void addMenu(Menu menu);\n\n void recoverMenu();\n}", "title": "" }, { "docid": "a42bcd1d8d9bed9c0909ded9de0eb424", "score": "0.47651014", "text": "public Level findLevelById(Integer id) {\n return null;\n }", "title": "" }, { "docid": "54f2058cb0dbb76af7cf1ad806f8dcfc", "score": "0.47523862", "text": "@ApiModelProperty(value = \"Events that have Menu Id\")\n public Integer getMenuId() {\n return menuId;\n }", "title": "" }, { "docid": "f6ac9fd4952d8a54932599d169ae7594", "score": "0.47496435", "text": "public List<Item> getMenu() {\n return menu;\r\n }", "title": "" }, { "docid": "fb58cb796ec516466d67f24c5ca64750", "score": "0.47440422", "text": "public interface IMenu {\r\n\t/**\r\n\t * Gets the selected choice.\r\n\t * @param choiceString\t\tRetrieves selected choice.\r\n\t * @return\t\t\t\t\tReturns selected choice.\r\n\t */\r\n\tpublic String getLine(String choiceString);}", "title": "" }, { "docid": "d4358db30133be0079a97e769fd9571a", "score": "0.47440132", "text": "public interface AMenu<T extends LabeledMenuItem<D>, D> {\n\t@Nullable\n\tT itemAt(int i);\n\n\t@NotNull\n\tCharSequence[] getMenuCaptions(@NotNull final Context context);\n}", "title": "" }, { "docid": "010037b43ddd878700dbea480e0c741b", "score": "0.47362947", "text": "@Override\n\tpublic vdocLevel fetchByPrimaryKey(String levelId) {\n\t\treturn fetchByPrimaryKey((Serializable)levelId);\n\t}", "title": "" }, { "docid": "e2d98c3046c5e5df9503262a624b4a77", "score": "0.47320855", "text": "Menu build();", "title": "" }, { "docid": "00009ae79c28dfd422a0394f0968d79a", "score": "0.47287536", "text": "public JMenu getMenu ()\r\n {\r\n return menu;\r\n }", "title": "" }, { "docid": "7e93ed78a2833f2ba5284238141b98ea", "score": "0.47259432", "text": "@Override\n\t\tpublic Language findLanguage(Long id) {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "6269c2aeb82bfd7ff5de4204f092d8cc", "score": "0.4724544", "text": "public void setMenuId(String menuId) {\n this.menuId = menuId == null ? null : menuId.trim();\n }", "title": "" }, { "docid": "7ff28c6f022611aa292b470d56071a69", "score": "0.47152638", "text": "Menu addMenu(Menu data);", "title": "" }, { "docid": "6128bb2d49d3fcc8a6c9fed9aa0ad703", "score": "0.47124994", "text": "public interface IMenuService extends IBaseService<Menu>{\n /***\n * 查找与menuName同名的菜单个数\n * @param menuName\n * @return\n */\n public Integer queryCountByName(String menuName);\n\n /**\n * 获取所有menu\n * @return\n */\n public List<Menu> queryAllMenu();\n /**\n * 通过用户角色来显示不同用户菜单项\n * @param roleId\n * @return\n */\n public List<Menu> queryMenuListByRoleId(String roleId);\n\n\n /***\n * 可拓展成单独的菜单管理\n * @param menu\n * @param pageConfig\n * @return\n */\n public PageVo<Menu> querymenuListByPage(Menu menu, PageConfig pageConfig);\n\n\n\n\n /**\n * 通过pid查询子菜单项\n * @param pId\n * @return\n */\n public List<Menu> queryMenuListByPId(String pId, String roleId);\n\n /**\n * 获取某角色菜单vo,供前台显示\n * @param pId\n * @param roleId\n * @return\n */\n public List<MenuVo> queryMenuVoList(String roleId) ;\n}", "title": "" }, { "docid": "19f40ddac1fd57e83c51b29ecf160493", "score": "0.4708619", "text": "private Optional<AbstractMenu> getMenuFromInventory(Inventory inventory) {\n boolean isCustom = inventory.getHolder() instanceof AbstractMenu;\n return isCustom ? Optional.of((AbstractMenu) inventory.getHolder()) : Optional.empty();\n }", "title": "" }, { "docid": "da8a5f4528ce87c5ca2407f284604d69", "score": "0.47040746", "text": "@IdRes int getHomeMenuId();", "title": "" }, { "docid": "cb54d4fb08b7d95341a3f9318831a8b1", "score": "0.47023135", "text": "public static MenuItem createFromExistingWithId(MenuItem selected, int newId) {\n var builder = builderWithExisting(selected);\n builder.withId(newId);\n return builder.menuItem();\n }", "title": "" }, { "docid": "6d1667a95aeffc46014df5ed9bcae5c1", "score": "0.47006422", "text": "public interface MenuMapper {\n List<Menu> getAllMenu();\n\n List<Menu> getMenusByHrId(Long hrId);\n\n List<Menu> menuTree();\n\n List<Long> getMenusByRid(Long rid);\n\n int addMenu(Menu menu);\n\n int updateMenu(@Param(\"menu\") Menu menu);\n\n List<Menu> getMenusByParam(@Param(\"start\") Integer start, @Param(\"size\") Integer size);\n\n int deleteMenuById(@Param(\"ids\") String[] split);\n\n List<PMenu> getParentMenu();\n}", "title": "" }, { "docid": "01a092f36814fab4abeacd5d7f26bd85", "score": "0.4699671", "text": "public MenuRol buscarMenuRolPorId(Integer idMenuRol) {\n \treturn (MenuRol)getCurrentSession().get(MenuRol.class, idMenuRol);\n \t\t\t//.add(Restrictions.eq(\"idMenuRol\",idMenuRol))\n \t\t\t//.uniqueResult();\n }", "title": "" }, { "docid": "cd745c96d0385ec02f8689906d1fca80", "score": "0.46994138", "text": "public interface Menu {\n boolean executarOpcao(String opcao);\n\n ItemMenu addItemMenu(String key, String descricao, OperacaoMenu f);\n\n ItemMenu addItemMenu(String key, ItemMenu iM);\n\n ItemMenu removeItemMenu(String key);\n\n void mostrarMenu();\n}", "title": "" }, { "docid": "ecea3b8a985939bf6bf1f6d81f00c80d", "score": "0.46768007", "text": "public static MenuItem buildLevelMenu(TreeFilter filter, MenuItem father, String userId,\n String language, OrganizationController controller) throws RemoteException {\n if (father == null) {\n // build the first level of menu\r\n return buildFirstLevel(filter, userId, language, controller);\n } else {\n // build the other level\r\n return buildOtherLevel(filter, father, userId, language, controller);\n }\n \n }", "title": "" } ]
0ef051478b20b6d82ffdb9ed9f91a434
Get messages for the given locale
[ { "docid": "0c35c43f002787d2dd8c3105e7e47b37", "score": "0.5996307", "text": "public static String getMessage(String key, Locale locale) {\r\n\t\tResourceBundle messages = ResourceBundle.getBundle(\"ApplicationResources\", locale);\r\n\t\treturn messages.getString(key);\r\n\t}", "title": "" } ]
[ { "docid": "617ca1a5b15e09480ec46210f1a70e67", "score": "0.66302234", "text": "List<Locale> getLocales() throws MentorMeException;", "title": "" }, { "docid": "6d7d3db3b53e8b69c34fd83c7992cb35", "score": "0.65621793", "text": "String getMessage(Locale locale, String code, Object... args);", "title": "" }, { "docid": "0c3db567ab062c506830508e4ac5584e", "score": "0.65545195", "text": "String getText( String msgKey, Locale locale );", "title": "" }, { "docid": "d1f46ada5febc801d629624bf5190de0", "score": "0.62799007", "text": "List<String> getMessages();", "title": "" }, { "docid": "a62ce1ba83c6fa2f5df4678a5b6b3420", "score": "0.6274612", "text": "public List<EntityLocaleEntry> find(String locale);", "title": "" }, { "docid": "962673e7f9d5a0a4c40272c1a0e137ca", "score": "0.6253025", "text": "String getLocalizedDescription(Locale locale);", "title": "" }, { "docid": "8b59af39e6fc8c002098168c346b3b6b", "score": "0.6226617", "text": "public String getMessage(String key, Locale locale) {\n\t\treturn appContext.getMessage(key, null, locale);\n\t}", "title": "" }, { "docid": "72569da8e38c51c82caf909b83ff3fe4", "score": "0.62115544", "text": "Messages getMessages();", "title": "" }, { "docid": "ccc5b582684c1030197b2eaf04f2514e", "score": "0.6196434", "text": "private String getMessage(String key, Locale locale) {\n\t\tif (locale != null) {\n\t\t\treturn MessageManager.getInstance().getProperty(key, locale);\n\t\t} else {\n\t\t\treturn MessageManager.getInstance().getProperty(key);\n\t\t}\n\t}", "title": "" }, { "docid": "1fee854a77d808620cad38c9adb6dd32", "score": "0.6131262", "text": "java.util.List<String> getSystemSupportedLocaleList();", "title": "" }, { "docid": "4ae18b2d328bb37fcb971c402d2c0b58", "score": "0.61151725", "text": "private static List<Locale> getLookupLocales(Locale locale) {\n // Note: We currently use the default implementation of\n // ResourceBundle.Control.getCandidateLocales. The result\n // returned by getCandidateLocales are already normalized\n // (no extensions) for service look up.\n List<Locale> lookupLocales = new Control() { }.getCandidateLocales(\"\", locale);\n return lookupLocales;\n }", "title": "" }, { "docid": "d555236e8cb597d9c9a8bfc617d2ad96", "score": "0.6063525", "text": "public static String getLocaleString(String locale){\n // All keys in messages.properties are lowercase (historical reasons?)\n String resKey = locale.toLowerCase(java.util.Locale.ENGLISH);\n try {\n return resources.getString(resKey);\n } catch (MissingResourceException e) {\n }\n return locale;\n }", "title": "" }, { "docid": "92ecf0b038cca3cc390342358275c160", "score": "0.60544664", "text": "Locale getLocale();", "title": "" }, { "docid": "8ca8d5fb73ee9e24756f8be5310b3476", "score": "0.604101", "text": "@Test\r\n public void getMessage() {\r\n\r\n MessageServiceImpl messageServiceImpl = new MessageServiceImpl();\r\n\r\n City city = new City(\"New York\", \"\");\r\n\r\n System.out.println(\"Current Locale: \" + Locale.getDefault());\r\n \r\n String message = messageServiceImpl.getMessage(city);\r\n\r\n System.out.println(message);\r\n\r\n Locale.setDefault(new Locale(\"ru\", \"ru\"));\r\n System.out.println(\"Current Locale: \" + Locale.getDefault());\r\n\r\n String ruMessage = messageServiceImpl.getMessage(city);\r\n System.out.println(ruMessage);\r\n\r\n }", "title": "" }, { "docid": "a29653fcac75bcb52f9c26903f1afb96", "score": "0.59865665", "text": "List<Locale> getSiteLocales(String locales);", "title": "" }, { "docid": "20e5e798d8dc0301a902edb0d25c0747", "score": "0.595843", "text": "public String getMessage(String key, Object[] args, Locale locale) {\n\t\treturn appContext.getMessage(key, args, locale);\n\t}", "title": "" }, { "docid": "7dca1ad27759d892ca1f6eb8ada2f733", "score": "0.59406906", "text": "public static String getMessage(String key, Locale locale) {\n if (locale == null) {\n locale = getDefaultLocale();\n }\n ResourceBundle.Control control =\n ResourceBundle.Control.getNoFallbackControl(\n ResourceBundle.Control.FORMAT_DEFAULT);\n\n ResourceBundle messages = ResourceBundle.getBundle(\"Messages\", locale, control);\n try {\n String message = messages.getString(key.trim());\n return message;\n } catch (MissingResourceException e) {\n log.error(\"'\" + key + \"' translation undefined in locale '\"\n + locale.toString() + \"'\");\n return key;\n }\n }", "title": "" }, { "docid": "85bececebfbc8d3f037d1e41fd84db51", "score": "0.5904326", "text": "im.turms.server.common.access.client.dto.model.message.Messages getMessages();", "title": "" }, { "docid": "f62a243e1200a96ce1273fcc504c6b05", "score": "0.5903146", "text": "java.lang.String getLocale();", "title": "" }, { "docid": "f62a243e1200a96ce1273fcc504c6b05", "score": "0.5903146", "text": "java.lang.String getLocale();", "title": "" }, { "docid": "f62a243e1200a96ce1273fcc504c6b05", "score": "0.5903146", "text": "java.lang.String getLocale();", "title": "" }, { "docid": "f62a243e1200a96ce1273fcc504c6b05", "score": "0.5903146", "text": "java.lang.String getLocale();", "title": "" }, { "docid": "8a78f086f464dc4c46d5c4c59f705927", "score": "0.58667195", "text": "public Locale getLocale();", "title": "" }, { "docid": "965b7a4a82037f068f62d57c1775eb41", "score": "0.58535206", "text": "String getText( String msgKey, Object[] args, Locale locale );", "title": "" }, { "docid": "6d7db2b4f07690ee15619440e1dff2cf", "score": "0.58520645", "text": "String getText( String msgKey, String arg, Locale locale );", "title": "" }, { "docid": "3e461287e57c17465d6f9250e365fc82", "score": "0.5849496", "text": "String description( Locale locale );", "title": "" }, { "docid": "da284884746a62dc5306f5d7af41f6d8", "score": "0.5796103", "text": "com.google.protobuf.ByteString getLocaleBytes();", "title": "" }, { "docid": "c62893e22ed68377e1cb0bd87485cebf", "score": "0.57656133", "text": "public interface LazyLocaleMessageProvider extends MessageProvider {\n\n /**\n * <p>Loads a localization for a specified {@link Locale}.</p>\n *\n * If that localization is already loaded, this method will reload it.\n *\n * @param locale The desired {@link Locale}.\n * @throws LocalizationLoadingException When an error occurs while trying to load the specified localization.\n * @throws NoSuchLocalizationException When no localization was found for the desired locale.\n */\n void loadLocale(Locale locale) throws NoSuchLocalizationException, // SUPPRESS CHECKSTYLE: Redundant\n LocalizationLoadingException; // SUPPRESS CHECKSTYLE: Redundant\n\n /**\n * Retrieves all loaded localizations.\n *\n * @return A {@link Set} of {@link Locale}s whose localizations are currently loaded.\n */\n Set<Locale> getLoadedLocales();\n\n /**\n * Detects if a localization is loaded for the specified {@link Locale}.\n *\n * @param locale The {@link Locale}.\n * @return Whether a localization is loaded for the specified {@link Locale}.\n */\n boolean isLocaleLoaded(Locale locale);\n\n}", "title": "" }, { "docid": "ab913fc168637093b9caadc66dd8a996", "score": "0.57626784", "text": "com.google.protobuf.ByteString\n getLocaleBytes();", "title": "" }, { "docid": "caed75922ada086f8800b7a2f5e82d8a", "score": "0.5744414", "text": "void getMessages();", "title": "" }, { "docid": "339f2bf45f65d7712bae9d032fbe0ac1", "score": "0.57432383", "text": "public String getLocale();", "title": "" }, { "docid": "1e94a2ca7f69e47044e5970522dd8129", "score": "0.5710173", "text": "com.google.protobuf.ByteString\n getLocaleBytes();", "title": "" }, { "docid": "1e94a2ca7f69e47044e5970522dd8129", "score": "0.5710173", "text": "com.google.protobuf.ByteString\n getLocaleBytes();", "title": "" }, { "docid": "66d387359a114167d7077cd7232202f7", "score": "0.5682441", "text": "java.util.List<String> getMessageList();", "title": "" }, { "docid": "3427587f9c4bdcb8a8ede07c88006055", "score": "0.5677463", "text": "public static String getMessage(String key, Object[] args, Locale locale) throws MissingResourceException {\n return getMessage(key, args, locale, false);\n }", "title": "" }, { "docid": "e92993dcb102f9d81986ff4faf05c7cc", "score": "0.5667323", "text": "public String translate(Message m, Locale locale)\n {\n return null;\n }", "title": "" }, { "docid": "907f99c0dfbf47adc88febed83b0bf61", "score": "0.56511104", "text": "public List<String> getMessageList() {\n return this.messages;\n }", "title": "" }, { "docid": "5c25e6702197b3d1b54dad1f067581df", "score": "0.5639762", "text": "public abstract Locale get();", "title": "" }, { "docid": "4c7467d08f5a5aefc4e387aa224f1051", "score": "0.562943", "text": "public static List<String> getMessages()\n\t {\n\t\t List<String> arr = new ArrayList<String>();\n\n\t\t\n\t\t String[] t = message.split(separator);\n\t\t\n\t\t for (int i = 0; i < t.length; i++) {\n\t\t\t arr.add(t[i]);\n\t\t }\n\t\t return arr;\n\t}", "title": "" }, { "docid": "1900bee38bdac5c834319f53a5874e89", "score": "0.55816907", "text": "@Path(\"messages\")\n\t@GET\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic List<String> getMessages() {\n\t\treturn botManager.fetchLog();\n\t}", "title": "" }, { "docid": "2a8e068534415bc3d9e1be8018440776", "score": "0.557693", "text": "@Override\n\tpublic String toString() {\n\t\tif (langMessages.containsKey(Locale.getDefault().getLanguage())) {\n\t\t\treturn langMessages.get(Locale.getDefault().getLanguage());\n\t\t}\n\t\treturn defaultEnglish;\n\t}", "title": "" }, { "docid": "b2c7e79912da3e89a539b6e028e51770", "score": "0.55692935", "text": "public List<String> getMessages() {\n return messages;\n }", "title": "" }, { "docid": "30b73510b8125495efdff612b7e72387", "score": "0.5568797", "text": "public List<ULocale> getLocales()\n/* */ {\n/* */ List<ULocale> result;\n/* */ \n/* */ \n/* */ List<ULocale> result;\n/* */ \n/* 185 */ if (this.locales == null) {\n/* 186 */ result = guessLocales();\n/* */ } else {\n/* 188 */ result = new ArrayList();\n/* 189 */ result.addAll(this.locales);\n/* */ }\n/* 191 */ return result;\n/* */ }", "title": "" }, { "docid": "f59b54f954d0cd127af575860b0548c2", "score": "0.55512387", "text": "public String getText(final String msgKey, final Locale locale) {\n return getMessageSourceAccessor().getMessage(msgKey, locale);\n }", "title": "" }, { "docid": "29ca99b20a9695ae45d2f9e950ca319c", "score": "0.55332786", "text": "public static Locale getLocale() {\n return locale;\n }", "title": "" }, { "docid": "906ed2de028a2a7ef67a703416e64f4e", "score": "0.55265856", "text": "java.util.List<com.google.cloud.dialogflow.cx.v3.ResponseMessage> getMessagesList();", "title": "" }, { "docid": "912c91488116b11c883f204132b59a6e", "score": "0.55260116", "text": "public Locale getApplicationLocale();", "title": "" }, { "docid": "76041273b36ffab5456a2d9e6c7280e9", "score": "0.55234766", "text": "public ArrayList<String> getMessages() {\r\n\t\treturn new ArrayList<String>(m);\r\n\t}", "title": "" }, { "docid": "064f0ea9e9fb75f94393157fba32bd48", "score": "0.55091465", "text": "public Locale[] supportedLocales();", "title": "" }, { "docid": "5e7d98fd4e26ddb072f88c80196b8f28", "score": "0.5508267", "text": "public List getMessage(int page) {\n\t\treturn ma.getMessage(page);\r\n\t}", "title": "" }, { "docid": "bf897d9b08f97364f09af2ae3c0566a7", "score": "0.54940575", "text": "LocaleProvider getLocalizerProvider();", "title": "" }, { "docid": "bf3f3cf7b36d9961fb2e27a83d0f8a6c", "score": "0.54933226", "text": "public static final String get(final Enum<? extends IBundle> key, final @NonNull Locale locale)\n {\n return get(key, locale, null);\n }", "title": "" }, { "docid": "5f6c937a824244ba43dc9d5a5f4a9e8d", "score": "0.5467082", "text": "private static Locale getLookupLocale(Locale locale) {\n Locale lookupLocale = locale;\n Set<Character> extensions = locale.getExtensionKeys();\n if (!extensions.isEmpty() && !locale.equals(locale_ja_JP_JP) && !locale.equals(locale_th_TH_TH)) {\n // remove extensions\n Builder locbld = new Builder();\n try {\n locbld.setLocale(locale);\n locbld.clearExtensions();\n lookupLocale = locbld.build();\n } catch (IllformedLocaleException e) {\n // A Locale with non-empty extensions\n // should have well-formed fields except\n // for ja_JP_JP and th_TH_TH. Therefore,\n // it should never enter in this catch clause.\n config(\"A locale(\" + locale + \") has non-empty extensions, but has illformed fields.\");\n\n // Fallback - script field will be lost.\n lookupLocale = new Locale(locale.getLanguage(), locale.getCountry(), locale.getVariant());\n }\n }\n return lookupLocale;\n }", "title": "" }, { "docid": "a6ad25d2bb9d946655818067d0dc1353", "score": "0.54651225", "text": "public String getLocalizedText(String locale) {\n \t\tif (locale != null && translationMap != null) {\n \t\t\tTranslationDto trans = translationMap.get(locale);\n \t\t\tString txt = null;\n \t\t\tif (trans != null) {\n \t\t\t\ttxt = trans.getText();\n \t\t\t}\n \t\t\tif (txt != null && txt.trim().length() > 0) {\n \t\t\t\treturn txt;\n \t\t\t} else {\n \t\t\t\treturn this.text;\n \t\t\t}\n \t\t} else {\n \t\t\treturn this.text;\n \t\t}\n \t}", "title": "" }, { "docid": "e5606613bc01cc09f1cddd93fd4ccecd", "score": "0.54636854", "text": "public static Locale getLocale() {\n\t\treturn locale;\t\n\t}", "title": "" }, { "docid": "fcdc8b36ab762e296ac11d98968d8682", "score": "0.54546756", "text": "public static final List<String> getList(final @NonNull Locale locale)\n {\n initialize();\n\n List<String> result = new ArrayList<>();\n List<ResourceBundle> resources = BUNDLES.get(locale);\n\n if (resources != null)\n {\n for (ResourceBundle bundle : resources)\n {\n result.add(bundle.getBaseBundleName());\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "08e7e64229efa394f125e4d87c6b5538", "score": "0.5448128", "text": "public static String getLocalizationByKey(Keys localeKey){\n Context context = GlobalApplication.getAppContext();\n switch (localeKey){\n case locationName:\n return context.getResources().getString(R.string.location_name);\n case listCaption:\n return context.getResources().getString(R.string.locations_list);\n case createLocation:\n return context.getResources().getString(R.string.event_create_title);\n case updateLocation:\n return context.getResources().getString(R.string.event_update_title);\n case shortDescription:\n return context.getResources().getString(R.string.location_description);\n case saveLocation:\n return context.getResources().getString(R.string.event_update_media_title);\n }\n return \"\";\n }", "title": "" }, { "docid": "a59208b4e17b23e6f2cc23162915a89d", "score": "0.5429141", "text": "@Override\n public String getMessage(String code, Object args[], String defaultMessage, Locale locale) {\n return getMessageSource().getMessage(code, args, defaultMessage, locale);\n }", "title": "" }, { "docid": "d3cc5f9698252043d7ddc6290367e100", "score": "0.5427496", "text": "public List<String> getMessages() {\n return Collections.<String>unmodifiableList(new ArrayList<>(messages));\n }", "title": "" }, { "docid": "5fc4cabf6a49f4a130869b61f9c78ce2", "score": "0.5423974", "text": "private ResourceBundle getResourceBundle(String locale, final Bundle bundle) {\n \t\t// Determine the base name of the bundle localization property files.\n \t\t// If the <MetaData> 'localization' attribute was not specified,\n \t\t// use the Bundle-Localization manifest header value instead if it exists.\n \t\tString resourceBase = _localization != null ? _localization : MetaTypeProviderImpl.getBundleLocalization(bundle);\n \n \t\t// There are seven searching candidates possible:\n \t\t// baseName + \n \t\t//\t\t\"_\" + language1 + \"_\" + country1 + \"_\" + variation1\t+ \".properties\"\n \t\t// or\t\"_\" + language1 + \"_\" + country1\t\t\t\t\t+ \".properties\"\n \t\t// or\t\"_\" + language1\t\t\t\t\t\t\t\t\t\t+ \".properties\"\n \t\t// or\t\"_\" + language2 + \"_\" + country2 + \"_\" + variation2\t+ \".properties\"\n \t\t// or\t\"_\" + language2 + \"_\" + country2\t\t\t\t\t+ \".properties\"\n \t\t// or\t\"_\" + language2\t\t\t\t\t\t\t\t\t\t+ \".properties\"\n \t\t// or\t\"\"\t\t\t\t\t\t\t\t\t\t\t\t\t+ \".properties\"\n \t\t//\n \t\t// Where language1[_country1[_variation1]] is the requested locale,\n \t\t// and language2[_country2[_variation2]] is the default locale.\n \n \t\tString[] searchCandidates = new String[7];\n \n \t\t// Candidates from passed locale:\n \t\tif (locale != null && locale.length() > 0) {\n \t\t\tint idx1_first = locale.indexOf(LOCALE_SEP);\n \t\t\tif (idx1_first == -1) {\n \t\t\t\t// locale has only language.\n \t\t\t\tsearchCandidates[2] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + locale;\n \t\t\t} else {\n \t\t\t\t// locale has at least language and country.\n \t\t\t\tsearchCandidates[2] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + locale.substring(0, idx1_first);\n \t\t\t\tint idx1_second = locale.indexOf(LOCALE_SEP, idx1_first + 1);\n \t\t\t\tif (idx1_second == -1) {\n \t\t\t\t\t// locale just has both language and country.\n \t\t\t\t\tsearchCandidates[1] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + locale;\n \t\t\t\t} else {\n \t\t\t\t\t// locale has language, country, and variation all.\n \t\t\t\t\tsearchCandidates[1] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + locale.substring(0, idx1_second);\n \t\t\t\t\tsearchCandidates[0] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + locale;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \n \t\t// Candidates from Locale.getDefault():\n \t\tString defaultLocale = Locale.getDefault().toString();\n \t\tint idx2_first = defaultLocale.indexOf(LOCALE_SEP);\n \t\tint idx2_second = defaultLocale.indexOf(LOCALE_SEP, idx2_first + 1);\n \t\tif (idx2_second != -1) {\n \t\t\t// default-locale is format of [language]_[country]_variation.\n \t\t\tsearchCandidates[3] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + defaultLocale;\n \t\t\tif (searchCandidates[3].equalsIgnoreCase(searchCandidates[0])) {\n \t\t\t\tsearchCandidates[3] = null;\n \t\t\t}\n \t\t}\n \t\tif ((idx2_first != -1) && (idx2_second != idx2_first + 1)) {\n \t\t\t// default-locale is format of [language]_country[_variation].\n \t\t\tsearchCandidates[4] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + ((idx2_second == -1) ? defaultLocale : defaultLocale.substring(0, idx2_second));\n \t\t\tif (searchCandidates[4].equalsIgnoreCase(searchCandidates[1])) {\n \t\t\t\tsearchCandidates[4] = null;\n \t\t\t}\n \t\t}\n \t\tif ((idx2_first == -1) && (defaultLocale.length() > 0)) {\n \t\t\t// default-locale has only language.\n \t\t\tsearchCandidates[5] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + defaultLocale;\n \t\t} else if (idx2_first > 0) {\n \t\t\t// default-locale is format of language_[...].\n \t\t\tsearchCandidates[5] = MetaTypeProviderImpl.RESOURCE_FILE_CONN + defaultLocale.substring(0, idx2_first);\n \t\t}\n \t\tif (searchCandidates[5] != null && searchCandidates[5].equalsIgnoreCase(searchCandidates[2])) {\n \t\t\tsearchCandidates[5] = null;\n \t\t}\n \n \t\t// The final candidate.\n \t\tsearchCandidates[6] = \"\"; //$NON-NLS-1$\n \n \t\tURL resourceUrl = null;\n \t\tURL[] urls = null;\n \n \t\tfor (int idx = 0; (idx < searchCandidates.length) && (resourceUrl == null); idx++) {\n \t\t\turls = (searchCandidates[idx] == null ? null : FragmentUtils.findEntries(bundle, resourceBase + searchCandidates[idx] + MetaTypeProviderImpl.RESOURCE_FILE_EXT));\n \t\t\tif (urls != null && urls.length > 0)\n \t\t\t\tresourceUrl = urls[0];\n \t\t}\n \n \t\tif (resourceUrl != null) {\n \t\t\ttry {\n \t\t\t\treturn new PropertyResourceBundle(resourceUrl.openStream());\n \t\t\t} catch (IOException ioe) {\n \t\t\t\t// Exception when creating PropertyResourceBundle object.\n \t\t\t}\n \t\t}\n \t\treturn null;\n \t}", "title": "" }, { "docid": "502973a6d8de393570c4b0153319a94b", "score": "0.5420638", "text": "public List<Message> listMessages();", "title": "" }, { "docid": "f395b34de920ae9dbb53410e87737567", "score": "0.5406268", "text": "public void getMessages() {\n \t\tParseGeoPoint currentLocation = new ParseGeoPoint();\n \t\t\n \t\t// Get messages within 50 meters of the current location\n \t\tParseQuery query = new ParseQuery(\"GeoMessage\");\n \t\tquery.whereWithinKilometers(\"geoPoint\", currentLocation, 1000);\n //\t\tquery.setLimit(10);\n \t\tquery.findInBackground(new FindCallback() {\n \t\t\tpublic void done(List<ParseObject> objects, ParseException e) {\n \t\t\t\tif (e == null) {\n \t\t\t\t\tpopulateMessageView(objects);\n \t\t\t\t} else {\n \t\t\t\t\tdisplayError();\n \t\t\t\t}\n \t\t\t}\n \t\t});\n \t}", "title": "" }, { "docid": "24ff14444646f5113e979db432539eda", "score": "0.5405169", "text": "public ArrayList<String> getMessages() {\n return messages;\n }", "title": "" }, { "docid": "55c24301b4603bf93524392762fb020a", "score": "0.5404452", "text": "List<Message> getErrorMessages();", "title": "" }, { "docid": "2eb04393b76f6cf2d79182187952fe0d", "score": "0.5400123", "text": "static Messages getDefaultMessages() {\n\tif (defaultMessages == null)\n\t defaultMessages = new Messages(getDefaultBundle());\n\treturn defaultMessages;\n }", "title": "" }, { "docid": "05cd6cfe87354b5f87a87578a0facc7e", "score": "0.5396295", "text": "@RequestMapping(value=\"/messages\", method=RequestMethod.GET)\n public ArrayList<MessageWrapper> messages() {\n return mt.getMessages();\n }", "title": "" }, { "docid": "912882b231126c88530343f32d0b7a30", "score": "0.5395965", "text": "public interface I18nMessages extends com.google.gwt.i18n.client.Messages {\n\n\t/**\n\t * Translated \"bp\".\n\t * \n\t * @return translated \"bp\"\n\t */\n\t@DefaultMessage(\"bp\")\n\t@Key(\"author\")\n\tString author();\n\n\t/**\n\t * Translated \"{0} places\".\n\t * \n\t * @return translated \"{0} places\"\n\t */\n\t@DefaultMessage(\"{0,number} places\")\n\t@AlternateMessage({\"=1\", \"{0} place\"})\n\t@Key(\"placeCount\")\n\tString placeCount(@PluralCount int arg0);\n\n\t/**\n\t * Translated \"Sorry, your rendering engine - {0} - is not supported!\".\n\t * \n\t * @param arg0\n\t * @return ranslated \"Sorry, your rendering engine - {0} - is not supported!\"\n\t */\n\t@DefaultMessage(\"Sorry, your rendering engine - {0} - is not supported!\")\n\t@Key(\"browserNotSupported\")\n\tString browserNotSupported(String arg0);\n}", "title": "" }, { "docid": "9563eea94723336868c85b57fe83e4b6", "score": "0.5389741", "text": "ULocale getLocale()\n {\n return locale;\n }", "title": "" }, { "docid": "e70859c1916d25960a0c0a47faaeccbb", "score": "0.5385571", "text": "public final List<Locale> getLocales(String key) {\r\n List<String> values = getStrings(key);\r\n String errVal = null;\r\n try {\r\n List<Locale> list = new ArrayList<>(values.size());\r\n for (String value : values) {\r\n errVal = value;\r\n list.add(LocaleUtils.toLocale(value));\r\n }\r\n return list;\r\n } catch (IllegalArgumentException e) {\r\n throw createTypedException(\r\n \"Could not parse locale value.\", key, errVal, e);\r\n }\r\n }", "title": "" }, { "docid": "42ad66ef5ef2def3126af92c87aacdb4", "score": "0.537237", "text": "@Path(\"/messages\")\n\tpublic Message getAllMessages() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "0813c109fa8a83d155feecf985209042", "score": "0.5367883", "text": "public String getMessageResources(String msg){\n\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\tString messageBundleName = facesContext.getApplication().getMessageBundle();\n\t\tLocale locale = facesContext.getViewRoot().getLocale();\n\t\tResourceBundle bundle = ResourceBundle.getBundle(messageBundleName, locale);\n\t\treturn bundle.getString(msg);\n\t}", "title": "" }, { "docid": "093c73da358ed53772f50a8127beb590", "score": "0.5363408", "text": "TreeMap<String, String> getJavaLocaleMap();", "title": "" }, { "docid": "68bedb5d6290e71b17373b20c2dfe431", "score": "0.5363213", "text": "boolean hasLocalizationMessages(String naturalLanguageCode);", "title": "" }, { "docid": "1efabaaf7d46f2f26f6390c988d3f902", "score": "0.5358501", "text": "public Locale getLocale() {\n return locale;\n }", "title": "" }, { "docid": "0fe5a57a514037bd6eb8a6fb873e7701", "score": "0.5356649", "text": "public static final String get(final Enum<? extends IBundle> key, final @NonNull Locale locale, final Object... parameters)\n {\n initialize();\n\n return extract(key, locale, parameters);\n }", "title": "" }, { "docid": "fa86acf8cd59b4415836e341c7fbab01", "score": "0.5334545", "text": "public String getLocale() {\n return locale;\n }", "title": "" }, { "docid": "f817737685420c15bcd92ef2aea5368c", "score": "0.5331317", "text": "public List<Locale> getLocales()\n {\n return config.getLocales();\n }", "title": "" }, { "docid": "80e99f3a28bb1b7cdd9bf99bd8f12b36", "score": "0.5329087", "text": "private String getMessage(boolean localized) {\n String msg = localized ? super.getLocalizedMessage() : super.getMessage();\n StringBuilder sb = new StringBuilder(msg == null ? \"\" : msg);\n \n for (Throwable exception : exceptions) {\n msg = localized ? exception.getLocalizedMessage() : exception.getMessage();\n \n if (msg != null) {\n sb.append(sb.length() == 0 ? \"\" : \"\\n\\n\").append(msg);\n }\n }\n \n return sb.toString();\n }", "title": "" }, { "docid": "0e7ed511be6d1287ff4bb1c33b01f950", "score": "0.53278136", "text": "@RequestMapping(\"/locale\")\n\tpublic @ResponseBody Map<String, Collection<SupportedLocale>> locales() {\n\t\tMap<String, Collection<SupportedLocale>> value = new HashMap<String, Collection<SupportedLocale>>();\n\t\tList<SupportedLocale> locales = new ArrayList<SupportedLocale>();\n\t\tfor (Locale l : supportedLocales) {\n\t\t\tlocales.add(SupportedLocale.fromLocale(l, messageSource));\n\t\t}\n\n\t\tvalue.put(\"locales\", locales);\n\n\t\treturn value;\n\t}", "title": "" }, { "docid": "509e85c9127c828e5abaa14c17c4367d", "score": "0.53258616", "text": "public Map<Locale, String> getDescriptionMap();", "title": "" }, { "docid": "0d42852ad1e249ce8296da4f855a7207", "score": "0.532537", "text": "public Locale getLocale()\n {\n return locale;\n }", "title": "" }, { "docid": "202acea5b445c773381b16e4831785a3", "score": "0.5324812", "text": "private List<Message> getMessages(String roomId) {\n try {\n String json = get(CW_API_URL.concat(\"/rooms/\").concat(roomId).concat(\"/messages\"),\n CW_HEADER_NAME, CW_API_TOKEN);\n\n if (StringUtils.isEmpty(json)) {\n return Collections.EMPTY_LIST;\n }\n\n return mapper.readValue(json, new TypeReference<List<Message>>() {});\n } catch (IOException e) {\n e.printStackTrace();\n return Collections.EMPTY_LIST;\n }\n }", "title": "" }, { "docid": "054d19ddbe4bd0d4c0f8a000edaf5b99", "score": "0.5318904", "text": "public java.util.Enumeration getLocales() {\n return getPreferredLocales().elements();\n }", "title": "" }, { "docid": "a014d6c8fd65112dfd724acbb962fbca", "score": "0.53186876", "text": "public Locale[] getSupportedLocales() {\n \t // If the file has already been read, no need to read it again\n \t // since this method is called at least twice for every string\n \t // in the program.\n \t if (supportedLocales != null)\n \t return supportedLocales;\n \t \n\t\tFile localeListFile = null;\n\t try {\n\t\t\tlocaleListFile = new File(MainFrame.class.getResource(\"../po/languages\").toURI());\n\t\t} catch (URISyntaxException use) {\n\t\t\tout(use.toString(), VERBOSITY_ERROR);\n\t\t}\n\t\tout(\"Reading supported languages from file: \" + localeListFile.getAbsolutePath() +\n\t\t\t\t\" - file exists: \" + localeListFile.exists(), VERBOSITY_DETAILED_DEBUG_INFO);\n \t\tBufferedReader reader;\n \t\tVector<String> localeStrings = new Vector<String>();\n \t\t\n \t\ttry {\n \t\t\treader = new BufferedReader(new FileReader(localeListFile));\n \t\t\tString readLine;\n \t\t\twhile ((readLine = reader.readLine()) != null) {\n \t\t\t readLine = readLine.trim();\n\t\t\t if (!readLine.equals(\"\") && readLine.charAt(0) != '#') {\n\t\t\t \tout(\"Read line: \" + readLine, VERBOSITY_DETAILED_DEBUG_INFO);\n \t\t\t localeStrings.add(readLine.trim());\n\t\t\t }\n \t\t\t}\n \t\t\treader.close();\n \t\t} catch (IOException ioe) {\n \t\t\tout(ioe.toString(), VERBOSITY_ERROR);\n \t\t\treturn new Locale[0];\n \t\t}\n \t\t\n \t\tsupportedLocales = new Locale[localeStrings.size()];\n \t\tfor (int i = 0; i < supportedLocales.length; i++) {\n \t\t\tString[] currentLocale = localeStrings.get(i).split(\"_\");\n \t\t\tif (currentLocale.length == 1) {\n \t\t\t\tsupportedLocales[i] = new Locale(currentLocale[0]);\n \t\t\t} else if (currentLocale.length == 2) {\n \t\t\t\tsupportedLocales[i] = new Locale(currentLocale[0], currentLocale[1]);\n \t\t\t} else if (currentLocale.length == 3) {\n \t\t\t\tsupportedLocales[i] = new Locale(currentLocale[0], currentLocale[1], currentLocale[2]);\n \t\t\t} else {\n \t\t\t\tout(\"At least one line in the 'po/languages' file is incorrect. The file must contain a list \" +\n \t\t\t\t\t\t\"of locales, one locale per line, in the form 'll', 'll_CC', or 'll_CC_vv', where ll is \" +\n \t\t\t\t\t\t\"a two-letter language code, CC is a two-letter country code, and vv is a variant. \" +\n \t\t\t\t\t\t\"Ignoring all locales.\", VERBOSITY_ERROR);\n \t\t\t\treturn new Locale[0];\n \t\t\t}\n \t\t}\n \t\treturn supportedLocales;\n \t}", "title": "" }, { "docid": "ebfef829a74da977b914020f1bc8fc6d", "score": "0.53087026", "text": "public abstract Iterator<Locale> getSupportedLocales();", "title": "" }, { "docid": "8460730a6ddd3fecfb6f9cbe3e04d909", "score": "0.5306261", "text": "String descriptionInDefaultLocale();", "title": "" }, { "docid": "06276b91b6d9713a0fd035e19bae963a", "score": "0.5293613", "text": "public com.google.protobuf.ByteString\n getLocaleBytes() {\n java.lang.Object ref = locale_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n locale_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "06276b91b6d9713a0fd035e19bae963a", "score": "0.5293613", "text": "public com.google.protobuf.ByteString\n getLocaleBytes() {\n java.lang.Object ref = locale_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n locale_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "93e5eba016d05e1b01e3eb5c7dc7967e", "score": "0.5291421", "text": "public static String getMessage(String key, Object[] args, Locale locale, boolean throwExcIfNotFound)\n throws MissingResourceException {\n String message = \"\";\n if (locale == null) {\n locale = getDefaultLocale();\n }\n\n try {\n message = getMessageSource().getMessage(key.trim(), args, locale);\n } catch (MissingResourceException | NoSuchMessageException e) {\n if (throwExcIfNotFound) {\n throw new MissingResourceException(e.getMessage(), messageSource.getClass().toString(), key);\n }\n log.error(\"'\" + key + \"' translation undefined in locale '\" + locale.toString() + \"'\");\n return key;\n }\n return message;\n }", "title": "" }, { "docid": "3bf593387010ba0ba5d967fcf5b8599c", "score": "0.52887785", "text": "public java.lang.String getLocale() {\n java.lang.Object ref = locale_;\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 locale_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "3bf593387010ba0ba5d967fcf5b8599c", "score": "0.52887785", "text": "public java.lang.String getLocale() {\n java.lang.Object ref = locale_;\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 locale_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "db2ee6ff493cfc8facf8d3441491b3fe", "score": "0.5286516", "text": "public String getLocalizedMessage() {\n \t\tFormatter f = new Formatter();\n\t\tf.format(m_defaultMessage, m_arguments);\n return f.toString();\n }", "title": "" }, { "docid": "800cbb32866f923a7d3d466e4a86ccbd", "score": "0.5285987", "text": "public Collection<Locale> getAvailableLocales(){\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "bb1355189df454422522af23525886c1", "score": "0.5281166", "text": "public ULocale getLocale(int index)\n/* */ {\n/* 202 */ List<ULocale> lcls = this.locales;\n/* 203 */ if (lcls == null) {\n/* 204 */ lcls = guessLocales();\n/* */ }\n/* 206 */ if ((index >= 0) && (index < lcls.size())) {\n/* 207 */ return (ULocale)lcls.get(index);\n/* */ }\n/* 209 */ return null;\n/* */ }", "title": "" }, { "docid": "b528b2216a43f501e4803dc28650e8d5", "score": "0.5271811", "text": "String localize(Locale locale, String key);", "title": "" }, { "docid": "1f58b659bcbe5edfde139f2470979f4c", "score": "0.5269683", "text": "public java.util.List<java.lang.String>\n getSystemSupportedLocaleList() {\n return java.util.Collections.unmodifiableList(systemSupportedLocale_);\n }", "title": "" }, { "docid": "01d2f112710752ef95b1a932d72519c4", "score": "0.52681416", "text": "public String getLocale() {\n return this.locale;\n }", "title": "" }, { "docid": "e6f0ac49cc52f1ed1a0d3d99c4204fbc", "score": "0.5266931", "text": "public java.lang.String getLocale() {\n java.lang.Object ref = locale_;\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 locale_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "e6f0ac49cc52f1ed1a0d3d99c4204fbc", "score": "0.5266931", "text": "public java.lang.String getLocale() {\n java.lang.Object ref = locale_;\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 locale_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "d573981a1e0bc141d3202729a168921f", "score": "0.525378", "text": "private static void buildResourceBundle(Locale locale)\n {\n ArrayList<String> fileList = new ArrayList<String>();\n StringBuffer buffer = new StringBuffer( \"Lang\" );\n fileList.add( buffer.toString() );\n String language = locale.getLanguage();\n if ( language.length() > 0 )\n {\n buffer.append( '_' );\n buffer.append( language );\n fileList.add( buffer.toString() );\n String country = locale.getCountry();\n if ( country.length() > 0 )\n {\n buffer.append( '_' );\n buffer.append( country );\n fileList.add( buffer.toString() );\n String variant = locale.getVariant();\n if ( variant.length() > 0 )\n {\n buffer.append( '_' );\n buffer.append( variant );\n fileList.add( buffer.toString() );\n }\n }\n }\n langKeyMap = new HashMap<String, String>();\n HashMap<String, String> tmpMap = new HashMap<String, String>();\n String resourceName;\n int size = fileList.size();\n for (int i = 0; i < size; i++)\n {\n resourceName = STLibrary.getInstance().getApplicationLocalPath() + \"\\\\\" + fileList.get( i ) + \".properties\";\n tmpMap = loadProperties( resourceName );\n if ( tmpMap != null )\n {\n langKeyMap.putAll( tmpMap );\n logger.info( \"Loaded language map: \" + resourceName + \".\" );\n return;\n }\n else {\n logger.info( \"Could not load language map: \" + resourceName + \".\" );\n } \n }\n }", "title": "" } ]
a1d4955e9172613edc4df5501649fb55
Test of toString method, of class Vehicle.
[ { "docid": "d56e79a42365117c7c96c25703fd19a4", "score": "0.84261954", "text": "@Test\n public void testToString()\n {\n System.out.println(\"toString\");\n Vehicle instance = null;\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" } ]
[ { "docid": "1e6d765a4b292db631c68e0da5d74c18", "score": "0.79624385", "text": "@Test\r\n public void testToString() {\r\n System.out.println(\"toString\");\r\n VehicleCombustion instance = new VehicleCombustion();\r\n instance.setName(\"Ferrari\");\r\n String expResult = \"Ferrari\";\r\n String result = instance.toString();\r\n assertEquals(expResult, result);\r\n\r\n }", "title": "" }, { "docid": "c67758154c2d974dc293bb83a3b2716c", "score": "0.71568626", "text": "public void testToString ()\n\t{\n\n\t}", "title": "" }, { "docid": "65b3a7a33a89ef83e6b2f3262c65272d", "score": "0.7155418", "text": "@Test\n public void test_ToString() {\n System.out.println(\"Testing AbstractRatiosDataModel's toString()\");\n //Default\n AbstractRatiosDataModel instance = new AbstractTester();\n String expResult = \"NONE v.1.0\";\n String result = instance.toString();\n assertEquals(expResult, result);\n //Specified\n instance.modelName = \"Hi\";\n instance.versionNumber = 2;\n instance.minorVersionNumber = 3;\n expResult = \"Hi v.2.3\";\n result = instance.toString();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "e4f4f689c76af6ae3b91e4512073eaea", "score": "0.7118472", "text": "@Test\r\n public void testToString() {\r\n System.out.println(\"toString\");\r\n TNodoArbolGenericoT1 instance = new TNodoArbolGenericoT1(\"nodo\");\r\n String expResult = \"nodo\";\r\n String result = instance.toString();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "429b219171ee618e5908090b940d4faf", "score": "0.70933014", "text": "public void testToString() {\n System.out.println(\"toString\");\n Card instance = new Card(Rank.QUEEN, Suit.SPADES);\n String expResult = \"QUEEN of SPADES\";\n String result = instance.toString();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "78190071f2911174f79f7590a0eb941f", "score": "0.70544106", "text": "@Ignore\n public void testToString() {\n System.out.println(\"toString\");\n ServicoFixo instance = null;\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "03572bac57c05ce6ed5d8d4347b9535b", "score": "0.7039114", "text": "@Test\n public void testToString() {\n assertNotNull(router.toString());\n Route route = router.route(\"/foo/:param1\");\n assertNotNull(router.toString());\n assertNotNull(route.toString());\n }", "title": "" }, { "docid": "105fcb5c9db5837b11d7eb527d13f411", "score": "0.7031745", "text": "@Test\n public void toStringTest() {\n assertEquals(\"shape C ellipse\", oval.toString());\n assertEquals(\"shape R rectangle\", rectangle.toString());\n }", "title": "" }, { "docid": "81fb8a00aa41bdf9d159f7ccaf267b84", "score": "0.6998978", "text": "@Test\n public void toStringTest() {\n assertEquals(\"ToStringClass{}\", toStringClass.toString());\n }", "title": "" }, { "docid": "70b7111da5444dd169b7caedafc1a5e3", "score": "0.6995751", "text": "public void testToString()\n {\n assertEquals(\"Rob A:3 M:3 T:3 Wants: Earth\", test.toString());\n test2 = new Person(\"Krista\", 0, 0, 0, null);\n assertEquals(\"No-Planet Krista A:0 M:0 T:0\", test2.toString());\n }", "title": "" }, { "docid": "d112c66cace96ccf2801fd2292e87aff", "score": "0.69676006", "text": "@Test\r\n public void testToString() {\r\n System.out.println(\"toString\");\r\n Amount price = new Amount(599.0);\r\n String name = \"Tights\";\r\n Amount tax = new Amount(Math.round(599.0*0.12));\r\n ItemDTO instanceToTest = new ItemDTO(price, name, tax);\r\n String expResult = \"item name: \" + name + \"\\t\" +\r\n \"price: \" + price + \"\\t\" +\r\n \"tax amount: \" + tax + \"\\t\";\r\n String result = instanceToTest.toString();\r\n assertEquals(expResult, result, \"Strings are not equal\");\r\n \r\n }", "title": "" }, { "docid": "6f4071b4b2d410a9a59c5f59fe4839c2", "score": "0.69486576", "text": "@Test\r\n public void testToString() {\r\n String expectedValue;\r\n\r\n expectedValue = \"Controller with no temperature sensor and no blower and no heater\";\r\n assertEquals(expectedValue, controller.toString());\r\n\r\n controller.connect(h1);\r\n expectedValue = \"Controller with no temperature sensor and no blower and \" + h1.toString();\r\n assertEquals(expectedValue, controller.toString());\r\n\r\n controller.connect(b1);\r\n expectedValue = \"Controller with no temperature sensor and \" + b1.toString() + \" and \" + h1.toString();\r\n assertEquals(expectedValue, controller.toString());\r\n\r\n controller.connect(ts1);\r\n expectedValue = \"Controller with \" + ts1.toString() + \" and \" + b1.toString() + \" and \" + h1.toString();\r\n assertEquals(expectedValue, controller.toString());\r\n }", "title": "" }, { "docid": "5517dee8d3d6d35dcaeb8a81362c5c19", "score": "0.69394165", "text": "public void testToString() {\n System.out.println(\"toString\");\n ReferenciaPatronBase instance = new ReferenciaPatronBase();\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "b2aa800d498faaea83fafedc67f90cdb", "score": "0.69292814", "text": "@Override\n public String toString()\n {\n String vehicleString;\n \n vehicleString = \"Manufacturer: \" + manufacturer + \"\\n\";\n vehicleString += \"Model: \" + model;\n vehicleString += \"Make Year: \" + make_Year;\n vehicleString += \"Kilometers: \" + kilometers;\n vehicleString += \"Number of Services: \" + services;\n\n return vehicleString;\n }", "title": "" }, { "docid": "795af9ac72dd1830eaa589eb7f215eea", "score": "0.68953", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n Person instance = null;\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "29432b1cb93ec2d0f068321ed3e8777d", "score": "0.6863873", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n CandidaturaDemonstracao instance = new CandidaturaDemonstracao();\n Demonstracao demonstracao = new Demonstracao();\n instance.setDemonstracao(demonstracao);\n \n String expResult = instance.toString();\n String result = instance.toString();\n assertEquals(expResult, result);\n \n }", "title": "" }, { "docid": "681d70abaebf136c31aa72a4b10f8310", "score": "0.6849408", "text": "@Test\r\n public void testToString() {\r\n System.out.println(\"toString\");\r\n DtoResult instance = new DtoResult();\r\n String expResult = \"DtoResult(id=null, date=null, fPlayer=null, sPlayer=null, result=null)\";\r\n String result = instance.toString();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "484c09d919cfc0c6abf8478f13c11449", "score": "0.68198186", "text": "@Test\n public void testToString91() { // Genre: 91\n Genre testigenre3 = new Genre(\"Psytrance\"); \n testigenre3.rekisteroi(); \n Genre testigenre4 = new Genre(); \n assertEquals(\"From: Genre line: 95\", \"3|Psytrance|\", testigenre3.toString()); \n assertEquals(\"From: Genre line: 96\", \"0||\", testigenre4.toString()); \n }", "title": "" }, { "docid": "2764b9f76e8b2e6bceabe10264cd2dd2", "score": "0.67665046", "text": "@Test\n public void testToSTring() {\n System.out.println(\"toSTring\");\n Flight testFlight = new Flight(1030, 30, 5, 1000, \"Toronto\", \"Kolkata\",\"03/02/99 7:50pm\");\n String expResult = \"Flight 1030, Toronto to Kolkata, 03/02/99 7:50pm, original price: $1000.0\";\n String result = testFlight.toString();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "49027c4ecd3a2532fae0c8d69cf0303e", "score": "0.67482036", "text": "@Test\r\n public void testToString() {\r\n System.out.println(\"toString\");\r\n Person instance = new Person(33);\r\n String expResult = \"Person{age=33}\";\r\n String result = instance.toString();\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n //fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "a730517207724ac73a1fcf1621b7d0f3", "score": "0.67405474", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n Carta instance = new Carta();\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "75308be983630f71978f0e1322d75e08", "score": "0.67319", "text": "@Test public void testToString() {\n\n Restaurant arbys = new Restaurant(\"arbys\", \"$$$\");\n Review test = new Review(\"This place is awesome!\", \"Peter\", 5);\n Review test1 = new Review(\"This place is okay!\", \"emily\", 3);\n arbys.addReview(test);\n arbys.addReview(test1);\nString expected = \"arbys Average Stars: 4 Price: $$$\";\n System.out.println(arbys.toString(arbys));\n\n\n assertEquals(\"Tests Restaurant Class toStirng method\", expected, arbys.toString(arbys));\n\n\n }", "title": "" }, { "docid": "bd462e2ca6f9a13fd095ad89eea22161", "score": "0.67157054", "text": "@Test\n public void testToString() {\n Bee bee1 = BeeFactory.getBee(\"Queen\", 1, 5, BeeSpeciesF.Honey);\n assertTrue(bee1.toString().equals(\"Bee id: 1\\n\"\n + \"BeeHive id: 5\\n\"\n + \"Species: Honey\\n\"\n + \"Type: Queen\\n\"\n + \"Attack: 15\\n\"\n + \"Health: 50/50\\n\"\n + \"Stamina: 20/20\"));\n }", "title": "" }, { "docid": "bf14af87c815a07df0700b6b3b300155", "score": "0.6709862", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n \n Vector3D instance = new Vector3D(21.45, 7, 9);\n String expResult = \"(21.4500,7.0000,9.0000)\";\n String result = instance.toString();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "6a81869b46758c92bdb424da73714dc4", "score": "0.6702711", "text": "@Test\n public void testToString()\n {\n System.out.println(\"toString\");\n Table instance = null;\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "53c45fabe9b15b375db8c7395d7c305f", "score": "0.66880745", "text": "@Test public void testMovieReviewToString() {\n\n MovieReview movieTest = new MovieReview(\"this movie was cool\", 4, \"die hard\");\n System.out.println(movieTest.toString(movieTest));\n\n String expected = \"Movie: die hard Review: this movie was cool Stars: 4\";\n\n assertEquals(\"Test Movie Review to String\",expected, movieTest.toString(movieTest) );\n }", "title": "" }, { "docid": "9843c86b46c48ae5513f9fca1c38613e", "score": "0.6687848", "text": "@Test\r\n\tpublic void test_toString() \r\n\t{\r\n\t\tassertTrue(gRNA_b_gene.toString().length() != 0);\r\n\t\tassertNotNull(gRNA_b_gene.toString());\r\n\t\tassertTrue(!gRNA_b_gene.toString().contains(\"version=\"));\r\n\t\tassertTrue(!gRNA_b_gene.toString().contains(\"name=\"));\r\n\r\n\t}", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "797c127fb5cdd7ecec094df1fa3ae8cd", "score": "0.6687227", "text": "public abstract String toString();", "title": "" }, { "docid": "54b502d70eed24ce5a30b0c164b8dd63", "score": "0.66710037", "text": "@Test\n public void testToString() \n {\n System.out.println(\"Check toString output in LargePizza\");\n String expectedResult3, actualResult3;\n final LargePizza largePizza = new LargePizza(15, \"sausage\", \"bacon\", \"cheese\", \"deep-pan\");\n expectedResult3 = \"A pizza (15 inches) with sausage and bacon and a cheese crust, deep-pan\";\n actualResult3 = largePizza.toString();\n System.out.println(expectedResult3);\n System.out.println(actualResult3);\n assertEquals(expectedResult3, actualResult3);\n }", "title": "" }, { "docid": "eb649773dfbdde7bf80ae45ed0571d84", "score": "0.66707593", "text": "public void testToString() throws Exception {\n System.out.println(\"toString\");\n \n instance.setRawListing(\"raw listing\");\n \n String result = instance.toString();\n assertEquals(instance.getRawListing(), result);\n \n }", "title": "" }, { "docid": "e768454983e9a1da5cc7715c9fe0c3f7", "score": "0.66634315", "text": "abstract public String toString();", "title": "" }, { "docid": "e768454983e9a1da5cc7715c9fe0c3f7", "score": "0.66634315", "text": "abstract public String toString();", "title": "" }, { "docid": "e768454983e9a1da5cc7715c9fe0c3f7", "score": "0.66634315", "text": "abstract public String toString();", "title": "" }, { "docid": "02d6239573e00a9f1225f57e111bc177", "score": "0.6625583", "text": "@Test\n\tpublic void testToString() {\n\t\tSystem.out.println(\"testToString\");\n\t\tString expResult = \"\";\n\t\tString result = this.simulation.toString();\n\t\tassertEquals(result.equalsIgnoreCase(expResult), false);\n\n\t}", "title": "" }, { "docid": "7eaa48ae2a09be51a92b71269d6aca59", "score": "0.6620439", "text": "@Test\n public void testToString() {\n setUp();\n String expResult = \"SalesTransaction{\" + \"transactionId=\" + GOOD_TRANSACTION_ID\n + \", salesPersonId=\" + GOOD_SALES_PERSON_ID + \", transactionDateTime=\"\n + GOOD_DATE + \", itemId=\" + GOOD_ITEM_ID + \", unitPrice=\"\n + GOOD_UNIT_PRICE + \", quantitySold=\" + GOOD_QTY_SOLD + '}';\n String result = instance.toString();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "4b1253262073e7d315e625936f5125ad", "score": "0.66124177", "text": "public String toString() {\n return \"Vehicle{\" +\n \"make='\" + make + '\\'' +\n \", model='\" + model + '\\'' +\n \", year=\" + year +\n \", price=\" + price +\n '}';\n }", "title": "" }, { "docid": "a85b3a24a15017b18585ef1ea8d032cb", "score": "0.66074616", "text": "@Test\r\n public void testToString() {\r\n System.out.println(\"toString\");\r\n final String EXPECTED_RESULT = String.format(\"Imię pracownika %s nazwisko pracownika %s\", employee.getName(), employee.getSurname());\r\n \r\n final String RESULT = employee.toString();\r\n \r\n assertEquals(\"Pola nie pasują\", RESULT, EXPECTED_RESULT);\r\n }", "title": "" }, { "docid": "698b43c888540c78971efe02b243bb67", "score": "0.66044205", "text": "@Test\n\tpublic void test_to_string() {\n\t\t// Create an NPC object.\n\t\tNPC npc = new NPC();\n\t\t\n\t\t// Ensure that the toString method produces the correct string.\n\t\tassertTrue(npc.toString().equals(\"DEFAULT_NAME\"));\n\t}", "title": "" }, { "docid": "b4b2ef90efe513713a307cc5c33f610b", "score": "0.658857", "text": "public void testToString() {\n// \tbuf.append(\"Milk: \");\n// \tbuf.append(inventory.getMilk());\n// \tbuf.append(\"\\n\");\n// \tbuf.append(\"Sugar: \");\n// \tbuf.append(inventory.getSugar());\n// \tbuf.append(\"\\n\");\n// \tbuf.append(\"Chocolate: \");\n// \tbuf.append(inventory.getChocolate());\n// \tbuf.append(\"\\n\");\n\t\t\n\t\twhen(inventory.getChocolate()).thenReturn(10);\n\t\twhen(inventory.getCoffee()).thenReturn(10);\n\t\twhen(inventory.getMilk()).thenReturn(10);\n\t\twhen(inventory.getSugar()).thenReturn(10);\n\t\t\n \tString invString = \"Coffee: \" + inventory.getCoffee() + \"\\n\" + \n \t\t\t\"Milk: \" + inventory.getMilk() + \"\\n\" +\n \t\t\t\"Sugar: \" + inventory.getSugar() + \"\\n\" +\n \t\t\t\"Chocolate: \" + inventory.getChocolate() + \"\\n\";\n \t\n \twhen(inventory.toString()).thenReturn(\"Coffee: \" + 10 + \"\\n\" + \"Milk: \" + 10 + \"\\n\" + \"Sugar: \" + 10 + \"\\n\" + \"Chocolate: \" + 10 + \"\\n\");\n \t\n \tassertEquals(\"Inventory to string is off\", invString, inventory.toString());\n \t//verify(inventory).toString();\n\t}", "title": "" }, { "docid": "0c7416d30f43debb4e89f6793e07a2d6", "score": "0.65776145", "text": "public boolean toStringTest() throws AssertException {\n\t\tAnimal a = new Animal(\"Green\", \"Chester\", 350.0, 40);\n\t\tAnimal b = new Animal(\"Orange\", \"Tony\", 200.5, 15);\n\n\t\tZoo zoo = new Zoo(5);\n\t\tzoo.addAnimal(a); // Gorilla\n\t\tzoo.addAnimal(b); // Tiger\n\n\t\t// Create test variables\n\n\t\tString expectedAnimals = \"These animals live in the zoo: \\nChester, a Green-colored animal. 350.0 pounds, 40.0 inches\\n\"\n\t\t\t\t+ \"Tony, a Orange-colored animal. 200.5 pounds, 15.0 inches\\n\\n\";\n\n\t\t// Test toString method in Zoo class\n\n\t\tif (expectedAnimals.contentEquals(zoo.toString())) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\n\t\t}\n\t}", "title": "" }, { "docid": "81902dfb26c633da678b57bd0bde8952", "score": "0.65731496", "text": "@Override // Print each attribute for car object\r\n public String toString() {\n if (available) { \r\n System.out.print(this.companyCar + \" \"); \r\n System.out.print(this.model + \" \");\r\n System.out.print(this.modelYear + \" \");\r\n System.out.print(this.price + \" \");\r\n System.out.print(this.transmissionType + \" \");\r\n System.out.print(this.fuelType + \" \");\r\n } else {\r\n System.out.println(this.companyCar + \" is rented\");\r\n }\r\n return \"\";\r\n }", "title": "" }, { "docid": "3e31461f0ac4a2aa6fadcfbff5c6c638", "score": "0.6570504", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n String expResult = instance.getName();\n String result = instance.toString();\n assertSame(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "b5468ba8df6505bfe82ba7803ee2076e", "score": "0.6536849", "text": "@Override\n public abstract java.lang.String toString();", "title": "" }, { "docid": "5df1dad286020b3c88cbadbce803565b", "score": "0.6534731", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n FinalizedCartEntity instance = new FinalizedCartEntity();\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "8b726549b91002afa1bee3e9996390f2", "score": "0.6526321", "text": "@Test\n public void testToString() {\n String outputString = discountLeaderCard.toString();\n assertTrue(outputString.contains(\"ID: \" + cardID));\n assertTrue(outputString.contains(\"VP: \" + victoryPoints));\n assertTrue(outputString.contains(\"Discount: \" + discount.asList().toString()));\n }", "title": "" }, { "docid": "3a7232c1d53d7e6396191e7763a6ad6f", "score": "0.65207267", "text": "public abstract String toString () ;", "title": "" }, { "docid": "a5ecbbf9deb0461fae4f1c6404e132aa", "score": "0.64960384", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n Flotilla instance = new Flotilla();\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "07e48e5731d7263a6e4735d6cafc058d", "score": "0.6490114", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n String expResult = \"uk.ac.ucl.eidp.auth.model.RoleE[ id=-9223372036854775808 ]\";\n String result = instance.toString();\n assertEquals(result, expResult);\n }", "title": "" }, { "docid": "0039f8b0d56eeb50fd58557a5e33b941", "score": "0.64878285", "text": "public java.lang.String toString() { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "100d4e189f0e1f8ea2ab2cfb2ae199d6", "score": "0.6484928", "text": "public void testToString()\n {\n System.out.println(\"TestHumanPlayer: toString\");\n\n HumanPlayer instance = null;\n\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "97ab5a3f38db9343fa12d43ab66c3755", "score": "0.6463222", "text": "@Test\n void testToString()\n {\n String expected = \"Cleaning, due 2021-07-26. Not done\";\n //Task result(\"Cleaning\", 2021-07-26)\n Task task = new Task(LocalDate.parse(\"2021-07-26\"), \"Cleaning\");\n\n //When...\n //Expected calls toString\n //Save result on String vars\n String result = task.toString();\n\n //Then...\n //Assert expected == result\n assertEquals(expected, result);\n }", "title": "" }, { "docid": "3986dbf9f69edd258054edbfc8739c75", "score": "0.64374834", "text": "public String toString(){\n return \"vehicle Details -> \"\n + \"Passenger Number: \" + passengerNumber\n + \"Max Speed: \" + maxSpeed;\n }", "title": "" }, { "docid": "ec9418c55481c8ae428658e088df74c0", "score": "0.64263725", "text": "@Test\n public void virginToString() {\n Entry e = new Entry();\n e.toString();\n }", "title": "" }, { "docid": "9f85b44e94672998ceb434492e734178", "score": "0.64164424", "text": "@Test\n public void testToString() {\n setUp();\n System.out.println(\"toString\");\n // SalesTransaction instance = null;\n String expResult = instance.toString();\n String result = instance.toString();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "0367234a3b1d2b4c2936950662856f91", "score": "0.64130914", "text": "@Test\n\tvoid testToString() {\n\t\tDegreePlan degreePlan = new DegreePlan();\n\t\tassertEquals(\"[majors=\" + degreePlan.getMajors().toString() + \", minors=\" + degreePlan.getMinors().toString() + \", semesters=\" + degreePlan.getSemesters().toString() + \"]\", degreePlan.toString());\n\t}", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "a16dde518cb525efd2e56c4ec3c5d398", "score": "0.64064294", "text": "String toString();", "title": "" }, { "docid": "4ecb0d6bacf91a5be3e7fb82350c759b", "score": "0.64042634", "text": "public java.lang.String toString () ;", "title": "" }, { "docid": "2b669a18d8efd382258fe9f7c4e20d44", "score": "0.63855", "text": "@Test\n public void testToString() {\n Board b = new Board();\n assertEquals(INIT_BOARD_STATE, b.toString());\n makeSmile(b);\n assertEquals(SMILE, b.toString());\n }", "title": "" }, { "docid": "c30762230226d5d4a6cfaaf96776fa89", "score": "0.6384608", "text": "@Test\r\n public void testToString() {\r\n System.out.println(\"toString\");\r\n Comment instance = new Comment(commentCorrect);\r\n String expResult = \"Comment: Good\";\r\n String result = instance.toString();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "54d3b802a0378465269c24a709e7eb8f", "score": "0.6379407", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n MatrixRealPower instance = this._instance;\n String expResult = \"{Mathematics.Norm.MatrixRealPower(2.0)}\";\n String result = instance.toString();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "801cf87b9737a1dc270cfae547db6547", "score": "0.63793707", "text": "public String toString() ;", "title": "" }, { "docid": "5c803d37764617019c4629f17cef49dc", "score": "0.63761455", "text": "String ToString();", "title": "" }, { "docid": "8606969965abb7f7ad2bf4239160335d", "score": "0.63734436", "text": "@Test\n\tpublic void toStringTest() {\n\n\t\tSystem.out.print(cM1.toString());\n\n\t\tSystem.out.print(cM2.toString());\n\n\t\t// Descending Test:\n\n\t\tSystem.out.print(cM1.toString(false));\n\n\t\tSystem.out.print(cM2.toString(false));\n\t}", "title": "" }, { "docid": "96b227bcf07af56e06afabdd3b1cac85", "score": "0.6365011", "text": "public void testTestToString() {\n }", "title": "" }, { "docid": "12309488fe8cbacb135c1ea0e749f80c", "score": "0.6360306", "text": "@Test\n public void testToString() {\n System.out.println(\"toString\");\n Groups instance = new Groups();\n String expResult = \"\";\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "7fa67a4218febe9cf98fc97934a4c631", "score": "0.63415074", "text": "@Test\r\n public void testToString()\r\n {\r\n }", "title": "" }, { "docid": "1f61e8adccfed66bab188c7b94618629", "score": "0.63361895", "text": "@Test\r\n public void testToString() \r\n throws InvalidIndexException, UncopiableException{\r\n instance.add(index1, obj);\r\n String expResult = \"[ \" + \"5 + 6i\" + \" ]\";\r\n String result = instance.toString();\r\n assertEquals(expResult, result);\r\n System.out.println(\"toString method PASSED!!!\");\r\n }", "title": "" }, { "docid": "d50e33de93ad16bd020883f7b687d4cd", "score": "0.63111734", "text": "@Test\n public void testToString() {\n String currentChatroomString = mc.toString();\n assertTrue(currentChatroomString.contains(\"chatroom_id=\" + chatroom_id));\n\n\n assertFalse(new ModelChatroom().toString().contains(\"@\"));\n\n assertEquals(\"ModelChatroom{\" +\n \"chatroom_id=\" + chatroom_id +\n \", created_by=\" + created_by +\n \", chartroom_name='\" + chartroom_name + '\\'' +\n \", chatroom_icon='\" + chatroom_icon + '\\'' +\n \", chatroom_desc='\" + chatroom_desc + '\\'' +\n \", created_at='\" + created_at + '\\'' +\n \", longitude=\" + longitude +\n \", latitude=\" + latitude +\n '}', currentChatroomString.toString());\n }", "title": "" }, { "docid": "93fc5f95c7eb875c818382a0b5a7e7ad", "score": "0.63002753", "text": "@Test\n\tpublic void testToString_1()\n\t\tthrows Exception {\n\t\tSystemDetailRequest fixture = new SystemDetailRequest();\n\t\tfixture.setPaymentType(\"\");\n\t\tfixture.setCategory(\"\");\n\t\tfixture.setScheduleType(\"\");\n\t\tfixture.setName(\"\");\n\n\t\tString result = fixture.toString();\n\n\t\t// add additional test code here\n\t\tassertEquals(\"SystemDetail [scheduleType=, name=, category=, paymentType=]\", result);\n\t}", "title": "" }, { "docid": "f896bd468305a0b37463f15eb81e7093", "score": "0.62994295", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"MotorVehicle [mMake=\" + mMake + \", mSpeed=\" + mSpeed + \", mVIN=\" + mVIN + \", mYear=\" + mYear + \"]\";\n\t}", "title": "" }, { "docid": "6ad67cc254516739938fc0bc0188f329", "score": "0.6295976", "text": "@Test\n public void testToString() {\n //System.out.println(\"toString\");\n Maze instance = new Maze(9,9,2);\n String expResult = \"+---+---+---+---+-1v+---+---+---+---+\\n| |\\n+ + + + + + + + + +\\n| |\\n+ + + + + + + + + +\\n| |\\n+ + + + + + + + + +\\n| |\\n+ + + + + + + + + +\\n| |\\n+ + + + + + + + + +\\n| |\\n+ + + + + + + + + +\\n| |\\n+ + + + + + + + + +\\n| |\\n+ + + + + + + + + +\\n| |\\n+---+---+---+---+-2^+---+---+---+---+\\n\";\n\t//System.out.println(expResult);\n String result = instance.toString();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "1767f2265c19d07d054f407d12df9a9b", "score": "0.62929064", "text": "@Test\n public void testToString() throws Exception\n {\n final String result = icebergTableNameUnderTest.toString();\n\n // Verify the results\n assertEquals(\"result\", result);\n }", "title": "" }, { "docid": "b0469cc261f052293d4f5fa937d70614", "score": "0.6287712", "text": "public String toString();", "title": "" }, { "docid": "b0469cc261f052293d4f5fa937d70614", "score": "0.6287712", "text": "public String toString();", "title": "" }, { "docid": "b0469cc261f052293d4f5fa937d70614", "score": "0.6287712", "text": "public String toString();", "title": "" } ]
51c0a0f77f6400c40da71a8fb6b3c83f
optional bool contains_bbcode = 4;
[ { "docid": "49147c0fc78e846f8c06f1bdd9a95afd", "score": "0.67931277", "text": "boolean hasContainsBbcode();", "title": "" } ]
[ { "docid": "91007308ae742e1159ab176b14845311", "score": "0.7044734", "text": "boolean getContainsBbcode();", "title": "" }, { "docid": "13c1022f5b1ee590679bd6669718f8f1", "score": "0.7005416", "text": "boolean hasBbcodeFormat();", "title": "" }, { "docid": "067faddccb5fcca1eea8c9c81caf61de", "score": "0.68480295", "text": "boolean getBbcodeFormat();", "title": "" }, { "docid": "f99381c896a137e6df698d1dc589c542", "score": "0.6698629", "text": "boolean hasMessageNoBbcode();", "title": "" }, { "docid": "192594eecfc61169d4f0b6555252485b", "score": "0.65880823", "text": "public boolean getContainsBbcode() {\n return containsBbcode_;\n }", "title": "" }, { "docid": "d00138caa5707e8c8ade98bc4bbdaf4b", "score": "0.6477549", "text": "public boolean getContainsBbcode() {\n return containsBbcode_;\n }", "title": "" }, { "docid": "418b660c104cba46a5e44a8744a2da09", "score": "0.63388515", "text": "public Builder setContainsBbcode(boolean value) {\n bitField0_ |= 0x00000008;\n containsBbcode_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "0e63e994b5764b229543b1ffcb69ff2f", "score": "0.6317376", "text": "public boolean hasContainsBbcode() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "5ca1b6aad9861527de515c04c8cb0f8e", "score": "0.62979716", "text": "public boolean getBbcodeFormat() {\n return bbcodeFormat_;\n }", "title": "" }, { "docid": "1897304a0d577eef8e6152e2019b558b", "score": "0.6275573", "text": "public boolean hasContainsBbcode() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "05e2f4816610b71c9e0676a4f86c988c", "score": "0.61994725", "text": "public boolean getBbcodeFormat() {\n return bbcodeFormat_;\n }", "title": "" }, { "docid": "a443274433737a43c7e9ca2d4a22a2a7", "score": "0.6107983", "text": "public boolean hasBbcodeFormat() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "c5edcaccdf57cc45bff9f4d96a1a4257", "score": "0.60820097", "text": "public boolean hasBbcodeFormat() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "d6931347fda6a7cd25d435fe557cb2e2", "score": "0.5846005", "text": "public boolean is_block_comment();", "title": "" }, { "docid": "5102dd771e2fda3e057d28524b275d5a", "score": "0.5750757", "text": "public Builder setBbcodeFormat(boolean value) {\n bitField0_ |= 0x00000020;\n bbcodeFormat_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4d375f046a8268c36ea315df915b0685", "score": "0.56736255", "text": "boolean isSetTextBody();", "title": "" }, { "docid": "e7136a439c5db0f81d5973208bc52011", "score": "0.5402111", "text": "public boolean hasMessageNoBbcode() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "title": "" }, { "docid": "96188de67640167eea4c74dad852f847", "score": "0.53822947", "text": "public boolean hasMessageNoBbcode() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "title": "" }, { "docid": "bdf54da1a21f25ef242701caba089453", "score": "0.53138775", "text": "public Builder clearContainsBbcode() {\n bitField0_ = (bitField0_ & ~0x00000008);\n containsBbcode_ = false;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4ae08a53c238f6bee060dc0600f96438", "score": "0.5268028", "text": "java.lang.String getMessageNoBbcode();", "title": "" }, { "docid": "dc11ed06433664f53b7b541a68da7bd5", "score": "0.5093355", "text": "public boolean isItalic(android.support.v4.provider.b bVar) {\n return bVar.d();\n }", "title": "" }, { "docid": "e601aadfae1f25ffcd9e8c6186fc272d", "score": "0.5069694", "text": "public boolean isBlock(String tag)\n {\n return tag.equals(\"p\") || tag.startsWith(\"h\")\n || tag.equals(\"blockquote\") || tag.equals(\"pre\")\n || tag.equals(\"ul\") || tag.equals(\"ol\")\n || tag.equals(\"li\") || tag.equals(\"table\")\n || tag.equals(\"figure\") || tag.equals(\"iframe\")\n || tag.equals(\"aside\");\n }", "title": "" }, { "docid": "6b12d36c3abfe6e10796495baccb9b7f", "score": "0.5052107", "text": "@SuppressWarnings(\"unchecked\")\n \tprivate boolean proceedBodyContent(String linkToBase, Element body) {\n \t\tif (body == null) {\n \t\t\treturn false;\n \t\t}\n \t\t\n \t\tList nodes = null;\n \t\tJDOMXPath xp = null;\n \t\ttry {\n \t\t\txp = new JDOMXPath(ThemesConstants.DIV_TAG_INSTRUCTION);\n \t\t\txp.addNamespace(ThemesConstants.NAMESPACE_ID, ThemesConstants.NAMESPACE);\n \t\t\tnodes = xp.selectNodes(body);\n \t\t} catch (JaxenException e) {\n \t\t\tlog.error(e);\n \t\t}\n \t\tif (nodes == null) {\n \t\t\treturn false;\n \t\t}\n \t\t\n \t\tObject o = null;\n \t\tfor (Iterator it = nodes.iterator(); it.hasNext(); ) {\n \t\t\to = it.next();\n \t\t\tif (o instanceof Element) {\n \t\t\t\taddRegion((Element) o);\n \t\t\t}\n \t\t}\n \t\t\n \t\tList<Text> needlessText = new ArrayList<Text>();\n \t\tList allElements = body.getContent();\n \t\to = null;\n \t\tElement e = null;\n \t\tfor (int i = 0; i < allElements.size(); i++) {\n \t\t\to = allElements.get(i);\n \t\t\tif (o instanceof Text) {\t// Finding Text elements - they are needless\n \t\t\t\tneedlessText.add((Text) o);\n \t\t\t}\n \t\t\telse {\n \t\t\t\tif (o instanceof Element) {\t// Fixing <link> and/or <script> attributes values\n \t\t\t\t\te = (Element) o;\n \t\t\t\t\tif (ELEMENT_LINK_NAME.equals(e.getName())) {\n \t\t\t\t\t\tfixDocumentElement(e, linkToBase);\n \t\t\t\t\t}\n \t\t\t\t\tif (ELEMENT_SCRIPT_NAME.equals(e.getName())) {\t// <script> tags needs advanced handling\n \t\t\t\t\t\tfixDocumentElement(e, linkToBase);\n \t\t\t\t\t\tif (!hasElementChildren(e)) {\n \t\t\t\t\t\t\te.addContent(getComment(IDEGA_COMMENT));\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tfor (int i = 0; i < needlessText.size(); i++) {\t// Removing needless Text elements\n \t\t\tneedlessText.get(i).detach();\n \t\t}\n \t\t\n \t\treturn true;\n \t}", "title": "" }, { "docid": "320c7ee2d6c1624e5bfb2187944d5bec", "score": "0.5023788", "text": "private boolean contentChecker(String userText)\n\t{\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4bfee585a159bac04e3d7ccbce2e3e7e", "score": "0.5012712", "text": "public abstract boolean isComment();", "title": "" }, { "docid": "620f29980913d1cb3c123474535b1c67", "score": "0.5001136", "text": "private boolean contentChecker(String input)\n\t{\n\t\tboolean hasMyContent = false;\n\n\t\tif (input.contains(contentArea))\n\t\t{\n\t\t\thasMyContent = true;\n\t\t}\n\n\t\treturn hasMyContent;\n\t}", "title": "" }, { "docid": "642b0d4ac37564b3d63a34c55d08d457", "score": "0.4975847", "text": "boolean hasEditora();", "title": "" }, { "docid": "00ca0246dcc1281b5b0406f0086f05d1", "score": "0.49299508", "text": "public boolean usesBody() {\n \treturn true;\n }", "title": "" }, { "docid": "096944d4c3981373a0e2304d0048e6c9", "score": "0.49096277", "text": "public boolean blockCommentExists(String start);", "title": "" }, { "docid": "8eac197e28c57e0860904ee283bbab47", "score": "0.4900063", "text": "boolean hasLanguageCode();", "title": "" }, { "docid": "3127a60960801ba32ac70c36fa87f87e", "score": "0.48700482", "text": "@Override\n public boolean func_150897_b(Block block) {\n return true;\n }", "title": "" }, { "docid": "43d72000bc3bbe357d7a23d23e5299d9", "score": "0.48638362", "text": "public boolean isWellFormedRaw() ;", "title": "" }, { "docid": "22adcf7e63f275d1af6eb6ab8de7c10c", "score": "0.4850483", "text": "public boolean isEmbraced()\r\n {\r\n return m_embraced;\r\n }", "title": "" }, { "docid": "1bbe1c3e0e725b333df0eba7b04f5a03", "score": "0.484448", "text": "public boolean isNotRaw();", "title": "" }, { "docid": "60c502cb1c088f9a276bc71d6c69b998", "score": "0.48166487", "text": "boolean hasMsgcontent();", "title": "" }, { "docid": "6289b29b5346180a9b5c475fee76fb92", "score": "0.47835013", "text": "boolean hasRemark();", "title": "" }, { "docid": "6289b29b5346180a9b5c475fee76fb92", "score": "0.47835013", "text": "boolean hasRemark();", "title": "" }, { "docid": "6289b29b5346180a9b5c475fee76fb92", "score": "0.47835013", "text": "boolean hasRemark();", "title": "" }, { "docid": "4b38b4d96904cfbef5ef3eae199ca301", "score": "0.47682032", "text": "@Override\n\tprotected void parseOneBlock() {\n\t}", "title": "" }, { "docid": "d7a3f2aac5a9ee1c06469d0dc38f8ea6", "score": "0.4757425", "text": "public Builder clearBbcodeFormat() {\n bitField0_ = (bitField0_ & ~0x00000020);\n bbcodeFormat_ = false;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "55adb84cce8ffa9193b1a60821fe3023", "score": "0.47546858", "text": "boolean hasContentText();", "title": "" }, { "docid": "55adb84cce8ffa9193b1a60821fe3023", "score": "0.47546858", "text": "boolean hasContentText();", "title": "" }, { "docid": "55adb84cce8ffa9193b1a60821fe3023", "score": "0.47546858", "text": "boolean hasContentText();", "title": "" }, { "docid": "e6617a0ae68e8818a1abd775ffbd3c5f", "score": "0.4752035", "text": "public void func_70014_b(NBTTagCompound nbt) {\n/* 386 */ super.func_70014_b(nbt);\n/* 387 */ nbt.func_74757_a(\"hang\", getIsBatHanging());\n/* 388 */ nbt.func_74774_a(\"damBonus\", (byte)this.damBonus);\n/* */ }", "title": "" }, { "docid": "af7faab6769ee1731807d2f21bdd9de7", "score": "0.47409123", "text": "boolean switchToEmojiMode();", "title": "" }, { "docid": "44e442e12d481e5937283baad4e5ef75", "score": "0.47388378", "text": "boolean hasContent();", "title": "" }, { "docid": "44e442e12d481e5937283baad4e5ef75", "score": "0.47388378", "text": "boolean hasContent();", "title": "" }, { "docid": "44e442e12d481e5937283baad4e5ef75", "score": "0.47388378", "text": "boolean hasContent();", "title": "" }, { "docid": "44e442e12d481e5937283baad4e5ef75", "score": "0.47388378", "text": "boolean hasContent();", "title": "" }, { "docid": "44e442e12d481e5937283baad4e5ef75", "score": "0.47388378", "text": "boolean hasContent();", "title": "" }, { "docid": "44e442e12d481e5937283baad4e5ef75", "score": "0.47388378", "text": "boolean hasContent();", "title": "" }, { "docid": "44e442e12d481e5937283baad4e5ef75", "score": "0.47388378", "text": "boolean hasContent();", "title": "" }, { "docid": "44e442e12d481e5937283baad4e5ef75", "score": "0.47388378", "text": "boolean hasContent();", "title": "" }, { "docid": "142372224f08ea0e99196e6e5d8eba2e", "score": "0.47379428", "text": "public void setFilterTBD(boolean value) {\n this.filterTBD = value;\n }", "title": "" }, { "docid": "5613e040dfc4ee0985948f86e0a3aa89", "score": "0.47324228", "text": "public boolean isItalic(b bVar) {\n return bVar.c();\n }", "title": "" }, { "docid": "272433fabbe830dfd610b09de593eddd", "score": "0.4731164", "text": "@Override\npublic boolean isBalcony() {\n\treturn super.isBalcony();\n}", "title": "" }, { "docid": "8c763c90e432bc67916302b375d3f04c", "score": "0.47256118", "text": "private boolean doBracketsMatch(String b) {\r\n\t\t\r\n\t\tif(yeet < 4) {\r\n\t\t\tyeet += 1;\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\tyeet += 1;\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "71185ea5963571c7bc1c7dba5065409c", "score": "0.4722407", "text": "void reply(User user, String bbCode) throws SpamWarningException, ConnectionFailedException;", "title": "" }, { "docid": "c3310b55f314a48bea94185af543922c", "score": "0.47027048", "text": "public String getIsBullet(){\r\n\t\treturn \"yes\";\r\n\t}", "title": "" }, { "docid": "2fdd24a8775eb9dc832cd30d30b9c972", "score": "0.47024727", "text": "boolean Encode_Silent_B()\n\t{\n\t\t//'debt', 'doubt', 'subtle'\n\t\tif(StringAt((m_current - 2), 4, \"DEBT\", \"\") \n\t\t\t|| StringAt((m_current - 2), 5, \"SUBTL\", \"\") \n\t\t\t|| StringAt((m_current - 2), 6, \"SUBTIL\", \"\") \n\t\t\t|| StringAt((m_current - 3), 5, \"DOUBT\", \"\"))\n\t\t{\n\t\t\tMetaphAdd(\"T\");\n\t\t\tm_current += 2;\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "085e137be6f0b8d39dbb1b425c9f92f0", "score": "0.46929345", "text": "public FlexoWysiwyg(String htmlContent, boolean isViewSourceAvailable) {\n\t\tthis(htmlContent, null, isViewSourceAvailable);\n\t}", "title": "" }, { "docid": "07be52e45d6aa196591ae9b05df9eeaf", "score": "0.46778366", "text": "public boolean isFilterTBD() {\n return filterTBD;\n }", "title": "" }, { "docid": "328f2d44920ea04545f7d88718b33903", "score": "0.46748", "text": "public FlexoWysiwyg(boolean isViewSourceAvailable) {\n\t\tthis(null, isViewSourceAvailable);\n\t}", "title": "" }, { "docid": "a5dfa71eca1410fd7702e7f9904d1973", "score": "0.46629143", "text": "public boolean isPicEditorEnabled();", "title": "" }, { "docid": "b1a19bb5949ded5953310f2a81a47c0e", "score": "0.46552497", "text": "public static String RemoveBBCode(String string){\n return string.replaceAll(\"\\\\[[a-zA-Z1-9/=#]{1,10}]\", \"\");\n }", "title": "" }, { "docid": "8584ed1d551e889e08329f188845df21", "score": "0.46236175", "text": "public boolean inTagToProcess();", "title": "" }, { "docid": "c68904e4348f286f68460712451894ac", "score": "0.4623088", "text": "public boolean hasLanguageCode() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "227f901588b6dabb66f0b18ad7d8bd67", "score": "0.46229956", "text": "public abstract void filterHtml (HtmlBlock block);", "title": "" }, { "docid": "ff10fe30f6af83641581cf65f3c4b0ce", "score": "0.46170914", "text": "boolean tulkitseBooleanBox(String cb);", "title": "" }, { "docid": "a3426db01cde855f1498170400a30094", "score": "0.46142274", "text": "boolean hasMixedContent() {\n return false;\n }", "title": "" }, { "docid": "eaa76e2db96644d9c3ae14a8e3e84ace", "score": "0.46123666", "text": "public interface ContentCode extends Code<HTMLGen> {\n public String[] idattrs();\n public void addAttr(boolean first, String attr);\n public boolean noCache();\n}", "title": "" }, { "docid": "c5cecc17d8b90690a477b63cc28ee5c4", "score": "0.46041352", "text": "boolean hasApprovedmsg();", "title": "" }, { "docid": "a92b3ba35aba9f3336d7d27d739af4ec", "score": "0.4603433", "text": "public abstract boolean isRecognizingSentences();", "title": "" }, { "docid": "00aadcc7619edb1b4d647ba218b86f1c", "score": "0.45979023", "text": "boolean isTagged();", "title": "" }, { "docid": "6e62b102e698b6344a4b3fd39cddbdd6", "score": "0.45965886", "text": "boolean hasFreeFormText();", "title": "" }, { "docid": "6e62b102e698b6344a4b3fd39cddbdd6", "score": "0.45965886", "text": "boolean hasFreeFormText();", "title": "" }, { "docid": "6e62b102e698b6344a4b3fd39cddbdd6", "score": "0.45965886", "text": "boolean hasFreeFormText();", "title": "" }, { "docid": "6e62b102e698b6344a4b3fd39cddbdd6", "score": "0.45965886", "text": "boolean hasFreeFormText();", "title": "" }, { "docid": "6e62b102e698b6344a4b3fd39cddbdd6", "score": "0.4596249", "text": "boolean hasFreeFormText();", "title": "" }, { "docid": "91acb59179cce157ff6d5a2f684fb50b", "score": "0.4596194", "text": "boolean displayForEditingInTextEditor();", "title": "" }, { "docid": "9bd13ace68f31518db09c363870b5da3", "score": "0.4594461", "text": "com.google.protobuf.ByteString\n getMessageNoBbcodeBytes();", "title": "" }, { "docid": "61b93343b95713d9a8e0d15e83feae89", "score": "0.45919085", "text": "boolean hasBsj();", "title": "" }, { "docid": "ef053a34f81553cd96ddcec9f214dedd", "score": "0.45908108", "text": "public void setHtmlReply(boolean value) {\n this.htmlReply = value;\n }", "title": "" }, { "docid": "d3aa96da393128784622066d1eecb7e3", "score": "0.45862252", "text": "public void setPlainBody(boolean plainBody){\n this.plainBody = plainBody;\n }", "title": "" }, { "docid": "576b1a9dea4b24b5a556171070a065c9", "score": "0.45846102", "text": "boolean hasMessageText();", "title": "" }, { "docid": "576b1a9dea4b24b5a556171070a065c9", "score": "0.45846102", "text": "boolean hasMessageText();", "title": "" }, { "docid": "f1268b9acb50602f7b96a8e135c2f6fa", "score": "0.4577695", "text": "public boolean hasEditor()\n {\n return true;\n }", "title": "" }, { "docid": "f8638ea80aa7f00912db482b38ddeebc", "score": "0.45737684", "text": "boolean hasRaw();", "title": "" }, { "docid": "1d393dab50675f566e546973f6e5e4e6", "score": "0.45656872", "text": "boolean hasBody();", "title": "" }, { "docid": "1d393dab50675f566e546973f6e5e4e6", "score": "0.45656872", "text": "boolean hasBody();", "title": "" }, { "docid": "1d393dab50675f566e546973f6e5e4e6", "score": "0.45656872", "text": "boolean hasBody();", "title": "" }, { "docid": "5a763e06d4af78e03305e04d78adfbab", "score": "0.4565021", "text": "public static boolean containsHTML(String text)\n {\n if(text == null)\n {\n String msg = Logging.getMessage(\"nullValue.StringIsNull\");\n Logging.logger().severe(msg);\n throw new IllegalArgumentException(msg);\n }\n\n Matcher matcher = SGMLPattern.matcher(text);\n return matcher.find(); \n }", "title": "" }, { "docid": "b25859717e25c9f8de8f101c2e6e1445", "score": "0.45627168", "text": "public Builder setMessageNoBbcode(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n messageNoBbcode_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "31d2fdc5d099a67a1f5bdfb3baf0c6a3", "score": "0.45586392", "text": "private boolean isComment(String string) {\n\t\treturn string.contains(Constants.HASHTAG);\n\t}", "title": "" }, { "docid": "cbdc82e1881f76f4ab934c7f37399e73", "score": "0.4550627", "text": "@Override\r\n\tpublic boolean bolCommo(StringBuilder builder) {\n\t\t\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "5be44fa12daf30877615cf4c0455a632", "score": "0.45489627", "text": "@Override\r\n public boolean setText(String html, boolean trusted) {\n return false;\r\n }", "title": "" }, { "docid": "668e5ef205423d97356b931fec083bd9", "score": "0.45468062", "text": "public boolean inDocnoTag();", "title": "" }, { "docid": "ab8c6b77b8917ecfbf95af1e65106376", "score": "0.45432767", "text": "boolean hasRejectText();", "title": "" }, { "docid": "ab8c6b77b8917ecfbf95af1e65106376", "score": "0.45432767", "text": "boolean hasRejectText();", "title": "" }, { "docid": "ab8c6b77b8917ecfbf95af1e65106376", "score": "0.45428896", "text": "boolean hasRejectText();", "title": "" } ]
8260c3e1a2d748278405704a7f40ed71
Adds a new task for a person in the mission. Task may be not assigned if it is effortdriven and person is too ill to perform it.
[ { "docid": "c473a9d1ec81317eb97e6bd0a5645271", "score": "0.6580887", "text": "protected boolean assignTask(Person person, Task task) {\n\t\tboolean canPerformTask = true;\n\n\t\t// If task is effort-driven and person too ill, do not assign task.\n\t\tif (task.isEffortDriven() && (person.getPerformanceRating() == 0D)) {\n\t\t\tcanPerformTask = false;\n\t\t}\n\n\t\tif (canPerformTask) {\n\t\t\tperson.getMind().getTaskManager().addTask(task, false);\n\t\t}\n\n\t\treturn canPerformTask;\n\t}", "title": "" } ]
[ { "docid": "79d4ff11c64c085e90d0341612bd8ad2", "score": "0.7213749", "text": "public void addTask(String task)\n {\n tasks.add(task);\n }", "title": "" }, { "docid": "3b0b979bd0df9ebf21d8e92afa179edd", "score": "0.7122026", "text": "public void addTask(Task t) {\n\t\tif ( this.tasks.contains(t) ) {\n\t\t\tSystem.err.println(\"This task is already present in this domain's Task list\");\n\t\t}\n\t\telse {\n\t\t\tthis.tasks.add(t);\n\t\t}\n\t}", "title": "" }, { "docid": "a55a9c51e41cf431191f4129de335e30", "score": "0.7070724", "text": "public void addTask(Task task) {\n tasks.add(task);\n }", "title": "" }, { "docid": "bb3e5a228ea2aa69ba9cc5f956716cad", "score": "0.7062848", "text": "public void addTask(Task task) {\n Tasks.add(task);\n numOfTasks++;\n }", "title": "" }, { "docid": "39bea6930d800bdd02aa76159e4cf2cc", "score": "0.6986267", "text": "public void addTask(Task task) {\n tasks.add(task);\n }", "title": "" }, { "docid": "39bea6930d800bdd02aa76159e4cf2cc", "score": "0.6986267", "text": "public void addTask(Task task) {\n tasks.add(task);\n }", "title": "" }, { "docid": "39bea6930d800bdd02aa76159e4cf2cc", "score": "0.6986267", "text": "public void addTask(Task task) {\n tasks.add(task);\n }", "title": "" }, { "docid": "0192ae760dea3b39d96bd638dec98dc3", "score": "0.6975636", "text": "public void addTask(Task task) {\n userList.add(task);\n }", "title": "" }, { "docid": "eb6c2d2be04f4e4a515d638767c527dc", "score": "0.6965922", "text": "public void addTask(TaskOverview task) {\r\n\t\t/* PROTECTED REGION ID(java.implementation._17_0_4_2_8210263_1431851988325_725129_5431) ENABLED START */\r\n\t\t// TODO: implementation of method 'MilestoneDetails.addTask(...)'\r\n\t\tfor (TaskOverview tOverview : tasks) {\r\n\t\t\tif (tOverview.getId() == task.getId())\r\n\t\t\t\treturn;\r\n\t\t}\r\n\t\ttasks.add(task);\r\n\t\t/* PROTECTED REGION END */\r\n\t}", "title": "" }, { "docid": "199ad56834ab8008d4774e57e18f94f7", "score": "0.69338554", "text": "public void addTask(Task t) {\n tasks.add(t);\n }", "title": "" }, { "docid": "95e0dc21b586a569a2683e8eb03ce608", "score": "0.6924534", "text": "void addAutomaticTask(String taskID, AutomaticTask<V> task);", "title": "" }, { "docid": "93d636386a9655be3a558233f5d6a779", "score": "0.6909272", "text": "void addTask(Task task) throws UniqueTaskList.DuplicateTaskException;", "title": "" }, { "docid": "93d636386a9655be3a558233f5d6a779", "score": "0.6909272", "text": "void addTask(Task task) throws UniqueTaskList.DuplicateTaskException;", "title": "" }, { "docid": "983960a80b32c4c34f3ebd1b72cf7153", "score": "0.68883586", "text": "public void addTask(Task task) {\n tasks.add(task);\n System.out.println(task.toString());\n }", "title": "" }, { "docid": "18a39f114d2a31896076a479e1ee6616", "score": "0.68726414", "text": "public void addTask(Task task) {\n\t\ttasksList.add(task);\n\t}", "title": "" }, { "docid": "dc132c91145bebd8daeb8cd94e8f9b95", "score": "0.6859616", "text": "public void add(Task task) {\n tasks.add(task);\n }", "title": "" }, { "docid": "dc132c91145bebd8daeb8cd94e8f9b95", "score": "0.6859616", "text": "public void add(Task task) {\n tasks.add(task);\n }", "title": "" }, { "docid": "f1873bca07ad57eef7969757a291c63b", "score": "0.6744485", "text": "public void addTask(@Raw Task task) {\n \tassert(task != null) && (!task.hasAsScheduler(this));\n \ttasks.add(task);\n task.addScheduler(this);\n }", "title": "" }, { "docid": "fdfcb9e3134e087810aee183a3f0cb34", "score": "0.67345685", "text": "private void addTask(ActionEvent actionEvent) {\n String taskName = nameField.getText();\n LocalDate deadline = deadlinePicker.getValue();\n LocalDate date = datePicker.getValue();\n\n // Deadline and date cannot be defined at the same time\n assert (deadline == null) || (date == null);\n\n DukeTask task;\n if (deadline != null) {\n task = new DukeDeadlineTask(taskName, deadline.toString());\n } else if (date != null) {\n task = new DukeEvent(taskName, date.toString());\n } else {\n task = new DukeSimpleTask(taskName);\n }\n\n taskList.addTask(task);\n storage.saveTaskList(taskList);\n\n taskTableView.getItems().add(task);\n }", "title": "" }, { "docid": "425c56715a9181d1371b059670c40b58", "score": "0.6731785", "text": "public void addTask(String name, int minutesNeeded, boolean isPriority) throws InvalidTaskNameException,\n InvalidTaskTimeException {\n if (name.equals(\"\")) {\n throw new InvalidTaskNameException();\n } else if (minutesNeeded <= 0) {\n throw new InvalidTaskTimeException();\n } else {\n Task newTask = new Task(name, minutesNeeded, isPriority);\n this.tasks.add(newTask);\n }\n }", "title": "" }, { "docid": "0cdcbe666e3e3b541c591b0e8bd7a710", "score": "0.66584224", "text": "public void addTask(Task p_task)\n {\n Long lpid = new Long(p_task.getLocalizationProfileId());\n TaskList tl = (TaskList)m_map.get(lpid);\n\n if (tl == null)\n {\n tl = new TaskList();\n m_map.put(lpid, tl);\n }\n tl.addTask(p_task);\n }", "title": "" }, { "docid": "824472de17b9c2b9d7d4e5b15e212a2d", "score": "0.6615031", "text": "public void addTask(Task newTask) {\n\t\ttaskList.addFirst(newTask);\n\t}", "title": "" }, { "docid": "8c94eeb3dcda9ae9d13509e8c2cc87e0", "score": "0.6582575", "text": "public String add()\n {\n User owner = new User(\"igaiduk\", \"Iryna Gaiduk\");\n Task task = new Task(name, Priority.PRIORITY_2, owner);\n return \"success\";\n }", "title": "" }, { "docid": "8b40826a02c71c54d6231b928f1e46c7", "score": "0.65316004", "text": "public void add(SimpleTask simpleTask)\n {\n // If not on, add it straight to the task list.\n if (taskPackageRunner == null)\n taskList.add (simpleTask);\n else\n pendingAddition.add(simpleTask);\n\n simpleTask.containingPackage = this;\n }", "title": "" }, { "docid": "9c8dea2f7c448456a1a06dc05857e998", "score": "0.6527454", "text": "public void add(RobotTask rTask) {\n this.robotList.add(rTask);\n this.robotMap.put(rTask.getAssignedRobotID(), rTask);\n }", "title": "" }, { "docid": "1017d04c5dc603bb3d43a7a58a4369bf", "score": "0.6518046", "text": "public void addTask(Task task) throws TooManyItemsException{\n lm.addToMap(task.getLocationName(),task);\n currentTasks.add(task);\n justAdded = true;\n setChanged();\n notifyObservers(task);\n }", "title": "" }, { "docid": "2438ed3cd03a04c628e0b52b218a00f2", "score": "0.65120816", "text": "public void addTask(Task task) {\n Log.e(\"DATA TASK\", \"ADDING TASK \" + task);\n db.execSQL(getSQL(\"addTask\", task));\n }", "title": "" }, { "docid": "fa3bf192cc9d6f564c866321bc72dd8e", "score": "0.6473187", "text": "public Optional<Task> addTask(Task toAdd) {\n this.tasklist.add(toAdd);\n return Optional.of(toAdd);\n }", "title": "" }, { "docid": "e8d805291f94bf7fdf2f7083c72cc18d", "score": "0.6462662", "text": "@Admin\n public void addTask() {\n if (event.getId() == null) {\n createTask();\n } else {\n editTask();\n }\n event = new TaskViewModel();\n }", "title": "" }, { "docid": "8da782b1b0f737c97955cc91f2a44609", "score": "0.6428569", "text": "static void addTask() {\n if(tasks == null) {\n tasks = new ArrayList<>();\n }\n\n tasks.add(new Task());\n }", "title": "" }, { "docid": "28097fa2aa2c2ddda8bce3a00a9fff6d", "score": "0.6406022", "text": "public void addTask(Task task) {\n\n //INSERT INTO\n SQLiteDatabase sqLiteDatabase = this.getWritableDatabase();\n SQLiteStatement sqLiteStatement = sqLiteDatabase.compileStatement(\n \"INSERT INTO \" + TABLE_TASKS +\n \" (\" +\n KEY_TASK_TITLE + \", \" +\n KEY_TASK_DATE + \", \" +\n KEY_TASK_TIME + \", \" +\n KEY_TASK_DESCRIPTION + \", \" +\n KEY_TASK_ISCOMPLETE + \", \" +\n KEY_TASK_OWNER_ID + \", \" +\n KEY_TASK_PLACE_ID +\n \")\" +\n \"VALUES(?,?,?,?,?,?,?)\"\n );\n\n sqLiteStatement.bindString(1, task.getTitle());\n sqLiteStatement.bindString(2, task.getDate());\n sqLiteStatement.bindString(3, task.getTime());\n sqLiteStatement.bindString(4, task.getDescription());\n sqLiteStatement.bindString(5, String.valueOf(task.isComplete()? 1 : 0));\n sqLiteStatement.bindString(6, String.valueOf(task.getOwnerId()));\n sqLiteStatement.bindString(7, String.valueOf(task.getPlaceId()));\n\n // execute insert SQL statement\n sqLiteStatement.executeInsert();\n }", "title": "" }, { "docid": "2e318130679561129768e8048e4ada83", "score": "0.6378445", "text": "void addTask(Task<?> task) {\n tasks.addFirst(task);\n getPool().getVersionMonitor().inc();\n }", "title": "" }, { "docid": "b734bd9ad4c62b82f64454656c757780", "score": "0.63722116", "text": "public static void add(@Required String name) {\n\t\tTask task = new Task(name);\n\t\ttask.save();\n\t\trenderJSON(task);\n\t}", "title": "" }, { "docid": "65cf2c3dc93fa595f62fff54f3565065", "score": "0.635324", "text": "void addTask() {\n if (observableTitle.get() == null || \"\".equals(observableTitle.get()) ||\n observableDescription.get() == null || \"\".equals(observableDescription.get())) {\n if (callBack != null) callBack.showMessage(MessageMap.ENTER);\n return;\n }\n\n TaskBean taskBean;\n if (isNewTask()) {\n taskBean = new TaskBean(observableTitle.get(), observableDescription.get(), false);\n tasksRepository.addTask(taskBean);\n } else {\n taskBean = new TaskBean(taskId, observableTitle.get(), observableDescription.get(), false);\n tasksRepository.updateTask(taskBean);\n }\n\n // After an add or edit, go back to the list.\n if (addEditTaskListener != null) addEditTaskListener.showTasks();\n }", "title": "" }, { "docid": "485820d5864651172c8483bcaff24a08", "score": "0.6348175", "text": "public void createTask() {\n ArrayList newtasks = getArrayList();\n Task tN = taskPrompt();\n newtasks.add(tN);\n // resetTaskCount.resetCount();\n // System.out.println(newtasks);\n updateFile(newtasks);\n }", "title": "" }, { "docid": "657510867b49d7a477241e5a6fba309a", "score": "0.634047", "text": "public static void newTask()\n\t{\n\tSystem.out.print(\"Enter a name: \");\n\tString inp_name = scanner.nextLine();\n\t//Get the description of the new task\n\tSystem.out.print(\"Enter a description: \");\n\tString inp_description = scanner.nextLine();\n\ttasks.add(new Task(inp_name, inp_description));\n\t//Confirmation message\n\tSystem.out.println(\"Done.\");\n\t}", "title": "" }, { "docid": "7d4d208a9acc6c1ede4b5dec7ff738c5", "score": "0.6340156", "text": "public ProjectTask addProjectTask(String projectIdentifier, ProjectTask projectTask,String username){\n Backlog backlog = projectService.findProjectByProjectIdentifier(projectIdentifier,username).getBacklog(); //backlogRepository.findByProjectIdentifier(projectIdentifier);\n\n //set the BL to pt\n projectTask.setBacklog(backlog);\n\n //We want our project sequence to be like this: IDPRO-1 IDPRO-2 .... 100 101\n Integer BacklogSequence = backlog.getPTSequence();\n\n // Update the BL SEQUENCE\n BacklogSequence++;\n\n // Set BL sequence;\n backlog.setPTSequence(BacklogSequence);\n\n //Add Sequence to Project Task\n projectTask.setProjectSequence(projectIdentifier + \"-\" + BacklogSequence);\n projectTask.setProjectIdentifier(projectIdentifier);\n\n //INITIAL priority when priority null\n if (projectTask.getPriority() == null || projectTask.getPriority() == 0 ){ //In the future we need projectTask.getPriority() == 0 to handle the form\n projectTask.setPriority(3);\n }\n\n //INITIAL status when status is null\n if(projectTask.getStatus() ==\"\" || projectTask.getStatus() == null) {\n projectTask.setStatus(\"TO_DO\");\n }\n\n return projectTaskRepository.save(projectTask);\n\n\n }", "title": "" }, { "docid": "075a684b929f49f98f4d9b65dc52ec97", "score": "0.6323308", "text": "TaskModel assign(Long taskId, Long assigneeId, Long explanationId, String noteText) throws UserNotInActorSetException, TaskNotActiveException;", "title": "" }, { "docid": "5a1da10a2e0083cf3ca6c6de4befa039", "score": "0.6275152", "text": "private void autoTaskAssign() {\n\t\tif (!this.getParentWorld().getWorldTasks(this).isEmpty()) {\n\t\t\tTask newtask = this.getParentWorld().getWorldTasks(this).getFirst();\n\t\t\tthis.getParentWorld().removeTask(newtask);\n\n\t\t\tnewtask.setPeon(this);\n\t\t\tthis.updateTask(Optional.of(newtask));\n\t\t\tnewtask.switchActiveFlag();\n\n\t\t\tNotificationManager.notify(this.getName()\n\t\t\t\t\t+ \" was auto-assigned a task.\");\n\t\t\tthis.notificationList.add(this.getName()\n\t\t\t\t\t+ \" was auto-assigned a task.\");\n\t\t\tthis.updateTask(Optional.of(newtask));\n\n\t\t\tif (newtask.getDest() + getParentWorld().getXOffset() > this\n\t\t\t\t\t.getXpos()) {\n\t\t\t\tanimateRight();\n\t\t\t}\n\t\t\tif (newtask.getDest() + getParentWorld().getXOffset() < this\n\t\t\t\t\t.getXpos()) {\n\t\t\t\tanimateLeft();\n\t\t\t}\n\t\t\tif (newtask.getDest() == this.getXpos()) {\n\t\t\t\tstandStill();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "9e1af3261a2f4085a65932fe6a0b44f2", "score": "0.626394", "text": "public void addtask(Task b) {\r\n if (!mytask.contains(b)) {\r\n mytask.add(b);\r\n tasks.put(b.getName(), b);\r\n setChanged();\r\n notifyObservers(b);\r\n\r\n }\r\n }", "title": "" }, { "docid": "c1d102fe56c8cd65e3f886ee89a67dad", "score": "0.6261402", "text": "public void allocateTask(Task task, double after) {\n\tSystem.out.println (getClass().getName() + \":allocateTask():\");\n\tExecAgentAsset executor = allocJunction.findExecutor (task.getVerb());\n\n\tif (executor != null) {\n\t\tif (doAction (task, executor, after)) {\n\t\t\tSystem.out.println(\"\\nAllocated the following task to \"\n\t\t\t\t+executor.getTypeIdentificationPG().getTypeIdentification()+\": \"\n\t\t\t\t+executor.getItemIdentificationPG().getItemIdentification());\n\t\t\tSystem.out.println(\"Task: \"+task);\n\t \t}\n\t\telse\n\t\t failTask (task);\n\t}\n\telse\n failTask (task);\n\n\tSystem.out.println (getClass().getName() + \":allocateTask():\");\n }", "title": "" }, { "docid": "79aa45e69114c5c4b9f409b170ea11a0", "score": "0.62603235", "text": "public void insertTask(String pTaskType,String pDescription,String pId,String pEffort,String pManager)\r\n {\r\n int taskNumber = other;\r\n other = other +1;\r\n Task toInsert = new Task(pTaskType,taskNumber, pDescription,pId, pEffort, pManager);\r\n taskGraph.addEdge(toInsert);\r\n }", "title": "" }, { "docid": "2fc4cc196fd388d24045612c006ebc18", "score": "0.61927575", "text": "public boolean addTask(Task t){\n\t\tif(this.containsTask(t))\n\t\t\treturn false;\n\t\tif(t.padre != null)\n\t\t\tthrow new IllegalArgumentException();\n\t\tthis.tareas.add(t);\n\t\tTasks.getInstance().removeRoot(t); // La tarea deja de ser una raíz\n\t\tt.padre = this;\n\t\tthis.dedicado.add(t.dedicado);\n\t\tthis.estimado.add(t.estimado);\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "a647269680f1a670b42ebab3c36deae1", "score": "0.6163018", "text": "protected TaskItem addTask(WorkerRoles workerRole, int priority, TaskStatus taskStatus, String description, boolean fileRequired, Worker allocatedTo)\n {\n TaskItem newTask = new TaskItem(this, workerRole, priority, taskStatus, description, fileRequired);\n \n // if allocated to an individual set the assignment\n if (allocatedTo != null) newTask.setWorker(allocatedTo);\n \n // add the new task\n mediaItemTasks.add(newTask);\n \n // update the current task\n currentTask = newTask;\n \n // raise event to tasklist to add this event to the master list\n // flag change\n setChanged();\n // send notification of new child to add to tree\n notifyObservers(new TaskListEvent(newTask, null, TaskListEvent.NEW));\n \n return newTask;\n }", "title": "" }, { "docid": "1d7eaa97837b6f1758ae54da9cddcd8f", "score": "0.61525375", "text": "public Task addTask(String taskName, long endDateTime, Boolean isCompleted, String note,\n\t\t\t\t\t\tObjectList objectList, User creatorUser, User assignedUser) throws UniqueIDException {\n\t\treturn new Task(taskName, endDateTime, isCompleted, note, objectList, creatorUser, assignedUser);\n }", "title": "" }, { "docid": "e752b8440146793f77064ef9a651e342", "score": "0.6145927", "text": "public void addTask(int taskIndex){\n\t\ttaskList.add(taskIndex);\n\t}", "title": "" }, { "docid": "8554ad7af2c6b3d2e1b1118114312e09", "score": "0.61320126", "text": "@Override\r\n\tpublic Task addTask(Task task) {\r\n\t\tLong nextTaskId = 0L;\r\n\t\tfor(Task t : openTasks) {\r\n\t\t\tif(t.getId() > nextTaskId) {\r\n\t\t\t\tnextTaskId = t.getId();\r\n\t\t\t}\r\n\t\t}\r\n\t\tnextTaskId++;\r\n\t\t\r\n\t\t/*\r\n\t\t * Set the id and add task.\r\n\t\t */\r\n\t\ttask.setId(nextTaskId);\r\n\t\topenTasksWritable.add(task);\r\n\t\t\r\n\t\treturn task;\r\n\t}", "title": "" }, { "docid": "326018ffc762ae552f9e280bbfcc69c5", "score": "0.6130871", "text": "private void addTask(Task<?> task) {\n\t\ttry {\n\t\t\treadyTaskQueue.put(task);\n\t\t} catch (InterruptedException e) {\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"Interrupted when adding task to ready task queue!\");\n\t\t}\n\t}", "title": "" }, { "docid": "5eeb9b62fa052e62b9ff193de9048155", "score": "0.6128011", "text": "public int newTask(Task theTask) {\n\t\treturn mDBHelper.insertTask(theTask);\n\t}", "title": "" }, { "docid": "bba2140b690a3588ba3421ac20d2b3dd", "score": "0.61138254", "text": "public void addTask(Task task){\n boolean insertData = mDatabaseHelper.addTask(task); //Call addTask from DateBaseHelper object.\n\n /**\n * Error checking to ensure the data has been inserted successfully.\n */\n\n if(insertData){\n Toasty.success(AddTask.this, \"Task created\", Toast.LENGTH_SHORT, true).show();\n } else {\n //toastMessage(\"Unable to create task, please try again\");\n Toasty.error(AddTask.this, \"Unable to create task, please try again\", Toast.LENGTH_SHORT,\n true).show();\n }\n }", "title": "" }, { "docid": "6ac23d66b6a8360df717256414bc17e6", "score": "0.61036", "text": "public void addTaskactual(Taskactual l) throws TorqueException\n {\n getTaskactuals().add(l);\n l.setTask((Task) this);\n }", "title": "" }, { "docid": "80dc935d9a4169cf63bb209d13a4b832", "score": "0.60942423", "text": "public void addTask(String task) {\n // Create and/or open the database for writing\n SQLiteDatabase db = getWritableDatabase();\n\n // It's a good idea to wrap our insert in a transaction. This helps with performance and ensures\n // consistency of the database.\n db.beginTransaction();\n try {\n // The task might already exist in the database.\n //long taskId = addOrUpdateTask(task);\n\n ContentValues values = new ContentValues();\n values.put(TaskContract.TaskEntry.COLUMN_NAME_TITLE, task);\n\n // Notice how we haven't specified the primary key. SQLite auto increments the primary key column.\n db.insertOrThrow(TaskContract.TaskEntry.TABLE_NAME, null, values);\n db.setTransactionSuccessful();\n } catch (Exception e) {\n Log.d(TAG, \"Error while trying to add post to database\");\n } finally {\n db.endTransaction();\n }\n }", "title": "" }, { "docid": "47319dd7c4a7b571dc774af344fab52b", "score": "0.60859585", "text": "void addTask(final Task task) {\n if (myTasks.length - noOfItems == 1) {\n resize();\n }\n myTasks[noOfItems] = task;\n noOfItems++;\n }", "title": "" }, { "docid": "05b4b73c1aa3dc99c08f577dd3bb22f2", "score": "0.607991", "text": "public void add(CloudTask t) throws CloudTaskQueueException;", "title": "" }, { "docid": "b6eebb9a58905f11022b250b00e61798", "score": "0.6069551", "text": "@Override\n public boolean addTask(Task task, String tableName){\n\n String name = task.getName();\n Date deadLine = task.getDeadLine();\n String priority = task.getPriority();\n\n try {\n PreparedStatement preparedStatement = connection.prepareStatement(\"insert into \"+tableName+\" (name, deadLine, priority) values (?,?,?)\");\n preparedStatement.setString(1, name);\n preparedStatement.setDate(2, deadLine);\n preparedStatement.setString(3, priority);\n preparedStatement.executeUpdate();\n System.out.println(\"Task is successfully added to table: \"+tableName);\n preparedStatement.close();\n } catch (SQLException sqlexception) {\n if (sqlexception.getErrorCode() == 1062) {\n System.out.println(\"Task with this ID already exists\");\n }\n return false;\n } catch (Exception e) {\n e.printStackTrace();\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "01fb1ed45590f77cca182fc203a0da41", "score": "0.6060989", "text": "protected final void addGeneratedTask(final Task task) {\r\n if(generatedTasks == null)\r\n generatedTasks = new HashSet<Task>();\r\n generatedTasks.add(task);\r\n }", "title": "" }, { "docid": "db54ab677bb4238ce701d948cdbd6ec4", "score": "0.6036833", "text": "public void addTask(String companyid, String taskid, Task task) {\t\t\n\t\tString tasklistkey = companyid+tk+\"tasks\";\n\t\tDBService.save(tasklistkey, taskid, task);\n\t}", "title": "" }, { "docid": "c4a53bfefae51bc17bba60a5ff66a771", "score": "0.6027451", "text": "public void addTask(final Task inTask, final boolean completed)\n {\n // Prevent \"flickering\"\n this.setVisible(false);\n\n if (completed)\n {\n completedTasks.add(inTask);\n }\n\n tasks.add(inTask);\n\n recalculatePercentage();\n }", "title": "" }, { "docid": "f31a4366c312e9c8f7677979ab914349", "score": "0.6010007", "text": "void addTask(Task<ResultType> task);", "title": "" }, { "docid": "20a3649e59b8711f6a39fb433e064151", "score": "0.6001904", "text": "void addTaskToIteration(TaskInstance task, Iteration iteration, double workload, long period, double ac, double ev);", "title": "" }, { "docid": "29ce33740d5f90f44a4f6fafde1cc4ae", "score": "0.5985975", "text": "private void processTaskAssignee(Task t, TaskDto dto) {\n if ((t != null && t.getAssignedTo() == null && dto != null && dto.getAssignedToId() != null) || (t == null && (dto != null && dto.getAssignedToId() != null))) { // new task assigned \n addTaskAssigned(dto.getAssignedToId(), dto.getOwnerId(), dto.getAssignedById(), dto.getSpendHours(), dto.getEstimatedHours());\n } else if (t != null && t.getAssignedTo() != null && (dto == null || dto != null && dto.getAssignedToId() == null)) {\n removeTaskAssigned(t.getAssignedTo().getId(), t.getOwner().getId(), t.getAssignedBy().getId(), t.getAssignedDate(), t.getEstimatedHours());\n } else if (t != null && dto != null && t.getAssignedTo() != null && dto.getAssignedToId() != null) {\n if (t.getAssignedTo().getId().equals(dto.getAssignedToId())) {\n updateEffort(t.getAssignedTo().getId(), dto.getEstimatedHours(), dto.getSpendHours());\n } else {\n removeTaskAssigned(t.getAssignedTo().getId(), t.getOwner().getId(), t.getAssignedBy().getId(), t.getAssignedDate(), t.getEstimatedHours());\n addTaskAssigned(dto.getAssignedToId(), dto.getOwnerId(), dto.getAssignedById(), t.getSpendHours(), t.getEstimatedHours());\n }\n\n }\n }", "title": "" }, { "docid": "2012d34e539a42b6f5bce27a6a278c34", "score": "0.59802794", "text": "public synchronized void add(RunnableTask task) {\n \t\n // DownloadArticleTask\n if (task instanceof DownloadArticleTask) {\n task.setTaskID(++nextID);\n queue.add(task);\n Task t = new Task((NntpArticleHeader)task.getSource()); // source is NNtpArticle\n t.setTaskID(nextID);\n t.setStatus(Task.QUEUED);\n //log.debug(\"task added\");\n tasklist.put(new Integer(t.getTaskID()), t);\n UpdateHeadersEvent event = new UpdateHeadersEvent(t);\n fireEvent(event);\n } \n // UpdateHeadersTask\n else if (task instanceof UpdateHeadersTask) {\n task.setTaskID(++nextID);\n queue.add(0, task); // always at at the head of the queue\n Task t = new Task((NntpGroup)task.getSource());\n t.setTaskID(nextID);\n t.setStatus(Task.QUEUED);\n tasklist.put(new Integer(t.getTaskID()), t);\n UpdateHeadersEvent event = new UpdateHeadersEvent(t);\n fireEvent(event);\n }\n // UpdateGroupsTask\n else if (task instanceof UpdateGroupsTask){\n task.setTaskID(++nextID);\n queue.add(task);\n Task t = new Task((NntpServer)task.getSource());\n t.setTaskID(nextID);\n tasklist.put(new Integer(t.getTaskID()),t);\n UpdateHeadersEvent event = new UpdateHeadersEvent(t);\n fireEvent(event);\n } \n else {\n log.debug(\"managed to lose a Task in the queue\");\n }\n }", "title": "" }, { "docid": "5854d29fd11ac8455a39297507af087a", "score": "0.59745914", "text": "void checkTaskAssign(TaskEntity task);", "title": "" }, { "docid": "c0c1018482a721c00dfc1d012442b522", "score": "0.59731555", "text": "public abstract ITask registerTask(String task);", "title": "" }, { "docid": "d8ac94ebf2c575e4a310b7742c1eb96d", "score": "0.59729636", "text": "public void addTask(String taskMessage)\n {\n try\n {\n for (ToDo task: data)\n {\n if(new ToDo(taskMessage).getId().equals(task.getId()))\n {\n throw new ExistingRecordException();\n }\n }\n data.add(new ToDo(taskMessage));\n }\n catch(ExistingRecordException ex)\n {\n System.out.println(\"Cannot add and existing record\" + ex.getMessage());\n }\n\n exportTaskList(data);\n\n this.setChanged();\n\n this.notifyObservers(new Object[]{data});\n }", "title": "" }, { "docid": "db37c47e27e95141ab9a751d77ac2d94", "score": "0.5968534", "text": "private void addNotifierTask() {\n NotifierTask task = new NotifierTask();\n task.setUserName(userCbo.getText());\n task.setSoundFilePath(soundTxt.getText());\n for (Button b : buttonMap.keySet()) {\n if (b.getSelection()) {\n task.addNotifier((Notifier) b.getData());\n }\n }\n\n task.setRecurring(recurringRdo.getSelection());\n this.taskMap.put(task.getUserName(), task);\n\n updatePreferences();\n\n MessageBox messageDialog = new MessageBox(this.getShell(), SWT.OK);\n messageDialog.setText(\"Notifier Saved\");\n messageDialog\n .setMessage(\"The contact notifier was successfully saved.\");\n messageDialog.open();\n }", "title": "" }, { "docid": "685b864185dd71372bfa695a1385c6ca", "score": "0.59522223", "text": "public synchronized boolean addTask(MleTask task)\n {\n m_tasks.addElement(task);\n return true;\n }", "title": "" }, { "docid": "73915c3ceeccb75f6f2581ffd7058390", "score": "0.5948611", "text": "abstract public boolean createTask(TaskItem task) throws IOException;", "title": "" }, { "docid": "34ed8159c724538fa0d823cc0c55d9df", "score": "0.59260255", "text": "public void updateTask(String person,String task, int usedCoffeeCups){\n\t\ttaskMapper.update(new Task(person,task,\"\",0,usedCoffeeCups));\n\t}", "title": "" }, { "docid": "ba5b531d68c800de43aee4f652779d87", "score": "0.5902227", "text": "public void assign(Task task) {\n if (this.task != null) {\n try {\n taskManager.fail(this.task, new TaskCompletionFailedException(\"The worker was assigned a new task before it could finish its previous task\"));\n } catch (TaskContextException e) {\n throw new IllegalStateException();\n }\n }\n this.task = task;\n }", "title": "" }, { "docid": "a8e49155e51b45f5173c66984b61bee4", "score": "0.5862629", "text": "public MessageBuilder addTask(Task task) {\n messageSb.append(messageFormatter.formatTask(task)).append(\"\\n\");\n return this;\n }", "title": "" }, { "docid": "b1926764ecd2bd0709ea5ee4d022d41b", "score": "0.58588403", "text": "public Task(String task) {\n this.task = task;\n this.isCompleted = false;\n this.taskType = \" \";\n }", "title": "" }, { "docid": "384b4174d3f95a202c6629a0600f0c75", "score": "0.58553654", "text": "public void addActivity(Task newTask){\n activitiesInTheWeek.add(newTask);\n if(activities.containsKey(newTask.getName())){\n Time tempo = sumTime(activities.get(newTask.getName()), newTask.getTime());\n activities.put(newTask.getName(),tempo);\n }else{\n activities.put(newTask.getName(), newTask.getTime());\n }\n }", "title": "" }, { "docid": "4e40026caeeb593eee9c8bdcaa62be30", "score": "0.58539855", "text": "public void createTask() {\n Scanner userInput = new Scanner(System.in);\n\n System.out.println(\"\\nPlease enter Task's Name: \");\n this.setName(userInput.nextLine());\n\n System.out.println(\"Please enter Task's Project: \");\n this.setProject(userInput.nextLine());\n\n System.out.println(\"Please enter Task's Due Date (YYYY-MM-DD): \");\n this.setDueDate(LocalDate.parse(userInput.nextLine()));\n }", "title": "" }, { "docid": "932516e24ab94814be56ed12c001015c", "score": "0.5848055", "text": "private void createNewTimedTask() {\r\n\t\tDateTime st = parser.getBeginTime();\r\n\t\tDateTime et = parser.getEndTime();\r\n\t\tString newTaskName = parser.getTaskName();\r\n\t\tnewTask = new Task(newTaskName, st, et);\r\n\t}", "title": "" }, { "docid": "371bfc57a16f77104de5010a3ea95263", "score": "0.5834185", "text": "@Override\n public boolean createTask(String taskName, String arg, String date, String time) {\n String createCMD = CREATE\n + ACTION.replace(\"<TASKNAME>\", taskName).replace(\"<ARGUMENT>\", arg)\n + TRIGGER.replace(\"<DATE>\", date).replace(\"<TIME>\", time);\n return addTask(createCMD);\n }", "title": "" }, { "docid": "72b925e0e248e0c238aefb5154496103", "score": "0.5823422", "text": "private <T extends Runnable> T addTask(T task)\n {\n super.execute(task);\n return task;\n }", "title": "" }, { "docid": "e706e548fd7c8c33b31775e787fc57c3", "score": "0.58107495", "text": "public AssignedTask setTask(TaskConfig task) {\n this.task = task;\n return this;\n }", "title": "" }, { "docid": "dd00016028ee9a3719ce50b59afaac57", "score": "0.581056", "text": "public void addDrugToTask(Task task, Drug drug, int amount, String units) {\n em.getTransaction().begin();\n Instant instant = Instant.now();\n Timestamp timestamp = new Timestamp(instant.toEpochMilli());\n DrugTaskAssociation association = new DrugTaskAssociation();\n association.setTask(task);\n association.setDrug(drug);\n association.setTaskId(task.getId());\n association.setDrugId(drug.getId());\n association.setAmount(amount);\n association.setAmountUnits(units);\n association.setCreated(timestamp);\n association.setChanged(timestamp);\n em.persist(association);\n task.getDrugs().add(association);\n drug.getTasks().add(association);\n em.getTransaction().commit();\n }", "title": "" }, { "docid": "8fe39d369255eef6bdc4b0f73b6fd4d0", "score": "0.5777227", "text": "private void creatNewDeadlineTask() {\r\n\t\tDateTime dt = parser.getBeginTime();\r\n\t\tString taskName = parser.getTaskName();\r\n\t\tnewTask = new Task(taskName, dt);\r\n\t}", "title": "" }, { "docid": "05b0d609b3d99ac929388ff44f611bd2", "score": "0.57585233", "text": "public void setTask(Task task) {\n this.task = task;\n }", "title": "" }, { "docid": "cce9f632934730845207ad76d54de25c", "score": "0.5751681", "text": "private void addToTasks() {\n if (Project.getTasks().isEmpty()){\n Project.setRoot(this);\n }\n Project.addTask(this);\n }", "title": "" }, { "docid": "a3a4fc5811a5bb811c21072652d0e3ca", "score": "0.5745946", "text": "public void add(Task task) {\n if (head == null) {\n head = new Node(task);\n size++;\n return;\n }\n Node temp = head;\n while (temp.next != null) {\n temp = temp.next;\n }\n temp.next = new Node(task);\n size++;\n }", "title": "" }, { "docid": "f0d14db0d43739020944f737a9eae0f3", "score": "0.5727508", "text": "public Long createTask(Task task) throws InputValidationException, InstanceNotFoundException;", "title": "" }, { "docid": "cdfaefb23f912f4bbccd47a2fb6514a8", "score": "0.572213", "text": "@Override\r\n\tpublic ResponseResult addTask(T_Task tt)\r\n\t{\n\t\tint rr=ttm.insertOne(tt);\r\n\t\tif(rr>0)\r\n\t\t{\r\n\t\t\t//幸福的人生的总是相似的\r\n\t\t\treturn new ResponseResult();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t//不幸的人生各有不同\r\n\t\t\treturn new ResponseResult(ResultCode.INTERNAL_ERROR);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "cccb19ea74909fe3ce234f9fc56e4bac", "score": "0.5718646", "text": "@Override\r\n public void addTask(DragDropTask task) throws HibernateException\r\n {\r\n\r\n addTaskTransaction(task);\r\n\r\n }", "title": "" }, { "docid": "32607db53b00ee4ed0faf9d31f5138dc", "score": "0.56924975", "text": "public void addTasking(Tasking tag) {\n control.addTasking(tag);\n tass.addChild(tag.ts, Settings.PROPERTY_INDEPENDENT);\n tag.removeActionListener(this);\n tag.addActionListener(this);\n }", "title": "" }, { "docid": "5f8fecc3ee190e919ab15a097e08ff80", "score": "0.5673659", "text": "public void addPerson(Person person) {\n persons.add(person);\n }", "title": "" }, { "docid": "396424713e47fc73df4b7db47b7d859f", "score": "0.56672364", "text": "ResponseEntity<?> createtask(AddTaskRequest addTaskRequest);", "title": "" }, { "docid": "66c3cbce700f667b0f54e67551939490", "score": "0.5664197", "text": "public void insertTask(String queueName, CloudTask task) throws CloudTaskQueueException;", "title": "" }, { "docid": "5fad8b0830af824d67a433a17f035c6e", "score": "0.56547225", "text": "public void addSubtask(Task subtask) {\r\n\t\tif (subtask == null) {\r\n\t\t\tthrow new IllegalArgumentException(\"Null 'subtask' argument.\");\r\n\t\t}\r\n\t\tif (this.equals(subtask)) {\r\n\t\t\tthrow new IllegalArgumentException(\r\n\t\t\t\t\t\"'subtask' argument cannot be itself.\");\r\n\t\t}\r\n\t\tif (!this.subtasks.contains(subtask)) {\r\n\t\t\tthis.subtasks.add(subtask);\r\n\t\t\tresetDuration();\r\n\t\t\trecalculatePercent();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f9243f37da72c0b721a41e1efeaafef1", "score": "0.56432736", "text": "public void addTaskToWorkerPool(Task task) throws IOException {\n WorkerPool pool = LoaderPool.getRangeWorkerPool();\n pool.addTask(task);\n pool.startTask(task.getId());\n }", "title": "" }, { "docid": "6962fc076fab79e4d152eaf378b2235f", "score": "0.5639922", "text": "public void addToList(Task task) throws IOException {\n this.taskList.add(task);\n this.storage.overwriteStorage(taskList);\n\n }", "title": "" }, { "docid": "e4bdbca6652b86ee94f5266619cdac93", "score": "0.5625431", "text": "public Task(String nombre){\n\t\tthis.nombre = nombre;\n\t}", "title": "" }, { "docid": "b463f4e5967ea006b40f2b555e311261", "score": "0.5622336", "text": "public void addUsertask(Usertask l) throws TorqueException\n {\n getUsertasks().add(l);\n l.setTask((Task) this);\n }", "title": "" }, { "docid": "c1eb81086be7fe447d8f578ae611b0b7", "score": "0.56214213", "text": "public static void insertNewTask(Double timeSpent, String dateString, String notes, Integer projectId, Integer employeeId) {\n //Convert the date String into a Date object\n Date date = new Date();\n try {\n DateFormat format = new SimpleDateFormat(\"dd-MM-yyyy\");\n date = format.parse(dateString);\n \n } catch (ParseException e) {\n e.printStackTrace();\n }\n //Needed because the date sent starts counting the months from 0\n Date newDate = DateUtils.addMonths(date, 1);\n \n Project project = Project.find.query().where().idEq(projectId).findUnique();\n Employee employee = Employee.find.query().where().idEq(employeeId).findUnique();\n \n Task task = new Task(timeSpent, newDate, project, employee, notes);\n task.save();\n }", "title": "" }, { "docid": "8965f727dc0e8595fc91b92565d88d11", "score": "0.56195325", "text": "void addTask(Task t) {\n if (!mQueue.contains(t)) {\n mQueue.add(t);\n }\n synchronized(this) {\n notifyAll();\n }\n }", "title": "" }, { "docid": "6b163757eb1924395f8a03975613e4d1", "score": "0.5617934", "text": "public AssignedTask(AssignedTask other) {\n __isset_bitfield = other.__isset_bitfield;\n if (other.isSetTaskId()) {\n this.taskId = other.taskId;\n }\n if (other.isSetSlaveId()) {\n this.slaveId = other.slaveId;\n }\n if (other.isSetSlaveHost()) {\n this.slaveHost = other.slaveHost;\n }\n if (other.isSetTask()) {\n this.task = new TaskConfig(other.task);\n }\n if (other.isSetAssignedPorts()) {\n Map<String,Integer> __this__assignedPorts = new HashMap<String,Integer>(other.assignedPorts);\n this.assignedPorts = __this__assignedPorts;\n }\n this.instanceId = other.instanceId;\n }", "title": "" }, { "docid": "649369ec277d0c8dce30a7cf01d6cb42", "score": "0.5613547", "text": "private void setTask(Task task) {\r\n\t\tthis.task = task;\r\n\t}", "title": "" }, { "docid": "25ba0b0dbc23eebd8d8a1860924a7208", "score": "0.5602201", "text": "public void submit(Task<?> task) {\n\t\tRandom randomno = new Random();\t\n\t\tint k= randomno.nextInt(_threads.length);\n\t\t_Tasks.get(k).addFirst(task);\n\t\tvm.inc();\n\t}", "title": "" } ]
97f1930b0bebf33713f84ada2c6efc3a
Helper method to export SVG file. THis method will create a pop up that allows user to specify path.
[ { "docid": "c475cadb28aca7afb0de9e285663569f", "score": "0.6192335", "text": "void exportToSVG(Component parent);", "title": "" } ]
[ { "docid": "bceabc8d334ae3de0e4f9e9d4031b750", "score": "0.73213667", "text": "void createSVG(String filename);", "title": "" }, { "docid": "c282cefab98c8a519e94e5806ebbeb2e", "score": "0.67967117", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n JOptionPane.showMessageDialog(null, \"All Images are saved as .svg\", \"Save Warning\", JOptionPane.INFORMATION_MESSAGE);\n chooseFile = null;\n chooseFile = new JFileChooser();\n String newFileName = \"\";\n //The filechooser doesn't allow you to leave it blank and save, but I put this in just in case\n //chooseFile.showSaveDialog(null);\n \n int returnVal = chooseFile.showSaveDialog(null);\n if(returnVal == JFileChooser.CANCEL_OPTION){}\n else{\n if(chooseFile.getSelectedFile().toString().equals(\"\")){\n newFileName = \"DiscourseAnalysisImage.svg\";\n }\n else\n //This will now check to see if the file name the user chose contains .xml or .svg tag\n \t//if not then it will add it\n newFileName = chooseFile.getSelectedFile().toString();\n if(!newFileName.contains(\".svg\"))\n newFileName += \".svg\";\n\n // Make an image.\n SVGExporter svgExport = new SVGExporter(root);\n Document svgDoc = svgExport.getDoc();\n \n try{\n \t\t\tOutputStream os = new FileOutputStream(newFileName);\n \t\t\tsvgExport.write(svgDoc, os);\n \t\t\tSystem.out.println(\"I wrote to the SVG file.\");\n \t\t}\n \t\tcatch (FileNotFoundException exception){\t\t\t\n \t\t\tSystem.out.println(exception);\n \t\t}\n \t\tcatch (IOException ioEX){\t\t\t\n \t\t\tSystem.out.println(ioEX);\n \t\t}\n }\n \n }", "title": "" }, { "docid": "14275b593f6edb825fad8c357b287d45", "score": "0.6735552", "text": "private File writeSVGToFile(String path, int width, int height) throws IOException {\n File file = Util.mkFile(getContext(), \"svg\");\n\n StringBuilder builder = new StringBuilder();\n\n String content =\n builder.append(\"<svg height=\\\"\").append(height).append(\"\\\"\")\n .append(\" width=\\\"\").append(width).append(\"\\\"\")\n .append(\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\") // Opening tag completed here.\n .append(\" <path d=\\\"\").append(path).append(\"\\\" stroke=\\\"black\\\" fill=\\\"none\\\" />\") // <path ... />\n .append(\"</svg>\").toString();\n\n if (file.exists()) {\n file.delete();\n }\n\n try {\n FileOutputStream fos = new FileOutputStream(file);\n fos.write(content.getBytes(\"UTF-8\"));\n fos.flush();\n fos.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n throw e;\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n throw e;\n } catch (IOException e) {\n e.printStackTrace();\n throw e;\n }\n\n return file;\n }", "title": "" }, { "docid": "e1ed242fe424087ae30b4e53747b25ca", "score": "0.6575707", "text": "static private void toSvg( PrintWriter pw, DrawingStationPath st, float xoff, float yoff )\n {\n pw.format(\"<text font-size=\\\"20\\\" fill=\\\"black\\\" stroke=\\\"none\\\" text-anchor=\\\"middle\\\"\");\n pw.format(Locale.US, \" x=\\\"%.2f\\\" y=\\\"%.2f\\\">\", xoff + st.cx, yoff + st.cy );\n pw.format(\"%s</text>\\n\", st.name() );\n }", "title": "" }, { "docid": "882fb5cccc91ccb28a5a48a98fdf5f43", "score": "0.6324844", "text": "static private void toSvg( PrintWriter pw, DrawingStationName name, float xoff, float yoff )\n {\n pw.format(\"<text font-size=\\\"20\\\" fill=\\\"violet\\\" stroke=\\\"none\\\" text-anchor=\\\"middle\\\"\");\n pw.format(Locale.US, \" x=\\\"%.2f\\\" y=\\\"%.2f\\\">\", xoff + name.cx, yoff + name.cy );\n pw.format(\"%s</text>\\n\", name.name() );\n }", "title": "" }, { "docid": "ff1acdc1451d6d30b64391ffd8b6d865", "score": "0.61861545", "text": "public void testConvertToSVG() {\n try {\n InputStream input = getClass().getResourceAsStream(_test_filename);\n OutputStream output=new FileOutputStream(new File(_output_filename));\n converter.convertToMimeType(\"image/svg+xml\",input,output);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "16fe718c6967431bb1370f499e7e014b", "score": "0.6110561", "text": "String exportFigure(String filename);", "title": "" }, { "docid": "7ff0f40c02f2fb8b3419da5af1ec762b", "score": "0.6108143", "text": "public ExportSVGPartitureFileDialog(InterlinearText i, SVGParameters p) {\n super(false);\n accessory = new SVGAccessoryPanel();\n this.setAccessory(accessory); \n it = i;\n param = p;\n setFileSelectionMode(javax.swing.JFileChooser.FILES_ONLY);\n setFileFilter(new org.exmaralda.partitureditor.jexmaraldaswing.fileFilters.HTMLFileFilter()); \n setDialogTitle(\"Set the HTML file for export\"); \n }", "title": "" }, { "docid": "bf465014e07172f0dd28257d91ec4120", "score": "0.6070939", "text": "public abstract String svg(int x, int y, String orientation);", "title": "" }, { "docid": "7decdcaf62c8b97478d5299b9830ccbd", "score": "0.5908307", "text": "public static void UsingSvgOptions(String dataDir) {\n Project project = new Project(dataDir + \"HomeMovePlan.mpp\");\n\n SaveOptions opt = new SvgOptions();\n opt.setFitContent(true);\n opt.setTimescale(Timescale.ThirdsOfMonths);\n project.save(dataDir + \"FileName5.svg\", opt);\n }", "title": "" }, { "docid": "4132ec7e01b6960db5a4f0932345d4e2", "score": "0.5906732", "text": "public static void SavingProjectDataAsSVG(String dataDir) {\n Project project = new Project(dataDir + \"HomeMovePlan.mpp\");\n // Save the Project as SVG\n project.save(dataDir + \"project5.svg\", SaveFileFormat.Svg);\n }", "title": "" }, { "docid": "2e8ce6fdd170233394bb90ba324d1738", "score": "0.5851179", "text": "public static void main(String[] args) {\n String dataDir = Utils.getDataDir(SaveAsSvg.class);\n\n SavingProjectDataAsSVG(dataDir);\n\n UsingSvgOptions(dataDir);\n\n //Display result of conversion.\n System.out.println(\"Process completed Successfully\");\n }", "title": "" }, { "docid": "d4cfae484555a799f5aab410e9149882", "score": "0.5827909", "text": "@Override\n public Dialog onCreateDialog(Bundle savedInstanceState) {\n\n AlertDialog.Builder builder = new AlertDialog.Builder(getActivity(),R.style.AlertDialogCustom);\n LayoutInflater inflaterz = getActivity().getLayoutInflater();\n final View view = inflaterz.inflate(R.layout.fragment_export_dialog2, null);\n svg = (RadioButton) view.findViewById(R.id.export_svg);\n png = (RadioButton) view.findViewById(R.id.export_png);\n pdf = (RadioButton) view.findViewById(R.id.export_pdf);\n file = (RadioButton) view.findViewById(R.id.export_file);\n enterTitle = (EditText) view.findViewById(R.id.export_name);\n enterTitle.setText(title);\n\n builder.setView(view);\n builder.setPositiveButton(\"Export\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n if (png.isChecked()) {\n if (act == null) {\n Log.d(\"ExportDialog\", \"Attempting to export before calling setExportTarger()\");\n return;\n }\n title = enterTitle.getText().toString();\n ImageExporter imgexp = new ImageExporter();\n imgexp.viewToJPG(act,view2 , title);\n Toast.makeText(getActivity(), \"File exported to Gallery\", Toast.LENGTH_LONG).show();\n }\n else if(svg.isChecked()){\n if (act == null) {\n Log.d(\"ExportDialog\", \"Attempting to export before calling setExportTarger()\");\n return;\n }\n title = enterTitle.getText().toString();\n File f = VincatoSVG.getSVGFile(act, workspace.projects, title);\n Log.d(\"ExportDialog\", \"svg checked\");\n if(f == null){\n Toast.makeText(getActivity(), \"Failed to create svg\", Toast.LENGTH_LONG).show();;\n }\n else\n {\n Toast.makeText(getActivity(), \"Exported to gallery\", Toast.LENGTH_LONG).show();\n }\n }\n else if(file.isChecked()){\n //export to file\n Log.d(\"ExportDialog\", \"file checked\");\n File dir = Environment.getExternalStorageDirectory();\n if(!dir.canWrite())\n {\n Log.d(\"Export\", \"Failed to open extern directory \" + Environment.getExternalStorageState());\n Toast.makeText(getActivity(), \"Storage unavailable\", Toast.LENGTH_LONG).show();\n }\n else\n {\n File exportDir = new File(dir, \"VINCA\");\n try\n {\n exportDir.mkdir();\n ProjectManager.saveProject(workspace,exportDir.getAbsolutePath());\n Toast.makeText(getActivity(), \"File saved \" + workspace.getTitle(), Toast.LENGTH_LONG).show();\n }\n catch(SecurityException e)\n {\n Toast.makeText(getActivity(), \"Insufficient permissions\", Toast.LENGTH_LONG).show();\n }\n }\n\n\n }\n else if(pdf.isChecked()){\n //export to pdf\n Log.d(\"ExportDialog\", \"pdf checked\");\n }\n dismiss();\n\n }\n }) .setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n }\n\n });\n final AlertDialog dialog = builder.create();\n\n dialog.setOnShowListener(new DialogInterface.OnShowListener() {\n @Override\n public void onShow(final DialogInterface dialog) {\n Button positiveButton = ((AlertDialog)dialog).getButton(DialogInterface.BUTTON_POSITIVE);\n Button negativeButton = ((AlertDialog)dialog).getButton(DialogInterface.BUTTON_NEGATIVE);\n //positiveButton.setTextColor(getResources().getColor(R.color.background_material_light_1, null));\n //negativeButton.setTextColor(getResources().getColor(R.color.cancelColor, null));\n positiveButton.setTextColor(ContextCompat.getColor(getActivity().getApplicationContext(), R.color.background_material_light_1));\n negativeButton.setTextColor(ContextCompat.getColor(getActivity().getApplicationContext(), R.color.cancelColor));\n }\n });\n\n return dialog;\n }", "title": "" }, { "docid": "d32361ccf033152ce0cdc5e0150ca42e", "score": "0.5758899", "text": "private void loadSVG(String filePath) { \n try {\n svgRaster = new SVGRasterizer(new File(filePath).toURI().toURL());\n Paint paint = new Color(0, true);\n svgRaster.setBackgroundColor(paint);\n \n setSlickImage(Tools.toSlickImage(Tools.toImage(svgRaster.createBufferedImage())));\n } catch (Exception ex) {\n Logger.getLogger(JSVG.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n\n }", "title": "" }, { "docid": "17723351cb1ce4db377e6b5b80e340e8", "score": "0.5654526", "text": "SvgdPackage getSvgdPackage();", "title": "" }, { "docid": "e71c9f06303c90d2e068613cd302ebb3", "score": "0.5571972", "text": "public SVGView(Appendable out) {\n super(out);\n knownCommands = new HashMap<>();\n }", "title": "" }, { "docid": "5cd61f1f4d3781098fb2ac4c6db67d94", "score": "0.5473942", "text": "public static void\nwriteAsSVG(Graph graph, Writer target)\nthrows IOException {\n\tif (graph == null || target == null)\n\t\tthrow new IllegalArgumentException();\n\ttry {\n\t\tClass domClass = Class.forName(\"org.apache.batik.dom.GenericDOMImplementation\");\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tMethod buildDOM = domClass.getDeclaredMethod(\"getDOMImplementation\");\n\t\tObject dom = buildDOM.invoke(null);\n\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tMethod buildDocument = domClass.getDeclaredMethod(\"createDocument\", String.class, String.class, DocumentType.class);\n\t\tObject document = buildDocument.invoke(dom, \"http://www.w3.org/2000/svg\", \"svg\", null);\n\n\t\tClass svgClass = Class.forName(\"org.apache.batik.svggen.SVGGraphics2D\");\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tConstructor<Graphics> svgConstructor = svgClass.getDeclaredConstructor(Document.class);\n\t\tGraphics svg = svgConstructor.newInstance(document);\n\n\t\tgraph.print(svg);\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tMethod svgStream = svgClass.getDeclaredMethod(\"stream\", Writer.class, boolean.class);\n\t\tboolean useCSS = true;\n\t\tsvgStream.invoke(svg, target, useCSS);\n\t\tsvg.dispose();\n\t\ttarget.flush();\n\t} catch (ClassNotFoundException e) {\n\t\te.printStackTrace();\n\t\tString message = \"This feature requires the Apache Batik library.\";\n\t\tString title = \"SVG stream failed\";\n\t\tJOptionPane.showMessageDialog(graph, message, title, JOptionPane.ERROR_MESSAGE);\n\t} catch (NoSuchMethodException e) {\n\t\te.printStackTrace();\n\t\tString message = \"The Apache Batik library is incompatible.\";\n\t\tString title = \"SVG stream failed\";\n\t\tJOptionPane.showMessageDialog(graph, message, title, JOptionPane.ERROR_MESSAGE);\n } catch (IOException e) {\n\t\tthrow e;\n\t} catch (Exception e) {\n\t\te.printStackTrace();\n\t\tString message = \"Internal error.\\n\" + e.getMessage();\n\t\tString title = \"SVG stream failed\";\n\t\tJOptionPane.showMessageDialog(graph, message, title, JOptionPane.ERROR_MESSAGE);\n\t}\n}", "title": "" }, { "docid": "dfa59853518f292c198209fc89688ad2", "score": "0.5463992", "text": "void exportChart(String path);", "title": "" }, { "docid": "699afa39ea544d8b39210bce87b851a3", "score": "0.5356265", "text": "public void save(Document svgDocument, File file) {\n try (FileOutputStream out = new FileOutputStream(file)) {\n writeSVGToOutputStream(svgDocument, out);\n } catch (IOException e) {\n LOGGER.error(null, e);\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "3d9b175f0ef19463a72c97e37b532486", "score": "0.526877", "text": "SVGModel createSVGModel();", "title": "" }, { "docid": "031954c01b927ead26e6b1d0a9a9ce20", "score": "0.51360995", "text": "private static void printSvgGrid( BufferedWriter out, List<DrawingPath> grid, String color, float opacity, float xoff, float yoff )\n {\n if ( grid != null && grid.size() > 0 ) {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n pw.format(Locale.US, \"<g style=\\\"fill:none;stroke-opacity:%.1f;stroke-width=%.2f;stroke:#666666\\\" >\\n\", opacity, TDSetting.mSvgGridStroke );\n for ( DrawingPath p : grid ) {\n pw.format(Locale.US, \" <path stroke-width=\\\"%.2f\\\" stroke=\\\"#%s\\\" d=\\\"\", TDSetting.mSvgGridStroke, color );\n pw.format(Locale.US, \"M %.2f %.2f\", xoff+p.x1, yoff+p.y1 );\n pw.format(Locale.US, \" L %.2f %.2f\", xoff+p.x2, yoff+p.y2 );\n pw.format(\"\\\" />\\n\");\n }\n pw.format(\"</g>\\n\");\n try {\n out.write( sw.getBuffer().toString() );\n out.flush();\n } catch ( IOException e ) {\n TDLog.Error( \"SVG grid io-exception \" + e.getMessage() );\n }\n }\n }", "title": "" }, { "docid": "582c10b145faea332620fa5d80123973", "score": "0.5079113", "text": "RDKit2SVGNodeDialog() {\r\n\t\tsuper.addDialogComponent(new DialogComponentColumnNameSelection(createInputColumnNameModel(),\r\n\t\t\t\t\"RDKit Mol column: \", 0, RDKitMolValue.class));\r\n\t\tsuper.addDialogComponent(new DialogComponentString(createNewColumnNameModel(), \"New column name: \"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createRemoveSourceColumnsOptionModel(), \"Remove source column\"));\r\n\r\n\t\tsuper.createNewTab(\"Drawing Options\");\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createPrepareBeforeDrawingOptionModel(), \"Prepare before drawing\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createCenterBeforeDrawingOptionModel(), \"Center before drawing\"));\r\n\t\tsuper.addDialogComponent(new DialogComponentBoolean(createClearBackgroundOptionModel(), \"Clear background\"));\r\n\t\tsuper.addDialogComponent(new DialogComponentBoolean(createAddAtomIndicesOptionModel(), \"Add atom indices\"));\r\n\t\tsuper.addDialogComponent(new DialogComponentBoolean(createAddBondIndicesOptionModel(), \"Add bond indices\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createAddStereoAnnotationOptionModel(), \"Add stereo annotations\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createIncludeChiralFlagOptionModel(), \"Include chiral flag\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createSimplifiedStereoGroupsOptionModel(), \"Use simplified stereo groups\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createSingleColorWedgeBondsOptionModel(), \"Single color wedge bonds\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createExplicitMethylOptionModel(), \"Draw explicit methyl groups\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createDummiesAreAttachmentsOptionModel(), \"Dummies are attachment points\"));\r\n\t\tsuper.addDialogComponent(new DialogComponentBoolean(createIncludeRadicalsOptionModel(), \"Draw radicals\"));\r\n\t\tsuper.addDialogComponent(new DialogComponentBoolean(createNoAtomLabelsOptionModel(), \"No atom labels\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createIsotopeLabelsOptionModel(), \"Include isotope labels\"));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentBoolean(createDummyIsotopeLabelsOptionModel(), \"Include isotope labels on dummies\"));\r\n\t\tsuper.addDialogComponent(new DialogComponentBoolean(createComicModeOptionModel(), \"Comic mode\"));\r\n\t\tsuper.addDialogComponent(new DialogComponentBoolean(createBWModeOptionModel(), \"Black&White mode\"));\r\n\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentNumber(createBondLineWidthDoubleOptionModel(), \"Line width for bonds\", 0.1d));\r\n\r\n\t\tsuper.addDialogComponent(new DialogComponentNumber(createMinFontSizeOptionModel(), \"Min font size\", 1));\r\n\t\tsuper.addDialogComponent(new DialogComponentNumber(createMaxFontSizeOptionModel(), \"Max font size\", 1));\r\n\t\tsuper.addDialogComponent(\r\n\t\t\t\tnew DialogComponentNumber(createAnnotationFontScaleOptionModel(), \"Annotation font scale\", 0.05));\r\n\t}", "title": "" }, { "docid": "23416c4f0ac12164813c88b8a1d15d61", "score": "0.5076282", "text": "private void saveChart(){\n\t\tif (currentScene != null) {\n\t\t\tFileChooser fileChooser = new FileChooser();\n\t\t\tFileChooser.ExtensionFilter extFilter = new FileChooser.ExtensionFilter(\"PNG files (*.png)\", \"*.png\");\n\t\t\tfileChooser.getExtensionFilters().add(extFilter);\n\t\t\tfileChooser.setTitle(\"Select folder to store the chart.\");\n\t\t\tFile file = fileChooser.showSaveDialog(null);\n\n\n\t\t\tupdateCurrentScene();\n\n\t\t\tWritableImage snapshot = currentScene.snapshot(null);\n\t\t\tBufferedImage bImage = SwingFXUtils.fromFXImage(snapshot, null);\n\t\t\ttry {\n\t\t\t\tImageIO.write(bImage, \"png\", file);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ee5bf1dd396d2f81fe15d9557c85428e", "score": "0.5048826", "text": "public BarmodelSVGFileCreator(String _filename) {\n initComponents(_filename);\n addMouseListener(this);\n addMouseMotionListener(this);\n addMouseWheelListener(this);\n }", "title": "" }, { "docid": "dcb4e4f4db727f5357a699a3dd133a30", "score": "0.5047494", "text": "public interface ExportView {\n\n void export(String fileToExportTo) throws IOException;\n\n}", "title": "" }, { "docid": "b39e1e339a878f6e9c1959fc4350e676", "score": "0.5035179", "text": "public void testValidStartSvg() {\n controller.start(model,\n \"svg\", \"System.out\", \"2\");\n }", "title": "" }, { "docid": "e6fda2ff09fb2b78eba0ef13e81cd788", "score": "0.5007751", "text": "@Override\n public void displayOutput() {\n write(String.format(\"<svg viewBox=\\\"%d %d %d %d\\\" version=\\\"1.1\\\" \"\n + \"xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\", x, y, w, h));\n for (IShape shape : shapes) {\n DrawCommand cmd = knownCommands.getOrDefault(shape.getType(), null);\n if (cmd == null) {\n throw new IllegalArgumentException(\"Undefined shape type\");\n } else {\n write(cmd.writeSVG(shape));\n }\n }\n write(\"</svg>\");\n close();\n }", "title": "" }, { "docid": "b169620f86bbc8fc7ae7dd751c879443", "score": "0.49961346", "text": "private void exportPressed() {\n JFrame f = new JFrame(\"Export Image\");\n f.setSize(400, 150);\n f.setLocationRelativeTo(null);//this centers the window option to the middle of th screen\n f.setContentPane(new JLayeredPane());\n JLabel bg = new JLabel();\n bg.setBounds(0, 0, 500, 200);\n bg.setBackground(Color.LIGHT_GRAY);\n bg.setOpaque(true);\n f.getContentPane().add(bg, new Integer(0));\n JLabel label = new JLabel(\"Please select which images you would like to save\");\n label.setBounds(10, 10, 300, 50);\n f.getContentPane().add(label, new Integer(1));\n JCheckBox ax = new JCheckBox(\"Axial\", true);\n JCheckBox sag = new JCheckBox(\"Saggital\", true);\n JCheckBox cor = new JCheckBox(\"Coronal\", true);\n ax.setBounds(10, 50, 100, 50);// this is the x,y width and height position\n ax.setBackground(Color.LIGHT_GRAY);\n sag.setBounds(100, 50, 100, 50);\n sag.setBackground(Color.LIGHT_GRAY);\n cor.setBounds(200, 50, 100, 50);\n cor.setBackground(Color.LIGHT_GRAY);\n f.getContentPane().add(ax, new Integer(1));//adding to the window\n f.getContentPane().add(sag, new Integer(1));\n f.getContentPane().add(cor, new Integer(1));\n JButton save = new JButton(\"Export\");\n save.setBounds(300, 60, 80 ,40);\n f.getContentPane().add(save, new Integer(1));\n f.setVisible(true);\n\n save.addActionListener(new ActionListener() {// when you press export\n public void actionPerformed(ActionEvent e) {\n JFileChooser fc = new JFileChooser();//window that lets you choose the file\n fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);\n fc.showSaveDialog(null);\n File file = fc.getSelectedFile();\n System.out.println(file.getPath());\n try {\n File fileax = new File(file.getPath() + \"\\\\axial.png\");\n File filesag = new File(file.getPath() + \"\\\\sagittal.png\");\n File filecor = new File(file.getPath() + \"\\\\coronal.png\");\n System.out.println(fileax.getPath());\n if(ax.isSelected()) ImageIO.write(axialImage[currentY], \"png\", fileax);//tick boxes\n if(sag.isSelected()) ImageIO.write(sagittalImage[currentZ], \"png\", filesag);\n if(cor.isSelected()) ImageIO.write(coronalImage[currentX], \"png\", filecor);\n } catch(IOException ex) { ex.printStackTrace(); }\n }\n } );\n\n }", "title": "" }, { "docid": "748543d23872a72aaa2c1c31647ffa7f", "score": "0.4947961", "text": "@Override\n public abstract String toStringSvg(int speed, IShape shape);", "title": "" }, { "docid": "75c42eb9e08a2373558c5cd3ec80afca", "score": "0.4878108", "text": "public void exportToDot() {\n if (this.startPoint != null && this.icfg != null && this.fileName != null) {\n graphTraverse(this.startPoint, this.icfg);\n dotIcfg.plot(this.fileName);\n logger.debug(\"\" + fileName + DotGraph.DOT_EXTENSION);\n } else {\n System.out.println(\"Parameters not properly initialized!\");\n }\n\n }", "title": "" }, { "docid": "ed47a94357175bc5768035f7d2c28e01", "score": "0.48776558", "text": "void writeSVGToOutputStream(Document svgDocument, OutputStream outputStream)\n throws IOException {\n try {\n Transformer transformer\n = TransformerFactory.newInstance().newTransformer();\n\n // configure the resulting SVG document\n transformer.setOutputProperty(DOCTYPE_PUBLIC, SVG_DOCTYPE_PUBLIC);\n transformer.setOutputProperty(DOCTYPE_SYSTEM, SVG_DOCTYPE_SYSTEM);\n transformer.setOutputProperty(INDENT, \"yes\");\n\n transformer.transform(\n new DOMSource(svgDocument), new StreamResult(outputStream));\n } catch (TransformerException ex) {\n LOGGER.error(null, ex);\n } finally {\n outputStream.close();\n }\n }", "title": "" }, { "docid": "4309d28147a22e7e218fcc1da0b1bdc4", "score": "0.48743647", "text": "private void selectDcsExportFilePathButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_selectDcsExportFilePathButtonActionPerformed\n \n CustomEvent selectDcsExportFilePathButtonClickEvent = new CustomEvent(new Object());\n events.trigger(\n ViewEvent.SELECT_DCS_EXPORT_FILE_PATH_BUTTON_CLICK, \n selectDcsExportFilePathButtonClickEvent\n );// trigger \n }", "title": "" }, { "docid": "e1a1d56d08a415c5feadc6e6af5d280a", "score": "0.48662445", "text": "public void menuSaveAsToFile();", "title": "" }, { "docid": "35e6c47ec3b6f8245485ce04db8fd1ec", "score": "0.48385286", "text": "private void saveToNamedFile(String fname)\n {\n if (fname.toLowerCase(Locale.ENGLISH).endsWith(\".png\")) {\n this.errorMessageBox(\n \"The file name \\\"\"+fname+\"\\\" is invalid because \"+\n \"you cannot save a diagram directly as a \\\".png\\\" file. \"+\n \"Instead, give it a \\\".ded\\\" extension, and when that file is \"+\n \"saved, you will automatically get a \\\".ded.png\\\" file as well.\");\n return;\n }\n\n try {\n this.diagram.saveToFile(fname);\n }\n catch (Exception e) {\n this.exnErrorMessageBox(\"Error while saving \\\"\"+fname+\"\\\"\", e);\n return;\n }\n\n // If it worked, remember the new name.\n this.dirty = false;\n this.importedFile = false;\n this.setFileName(fname);\n\n // Additionally, always export to PNG.\n String pngFname = fname+\".png\";\n try {\n // I will save the document source JSON as a comment in the image\n // file so if the source gets separated, I can still edit\n // the image. One place this really helps is with diagrams\n // on a wiki: there is no easy way to upload both an image\n // and its source, nor even uninterpreted source files alone\n // for that matter. It also helps with email attachments,\n // where again it is awkward to send pairs of files.\n\n // First, get the JSON as a string.\n String comment = this.diagram.toJSONString();\n\n // Now, this string might contain non-ASCII characters inside\n // the JSON strings. They need to be changed to use JSON\n // escapes to conform to the requirements of comments in PNG\n // files.\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < comment.length(); i++) {\n char c = comment.charAt(i);\n if (c >= 127) {\n // Render this using a JSON escape sequence. (We\n // simply assume that non-ASCII characters will only\n // appear inside quoted strings.)\n //\n // JSON escapes use UTF-16 code units, with all the\n // surrogate pair ugliness, just like Java Strings,\n // so there is no transformation to do on them.\n sb.append(String.format(\"\\\\u%04X\", (int)c));\n }\n else {\n // Note that 'c' here will be printable because the\n // procedure for rendering JSON as a string already\n // maps the control characters to escape sequences.\n sb.append(c);\n }\n }\n\n // Write the image to the PNG file, including with the comment.\n writeToPNG(new File(pngFname), sb.toString());\n }\n catch (Exception e) {\n this.exnErrorMessageBox(\n \"The primary diagram file \\\"\"+fname+\"\\\" was saved successfully, \"+\n \"but exporting the PNG to \\\"\"+pngFname+\"\\\" failed\", e);\n }\n }", "title": "" }, { "docid": "34cb2628d213ad46507bf878e7080a2d", "score": "0.48288974", "text": "public void exportToEPS(File file) {\n\n //EpsGraphics dummy = new EpsGraphics(\"Title\", new ByteArrayOutputStream(),\n // 0, 0, 1, 1, ColorMode.BLACK_AND_WHITE);\n\n //render(dummy);\n \ttry {\n \t\tEpsGraphics g2 = new EpsGraphics(\"Title\", new FileOutputStream(file), 0, 0,\n \t\t\t\t(int) area.getWidth() + 2, (int) area.getHeight(), ColorMode.COLOR_RGB);\n \t\trender(g2);\n\n g2.flush();\n g2.close();\n \t} catch(IOException e) {\n \t\tFileUtil.handleExceptions(e);\n \t} \n }", "title": "" }, { "docid": "6a4e3f4ee8d38b61323c185f1155e640", "score": "0.47893703", "text": "private void writeToFile(){\n exportWindow.setVisible(false);\n PrintWriter outfile = null;\n\n JFileChooser fc = new JFileChooser();\n int r = fc.showSaveDialog(null);\n if(r == JFileChooser.APPROVE_OPTION){\n file = fc.getSelectedFile();\n if(!file.getName().contains(\".csv\")){\n file = new File(file.getPath() + \".csv\");\n }\n }\n\n try {\n if(file != null) {\n outfile = new PrintWriter(new FileOutputStream(file));\n if (isExportValuesSelected()) {//unit system, input values, gauge length\n double gaugeLength = Calculations.convertLength(mainController.stringToUnits(mainController.getUnitSystem()), mainController.stringToUnits(inputController.getUnitSystem()), mainController.getGaugeLength());\n double width = Calculations.convertLength(mainController.stringToUnits(mainController.getUnitSystem()), mainController.stringToUnits(inputController.getUnitSystem()), mainController.getWidth());\n double depth = Calculations.convertLength(mainController.stringToUnits(mainController.getUnitSystem()), mainController.stringToUnits(inputController.getUnitSystem()), mainController.getDepth());\n double diameter = Calculations.convertLength(mainController.stringToUnits(mainController.getUnitSystem()), mainController.stringToUnits(inputController.getUnitSystem()), mainController.getDiameter());\n outfile.write(\"Unit System: \" + inputController.getUnitSystem() + \"\\n\");\n outfile.write(\"Gauge Length: \" + gaugeLength + \"\\n\");\n if (inputController.isRectangularSelected()) {\n outfile.write(\"Width: \" + width + \"\\n\");\n outfile.write(\"Depth: \" + depth + \"\\n\");\n } else {\n outfile.write(\"Diameter: \" + diameter + \"\\n\");\n }\n outfile.write(\"\\n\");\n }\n double[][] data = xySeries.toArray();\n outfile.write(\"Strain,Stress\\n\");\n for (int i = 0; i < data[0].length; i++) {\n outfile.format(\"%.6f,%.6f%n\", data[0][i], data[1][i]);\n }\n }\n } catch (FileNotFoundException fileNotFoundException) {\n fileNotFoundException.printStackTrace();\n }finally{\n if(outfile != null) {\n outfile.close();\n }\n }\n isUnsaved = false;\n }", "title": "" }, { "docid": "fd72a3f8996e256ee435f7489dde27fe", "score": "0.47874388", "text": "public void exportPath(final String value) {\n final FormValidation validation = tmsValidator.validateExportPath(value);\n Preconditions.checkArgument(validation.kind != FormValidation.Kind.ERROR, validation.getMessage());\n exportPath = value;\n }", "title": "" }, { "docid": "6ebea3be0ee0238aee7be2fc52a2af4b", "score": "0.47636217", "text": "public void initPopupButton() {\n \n JMenuItem saveMenuItem = new JMenuItem(\"Save image...\");\n saveMenuItem.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n try {\n jGraph.doSaveAs();\n } catch (java.io.IOException e1) {}\n }\n });\n \n \n \n JMenuItem printMenuItem = new JMenuItem(\"Print image...\");\n printMenuItem.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n jGraph.createChartPrintJob();\n }\n });\n \n \n \n \n \n }", "title": "" }, { "docid": "32e06c79fb632a456e966157b13361f3", "score": "0.47340453", "text": "public final void handleExportPicture ()\r\n {\r\n if ( this.jGTIMainSplitPane.getJGTIEditorPanelTabbedPane ()\r\n .getSelectedEditorPanel () instanceof MachinePanel )\r\n {\r\n MachinePanel machinePanel = ( MachinePanel ) this.jGTIMainSplitPane\r\n .getJGTIEditorPanelTabbedPane ().getSelectedEditorPanel ();\r\n machinePanel.handleExportPicture ();\r\n }\r\n else if ( this.jGTIMainSplitPane.getJGTIEditorPanelTabbedPane ()\r\n .getSelectedEditorPanel () instanceof RegexPanel )\r\n {\r\n if ( !handleValidate ( false ) )\r\n {\r\n return;\r\n }\r\n RegexPanel regexPanel = ( RegexPanel ) this.jGTIMainSplitPane\r\n .getJGTIEditorPanelTabbedPane ().getSelectedEditorPanel ();\r\n regexPanel.handleExportPicture ();\r\n }\r\n else\r\n {\r\n throw new RuntimeException ( \"unsupported panel\" ); //$NON-NLS-1$\r\n }\r\n }", "title": "" }, { "docid": "6171c3eaf0fe73f3eae7dea9e0dc080d", "score": "0.47212076", "text": "public JMenuItem doExport() {\n\n JMenuItem exportDataItem = new JMenuItem(\"Save and Exit...\");\n\n exportDataItem.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n try {\n controller.saveToFile();\n System.exit(0);\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n }\n });\n return exportDataItem;\n }", "title": "" }, { "docid": "3c45aa76eb8fa1240014246bcedf591a", "score": "0.46920523", "text": "public void btnBrowseClick() {\n\n File file = new File(filename);\n String path = file.getParent();\n if (path == null) {\n path = Global.browserPath;\n }\n\n Task task = new FilenameTask();\n Global.savedialog = new SaveDialog(this, path, file.getName(), task);\n\n Global.savedialog.setVisible(true);\n\n }", "title": "" }, { "docid": "6b549061517d038c69b1d1f507ccfa26", "score": "0.467899", "text": "private void saveAsPng(Stage stage, Scene scene, String name, ToggleButton toggleButton) {\n\t\tWritableImage image = scene.snapshot(null);\n\n\t\t// Creating file choosing window\n\t\tFileChooser fileChooser = new FileChooser();\n\t\t// Creating filter only for PNG files\n\t\tFileChooser.ExtensionFilter extFilter = new FileChooser.ExtensionFilter(\"PNG\", \"*.png\");\n\t\tfileChooser.getExtensionFilters().add(extFilter);\n\t\t\n\t\t// Default path is on Desktop\n\t\tfileChooser.setInitialDirectory(new File(System.getProperty(\"user.home\") + \"/Desktop\"));\n\t\t\n\t\t// Default name of PNG file\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy.MM.dd\");\n\t\tDate date = new Date();\n\t\tfileChooser.setInitialFileName(name + \"_\" + toggleButton.getText().replaceAll(\" \", \".\") + \"_\" + dateFormat.format(date));\n\t\t\n\t\tFile file = fileChooser.showSaveDialog(stage);\n\n\t\ttry {\n\t\t\tImageIO.write(SwingFXUtils.fromFXImage(image, null), \"png\", file);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "7e3ec2ff859ae9d943d6c01e9a1a227b", "score": "0.46593764", "text": "public interface SvgDarwable {\n public static final String[] planet = {\"#414042@M 420.37 26.50 C 425.88 24.56 431.87 30.42 430.01 35.97 C 428.75 41.32 421.33 43.48 417.41 39.60 C 412.96 35.92 414.78 27.91 420.37 26.50 Z$#414042@M 349.39 40.55 C 352.84 38.92 357.11 42.39 356.22 46.10 C 355.70 49.76 350.76 51.53 348.05 49.00 C 345.19 46.79 345.99 41.78 349.39 40.55 Z$#414042@M 205.41 45.67 C 208.82 43.79 213.31 47.14 212.55 50.94 C 212.16 54.48 207.58 56.47 204.75 54.31 C 201.60 52.36 202.02 47.13 205.41 45.67 Z$#414042@M 346.79 71.14 C 356.41 60.64 370.54 53.90 384.94 54.89 C 409.00 56.29 430.03 77.88 430.57 102.02 C 430.72 106.89 429.89 111.75 428.56 116.42 C 430.41 118.27 432.31 120.07 434.16 121.92 C 433.65 117.14 440.00 114.08 443.09 117.92 C 446.24 121.37 442.86 126.65 438.53 126.43 C 467.74 155.86 487.42 194.61 494.30 235.48 C 500.48 272.24 496.19 310.74 481.81 345.15 C 484.97 346.32 488.07 348.37 489.18 351.72 C 491.25 356.87 488.10 363.20 482.79 364.73 C 479.37 365.53 475.82 365.09 472.35 365.21 C 449.49 407.13 411.99 440.84 367.74 458.83 C 365.51 472.40 353.92 484.08 340.16 485.72 C 329.48 486.95 319.05 481.10 312.76 472.72 C 290.12 474.71 267.14 473.51 245.04 468.05 C 190.86 455.17 142.97 419.01 114.95 370.99 C 106.47 356.61 99.82 341.18 95.06 325.19 C 72.37 325.18 49.68 325.19 27.00 325.18 C 21.74 325.54 16.77 321.20 16.52 315.92 C 15.96 310.52 20.56 305.26 26.02 305.23 C 47.45 305.13 68.88 305.22 90.30 305.19 C 84.83 276.08 86.10 245.80 93.58 217.17 C 86.38 217.15 79.19 217.27 72.00 217.14 C 66.26 217.21 61.44 211.50 62.38 205.86 C 62.92 201.17 67.21 197.20 71.98 197.23 C 81.33 197.10 90.69 197.24 100.05 197.18 C 114.55 159.05 140.61 125.49 173.79 101.81 C 203.62 80.38 239.30 67.04 275.95 64.19 C 299.73 62.24 323.83 64.68 346.79 71.14 M 374.40 71.62 C 364.99 73.53 356.60 80.08 352.84 88.97 C 347.65 101.10 349.44 116.59 358.89 126.18 C 371.02 138.42 393.12 138.50 405.41 126.46 C 418.23 113.72 417.66 89.96 403.76 78.22 C 395.79 71.40 384.49 69.50 374.40 71.62 M 274.93 83.21 C 260.64 84.80 246.69 88.56 233.02 92.93 C 231.78 93.34 230.51 93.75 229.38 94.43 C 218.67 97.35 208.71 102.58 199.01 107.90 C 163.92 127.81 135.95 159.81 120.75 197.17 C 124.15 197.19 127.55 197.19 130.95 197.18 C 183.64 197.20 236.34 197.17 289.03 197.19 C 294.40 196.90 299.32 201.60 299.30 206.98 C 299.56 212.50 294.55 217.47 289.03 217.17 C 234.01 217.21 178.98 217.18 123.96 217.19 C 120.62 217.18 117.29 217.19 113.95 217.19 C 105.85 245.66 104.94 275.99 110.31 305.05 C 113.85 305.25 117.39 305.21 120.94 305.17 C 170.64 305.20 220.34 305.17 270.05 305.18 C 274.63 304.86 279.13 308.00 280.32 312.46 C 282.24 318.41 277.27 325.26 270.99 325.14 C 223.18 325.25 175.36 325.16 127.55 325.19 C 123.55 325.19 119.54 325.22 115.53 325.12 C 127.18 363.65 152.38 397.82 185.45 420.72 C 219.99 444.87 263.00 456.20 304.96 453.18 C 306.36 453.29 307.07 452.64 307.07 451.24 C 309.54 435.03 326.53 421.64 342.99 425.31 C 351.44 427.04 358.19 432.93 363.35 439.56 C 377.79 433.93 391.28 425.94 403.79 416.80 C 404.66 416.18 405.37 415.40 405.91 414.46 L 406.61 414.43 C 423.99 400.69 439.46 384.32 450.77 365.18 C 448.48 365.18 446.20 365.19 443.93 365.19 C 383.64 365.17 323.35 365.21 263.06 365.17 C 257.56 365.49 252.56 360.55 252.79 355.06 C 252.70 349.71 257.57 344.96 262.93 345.20 C 326.22 345.17 389.52 345.19 452.82 345.19 C 455.52 345.20 458.23 345.18 460.93 345.12 C 462.53 340.96 464.45 336.92 465.66 332.62 C 467.61 329.01 468.55 324.98 469.74 321.08 C 483.81 272.16 477.53 217.47 451.51 173.58 C 449.32 170.16 447.57 166.38 444.63 163.52 C 437.44 152.41 428.68 142.34 419.21 133.12 C 418.84 133.63 418.10 134.67 417.74 135.19 C 408.10 145.41 394.30 152.18 380.06 151.32 C 359.89 150.30 341.74 135.18 335.94 116.02 C 332.95 106.50 333.52 96.06 337.06 86.77 C 316.77 81.90 295.64 80.94 274.93 83.21 M 331.38 441.59 C 322.35 444.45 320.51 456.62 324.92 463.99 C 328.97 470.28 337.96 471.19 344.42 468.48 C 352.36 464.97 353.69 454.03 349.90 447.02 C 346.33 440.69 337.77 439.54 331.38 441.59 Z$#414042@M 317.40 199.61 C 323.31 197.51 329.60 204.13 327.11 209.93 C 325.35 215.48 317.20 216.90 313.65 212.30 C 309.95 208.27 312.09 200.99 317.40 199.61 Z$#414042@M 388.41 248.56 C 394.28 246.23 401.51 249.89 403.13 255.97 C 405.09 261.93 401.05 268.90 394.92 270.19 C 389.13 271.74 382.68 267.82 381.33 262.00 C 379.80 256.55 383.08 250.39 388.41 248.56 Z$#414042@M 250.14 249.32 C 288.08 249.00 326.04 249.28 363.99 249.18 C 368.10 248.87 372.28 251.16 373.96 254.96 C 376.07 259.25 374.49 264.86 370.50 267.47 C 367.45 269.67 363.51 269.13 359.98 269.20 C 323.99 269.16 287.99 269.21 252.00 269.18 C 246.78 269.50 241.86 265.17 241.61 259.94 C 241.11 254.89 245.08 249.87 250.14 249.32 Z$#414042@M 291.23 306.28 C 297.81 303.43 305.62 310.03 303.93 316.99 C 302.92 323.86 293.67 327.18 288.53 322.51 C 282.91 318.29 284.57 308.47 291.23 306.28 Z$#414042@M 159.20 359.23 C 161.25 358.00 164.13 358.55 165.58 360.44 C 166.86 361.96 166.55 364.08 166.85 365.91 C 167.10 370.95 169.33 376.49 174.17 378.70 C 176.99 379.98 181.17 378.93 182.79 382.20 C 184.77 385.44 181.84 390.01 178.07 389.60 C 167.24 389.14 159.27 379.14 157.26 369.14 C 156.68 365.86 155.66 361.21 159.20 359.23 Z$#5fc7e6@M 374.40 71.62 C 384.49 69.50 395.79 71.40 403.76 78.22 C 417.66 89.96 418.23 113.72 405.41 126.46 C 393.12 138.50 371.02 138.42 358.89 126.18 C 349.44 116.59 347.65 101.10 352.84 88.97 C 356.60 80.08 364.99 73.53 374.40 71.62 Z$#5fc7e6@M 274.93 83.21 C 295.64 80.94 316.77 81.90 337.06 86.77 C 333.52 96.06 332.95 106.50 335.94 116.02 C 341.74 135.18 359.89 150.30 380.06 151.32 C 394.30 152.18 408.10 145.41 417.74 135.19 C 433.81 153.53 446.16 175.05 453.97 198.15 C 462.74 223.74 466.39 250.98 465.42 277.98 C 464.71 300.85 460.70 323.67 452.82 345.19 C 389.52 345.19 326.22 345.17 262.93 345.20 C 257.57 344.96 252.70 349.71 252.79 355.06 C 252.56 360.55 257.56 365.49 263.06 365.17 C 323.35 365.21 383.64 365.17 443.93 365.19 C 433.71 384.13 420.06 401.39 402.96 414.57 C 403.70 414.55 405.17 414.49 405.91 414.46 C 405.37 415.40 404.66 416.18 403.79 416.80 C 391.28 425.94 377.79 433.93 363.35 439.56 C 358.19 432.93 351.44 427.04 342.99 425.31 C 326.53 421.64 309.54 435.03 307.07 451.24 C 277.66 453.40 248.21 445.44 222.43 431.54 C 202.48 420.77 184.37 406.65 168.85 390.15 C 151.33 371.25 136.55 349.41 127.55 325.19 C 175.36 325.16 223.18 325.25 270.99 325.14 C 277.27 325.26 282.24 318.41 280.32 312.46 C 279.13 308.00 274.63 304.86 270.05 305.18 C 220.34 305.17 170.64 305.20 120.94 305.17 C 113.69 276.30 115.64 245.61 123.96 217.19 C 178.98 217.18 234.01 217.21 289.03 217.17 C 294.55 217.47 299.56 212.50 299.30 206.98 C 299.32 201.60 294.40 196.90 289.03 197.19 C 236.34 197.17 183.64 197.20 130.95 197.18 C 148.15 155.57 180.00 119.77 220.38 99.48 C 223.53 98.08 226.61 96.51 229.38 94.43 C 230.51 93.75 231.78 93.34 233.02 92.93 C 246.69 88.56 260.64 84.80 274.93 83.21 M 317.40 199.61 C 312.09 200.99 309.95 208.27 313.65 212.30 C 317.20 216.90 325.35 215.48 327.11 209.93 C 329.60 204.13 323.31 197.51 317.40 199.61 M 388.41 248.56 C 383.08 250.39 379.80 256.55 381.33 262.00 C 382.68 267.82 389.13 271.74 394.92 270.19 C 401.05 268.90 405.09 261.93 403.13 255.97 C 401.51 249.89 394.28 246.23 388.41 248.56 M 250.14 249.32 C 245.08 249.87 241.11 254.89 241.61 259.94 C 241.86 265.17 246.78 269.50 252.00 269.18 C 287.99 269.21 323.99 269.16 359.98 269.20 C 363.51 269.13 367.45 269.67 370.50 267.47 C 374.49 264.86 376.07 259.25 373.96 254.96 C 372.28 251.16 368.10 248.87 363.99 249.18 C 326.04 249.28 288.08 249.00 250.14 249.32 M 291.23 306.28 C 284.57 308.47 282.91 318.29 288.53 322.51 C 293.67 327.18 302.92 323.86 303.93 316.99 C 305.62 310.03 297.81 303.43 291.23 306.28 M 159.20 359.23 C 155.66 361.21 156.68 365.86 157.26 369.14 C 159.27 379.14 167.24 389.14 178.07 389.60 C 181.84 390.01 184.77 385.44 182.79 382.20 C 181.17 378.93 176.99 379.98 174.17 378.70 C 169.33 376.49 167.10 370.95 166.85 365.91 C 166.55 364.08 166.86 361.96 165.58 360.44 C 164.13 358.55 161.25 358.00 159.20 359.23 Z$#50abc4@M 199.01 107.90 C 208.71 102.58 218.67 97.35 229.38 94.43 C 226.61 96.51 223.53 98.08 220.38 99.48 C 180.00 119.77 148.15 155.57 130.95 197.18 C 127.55 197.19 124.15 197.19 120.75 197.17 C 135.95 159.81 163.92 127.81 199.01 107.90 Z$#50abc4@M 444.63 163.52 C 447.57 166.38 449.32 170.16 451.51 173.58 C 477.53 217.47 483.81 272.16 469.74 321.08 C 468.55 324.98 467.61 329.01 465.66 332.62 C 466.16 330.45 466.64 328.28 467.25 326.14 C 473.16 306.02 475.58 284.98 475.46 264.04 C 475.23 234.14 467.20 204.46 452.94 178.22 C 450.36 173.21 447.04 168.62 444.63 163.52 Z$#50abc4@M 113.95 217.19 C 117.29 217.19 120.62 217.18 123.96 217.19 C 115.64 245.61 113.69 276.30 120.94 305.17 C 117.39 305.21 113.85 305.25 110.31 305.05 C 104.94 275.99 105.85 245.66 113.95 217.19 Z$#50abc4@M 115.53 325.12 C 119.54 325.22 123.55 325.19 127.55 325.19 C 136.55 349.41 151.33 371.25 168.85 390.15 C 184.37 406.65 202.48 420.77 222.43 431.54 C 248.21 445.44 277.66 453.40 307.07 451.24 C 307.07 452.64 306.36 453.29 304.96 453.18 C 263.00 456.20 219.99 444.87 185.45 420.72 C 152.38 397.82 127.18 363.65 115.53 325.12 Z$#aedeef@M 417.74 135.19 C 418.10 134.67 418.84 133.63 419.21 133.12 C 428.68 142.34 437.44 152.41 444.63 163.52 C 447.04 168.62 450.36 173.21 452.94 178.22 C 467.20 204.46 475.23 234.14 475.46 264.04 C 475.58 284.98 473.16 306.02 467.25 326.14 C 466.64 328.28 466.16 330.45 465.66 332.62 C 464.45 336.92 462.53 340.96 460.93 345.12 C 458.23 345.18 455.52 345.20 452.82 345.19 C 460.70 323.67 464.71 300.85 465.42 277.98 C 466.39 250.98 462.74 223.74 453.97 198.15 C 446.16 175.05 433.81 153.53 417.74 135.19 Z$#aedeef@M 443.93 365.19 C 446.20 365.19 448.48 365.18 450.77 365.18 C 439.46 384.32 423.99 400.69 406.61 414.43 L 405.91 414.46 C 405.17 414.49 403.70 414.55 402.96 414.57 C 420.06 401.39 433.71 384.13 443.93 365.19 Z$#fbec7d@M 331.38 441.59 C 337.77 439.54 346.33 440.69 349.90 447.02 C 353.69 454.03 352.36 464.97 344.42 468.48 C 337.96 471.19 328.97 470.28 324.92 463.99 C 320.51 456.62 322.35 444.45 331.38 441.59 Z\"};\n\n public static final String[] simple_big_bit8 = {\"#1e1e1b@M 278.97 53.08 C 298.47 23.36 341.89 8.58 374.03 26.94 C 395.13 37.73 407.95 60.78 411.33 83.69 C 412.00 93.49 421.96 98.56 426.61 106.35 C 430.29 111.92 432.92 118.40 434.02 124.98 C 434.01 130.32 433.93 135.66 434.03 141.00 C 433.75 149.98 428.51 158.20 423.11 165.09 C 421.45 167.66 416.28 167.92 419.47 172.62 C 420.25 180.05 420.00 187.54 420.00 195.00 C 420.24 204.42 419.24 213.97 420.60 223.33 C 421.13 226.75 421.19 230.29 420.74 233.73 C 420.36 236.46 420.00 239.23 419.95 242.00 C 420.08 249.32 419.47 256.71 420.84 263.96 C 417.21 263.08 413.77 261.62 410.19 260.59 C 406.56 259.47 402.73 259.18 398.99 258.70 L 399.36 257.76 C 402.34 255.17 405.32 252.20 406.30 248.25 C 407.65 246.90 409.06 245.61 410.28 244.13 C 412.77 239.98 412.03 233.99 407.37 231.78 C 399.95 223.27 390.51 217.00 381.73 210.04 C 386.58 201.95 392.00 194.21 396.37 185.84 C 401.96 174.68 404.19 162.17 404.99 149.81 C 400.27 155.84 397.43 163.72 390.84 168.11 C 395.77 159.30 401.43 150.77 404.05 140.86 C 400.41 141.71 395.99 148.49 396.78 140.89 C 392.02 145.04 391.48 153.20 383.16 150.03 C 384.44 140.88 395.54 136.32 403.78 138.80 C 408.20 129.61 406.62 118.10 406.80 108.15 C 406.72 97.94 399.84 87.59 389.17 86.92 C 387.94 82.84 381.35 88.55 377.99 89.90 C 380.31 83.36 371.42 91.47 369.60 93.83 C 365.99 90.93 363.28 86.86 359.00 84.88 C 360.98 87.34 363.20 89.61 365.08 92.16 C 360.15 90.11 356.10 86.20 350.84 84.92 C 352.89 86.99 355.35 88.65 357.17 90.95 C 353.37 90.05 349.62 88.86 345.80 88.08 C 347.92 89.41 350.44 90.12 352.25 91.92 C 348.95 91.91 345.67 91.26 342.41 90.94 C 343.85 96.05 335.40 90.64 333.94 94.66 C 335.01 95.05 336.09 95.43 337.19 95.80 C 334.88 96.60 332.55 97.34 330.21 98.04 C 323.09 99.96 316.31 104.13 310.80 108.97 C 313.36 108.63 322.82 104.59 317.98 109.13 C 319.25 108.96 321.78 108.63 323.04 108.46 C 324.68 108.23 326.33 108.00 327.98 107.78 C 328.26 108.07 328.82 108.64 329.09 108.92 C 325.54 110.75 322.01 112.64 318.68 114.86 C 313.42 117.52 316.07 119.19 320.25 116.24 L 320.98 115.83 C 321.25 116.11 321.80 116.67 322.07 116.95 C 320.54 118.79 318.95 120.62 317.02 122.07 C 313.11 123.62 314.49 125.98 318.16 124.20 C 317.36 125.07 316.53 125.91 315.73 126.77 C 314.51 127.95 313.44 129.28 312.65 130.79 C 314.21 130.28 315.82 128.65 317.45 129.88 C 316.33 131.61 315.09 133.25 313.88 134.91 C 311.60 138.11 309.29 141.37 307.80 145.03 C 309.94 143.68 311.94 142.11 313.79 140.38 C 316.99 138.35 317.32 139.07 315.00 141.74 C 313.32 143.18 310.78 145.00 314.20 146.11 C 312.62 148.58 310.71 150.93 309.78 153.75 C 308.49 159.18 308.76 164.82 309.65 170.29 C 309.96 172.44 310.37 174.59 310.72 176.74 C 308.39 178.90 309.50 182.34 309.31 185.12 C 308.83 183.99 308.33 182.87 307.81 181.76 C 307.35 180.76 306.81 179.80 306.19 178.89 C 304.79 176.94 302.25 172.85 303.09 177.79 C 302.93 178.34 302.60 179.45 302.44 180.00 C 302.17 179.03 301.79 178.10 301.32 177.22 C 300.63 176.17 299.86 175.17 299.08 174.19 C 303.16 173.76 299.08 167.34 299.79 165.13 C 298.57 164.16 298.62 163.13 299.66 162.08 C 299.14 153.06 296.15 142.95 290.14 135.79 C 290.72 135.13 291.29 134.45 291.82 133.75 C 294.13 121.55 295.05 108.71 301.63 97.82 C 307.67 100.92 314.17 95.73 320.34 95.35 C 322.14 94.61 325.29 94.62 325.16 92.01 C 317.40 92.12 310.36 96.65 302.56 96.17 C 307.65 87.02 314.44 78.68 323.15 72.75 C 340.43 62.11 361.94 56.50 381.88 62.22 C 389.65 65.89 397.23 70.16 402.41 77.21 C 404.59 80.84 405.46 85.57 409.00 88.18 C 408.13 79.22 405.70 70.08 400.18 62.82 C 394.77 53.13 385.05 46.59 375.02 42.41 C 369.21 40.45 363.27 38.87 357.25 37.75 C 352.82 37.17 348.06 36.08 343.76 37.77 C 328.00 41.66 312.97 49.58 302.45 62.16 C 301.34 57.79 307.53 54.88 307.74 51.27 C 298.42 47.88 288.67 54.01 278.97 53.08 M 413.98 98.98 C 416.34 121.01 417.09 143.15 419.18 165.21 C 426.16 158.01 430.55 148.05 431.03 138.02 C 433.41 136.09 432.39 126.56 430.97 125.00 C 429.24 114.48 422.07 105.50 413.98 98.98 Z$#514b48@M 343.76 37.77 C 348.06 36.08 352.82 37.17 357.25 37.75 C 352.74 37.80 348.25 37.80 343.76 37.77 Z$#998f90@M 302.45 62.16 C 312.97 49.58 328.00 41.66 343.76 37.77 C 348.25 37.80 352.74 37.80 357.25 37.75 C 363.27 38.87 369.21 40.45 375.02 42.41 C 372.60 49.73 383.13 54.65 381.88 62.22 C 361.94 56.50 340.43 62.11 323.15 72.75 C 320.45 70.39 317.34 68.57 314.15 66.94 C 310.69 64.42 306.54 63.21 302.45 62.16 Z$#a9a0a1@M 381.88 62.22 C 383.13 54.65 372.60 49.73 375.02 42.41 C 385.05 46.59 394.77 53.13 400.18 62.82 C 400.68 67.62 403.03 72.32 402.41 77.21 C 397.23 70.16 389.65 65.89 381.88 62.22 Z$#202722@M 278.97 53.08 C 288.67 54.01 298.42 47.88 307.74 51.27 C 307.53 54.88 301.34 57.79 302.45 62.16 L 302.54 62.99 C 292.91 73.79 286.43 87.63 283.73 101.87 C 282.61 103.01 282.60 104.67 283.12 106.09 C 283.05 106.76 282.91 108.09 282.85 108.75 C 282.34 111.89 281.99 115.06 282.15 118.24 C 282.12 120.71 282.16 123.19 282.25 125.66 C 279.27 126.25 277.33 125.44 277.68 122.02 C 273.48 121.05 273.05 127.57 269.02 127.11 C 267.53 118.65 275.93 112.83 276.05 104.82 C 264.14 117.11 260.67 135.58 249.02 148.19 C 249.23 145.80 252.70 140.75 248.22 141.07 C 243.36 149.50 241.98 161.48 233.94 167.17 C 234.43 164.43 234.93 161.70 235.41 158.96 C 236.00 157.76 236.24 156.44 236.30 155.12 C 237.00 153.92 237.17 152.53 237.01 151.17 C 241.33 132.41 247.19 113.20 255.03 95.92 C 257.71 94.45 258.29 96.23 258.39 98.71 C 261.47 101.36 265.19 97.44 268.59 98.50 C 271.93 99.62 275.66 100.67 279.02 99.13 C 280.56 102.68 283.77 100.06 283.14 97.01 C 281.73 97.64 280.37 98.38 279.02 99.13 C 275.97 95.12 270.45 94.74 267.75 90.20 C 263.15 91.59 260.27 90.73 259.53 85.71 C 264.48 74.54 270.38 61.70 278.97 53.08 Z$#22211e@M 451.69 88.69 C 468.68 55.66 516.75 44.99 546.81 64.81 C 540.80 68.69 535.31 73.45 530.79 79.00 C 532.76 83.14 538.11 82.30 541.74 83.31 C 543.90 84.78 540.45 86.69 539.90 88.25 C 537.05 86.24 534.09 84.36 531.19 82.47 C 530.89 82.28 530.30 81.90 530.01 81.72 C 528.75 80.92 527.46 80.19 526.12 79.56 C 520.68 77.19 515.16 74.68 509.25 73.71 C 504.17 72.70 498.95 72.85 493.88 73.74 C 491.88 73.97 489.90 74.28 487.97 74.83 C 477.56 76.79 467.73 81.72 459.88 88.83 C 450.10 96.31 445.43 108.38 443.38 120.13 C 442.74 117.71 440.85 115.81 440.04 119.27 C 440.96 108.40 447.16 98.46 451.69 88.69 Z$#22211e@M 546.17 1083.10 C 546.58 1083.08 547.40 1083.06 547.81 1083.04 C 549.38 1093.12 552.24 1103.53 549.67 1113.69 C 547.92 1121.96 544.73 1129.85 543.14 1138.17 C 548.54 1137.02 548.71 1121.04 553.99 1127.05 C 548.31 1140.89 540.86 1154.87 531.05 1166.22 C 530.12 1154.21 536.23 1143.11 537.37 1131.31 C 541.00 1115.42 540.43 1098.35 546.17 1083.10 Z$#cec7c7@M 302.45 62.16 C 306.54 63.21 310.69 64.42 314.15 66.94 C 310.07 66.38 306.27 64.66 302.54 62.99 L 302.45 62.16 Z$#cec7c7@M 389.88 366.17 C 392.68 366.00 394.10 363.48 396.06 361.86 C 389.87 370.40 404.73 368.66 408.01 374.04 C 401.70 372.07 395.58 369.50 389.88 366.17 Z$#f8f7f8@M 283.73 101.87 C 286.43 87.63 292.91 73.79 302.54 62.99 C 306.27 64.66 310.07 66.38 314.15 66.94 C 317.34 68.57 320.45 70.39 323.15 72.75 C 314.44 78.68 307.65 87.02 302.56 96.17 C 302.33 96.59 301.86 97.41 301.63 97.82 C 295.05 108.71 294.13 121.55 291.82 133.75 C 289.04 134.21 286.28 134.86 283.67 135.94 L 282.95 135.80 C 283.05 132.40 283.33 128.94 282.25 125.66 C 282.16 123.19 282.12 120.71 282.15 118.24 C 282.60 115.09 282.97 111.94 282.85 108.75 C 282.91 108.09 283.05 106.76 283.12 106.09 C 284.57 105.14 284.36 103.25 283.73 101.87 Z$#807676@M 400.18 62.82 C 405.70 70.08 408.13 79.22 409.00 88.18 C 405.46 85.57 404.59 80.84 402.41 77.21 C 403.03 72.32 400.68 67.62 400.18 62.82 Z$#212924@M 530.79 79.00 C 535.31 73.45 540.80 68.69 546.81 64.81 C 551.17 65.81 554.55 69.30 558.14 71.88 C 554.79 74.49 558.01 78.21 558.63 81.36 C 560.43 85.15 555.51 87.22 553.89 89.98 C 556.95 91.40 561.78 90.52 564.00 92.97 C 559.61 94.34 550.65 90.50 550.97 97.83 C 554.50 99.30 558.62 101.38 562.39 99.51 C 564.93 98.26 567.78 101.90 569.96 99.89 C 568.39 97.31 561.42 92.26 570.56 93.54 C 575.41 89.57 563.42 87.22 560.99 86.78 C 562.91 84.69 565.02 82.78 567.19 80.96 C 580.80 92.96 589.27 109.75 595.45 126.64 C 609.85 160.45 615.80 196.91 625.99 232.06 C 629.96 248.17 635.48 263.98 639.00 280.15 C 638.79 281.45 638.92 282.79 639.51 283.98 C 640.11 286.45 640.83 288.89 641.63 291.31 C 642.34 294.72 643.46 298.03 644.67 301.30 C 645.74 305.63 646.62 310.17 649.05 314.00 C 657.01 334.83 662.99 356.51 672.08 376.97 C 675.14 386.44 681.94 395.34 683.57 404.91 C 682.46 405.99 681.31 407.05 680.30 408.23 C 683.22 418.72 690.67 427.49 693.15 438.04 C 686.25 435.52 685.63 426.61 681.84 421.21 C 669.14 392.76 654.08 365.34 644.30 335.66 C 636.34 316.67 628.53 297.43 624.26 277.22 C 627.92 274.31 629.44 283.15 631.18 285.81 C 634.04 288.99 636.51 285.61 633.39 283.10 C 635.84 270.98 624.89 262.75 618.31 254.25 C 621.20 249.17 611.31 249.10 613.48 243.44 C 611.34 234.84 610.69 225.78 606.52 217.84 C 609.62 213.95 603.75 210.92 604.16 206.74 C 594.74 187.46 592.97 165.18 581.03 146.99 C 575.48 134.62 569.05 122.70 561.63 111.35 C 561.14 109.88 559.72 110.08 558.68 110.81 C 554.10 101.93 546.76 95.28 539.90 88.25 C 540.45 86.69 543.90 84.78 541.74 83.31 C 538.11 82.30 532.76 83.14 530.79 79.00 Z$#383833@M 558.14 71.88 C 561.37 74.63 564.43 77.70 567.19 80.96 C 565.02 82.78 562.91 84.69 560.99 86.78 C 563.42 87.22 575.41 89.57 570.56 93.54 C 561.42 92.26 568.39 97.31 569.96 99.89 C 567.78 101.90 564.93 98.26 562.39 99.51 C 558.62 101.38 554.50 99.30 550.97 97.83 C 550.65 90.50 559.61 94.34 564.00 92.97 C 561.78 90.52 556.95 91.40 553.89 89.98 C 555.51 87.22 560.43 85.15 558.63 81.36 C 558.01 78.21 554.79 74.49 558.14 71.88 Z$#6a6160@M 493.88 73.74 C 498.95 72.85 504.17 72.70 509.25 73.71 C 504.11 73.81 499.00 74.13 493.88 73.74 Z$#847b79@M 487.97 74.83 C 489.90 74.28 491.88 73.97 493.88 73.74 C 493.94 81.30 489.43 88.03 486.98 95.03 C 485.65 95.13 484.32 95.25 483.00 95.38 C 481.22 88.61 487.77 81.96 487.97 74.83 Z$#988e8f@M 493.88 73.74 C 499.00 74.13 504.11 73.81 509.25 73.71 C 515.16 74.68 520.68 77.19 526.12 79.56 C 519.26 84.89 512.34 90.85 507.47 98.15 C 500.68 96.85 493.84 95.83 486.98 95.03 C 489.43 88.03 493.94 81.30 493.88 73.74 Z$#988e8f@M 239.08 228.25 C 248.15 218.74 256.61 206.39 266.43 198.87 C 263.52 206.66 260.62 214.46 257.21 222.04 C 257.11 221.54 256.93 220.54 256.83 220.04 C 250.60 221.97 245.12 225.80 239.08 228.25 Z$#716865@M 459.88 88.83 C 467.73 81.72 477.56 76.79 487.97 74.83 C 487.77 81.96 481.22 88.61 483.00 95.38 C 473.50 95.89 464.60 99.62 456.83 104.91 C 456.62 99.33 458.91 94.21 459.88 88.83 Z$#716865@M 283.20 718.62 C 283.81 720.13 284.34 721.68 284.87 723.23 C 284.63 756.51 286.03 789.91 284.15 823.11 C 283.70 822.89 282.79 822.43 282.34 822.21 C 284.10 787.80 282.22 753.12 283.20 718.62 Z$#aea5a5@M 507.47 98.15 C 512.34 90.85 519.26 84.89 526.12 79.56 C 527.46 80.19 528.75 80.92 530.01 81.72 C 521.10 83.48 516.05 93.01 509.80 99.01 C 509.21 98.79 508.05 98.36 507.47 98.15 Z$#aea5a5@M 522.88 502.61 C 524.61 500.92 526.52 499.15 529.06 498.89 C 528.18 506.39 524.10 513.21 520.97 520.00 C 510.51 540.60 487.34 548.62 467.71 557.75 C 448.61 565.51 429.99 574.46 410.63 581.59 C 384.76 589.89 359.01 600.25 331.82 602.97 C 332.02 601.63 332.22 600.31 332.47 599.00 C 351.27 599.87 369.60 592.21 387.73 587.59 C 411.27 580.96 432.89 569.34 455.70 560.72 C 471.62 553.86 488.49 547.83 502.18 537.04 C 513.87 529.39 521.93 516.70 524.88 503.23 C 524.38 503.07 523.38 502.76 522.88 502.61 Z$#aea5a5@M 492.42 743.48 C 489.83 727.33 501.50 712.65 512.27 702.18 C 507.31 709.30 501.96 716.19 497.80 723.84 C 493.52 729.93 495.19 737.84 496.35 744.68 C 502.50 775.25 507.90 805.95 514.52 836.43 C 517.46 854.42 524.55 872.42 523.98 890.53 C 522.10 887.17 520.33 883.76 518.80 880.24 C 517.64 860.80 511.01 842.18 507.95 823.00 C 502.17 796.61 497.79 769.95 492.42 743.48 Z$#d5cfcf@M 509.80 99.01 C 516.05 93.01 521.10 83.48 530.01 81.72 C 530.30 81.90 530.89 82.28 531.19 82.47 C 523.99 87.03 517.26 92.98 512.51 100.08 C 511.60 99.73 510.69 99.37 509.80 99.01 Z$#f8f8f8@M 512.51 100.08 C 517.26 92.98 523.99 87.03 531.19 82.47 C 534.09 84.36 537.05 86.24 539.90 88.25 C 546.76 95.28 554.10 101.93 558.68 110.81 C 562.61 117.34 565.32 124.52 567.34 131.85 C 566.62 133.24 566.45 135.08 567.82 136.14 L 568.17 136.86 C 567.60 138.30 567.56 140.05 568.82 141.15 C 568.91 141.58 569.10 142.45 569.19 142.88 C 569.17 144.64 569.13 148.16 569.11 149.92 C 569.00 156.69 568.87 163.48 569.25 170.25 C 569.61 172.65 567.96 171.31 566.74 170.68 C 565.95 170.25 565.11 170.06 564.21 170.10 C 562.53 169.73 559.51 170.74 559.89 168.03 C 558.03 145.25 548.35 121.97 529.22 108.48 C 527.96 107.59 526.62 106.83 525.24 106.14 C 521.08 103.95 516.83 101.94 512.51 100.08 Z$#a4695a@M 350.84 84.92 C 356.10 86.20 360.15 90.11 365.08 92.16 C 363.20 89.61 360.98 87.34 359.00 84.88 C 363.28 86.86 365.99 90.93 369.60 93.83 C 371.42 91.47 380.31 83.36 377.99 89.90 C 381.35 88.55 387.94 82.84 389.17 86.92 C 399.84 87.59 406.72 97.94 406.80 108.15 C 406.62 118.10 408.20 129.61 403.78 138.80 C 395.54 136.32 384.44 140.88 383.16 150.03 C 391.48 153.20 392.02 145.04 396.78 140.89 C 395.99 148.49 400.41 141.71 404.05 140.86 C 401.43 150.77 395.77 159.30 390.84 168.11 C 397.43 163.72 400.27 155.84 404.99 149.81 C 404.19 162.17 401.96 174.68 396.37 185.84 C 395.44 185.15 394.75 185.31 394.29 186.32 C 388.31 195.58 382.17 204.87 378.10 215.17 C 377.47 215.84 376.78 216.43 376.02 216.93 C 375.90 213.53 376.54 209.97 375.33 206.70 C 374.82 203.75 371.33 203.65 368.99 203.05 L 370.13 202.98 C 371.53 202.79 374.33 202.43 375.73 202.24 C 374.32 200.42 370.73 203.34 370.78 200.04 C 378.22 204.57 380.74 198.80 385.15 193.90 C 379.94 194.10 375.05 196.14 369.78 195.92 C 376.99 195.73 371.53 190.21 367.78 188.91 C 371.20 183.23 378.34 188.79 382.90 185.75 C 383.66 178.82 381.78 172.06 380.64 165.29 C 380.80 161.44 381.01 157.61 380.84 153.76 C 381.35 147.65 381.43 141.27 377.95 135.98 C 378.46 134.08 377.71 132.23 376.14 131.10 C 376.06 128.61 374.50 126.71 372.83 125.03 C 372.16 124.09 371.51 123.14 370.87 122.19 C 370.46 119.32 369.64 116.48 367.08 114.82 C 366.09 113.24 365.09 111.67 364.08 110.11 C 363.55 107.76 361.86 106.15 359.80 105.08 C 359.56 104.86 359.09 104.42 358.85 104.20 C 356.63 101.38 354.61 97.96 350.96 96.89 C 346.82 94.22 341.61 93.27 337.19 95.80 C 336.09 95.43 335.01 95.05 333.94 94.66 C 335.40 90.64 343.85 96.05 342.41 90.94 C 345.67 91.26 348.95 91.91 352.25 91.92 C 350.44 90.12 347.92 89.41 345.80 88.08 C 349.62 88.86 353.37 90.05 357.17 90.95 C 355.35 88.65 352.89 86.99 350.84 84.92 M 401.99 122.18 C 395.24 124.71 389.37 129.46 384.88 135.04 C 390.42 132.95 394.55 127.70 400.02 125.05 C 401.46 124.82 406.53 120.79 401.99 122.18 Z$#2e322d@M 259.53 85.71 C 260.27 90.73 263.15 91.59 267.75 90.20 C 270.45 94.74 275.97 95.12 279.02 99.13 C 275.66 100.67 271.93 99.62 268.59 98.50 C 265.19 97.44 261.47 101.36 258.39 98.71 C 258.29 96.23 257.71 94.45 255.03 95.92 C 255.76 92.25 257.24 88.68 259.53 85.71 Z$#887f7e@M 443.38 120.13 C 445.43 108.38 450.10 96.31 459.88 88.83 C 458.91 94.21 456.62 99.33 456.83 104.91 C 449.28 110.96 444.97 120.04 443.11 129.36 C 442.88 126.26 442.99 123.20 443.38 120.13 Z$#887f7e@M 285.57 372.22 C 287.04 370.26 289.37 369.33 291.76 369.21 C 293.20 370.46 294.91 371.34 296.81 371.63 C 298.40 372.06 300.08 372.20 301.65 372.73 C 302.79 377.21 306.71 380.52 308.63 384.73 C 327.57 428.28 320.03 477.26 322.74 523.30 C 322.83 526.94 322.68 530.57 322.28 534.21 C 322.80 531.27 319.94 523.12 320.97 533.97 C 318.91 561.91 319.73 591.12 308.28 617.30 C 306.74 621.21 305.36 625.17 303.78 629.07 C 303.52 628.73 302.98 628.05 302.71 627.71 C 308.59 613.11 313.38 597.99 315.35 582.33 C 317.45 555.92 320.96 529.55 320.00 503.00 C 318.98 472.33 322.95 441.03 315.70 410.88 C 313.68 402.02 310.39 393.45 306.10 385.44 C 302.68 376.85 295.33 370.07 285.57 372.22 Z$#403e38@M 302.56 96.17 C 310.36 96.65 317.40 92.12 325.16 92.01 C 325.29 94.62 322.14 94.61 320.34 95.35 C 314.17 95.73 307.67 100.92 301.63 97.82 C 301.86 97.41 302.33 96.59 302.56 96.17 Z$#fcece8@M 337.19 95.80 C 341.61 93.27 346.82 94.22 350.96 96.89 C 353.28 99.61 355.46 102.73 358.85 104.20 C 359.09 104.42 359.56 104.86 359.80 105.08 C 360.65 107.20 362.24 108.82 364.08 110.11 C 365.09 111.67 366.09 113.24 367.08 114.82 C 368.03 117.42 369.14 119.99 370.87 122.19 C 371.51 123.14 372.16 124.09 372.83 125.03 C 373.26 127.36 373.90 129.86 376.14 131.10 C 375.49 133.01 376.29 134.91 377.95 135.98 C 381.43 141.27 381.35 147.65 380.84 153.76 C 379.96 157.55 379.93 161.46 380.64 165.29 C 381.78 172.06 383.66 178.82 382.90 185.75 C 378.34 188.79 371.20 183.23 367.78 188.91 C 371.53 190.21 376.99 195.73 369.78 195.92 C 366.91 196.84 364.04 197.86 361.03 198.22 C 357.98 196.61 352.60 197.98 356.82 199.94 C 360.79 201.26 364.67 203.31 368.99 203.05 C 371.33 203.65 374.82 203.75 375.33 206.70 C 375.18 210.26 375.02 213.85 375.28 217.41 C 374.27 218.10 373.16 218.64 372.05 219.14 C 368.26 219.04 364.52 219.03 360.75 219.23 C 354.56 218.04 348.40 216.16 343.03 212.81 C 331.36 206.59 321.68 197.61 314.01 186.97 C 313.34 183.43 311.87 180.13 310.72 176.74 C 310.37 174.59 309.96 172.44 309.65 170.29 C 309.83 164.77 310.15 159.26 309.78 153.75 C 310.71 150.93 312.62 148.58 314.20 146.11 C 315.32 144.83 315.86 143.32 315.00 141.74 C 317.32 139.07 316.99 138.35 313.79 140.38 C 313.36 138.57 313.64 136.72 313.88 134.91 C 315.09 133.25 316.33 131.61 317.45 129.88 C 318.93 128.58 316.37 127.76 315.73 126.77 C 316.53 125.91 317.36 125.07 318.16 124.20 C 319.30 123.35 317.52 122.62 317.02 122.07 C 318.95 120.62 320.54 118.79 322.07 116.95 C 325.82 115.71 322.95 112.57 320.98 115.83 L 320.25 116.24 C 319.86 115.89 319.07 115.20 318.68 114.86 C 322.01 112.64 325.54 110.75 329.09 108.92 C 332.82 108.24 331.32 105.99 328.17 107.08 C 321.45 108.24 332.02 102.45 321.80 104.13 C 324.74 102.30 327.63 100.36 330.21 98.04 C 332.55 97.34 334.88 96.60 337.19 95.80 M 327.96 136.02 C 325.58 136.43 320.89 134.81 320.03 136.96 C 322.68 137.09 325.35 137.08 328.02 136.97 C 329.41 137.07 330.81 137.07 332.22 136.97 C 332.98 139.32 337.21 138.43 339.11 137.67 C 339.19 139.84 342.73 139.60 343.97 138.48 C 346.71 139.05 349.43 139.76 352.21 140.17 C 353.18 143.95 358.66 140.27 354.15 139.29 C 349.31 137.47 344.22 135.87 339.00 135.96 C 338.65 133.43 328.27 134.66 327.96 136.02 M 337.34 146.41 C 333.37 149.06 328.31 147.24 324.17 149.21 C 327.28 154.74 321.03 157.20 321.27 162.30 C 318.02 175.31 334.62 183.02 344.84 177.89 C 351.47 174.75 358.84 167.80 355.41 159.67 C 355.33 154.51 348.45 158.36 345.71 155.05 C 347.80 150.75 352.73 155.88 355.95 152.86 C 354.48 150.95 351.88 150.17 349.72 149.19 C 349.29 146.07 343.23 147.07 340.88 146.83 C 341.58 144.97 338.25 146.20 337.34 146.41 Z$#1d1d1a@M 483.00 95.38 C 484.32 95.25 485.65 95.13 486.98 95.03 C 493.84 95.83 500.68 96.85 507.47 98.15 C 508.05 98.36 509.21 98.79 509.80 99.01 C 510.69 99.37 511.60 99.73 512.51 100.08 C 516.83 101.94 521.08 103.95 525.24 106.14 C 516.15 111.44 504.27 106.95 495.85 111.85 C 500.98 113.83 506.42 109.93 511.40 112.49 C 516.81 113.59 522.35 111.01 527.80 110.91 C 528.96 110.88 528.68 109.20 529.22 108.48 C 548.35 121.97 558.03 145.25 559.89 168.03 C 559.51 170.74 562.53 169.73 564.21 170.10 C 556.78 173.84 555.75 183.74 552.65 190.83 C 552.34 193.31 552.17 195.80 552.14 198.30 C 552.12 198.70 552.09 199.50 552.07 199.90 C 551.88 202.76 552.11 205.74 550.85 208.39 C 549.14 210.74 548.75 209.11 548.65 206.81 C 547.98 208.48 547.44 210.20 546.87 211.92 C 546.43 212.85 545.99 213.79 545.55 214.72 C 545.14 215.45 544.74 216.18 544.38 216.94 C 543.37 218.99 542.45 221.10 541.69 223.26 C 541.14 220.81 541.68 218.33 542.05 215.90 C 543.01 213.91 542.13 211.80 541.83 209.78 C 541.66 200.13 544.19 189.53 537.79 181.34 C 542.37 181.63 540.43 179.57 537.89 177.89 C 537.18 177.30 536.46 176.71 535.76 176.12 C 536.06 175.80 536.66 175.16 536.96 174.85 C 538.60 176.08 540.32 177.20 542.20 178.05 C 540.45 173.18 536.57 169.45 534.53 164.71 C 539.02 166.68 539.81 164.98 536.00 161.87 C 535.66 161.58 534.98 161.01 534.64 160.73 C 536.52 160.96 538.34 161.48 540.19 161.90 C 539.04 160.55 537.77 159.31 536.28 158.35 C 534.63 157.02 533.05 155.59 531.56 154.09 C 532.21 153.74 533.51 153.05 534.16 152.70 C 535.11 153.15 536.06 153.63 537.01 154.14 C 539.64 157.78 542.58 154.51 538.04 153.09 C 532.71 149.94 527.64 146.25 521.90 143.88 C 522.90 143.46 523.92 143.05 524.95 142.65 C 525.43 142.84 526.38 143.21 526.86 143.40 C 527.82 143.79 528.80 144.12 529.80 144.41 C 534.34 146.99 532.26 142.04 536.26 142.85 L 537.05 143.21 C 538.64 145.42 542.85 143.34 539.17 142.06 C 531.60 138.36 524.73 132.32 515.98 131.83 C 515.98 131.39 515.96 130.52 515.95 130.08 C 521.50 130.60 519.62 128.27 515.20 128.82 C 512.45 128.53 508.09 128.82 511.49 126.44 C 513.66 124.18 505.33 126.20 503.74 126.71 C 503.33 126.84 502.51 127.12 502.10 127.26 C 501.86 126.97 501.37 126.39 501.12 126.10 L 502.04 125.90 C 507.37 124.90 502.47 122.17 499.11 124.58 C 498.07 125.10 497.04 125.62 496.01 126.14 C 496.98 124.95 497.98 123.79 499.11 122.74 C 500.96 121.72 502.83 120.64 504.19 118.97 C 501.65 119.60 499.22 120.60 496.91 121.81 C 494.81 122.92 492.79 124.17 490.83 125.48 C 490.49 123.35 492.52 121.86 493.23 120.01 C 490.97 121.44 488.74 122.93 486.79 124.76 C 484.55 126.04 483.27 132.09 480.89 128.07 C 479.66 126.59 471.29 118.59 472.69 124.11 C 470.56 123.32 468.51 122.34 466.36 121.61 C 460.70 120.99 455.07 125.30 450.19 128.32 C 442.42 141.77 443.92 158.94 447.20 173.67 C 449.53 173.39 451.88 173.07 454.23 172.71 C 460.18 173.80 468.49 178.01 468.04 184.99 C 459.24 189.20 460.47 179.51 455.22 176.86 C 456.14 183.75 452.14 178.23 448.86 176.92 C 450.49 185.30 455.38 192.64 459.12 200.20 C 456.20 201.64 454.83 195.39 452.56 193.80 C 450.80 190.25 448.50 186.98 446.16 183.79 C 447.95 197.75 450.37 212.54 457.96 224.63 C 459.40 228.13 461.71 231.15 463.87 234.24 C 465.94 237.86 468.13 241.44 470.28 245.02 C 463.74 251.20 455.45 255.64 449.78 262.68 C 446.32 266.59 442.62 270.78 441.97 276.17 C 441.67 278.84 443.71 280.90 444.98 283.03 C 445.22 283.61 445.69 284.76 445.92 285.33 C 446.13 285.59 446.54 286.11 446.75 286.37 C 448.82 289.15 451.10 291.83 453.77 294.06 L 454.10 294.80 C 450.05 294.00 446.11 295.67 442.18 296.44 C 437.57 296.22 443.06 292.59 444.20 290.88 C 438.59 287.76 438.83 279.25 438.44 273.36 C 435.60 242.18 439.22 210.67 436.79 179.34 C 436.36 179.18 435.51 178.85 435.09 178.69 C 435.04 176.12 435.00 173.56 434.98 171.00 C 434.96 169.41 435.07 167.83 435.26 166.26 C 435.60 163.16 435.98 160.09 436.08 156.98 C 436.17 156.21 436.36 154.67 436.45 153.90 C 437.10 151.68 437.29 149.46 437.03 147.23 C 437.22 139.20 436.80 130.70 439.47 123.02 C 440.11 121.87 440.19 120.55 440.04 119.27 C 440.85 115.81 442.74 117.71 443.38 120.13 C 442.99 123.20 442.88 126.26 443.11 129.36 C 444.97 120.04 449.28 110.96 456.83 104.91 C 464.60 99.62 473.50 95.89 483.00 95.38 Z$#413f39@M 279.02 99.13 C 280.37 98.38 281.73 97.64 283.14 97.01 C 283.77 100.06 280.56 102.68 279.02 99.13 Z$#e3bbad@M 350.96 96.89 C 354.61 97.96 356.63 101.38 358.85 104.20 C 355.46 102.73 353.28 99.61 350.96 96.89 Z$#8a5e52@M 310.80 108.97 C 316.31 104.13 323.09 99.96 330.21 98.04 C 327.63 100.36 324.74 102.30 321.80 104.13 C 319.65 105.35 313.88 107.55 324.06 105.95 C 323.28 106.71 321.69 107.36 323.04 108.46 C 321.78 108.63 319.25 108.96 317.98 109.13 C 322.82 104.59 313.36 108.63 310.80 108.97 Z$#85807e@M 283.12 106.09 C 282.60 104.67 282.61 103.01 283.73 101.87 C 284.36 103.25 284.57 105.14 283.12 106.09 Z$#b5a39e@M 324.06 105.95 C 313.88 107.55 319.65 105.35 321.80 104.13 C 332.02 102.45 321.45 108.24 328.17 107.08 L 327.98 107.78 C 326.33 108.00 324.68 108.23 323.04 108.46 C 321.69 107.36 323.28 106.71 324.06 105.95 Z$#1e1d1b@M 249.02 148.19 C 260.67 135.58 264.14 117.11 276.05 104.82 C 275.93 112.83 267.53 118.65 269.02 127.11 C 273.05 127.57 273.48 121.05 277.68 122.02 C 277.33 125.44 279.27 126.25 282.25 125.66 C 283.08 128.38 280.52 133.99 282.95 135.80 L 283.67 135.94 C 284.01 136.10 284.69 136.41 285.03 136.56 C 281.06 139.48 278.82 144.27 279.00 149.19 C 277.79 154.33 280.36 158.81 282.35 163.28 C 278.62 160.87 277.37 164.85 276.20 167.81 C 274.23 171.58 272.10 175.28 269.90 178.93 C 266.70 183.94 263.13 188.70 260.00 193.75 C 256.80 192.55 255.27 196.82 253.24 198.58 C 241.48 214.59 218.22 226.20 218.06 248.21 C 221.12 244.16 223.65 239.73 227.04 235.93 C 227.46 236.17 228.31 236.65 228.73 236.88 C 232.24 240.82 231.19 247.28 235.93 250.40 C 238.26 252.07 240.31 252.05 242.08 250.36 C 244.18 248.28 246.26 246.18 248.22 243.97 C 248.46 244.27 248.95 244.85 249.19 245.14 C 244.70 255.52 237.93 264.67 232.87 274.70 C 237.79 275.51 242.95 276.41 247.12 279.36 C 241.95 277.30 238.97 280.94 235.78 284.85 C 232.65 288.07 229.75 291.51 227.02 295.07 C 222.60 300.33 218.24 305.70 215.05 311.83 C 213.04 315.39 214.61 319.85 214.11 323.70 C 213.68 341.08 215.71 359.00 222.22 375.23 C 222.40 375.70 222.75 376.64 222.92 377.12 C 222.96 378.40 222.99 379.70 223.02 380.99 C 221.41 381.05 219.81 381.15 218.21 381.26 C 215.38 381.07 212.53 381.19 209.83 380.31 C 210.17 376.30 210.24 371.67 207.17 368.62 C 211.59 366.15 203.52 358.09 201.29 364.31 C 199.53 371.72 198.74 379.82 193.59 386.15 C 193.29 387.17 193.14 388.24 193.15 389.34 C 183.18 395.20 171.99 398.67 161.80 404.13 C 161.56 404.32 161.06 404.69 160.81 404.88 C 160.21 407.24 159.90 409.76 159.20 412.14 C 157.13 412.67 155.09 413.33 153.01 413.86 C 149.71 414.22 146.60 415.45 143.74 417.11 C 145.50 419.82 148.90 419.99 151.80 420.19 C 153.99 421.68 156.51 422.24 159.14 421.88 C 159.59 425.04 159.96 428.31 161.13 431.32 C 160.13 432.67 159.08 433.99 157.97 435.25 C 157.23 436.04 156.52 436.86 155.80 437.68 C 153.48 441.89 144.05 445.61 145.78 450.31 C 149.12 452.48 152.17 447.29 155.77 447.25 C 156.82 447.43 157.89 447.59 158.96 447.73 C 160.51 449.43 158.04 452.07 156.80 449.05 C 152.27 450.74 151.72 458.55 149.98 463.12 C 153.93 462.91 154.33 457.83 156.44 455.32 C 158.00 458.01 160.49 455.49 162.64 455.05 C 163.05 456.92 163.25 458.94 164.70 460.36 C 162.35 453.36 168.57 448.46 169.04 441.92 C 174.24 434.26 181.76 428.77 188.82 422.95 C 189.60 423.98 190.40 425.02 191.18 426.07 C 188.92 429.75 183.45 434.73 184.06 437.98 C 181.87 439.52 179.95 441.42 178.65 443.77 C 176.80 446.19 174.92 448.60 173.48 451.30 L 172.66 451.00 C 172.72 450.20 172.82 448.60 172.87 447.80 C 163.51 466.43 155.96 486.10 146.96 504.96 C 125.95 515.06 104.44 526.09 88.31 543.30 C 76.71 566.04 81.12 592.51 87.04 616.13 C 63.22 578.71 64.62 527.40 89.72 490.70 C 105.95 465.29 126.23 442.72 142.00 417.00 C 167.64 377.48 183.63 332.88 199.89 288.96 C 212.57 255.92 218.22 220.37 228.14 186.78 C 229.32 186.09 229.18 184.57 229.24 183.40 C 230.94 178.02 232.15 172.51 233.94 167.17 C 241.98 161.48 243.36 149.50 248.22 141.07 C 252.70 140.75 249.23 145.80 249.02 148.19 Z$#d2a595@M 359.80 105.08 C 361.86 106.15 363.55 107.76 364.08 110.11 C 362.24 108.82 360.65 107.20 359.80 105.08 Z$#3e3d38@M 525.24 106.14 C 526.62 106.83 527.96 107.59 529.22 108.48 C 528.68 109.20 528.96 110.88 527.80 110.91 C 522.35 111.01 516.81 113.59 511.40 112.49 C 506.42 109.93 500.98 113.83 495.85 111.85 C 504.27 106.95 516.15 111.44 525.24 106.14 Z$#80736f@M 328.17 107.08 C 331.32 105.99 332.82 108.24 329.09 108.92 C 328.82 108.64 328.26 108.07 327.98 107.78 L 328.17 107.08 Z$#7b7775@M 282.15 118.24 C 281.99 115.06 282.34 111.89 282.85 108.75 C 282.97 111.94 282.60 115.09 282.15 118.24 Z$#1c1c19@M 558.68 110.81 C 559.72 110.08 561.14 109.88 561.63 111.35 C 569.05 122.70 575.48 134.62 581.03 146.99 C 592.97 165.18 594.74 187.46 604.16 206.74 C 603.75 210.92 609.62 213.95 606.52 217.84 C 610.69 225.78 611.34 234.84 613.48 243.44 C 611.31 249.10 621.20 249.17 618.31 254.25 C 611.70 246.80 603.89 240.51 597.64 232.72 C 595.61 230.98 594.18 226.20 590.89 227.83 C 586.33 220.05 580.59 212.98 576.76 204.78 C 575.26 201.45 573.67 198.06 570.95 195.55 C 572.96 192.45 573.09 188.68 572.99 185.09 C 574.05 179.10 569.01 174.64 566.74 170.68 C 567.96 171.31 569.61 172.65 569.25 170.25 C 570.30 163.53 570.06 156.72 569.91 149.95 C 570.99 147.27 570.74 144.91 569.19 142.88 C 569.10 142.45 568.91 141.58 568.82 141.15 C 569.37 139.71 569.47 137.94 568.17 136.86 L 567.82 136.14 C 568.38 134.72 568.41 133.05 567.34 131.85 C 565.32 124.52 562.61 117.34 558.68 110.81 Z$#9d9190@M 320.98 115.83 C 322.95 112.57 325.82 115.71 322.07 116.95 C 321.80 116.67 321.25 116.11 320.98 115.83 Z$#bd9b91@M 320.25 116.24 C 316.07 119.19 313.42 117.52 318.68 114.86 C 319.07 115.20 319.86 115.89 320.25 116.24 Z$#d3ae9f@M 367.08 114.82 C 369.64 116.48 370.46 119.32 370.87 122.19 C 369.14 119.99 368.03 117.42 367.08 114.82 Z$#9f9998@M 439.47 123.02 C 438.33 122.21 438.17 118.99 440.04 119.27 C 440.19 120.55 440.11 121.87 439.47 123.02 Z$#77564a@M 496.91 121.81 C 499.22 120.60 501.65 119.60 504.19 118.97 C 502.83 120.64 500.96 121.72 499.11 122.74 C 498.56 122.51 497.46 122.04 496.91 121.81 Z$#825e51@M 486.79 124.76 C 488.74 122.93 490.97 121.44 493.23 120.01 C 492.52 121.86 490.49 123.35 490.83 125.48 C 489.45 127.76 488.01 126.52 486.79 124.76 Z$#a16b5b@M 450.19 128.32 C 455.07 125.30 460.70 120.99 466.36 121.61 C 468.13 125.20 464.58 123.25 462.52 122.96 C 463.14 125.18 460.91 125.03 459.37 125.45 C 453.79 135.13 452.39 146.45 448.88 156.80 C 447.52 158.26 449.98 158.80 450.82 159.67 C 449.22 164.82 444.30 173.91 454.23 172.71 C 451.88 173.07 449.53 173.39 447.20 173.67 C 443.92 158.94 442.42 141.77 450.19 128.32 Z$#8f685e@M 318.16 124.20 C 314.49 125.98 313.11 123.62 317.02 122.07 C 317.52 122.62 319.30 123.35 318.16 124.20 Z$#392823@M 401.99 122.18 C 406.53 120.79 401.46 124.82 400.02 125.05 C 394.55 127.70 390.42 132.95 384.88 135.04 C 389.37 129.46 395.24 124.71 401.99 122.18 Z$#bb8976@M 466.36 121.61 C 468.51 122.34 470.56 123.32 472.69 124.11 C 471.29 118.59 479.66 126.59 480.89 128.07 C 483.27 132.09 484.55 126.04 486.79 124.76 C 488.01 126.52 489.45 127.76 490.83 125.48 C 492.79 124.17 494.81 122.92 496.91 121.81 C 497.46 122.04 498.56 122.51 499.11 122.74 C 497.98 123.79 496.98 124.95 496.01 126.14 C 495.02 127.09 494.00 128.00 493.03 128.95 C 491.64 130.24 490.42 131.69 489.18 133.11 C 480.59 141.25 475.22 152.72 473.07 164.22 C 470.91 172.92 466.75 182.67 471.41 191.23 C 470.66 200.80 469.70 210.52 467.54 219.93 C 466.80 227.80 476.07 227.82 481.12 224.59 C 476.80 221.84 470.50 225.91 467.54 219.93 C 472.92 221.35 478.81 219.36 483.81 222.37 C 484.03 226.60 477.45 227.70 474.98 230.60 C 472.32 229.78 469.62 229.06 466.81 229.17 C 468.84 232.00 471.69 234.14 473.64 237.07 C 474.60 238.65 476.33 239.09 478.07 239.25 C 471.84 243.35 477.99 250.08 480.01 254.99 C 474.62 254.63 472.68 248.92 470.28 245.02 C 468.13 241.44 465.94 237.86 463.87 234.24 C 463.67 226.86 459.77 220.29 458.81 213.07 C 461.95 215.61 464.92 209.91 464.26 207.10 L 464.29 206.34 C 466.84 203.58 465.82 199.44 466.03 195.99 C 463.72 196.92 461.57 198.22 459.71 199.86 L 459.12 200.20 C 455.38 192.64 450.49 185.30 448.86 176.92 C 452.14 178.23 456.14 183.75 455.22 176.86 C 460.47 179.51 459.24 189.20 468.04 184.99 C 468.49 178.01 460.18 173.80 454.23 172.71 C 444.30 173.91 449.22 164.82 450.82 159.67 C 456.47 163.18 461.64 167.40 467.36 170.81 C 463.32 164.00 455.45 160.64 448.88 156.80 C 452.39 146.45 453.79 135.13 459.37 125.45 C 460.91 125.03 463.14 125.18 462.52 122.96 C 464.58 123.25 468.13 125.20 466.36 121.61 Z$#9a8880@M 499.11 124.58 C 502.47 122.17 507.37 124.90 502.04 125.90 C 501.06 125.45 500.08 125.01 499.11 124.58 Z$#d1a798@M 372.83 125.03 C 374.50 126.71 376.06 128.61 376.14 131.10 C 373.90 129.86 373.26 127.36 372.83 125.03 Z$#b1aaaa@M 430.97 125.00 C 432.39 126.56 433.41 136.09 431.03 138.02 C 430.99 133.68 431.00 129.33 430.97 125.00 Z$#8e8a88@M 434.02 124.98 C 435.24 127.36 436.45 138.71 434.03 141.00 C 433.93 135.66 434.01 130.32 434.02 124.98 Z$#f9e4de@M 496.01 126.14 C 497.04 125.62 498.07 125.10 499.11 124.58 C 500.08 125.01 501.06 125.45 502.04 125.90 L 501.12 126.10 C 497.59 126.33 500.10 129.68 502.10 127.26 C 502.51 127.12 503.33 126.84 503.74 126.71 C 505.62 126.86 508.51 126.32 507.48 129.10 C 510.05 129.02 512.62 128.93 515.20 128.82 C 519.62 128.27 521.50 130.60 515.95 130.08 C 512.19 128.35 512.29 133.72 515.98 131.83 C 524.73 132.32 531.60 138.36 539.17 142.06 C 538.64 142.35 537.58 142.92 537.05 143.21 L 536.26 142.85 C 535.27 142.37 534.25 141.98 533.21 141.67 C 527.19 141.14 526.34 139.49 526.86 143.40 C 526.38 143.21 525.43 142.84 524.95 142.65 C 520.38 139.03 517.15 143.07 521.90 143.88 C 527.64 146.25 532.71 149.94 538.04 153.09 C 537.78 153.35 537.27 153.87 537.01 154.14 C 536.06 153.63 535.11 153.15 534.16 152.70 C 532.09 151.71 530.04 150.70 527.89 149.91 C 528.99 151.41 530.22 152.81 531.56 154.09 C 533.05 155.59 534.63 157.02 536.28 158.35 C 534.32 158.77 532.62 157.55 530.84 156.98 C 531.92 158.40 533.17 159.70 534.64 160.73 C 534.98 161.01 535.66 161.58 536.00 161.87 C 535.49 162.78 533.47 163.54 534.53 164.71 C 536.57 169.45 540.45 173.18 542.20 178.05 C 540.32 177.20 538.60 176.08 536.96 174.85 C 535.37 172.35 532.67 175.15 535.76 176.12 C 536.46 176.71 537.18 177.30 537.89 177.89 C 537.51 179.02 536.84 180.26 537.79 181.34 C 544.19 189.53 541.66 200.13 541.83 209.78 C 537.23 228.25 522.59 241.65 505.96 249.76 C 501.04 252.38 495.70 254.16 490.23 255.20 C 486.78 255.15 483.42 255.24 480.01 254.99 C 477.99 250.08 471.84 243.35 478.07 239.25 C 483.71 239.20 489.38 238.09 494.29 235.24 C 495.04 235.12 496.53 234.89 497.28 234.77 C 505.41 232.45 491.03 233.17 488.78 233.12 C 484.26 231.84 479.61 231.25 474.98 230.60 C 477.45 227.70 484.03 226.60 483.81 222.37 C 478.81 219.36 472.92 221.35 467.54 219.93 C 469.70 210.52 470.66 200.80 471.41 191.23 C 466.75 182.67 470.91 172.92 473.07 164.22 C 475.54 160.42 475.95 155.58 479.05 152.15 C 484.90 145.28 489.23 137.12 493.03 128.95 C 494.00 128.00 495.02 127.09 496.01 126.14 M 498.80 174.47 C 491.96 175.86 500.31 178.25 501.95 175.02 C 508.15 173.92 514.42 172.96 520.74 172.75 C 523.56 172.81 529.19 172.94 532.00 173.00 C 532.84 169.11 526.36 171.41 524.27 171.23 C 515.82 171.11 506.77 171.21 498.80 174.47 M 501.98 184.00 C 501.75 184.25 501.28 184.75 501.05 184.99 L 500.17 185.05 C 496.31 183.03 492.47 188.75 497.85 189.05 C 499.12 189.93 500.56 190.55 501.29 188.67 C 502.28 189.85 504.66 189.89 505.67 188.69 C 506.02 189.36 506.72 190.69 507.07 191.36 C 502.35 192.48 509.65 195.36 511.68 194.70 C 514.52 194.24 521.56 194.39 520.60 191.26 C 522.11 190.80 523.95 189.49 523.95 187.76 C 531.22 186.89 520.67 184.20 517.74 185.16 L 516.91 185.03 C 516.46 184.76 515.56 184.24 515.11 183.97 C 512.17 180.08 504.50 182.65 501.98 184.00 Z$#f9e4de@M 258.98 380.09 C 268.38 379.79 277.80 380.12 287.21 379.79 C 290.45 384.09 291.07 389.66 292.43 394.73 C 292.08 396.31 291.39 399.48 291.05 401.06 C 282.67 401.23 276.16 406.83 268.86 410.14 C 266.31 403.58 267.42 396.01 264.13 389.75 C 260.76 387.67 256.77 385.14 258.98 380.09 Z$#b2acac@M 282.25 125.66 C 283.33 128.94 283.05 132.40 282.95 135.80 C 280.52 133.99 283.08 128.38 282.25 125.66 Z$#867670@M 502.10 127.26 C 500.10 129.68 497.59 126.33 501.12 126.10 C 501.37 126.39 501.86 126.97 502.10 127.26 Z$#938480@M 503.74 126.71 C 505.33 126.20 513.66 124.18 511.49 126.44 C 508.09 128.82 512.45 128.53 515.20 128.82 C 512.62 128.93 510.05 129.02 507.48 129.10 C 508.51 126.32 505.62 126.86 503.74 126.71 Z$#a79b98@M 312.65 130.79 C 313.44 129.28 314.51 127.95 315.73 126.77 C 316.37 127.76 318.93 128.58 317.45 129.88 C 315.82 128.65 314.21 130.28 312.65 130.79 Z$#a79b98@M 354.15 139.29 C 358.66 140.27 353.18 143.95 352.21 140.17 C 352.69 139.95 353.67 139.51 354.15 139.29 Z$#e8cac0@M 489.18 133.11 C 490.42 131.69 491.64 130.24 493.03 128.95 C 489.23 137.12 484.90 145.28 479.05 152.15 C 480.86 145.00 485.84 139.50 489.18 133.11 Z$#928481@M 515.98 131.83 C 512.29 133.72 512.19 128.35 515.95 130.08 C 515.96 130.52 515.98 131.39 515.98 131.83 Z$#d3ad9e@M 376.14 131.10 C 377.71 132.23 378.46 134.08 377.95 135.98 C 376.29 134.91 375.49 133.01 376.14 131.10 Z$#999290@M 567.34 131.85 C 568.41 133.05 568.38 134.72 567.82 136.14 C 566.45 135.08 566.62 133.24 567.34 131.85 Z$#cfa291@M 473.07 164.22 C 475.22 152.72 480.59 141.25 489.18 133.11 C 485.84 139.50 480.86 145.00 479.05 152.15 C 475.95 155.58 475.54 160.42 473.07 164.22 Z$#8d8685@M 283.67 135.94 C 286.28 134.86 289.04 134.21 291.82 133.75 C 291.29 134.45 290.72 135.13 290.14 135.79 C 288.43 136.05 286.73 136.30 285.03 136.56 C 284.69 136.41 284.01 136.10 283.67 135.94 Z$#8d6155@M 307.80 145.03 C 309.29 141.37 311.60 138.11 313.88 134.91 C 313.64 136.72 313.36 138.57 313.79 140.38 C 311.94 142.11 309.94 143.68 307.80 145.03 Z$#c2b8b7@M 327.96 136.02 C 328.27 134.66 338.65 133.43 339.00 135.96 C 335.30 135.99 331.65 136.01 327.96 136.02 Z$#ecddd8@M 285.03 136.56 C 286.73 136.30 288.43 136.05 290.14 135.79 C 288.01 138.78 286.31 142.17 282.91 143.93 C 282.59 144.24 281.96 144.87 281.65 145.18 C 280.63 146.42 279.85 147.83 279.00 149.19 C 278.82 144.27 281.06 139.48 285.03 136.56 Z$#a56859@M 290.14 135.79 C 296.15 142.95 299.14 153.06 299.66 162.08 C 291.98 158.06 293.45 142.47 282.91 143.93 C 286.31 142.17 288.01 138.78 290.14 135.79 Z$#a56859@M 350.31 1321.24 C 351.76 1321.04 353.21 1320.88 354.66 1320.69 L 354.54 1321.63 C 353.70 1326.62 353.43 1331.68 352.74 1336.72 C 343.71 1340.51 333.39 1336.46 323.88 1337.01 C 323.46 1335.94 323.00 1334.77 324.54 1334.49 C 333.02 1329.88 342.08 1326.25 350.31 1321.24 Z$#9a8c89@M 320.03 136.96 C 320.89 134.81 325.58 136.43 327.96 136.02 L 328.02 136.97 C 325.35 137.08 322.68 137.09 320.03 136.96 Z$#463e3c@M 327.96 136.02 C 331.65 136.01 335.30 135.99 339.00 135.96 C 344.22 135.87 349.31 137.47 354.15 139.29 C 353.67 139.51 352.69 139.95 352.21 140.17 C 349.43 139.76 346.71 139.05 343.97 138.48 C 342.38 137.99 340.74 137.78 339.11 137.67 C 336.82 136.94 334.52 136.71 332.22 136.97 C 330.81 137.07 329.41 137.07 328.02 136.97 L 327.96 136.02 Z$#988d8a@M 332.22 136.97 C 334.52 136.71 336.82 136.94 339.11 137.67 C 337.21 138.43 332.98 139.32 332.22 136.97 Z$#908989@M 568.17 136.86 C 569.47 137.94 569.37 139.71 568.82 141.15 C 567.56 140.05 567.60 138.30 568.17 136.86 Z$#b7aaa8@M 339.11 137.67 C 340.74 137.78 342.38 137.99 343.97 138.48 C 342.73 139.60 339.19 139.84 339.11 137.67 Z$#a4928c@M 526.86 143.40 C 526.34 139.49 527.19 141.14 533.21 141.67 C 527.36 140.59 534.04 144.60 529.80 144.41 C 528.80 144.12 527.82 143.79 526.86 143.40 Z$#9c908f@M 314.20 146.11 C 310.78 145.00 313.32 143.18 315.00 141.74 C 315.86 143.32 315.32 144.83 314.20 146.11 Z$#ac9a95@M 521.90 143.88 C 517.15 143.07 520.38 139.03 524.95 142.65 C 523.92 143.05 522.90 143.46 521.90 143.88 Z$#594d48@M 529.80 144.41 C 534.04 144.60 527.36 140.59 533.21 141.67 C 534.25 141.98 535.27 142.37 536.26 142.85 C 532.26 142.04 534.34 146.99 529.80 144.41 Z$#7e706b@M 539.17 142.06 C 542.85 143.34 538.64 145.42 537.05 143.21 C 537.58 142.92 538.64 142.35 539.17 142.06 Z$#67615f@M 569.19 142.88 C 570.74 144.91 570.99 147.27 569.91 149.95 L 569.11 149.92 C 569.13 148.16 569.17 144.64 569.19 142.88 Z$#4c332c@M 281.65 145.18 C 281.96 144.87 282.59 144.24 282.91 143.93 C 293.45 142.47 291.98 158.06 299.66 162.08 C 298.62 163.13 298.57 164.16 299.79 165.13 C 291.94 162.80 295.69 171.22 299.08 174.19 C 297.53 173.93 294.44 173.40 292.89 173.14 C 289.52 165.89 281.61 159.51 284.56 150.60 C 284.95 147.72 288.23 149.98 290.07 149.87 C 289.03 145.97 285.23 144.97 281.65 145.18 M 286.05 151.02 C 285.63 156.09 285.14 161.31 289.97 156.05 C 297.69 161.87 291.45 148.59 286.05 151.02 M 289.25 158.12 C 285.39 160.79 289.52 167.83 293.66 166.89 C 293.15 163.44 301.34 162.11 294.03 159.97 C 292.83 159.51 290.44 158.58 289.25 158.12 Z$#a16657@M 279.00 149.19 C 279.85 147.83 280.63 146.42 281.65 145.18 C 285.23 144.97 289.03 145.97 290.07 149.87 C 288.23 149.98 284.95 147.72 284.56 150.60 C 281.61 159.51 289.52 165.89 292.89 173.14 C 294.44 173.40 297.53 173.93 299.08 174.19 C 299.86 175.17 300.63 176.17 301.32 177.22 C 298.92 177.53 295.93 176.44 294.60 179.15 C 289.64 174.68 286.37 168.59 282.35 163.28 C 280.36 158.81 277.79 154.33 279.00 149.19 Z$#f9e5df@M 337.34 146.41 C 338.25 146.20 341.58 144.97 340.88 146.83 C 338.87 146.59 339.19 147.78 339.90 149.10 L 339.08 149.16 C 337.36 148.64 335.40 148.50 333.90 149.67 C 332.90 150.14 331.91 150.62 330.92 151.10 C 328.84 150.11 325.54 151.37 328.60 153.18 C 331.11 157.92 343.33 163.58 344.99 155.98 C 345.17 155.74 345.53 155.28 345.71 155.05 C 348.45 158.36 355.33 154.51 355.41 159.67 C 358.84 167.80 351.47 174.75 344.84 177.89 C 334.62 183.02 318.02 175.31 321.27 162.30 C 321.03 157.20 327.28 154.74 324.17 149.21 C 328.31 147.24 333.37 149.06 337.34 146.41 Z$#d5beb6@M 339.90 149.10 C 339.19 147.78 338.87 146.59 340.88 146.83 C 343.23 147.07 349.29 146.07 349.72 149.19 C 346.42 149.09 343.18 149.01 339.90 149.10 Z$#615b56@M 436.45 153.90 C 435.50 152.14 434.73 147.93 437.03 147.23 C 437.29 149.46 437.10 151.68 436.45 153.90 Z$#7f6e68@M 333.90 149.67 C 335.40 148.50 337.36 148.64 339.08 149.16 C 337.71 150.64 335.59 150.36 333.90 149.67 Z$#292727@M 339.08 149.16 L 339.90 149.10 C 343.18 149.01 346.42 149.09 349.72 149.19 C 351.88 150.17 354.48 150.95 355.95 152.86 C 352.73 155.88 347.80 150.75 345.71 155.05 C 345.53 155.28 345.17 155.74 344.99 155.98 C 339.47 158.80 333.58 155.72 328.60 153.18 C 329.39 152.51 330.17 151.82 330.92 151.10 C 331.91 150.62 332.90 150.14 333.90 149.67 C 335.59 150.36 337.71 150.64 339.08 149.16 Z$#685d5a@M 527.89 149.91 C 530.04 150.70 532.09 151.71 534.16 152.70 C 533.51 153.05 532.21 153.74 531.56 154.09 C 530.22 152.81 528.99 151.41 527.89 149.91 Z$#aea8a7@M 569.11 149.92 L 569.91 149.95 C 570.06 156.72 570.30 163.53 569.25 170.25 C 568.87 163.48 569.00 156.69 569.11 149.92 Z$#aea8a7@M 611.25 653.77 C 612.28 660.54 612.28 667.45 611.26 674.24 C 610.81 667.43 611.03 660.58 611.25 653.77 Z$#c0bab9@M 236.30 155.12 C 235.36 154.15 235.18 151.06 237.01 151.17 C 237.17 152.53 237.00 153.92 236.30 155.12 Z$#a46758@M 286.05 151.02 C 291.45 148.59 297.69 161.87 289.97 156.05 C 285.14 161.31 285.63 156.09 286.05 151.02 Z$#9b827f@M 328.60 153.18 C 325.54 151.37 328.84 150.11 330.92 151.10 C 330.17 151.82 329.39 152.51 328.60 153.18 Z$#ad9b97@M 328.60 153.18 C 333.58 155.72 339.47 158.80 344.99 155.98 C 343.33 163.58 331.11 157.92 328.60 153.18 Z$#776963@M 538.04 153.09 C 542.58 154.51 539.64 157.78 537.01 154.14 C 537.27 153.87 537.78 153.35 538.04 153.09 Z$#635a57@M 309.65 170.29 C 308.76 164.82 308.49 159.18 309.78 153.75 C 310.15 159.26 309.83 164.77 309.65 170.29 Z$#c79a8b@M 380.64 165.29 C 379.93 161.46 379.96 157.55 380.84 153.76 C 381.01 157.61 380.80 161.44 380.64 165.29 Z$#dbd7d7@M 235.41 158.96 C 234.25 158.00 234.39 154.88 236.30 155.12 C 236.24 156.44 236.00 157.76 235.41 158.96 Z$#8f8a88@M 435.26 166.26 C 436.00 163.79 433.38 157.91 436.08 156.98 C 435.98 160.09 435.60 163.16 435.26 166.26 Z$#42312b@M 450.82 159.67 C 449.98 158.80 447.52 158.26 448.88 156.80 C 455.45 160.64 463.32 164.00 467.36 170.81 C 461.64 167.40 456.47 163.18 450.82 159.67 Z$#a59590@M 530.84 156.98 C 532.62 157.55 534.32 158.77 536.28 158.35 C 537.77 159.31 539.04 160.55 540.19 161.90 C 538.34 161.48 536.52 160.96 534.64 160.73 C 533.17 159.70 531.92 158.40 530.84 156.98 Z$#a36658@M 289.25 158.12 C 290.44 158.58 292.83 159.51 294.03 159.97 C 301.34 162.11 293.15 163.44 293.66 166.89 C 289.52 167.83 285.39 160.79 289.25 158.12 Z$#e5e3e2@M 229.24 183.40 C 229.88 175.71 232.16 165.06 235.41 158.96 C 234.93 161.70 234.43 164.43 233.94 167.17 C 232.15 172.51 230.94 178.02 229.24 183.40 Z$#36312d@M 276.20 167.81 C 277.37 164.85 278.62 160.87 282.35 163.28 C 286.37 168.59 289.64 174.68 294.60 179.15 C 293.55 181.89 290.57 185.37 292.86 188.13 C 294.15 189.45 295.62 190.57 297.04 191.76 C 290.26 193.44 297.71 202.80 301.19 197.40 C 302.99 195.66 301.99 192.66 299.86 191.68 C 301.02 190.24 302.39 188.93 303.21 187.24 C 304.67 184.84 303.69 182.22 302.44 180.00 C 302.60 179.45 302.93 178.34 303.09 177.79 C 304.50 181.44 306.56 185.38 306.19 178.89 C 306.81 179.80 307.35 180.76 307.81 181.76 C 304.42 186.41 304.48 192.37 303.59 197.81 C 303.23 198.12 302.51 198.73 302.16 199.03 C 301.79 199.35 301.06 199.98 300.70 200.29 C 297.94 199.87 295.20 199.52 292.70 198.27 C 292.87 195.51 292.96 192.77 292.95 190.02 C 289.48 189.51 292.47 196.16 292.70 198.27 C 292.88 198.93 293.23 200.26 293.41 200.92 C 291.29 203.09 291.11 197.79 289.88 196.56 C 290.06 192.32 289.31 188.16 288.99 183.96 C 289.18 180.91 290.03 177.79 288.88 174.85 C 286.09 176.38 287.77 180.04 286.25 182.37 C 286.69 176.01 286.35 168.94 280.99 164.68 C 278.10 168.55 277.52 173.80 275.63 178.21 C 275.00 174.75 276.03 171.26 276.20 167.81 Z$#a89994@M 536.00 161.87 C 539.81 164.98 539.02 166.68 534.53 164.71 C 533.47 163.54 535.49 162.78 536.00 161.87 Z$#46423d@M 275.63 178.21 C 277.52 173.80 278.10 168.55 280.99 164.68 C 286.35 168.94 286.69 176.01 286.25 182.37 C 287.77 180.04 286.09 176.38 288.88 174.85 C 290.03 177.79 289.18 180.91 288.99 183.96 C 285.33 181.79 286.60 189.08 285.77 191.25 C 285.54 190.63 285.07 189.40 284.84 188.78 C 284.85 188.13 284.88 186.83 284.90 186.18 C 285.63 183.10 285.32 178.13 281.30 178.04 C 280.75 180.35 280.26 182.68 279.77 185.01 C 279.35 186.72 279.03 188.46 278.75 190.21 C 278.48 189.59 277.94 188.35 277.67 187.73 C 277.74 187.27 277.87 186.34 277.93 185.88 C 278.82 182.04 282.60 174.72 275.63 178.21 Z$#9b6254@M 299.08 174.19 C 295.69 171.22 291.94 162.80 299.79 165.13 C 299.08 167.34 303.16 173.76 299.08 174.19 Z$#4b4743@M 276.20 167.81 C 276.03 171.26 275.00 174.75 275.63 178.21 C 274.44 182.96 272.24 187.37 270.94 192.09 C 263.53 209.69 257.47 227.92 249.19 245.14 C 248.95 244.85 248.46 244.27 248.22 243.97 C 251.30 236.70 254.16 229.33 257.21 222.04 C 260.62 214.46 263.52 206.66 266.43 198.87 C 268.82 191.94 272.00 185.31 274.08 178.28 C 272.68 178.47 271.29 178.71 269.90 178.93 C 272.10 175.28 274.23 171.58 276.20 167.81 Z$#eedbd5@M 564.21 170.10 C 565.11 170.06 565.95 170.25 566.74 170.68 C 569.01 174.64 574.05 179.10 572.99 185.09 L 572.22 184.50 C 571.41 180.56 566.58 177.15 563.41 180.82 C 561.98 182.90 560.61 185.03 559.14 187.07 C 557.09 187.78 552.74 195.82 552.65 190.83 C 555.75 183.74 556.78 173.84 564.21 170.10 Z$#7b7471@M 434.14 178.99 C 434.42 176.60 432.77 171.90 434.98 171.00 C 435.00 173.56 435.04 176.12 435.09 178.69 L 434.14 178.99 Z$#524946@M 498.80 174.47 C 506.77 171.21 515.82 171.11 524.27 171.23 C 523.08 171.72 521.92 172.25 520.74 172.75 C 514.42 172.96 508.15 173.92 501.95 175.02 C 500.89 174.84 499.84 174.66 498.80 174.47 Z$#b5a49f@M 524.27 171.23 C 526.36 171.41 532.84 169.11 532.00 173.00 C 529.19 172.94 523.56 172.81 520.74 172.75 C 521.92 172.25 523.08 171.72 524.27 171.23 Z$#968783@M 501.95 175.02 C 500.31 178.25 491.96 175.86 498.80 174.47 C 499.84 174.66 500.89 174.84 501.95 175.02 Z$#907f79@M 535.76 176.12 C 532.67 175.15 535.37 172.35 536.96 174.85 C 536.66 175.16 536.06 175.80 535.76 176.12 Z$#955f51@M 303.09 177.79 C 302.25 172.85 304.79 176.94 306.19 178.89 C 306.56 185.38 304.50 181.44 303.09 177.79 Z$#716868@M 275.63 178.21 C 282.60 174.72 278.82 182.04 277.93 185.88 C 275.63 187.98 273.31 190.07 270.94 192.09 C 272.24 187.37 274.44 182.96 275.63 178.21 Z$#6f605a@M 294.60 179.15 C 295.93 176.44 298.92 177.53 301.32 177.22 C 301.79 178.10 302.17 179.03 302.44 180.00 C 293.47 174.37 295.25 191.12 303.21 187.24 C 302.39 188.93 301.02 190.24 299.86 191.68 C 299.15 191.70 297.74 191.74 297.04 191.76 C 295.62 190.57 294.15 189.45 292.86 188.13 C 297.61 188.43 292.56 183.39 292.86 188.13 C 290.57 185.37 293.55 181.89 294.60 179.15 Z$#5a423a@M 309.31 185.12 C 309.50 182.34 308.39 178.90 310.72 176.74 C 311.87 180.13 313.34 183.43 314.01 186.97 C 312.74 185.99 310.47 182.20 310.92 186.02 C 311.10 189.76 309.98 186.81 309.31 185.12 Z$#746a6b@M 269.90 178.93 C 271.29 178.71 272.68 178.47 274.08 178.28 C 272.00 185.31 268.82 191.94 266.43 198.87 C 256.61 206.39 248.15 218.74 239.08 228.25 C 237.17 229.40 235.14 230.33 233.08 231.17 C 242.71 219.20 251.80 206.75 260.00 193.75 C 263.13 188.70 266.70 183.94 269.90 178.93 Z$#736969@M 281.30 178.04 C 285.32 178.13 285.63 183.10 284.90 186.18 C 283.16 185.89 281.45 185.52 279.77 185.01 C 280.26 182.68 280.75 180.35 281.30 178.04 Z$#7a6b67@M 537.89 177.89 C 540.43 179.57 542.37 181.63 537.79 181.34 C 536.84 180.26 537.51 179.02 537.89 177.89 Z$#ebe8e7@M 303.21 187.24 C 295.25 191.12 293.47 174.37 302.44 180.00 C 303.69 182.22 304.67 184.84 303.21 187.24 Z$#25221f@M 434.14 178.99 L 435.09 178.69 C 435.51 178.85 436.36 179.18 436.79 179.34 C 439.22 210.67 435.60 242.18 438.44 273.36 C 438.83 279.25 438.59 287.76 444.20 290.88 C 443.06 292.59 437.57 296.22 442.18 296.44 C 438.22 296.93 431.82 301.41 431.07 295.45 C 431.22 293.79 431.53 290.45 431.69 288.79 C 431.71 288.39 431.75 287.60 431.77 287.21 C 431.61 281.83 432.85 276.03 431.16 270.87 C 430.82 270.43 430.13 269.53 429.78 269.08 L 430.88 268.91 C 433.52 265.07 431.38 257.29 432.01 252.00 C 431.77 227.62 433.43 203.32 434.14 178.99 Z$#85574c@M 563.41 180.82 C 566.58 177.15 571.41 180.56 572.22 184.50 C 570.85 187.03 569.62 189.65 568.34 192.23 C 568.14 189.18 567.73 182.85 563.19 184.57 C 563.23 183.31 563.34 182.07 563.41 180.82 Z$#47322b@M 563.41 180.82 C 563.34 182.07 563.23 183.31 563.19 184.57 C 567.73 182.85 568.14 189.18 568.34 192.23 C 566.83 195.36 565.44 198.61 563.21 201.32 C 564.14 196.21 566.35 191.22 565.98 185.94 C 561.50 185.45 560.15 190.94 556.78 192.98 C 557.56 191.01 558.34 189.04 559.14 187.07 C 560.61 185.03 561.98 182.90 563.41 180.82 Z$#a06658@M 303.59 197.81 C 304.48 192.37 304.42 186.41 307.81 181.76 C 308.33 182.87 308.83 183.99 309.31 185.12 C 309.98 186.81 311.10 189.76 310.92 186.02 C 310.47 182.20 312.74 185.99 314.01 186.97 C 318.54 202.43 336.94 206.16 342.79 220.67 C 342.33 220.98 341.41 221.60 340.95 221.91 C 337.04 219.66 333.01 217.66 329.14 215.37 C 326.77 210.39 317.26 207.47 311.91 203.90 C 308.80 202.38 305.93 200.36 303.59 197.81 Z$#cfab9f@M 501.98 184.00 C 504.50 182.65 512.17 180.08 515.11 183.97 C 510.71 183.97 506.35 184.00 501.98 184.00 Z$#ccc8c8@M 228.14 186.78 C 227.15 185.87 227.53 182.91 229.24 183.40 C 229.18 184.57 229.32 186.09 228.14 186.78 Z$#978e8e@M 285.77 191.25 C 286.60 189.08 285.33 181.79 288.99 183.96 C 289.31 188.16 290.06 192.32 289.88 196.56 C 286.09 206.91 284.96 218.05 281.20 228.40 C 280.87 224.18 280.96 219.94 281.48 215.75 C 281.24 218.65 285.30 222.99 283.33 214.19 C 283.80 206.51 285.28 198.93 285.77 191.25 Z$#935e50@M 446.16 183.79 C 448.50 186.98 450.80 190.25 452.56 193.80 C 456.17 203.64 456.33 214.36 457.96 224.63 C 450.37 212.54 447.95 197.75 446.16 183.79 Z$#8b6659@M 501.05 184.99 C 501.28 184.75 501.75 184.25 501.98 184.00 C 506.35 184.00 510.71 183.97 515.11 183.97 C 515.56 184.24 516.46 184.76 516.91 185.03 C 511.61 184.99 506.34 184.98 501.05 184.99 Z$#9a9090@M 279.77 185.01 C 281.45 185.52 283.16 185.89 284.90 186.18 C 284.88 186.83 284.85 188.13 284.84 188.78 C 284.30 192.80 283.54 196.79 282.83 200.79 C 279.59 203.06 277.92 206.54 277.28 210.34 C 272.50 232.51 267.46 254.62 262.07 276.65 C 263.45 277.01 264.86 277.28 266.24 277.69 C 261.37 276.52 258.27 282.06 253.78 281.26 C 257.37 260.95 264.35 241.26 266.97 220.76 C 258.12 239.27 251.39 259.35 247.12 279.36 C 242.95 276.41 237.79 275.51 232.87 274.70 C 237.93 264.67 244.70 255.52 249.19 245.14 C 257.47 227.92 263.53 209.69 270.94 192.09 C 273.31 190.07 275.63 187.98 277.93 185.88 C 277.87 186.34 277.74 187.27 277.67 187.73 C 276.02 197.24 273.16 206.52 271.97 216.12 C 275.83 208.55 276.77 198.84 278.75 190.21 C 279.03 188.46 279.35 186.72 279.77 185.01 Z$#9a9090@M 406.38 238.32 C 405.11 235.82 402.23 231.32 407.00 233.92 C 407.27 234.89 407.55 235.86 407.86 236.83 C 407.69 237.18 407.35 237.86 407.18 238.20 L 406.38 238.32 Z$#d6bab1@M 394.29 186.32 C 394.75 185.31 395.44 185.15 396.37 185.84 C 392.00 194.21 386.58 201.95 381.73 210.04 C 380.63 211.82 379.60 213.68 378.10 215.17 C 382.17 204.87 388.31 195.58 394.29 186.32 Z$#b08677@M 497.85 189.05 C 492.47 188.75 496.31 183.03 500.17 185.05 C 498.71 186.07 496.36 186.98 497.85 189.05 Z$#1d1b19@M 500.17 185.05 L 501.05 184.99 C 506.34 184.98 511.61 184.99 516.91 185.03 L 517.74 185.16 C 519.88 185.84 521.99 186.63 523.95 187.76 C 522.04 188.06 520.64 189.49 520.01 191.26 C 518.99 189.46 517.01 188.08 515.90 190.73 L 515.42 191.16 C 514.40 186.52 510.52 190.30 509.03 192.40 C 508.54 192.14 507.56 191.62 507.07 191.36 C 506.72 190.69 506.02 189.36 505.67 188.69 C 504.58 188.68 502.39 188.67 501.29 188.67 C 500.56 190.55 499.12 189.93 497.85 189.05 C 496.36 186.98 498.71 186.07 500.17 185.05 Z$#99786e@M 517.74 185.16 C 520.67 184.20 531.22 186.89 523.95 187.76 C 521.99 186.63 519.88 185.84 517.74 185.16 Z$#b78672@M 568.34 192.23 C 569.62 189.65 570.85 187.03 572.22 184.50 L 572.99 185.09 C 573.09 188.68 572.96 192.45 570.95 195.55 C 567.91 202.55 562.11 207.72 558.99 214.66 C 556.80 213.50 554.33 213.44 551.91 213.77 C 548.58 214.85 551.06 211.30 552.37 210.41 C 557.24 211.74 559.85 207.94 561.46 204.32 C 562.05 203.33 562.64 202.33 563.21 201.32 C 565.44 198.61 566.83 195.36 568.34 192.23 Z$#bdb3b3@M 292.86 188.13 C 297.61 188.43 292.56 183.39 292.86 188.13 Z$#804f44@M 556.78 192.98 C 560.15 190.94 561.50 185.45 565.98 185.94 C 566.35 191.22 564.14 196.21 563.21 201.32 C 562.64 202.33 562.05 203.33 561.46 204.32 C 558.72 202.75 556.98 200.10 554.94 197.79 C 556.02 195.95 560.82 194.22 556.78 192.98 Z$#553f39@M 314.01 186.97 C 321.68 197.61 331.36 206.59 343.03 212.81 C 342.52 212.87 341.51 213.00 341.00 213.07 C 345.10 217.13 349.22 221.47 351.02 227.09 C 347.59 225.51 344.24 223.74 340.95 221.91 C 341.41 221.60 342.33 220.98 342.79 220.67 C 336.94 206.16 318.54 202.43 314.01 186.97 Z$#b58876@M 552.65 190.83 C 552.74 195.82 557.09 187.78 559.14 187.07 C 558.34 189.04 557.56 191.01 556.78 192.98 C 555.29 194.80 554.07 196.89 552.14 198.30 C 552.17 195.80 552.34 193.31 552.65 190.83 Z$#635b59@M 271.97 216.12 C 273.16 206.52 276.02 197.24 277.67 187.73 C 277.94 188.35 278.48 189.59 278.75 190.21 C 276.77 198.84 275.83 208.55 271.97 216.12 Z$#7e7674@M 501.29 188.67 C 502.39 188.67 504.58 188.68 505.67 188.69 C 504.66 189.89 502.28 189.85 501.29 188.67 Z$#7c5d54@M 520.01 191.26 C 520.64 189.49 522.04 188.06 523.95 187.76 C 523.95 189.49 522.11 190.80 520.60 191.26 L 520.01 191.26 Z$#635c59@M 282.83 200.79 C 283.54 196.79 284.30 192.80 284.84 188.78 C 285.07 189.40 285.54 190.63 285.77 191.25 C 285.28 198.93 283.80 206.51 283.33 214.19 C 285.30 222.99 281.24 218.65 281.48 215.75 C 281.96 210.77 282.46 205.78 282.83 200.79 Z$#3d3c4f@M 509.03 192.40 C 510.52 190.30 514.40 186.52 515.42 191.16 C 513.93 193.29 511.36 193.11 509.03 192.40 Z$#6b615e@M 515.90 190.73 C 517.01 188.08 518.99 189.46 520.01 191.26 C 518.69 192.29 516.95 191.98 515.90 190.73 Z$#887f80@M 292.70 198.27 C 292.47 196.16 289.48 189.51 292.95 190.02 C 292.96 192.77 292.87 195.51 292.70 198.27 Z$#bdada9@M 507.07 191.36 C 507.56 191.62 508.54 192.14 509.03 192.40 C 511.36 193.11 513.93 193.29 515.42 191.16 L 515.90 190.73 C 516.95 191.98 518.69 192.29 520.01 191.26 L 520.60 191.26 C 521.56 194.39 514.52 194.24 511.68 194.70 C 509.65 195.36 502.35 192.48 507.07 191.36 Z$#8c7e7a@M 301.19 197.40 C 297.71 202.80 290.26 193.44 297.04 191.76 C 296.21 195.07 298.09 196.83 301.19 197.40 Z$#efecec@M 297.04 191.76 C 297.74 191.74 299.15 191.70 299.86 191.68 C 301.99 192.66 302.99 195.66 301.19 197.40 C 298.09 196.83 296.21 195.07 297.04 191.76 Z$#efecec@M 262.93 433.02 C 264.61 431.68 266.23 430.24 267.95 428.95 C 268.10 432.32 268.00 435.66 268.01 439.06 C 268.16 440.56 268.45 443.55 268.60 445.05 C 268.85 446.27 269.11 447.50 269.36 448.74 C 269.69 456.34 266.94 450.00 265.07 446.75 C 264.99 446.33 264.82 445.49 264.74 445.07 C 265.37 443.37 265.56 441.35 264.29 439.89 C 263.84 437.60 263.30 435.32 262.93 433.02 Z$#494441@M 253.24 198.58 C 255.27 196.82 256.80 192.55 260.00 193.75 C 251.80 206.75 242.71 219.20 233.08 231.17 C 231.44 232.91 229.79 234.71 228.73 236.88 C 228.31 236.65 227.46 236.17 227.04 235.93 C 236.24 224.00 247.13 212.08 253.24 198.58 Z$#494441@M 320.97 533.97 C 319.94 523.12 322.80 531.27 322.28 534.21 C 322.03 538.47 321.89 542.72 321.69 547.00 C 320.10 549.45 319.98 551.78 321.33 554.01 C 321.12 555.64 320.94 557.28 320.75 558.92 C 319.47 560.36 319.62 562.36 320.18 564.08 C 320.05 566.67 319.93 569.28 319.84 571.90 C 319.68 573.46 319.37 576.57 319.21 578.12 C 318.63 583.73 317.79 589.33 316.61 594.86 C 315.93 597.54 315.27 600.30 314.56 603.00 C 313.66 606.37 312.85 609.79 311.60 613.07 C 307.65 622.65 305.36 633.13 299.95 641.99 C 300.25 637.43 302.61 633.41 303.78 629.07 C 305.36 625.17 306.74 621.21 308.28 617.30 C 319.73 591.12 318.91 561.91 320.97 533.97 Z$#3d3530@M 552.14 198.30 C 554.07 196.89 555.29 194.80 556.78 192.98 C 560.82 194.22 556.02 195.95 554.94 197.79 C 556.98 200.10 558.72 202.75 561.46 204.32 C 559.85 207.94 557.24 211.74 552.37 210.41 C 551.06 211.30 548.58 214.85 551.91 213.77 C 551.14 214.47 550.39 215.20 549.67 215.96 C 544.53 223.39 555.13 231.07 559.50 223.08 C 559.48 221.79 559.46 219.22 559.44 217.94 C 557.51 215.60 555.20 213.40 551.91 213.77 C 554.33 213.44 556.80 213.50 558.99 214.66 C 562.11 207.72 567.91 202.55 570.95 195.55 C 573.67 198.06 575.26 201.45 576.76 204.78 C 575.81 208.26 576.89 211.59 578.21 214.74 C 577.99 215.07 577.54 215.73 577.31 216.05 C 576.53 213.91 575.73 211.78 574.92 209.65 C 573.75 206.61 573.09 203.20 570.97 200.65 C 567.32 203.98 572.32 209.14 571.09 213.12 C 567.62 212.41 571.34 204.40 567.18 205.09 C 563.86 208.76 568.04 215.60 565.19 219.21 C 564.39 216.51 566.14 212.48 563.17 210.66 C 562.98 214.07 563.03 217.54 562.98 220.97 C 562.72 224.91 562.19 228.81 561.78 232.74 C 557.49 243.93 556.52 256.15 552.10 267.23 C 552.02 266.38 551.84 264.67 551.76 263.82 C 551.87 263.42 552.10 262.62 552.21 262.22 C 554.45 252.79 557.39 243.46 559.02 233.89 C 557.30 234.51 555.71 235.40 554.08 236.21 C 553.62 236.08 552.69 235.81 552.22 235.68 C 551.70 235.42 550.66 234.92 550.13 234.67 C 549.51 234.10 548.90 233.54 548.30 232.97 C 547.95 227.48 547.43 221.68 544.38 216.94 C 544.74 216.18 545.14 215.45 545.55 214.72 C 545.11 224.10 552.11 208.37 546.87 211.92 C 547.44 210.20 547.98 208.48 548.65 206.81 C 548.75 209.11 549.14 210.74 550.85 208.39 C 556.49 210.27 560.08 197.75 552.07 199.90 C 552.09 199.50 552.12 198.70 552.14 198.30 M 556.95 232.06 C 558.42 230.95 558.25 228.05 556.15 228.10 C 543.58 222.73 551.90 241.13 556.95 232.06 Z$#6a2424@M 369.78 195.92 C 375.05 196.14 379.94 194.10 385.15 193.90 C 380.74 198.80 378.22 204.57 370.78 200.04 C 368.09 199.91 365.41 199.94 362.74 200.11 C 365.07 201.38 367.66 202.03 370.13 202.98 L 368.99 203.05 C 364.67 203.31 360.79 201.26 356.82 199.94 C 358.25 199.44 359.66 198.89 361.03 198.22 C 364.04 197.86 366.91 196.84 369.78 195.92 Z$#a77767@M 457.96 224.63 C 456.33 214.36 456.17 203.64 452.56 193.80 C 454.83 195.39 456.20 201.64 459.12 200.20 L 459.71 199.86 C 461.08 202.13 462.68 204.24 464.29 206.34 L 464.26 207.10 C 461.79 205.44 459.99 202.51 456.96 201.87 C 455.50 205.10 464.70 212.88 458.62 209.44 C 457.20 208.69 458.97 212.15 458.81 213.07 C 459.77 220.29 463.67 226.86 463.87 234.24 C 461.71 231.15 459.40 228.13 457.96 224.63 Z$#928c8a@M 420.00 195.00 C 422.00 202.52 421.08 214.19 420.60 223.33 C 419.24 213.97 420.24 204.42 420.00 195.00 Z$#f6dfd7@M 459.71 199.86 C 461.57 198.22 463.72 196.92 466.03 195.99 C 465.82 199.44 466.84 203.58 464.29 206.34 C 462.68 204.24 461.08 202.13 459.71 199.86 Z$#f6dfd7@M 577.27 1407.71 C 577.46 1398.74 580.11 1386.99 589.92 1383.85 C 590.08 1386.57 590.13 1389.31 590.06 1392.08 C 589.29 1396.62 588.30 1401.10 587.63 1405.69 C 588.47 1412.25 578.61 1414.54 577.27 1407.71 Z$#f9f8f8@M 281.20 228.40 C 284.96 218.05 286.09 206.91 289.88 196.56 C 290.00 199.30 290.42 202.02 291.11 204.68 C 290.79 219.60 292.33 234.49 294.27 249.27 C 294.24 251.92 294.08 254.64 294.58 257.27 C 295.35 268.23 302.85 288.43 285.13 289.18 C 283.29 289.23 279.61 289.33 277.78 289.38 C 273.04 286.54 271.45 279.80 266.24 277.69 C 264.86 277.28 263.45 277.01 262.07 276.65 C 267.46 254.62 272.50 232.51 277.28 210.34 C 277.92 206.54 279.59 203.06 282.83 200.79 C 282.46 205.78 281.96 210.77 281.48 215.75 C 280.96 219.94 280.87 224.18 281.20 228.40 Z$\",\"#f9f8f8@M 524.34 407.83 C 542.91 401.73 561.28 394.99 579.77 388.67 C 580.41 389.00 581.68 389.66 582.31 389.99 C 568.94 395.89 556.54 404.31 545.09 413.25 C 543.40 423.14 556.47 421.16 562.71 423.30 C 564.17 423.61 565.65 423.87 567.14 424.11 C 567.53 428.28 562.44 428.85 559.68 430.66 C 552.18 434.31 543.67 436.12 536.84 440.94 C 528.49 445.09 519.58 449.27 509.98 447.24 C 488.97 447.09 468.43 442.09 447.72 440.29 C 444.66 440.99 442.62 440.22 441.58 437.98 C 442.83 437.43 444.08 436.86 445.31 436.25 C 450.18 433.97 455.06 431.68 460.08 429.74 C 473.72 424.89 487.51 420.43 501.15 415.56 C 509.04 413.50 516.72 410.72 524.34 407.83 Z$#686160@M 289.88 196.56 C 291.11 197.79 291.29 203.09 293.41 200.92 C 297.97 219.36 301.91 238.07 307.96 256.08 C 312.99 260.96 319.51 264.40 326.00 267.13 C 343.54 278.08 364.27 284.70 385.05 284.06 C 388.44 284.05 391.17 281.62 393.96 279.98 C 393.89 280.43 393.76 281.33 393.69 281.78 C 390.42 286.03 385.30 287.30 380.04 287.03 C 376.26 287.00 372.53 287.05 368.77 287.18 C 368.01 287.11 366.51 286.98 365.76 286.92 C 368.49 286.22 371.79 286.80 374.27 285.27 C 353.94 284.12 336.00 274.14 317.90 265.94 C 319.28 267.37 320.79 268.66 322.12 270.14 C 318.06 268.88 314.78 266.02 311.11 264.01 C 311.01 266.57 313.53 274.34 310.99 271.95 C 310.67 265.22 306.75 259.36 305.06 252.97 C 301.20 241.10 299.41 228.65 295.19 216.88 C 293.91 212.95 295.37 206.61 291.11 204.68 C 290.42 202.02 290.00 199.30 289.88 196.56 Z$#9d9394@M 292.70 198.27 C 295.20 199.52 297.94 199.87 300.70 200.29 C 303.46 201.91 306.24 203.50 309.10 204.98 C 306.84 202.90 304.53 200.94 302.16 199.03 C 302.51 198.73 303.23 198.12 303.59 197.81 C 305.93 200.36 308.80 202.38 311.91 203.90 L 311.88 204.72 C 312.17 207.06 310.62 206.96 308.81 206.35 C 310.55 209.79 312.30 213.30 314.88 216.20 L 315.17 216.90 C 316.27 220.74 318.20 224.29 320.81 227.31 C 321.40 228.26 322.04 229.20 322.71 230.11 C 326.37 236.34 329.49 243.29 334.98 248.17 C 337.40 252.65 341.43 256.24 343.11 261.11 C 332.10 255.26 323.03 245.86 311.81 240.12 C 315.76 249.44 320.20 258.81 326.00 267.13 C 319.51 264.40 312.99 260.96 307.96 256.08 C 301.91 238.07 297.97 219.36 293.41 200.92 C 293.23 200.26 292.88 198.93 292.70 198.27 Z$#9d9394@M 471.73 323.21 C 476.78 323.15 481.72 324.59 486.80 323.85 C 489.60 323.54 491.93 323.84 489.93 326.89 C 489.56 327.17 488.81 327.73 488.44 328.01 C 483.51 324.66 477.03 325.67 471.73 323.21 Z$#887a77@M 356.82 199.94 C 352.60 197.98 357.98 196.61 361.03 198.22 C 359.66 198.89 358.25 199.44 356.82 199.94 Z$#a69d9d@M 218.06 248.21 C 218.22 226.20 241.48 214.59 253.24 198.58 C 247.13 212.08 236.24 224.00 227.04 235.93 C 223.65 239.73 221.12 244.16 218.06 248.21 Z$#595351@M 302.16 199.03 C 304.53 200.94 306.84 202.90 309.10 204.98 C 306.24 203.50 303.46 201.91 300.70 200.29 C 301.06 199.98 301.79 199.35 302.16 199.03 Z$#cd2b43@M 362.74 200.11 C 365.41 199.94 368.09 199.91 370.78 200.04 C 370.73 203.34 374.32 200.42 375.73 202.24 C 374.33 202.43 371.53 202.79 370.13 202.98 C 367.66 202.03 365.07 201.38 362.74 200.11 Z$#b38370@M 552.07 199.90 C 560.08 197.75 556.49 210.27 550.85 208.39 C 552.11 205.74 551.88 202.76 552.07 199.90 Z$#514b46@M 571.09 213.12 C 572.32 209.14 567.32 203.98 570.97 200.65 C 573.09 203.20 573.75 206.61 574.92 209.65 L 574.06 210.10 C 568.48 214.37 577.62 223.08 574.35 229.26 C 573.57 225.78 572.75 222.30 571.82 218.87 C 571.95 210.96 564.11 219.82 567.47 223.78 C 564.91 227.42 566.83 217.14 562.98 220.97 C 563.03 217.54 562.98 214.07 563.17 210.66 C 566.14 212.48 564.39 216.51 565.19 219.21 C 568.04 215.60 563.86 208.76 567.18 205.09 C 571.34 204.40 567.62 212.41 571.09 213.12 Z$#f3dbd3@M 456.96 201.87 C 459.99 202.51 461.79 205.44 464.26 207.10 C 464.92 209.91 461.95 215.61 458.81 213.07 C 458.97 212.15 457.20 208.69 458.62 209.44 C 464.70 212.88 455.50 205.10 456.96 201.87 Z$#594842@M 311.91 203.90 C 317.26 207.47 326.77 210.39 329.14 215.37 C 323.36 211.85 317.37 208.67 311.88 204.72 L 311.91 203.90 Z$#928a89@M 291.11 204.68 C 295.37 206.61 293.91 212.95 295.19 216.88 C 294.61 216.68 293.45 216.27 292.87 216.07 C 293.41 225.67 293.81 235.31 295.31 244.82 C 295.01 246.31 294.65 247.79 294.27 249.27 C 292.33 234.49 290.79 219.60 291.11 204.68 Z$#dcd9d8@M 308.81 206.35 C 310.62 206.96 312.17 207.06 311.88 204.72 C 317.37 208.67 323.36 211.85 329.14 215.37 C 333.01 217.66 337.04 219.66 340.95 221.91 C 344.24 223.74 347.59 225.51 351.02 227.09 C 353.02 228.14 354.96 229.31 356.94 230.41 C 369.39 237.16 382.35 243.36 396.08 246.94 C 400.14 247.77 404.57 247.23 407.52 244.15 C 407.51 242.84 407.49 240.22 407.47 238.91 L 407.18 238.20 C 407.35 237.86 407.69 237.18 407.86 236.83 C 409.64 238.87 410.30 241.46 410.28 244.13 C 409.06 245.61 407.65 246.90 406.30 248.25 C 402.67 248.58 399.05 248.99 395.41 248.93 C 392.67 247.90 389.79 246.60 386.83 247.56 C 384.13 246.76 381.51 245.68 378.97 244.47 C 379.17 244.13 379.56 243.46 379.76 243.12 C 373.06 240.80 366.79 236.54 359.69 235.69 C 358.83 235.26 357.98 234.82 357.16 234.34 C 357.30 234.01 357.57 233.36 357.70 233.03 C 349.36 228.90 341.77 223.21 333.01 219.99 C 330.91 218.32 328.64 215.93 325.69 216.71 C 320.93 214.50 316.82 211.12 312.14 208.76 C 313.13 211.21 314.21 213.63 314.88 216.20 C 312.30 213.30 310.55 209.79 308.81 206.35 Z$#6c6462@M 578.21 214.74 C 576.89 211.59 575.81 208.26 576.76 204.78 C 580.59 212.98 586.33 220.05 590.89 227.83 C 600.33 243.42 611.83 257.62 623.15 271.87 C 621.87 274.11 621.07 276.56 620.45 279.05 C 618.09 277.28 614.90 283.39 616.94 285.52 C 610.98 288.70 606.66 283.28 603.82 278.91 C 594.19 257.98 586.36 236.28 578.21 214.74 Z$#d3a495@M 375.33 206.70 C 376.54 209.97 375.90 213.53 376.02 216.93 L 375.28 217.41 C 375.02 213.85 375.18 210.26 375.33 206.70 Z$#f9f9f9@M 312.14 208.76 C 316.82 211.12 320.93 214.50 325.69 216.71 C 328.01 218.06 330.44 219.20 333.01 219.99 C 340.18 226.16 349.08 229.61 357.16 234.34 C 357.98 234.82 358.83 235.26 359.69 235.69 C 365.82 239.24 372.53 241.57 378.97 244.47 C 381.51 245.68 384.13 246.76 386.83 247.56 C 389.58 248.58 392.47 249.06 395.41 248.93 C 395.51 253.74 389.12 255.99 386.96 259.99 C 391.05 259.25 395.15 256.68 399.36 257.76 C 397.11 259.01 394.81 260.20 392.81 261.82 C 386.51 267.26 391.51 272.20 395.34 276.99 C 394.87 277.98 394.41 278.98 393.96 279.98 C 391.17 281.62 388.44 284.05 385.05 284.06 C 364.27 284.70 343.54 278.08 326.00 267.13 C 320.20 258.81 315.76 249.44 311.81 240.12 C 323.03 245.86 332.10 255.26 343.11 261.11 C 341.43 256.24 337.40 252.65 334.98 248.17 C 331.71 241.82 328.08 234.84 322.71 230.11 C 322.04 229.20 321.40 228.26 320.81 227.31 C 320.39 223.20 317.41 220.14 315.17 216.90 L 314.88 216.20 C 314.21 213.63 313.13 211.21 312.14 208.76 Z$#f9f9f9@M 479.16 277.51 C 479.67 277.33 480.70 276.96 481.22 276.77 C 482.55 279.09 483.92 281.39 485.13 283.78 C 486.29 287.05 487.09 290.78 489.89 293.11 C 489.69 294.53 490.61 295.74 491.99 296.07 C 492.74 297.33 493.52 298.57 494.21 299.88 C 495.17 312.80 477.16 312.12 467.93 314.03 C 462.07 313.74 472.74 317.81 473.00 316.01 C 480.88 317.21 488.16 313.46 495.85 312.98 C 495.88 313.44 495.94 314.35 495.97 314.81 L 496.00 315.66 C 494.88 316.00 493.78 316.36 492.68 316.74 C 484.83 317.72 477.17 320.48 469.17 319.87 C 464.52 319.23 460.45 316.93 456.87 314.05 C 455.01 311.33 452.97 308.23 454.83 304.93 C 457.40 306.80 460.43 311.25 462.81 306.72 C 463.18 303.96 461.68 301.17 460.28 298.85 C 458.66 296.61 456.31 295.07 453.77 294.06 C 451.10 291.83 448.82 289.15 446.75 286.37 C 449.90 286.06 453.01 285.81 456.17 285.41 C 464.19 283.95 471.81 280.96 479.16 277.51 Z$#f9f9f9@M 420.35 306.02 C 421.11 305.53 421.89 305.06 422.67 304.60 C 425.82 305.08 428.95 305.67 432.13 305.95 C 434.87 308.75 440.74 311.40 439.36 315.86 C 437.29 315.65 435.65 317.01 435.12 318.94 C 431.39 320.24 428.51 323.08 425.93 325.97 C 421.67 327.83 418.70 331.59 414.96 334.23 C 412.08 329.32 407.62 324.45 408.33 318.42 C 411.30 313.40 415.98 309.74 420.35 306.02 Z$#f9f9f9@M 439.94 316.17 C 442.32 314.91 444.69 312.96 447.56 313.34 C 449.67 315.22 452.32 316.31 454.81 317.58 C 463.76 323.18 472.14 329.67 481.11 335.25 C 478.46 337.95 475.53 340.46 473.72 343.83 C 472.78 344.82 471.87 345.82 470.99 346.86 C 468.32 349.27 465.35 351.55 463.73 354.85 C 463.14 355.50 462.57 356.16 462.00 356.83 C 460.21 358.18 458.55 359.78 458.00 362.04 C 455.53 363.92 453.25 366.06 451.77 368.82 C 451.58 369.09 451.21 369.63 451.03 369.90 C 449.18 371.19 447.59 372.82 446.85 375.00 C 445.15 377.26 443.47 379.53 441.83 381.83 C 440.39 383.43 439.03 385.15 438.13 387.12 L 437.73 387.99 C 436.11 387.39 434.53 386.69 432.97 385.97 C 431.90 384.32 430.02 383.53 428.11 384.04 C 421.79 379.98 414.96 376.82 408.01 374.04 C 404.73 368.66 389.87 370.40 396.06 361.86 C 394.10 363.48 392.68 366.00 389.88 366.17 C 395.85 348.86 414.30 339.36 425.93 325.97 C 429.68 324.74 432.59 321.87 435.12 318.94 C 437.12 318.89 438.64 317.54 439.94 316.17 M 435.02 324.05 C 438.85 322.74 442.58 319.88 445.08 316.96 C 441.14 317.87 436.96 320.45 435.02 324.05 M 427.87 330.03 C 431.28 329.99 432.94 326.21 435.02 324.05 C 431.60 323.99 430.01 327.95 427.87 330.03 M 470.07 335.92 C 468.59 337.41 468.77 339.50 470.97 340.09 C 474.15 342.59 478.38 336.27 474.93 334.84 C 475.49 333.08 469.66 333.64 470.07 335.92 M 452.25 354.18 C 447.62 356.32 451.99 361.57 455.78 359.88 C 459.00 357.53 456.13 352.11 452.25 354.18 M 432.80 379.97 C 432.68 386.48 443.93 381.64 438.35 378.03 C 437.26 375.29 433.61 377.98 432.80 379.97 Z$#f9f9f9@M 633.12 628.69 C 635.61 632.70 637.45 637.06 639.85 641.14 C 641.39 643.89 643.06 646.57 644.83 649.20 C 645.10 649.66 645.62 650.57 645.89 651.03 C 647.01 653.50 648.29 655.92 649.72 658.26 C 651.01 660.64 652.37 663.00 653.79 665.35 C 653.98 666.50 654.73 667.40 655.66 668.09 C 656.89 669.68 658.24 671.31 658.89 673.24 C 658.96 674.44 659.69 675.40 660.67 676.08 C 667.28 685.34 673.64 695.16 678.90 705.23 C 678.94 706.44 679.70 707.39 680.67 708.07 C 680.99 708.54 681.64 709.48 681.96 709.95 C 686.36 721.80 694.66 731.61 700.02 743.00 C 710.31 762.63 717.48 783.72 723.18 805.10 C 710.92 818.96 695.75 829.85 680.02 839.41 C 666.51 768.69 640.11 700.63 633.12 628.69 Z$#46433c@M 378.10 215.17 C 379.60 213.68 380.63 211.82 381.73 210.04 C 390.51 217.00 399.95 223.27 407.37 231.78 C 405.06 231.52 403.33 229.90 401.38 228.82 C 403.67 234.94 398.29 238.89 396.91 244.18 C 399.67 242.01 400.91 238.62 402.87 235.82 C 404.01 236.67 404.61 239.09 406.38 238.32 L 407.18 238.20 L 407.47 238.91 C 406.39 240.45 406.20 242.66 407.52 244.15 C 404.57 247.23 400.14 247.77 396.08 246.94 C 382.35 243.36 369.39 237.16 356.94 230.41 C 353.32 217.66 370.21 224.83 372.32 219.85 L 372.05 219.14 C 373.16 218.64 374.27 218.10 375.28 217.41 L 376.02 216.93 C 376.78 216.43 377.47 215.84 378.10 215.17 Z$#46433c@M 221.25 460.64 C 222.78 462.25 221.95 469.57 224.42 466.70 L 224.91 467.20 C 225.89 472.76 227.28 478.25 228.77 483.70 C 226.82 491.15 232.16 498.48 232.11 506.04 C 230.42 505.05 228.69 504.05 227.28 502.68 C 220.41 489.94 218.38 474.80 221.25 460.64 Z$#49352f@M 505.96 249.76 C 522.59 241.65 537.23 228.25 541.83 209.78 C 542.13 211.80 543.01 213.91 542.05 215.90 C 537.53 225.98 530.97 235.51 521.73 241.77 C 515.94 245.24 511.43 250.74 508.75 256.89 C 512.10 255.16 515.40 253.29 518.94 251.94 C 514.42 255.63 509.22 258.30 504.07 260.95 C 498.83 258.61 511.72 251.09 505.96 249.76 Z$#766e6c@M 574.35 229.26 C 577.62 223.08 568.48 214.37 574.06 210.10 C 574.92 216.19 576.53 222.15 577.73 228.17 C 578.72 232.72 579.71 237.29 580.20 241.93 C 578.70 245.00 578.98 247.34 581.06 248.95 C 581.27 250.48 581.68 253.54 581.89 255.07 C 581.99 255.51 582.20 256.38 582.30 256.82 C 581.98 258.31 581.63 259.80 581.25 261.28 C 579.17 250.56 576.07 240.04 574.35 229.26 Z$#968c8c@M 574.06 210.10 L 574.92 209.65 C 575.73 211.78 576.53 213.91 577.31 216.05 C 577.94 218.21 578.55 220.38 578.85 222.62 C 578.28 224.42 577.90 226.29 577.73 228.17 C 576.53 222.15 574.92 216.19 574.06 210.10 Z$#ad7e6b@M 546.87 211.92 C 552.11 208.37 545.11 224.10 545.55 214.72 C 545.99 213.79 546.43 212.85 546.87 211.92 Z$#28201d@M 341.00 213.07 C 341.51 213.00 342.52 212.87 343.03 212.81 C 348.40 216.16 354.56 218.04 360.75 219.23 C 364.58 219.79 368.44 220.00 372.32 219.85 C 370.21 224.83 353.32 217.66 356.94 230.41 C 354.96 229.31 353.02 228.14 351.02 227.09 C 349.22 221.47 345.10 217.13 341.00 213.07 Z$#efedec@M 551.91 213.77 C 555.20 213.40 557.51 215.60 559.44 217.94 C 558.49 219.47 558.16 221.64 559.50 223.08 C 556.36 220.30 549.56 221.54 549.67 215.96 C 550.39 215.20 551.14 214.47 551.91 213.77 Z$#a69d9e@M 567.47 223.78 C 564.11 219.82 571.95 210.96 571.82 218.87 C 571.41 219.01 570.60 219.29 570.19 219.43 C 572.21 239.94 575.17 260.40 578.26 280.78 C 577.56 295.23 574.53 279.63 573.18 274.74 C 572.07 269.79 570.65 264.92 570.09 259.89 C 570.71 260.64 571.35 261.39 572.02 262.12 C 570.69 249.32 568.97 236.56 567.47 223.78 Z$#a69d9e@M 172.02 538.85 C 173.84 540.52 175.65 542.35 178.09 543.08 C 178.12 547.45 177.63 551.98 178.65 556.31 C 178.85 558.76 179.07 561.23 179.32 563.71 C 179.33 570.19 178.13 576.88 179.64 583.29 C 179.85 586.04 180.01 588.91 180.31 591.71 C 180.21 597.86 179.36 604.18 180.63 610.30 C 180.84 613.39 181.00 616.60 181.31 619.72 C 181.05 628.09 180.82 636.50 181.03 644.89 C 177.09 642.02 176.66 648.42 177.06 651.01 C 177.13 689.65 177.87 728.24 179.06 766.87 C 178.46 766.74 177.26 766.47 176.66 766.34 C 164.33 743.80 161.40 717.81 159.29 692.67 C 159.08 687.76 159.01 682.89 158.97 677.99 C 159.30 655.95 161.10 634.03 163.57 612.11 C 166.18 593.88 167.70 575.48 170.38 557.24 C 171.16 551.12 171.83 545.01 172.02 538.85 Z$#504c48@M 578.21 214.74 C 586.36 236.28 594.19 257.98 603.82 278.91 C 603.54 279.25 602.96 279.92 602.67 280.25 C 593.98 261.37 587.02 241.73 578.85 222.62 C 578.55 220.38 577.94 218.21 577.31 216.05 C 577.54 215.73 577.99 215.07 578.21 214.74 Z$#f8f7f7@M 292.87 216.07 C 293.45 216.27 294.61 216.68 295.19 216.88 C 299.41 228.65 301.20 241.10 305.06 252.97 C 306.75 259.36 310.67 265.22 310.99 271.95 C 309.73 273.41 308.36 274.78 306.91 276.05 C 304.08 276.02 299.55 278.98 298.40 275.60 C 297.44 267.33 296.23 259.08 295.77 250.76 C 295.65 249.27 295.42 246.30 295.31 244.82 C 293.81 235.31 293.41 225.67 292.87 216.07 Z$#f8f7f7@M 570.19 219.43 C 570.60 219.29 571.41 219.01 571.82 218.87 C 572.75 222.30 573.57 225.78 574.35 229.26 C 576.07 240.04 579.17 250.56 581.25 261.28 C 583.22 269.62 583.83 278.30 586.67 286.42 C 586.53 276.42 584.61 266.52 582.30 256.82 C 582.20 256.38 581.99 255.51 581.89 255.07 C 581.68 253.54 581.27 250.48 581.06 248.95 C 582.10 246.16 581.82 243.82 580.20 241.93 C 579.71 237.29 578.72 232.72 577.73 228.17 C 577.90 226.29 578.28 224.42 578.85 222.62 C 587.02 241.73 593.98 261.37 602.67 280.25 C 607.37 290.50 613.60 299.93 619.03 309.79 C 616.30 310.65 613.45 311.06 610.76 311.95 C 604.24 315.48 596.78 319.03 589.76 314.29 C 581.50 311.22 579.47 320.87 574.68 324.85 C 571.42 325.04 567.99 325.48 564.89 324.18 C 564.78 292.70 563.63 261.26 563.72 229.76 C 564.12 228.32 564.95 227.06 565.74 225.82 C 567.25 237.16 568.31 248.57 570.09 259.89 C 570.65 264.92 572.07 269.79 573.18 274.74 C 573.31 283.02 575.82 291.19 578.21 299.07 C 582.69 294.64 577.67 286.27 578.26 280.78 C 575.17 260.40 572.21 239.94 570.19 219.43 Z$#8e8987@M 325.69 216.71 C 328.64 215.93 330.91 218.32 333.01 219.99 C 330.44 219.20 328.01 218.06 325.69 216.71 Z$#865347@M 521.73 241.77 C 530.97 235.51 537.53 225.98 542.05 215.90 C 541.68 218.33 541.14 220.81 541.69 223.26 C 540.25 229.24 537.64 234.85 535.92 240.75 C 537.05 240.64 538.19 240.51 539.33 240.38 C 537.37 241.74 535.39 243.07 533.28 244.17 C 528.00 245.55 523.01 248.33 518.94 251.94 C 515.40 253.29 512.10 255.16 508.75 256.89 C 511.43 250.74 515.94 245.24 521.73 241.77 Z$#8c8281@M 559.50 223.08 C 555.13 231.07 544.53 223.39 549.67 215.96 C 549.56 221.54 556.36 220.30 559.50 223.08 Z$#ccc5c5@M 315.17 216.90 C 317.41 220.14 320.39 223.20 320.81 227.31 C 318.20 224.29 316.27 220.74 315.17 216.90 Z$#ccc5c5@M 463.72 396.23 C 469.67 396.59 475.45 398.31 481.16 399.96 C 475.27 399.42 469.10 398.92 463.72 396.23 Z$#b78774@M 544.38 216.94 C 547.43 221.68 547.95 227.48 548.30 232.97 C 545.36 235.51 542.61 238.30 539.33 240.38 C 538.19 240.51 537.05 240.64 535.92 240.75 C 537.64 234.85 540.25 229.24 541.69 223.26 C 542.45 221.10 543.37 218.99 544.38 216.94 Z$#827978@M 559.44 217.94 C 559.46 219.22 559.48 221.79 559.50 223.08 C 558.16 221.64 558.49 219.47 559.44 217.94 Z$#cabbb8@M 360.75 219.23 C 364.52 219.03 368.26 219.04 372.05 219.14 L 372.32 219.85 C 368.44 220.00 364.58 219.79 360.75 219.23 Z$#f7f6f6@M 239.08 228.25 C 245.12 225.80 250.60 221.97 256.83 220.04 C 256.93 220.54 257.11 221.54 257.21 222.04 C 254.16 229.33 251.30 236.70 248.22 243.97 C 246.26 246.18 244.18 248.28 242.08 250.36 C 240.10 249.54 237.90 249.57 235.93 250.40 C 231.19 247.28 232.24 240.82 228.73 236.88 C 229.79 234.71 231.44 232.91 233.08 231.17 C 235.14 230.33 237.17 229.40 239.08 228.25 Z$#6f6b69@M 333.01 219.99 C 341.77 223.21 349.36 228.90 357.70 233.03 C 357.57 233.36 357.30 234.01 357.16 234.34 C 349.08 229.61 340.18 226.16 333.01 219.99 Z$#6f6b69@M 781.95 579.99 C 784.34 580.90 782.52 585.86 782.63 588.32 C 781.97 585.60 782.00 582.72 781.95 579.99 Z$#7d5246@M 481.12 224.59 C 476.07 227.82 466.80 227.80 467.54 219.93 C 470.50 225.91 476.80 221.84 481.12 224.59 Z$#7a7170@M 562.98 220.97 C 566.83 217.14 564.91 227.42 567.47 223.78 C 568.97 236.56 570.69 249.32 572.02 262.12 C 571.35 261.39 570.71 260.64 570.09 259.89 C 568.31 248.57 567.25 237.16 565.74 225.82 C 564.95 227.06 564.12 228.32 563.72 229.76 C 562.41 238.36 563.20 247.10 562.79 255.76 C 561.25 270.76 562.89 285.99 559.78 300.86 C 558.36 306.59 561.13 314.06 556.01 318.39 C 554.83 295.53 559.65 272.22 561.29 249.23 C 562.20 243.77 561.85 238.23 561.78 232.74 C 562.19 228.81 562.72 224.91 562.98 220.97 Z$#f5f4f4@M 247.12 279.36 C 251.39 259.35 258.12 239.27 266.97 220.76 C 264.35 241.26 257.37 260.95 253.78 281.26 C 251.47 280.97 249.29 280.14 247.12 279.36 Z$#474340@M 590.89 227.83 C 594.18 226.20 595.61 230.98 597.64 232.72 C 597.26 233.79 597.36 234.94 598.19 235.79 C 606.88 248.02 615.41 260.37 625.20 271.77 C 624.69 271.79 623.66 271.84 623.15 271.87 C 611.83 257.62 600.33 243.42 590.89 227.83 Z$#474340@M 453.77 294.06 C 456.31 295.07 458.66 296.61 460.28 298.85 C 457.67 299.72 456.68 302.53 454.85 304.35 C 455.32 301.03 456.43 297.77 454.10 294.80 L 453.77 294.06 Z$#877e7d@M 556.95 232.06 C 551.90 241.13 543.58 222.73 556.15 228.10 C 552.86 230.15 551.99 233.04 556.95 232.06 Z$#e0dada@M 556.15 228.10 C 558.25 228.05 558.42 230.95 556.95 232.06 C 551.99 233.04 552.86 230.15 556.15 228.10 Z$#21221e@M 401.38 228.82 C 403.33 229.90 405.06 231.52 407.37 231.78 C 407.28 232.32 407.10 233.38 407.00 233.92 C 402.23 231.32 405.11 235.82 406.38 238.32 C 404.61 239.09 404.01 236.67 402.87 235.82 C 400.91 238.62 399.67 242.01 396.91 244.18 C 398.29 238.89 403.67 234.94 401.38 228.82 Z$#662a28@M 466.81 229.17 C 469.62 229.06 472.32 229.78 474.98 230.60 C 479.61 231.25 484.26 231.84 488.78 233.12 C 491.57 233.66 494.49 234.06 497.28 234.77 C 496.53 234.89 495.04 235.12 494.29 235.24 C 489.44 235.13 484.64 235.04 479.81 235.06 C 478.15 235.04 476.49 235.10 474.85 235.29 C 474.55 235.73 473.94 236.62 473.64 237.07 C 471.69 234.14 468.84 232.00 466.81 229.17 Z$#d7d1d1@M 322.71 230.11 C 328.08 234.84 331.71 241.82 334.98 248.17 C 329.49 243.29 326.37 236.34 322.71 230.11 Z$#c4bcbc@M 562.79 255.76 C 563.20 247.10 562.41 238.36 563.72 229.76 C 563.63 261.26 564.78 292.70 564.89 324.18 L 564.06 323.88 C 564.04 301.15 562.55 278.50 562.79 255.76 Z$#682829@M 407.37 231.78 C 412.03 233.99 412.77 239.98 410.28 244.13 C 410.30 241.46 409.64 238.87 407.86 236.83 C 407.55 235.86 407.27 234.89 407.00 233.92 C 407.10 233.38 407.28 232.32 407.37 231.78 Z$#beaeaa@M 488.78 233.12 C 491.03 233.17 505.41 232.45 497.28 234.77 C 494.49 234.06 491.57 233.66 488.78 233.12 Z$#d9d5d5@M 548.30 232.97 C 548.90 233.54 549.51 234.10 550.13 234.67 C 548.11 235.77 546.31 237.21 544.88 239.01 C 543.09 238.91 540.25 240.45 541.96 242.43 C 535.72 246.27 529.85 250.80 523.16 253.85 C 521.22 252.01 518.85 254.12 518.02 256.00 C 515.95 256.04 513.70 256.80 513.15 259.03 C 505.46 261.56 498.78 266.21 491.60 269.83 C 489.50 270.37 487.37 270.81 485.23 271.13 L 485.05 270.14 C 488.10 269.20 491.14 268.11 493.91 266.50 C 497.34 264.74 500.69 262.81 504.07 260.95 C 509.22 258.30 514.42 255.63 518.94 251.94 C 524.13 250.21 529.16 247.84 533.28 244.17 C 535.39 243.07 537.37 241.74 539.33 240.38 C 542.61 238.30 545.36 235.51 548.30 232.97 Z$#6d6462@M 552.10 267.23 C 556.52 256.15 557.49 243.93 561.78 232.74 C 561.85 238.23 562.20 243.77 561.29 249.23 C 561.00 247.70 560.42 244.65 560.12 243.13 C 558.05 265.85 556.61 288.64 553.50 311.25 C 553.41 314.28 549.74 313.28 547.69 312.28 C 549.17 299.82 550.61 287.37 551.84 274.90 C 547.49 276.22 549.48 283.63 547.36 287.34 C 547.09 286.95 546.56 286.17 546.30 285.78 C 546.18 285.29 545.95 284.29 545.83 283.80 C 546.26 282.60 546.71 281.42 547.15 280.23 C 549.76 275.11 550.17 269.28 551.76 263.82 C 551.84 264.67 552.02 266.38 552.10 267.23 Z$#6d6462@M 554.08 236.21 C 555.71 235.40 557.30 234.51 559.02 233.89 C 557.39 243.46 554.45 252.79 552.21 262.22 C 551.40 253.48 553.43 244.88 554.08 236.21 Z$#ecebeb@M 598.19 235.79 C 597.36 234.94 597.26 233.79 597.64 232.72 C 603.89 240.51 611.70 246.80 618.31 254.25 C 624.89 262.75 635.84 270.98 633.39 283.10 C 630.30 279.59 628.27 275.28 625.20 271.77 C 615.41 260.37 606.88 248.02 598.19 235.79 Z$#776f6d@M 419.95 242.00 C 420.00 239.23 420.36 236.46 420.74 233.73 C 420.48 236.18 422.33 241.13 419.95 242.00 Z$#6f6c69@M 359.69 235.69 C 366.79 236.54 373.06 240.80 379.76 243.12 C 379.56 243.46 379.17 244.13 378.97 244.47 C 372.53 241.57 365.82 239.24 359.69 235.69 Z$#ad3f41@M 473.64 237.07 C 473.94 236.62 474.55 235.73 474.85 235.29 C 478.43 238.45 491.74 236.85 479.81 235.06 C 484.64 235.04 489.44 235.13 494.29 235.24 C 489.38 238.09 483.71 239.20 478.07 239.25 C 476.33 239.09 474.60 238.65 473.64 237.07 Z$#d4877b@M 474.85 235.29 C 476.49 235.10 478.15 235.04 479.81 235.06 C 491.74 236.85 478.43 238.45 474.85 235.29 Z$#7a7471@M 544.88 239.01 C 546.31 237.21 548.11 235.77 550.13 234.67 C 550.66 234.92 551.70 235.42 552.22 235.68 C 549.74 236.72 547.35 237.96 544.88 239.01 Z$#fafafa@M 544.88 239.01 C 547.35 237.96 549.74 236.72 552.22 235.68 C 551.46 250.62 549.05 265.42 547.15 280.23 C 546.71 281.42 546.26 282.60 545.83 283.80 C 543.14 293.02 533.40 296.18 526.85 302.00 C 522.38 304.29 517.89 306.55 513.71 309.34 C 512.79 309.59 511.89 309.87 511.00 310.18 C 510.24 309.54 508.15 308.70 509.72 307.65 C 517.38 302.61 526.64 299.71 533.18 292.99 C 525.41 294.96 518.40 299.80 510.21 299.93 C 503.59 290.50 499.47 279.50 492.60 270.21 C 499.73 267.16 507.16 264.05 513.15 259.03 C 515.19 258.87 517.25 258.05 518.02 256.00 C 519.90 255.79 521.67 255.03 523.16 253.85 C 529.85 250.80 535.72 246.27 541.96 242.43 C 543.35 241.70 544.30 240.45 544.88 239.01 Z$#fafafa@M 308.11 276.82 C 310.44 275.48 312.25 272.63 315.58 274.52 C 332.32 278.56 348.47 285.54 365.76 286.92 C 366.51 286.98 368.01 287.11 368.77 287.18 C 372.48 287.67 376.22 287.95 379.98 288.00 C 384.02 289.00 396.02 286.37 391.68 292.59 C 388.53 296.22 397.18 293.79 399.28 293.54 C 399.73 292.35 400.11 291.14 400.42 289.90 C 401.64 290.25 402.87 290.58 404.11 290.91 C 405.82 292.35 407.47 293.86 409.22 295.25 C 402.17 296.26 395.03 295.89 387.94 296.01 C 397.00 298.78 408.34 300.08 418.25 302.84 C 418.52 303.15 419.06 303.75 419.33 304.05 C 418.79 307.81 413.78 306.26 412.43 309.41 C 410.30 312.96 407.56 316.20 406.03 320.08 C 407.31 325.41 411.04 329.90 412.93 335.06 C 404.78 344.90 393.57 352.71 388.28 364.71 L 387.99 365.63 C 386.59 369.39 386.82 373.44 387.65 377.30 C 388.99 384.20 391.15 390.93 394.31 397.22 L 394.21 397.96 C 383.73 397.53 372.90 395.93 362.83 396.11 C 354.26 387.59 343.40 381.40 336.05 371.73 C 340.79 374.20 344.61 378.10 348.87 381.30 C 351.24 383.26 353.62 385.28 356.16 387.06 C 355.52 383.87 352.32 382.13 350.07 380.10 C 338.64 368.75 329.76 354.65 316.12 345.67 C 315.79 345.38 315.13 344.79 314.80 344.50 C 307.61 335.86 296.34 333.15 286.19 329.61 C 277.33 326.55 268.36 323.83 259.39 321.13 C 248.75 318.30 238.08 315.42 227.21 313.70 C 224.91 313.42 222.61 313.17 220.32 312.94 C 218.57 312.51 216.82 312.12 215.05 311.83 C 218.24 305.70 222.60 300.33 227.02 295.07 C 237.87 288.72 250.43 288.99 262.29 286.22 C 265.52 284.15 268.86 286.53 272.17 287.03 C 279.42 295.13 294.47 291.18 298.48 281.60 C 299.40 277.14 305.34 279.61 308.11 276.82 Z$#fafafa@M 527.25 320.83 C 536.57 319.79 545.58 316.78 554.93 320.12 C 555.21 320.37 555.76 320.88 556.04 321.13 C 561.65 327.06 572.02 329.56 578.33 323.38 C 584.08 318.83 591.76 318.79 598.72 318.60 C 602.17 319.13 605.71 319.82 609.25 319.81 C 610.42 320.27 611.59 320.76 612.76 321.26 C 615.51 322.88 618.26 324.49 621.07 326.08 C 625.86 332.02 630.78 337.88 635.35 344.01 C 632.93 347.40 627.26 346.43 623.78 348.87 C 611.72 351.93 599.35 353.96 587.63 358.20 C 580.58 359.97 573.75 362.46 566.82 364.63 C 554.38 368.39 542.50 373.86 531.12 380.09 C 521.84 382.64 512.51 384.94 503.18 387.31 C 502.90 390.24 508.50 388.45 509.12 391.87 C 501.51 394.99 492.64 391.38 484.65 392.11 C 489.46 394.73 495.88 395.14 499.32 399.74 C 493.49 401.92 487.10 401.10 481.16 399.96 C 475.45 398.31 469.67 396.59 463.72 396.23 C 460.29 394.90 455.30 394.69 453.08 391.99 C 460.76 376.27 473.21 363.61 484.25 350.25 C 490.22 343.28 496.26 335.95 504.11 331.02 C 510.68 332.44 524.29 336.43 521.49 324.84 C 518.48 323.43 499.08 326.65 509.68 322.61 C 513.18 322.79 516.83 323.34 520.30 322.41 C 522.64 322.00 524.95 321.41 527.25 320.83 Z$#fafafa@M 322.96 386.89 C 352.57 405.84 383.00 423.66 415.05 438.20 C 425.72 442.77 436.17 448.22 447.70 450.28 C 468.47 456.67 489.62 461.69 510.81 466.41 C 525.55 474.87 537.46 462.64 549.95 456.85 C 550.58 457.17 551.83 457.81 552.45 458.13 C 543.85 462.98 535.41 468.15 526.62 472.64 C 502.65 470.36 478.99 465.52 455.39 460.78 C 450.62 459.72 445.91 458.26 441.03 457.86 C 449.29 469.02 453.72 482.21 456.33 495.71 C 456.80 503.39 454.37 511.81 456.80 519.20 C 460.94 525.57 467.11 530.31 472.98 535.00 C 476.97 537.99 481.24 533.51 484.35 531.39 C 493.27 523.74 503.42 517.80 512.85 510.84 C 522.05 507.70 512.95 520.95 511.00 524.01 C 497.96 537.28 479.77 544.61 462.69 551.55 C 433.51 560.62 406.46 576.16 376.01 581.07 C 362.44 585.00 348.30 586.09 334.68 589.74 C 334.88 588.52 335.08 587.30 335.27 586.10 C 336.55 584.62 336.37 582.59 335.74 580.89 C 335.89 580.18 336.21 578.75 336.37 578.03 C 337.87 575.52 337.97 573.17 336.68 570.98 C 336.88 569.39 337.06 567.80 337.23 566.21 C 338.22 560.43 337.95 554.58 337.79 548.77 C 337.99 541.58 338.00 534.40 338.21 527.24 C 339.50 517.53 338.96 507.74 338.99 497.99 C 338.08 488.05 340.75 477.57 338.13 467.88 L 337.87 467.14 C 337.86 459.66 338.49 452.13 337.34 444.71 C 337.14 443.23 336.90 441.76 336.66 440.29 C 336.63 437.39 336.98 434.53 336.38 431.71 C 334.08 416.20 329.20 401.23 322.96 386.89 Z$#fafafa@M 549.34 655.90 C 568.12 671.73 585.25 689.57 605.06 704.21 C 608.65 707.43 605.58 712.05 605.03 716.02 C 602.24 731.32 597.56 746.17 593.14 761.05 C 580.72 800.33 563.50 837.84 546.99 875.51 C 536.88 832.90 529.11 789.71 520.39 746.81 C 520.40 730.92 510.28 712.82 521.98 698.99 C 531.46 684.95 542.45 671.39 549.34 655.90 Z$#9f9696@M 552.22 235.68 C 552.69 235.81 553.62 236.08 554.08 236.21 C 553.43 244.88 551.40 253.48 552.21 262.22 C 552.10 262.62 551.87 263.42 551.76 263.82 C 550.17 269.28 549.76 275.11 547.15 280.23 C 549.05 265.42 551.46 250.62 552.22 235.68 Z$#96928f@M 407.47 238.91 C 407.49 240.22 407.51 242.84 407.52 244.15 C 406.20 242.66 406.39 240.45 407.47 238.91 Z$#938c89@M 541.96 242.43 C 540.25 240.45 543.09 238.91 544.88 239.01 C 544.30 240.45 543.35 241.70 541.96 242.43 Z$#b1a9a9@M 580.20 241.93 C 581.82 243.82 582.10 246.16 581.06 248.95 C 578.98 247.34 578.70 245.00 580.20 241.93 Z$#3d3a36@M 560.12 243.13 C 560.42 244.65 561.00 247.70 561.29 249.23 C 559.65 272.22 554.83 295.53 556.01 318.39 C 556.28 318.81 556.81 319.66 557.08 320.08 C 556.82 320.34 556.30 320.87 556.04 321.13 C 555.76 320.88 555.21 320.37 554.93 320.12 C 554.34 319.36 553.74 318.61 553.16 317.86 C 554.76 311.63 541.95 316.43 542.80 309.65 C 544.38 310.61 545.98 311.56 547.69 312.28 C 549.74 313.28 553.41 314.28 553.50 311.25 C 556.61 288.64 558.05 265.85 560.12 243.13 Z$#4e3a34@M 518.94 251.94 C 523.01 248.33 528.00 245.55 533.28 244.17 C 529.16 247.84 524.13 250.21 518.94 251.94 Z$#c1bbbb@M 295.31 244.82 C 295.42 246.30 295.65 249.27 295.77 250.76 C 295.47 252.39 294.88 255.64 294.58 257.27 C 294.08 254.64 294.24 251.92 294.27 249.27 C 294.65 247.79 295.01 246.31 295.31 244.82 Z$#4f4842@M 470.28 245.02 C 472.68 248.92 474.62 254.63 480.01 254.99 C 483.42 255.24 486.78 255.15 490.23 255.20 C 487.39 255.86 484.22 255.31 481.64 256.79 C 485.12 258.47 491.21 254.68 493.80 258.31 C 493.81 261.00 493.79 263.79 493.91 266.50 C 491.14 268.11 488.10 269.20 485.05 270.14 C 482.40 271.92 469.99 272.69 477.06 274.74 C 468.19 278.50 459.16 282.74 449.34 282.73 C 446.10 281.47 443.32 278.64 443.81 274.93 C 445.66 270.77 448.47 267.05 449.78 262.68 C 455.45 255.64 463.74 251.20 470.28 245.02 Z$#a09a9a@M 386.83 247.56 C 389.79 246.60 392.67 247.90 395.41 248.93 C 392.47 249.06 389.58 248.58 386.83 247.56 Z$#988f8f@M 395.41 248.93 C 399.05 248.99 402.67 248.58 406.30 248.25 C 405.32 252.20 402.34 255.17 399.36 257.76 C 395.15 256.68 391.05 259.25 386.96 259.99 C 389.12 255.99 395.51 253.74 395.41 248.93 Z$#b7afb0@M 581.06 248.95 C 581.27 250.48 581.68 253.54 581.89 255.07 C 581.68 253.54 581.27 250.48 581.06 248.95 Z$#a39f9e@M 235.93 250.40 C 237.90 249.57 240.10 249.54 242.08 250.36 C 240.31 252.05 238.26 252.07 235.93 250.40 Z$#241d1a@M 490.23 255.20 C 495.70 254.16 501.04 252.38 505.96 249.76 C 511.72 251.09 498.83 258.61 504.07 260.95 C 500.69 262.81 497.34 264.74 493.91 266.50 C 493.79 263.79 493.81 261.00 493.80 258.31 C 491.21 254.68 485.12 258.47 481.64 256.79 C 484.22 255.31 487.39 255.86 490.23 255.20 Z$#655f5d@M 294.58 257.27 C 294.88 255.64 295.47 252.39 295.77 250.76 C 296.23 259.08 297.44 267.33 298.40 275.60 C 299.55 278.98 304.08 276.02 306.91 276.05 C 307.21 276.24 307.81 276.63 308.11 276.82 C 305.34 279.61 299.40 277.14 298.48 281.60 C 294.47 291.18 279.42 295.13 272.17 287.03 C 270.79 277.87 259.71 278.69 254.10 283.86 C 248.14 279.48 242.17 283.96 235.78 284.85 C 238.97 280.94 241.95 277.30 247.12 279.36 C 249.29 280.14 251.47 280.97 253.78 281.26 C 258.27 282.06 261.37 276.52 266.24 277.69 C 271.45 279.80 273.04 286.54 277.78 289.38 C 279.92 290.99 283.42 291.50 285.13 289.18 C 302.85 288.43 295.35 268.23 294.58 257.27 Z$#605a57@M 430.88 268.91 C 432.19 264.22 428.81 254.89 432.01 252.00 C 431.38 257.29 433.52 265.07 430.88 268.91 Z$#807c7b@M 518.02 256.00 C 518.85 254.12 521.22 252.01 523.16 253.85 C 521.67 255.03 519.90 255.79 518.02 256.00 Z$#5f5c5a@M 513.15 259.03 C 513.70 256.80 515.95 256.04 518.02 256.00 C 517.25 258.05 515.19 258.87 513.15 259.03 Z$#978d8d@M 559.78 300.86 C 562.89 285.99 561.25 270.76 562.79 255.76 C 562.55 278.50 564.04 301.15 564.06 323.88 C 561.55 322.97 559.28 321.56 557.08 320.08 C 556.81 319.66 556.28 318.81 556.01 318.39 C 561.13 314.06 558.36 306.59 559.78 300.86 Z$#978d8d@M 521.49 324.84 C 524.29 336.43 510.68 332.44 504.11 331.02 C 496.26 335.95 490.22 343.28 484.25 350.25 C 473.21 363.61 460.76 376.27 453.08 391.99 C 455.30 394.69 460.29 394.90 463.72 396.23 C 469.10 398.92 475.27 399.42 481.16 399.96 C 487.10 401.10 493.49 401.92 499.32 399.74 C 500.74 399.07 502.13 399.65 503.46 400.29 C 496.99 405.77 489.27 409.51 482.11 413.99 C 478.66 414.60 475.69 416.62 472.28 417.32 C 468.38 416.39 465.66 413.75 465.26 409.68 C 462.64 400.39 446.52 402.46 448.65 391.77 C 462.39 368.03 483.79 349.34 501.88 328.83 C 508.22 327.38 519.66 334.19 521.49 324.84 Z$#b4abac@M 582.30 256.82 C 584.61 266.52 586.53 276.42 586.67 286.42 C 583.83 278.30 583.22 269.62 581.25 261.28 C 581.63 259.80 581.98 258.31 582.30 256.82 Z$#412320@M 392.81 261.82 C 394.81 260.20 397.11 259.01 399.36 257.76 L 398.99 258.70 C 398.80 259.23 398.42 260.28 398.23 260.80 C 400.45 266.04 396.79 273.76 401.00 277.89 C 398.71 277.58 397.19 278.31 398.19 280.76 C 406.65 287.66 415.00 294.74 423.05 302.08 C 432.08 301.02 419.50 296.24 418.09 291.78 C 422.13 294.60 425.85 297.86 429.96 300.59 C 427.89 301.51 425.87 302.55 423.96 303.78 C 423.64 303.98 423.00 304.39 422.67 304.60 C 421.89 305.06 421.11 305.53 420.35 306.02 C 420.10 305.53 419.58 304.54 419.33 304.05 C 419.06 303.75 418.52 303.15 418.25 302.84 C 415.48 300.04 412.37 297.59 409.22 295.25 C 407.47 293.86 405.82 292.35 404.11 290.91 C 400.66 287.82 397.26 284.71 393.69 281.78 C 393.76 281.33 393.89 280.43 393.96 279.98 C 394.41 278.98 394.87 277.98 395.34 276.99 C 398.49 271.92 395.25 266.40 392.81 261.82 Z$#988d8f@M 398.99 258.70 C 402.73 259.18 406.56 259.47 410.19 260.59 C 407.87 260.36 407.61 261.84 409.86 262.20 C 418.21 264.48 424.82 270.28 430.88 276.18 C 431.10 279.86 431.39 283.53 431.77 287.21 C 431.75 287.60 431.71 288.39 431.69 288.79 C 431.38 290.19 431.08 291.60 430.74 293.00 C 425.12 288.77 419.50 284.48 414.13 279.93 C 409.86 272.78 404.45 266.31 398.23 260.80 C 398.42 260.28 398.80 259.23 398.99 258.70 Z$#625d5a@M 491.60 269.83 C 498.78 266.21 505.46 261.56 513.15 259.03 C 507.16 264.05 499.73 267.16 492.60 270.21 L 491.60 269.83 Z$#726868@M 398.23 260.80 C 404.45 266.31 409.86 272.78 414.13 279.93 C 412.37 279.27 410.63 278.57 408.84 278.04 C 416.31 283.76 423.38 290.03 431.07 295.45 C 431.82 301.41 438.22 296.93 442.18 296.44 C 446.11 295.67 450.05 294.00 454.10 294.80 C 456.43 297.77 455.32 301.03 454.85 304.35 L 454.83 304.93 C 452.97 308.23 455.01 311.33 456.87 314.05 L 457.16 314.90 C 455.74 314.28 454.34 313.67 452.93 313.06 C 452.57 301.94 438.90 300.34 429.96 300.59 C 425.85 297.86 422.13 294.60 418.09 291.78 C 413.00 286.43 406.71 282.50 401.00 277.89 C 396.79 273.76 400.45 266.04 398.23 260.80 Z$#e3e1e0@M 409.86 262.20 C 407.61 261.84 407.87 260.36 410.19 260.59 C 413.77 261.62 417.21 263.08 420.84 263.96 C 422.35 264.43 424.39 264.61 425.19 266.19 C 425.93 268.10 427.96 268.68 429.78 269.08 C 430.13 269.53 430.82 270.43 431.16 270.87 C 431.08 272.64 430.96 274.41 430.88 276.18 C 424.82 270.28 418.21 264.48 409.86 262.20 Z$#746969@M 395.34 276.99 C 391.51 272.20 386.51 267.26 392.81 261.82 C 395.25 266.40 398.49 271.92 395.34 276.99 Z$#746b6a@M 441.97 276.17 C 442.62 270.78 446.32 266.59 449.78 262.68 C 448.47 267.05 445.66 270.77 443.81 274.93 C 443.35 275.24 442.43 275.86 441.97 276.17 Z$#958c8d@M 311.11 264.01 C 314.78 266.02 318.06 268.88 322.12 270.14 C 320.79 268.66 319.28 267.37 317.90 265.94 C 336.00 274.14 353.94 284.12 374.27 285.27 C 371.79 286.80 368.49 286.22 365.76 286.92 C 348.47 285.54 332.32 278.56 315.58 274.52 C 312.25 272.63 310.44 275.48 308.11 276.82 C 307.81 276.63 307.21 276.24 306.91 276.05 C 308.36 274.78 309.73 273.41 310.99 271.95 C 313.53 274.34 311.01 266.57 311.11 264.01 Z$#958c8d@M 211.15 696.20 C 210.80 691.50 211.57 690.16 213.46 692.17 C 211.80 704.39 214.02 716.72 214.27 728.97 C 216.83 759.00 215.50 789.16 216.34 819.25 C 216.33 819.64 216.31 820.42 216.30 820.82 C 214.42 824.74 218.92 834.93 214.04 836.01 C 213.96 799.23 214.81 762.38 211.44 725.73 C 211.17 722.83 211.02 720.07 210.80 717.22 C 210.89 711.56 210.99 705.92 210.83 700.29 C 210.93 698.92 211.04 697.56 211.15 696.20 Z$#7b7573@M 425.19 266.19 C 426.91 265.68 429.87 267.07 429.78 269.08 C 427.96 268.68 425.93 268.10 425.19 266.19 Z$#88807d@M 477.06 274.74 C 469.99 272.69 482.40 271.92 485.05 270.14 L 485.23 271.13 C 484.07 271.78 482.90 272.40 481.77 273.10 C 481.47 273.27 480.89 273.61 480.60 273.78 C 479.41 274.10 478.23 274.41 477.06 274.74 Z$#3a201d@M 485.23 271.13 C 487.37 270.81 489.50 270.37 491.60 269.83 C 492.90 279.05 500.91 286.23 504.04 294.96 C 507.84 300.03 503.49 307.51 507.69 312.20 C 507.57 314.50 507.40 316.82 507.18 319.13 C 506.75 319.33 505.89 319.73 505.46 319.94 C 503.89 322.09 504.60 326.45 501.88 328.83 C 483.79 349.34 462.39 368.03 448.65 391.77 C 447.41 395.45 448.09 399.19 449.23 402.74 C 448.22 412.12 450.81 423.24 458.58 429.06 C 458.95 429.23 459.70 429.57 460.08 429.74 C 455.06 431.68 450.18 433.97 445.31 436.25 C 441.33 431.95 435.00 431.05 430.79 427.04 C 433.48 427.51 435.95 428.71 438.55 429.47 C 439.87 427.61 441.61 426.19 443.80 425.50 C 443.04 422.17 441.12 419.23 439.88 416.08 C 438.80 411.64 438.19 407.12 437.29 402.65 C 437.11 397.76 436.73 392.81 437.73 387.99 L 438.13 387.12 C 438.39 387.36 438.91 387.84 439.17 388.07 C 436.21 403.36 440.96 419.66 450.11 432.05 C 451.40 431.80 452.65 431.37 453.88 430.91 C 445.82 419.17 443.07 404.30 445.10 390.31 C 459.67 364.99 483.64 346.85 500.02 323.05 C 496.07 322.59 492.67 324.14 489.93 326.89 C 491.93 323.84 489.60 323.54 486.80 323.85 C 490.23 324.44 491.96 323.48 492.00 320.97 C 492.05 320.42 492.13 319.32 492.18 318.78 L 492.98 318.91 C 492.74 322.85 497.72 320.15 499.91 319.76 C 500.87 316.94 497.97 316.45 496.00 315.66 L 495.97 314.81 C 506.93 317.23 501.56 306.15 501.89 300.02 C 499.11 291.21 493.61 283.56 489.65 275.26 C 487.37 275.32 485.13 275.60 482.91 276.10 C 484.13 279.17 485.69 282.09 486.92 285.18 C 486.47 284.83 485.57 284.13 485.13 283.78 C 483.92 281.39 482.55 279.09 481.22 276.77 C 481.06 276.03 480.75 274.53 480.60 273.78 C 480.89 273.61 481.47 273.27 481.77 273.10 C 481.79 276.87 489.52 275.18 489.06 272.04 C 486.61 272.27 484.20 272.76 481.77 273.10 C 482.90 272.40 484.07 271.78 485.23 271.13 M 445.36 427.94 C 444.86 430.69 441.35 433.73 446.10 433.93 C 451.07 434.31 447.12 429.64 445.36 427.94 Z$#9e9495@M 491.60 269.83 L 492.60 270.21 C 499.47 279.50 503.59 290.50 510.21 299.93 C 518.40 299.80 525.41 294.96 533.18 292.99 C 526.64 299.71 517.38 302.61 509.72 307.65 C 508.15 308.70 510.24 309.54 511.00 310.18 C 509.89 310.83 508.77 311.49 507.69 312.20 C 503.49 307.51 507.84 300.03 504.04 294.96 C 500.91 286.23 492.90 279.05 491.60 269.83 Z$#605957@M 431.16 270.87 C 432.85 276.03 431.61 281.83 431.77 287.21 C 431.39 283.53 431.10 279.86 430.88 276.18 C 430.96 274.41 431.08 272.64 431.16 270.87 Z$#b3111c@M 481.77 273.10 C 484.20 272.76 486.61 272.27 489.06 272.04 C 489.52 275.18 481.79 276.87 481.77 273.10 Z$#1f1e1b@M 623.15 271.87 C 623.66 271.84 624.69 271.79 625.20 271.77 C 628.27 275.28 630.30 279.59 633.39 283.10 C 636.51 285.61 634.04 288.99 631.18 285.81 C 629.44 283.15 627.92 274.31 624.26 277.22 C 628.53 297.43 636.34 316.67 644.30 335.66 C 654.08 365.34 669.14 392.76 681.84 421.21 C 685.63 426.61 686.25 435.52 693.15 438.04 C 690.67 427.49 683.22 418.72 680.30 408.23 C 681.31 407.05 682.46 405.99 683.57 404.91 C 694.79 423.28 702.61 443.72 715.26 461.34 C 704.12 465.21 708.43 447.43 697.81 448.09 C 700.09 458.16 705.13 467.36 711.63 475.34 C 721.14 490.67 726.16 508.92 738.97 522.16 C 738.99 520.76 735.86 515.34 738.48 517.52 C 744.75 527.15 750.17 537.39 756.51 546.96 C 759.53 542.31 757.43 552.05 761.33 552.74 C 765.65 554.58 762.63 549.09 762.99 546.81 C 768.10 552.29 767.71 561.76 774.93 565.30 C 775.63 554.26 767.08 545.22 766.50 534.68 C 775.01 547.74 780.63 564.10 781.95 579.99 C 782.00 582.72 781.97 585.60 782.63 588.32 C 783.11 590.09 783.00 591.94 782.75 593.74 C 782.07 598.12 781.99 602.58 781.97 607.02 C 781.96 620.75 774.92 633.06 767.56 644.18 C 767.42 643.64 767.15 642.55 767.02 642.01 C 768.06 635.75 769.53 629.57 770.31 623.27 C 771.21 618.12 771.25 612.84 770.29 607.72 C 769.91 605.17 769.29 602.77 769.39 600.25 C 769.50 586.26 764.58 572.60 759.29 559.72 C 758.88 557.87 756.73 558.15 755.38 557.50 C 740.71 530.88 724.95 504.88 709.05 478.97 C 681.50 437.97 656.57 394.96 639.16 348.63 C 637.76 356.00 642.45 362.34 643.77 369.32 C 658.28 398.02 671.45 427.57 689.95 454.05 C 704.48 476.13 714.98 500.99 731.35 521.68 C 740.01 534.41 745.74 548.80 752.32 562.67 C 754.23 565.41 750.70 565.08 748.83 565.57 C 735.95 556.01 721.86 546.58 706.07 541.89 C 701.92 540.85 703.38 535.49 701.44 532.73 C 694.07 513.36 686.11 493.77 675.91 475.88 C 681.58 497.36 692.75 517.30 698.12 538.82 C 685.24 535.20 672.34 531.58 659.26 528.75 C 652.78 516.83 650.90 501.61 644.87 489.96 C 646.88 502.42 650.90 514.54 653.06 527.00 C 639.60 523.91 626.40 519.92 613.22 515.83 C 611.85 506.63 611.06 497.34 609.87 488.11 C 607.18 495.08 609.99 506.32 610.01 515.04 C 601.27 509.60 591.90 504.90 583.64 498.81 C 582.58 497.39 581.54 495.95 580.42 494.59 L 579.88 493.80 C 581.75 490.62 583.50 487.38 585.24 484.13 C 588.05 479.26 590.29 474.09 592.98 469.16 C 594.40 470.01 595.93 469.88 596.89 468.45 C 614.98 454.26 622.36 431.74 629.94 410.97 C 636.26 391.16 638.98 370.18 637.82 349.41 C 636.47 348.94 635.11 348.56 633.76 348.16 C 637.69 349.05 637.25 346.28 635.35 344.01 C 630.78 337.88 625.86 332.02 621.07 326.08 C 620.40 323.90 618.92 322.17 617.21 320.74 C 615.40 317.80 609.67 315.93 610.76 311.95 C 613.45 311.06 616.30 310.65 619.03 309.79 C 613.60 299.93 607.37 290.50 602.67 280.25 C 602.96 279.92 603.54 279.25 603.82 278.91 C 606.66 283.28 610.98 288.70 616.94 285.52 C 619.00 283.97 619.83 281.45 620.45 279.05 C 621.07 276.56 621.87 274.11 623.15 271.87 Z$#1f1e1b@M 250.93 848.03 C 259.51 860.74 262.67 876.18 264.80 891.14 C 272.16 925.82 278.86 960.71 290.63 994.24 C 294.35 1021.07 294.21 1048.30 297.74 1075.16 C 297.93 1077.52 299.23 1090.05 294.96 1082.99 C 291.51 1073.60 291.03 1063.28 288.55 1053.56 C 290.01 1045.88 286.16 1048.99 286.89 1051.93 C 285.07 1042.71 282.71 1030.38 280.13 1019.90 C 266.75 963.27 258.22 905.69 250.93 848.03 Z$#e1dede@M 477.06 274.74 C 478.23 274.41 479.41 274.10 480.60 273.78 C 480.75 274.53 481.06 276.03 481.22 276.77 C 480.70 276.96 479.67 277.33 479.16 277.51 C 470.92 278.02 463.60 283.89 455.05 284.21 C 455.33 284.51 455.89 285.11 456.17 285.41 C 453.01 285.81 449.90 286.06 446.75 286.37 C 446.54 286.11 446.13 285.59 445.92 285.33 C 449.23 285.59 447.34 281.99 444.98 283.03 C 443.71 280.90 441.67 278.84 441.97 276.17 C 442.43 275.86 443.35 275.24 443.81 274.93 C 443.32 278.64 446.10 281.47 449.34 282.73 C 459.16 282.74 468.19 278.50 477.06 274.74 Z$#ac151e@M 482.91 276.10 C 485.13 275.60 487.37 275.32 489.65 275.26 C 493.61 283.56 499.11 291.21 501.89 300.02 C 501.56 306.15 506.93 317.23 495.97 314.81 C 495.94 314.35 495.88 313.44 495.85 312.98 L 495.84 312.18 C 498.82 302.97 494.62 293.37 487.96 286.98 C 487.70 286.53 487.18 285.63 486.92 285.18 C 485.69 282.09 484.13 279.17 482.91 276.10 Z$#948a8a@M 547.36 287.34 C 549.48 283.63 547.49 276.22 551.84 274.90 C 550.61 287.37 549.17 299.82 547.69 312.28 C 545.98 311.56 544.38 310.61 542.80 309.65 C 542.24 309.05 541.68 308.46 541.13 307.87 C 541.18 300.61 545.31 294.17 547.36 287.34 Z$#d6d0cf@M 573.18 274.74 C 574.53 279.63 577.56 295.23 578.26 280.78 C 577.67 286.27 582.69 294.64 578.21 299.07 C 575.82 291.19 573.31 283.02 573.18 274.74 Z$#a29b9a@M 455.05 284.21 C 463.60 283.89 470.92 278.02 479.16 277.51 C 471.81 280.96 464.19 283.95 456.17 285.41 C 455.89 285.11 455.33 284.51 455.05 284.21 Z$#a29b9a@M 322.25 435.93 C 323.52 437.36 323.37 439.36 322.84 441.08 C 321.40 439.70 321.62 437.62 322.25 435.93 Z$#7b1f22@M 398.19 280.76 C 397.19 278.31 398.71 277.58 401.00 277.89 C 406.71 282.50 413.00 286.43 418.09 291.78 C 419.50 296.24 432.08 301.02 423.05 302.08 C 415.00 294.74 406.65 287.66 398.19 280.76 Z$#554e4c@M 408.84 278.04 C 410.63 278.57 412.37 279.27 414.13 279.93 C 419.50 284.48 425.12 288.77 430.74 293.00 C 431.08 291.60 431.38 290.19 431.69 288.79 C 431.53 290.45 431.22 293.79 431.07 295.45 C 423.38 290.03 416.31 283.76 408.84 278.04 Z$#c9c4c3@M 616.94 285.52 C 614.90 283.39 618.09 277.28 620.45 279.05 C 619.83 281.45 619.00 283.97 616.94 285.52 Z$#9a9191@M 254.10 283.86 C 259.71 278.69 270.79 277.87 272.17 287.03 C 268.86 286.53 265.52 284.15 262.29 286.22 C 250.43 288.99 237.87 288.72 227.02 295.07 C 229.75 291.51 232.65 288.07 235.78 284.85 C 242.17 283.96 248.14 279.48 254.10 283.86 Z$#dedada@M 639.00 280.15 C 640.84 279.98 640.64 283.16 639.51 283.98 C 638.92 282.79 638.79 281.45 639.00 280.15 Z$#a09697@M 380.04 287.03 C 385.30 287.30 390.42 286.03 393.69 281.78 C 397.26 284.71 400.66 287.82 404.11 290.91 C 402.87 290.58 401.64 290.25 400.42 289.90 C 399.08 287.71 394.71 285.08 393.99 289.10 C 392.82 292.61 396.73 293.29 399.28 293.54 C 397.18 293.79 388.53 296.22 391.68 292.59 C 396.02 286.37 384.02 289.00 379.98 288.00 L 380.04 287.03 Z$#888382@M 444.98 283.03 C 447.34 281.99 449.23 285.59 445.92 285.33 C 445.69 284.76 445.22 283.61 444.98 283.03 Z$#ada3a4@M 485.13 283.78 C 485.57 284.13 486.47 284.83 486.92 285.18 C 487.18 285.63 487.70 286.53 487.96 286.98 C 488.64 289.01 489.31 291.04 489.89 293.11 C 487.09 290.78 486.29 287.05 485.13 283.78 Z$#a19798@M 526.85 302.00 C 533.40 296.18 543.14 293.02 545.83 283.80 C 545.95 284.29 546.18 285.29 546.30 285.78 C 544.08 294.62 534.78 299.05 526.85 302.00 Z$#dcdad9@M 639.51 283.98 C 642.02 284.66 642.08 288.99 641.63 291.31 C 640.83 288.89 640.11 286.45 639.51 283.98 Z$#514c49@M 546.30 285.78 C 546.56 286.17 547.09 286.95 547.36 287.34 C 545.31 294.17 541.18 300.61 541.13 307.87 C 537.46 310.97 542.54 297.81 540.04 297.16 C 536.38 299.23 532.81 301.48 529.19 303.61 C 526.56 305.16 523.93 306.73 521.27 308.22 C 518.77 308.75 516.28 309.64 513.71 309.34 C 517.89 306.55 522.38 304.29 526.85 302.00 C 534.78 299.05 544.08 294.62 546.30 285.78 Z$#cec9c8@M 368.77 287.18 C 372.53 287.05 376.26 287.00 380.04 287.03 L 379.98 288.00 C 376.22 287.95 372.48 287.67 368.77 287.18 Z$#cec9c8@M 350.07 380.10 C 352.32 382.13 355.52 383.87 356.16 387.06 C 353.62 385.28 351.24 383.26 348.87 381.30 C 349.17 381.00 349.77 380.40 350.07 380.10 Z$#5c5147@M 393.99 289.10 C 394.71 285.08 399.08 287.71 400.42 289.90 C 400.11 291.14 399.73 292.35 399.28 293.54 C 396.73 293.29 392.82 292.61 393.99 289.10 M 396.14 288.40 C 395.11 293.82 401.84 288.98 396.14 288.40 Z$#5d3a37@M 487.96 286.98 C 494.62 293.37 498.82 302.97 495.84 312.18 C 494.93 308.16 495.94 303.68 494.21 299.88 C 493.52 298.57 492.74 297.33 491.99 296.07 C 492.36 294.62 491.48 293.08 489.89 293.11 C 489.31 291.04 488.64 289.01 487.96 286.98 Z$#e3d1c5@M 396.14 288.40 C 401.84 288.98 395.11 293.82 396.14 288.40 Z$#b6b0af@M 277.78 289.38 C 279.61 289.33 283.29 289.23 285.13 289.18 C 283.42 291.50 279.92 290.99 277.78 289.38 Z$#dad7d7@M 641.63 291.31 C 644.03 292.42 645.16 298.12 644.67 301.30 C 643.46 298.03 642.34 294.72 641.63 291.31 Z$#a99fa1@M 489.89 293.11 C 491.48 293.08 492.36 294.62 491.99 296.07 C 490.61 295.74 489.69 294.53 489.89 293.11 Z$#a19898@M 409.22 295.25 C 412.37 297.59 415.48 300.04 418.25 302.84 C 408.34 300.08 397.00 298.78 387.94 296.01 C 395.03 295.89 402.17 296.26 409.22 295.25 Z$#6c6361@M 529.19 303.61 C 532.81 301.48 536.38 299.23 540.04 297.16 C 542.54 297.81 537.46 310.97 541.13 307.87 C 541.68 308.46 542.24 309.05 542.80 309.65 C 541.95 316.43 554.76 311.63 553.16 317.86 C 543.31 319.72 536.68 307.56 527.80 308.77 C 523.44 307.17 530.73 306.10 529.19 303.61 Z$#6c6361@M 513.71 309.34 C 516.28 309.64 518.77 308.75 521.27 308.22 C 518.28 312.01 509.48 313.03 510.74 318.51 C 509.55 318.70 508.35 318.90 507.18 319.13 C 507.40 316.82 507.57 314.50 507.69 312.20 C 508.77 311.49 509.89 310.83 511.00 310.18 C 511.89 309.87 512.79 309.59 513.71 309.34 Z$#6c6361@M 258.75 699.85 C 267.11 696.69 272.22 689.35 278.67 683.79 C 279.43 686.35 280.00 688.98 279.96 691.68 C 271.38 701.16 263.82 712.75 250.88 716.93 C 252.02 710.63 255.85 705.40 258.75 699.85 Z$#9a9192@M 454.85 304.35 C 456.68 302.53 457.67 299.72 460.28 298.85 C 461.68 301.17 463.18 303.96 462.81 306.72 C 460.43 311.25 457.40 306.80 454.83 304.93 L 454.85 304.35 Z$#968b8c@M 429.96 300.59 C 438.90 300.34 452.57 301.94 452.93 313.06 C 451.14 313.18 449.35 313.34 447.56 313.34 C 444.69 312.96 442.32 314.91 439.94 316.17 L 439.36 315.86 C 440.74 311.40 434.87 308.75 432.13 305.95 C 429.77 304.23 426.79 303.90 423.96 303.78 C 425.87 302.55 427.89 301.51 429.96 300.59 Z$#a49b9c@M 494.21 299.88 C 495.94 303.68 494.93 308.16 495.84 312.18 L 495.85 312.98 C 488.16 313.46 480.88 317.21 473.00 316.01 C 472.74 317.81 462.07 313.74 467.93 314.03 C 477.16 312.12 495.17 312.80 494.21 299.88 Z$#d4d1d0@M 644.67 301.30 C 647.28 303.42 648.58 309.85 649.05 314.00 C 646.62 310.17 645.74 305.63 644.67 301.30 Z$#7b7370@M 419.33 304.05 C 419.58 304.54 420.10 305.53 420.35 306.02 C 415.98 309.74 411.30 313.40 408.33 318.42 C 407.62 324.45 412.08 329.32 414.96 334.23 C 418.70 331.59 421.67 327.83 425.93 325.97 C 414.30 339.36 395.85 348.86 389.88 366.17 C 395.58 369.50 401.70 372.07 408.01 374.04 C 413.55 379.04 420.89 382.29 428.11 384.04 C 429.15 385.71 431.05 386.46 432.97 385.97 C 434.53 386.69 436.11 387.39 437.73 387.99 C 436.73 392.81 437.11 397.76 437.29 402.65 C 437.12 403.03 436.79 403.78 436.62 404.15 C 435.00 401.30 431.61 401.53 429.66 403.84 C 422.19 408.86 412.32 405.90 404.29 402.69 C 394.40 393.78 398.80 379.62 392.60 369.19 C 391.33 370.08 390.17 371.12 389.00 372.13 C 388.78 369.64 388.54 367.17 388.28 364.71 C 393.57 352.71 404.78 344.90 412.93 335.06 C 411.04 329.90 407.31 325.41 406.03 320.08 C 407.56 316.20 410.30 312.96 412.43 309.41 C 413.78 306.26 418.79 307.81 419.33 304.05 Z$#c4bdbd@M 422.67 304.60 C 423.00 304.39 423.64 303.98 423.96 303.78 C 426.79 303.90 429.77 304.23 432.13 305.95 C 428.95 305.67 425.82 305.08 422.67 304.60 Z$#958c8c@M 521.27 308.22 C 523.93 306.73 526.56 305.16 529.19 303.61 C 530.73 306.10 523.44 307.17 527.80 308.77 C 520.60 309.59 517.02 316.35 510.74 318.51 C 509.48 313.03 518.28 312.01 521.27 308.22 Z$#9c9293@M 527.80 308.77 C 536.68 307.56 543.31 319.72 553.16 317.86 C 553.74 318.61 554.34 319.36 554.93 320.12 C 545.58 316.78 536.57 319.79 527.25 320.83 C 520.10 318.39 512.28 323.26 505.46 319.94 C 505.89 319.73 506.75 319.33 507.18 319.13 C 508.35 318.90 509.55 318.70 510.74 318.51 C 518.54 318.61 526.29 316.83 534.01 315.85 C 531.98 313.45 529.80 311.18 527.80 308.77 Z$#efeded@M 510.74 318.51 C 517.02 316.35 520.60 309.59 527.80 308.77 C 529.80 311.18 531.98 313.45 534.01 315.85 C 526.29 316.83 518.54 318.61 510.74 318.51 Z$#efeded@M 277.99 418.99 C 280.29 422.09 278.93 429.42 278.64 434.34 C 277.32 429.33 278.17 424.07 277.99 418.99 Z$#766b6c@M 215.05 311.83 C 216.82 312.12 218.57 312.51 220.32 312.94 C 219.06 313.40 216.54 314.32 215.28 314.77 C 233.61 321.97 252.36 328.73 271.70 332.62 C 277.43 330.45 282.73 336.92 288.08 334.09 C 292.34 331.65 279.67 330.47 286.19 329.61 C 296.34 333.15 307.61 335.86 314.80 344.50 C 315.87 349.30 318.37 356.78 324.38 357.69 C 327.08 361.08 329.46 364.75 331.27 368.70 C 333.93 379.19 342.28 387.42 344.07 398.19 C 338.20 392.38 338.20 382.43 331.93 376.82 C 333.77 383.28 338.20 388.68 340.09 395.13 C 330.39 390.45 321.79 383.59 312.97 377.40 C 317.00 376.58 310.91 371.30 308.83 369.90 C 310.00 372.51 311.80 374.78 312.97 377.40 C 307.54 375.23 303.26 369.50 296.81 371.63 C 294.91 371.34 293.20 370.46 291.76 369.21 C 292.35 369.16 293.51 369.04 294.09 368.98 C 295.58 369.26 298.56 369.81 300.05 370.09 C 297.30 365.57 295.17 360.75 292.92 355.98 C 299.01 358.99 302.63 365.18 308.20 368.95 C 306.17 365.00 302.36 362.47 299.92 358.83 C 302.74 359.76 310.22 367.29 305.21 360.74 C 287.41 344.56 261.39 331.09 237.13 340.16 C 229.59 341.43 229.72 349.67 227.26 355.32 C 221.25 345.51 220.69 333.06 214.11 323.70 C 214.61 319.85 213.04 315.39 215.05 311.83 Z$#6a6260@M 589.76 314.29 C 596.78 319.03 604.24 315.48 610.76 311.95 C 609.67 315.93 615.40 317.80 617.21 320.74 C 615.72 320.91 614.24 321.09 612.76 321.26 C 611.59 320.76 610.42 320.27 609.25 319.81 C 606.02 318.15 602.23 317.65 598.72 318.60 C 591.76 318.79 584.08 318.83 578.33 323.38 C 572.02 329.56 561.65 327.06 556.04 321.13 C 556.30 320.87 556.82 320.34 557.08 320.08 C 559.28 321.56 561.55 322.97 564.06 323.88 L 564.89 324.18 C 567.99 325.48 571.42 325.04 574.68 324.85 C 579.47 320.87 581.50 311.22 589.76 314.29 Z$#7f7575@M 220.32 312.94 C 222.61 313.17 224.91 313.42 227.21 313.70 C 224.22 313.16 218.73 315.96 227.56 315.57 C 238.32 315.75 248.83 322.45 259.39 321.13 C 268.36 323.83 277.33 326.55 286.19 329.61 C 279.67 330.47 292.34 331.65 288.08 334.09 C 282.73 336.92 277.43 330.45 271.70 332.62 C 252.36 328.73 233.61 321.97 215.28 314.77 C 216.54 314.32 219.06 313.40 220.32 312.94 Z$#d3cdcd@M 447.56 313.34 C 449.35 313.34 451.14 313.18 452.93 313.06 C 454.34 313.67 455.74 314.28 457.16 314.90 C 459.90 317.93 457.97 318.12 454.81 317.58 C 452.32 316.31 449.67 315.22 447.56 313.34 Z$#d3cdcd@M 280.92 358.61 C 284.56 357.24 288.28 356.06 291.98 354.85 C 292.22 355.14 292.68 355.70 292.92 355.98 C 295.17 360.75 297.30 365.57 300.05 370.09 C 298.56 369.81 295.58 369.26 294.09 368.98 C 291.82 363.68 285.57 361.28 280.92 358.61 Z$#5a5351@M 227.56 315.57 C 218.73 315.96 224.22 313.16 227.21 313.70 C 238.08 315.42 248.75 318.30 259.39 321.13 C 248.83 322.45 238.32 315.75 227.56 315.57 Z$#a39a9a@M 456.87 314.05 C 460.45 316.93 464.52 319.23 469.17 319.87 C 468.54 320.07 467.27 320.47 466.64 320.68 C 466.22 320.82 465.38 321.11 464.96 321.25 C 470.89 325.74 477.99 329.11 485.23 331.25 L 484.97 331.97 C 483.67 333.06 482.38 334.15 481.11 335.25 C 472.14 329.67 463.76 323.18 454.81 317.58 C 457.97 318.12 459.90 317.93 457.16 314.90 L 456.87 314.05 Z$#a6a0a0@M 435.12 318.94 C 435.65 317.01 437.29 315.65 439.36 315.86 L 439.94 316.17 C 438.64 317.54 437.12 318.89 435.12 318.94 Z$#a51820@M 492.68 316.74 C 493.78 316.36 494.88 316.00 496.00 315.66 C 497.97 316.45 500.87 316.94 499.91 319.76 C 497.72 320.15 492.74 322.85 492.98 318.91 C 492.91 318.37 492.75 317.28 492.68 316.74 Z$#cdc7c7@M 435.02 324.05 C 436.96 320.45 441.14 317.87 445.08 316.96 C 442.58 319.88 438.85 322.74 435.02 324.05 Z$#cdc7c7@M 500.46 733.58 C 499.62 727.92 499.76 721.29 503.91 716.88 C 502.85 722.04 502.58 727.35 503.49 732.59 C 513.69 787.75 524.60 842.95 537.08 897.54 C 536.36 899.12 535.57 900.68 534.81 902.25 C 522.30 846.48 510.85 789.98 500.46 733.58 Z$#7a716e@M 469.17 319.87 C 477.17 320.48 484.83 317.72 492.68 316.74 C 492.75 317.28 492.91 318.37 492.98 318.91 L 492.18 318.78 C 488.89 318.37 485.51 319.28 482.56 320.69 C 485.61 320.82 488.89 321.06 492.00 320.97 C 491.96 323.48 490.23 324.44 486.80 323.85 C 481.72 324.59 476.78 323.15 471.73 323.21 C 469.96 322.52 468.31 321.56 466.64 320.68 C 467.27 320.47 468.54 320.07 469.17 319.87 Z$#e4e1e0@M 482.56 320.69 C 485.51 319.28 488.89 318.37 492.18 318.78 C 492.13 319.32 492.05 320.42 492.00 320.97 C 488.89 321.06 485.61 320.82 482.56 320.69 Z$#bcb5b4@M 598.72 318.60 C 602.23 317.65 606.02 318.15 609.25 319.81 C 605.71 319.82 602.17 319.13 598.72 318.60 Z$#888381@M 425.93 325.97 C 428.51 323.08 431.39 320.24 435.12 318.94 C 432.59 321.87 429.68 324.74 425.93 325.97 Z$#888381@M 289.47 1178.99 C 290.10 1180.17 290.18 1181.53 290.01 1182.87 C 288.17 1182.97 288.38 1179.83 289.47 1178.99 Z$#756c6a@M 501.88 328.83 C 504.60 326.45 503.89 322.09 505.46 319.94 C 512.28 323.26 520.10 318.39 527.25 320.83 C 524.95 321.41 522.64 322.00 520.30 322.41 C 516.74 322.25 513.13 321.51 509.68 322.61 C 499.08 326.65 518.48 323.43 521.49 324.84 C 519.66 334.19 508.22 327.38 501.88 328.83 Z$#f1eff0@M 464.96 321.25 C 465.38 321.11 466.22 320.82 466.64 320.68 C 468.31 321.56 469.96 322.52 471.73 323.21 C 477.03 325.67 483.51 324.66 488.44 328.01 C 487.35 329.08 486.29 330.16 485.23 331.25 C 477.99 329.11 470.89 325.74 464.96 321.25 Z$#938a8a@M 612.76 321.26 C 614.24 321.09 615.72 320.91 617.21 320.74 C 618.92 322.17 620.40 323.90 621.07 326.08 C 618.26 324.49 615.51 322.88 612.76 321.26 Z$#b3abac@M 509.68 322.61 C 513.13 321.51 516.74 322.25 520.30 322.41 C 516.83 323.34 513.18 322.79 509.68 322.61 Z$#b1141d@M 489.93 326.89 C 492.67 324.14 496.07 322.59 500.02 323.05 C 483.64 346.85 459.67 364.99 445.10 390.31 C 443.11 389.58 441.12 388.87 439.17 388.07 C 438.91 387.84 438.39 387.36 438.13 387.12 C 439.03 385.15 440.39 383.43 441.83 381.83 C 443.91 379.86 445.59 377.58 446.85 375.00 C 448.83 373.83 450.53 372.24 451.03 369.90 C 451.21 369.63 451.58 369.09 451.77 368.82 C 454.33 367.07 457.09 365.18 458.00 362.04 C 459.88 360.76 461.57 359.17 462.00 356.83 C 462.57 356.16 463.14 355.50 463.73 354.85 C 466.54 352.61 470.22 350.69 470.99 346.86 C 471.87 345.82 472.78 344.82 473.72 343.83 C 477.70 340.27 483.23 337.32 484.97 331.97 L 485.23 331.25 C 486.29 330.16 487.35 329.08 488.44 328.01 C 488.81 327.73 489.56 327.17 489.93 326.89 Z$#827777@M 214.11 323.70 C 220.69 333.06 221.25 345.51 227.26 355.32 C 225.59 361.95 224.22 368.68 222.22 375.23 C 215.71 359.00 213.68 341.08 214.11 323.70 Z$#cfc9c9@M 427.87 330.03 C 430.01 327.95 431.60 323.99 435.02 324.05 C 432.94 326.21 431.28 329.99 427.87 330.03 Z$#784646@M 481.11 335.25 C 482.38 334.15 483.67 333.06 484.97 331.97 C 483.23 337.32 477.70 340.27 473.72 343.83 C 475.53 340.46 478.46 337.95 481.11 335.25 Z$#dacdc4@M 470.07 335.92 C 469.66 333.64 475.49 333.08 474.93 334.84 C 473.53 337.17 471.62 339.46 470.07 335.92 Z$#877363@M 470.07 335.92 C 471.62 339.46 473.53 337.17 474.93 334.84 C 478.38 336.27 474.15 342.59 470.97 340.09 C 468.77 339.50 468.59 337.41 470.07 335.92 Z$#484240@M 237.13 340.16 C 261.39 331.09 287.41 344.56 305.21 360.74 C 310.22 367.29 302.74 359.76 299.92 358.83 C 302.36 362.47 306.17 365.00 308.20 368.95 C 302.63 365.18 299.01 358.99 292.92 355.98 C 292.68 355.70 292.22 355.14 291.98 354.85 C 290.88 353.45 289.72 352.02 288.15 351.13 C 286.17 349.93 284.18 348.76 282.15 347.66 C 269.16 339.33 251.89 335.16 237.43 341.88 C 235.01 342.18 232.98 343.85 232.04 346.07 C 227.53 355.83 226.64 366.69 223.77 376.96 L 222.92 377.12 C 222.75 376.64 222.40 375.70 222.22 375.23 C 224.22 368.68 225.59 361.95 227.26 355.32 C 229.72 349.67 229.59 341.43 237.13 340.16 Z$#847979@M 237.43 341.88 C 251.89 335.16 269.16 339.33 282.15 347.66 C 279.36 348.89 276.60 350.20 273.93 351.66 L 273.15 352.07 C 261.70 347.13 249.74 343.63 237.43 341.88 Z$#988e8e@M 232.04 346.07 C 232.98 343.85 235.01 342.18 237.43 341.88 C 249.74 343.63 261.70 347.13 273.15 352.07 C 266.28 356.61 258.93 360.40 252.11 365.02 C 249.61 366.67 250.13 369.94 250.00 372.59 L 249.29 372.66 C 245.15 370.27 243.52 374.41 242.46 377.69 C 236.44 378.89 230.29 379.26 224.19 379.87 C 224.09 379.14 223.88 377.69 223.77 376.96 C 226.64 366.69 227.53 355.83 232.04 346.07 Z$#988e8e@M 613.95 895.99 C 635.11 885.15 655.05 872.06 674.92 859.06 C 675.82 864.16 677.12 869.18 677.96 874.31 C 660.89 886.69 641.56 895.91 623.95 907.05 C 623.03 908.24 621.54 908.82 620.08 908.95 C 617.91 909.15 615.90 909.96 613.99 910.93 C 613.99 905.92 613.96 900.97 613.95 895.99 Z$#afa9a8@M 635.35 344.01 C 637.25 346.28 637.69 349.05 633.76 348.16 C 632.10 348.18 630.46 348.30 628.83 348.51 C 627.14 348.67 625.45 348.77 623.78 348.87 C 627.26 346.43 632.93 347.40 635.35 344.01 Z$#595150@M 324.38 357.69 C 318.37 356.78 315.87 349.30 314.80 344.50 C 315.13 344.79 315.79 345.38 316.12 345.67 C 318.74 349.76 321.46 353.80 324.38 357.69 Z$#9b9092@M 316.12 345.67 C 329.76 354.65 338.64 368.75 350.07 380.10 C 349.77 380.40 349.17 381.00 348.87 381.30 C 344.61 378.10 340.79 374.20 336.05 371.73 C 343.40 381.40 354.26 387.59 362.83 396.11 C 372.80 400.37 384.56 397.52 395.18 399.79 C 396.31 401.51 397.43 403.25 398.71 404.87 C 403.94 409.41 404.35 416.51 408.19 421.90 C 394.62 420.89 381.17 416.74 369.62 409.54 C 369.11 406.75 366.41 406.90 364.15 406.98 L 363.23 406.94 C 362.04 406.34 360.85 405.75 359.69 405.11 C 365.61 405.41 371.46 406.48 377.39 406.70 C 368.40 404.00 358.89 403.27 349.72 401.28 C 348.26 400.44 346.10 400.10 345.86 398.12 C 342.40 387.69 337.04 378.00 331.27 368.70 C 329.46 364.75 327.08 361.08 324.38 357.69 C 321.46 353.80 318.74 349.76 316.12 345.67 Z$\",\"#9b9092@M 599.03 450.01 C 600.65 446.37 604.12 444.26 607.26 442.11 C 603.19 451.47 597.89 460.22 592.98 469.16 C 590.29 474.09 588.05 479.26 585.24 484.13 C 578.37 489.25 573.45 496.43 568.24 503.13 C 560.98 509.19 555.07 516.73 547.25 522.25 C 535.96 531.95 525.71 544.06 511.29 549.20 C 502.01 551.04 492.67 552.57 483.40 554.44 C 466.82 561.47 450.30 568.75 433.62 575.59 C 408.14 586.49 381.31 593.57 355.01 602.03 C 347.50 603.61 340.00 606.40 332.21 605.95 C 332.11 605.21 331.92 603.72 331.82 602.97 C 359.01 600.25 384.76 589.89 410.63 581.59 C 429.99 574.46 448.61 565.51 467.71 557.75 C 487.34 548.62 510.51 540.60 520.97 520.00 C 524.10 513.21 528.18 506.39 529.06 498.89 C 526.52 499.15 524.61 500.92 522.88 502.61 C 521.25 504.03 519.54 505.36 517.87 506.73 C 516.18 508.07 514.50 509.44 512.85 510.84 C 503.42 517.80 493.27 523.74 484.35 531.39 C 481.24 533.51 476.97 537.99 472.98 535.00 C 467.11 530.31 460.94 525.57 456.80 519.20 C 456.62 511.40 457.91 503.40 456.33 495.71 C 453.72 482.21 449.29 469.02 441.03 457.86 C 445.91 458.26 450.62 459.72 455.39 460.78 C 454.25 461.59 453.11 462.41 452.04 463.30 C 468.44 479.61 487.76 492.97 508.28 503.61 C 516.62 499.56 524.67 494.66 531.85 488.80 C 531.71 484.96 531.10 481.19 531.19 477.35 C 543.70 470.92 556.14 464.33 568.35 457.35 C 570.92 455.77 571.95 458.94 571.95 460.98 C 571.20 471.16 568.87 481.15 565.79 490.85 C 563.34 498.51 556.31 504.14 554.86 512.08 C 575.24 496.40 586.99 472.29 599.03 450.01 Z$#703c3a@M 463.73 354.85 C 465.35 351.55 468.32 349.27 470.99 346.86 C 470.22 350.69 466.54 352.61 463.73 354.85 Z$#c7c0c0@M 273.93 351.66 C 276.60 350.20 279.36 348.89 282.15 347.66 C 284.18 348.76 286.17 349.93 288.15 351.13 C 285.12 352.94 282.24 355.00 279.13 356.66 C 278.21 354.30 276.36 352.44 273.93 351.66 Z$#756d6a@M 628.83 348.51 C 630.46 348.30 632.10 348.18 633.76 348.16 C 635.11 348.56 636.47 348.94 637.82 349.41 C 638.98 370.18 636.26 391.16 629.94 410.97 C 622.36 431.74 614.98 454.26 596.89 468.45 C 601.22 451.77 614.94 437.47 617.21 420.64 C 623.33 403.74 628.34 386.14 626.95 367.96 C 624.45 367.76 622.09 368.67 619.89 369.74 C 597.57 377.91 573.77 382.08 552.04 392.08 C 545.68 394.69 539.53 397.78 533.07 400.13 C 540.80 393.15 550.91 389.50 558.79 382.79 C 562.28 380.86 557.07 376.21 554.40 379.40 C 539.77 384.42 527.13 394.90 511.86 397.97 C 520.76 391.68 531.28 387.40 539.16 379.90 C 530.13 383.28 522.87 390.20 514.09 394.21 C 514.61 393.05 515.19 391.92 515.78 390.80 C 532.58 382.18 548.35 370.79 567.11 366.26 C 569.50 366.23 568.94 364.34 566.82 364.63 C 573.75 362.46 580.58 359.97 587.63 358.20 C 602.29 357.21 616.36 351.17 631.11 349.84 C 630.54 349.51 629.40 348.84 628.83 348.51 Z$#5d5854@M 587.63 358.20 C 599.35 353.96 611.72 351.93 623.78 348.87 C 625.45 348.77 627.14 348.67 628.83 348.51 C 629.40 348.84 630.54 349.51 631.11 349.84 C 616.36 351.17 602.29 357.21 587.63 358.20 Z$#181715@M 639.16 348.63 C 656.57 394.96 681.50 437.97 709.05 478.97 C 724.95 504.88 740.71 530.88 755.38 557.50 C 756.73 558.15 758.88 557.87 759.29 559.72 C 764.58 572.60 769.50 586.26 769.39 600.25 C 768.26 592.69 766.57 585.11 764.09 577.92 C 759.79 572.98 753.49 570.18 748.83 565.57 C 750.70 565.08 754.23 565.41 752.32 562.67 C 745.74 548.80 740.01 534.41 731.35 521.68 C 714.98 500.99 704.48 476.13 689.95 454.05 C 671.45 427.57 658.28 398.02 643.77 369.32 C 642.45 362.34 637.76 356.00 639.16 348.63 Z$#8f8686@M 288.15 351.13 C 289.72 352.02 290.88 353.45 291.98 354.85 C 288.28 356.06 284.56 357.24 280.92 358.61 C 277.24 360.11 273.60 361.73 269.83 362.99 C 272.07 359.85 275.90 358.53 279.13 356.66 C 282.24 355.00 285.12 352.94 288.15 351.13 Z$#f6f4f5@M 273.15 352.07 L 273.93 351.66 C 276.36 352.44 278.21 354.30 279.13 356.66 C 275.90 358.53 272.07 359.85 269.83 362.99 C 273.60 361.73 277.24 360.11 280.92 358.61 C 285.57 361.28 291.82 363.68 294.09 368.98 C 293.51 369.04 292.35 369.16 291.76 369.21 C 289.37 369.33 287.04 370.26 285.57 372.22 C 284.42 372.52 283.27 372.80 282.14 373.15 C 279.28 373.57 277.81 376.06 275.96 377.94 C 270.28 378.04 264.61 378.07 258.94 378.06 C 258.67 376.42 258.86 374.08 257.25 373.13 C 255.33 371.65 252.97 372.26 250.79 372.51 C 251.29 370.02 251.76 367.53 252.11 365.02 C 258.93 360.40 266.28 356.61 273.15 352.07 Z$#917f75@M 452.25 354.18 C 456.13 352.11 459.00 357.53 455.78 359.88 C 451.99 361.57 447.62 356.32 452.25 354.18 M 453.27 355.08 C 448.56 359.99 458.91 356.36 453.27 355.08 Z$#fae8d4@M 453.27 355.08 C 458.91 356.36 448.56 359.99 453.27 355.08 Z$#6d4543@M 458.00 362.04 C 458.55 359.78 460.21 358.18 462.00 356.83 C 461.57 359.17 459.88 360.76 458.00 362.04 Z$#925a4d@M 201.29 364.31 C 203.52 358.09 211.59 366.15 207.17 368.62 C 199.44 365.84 201.17 377.24 201.12 382.11 C 198.55 383.23 196.51 386.40 193.59 386.15 C 198.74 379.82 199.53 371.72 201.29 364.31 Z$#643835@M 451.77 368.82 C 453.25 366.06 455.53 363.92 458.00 362.04 C 457.09 365.18 454.33 367.07 451.77 368.82 Z$#c8c1c0@M 250.00 372.59 C 250.13 369.94 249.61 366.67 252.11 365.02 C 251.76 367.53 251.29 370.02 250.79 372.51 L 250.00 372.59 Z$#403e3a@M 388.28 364.71 C 388.54 367.17 388.78 369.64 389.00 372.13 C 388.21 380.98 393.50 388.91 394.31 397.22 C 391.15 390.93 388.99 384.20 387.65 377.30 C 387.79 373.39 387.93 369.53 387.99 365.63 L 388.28 364.71 Z$#524c49@M 531.12 380.09 C 542.50 373.86 554.38 368.39 566.82 364.63 C 568.94 364.34 569.50 366.23 567.11 366.26 C 548.35 370.79 532.58 382.18 515.78 390.80 C 520.58 386.81 526.00 383.66 531.12 380.09 Z$#bdb9b8@M 387.65 377.30 C 386.82 373.44 386.59 369.39 387.99 365.63 C 387.93 369.53 387.79 373.39 387.65 377.30 Z$#f7e8e4@M 201.12 382.11 C 201.17 377.24 199.44 365.84 207.17 368.62 C 210.24 371.67 210.17 376.30 209.83 380.31 C 207.78 380.76 205.74 381.24 203.70 381.73 C 203.06 381.83 201.77 382.02 201.12 382.11 Z$#a89ea0@M 619.89 369.74 C 622.09 368.67 624.45 367.76 626.95 367.96 C 628.34 386.14 623.33 403.74 617.21 420.64 C 616.27 422.89 615.35 425.15 614.31 427.36 C 611.70 428.43 609.14 427.66 606.91 426.18 C 603.50 428.08 600.41 430.51 597.18 432.69 C 571.16 445.73 542.24 455.27 512.81 453.95 C 518.83 451.61 515.45 450.12 510.77 449.23 C 528.47 449.72 543.67 439.33 560.00 433.98 C 566.43 431.07 573.38 429.05 579.30 425.09 C 578.51 424.38 577.70 423.69 576.88 423.04 C 587.62 425.28 594.31 415.32 600.43 408.38 C 609.03 396.86 617.31 384.07 619.89 369.74 Z$#524b48@M 331.27 368.70 C 337.04 378.00 342.40 387.69 345.86 398.12 C 346.10 400.10 348.26 400.44 349.72 401.28 C 353.97 403.57 358.04 407.41 363.23 406.94 L 364.15 406.98 C 363.40 407.58 362.67 408.21 361.97 408.87 C 374.16 415.86 386.20 423.22 399.10 428.89 C 402.60 430.51 406.52 429.18 410.02 428.21 C 413.88 429.36 416.53 434.48 415.05 438.20 C 383.00 423.66 352.57 405.84 322.96 386.89 C 319.24 383.87 315.73 380.28 311.01 378.86 C 307.88 376.82 305.01 374.37 301.65 372.73 C 300.08 372.20 298.40 372.06 296.81 371.63 C 303.26 369.50 307.54 375.23 312.97 377.40 C 321.79 383.59 330.39 390.45 340.09 395.13 C 338.20 388.68 333.77 383.28 331.93 376.82 C 338.20 382.43 338.20 392.38 344.07 398.19 C 342.28 387.42 333.93 379.19 331.27 368.70 Z$#706765@M 389.00 372.13 C 390.17 371.12 391.33 370.08 392.60 369.19 C 398.80 379.62 394.40 393.78 404.29 402.69 C 412.32 405.90 422.19 408.86 429.66 403.84 C 429.56 409.51 436.73 410.35 436.62 404.15 C 436.79 403.78 437.12 403.03 437.29 402.65 C 438.19 407.12 438.80 411.64 439.88 416.08 C 428.44 415.75 416.25 414.64 406.21 408.79 C 403.97 407.70 402.90 401.55 399.95 404.15 C 399.64 404.33 399.02 404.69 398.71 404.87 C 397.43 403.25 396.31 401.51 395.18 399.79 C 394.94 399.33 394.46 398.42 394.21 397.96 L 394.31 397.22 C 393.50 388.91 388.21 380.98 389.00 372.13 Z$#47413e@M 308.83 369.90 C 310.91 371.30 317.00 376.58 312.97 377.40 C 311.80 374.78 310.00 372.51 308.83 369.90 Z$#573a37@M 446.85 375.00 C 447.59 372.82 449.18 371.19 451.03 369.90 C 450.53 372.24 448.83 373.83 446.85 375.00 Z$#9b9192@M 552.04 392.08 C 573.77 382.08 597.57 377.91 619.89 369.74 C 617.31 384.07 609.03 396.86 600.43 408.38 C 594.31 415.32 587.62 425.28 576.88 423.04 C 572.13 422.98 567.43 423.05 562.71 423.30 C 556.47 421.16 543.40 423.14 545.09 413.25 C 556.54 404.31 568.94 395.89 582.31 389.99 C 584.44 389.35 586.49 388.42 588.24 387.02 C 585.32 386.96 582.49 387.71 579.77 388.67 C 561.28 394.99 542.91 401.73 524.34 407.83 C 520.07 406.17 516.15 410.21 511.78 410.01 C 518.46 405.96 526.12 403.73 533.07 400.13 C 539.53 397.78 545.68 394.69 552.04 392.08 Z$#9b9192@M 537.34 600.08 C 546.02 598.30 552.15 608.05 560.24 607.36 C 564.93 610.63 569.60 613.94 574.01 617.60 C 565.93 625.07 560.21 635.56 553.93 644.84 C 551.45 646.90 549.49 649.48 547.71 652.15 C 540.42 645.04 532.59 638.29 523.93 632.94 C 530.85 640.63 539.65 646.34 547.01 653.60 C 544.65 656.35 542.35 659.16 540.16 662.05 C 534.00 666.72 530.50 673.80 525.87 679.81 C 514.33 695.33 501.08 709.80 492.00 727.00 C 482.82 744.19 492.69 763.75 494.51 781.63 C 499.79 808.46 504.15 835.52 510.97 861.99 C 510.70 862.64 510.15 863.94 509.88 864.58 C 503.40 854.00 497.79 842.77 490.23 832.92 C 489.50 831.34 488.77 829.77 488.00 828.23 C 489.59 825.15 488.17 821.74 487.32 818.68 C 482.60 803.13 479.51 787.15 475.65 771.38 C 473.00 760.80 473.43 749.24 467.20 739.86 C 463.71 721.54 466.68 701.18 478.02 686.00 C 482.93 677.34 490.70 669.75 492.98 659.82 C 496.80 652.75 502.69 646.68 505.03 638.87 C 506.95 635.37 508.25 631.59 510.05 628.05 L 510.90 627.83 C 512.98 627.31 515.09 626.90 517.23 626.63 C 518.74 626.97 520.81 630.17 521.77 627.77 C 526.30 618.18 531.19 608.77 537.34 600.08 M 516.36 646.36 C 501.64 662.54 490.30 681.63 477.10 699.09 C 469.06 708.78 466.19 722.15 471.07 734.08 C 478.14 730.88 479.32 720.41 482.87 713.90 C 492.52 690.38 506.20 668.73 517.08 645.89 L 516.36 646.36 Z$#6f4b42@M 242.46 377.69 C 243.52 374.41 245.15 370.27 249.29 372.66 C 241.96 372.90 247.32 382.96 245.01 387.08 C 245.62 392.74 240.65 383.50 242.78 382.84 C 240.54 389.87 240.48 398.03 238.45 405.40 C 236.78 415.91 229.06 423.91 225.40 433.62 C 229.19 435.42 219.64 437.87 221.66 440.12 C 223.21 440.97 224.78 441.83 226.27 442.81 C 223.73 442.82 221.19 442.23 218.65 442.60 C 214.77 442.83 210.89 443.03 207.01 443.19 C 204.35 441.88 201.88 439.97 200.94 437.04 C 205.13 432.23 203.62 440.82 207.64 441.42 C 210.84 442.78 214.33 441.29 216.94 439.44 C 213.31 437.89 210.46 435.98 214.03 434.29 C 216.76 435.04 222.04 438.49 222.95 433.95 C 226.81 425.75 232.49 418.47 235.77 409.99 C 236.02 406.47 240.37 399.65 235.01 399.56 L 235.57 399.21 C 241.15 396.26 238.75 388.04 240.01 382.98 C 233.55 382.76 235.24 392.25 233.16 396.83 C 231.65 398.57 232.19 393.70 228.63 396.05 C 228.26 395.74 227.50 395.13 227.12 394.82 C 233.51 392.95 232.66 385.13 237.06 381.43 C 238.93 381.32 242.92 383.33 241.98 379.98 C 239.14 379.58 236.47 380.03 233.75 380.61 C 230.17 380.82 226.60 381.03 223.02 380.99 C 222.99 379.70 222.96 378.40 222.92 377.12 L 223.77 376.96 C 223.88 377.69 224.09 379.14 224.19 379.87 C 230.29 379.26 236.44 378.89 242.46 377.69 Z$#74483f@M 250.79 372.51 C 252.97 372.26 255.33 371.65 257.25 373.13 C 249.57 373.62 252.67 385.21 254.74 389.86 C 249.13 389.95 253.13 398.16 251.78 401.78 C 251.26 415.32 245.19 429.67 234.88 438.12 C 239.75 429.66 247.59 422.17 248.58 411.85 C 249.56 408.06 249.73 404.10 250.29 400.24 C 251.29 391.09 250.67 381.75 249.29 372.66 L 250.00 372.59 L 250.79 372.51 Z$#3c342e@M 282.14 373.15 C 283.27 372.80 284.42 372.52 285.57 372.22 C 295.33 370.07 302.68 376.85 306.10 385.44 C 303.87 389.04 308.06 393.19 306.26 397.13 C 306.13 396.59 305.86 395.50 305.72 394.95 C 305.05 392.27 303.48 383.79 304.02 395.04 C 301.70 398.84 303.08 380.49 299.14 387.02 C 298.43 384.88 297.34 382.91 296.16 381.01 C 294.87 377.34 292.59 373.92 288.18 374.74 C 283.67 372.60 286.12 376.63 288.31 378.08 C 288.76 379.13 289.22 380.18 289.70 381.24 C 290.67 383.88 291.67 386.52 293.06 388.98 C 296.15 410.36 297.44 432.18 294.76 453.72 C 293.74 458.50 292.03 463.24 291.98 468.19 C 294.78 465.65 293.88 460.56 295.16 457.09 L 296.09 457.07 C 295.92 459.65 295.51 462.21 294.99 464.75 C 293.46 470.21 291.70 475.75 288.01 480.19 C 295.33 480.00 297.14 471.66 299.18 466.03 C 300.02 463.37 300.63 460.65 301.01 457.89 C 301.40 455.63 301.85 453.38 302.23 451.11 C 303.43 450.02 303.40 448.32 302.86 446.91 C 302.93 443.97 303.04 441.12 303.20 438.21 C 303.99 430.45 304.92 422.42 303.36 414.70 C 303.12 412.20 302.87 409.71 302.61 407.24 C 302.31 404.44 305.47 397.41 303.98 407.99 C 304.87 414.07 305.20 404.33 305.41 401.86 C 307.98 417.03 306.98 432.50 306.78 447.82 C 306.23 454.26 304.85 460.59 303.90 466.98 C 302.58 469.70 301.79 472.67 300.13 475.23 C 300.36 472.73 300.83 470.27 300.95 467.76 C 299.71 470.31 294.21 478.43 299.28 477.39 C 298.08 479.55 294.03 483.15 298.91 481.57 C 300.60 481.77 302.29 481.94 303.98 482.08 C 300.46 486.65 293.10 483.26 288.26 481.90 C 283.29 481.63 277.48 480.61 275.90 475.10 C 275.25 473.44 275.69 470.92 274.08 469.89 C 271.16 468.97 269.94 482.26 268.80 477.23 C 272.71 468.09 271.28 458.20 269.36 448.74 C 269.11 447.50 268.85 446.27 268.60 445.05 C 269.39 443.13 269.77 440.93 268.81 439.00 C 267.23 436.00 271.70 428.73 267.05 427.66 C 267.76 426.13 268.41 424.58 268.88 422.97 C 268.98 421.40 268.90 419.83 268.84 418.27 C 269.07 417.97 269.53 417.37 269.77 417.07 C 277.72 419.26 285.16 414.18 292.23 411.39 C 295.44 410.61 295.13 403.64 292.32 402.83 C 292.41 400.11 293.12 397.39 292.43 394.73 C 291.07 389.66 290.45 384.09 287.21 379.79 C 284.42 378.35 280.97 379.40 277.94 378.87 C 279.00 376.74 280.49 374.85 282.14 373.15 M 276.99 433.03 C 272.46 441.83 280.93 437.56 278.64 434.34 C 278.93 429.42 280.29 422.09 277.99 418.99 C 275.28 421.55 277.98 429.02 276.99 433.03 M 285.30 435.33 C 284.77 435.55 283.69 435.98 283.15 436.20 C 282.32 447.84 284.94 459.40 287.32 470.73 C 289.53 473.95 290.03 467.51 290.86 465.91 C 288.04 455.78 287.92 445.28 286.89 434.89 C 286.50 435.00 285.70 435.22 285.30 435.33 M 272.01 437.01 C 271.80 444.69 273.19 452.31 274.19 459.91 C 276.38 465.46 276.18 478.72 284.86 478.09 C 278.22 465.42 277.70 450.93 275.82 437.08 C 274.55 436.96 273.28 436.94 272.01 437.01 M 290.34 471.36 C 289.22 473.11 288.32 475.05 287.92 477.12 C 290.16 476.68 292.10 471.02 290.34 471.36 Z$#ae6f60@M 245.01 387.08 C 247.32 382.96 241.96 372.90 249.29 372.66 C 250.67 381.75 251.29 391.09 250.29 400.24 C 249.91 394.70 252.62 385.09 243.27 390.20 C 242.67 397.13 241.07 403.92 240.04 410.79 C 242.85 411.05 245.74 411.58 248.58 411.85 C 247.59 422.17 239.75 429.66 234.88 438.12 C 245.19 429.67 251.26 415.32 251.78 401.78 C 252.87 405.47 250.34 411.04 252.85 414.18 C 254.47 415.37 256.32 416.21 258.08 417.19 C 258.09 418.79 258.15 420.39 258.17 422.01 C 251.17 428.91 247.31 445.05 234.69 441.27 C 231.65 438.70 229.30 442.75 226.27 442.81 C 224.78 441.83 223.21 440.97 221.66 440.12 C 219.64 437.87 229.19 435.42 225.40 433.62 C 229.06 423.91 236.78 415.91 238.45 405.40 C 240.48 398.03 240.54 389.87 242.78 382.84 C 240.65 383.50 245.62 392.74 245.01 387.08 Z$#ca8779@M 257.25 373.13 C 258.86 374.08 258.67 376.42 258.94 378.06 C 254.29 379.14 258.51 386.94 255.86 390.63 C 249.12 394.46 254.73 406.99 252.85 414.18 C 250.34 411.04 252.87 405.47 251.78 401.78 C 253.13 398.16 249.13 389.95 254.74 389.86 C 252.67 385.21 249.57 373.62 257.25 373.13 Z$#88716b@M 275.96 377.94 C 277.81 376.06 279.28 373.57 282.14 373.15 C 280.49 374.85 279.00 376.74 277.94 378.87 C 280.97 379.40 284.42 378.35 287.21 379.79 C 277.80 380.12 268.38 379.79 258.98 380.09 C 256.77 385.14 260.76 387.67 264.13 389.75 C 263.61 389.66 262.57 389.48 262.05 389.39 C 261.10 389.20 260.14 389.11 259.18 389.11 C 258.82 389.30 258.11 389.69 257.75 389.88 C 257.28 390.07 256.33 390.44 255.86 390.63 C 258.51 386.94 254.29 379.14 258.94 378.06 C 264.17 378.09 271.41 381.29 275.96 377.94 Z$#f9f7f7@M 308.63 384.73 C 306.71 380.52 302.79 377.21 301.65 372.73 C 305.01 374.37 307.88 376.82 311.01 378.86 C 318.53 393.65 325.21 409.29 327.25 425.89 C 326.61 427.27 326.49 429.06 327.81 430.11 C 327.98 431.30 328.15 432.50 328.33 433.70 C 328.29 436.54 327.99 439.48 328.67 442.29 C 328.90 444.09 329.10 445.90 329.33 447.71 C 329.27 450.54 328.93 453.50 329.72 456.30 C 330.22 468.44 330.07 480.61 329.80 492.76 C 329.00 497.86 328.87 503.07 329.20 508.23 C 329.06 509.41 328.93 510.59 328.80 511.78 C 327.81 517.79 327.94 523.92 327.99 530.01 C 327.94 536.07 328.06 542.15 328.22 548.23 C 328.03 553.77 327.95 559.33 327.86 564.90 C 327.69 566.46 327.36 569.56 327.20 571.11 C 327.02 572.39 326.84 573.69 326.66 574.98 C 325.10 577.47 325.00 579.83 326.37 582.06 C 326.23 582.50 325.95 583.39 325.81 583.84 C 324.51 584.91 324.63 586.71 325.27 588.13 C 324.69 591.44 323.90 594.71 322.95 597.94 C 320.64 597.12 317.06 597.86 316.61 594.86 C 317.79 589.33 318.63 583.73 319.21 578.12 C 319.37 576.57 319.68 573.46 319.84 571.90 C 319.93 569.28 320.05 566.67 320.18 564.08 C 321.58 562.68 321.37 560.62 320.75 558.92 C 320.94 557.28 321.12 555.64 321.33 554.01 C 322.88 551.52 323.00 549.19 321.69 547.00 C 321.89 542.72 322.03 538.47 322.28 534.21 C 322.68 530.57 322.83 526.94 322.74 523.30 C 322.84 522.53 323.06 521.00 323.16 520.23 C 324.41 498.84 324.69 477.06 323.32 455.71 C 323.06 450.82 323.03 445.95 322.84 441.08 C 323.37 439.36 323.52 437.36 322.25 435.93 C 321.71 418.13 317.31 400.33 308.63 384.73 Z$#a7a19b@M 288.31 378.08 C 286.12 376.63 283.67 372.60 288.18 374.74 C 288.70 375.79 288.80 376.98 288.31 378.08 Z$#c0b8b8@M 408.01 374.04 C 414.96 376.82 421.79 379.98 428.11 384.04 C 420.89 382.29 413.55 379.04 408.01 374.04 Z$#725c4c@M 288.18 374.74 C 292.59 373.92 294.87 377.34 296.16 381.01 C 295.11 380.26 294.06 379.53 293.03 378.77 C 291.43 375.34 288.83 376.37 290.99 379.76 C 290.66 380.13 290.02 380.87 289.70 381.24 C 289.22 380.18 288.76 379.13 288.31 378.08 C 288.80 376.98 288.70 375.79 288.18 374.74 Z$#573a38@M 441.83 381.83 C 443.47 379.53 445.15 377.26 446.85 375.00 C 445.59 377.58 443.91 379.86 441.83 381.83 Z$#c3ada0@M 290.99 379.76 C 288.83 376.37 291.43 375.34 293.03 378.77 C 292.72 379.03 292.11 379.56 291.80 379.82 L 290.99 379.76 Z$#cdbab0@M 432.80 379.97 C 433.61 377.98 437.26 375.29 438.35 378.03 C 437.30 381.10 435.32 382.89 432.80 379.97 Z$#a7a09e@M 258.94 378.06 C 264.61 378.07 270.28 378.04 275.96 377.94 C 271.41 381.29 264.17 378.09 258.94 378.06 Z$#7d6b5d@M 438.35 378.03 C 443.93 381.64 432.68 386.48 432.80 379.97 C 435.32 382.89 437.30 381.10 438.35 378.03 Z$#f9f6ee@M 291.80 379.82 C 292.11 379.56 292.72 379.03 293.03 378.77 C 294.06 379.53 295.11 380.26 296.16 381.01 C 297.34 382.91 298.43 384.88 299.14 387.02 C 300.72 393.68 301.46 400.50 302.61 407.24 C 302.87 409.71 303.12 412.20 303.36 414.70 C 302.90 422.53 302.96 430.37 303.20 438.21 C 303.04 441.12 302.93 443.97 302.86 446.91 C 301.46 447.89 301.63 449.72 302.23 451.11 C 301.85 453.38 301.40 455.63 301.01 457.89 C 299.12 456.29 296.13 460.49 296.96 457.03 C 298.10 442.61 300.15 428.12 298.44 413.66 C 297.46 402.26 296.54 390.39 291.80 379.82 Z$#a9171f@M 311.01 378.86 C 315.73 380.28 319.24 383.87 322.96 386.89 C 329.20 401.23 334.08 416.20 336.38 431.71 C 336.32 434.54 335.97 437.48 336.66 440.29 C 336.90 441.76 337.14 443.23 337.34 444.71 C 337.37 452.13 335.95 459.86 337.87 467.14 L 338.13 467.88 C 338.04 477.92 337.92 487.96 338.01 498.01 C 337.97 507.74 337.88 517.49 338.21 527.24 C 338.00 534.40 337.99 541.58 337.79 548.77 C 336.77 554.53 337.05 560.39 337.23 566.21 C 337.06 567.80 336.88 569.39 336.68 570.98 C 335.09 573.45 334.98 575.80 336.37 578.03 C 336.21 578.75 335.89 580.18 335.74 580.89 C 334.44 582.35 334.62 584.38 335.27 586.10 C 335.08 587.30 334.88 588.52 334.68 589.74 C 334.28 591.07 333.92 592.42 333.58 593.78 C 333.43 594.32 333.12 595.39 332.97 595.93 C 329.53 596.10 326.10 596.53 322.95 597.94 C 323.90 594.71 324.69 591.44 325.27 588.13 C 326.45 586.98 326.38 585.25 325.81 583.84 C 325.95 583.39 326.23 582.50 326.37 582.06 C 327.88 579.54 327.98 577.18 326.66 574.98 C 326.84 573.69 327.02 572.39 327.20 571.11 C 327.36 569.56 327.69 566.46 327.86 564.90 C 327.95 559.33 328.03 553.77 328.22 548.23 C 329.08 542.18 329.08 536.07 329.01 529.99 C 329.04 523.91 328.90 517.84 328.80 511.78 C 328.93 510.59 329.06 509.41 329.20 508.23 C 330.05 503.11 330.14 497.92 329.80 492.76 C 330.07 480.61 330.22 468.44 329.72 456.30 C 329.69 453.38 330.01 450.52 329.33 447.71 C 329.10 445.90 328.90 444.09 328.67 442.29 C 328.65 439.38 329.01 436.52 328.33 433.70 C 328.15 432.50 327.98 431.30 327.81 430.11 C 328.39 428.70 328.45 426.99 327.25 425.89 C 325.21 409.29 318.53 393.65 311.01 378.86 Z$#645c59@M 554.40 379.40 C 557.07 376.21 562.28 380.86 558.79 382.79 C 550.91 389.50 540.80 393.15 533.07 400.13 C 526.12 403.73 518.46 405.96 511.78 410.01 C 516.15 410.21 520.07 406.17 524.34 407.83 C 516.72 410.72 509.04 413.50 501.15 415.56 C 491.92 414.66 483.41 420.52 474.72 422.86 C 484.82 412.30 499.41 405.86 511.86 397.97 C 527.13 394.90 539.77 384.42 554.40 379.40 Z$#7f736f@M 203.70 381.73 C 205.74 381.24 207.78 380.76 209.83 380.31 C 212.53 381.19 215.38 381.07 218.21 381.26 C 213.84 381.73 209.49 382.22 205.13 382.65 C 204.77 382.42 204.06 381.96 203.70 381.73 Z$#b6a59f@M 233.75 380.61 C 236.47 380.03 239.14 379.58 241.98 379.98 C 242.92 383.33 238.93 381.32 237.06 381.43 C 235.96 381.15 234.86 380.87 233.75 380.61 Z$#aca5a3@M 289.70 381.24 C 290.02 380.87 290.66 380.13 290.99 379.76 C 291.86 382.79 292.74 385.83 293.06 388.98 C 291.67 386.52 290.67 383.88 289.70 381.24 Z$#585550@M 290.99 379.76 L 291.80 379.82 C 296.54 390.39 297.46 402.26 298.44 413.66 C 298.13 414.04 297.52 414.81 297.21 415.19 C 296.84 406.37 296.38 397.26 293.06 388.98 C 292.74 385.83 291.86 382.79 290.99 379.76 Z$#a89fa0@M 503.18 387.31 C 512.51 384.94 521.84 382.64 531.12 380.09 C 526.00 383.66 520.58 386.81 515.78 390.80 C 511.25 393.40 507.65 397.23 503.46 400.29 C 502.13 399.65 500.74 399.07 499.32 399.74 C 495.88 395.14 489.46 394.73 484.65 392.11 C 492.64 391.38 501.51 394.99 509.12 391.87 C 508.50 388.45 502.90 390.24 503.18 387.31 Z$#443f3c@M 514.09 394.21 C 522.87 390.20 530.13 383.28 539.16 379.90 C 531.28 387.40 520.76 391.68 511.86 397.97 C 499.41 405.86 484.82 412.30 474.72 422.86 C 483.41 420.52 491.92 414.66 501.15 415.56 C 487.51 420.43 473.72 424.89 460.08 429.74 C 459.70 429.57 458.95 429.23 458.58 429.06 C 461.43 427.67 464.43 426.62 467.40 425.49 C 473.71 423.76 476.35 416.85 482.11 413.99 C 489.27 409.51 496.99 405.77 503.46 400.29 C 507.65 397.23 511.25 393.40 515.78 390.80 C 515.19 391.92 514.61 393.05 514.09 394.21 Z$#f6e2db@M 218.21 381.26 C 219.81 381.15 221.41 381.05 223.02 380.99 C 226.60 381.03 230.17 380.82 233.75 380.61 C 234.86 380.87 235.96 381.15 237.06 381.43 C 232.66 385.13 233.51 392.95 227.12 394.82 C 224.24 396.36 221.27 397.85 218.76 399.99 C 222.48 400.42 225.26 397.67 227.12 394.82 C 227.50 395.13 228.26 395.74 228.63 396.05 C 228.20 396.95 227.80 397.87 227.42 398.81 C 226.00 401.85 224.59 404.92 223.16 407.97 C 214.73 407.80 209.69 416.00 203.74 420.74 C 201.64 423.39 198.23 421.40 196.07 419.94 C 197.98 416.93 200.14 414.08 201.94 411.01 C 206.04 407.52 211.38 405.74 215.19 401.94 C 210.40 403.98 203.79 405.54 201.94 411.01 C 195.29 416.93 185.11 416.05 178.78 422.80 C 175.43 427.31 171.70 426.22 167.90 423.64 C 169.54 422.02 171.36 420.59 173.03 419.00 C 173.28 418.82 173.77 418.46 174.01 418.29 C 179.50 414.79 183.40 409.35 188.94 405.91 C 201.18 402.17 210.95 393.26 223.38 390.18 C 215.29 388.30 209.69 395.19 203.02 398.03 C 198.37 400.70 192.79 402.01 188.94 405.91 C 182.21 406.94 178.04 413.38 174.01 418.29 C 170.41 418.29 174.37 414.35 174.41 412.36 C 176.42 409.26 171.84 409.02 169.92 407.90 C 170.93 406.87 171.98 405.90 173.00 404.90 C 178.04 403.04 183.36 401.12 187.04 397.00 C 195.08 394.09 201.23 387.85 209.24 385.06 C 200.29 385.06 194.18 392.73 187.04 397.00 C 181.86 398.67 177.13 401.35 173.00 404.90 C 168.68 405.36 167.07 409.44 165.70 413.05 C 166.14 409.30 164.12 406.60 161.80 404.13 C 171.99 398.67 183.18 395.20 193.15 389.34 C 197.12 387.09 200.48 383.45 205.13 382.65 C 209.49 382.22 213.84 381.73 218.21 381.26 Z$#503f39@M 201.12 382.11 C 201.77 382.02 203.06 381.83 203.70 381.73 C 204.06 381.96 204.77 382.42 205.13 382.65 C 200.48 383.45 197.12 387.09 193.15 389.34 C 193.14 388.24 193.29 387.17 193.59 386.15 C 196.51 386.40 198.55 383.23 201.12 382.11 Z$#ce7e72@M 233.16 396.83 C 235.24 392.25 233.55 382.76 240.01 382.98 C 238.75 388.04 241.15 396.26 235.57 399.21 C 234.76 398.41 233.96 397.62 233.16 396.83 Z$#c2baba@M 428.11 384.04 C 430.02 383.53 431.90 384.32 432.97 385.97 C 431.05 386.46 429.15 385.71 428.11 384.04 Z$#887873@M 187.04 397.00 C 194.18 392.73 200.29 385.06 209.24 385.06 C 201.23 387.85 195.08 394.09 187.04 397.00 Z$#634a42@M 299.14 387.02 C 303.08 380.49 301.70 398.84 304.02 395.04 C 303.48 383.79 305.05 392.27 305.72 394.95 C 305.57 397.21 305.44 399.56 305.41 401.86 C 305.20 404.33 304.87 414.07 303.98 407.99 C 305.47 397.41 302.31 404.44 302.61 407.24 C 301.46 400.50 300.72 393.68 299.14 387.02 Z$#534e4b@M 322.74 523.30 C 320.03 477.26 327.57 428.28 308.63 384.73 C 317.31 400.33 321.71 418.13 322.25 435.93 C 321.62 437.62 321.40 439.70 322.84 441.08 C 323.03 445.95 323.06 450.82 323.32 455.71 C 322.73 477.21 322.96 498.72 323.16 520.23 C 323.06 521.00 322.84 522.53 322.74 523.30 Z$#534e4b@M 169.36 553.69 C 169.71 554.86 170.05 556.04 170.38 557.24 C 167.70 575.48 166.18 593.88 163.57 612.11 C 163.36 611.10 163.16 610.09 162.97 609.09 C 163.64 590.53 167.24 572.14 169.36 553.69 Z$#5e4a40@M 306.26 397.13 C 308.06 393.19 303.87 389.04 306.10 385.44 C 310.39 393.45 313.68 402.02 315.70 410.88 C 315.53 411.40 315.19 412.42 315.02 412.93 L 314.08 413.03 C 314.16 407.93 310.49 403.95 308.09 399.78 C 308.21 404.20 308.84 408.59 309.12 413.01 L 308.05 412.95 C 307.93 407.63 307.21 402.36 306.26 397.13 Z$#c6bfbf@M 579.77 388.67 C 582.49 387.71 585.32 386.96 588.24 387.02 C 586.49 388.42 584.44 389.35 582.31 389.99 C 581.68 389.66 580.41 389.00 579.77 388.67 Z$#781b1f@M 439.17 388.07 C 441.12 388.87 443.11 389.58 445.10 390.31 C 443.07 404.30 445.82 419.17 453.88 430.91 C 452.65 431.37 451.40 431.80 450.11 432.05 C 440.96 419.66 436.21 403.36 439.17 388.07 Z$#faeae5@M 243.27 390.20 C 252.62 385.09 249.91 394.70 250.29 400.24 C 249.73 404.10 249.56 408.06 248.58 411.85 C 245.74 411.58 242.85 411.05 240.04 410.79 C 241.07 403.92 242.67 397.13 243.27 390.20 Z$#c5bcbb@M 257.75 389.88 C 258.11 389.69 258.82 389.30 259.18 389.11 C 259.02 392.11 258.91 395.20 258.83 398.23 C 258.45 395.41 258.07 392.67 257.75 389.88 Z$#72473d@M 259.18 389.11 C 260.14 389.11 261.10 389.20 262.05 389.39 C 261.14 393.55 260.06 398.21 261.74 402.34 C 261.54 402.74 261.13 403.54 260.93 403.95 C 259.58 409.85 260.70 416.26 258.17 422.01 C 258.15 420.39 258.09 418.79 258.08 417.19 L 258.13 416.26 C 258.97 411.79 258.95 407.27 258.85 402.76 C 258.87 401.25 258.86 399.74 258.83 398.23 C 258.91 395.20 259.02 392.11 259.18 389.11 Z$#cec6c2@M 293.06 388.98 C 296.38 397.26 296.84 406.37 297.21 415.19 C 298.34 428.07 297.69 441.07 295.69 453.84 L 294.76 453.72 C 297.44 432.18 296.15 410.36 293.06 388.98 Z$#847470@M 203.02 398.03 C 209.69 395.19 215.29 388.30 223.38 390.18 C 210.95 393.26 201.18 402.17 188.94 405.91 C 192.79 402.01 198.37 400.70 203.02 398.03 Z$#fceeea@M 255.86 390.63 C 256.33 390.44 257.28 390.07 257.75 389.88 C 258.07 392.67 258.45 395.41 258.83 398.23 C 258.86 399.74 258.87 401.25 258.85 402.76 C 258.03 407.21 258.09 411.75 258.13 416.26 L 258.08 417.19 C 256.32 416.21 254.47 415.37 252.85 414.18 C 254.73 406.99 249.12 394.46 255.86 390.63 Z$#cc7d70@M 261.74 402.34 C 260.06 398.21 261.14 393.55 262.05 389.39 C 262.57 389.48 263.61 389.66 264.13 389.75 C 263.04 393.95 268.40 402.63 261.74 402.34 Z$#8d716a@M 264.13 389.75 C 267.42 396.01 266.31 403.58 268.86 410.14 C 269.20 412.44 269.59 414.74 269.77 417.07 C 269.53 417.37 269.07 417.97 268.84 418.27 C 266.06 414.17 269.56 401.25 261.95 403.93 L 260.93 403.95 C 261.13 403.54 261.54 402.74 261.74 402.34 C 268.40 402.63 263.04 393.95 264.13 389.75 Z$#827977@M 449.23 402.74 C 448.09 399.19 447.41 395.45 448.65 391.77 C 446.52 402.46 462.64 400.39 465.26 409.68 C 465.66 413.75 468.38 416.39 472.28 417.32 C 465.83 418.63 459.34 416.64 453.20 414.87 C 450.45 411.57 450.73 406.70 449.23 402.74 Z$#a3928e@M 218.76 399.99 C 221.27 397.85 224.24 396.36 227.12 394.82 C 225.26 397.67 222.48 400.42 218.76 399.99 Z$#ad6f5f@M 228.63 396.05 C 232.19 393.70 231.65 398.57 233.16 396.83 C 233.96 397.62 234.76 398.41 235.57 399.21 L 235.01 399.56 C 229.90 397.66 230.67 405.82 229.11 408.72 C 231.31 409.22 233.54 409.64 235.77 409.99 C 232.49 418.47 226.81 425.75 222.95 433.95 C 222.04 438.49 216.76 435.04 214.03 434.29 C 209.73 430.86 217.88 425.71 218.09 421.11 C 219.52 412.99 228.16 407.45 227.42 398.81 C 227.80 397.87 228.20 396.95 228.63 396.05 Z$#be8d79@M 292.43 394.73 C 293.12 397.39 292.41 400.11 292.32 402.83 C 292.21 405.67 292.18 408.53 292.23 411.39 C 285.16 414.18 277.72 419.26 269.77 417.07 C 269.59 414.74 269.20 412.44 268.86 410.14 C 276.16 406.83 282.67 401.23 291.05 401.06 C 291.39 399.48 292.08 396.31 292.43 394.73 Z$#c8c4c0@M 305.41 401.86 C 305.44 399.56 305.57 397.21 305.72 394.95 C 305.86 395.50 306.13 396.59 306.26 397.13 C 307.21 402.36 307.93 407.63 308.05 412.95 C 309.17 425.70 309.53 438.54 307.65 451.24 C 307.34 450.10 307.05 448.96 306.78 447.82 C 306.98 432.50 307.98 417.03 305.41 401.86 Z$#cbc4c4@M 362.83 396.11 C 372.90 395.93 383.73 397.53 394.21 397.96 C 394.46 398.42 394.94 399.33 395.18 399.79 C 384.56 397.52 372.80 400.37 362.83 396.11 Z$#90817d@M 173.00 404.90 C 177.13 401.35 181.86 398.67 187.04 397.00 C 183.36 401.12 178.04 403.04 173.00 404.90 Z$#875448@M 227.42 398.81 C 228.16 407.45 219.52 412.99 218.09 421.11 C 217.88 425.71 209.73 430.86 214.03 434.29 C 210.46 435.98 213.31 437.89 216.94 439.44 C 214.33 441.29 210.84 442.78 207.64 441.42 C 203.62 440.82 205.13 432.23 200.94 437.04 C 199.75 435.22 202.32 433.43 201.18 431.54 C 202.71 429.61 204.66 428.07 206.72 426.75 C 211.71 430.34 217.30 421.75 216.12 417.60 C 218.61 414.51 221.61 411.67 223.16 407.97 C 224.59 404.92 226.00 401.85 227.42 398.81 Z$#f9e7e1@M 229.11 408.72 C 230.67 405.82 229.90 397.66 235.01 399.56 C 240.37 399.65 236.02 406.47 235.77 409.99 C 233.54 409.64 231.31 409.22 229.11 408.72 Z$#f9f7f0@M 308.09 399.78 C 310.49 403.95 314.16 407.93 314.08 413.03 C 314.01 416.10 313.81 419.29 314.68 422.29 C 314.90 427.10 315.08 431.95 314.88 436.78 C 314.36 439.88 314.02 443.07 314.17 446.23 C 314.06 447.45 313.96 448.67 313.86 449.90 C 312.46 450.89 312.62 452.71 313.25 454.11 C 312.92 456.82 312.40 459.50 311.87 462.18 C 310.86 459.43 309.71 456.80 308.86 454.01 C 308.94 452.04 309.04 450.07 309.14 448.10 C 309.33 446.55 309.69 443.46 309.87 441.91 C 309.76 432.29 310.85 422.52 309.12 413.01 C 308.84 408.59 308.21 404.20 308.09 399.78 Z$#7c7272@M 349.72 401.28 C 358.89 403.27 368.40 404.00 377.39 406.70 C 371.46 406.48 365.61 405.41 359.69 405.11 C 360.85 405.75 362.04 406.34 363.23 406.94 C 358.04 407.41 353.97 403.57 349.72 401.28 Z$#9c8c88@M 201.94 411.01 C 203.79 405.54 210.40 403.98 215.19 401.94 C 211.38 405.74 206.04 407.52 201.94 411.01 Z$#4f4038@M 429.66 403.84 C 431.61 401.53 435.00 401.30 436.62 404.15 C 436.73 410.35 429.56 409.51 429.66 403.84 Z$#bcb3b2@M 258.13 416.26 C 258.09 411.75 258.03 407.21 258.85 402.76 C 258.95 407.27 258.97 411.79 258.13 416.26 Z$#f9eae6@M 261.95 403.93 C 269.56 401.25 266.06 414.17 268.84 418.27 C 268.90 419.83 268.98 421.40 268.88 422.97 C 266.13 422.14 261.50 423.26 261.62 419.30 C 261.79 414.16 262.05 409.06 261.95 403.93 Z$#915b4d@M 292.32 402.83 C 295.13 403.64 295.44 410.61 292.23 411.39 C 292.18 408.53 292.21 405.67 292.32 402.83 Z$#5b524e@M 399.95 404.15 C 402.90 401.55 403.97 407.70 406.21 408.79 C 416.25 414.64 428.44 415.75 439.88 416.08 C 441.12 419.23 443.04 422.17 443.80 425.50 C 441.61 426.19 439.87 427.61 438.55 429.47 C 435.95 428.71 433.48 427.51 430.79 427.04 C 435.00 431.05 441.33 431.95 445.31 436.25 C 444.08 436.86 442.83 437.43 441.58 437.98 L 440.74 438.25 C 438.44 439.93 441.70 444.40 441.99 446.99 C 433.96 445.61 426.93 441.24 419.33 438.55 C 416.78 435.25 414.73 431.46 414.18 427.29 C 412.43 422.56 407.39 419.73 405.91 414.92 C 412.89 417.46 416.06 426.40 423.07 429.12 C 415.68 420.50 406.91 413.16 399.95 404.15 Z$#655b57@M 449.23 402.74 C 450.73 406.70 450.45 411.57 453.20 414.87 C 459.34 416.64 465.83 418.63 472.28 417.32 C 475.69 416.62 478.66 414.60 482.11 413.99 C 476.35 416.85 473.71 423.76 467.40 425.49 C 464.43 426.62 461.43 427.67 458.58 429.06 C 450.81 423.24 448.22 412.12 449.23 402.74 Z$#c08f7a@M 160.81 404.88 C 161.06 404.69 161.56 404.32 161.80 404.13 C 164.12 406.60 166.14 409.30 165.70 413.05 C 165.58 413.52 165.35 414.46 165.23 414.93 C 164.06 418.46 163.04 422.09 161.25 425.38 C 160.95 418.53 161.07 411.71 160.81 404.88 Z$#ac6e5e@M 258.17 422.01 C 260.70 416.26 259.58 409.85 260.93 403.95 C 261.12 409.03 260.30 414.30 261.62 419.30 C 261.50 423.26 266.13 422.14 268.88 422.97 C 268.41 424.58 267.76 426.13 267.05 427.66 C 265.53 429.00 264.00 430.38 262.74 431.99 C 260.36 437.69 254.58 442.84 249.03 437.90 C 251.24 432.13 257.13 428.25 258.17 422.01 Z$#dfbfb2@M 260.93 403.95 L 261.95 403.93 C 262.05 409.06 261.79 414.16 261.62 419.30 C 260.30 414.30 261.12 409.03 260.93 403.95 Z$#2c2b28@M 398.71 404.87 C 399.02 404.69 399.64 404.33 399.95 404.15 C 406.91 413.16 415.68 420.50 423.07 429.12 C 416.06 426.40 412.89 417.46 405.91 414.92 C 407.39 419.73 412.43 422.56 414.18 427.29 C 414.73 431.46 416.78 435.25 419.33 438.55 C 426.93 441.24 433.96 445.61 441.99 446.99 C 441.70 444.40 438.44 439.93 440.74 438.25 C 442.07 442.16 442.95 446.92 446.91 449.08 C 449.81 445.93 454.00 445.75 458.06 446.03 L 457.62 446.97 C 454.78 446.75 452.12 447.66 449.78 449.20 C 449.26 449.47 448.22 450.01 447.70 450.28 C 436.17 448.22 425.72 442.77 415.05 438.20 C 416.53 434.48 413.88 429.36 410.02 428.21 C 411.78 426.20 409.63 423.48 408.19 421.90 C 404.35 416.51 403.94 409.41 398.71 404.87 Z$#61483e@M 159.20 412.14 C 159.90 409.76 160.21 407.24 160.81 404.88 C 161.07 411.71 160.95 418.53 161.25 425.38 C 163.04 422.09 164.06 418.46 165.23 414.93 C 165.48 415.26 165.98 415.93 166.23 416.26 C 165.12 419.24 163.96 422.22 163.18 425.32 C 166.55 423.31 169.01 419.79 173.03 419.00 C 171.36 420.59 169.54 422.02 167.90 423.64 C 165.44 426.02 163.31 428.70 161.13 431.32 C 159.96 428.31 159.59 425.04 159.14 421.88 C 159.06 418.60 158.95 415.39 159.20 412.14 Z$#856d66@M 165.70 413.05 C 167.07 409.44 168.68 405.36 173.00 404.90 C 171.98 405.90 170.93 406.87 169.92 407.90 C 167.92 410.25 167.48 413.49 166.23 416.26 C 165.98 415.93 165.48 415.26 165.23 414.93 C 165.35 414.46 165.58 413.52 165.70 413.05 Z$#8c7d78@M 174.01 418.29 C 178.04 413.38 182.21 406.94 188.94 405.91 C 183.40 409.35 179.50 414.79 174.01 418.29 Z$#776c6d@M 364.15 406.98 C 366.41 406.90 369.11 406.75 369.62 409.54 C 381.17 416.74 394.62 420.89 408.19 421.90 C 409.63 423.48 411.78 426.20 410.02 428.21 C 406.52 429.18 402.60 430.51 399.10 428.89 C 386.20 423.22 374.16 415.86 361.97 408.87 C 362.67 408.21 363.40 407.58 364.15 406.98 Z$#bd8c78@M 166.23 416.26 C 167.48 413.49 167.92 410.25 169.92 407.90 C 171.84 409.02 176.42 409.26 174.41 412.36 C 174.37 414.35 170.41 418.29 174.01 418.29 C 173.77 418.46 173.28 418.82 173.03 419.00 C 169.01 419.79 166.55 423.31 163.18 425.32 C 163.96 422.22 165.12 419.24 166.23 416.26 Z$#bf8f7b@M 203.74 420.74 C 209.69 416.00 214.73 407.80 223.16 407.97 C 221.61 411.67 218.61 414.51 216.12 417.60 C 212.92 420.58 209.84 423.69 206.72 426.75 C 204.66 428.07 202.71 429.61 201.18 431.54 C 199.91 433.12 198.95 434.92 197.99 436.71 C 195.96 439.03 194.02 441.44 192.17 443.92 C 190.74 445.45 188.98 446.59 187.25 447.73 L 186.31 448.08 C 181.37 448.47 189.66 443.22 186.92 439.85 C 187.13 438.35 184.93 438.58 184.06 437.98 C 183.45 434.73 188.92 429.75 191.18 426.07 C 192.87 423.95 194.38 421.65 195.22 419.05 C 193.01 420.22 190.83 421.45 188.82 422.95 C 181.76 428.77 174.24 434.26 169.04 441.92 C 165.63 443.77 162.22 445.62 158.96 447.73 C 157.89 447.59 156.82 447.43 155.77 447.25 C 160.49 444.91 162.43 438.86 157.97 435.25 C 159.08 433.99 160.13 432.67 161.13 431.32 C 163.31 428.70 165.44 426.02 167.90 423.64 C 171.70 426.22 175.43 427.31 178.78 422.80 C 185.11 416.05 195.29 416.93 201.94 411.01 C 200.14 414.08 197.98 416.93 196.07 419.94 C 198.23 421.40 201.64 423.39 203.74 420.74 Z$#363430@M 315.02 412.93 C 315.19 412.42 315.53 411.40 315.70 410.88 C 322.95 441.03 318.98 472.33 320.00 503.00 C 320.96 529.55 317.45 555.92 315.35 582.33 C 313.38 597.99 308.59 613.11 302.71 627.71 C 299.23 636.11 296.24 644.70 293.29 653.31 C 293.04 652.97 292.54 652.29 292.29 651.95 C 298.57 630.11 309.83 609.81 313.25 587.16 C 315.36 555.55 321.16 523.60 316.96 492.00 C 314.46 487.20 313.41 476.13 305.75 479.65 C 306.82 477.90 307.90 476.13 308.61 474.20 C 310.32 470.39 311.11 466.25 311.87 462.18 C 312.40 459.50 312.92 456.82 313.25 454.11 C 314.43 453.00 314.39 451.31 313.86 449.90 C 313.96 448.67 314.06 447.45 314.17 446.23 C 314.59 443.07 314.97 439.96 314.88 436.78 C 315.08 431.95 314.90 427.10 314.68 422.29 C 314.75 419.14 314.90 416.06 315.02 412.93 Z$#be8e7a@M 153.01 413.86 C 155.09 413.33 157.13 412.67 159.20 412.14 C 158.95 415.39 159.06 418.60 159.14 421.88 C 156.51 422.24 153.99 421.68 151.80 420.19 C 150.53 417.97 152.02 415.83 153.01 413.86 Z$#6f6865@M 308.05 412.95 L 309.12 413.01 C 310.85 422.52 309.76 432.29 309.87 441.91 C 309.69 443.46 309.33 446.55 309.14 448.10 C 309.04 450.07 308.94 452.04 308.86 454.01 L 308.08 454.11 L 307.31 454.18 C 307.44 453.20 307.55 452.22 307.65 451.24 C 309.53 438.54 309.17 425.70 308.05 412.95 Z$#8d8381@M 314.08 413.03 L 315.02 412.93 C 314.90 416.06 314.75 419.14 314.68 422.29 C 313.81 419.29 314.01 416.10 314.08 413.03 Z$#7d493e@M 143.74 417.11 C 146.60 415.45 149.71 414.22 153.01 413.86 C 152.02 415.83 150.53 417.97 151.80 420.19 C 148.90 419.99 145.50 419.82 143.74 417.11 Z$#77726e@M 298.44 413.66 C 300.15 428.12 298.10 442.61 296.96 457.03 L 296.09 457.07 L 295.16 457.09 C 295.34 456.00 295.51 454.91 295.69 453.84 C 297.69 441.07 298.34 428.07 297.21 415.19 C 297.52 414.81 298.13 414.04 298.44 413.66 Z$#afa8a7@M 303.36 414.70 C 304.92 422.42 303.99 430.45 303.20 438.21 C 302.96 430.37 302.90 422.53 303.36 414.70 Z$#533932@M 206.72 426.75 C 209.84 423.69 212.92 420.58 216.12 417.60 C 217.30 421.75 211.71 430.34 206.72 426.75 Z$#55433d@M 188.82 422.95 C 190.83 421.45 193.01 420.22 195.22 419.05 C 194.38 421.65 192.87 423.95 191.18 426.07 C 190.40 425.02 189.60 423.98 188.82 422.95 Z$#b2abaa@M 276.99 433.03 C 277.98 429.02 275.28 421.55 277.99 418.99 C 278.17 424.07 277.32 429.33 278.64 434.34 C 280.93 437.56 272.46 441.83 276.99 433.03 Z$#46423e@M 617.21 420.64 C 614.94 437.47 601.22 451.77 596.89 468.45 C 595.93 469.88 594.40 470.01 592.98 469.16 C 597.89 460.22 603.19 451.47 607.26 442.11 C 609.98 437.38 612.32 432.44 614.31 427.36 C 615.35 425.15 616.27 422.89 617.21 420.64 Z$#4a2420@M 234.69 441.27 C 247.31 445.05 251.17 428.91 258.17 422.01 C 257.13 428.25 251.24 432.13 249.03 437.90 C 254.58 442.84 260.36 437.69 262.74 431.99 L 262.93 433.02 C 263.30 435.32 263.84 437.60 264.29 439.89 C 263.62 441.58 263.43 443.62 264.74 445.07 C 264.82 445.49 264.99 446.33 265.07 446.75 C 266.05 456.42 267.02 466.08 267.13 475.82 C 269.70 492.78 259.84 508.63 257.80 525.23 C 257.53 524.62 256.98 523.40 256.71 522.80 C 259.05 496.35 258.36 469.69 255.65 443.31 C 255.49 440.72 252.99 441.01 251.04 440.84 L 250.18 440.64 C 249.14 440.35 248.10 440.12 247.05 439.94 C 247.98 449.93 247.79 459.99 248.88 469.96 L 247.83 470.34 C 246.68 460.91 246.87 451.40 245.85 441.96 C 236.96 444.22 227.61 443.64 218.52 443.65 L 218.65 442.60 C 221.19 442.23 223.73 442.82 226.27 442.81 C 229.30 442.75 231.65 438.70 234.69 441.27 Z$#ccc4c4@M 562.71 423.30 C 567.43 423.05 572.13 422.98 576.88 423.04 C 577.70 423.69 578.51 424.38 579.30 425.09 C 573.38 429.05 566.43 431.07 560.00 433.98 C 543.67 439.33 528.47 449.72 510.77 449.23 C 489.54 447.84 468.48 445.15 447.72 440.29 C 468.43 442.09 488.97 447.09 509.98 447.24 C 519.58 449.27 528.49 445.09 536.84 440.94 C 547.62 438.07 557.65 433.06 568.06 429.14 C 570.44 428.15 573.89 427.21 574.21 424.12 C 572.44 424.11 568.91 424.11 567.14 424.11 C 565.65 423.87 564.17 423.61 562.71 423.30 Z$#e8e4e4@M 567.14 424.11 C 568.91 424.11 572.44 424.11 574.21 424.12 C 573.89 427.21 570.44 428.15 568.06 429.14 C 557.65 433.06 547.62 438.07 536.84 440.94 C 543.67 436.12 552.18 434.31 559.68 430.66 C 562.44 428.85 567.53 428.28 567.14 424.11 Z$#d49b8d@M 327.25 425.89 C 328.45 426.99 328.39 428.70 327.81 430.11 C 326.49 429.06 326.61 427.27 327.25 425.89 Z$#a2999a@M 597.18 432.69 C 600.41 430.51 603.50 428.08 606.91 426.18 C 609.14 427.66 611.70 428.43 614.31 427.36 C 612.32 432.44 609.98 437.38 607.26 442.11 C 604.12 444.26 600.65 446.37 599.03 450.01 C 586.99 472.29 575.24 496.40 554.86 512.08 C 556.31 504.14 563.34 498.51 565.79 490.85 C 568.87 481.15 571.20 471.16 571.95 460.98 C 571.95 458.94 570.92 455.77 568.35 457.35 C 556.14 464.33 543.70 470.92 531.19 477.35 C 531.10 481.19 531.71 484.96 531.85 488.80 C 524.67 494.66 516.62 499.56 508.28 503.61 C 487.76 492.97 468.44 479.61 452.04 463.30 C 453.11 462.41 454.25 461.59 455.39 460.78 C 478.99 465.52 502.65 470.36 526.62 472.64 C 535.41 468.15 543.85 462.98 552.45 458.13 C 556.83 455.86 561.70 454.04 565.12 450.36 C 564.69 450.21 563.84 449.91 563.41 449.76 L 562.70 448.90 C 573.99 444.07 586.01 440.96 596.67 434.68 C 597.72 434.28 597.89 433.62 597.18 432.69 Z$#615a58@M 262.74 431.99 C 264.00 430.38 265.53 429.00 267.05 427.66 C 271.70 428.73 267.23 436.00 268.81 439.00 L 268.01 439.06 C 268.00 435.66 268.10 432.32 267.95 428.95 C 266.23 430.24 264.61 431.68 262.93 433.02 L 262.74 431.99 Z$#615a58@M 281.29 754.72 C 283.30 768.06 281.48 781.81 281.69 795.29 C 279.72 781.93 281.52 768.18 281.29 754.72 Z$#655a56@M 445.36 427.94 C 447.12 429.64 451.07 434.31 446.10 433.93 C 441.35 433.73 444.86 430.69 445.36 427.94 Z$#47443c@M 197.99 436.71 C 198.95 434.92 199.91 433.12 201.18 431.54 C 202.32 433.43 199.75 435.22 200.94 437.04 C 201.88 439.97 204.35 441.88 207.01 443.19 C 201.22 460.18 200.77 481.49 212.14 495.94 C 212.58 496.26 213.48 496.89 213.93 497.21 C 214.99 498.57 218.17 505.27 219.38 501.23 C 220.43 501.96 221.38 502.83 222.35 503.68 C 215.95 508.97 229.48 515.81 233.61 518.39 C 236.94 518.68 234.53 534.86 237.32 527.84 C 237.89 533.26 239.25 538.55 240.46 543.86 C 242.76 554.42 243.19 565.31 242.58 576.22 C 243.02 577.23 243.79 577.94 244.89 578.33 C 244.82 579.61 244.70 580.90 244.48 582.18 C 242.64 576.85 241.21 582.87 241.42 586.20 C 240.17 582.51 239.55 583.30 239.54 588.56 C 238.76 602.41 233.22 615.23 229.67 628.34 C 224.49 639.28 216.81 649.17 214.28 661.23 C 214.17 660.36 213.94 658.61 213.83 657.74 C 209.17 670.14 210.95 684.02 209.08 697.04 C 208.70 698.42 210.20 699.26 210.83 700.29 C 210.99 705.92 210.89 711.56 210.80 717.22 C 210.04 710.15 208.70 703.15 207.99 696.07 C 207.17 693.12 206.56 697.05 206.68 698.22 C 204.45 680.63 203.16 662.94 202.88 645.23 C 202.97 643.48 203.14 639.98 203.23 638.23 C 207.05 574.76 194.22 510.95 201.34 447.71 C 201.28 445.02 203.12 441.52 200.27 439.71 C 195.16 463.56 194.54 487.92 194.78 512.22 C 194.23 506.71 193.89 501.20 193.30 495.71 C 191.34 475.79 197.43 456.26 197.99 436.71 Z$#c8756b@M 336.38 431.71 C 336.98 434.53 336.63 437.39 336.66 440.29 C 335.97 437.48 336.32 434.54 336.38 431.71 Z$#5c5553@M 512.81 453.95 C 542.24 455.27 571.16 445.73 597.18 432.69 C 597.89 433.62 597.72 434.28 596.67 434.68 C 586.01 440.96 573.99 444.07 562.70 448.90 C 528.52 458.72 491.30 458.46 457.62 446.97 L 458.06 446.03 C 475.75 451.01 494.31 454.13 512.81 453.95 Z$#5c5553@M 200.24 651.70 C 202.45 696.84 210.48 741.61 208.99 786.99 L 208.02 787.00 C 207.94 759.43 205.21 731.95 203.42 704.45 C 200.44 687.55 199.07 670.36 199.10 653.20 C 199.38 652.83 199.96 652.08 200.24 651.70 Z$#d49386@M 328.33 433.70 C 329.01 436.52 328.65 439.38 328.67 442.29 C 327.99 439.48 328.29 436.54 328.33 433.70 Z$#854d42@M 155.80 437.68 C 156.52 436.86 157.23 436.04 157.97 435.25 C 162.43 438.86 160.49 444.91 155.77 447.25 C 152.17 447.29 149.12 452.48 145.78 450.31 C 150.08 447.05 154.60 444.09 158.77 440.68 C 159.90 438.17 157.97 437.64 155.80 437.68 Z$#785a47@M 285.30 435.33 C 285.70 435.22 286.50 435.00 286.89 434.89 C 287.92 445.28 288.04 455.78 290.86 465.91 C 290.03 467.51 289.53 473.95 287.32 470.73 C 284.94 459.40 282.32 447.84 283.15 436.20 C 283.69 435.98 284.77 435.55 285.30 435.33 Z$#786c6c@M 192.17 443.92 C 194.02 441.44 195.96 439.03 197.99 436.71 C 197.43 456.26 191.34 475.79 193.30 495.71 C 192.15 523.26 195.92 550.71 196.91 578.20 C 195.08 571.98 194.07 564.93 190.23 559.63 C 190.09 562.53 189.82 568.34 189.68 571.24 C 188.78 563.85 188.99 556.41 188.99 549.00 C 188.79 526.92 189.42 504.82 188.74 482.76 C 189.39 469.81 191.31 456.96 193.79 444.25 C 193.39 444.17 192.58 444.01 192.17 443.92 Z$#755745@M 272.01 437.01 C 273.28 436.94 274.55 436.96 275.82 437.08 C 277.70 450.93 278.22 465.42 284.86 478.09 C 276.18 478.72 276.38 465.46 274.19 459.91 C 273.19 452.31 271.80 444.69 272.01 437.01 Z$#9f9896@M 314.17 446.23 C 314.02 443.07 314.36 439.88 314.88 436.78 C 314.97 439.96 314.59 443.07 314.17 446.23 Z$#c68274@M 145.78 450.31 C 144.05 445.61 153.48 441.89 155.80 437.68 C 157.97 437.64 159.90 438.17 158.77 440.68 C 154.60 444.09 150.08 447.05 145.78 450.31 Z$#b6685c@M 184.06 437.98 C 184.93 438.58 187.13 438.35 186.92 439.85 C 185.47 444.39 181.53 447.23 178.85 450.97 C 176.78 453.36 173.61 455.52 172.66 451.00 L 173.48 451.30 C 177.35 451.69 179.60 445.25 183.00 443.02 C 186.01 439.05 180.22 442.69 178.65 443.77 C 179.95 441.42 181.87 439.52 184.06 437.98 Z$#9c9394@M 440.74 438.25 L 441.58 437.98 C 442.62 440.22 444.66 440.99 447.72 440.29 C 468.48 445.15 489.54 447.84 510.77 449.23 C 515.45 450.12 518.83 451.61 512.81 453.95 C 494.31 454.13 475.75 451.01 458.06 446.03 C 454.00 445.75 449.81 445.93 446.91 449.08 C 442.95 446.92 442.07 442.16 440.74 438.25 Z$#b3acab@M 268.01 439.06 L 268.81 439.00 C 269.77 440.93 269.39 443.13 268.60 445.05 C 268.45 443.55 268.16 440.56 268.01 439.06 Z$#75493e@M 178.85 450.97 C 181.53 447.23 185.47 444.39 186.92 439.85 C 189.66 443.22 181.37 448.47 186.31 448.08 C 183.82 449.04 181.34 450.02 178.85 450.97 Z$#746a6a@M 200.27 439.71 C 203.12 441.52 201.28 445.02 201.34 447.71 C 192.23 487.27 199.76 527.98 200.14 568.01 C 201.70 591.39 202.24 614.81 203.23 638.23 C 203.14 639.98 202.97 643.48 202.88 645.23 C 201.91 644.11 200.95 642.99 200.03 641.85 C 199.90 598.58 197.91 555.39 194.78 512.22 C 194.54 487.92 195.16 463.56 200.27 439.71 Z$#6e6464@M 247.05 439.94 C 248.10 440.12 249.14 440.35 250.18 440.64 C 252.22 486.61 251.05 532.69 244.89 578.33 C 243.79 577.94 243.02 577.23 242.58 576.22 C 247.41 541.06 249.64 505.46 248.88 469.96 C 247.79 459.99 247.98 449.93 247.05 439.94 Z$#b3887c@M 264.29 439.89 C 265.56 441.35 265.37 443.37 264.74 445.07 C 263.43 443.62 263.62 441.58 264.29 439.89 Z$#d29688@M 178.65 443.77 C 180.22 442.69 186.01 439.05 183.00 443.02 C 179.60 445.25 177.35 451.69 173.48 451.30 C 174.92 448.60 176.80 446.19 178.65 443.77 Z$#3b3835@M 250.18 440.64 L 251.04 440.84 C 253.76 478.52 253.83 516.46 249.01 554.00 C 247.91 557.47 251.49 559.04 250.57 552.42 C 252.18 542.46 255.22 532.78 256.71 522.80 C 256.98 523.40 257.53 524.62 257.80 525.23 C 251.43 555.37 242.66 585.88 246.97 616.99 L 246.07 617.06 C 245.26 612.34 244.61 607.62 243.73 602.92 C 239.88 610.30 240.04 619.43 234.98 626.21 C 239.38 611.81 242.58 597.15 244.48 582.18 C 244.70 580.90 244.82 579.61 244.89 578.33 C 251.05 532.69 252.22 486.61 250.18 440.64 Z$#3b3835@M 193.30 495.71 C 193.89 501.20 194.23 506.71 194.78 512.22 C 197.91 555.39 199.90 598.58 200.03 641.85 C 200.03 645.08 200.04 648.43 200.24 651.70 C 199.96 652.08 199.38 652.83 199.10 653.20 C 199.19 628.17 197.95 603.19 196.91 578.20 C 195.92 550.71 192.15 523.26 193.30 495.71 Z$#74696a@M 251.04 440.84 C 252.99 441.01 255.49 440.72 255.65 443.31 C 258.36 469.69 259.05 496.35 256.71 522.80 C 255.22 532.78 252.18 542.46 250.57 552.42 C 251.49 559.04 247.91 557.47 249.01 554.00 C 253.83 516.46 253.76 478.52 251.04 440.84 Z$#804e43@M 158.96 447.73 C 162.22 445.62 165.63 443.77 169.04 441.92 C 168.57 448.46 162.35 453.36 164.70 460.36 C 163.25 458.94 163.05 456.92 162.64 455.05 C 160.49 455.49 158.00 458.01 156.44 455.32 C 154.33 457.83 153.93 462.91 149.98 463.12 C 151.72 458.55 152.27 450.74 156.80 449.05 C 158.04 452.07 160.51 449.43 158.96 447.73 Z$#885046@M 218.52 443.65 C 227.61 443.64 236.96 444.22 245.85 441.96 C 246.87 451.40 246.68 460.91 247.83 470.34 C 247.12 481.71 249.73 494.29 247.25 505.19 C 238.71 493.20 232.66 479.58 224.91 467.20 L 224.42 466.70 C 223.05 461.95 222.45 456.98 220.28 452.51 C 219.80 449.53 217.73 446.74 218.52 443.65 Z$#b9b2b0@M 309.14 448.10 C 309.33 446.55 309.69 443.46 309.87 441.91 C 309.69 443.46 309.33 446.55 309.14 448.10 Z$#2c2722@M 207.01 443.19 C 210.89 443.03 214.77 442.83 218.65 442.60 L 218.52 443.65 C 217.73 446.74 219.80 449.53 220.28 452.51 C 215.40 454.70 217.03 462.07 215.62 466.67 C 212.85 477.47 216.31 487.74 220.77 497.32 C 215.20 491.92 214.01 484.21 211.61 477.22 C 212.24 467.31 214.76 487.68 214.08 473.04 C 212.28 471.41 215.84 464.99 213.17 464.02 C 213.32 467.24 212.50 470.40 211.14 473.28 C 211.07 471.90 210.99 470.52 210.91 469.15 C 210.27 460.95 211.74 452.97 213.05 444.97 C 206.21 446.02 208.79 457.89 206.93 463.20 L 206.33 462.76 C 204.95 461.16 203.40 463.59 204.04 464.97 C 204.12 475.83 207.27 486.31 212.14 495.94 C 200.77 481.49 201.22 460.18 207.01 443.19 Z$#431e1b@M 192.17 443.92 C 192.58 444.01 193.39 444.17 193.79 444.25 C 191.31 456.96 189.39 469.81 188.74 482.76 C 187.10 504.78 188.39 526.92 188.03 549.00 C 190.62 563.12 182.50 550.79 179.31 546.73 C 178.99 545.10 178.64 543.48 178.23 541.88 C 178.10 538.29 178.03 534.78 177.85 531.23 C 176.79 513.01 179.97 494.91 179.46 476.76 C 181.93 467.13 186.61 457.59 187.25 447.73 C 188.98 446.59 190.74 445.45 192.17 443.92 Z$#73543f@M 206.93 463.20 C 208.79 457.89 206.21 446.02 213.05 444.97 C 211.74 452.97 210.27 460.95 210.91 469.15 C 209.63 468.03 208.33 466.94 207.04 465.83 C 207.02 465.17 206.96 463.86 206.93 463.20 Z$#be6056@M 337.34 444.71 C 338.49 452.13 337.86 459.66 337.87 467.14 C 335.95 459.86 337.37 452.13 337.34 444.71 Z$#908585@M 265.07 446.75 C 266.94 450.00 269.69 456.34 269.36 448.74 C 271.28 458.20 272.71 468.09 268.80 477.23 C 268.39 476.88 267.55 476.17 267.13 475.82 C 267.02 466.08 266.05 456.42 265.07 446.75 Z$#898281@M 302.23 451.11 C 301.63 449.72 301.46 447.89 302.86 446.91 C 303.40 448.32 303.43 450.02 302.23 451.11 Z$#9a9091@M 449.78 449.20 C 452.12 447.66 454.78 446.75 457.62 446.97 C 491.30 458.46 528.52 458.72 562.70 448.90 L 563.41 449.76 C 559.25 452.71 554.51 454.63 549.95 456.85 C 537.46 462.64 525.55 474.87 510.81 466.41 C 511.30 466.10 512.28 465.46 512.77 465.14 C 491.62 460.52 470.53 455.37 449.78 449.20 Z$#1d1c19@M 186.31 448.08 L 187.25 447.73 C 186.61 457.59 181.93 467.13 179.46 476.76 C 178.04 483.47 176.91 490.24 175.50 496.95 C 168.18 496.62 161.51 502.65 153.97 503.05 C 159.03 485.48 166.13 468.10 172.66 451.00 C 173.61 455.52 176.78 453.36 178.85 450.97 C 181.34 450.02 183.82 449.04 186.31 448.08 Z$#292c27@M 201.34 447.71 C 194.22 510.95 207.05 574.76 203.23 638.23 C 202.24 614.81 201.70 591.39 200.14 568.01 C 199.76 527.98 192.23 487.27 201.34 447.71 Z$#b69d8d@M 303.90 466.98 C 304.85 460.59 306.23 454.26 306.78 447.82 C 307.05 448.96 307.34 450.10 307.65 451.24 C 307.55 452.22 307.44 453.20 307.31 454.18 C 306.55 458.52 306.49 463.24 303.90 466.98 Z$#c67368@M 329.33 447.71 C 330.01 450.52 329.69 453.38 329.72 456.30 C 328.93 453.50 329.27 450.54 329.33 447.71 Z$#252723@M 697.81 448.09 C 708.43 447.43 704.12 465.21 715.26 461.34 C 732.97 484.53 753.07 508.35 766.50 534.68 C 767.08 545.22 775.63 554.26 774.93 565.30 C 767.71 561.76 768.10 552.29 762.99 546.81 C 762.63 549.09 765.65 554.58 761.33 552.74 C 757.43 552.05 759.53 542.31 756.51 546.96 C 750.17 537.39 744.75 527.15 738.48 517.52 C 735.86 515.34 738.99 520.76 738.97 522.16 C 726.16 508.92 721.14 490.67 711.63 475.34 C 705.13 467.36 700.09 458.16 697.81 448.09 Z$#6d6665@M 447.70 450.28 C 448.22 450.01 449.26 449.47 449.78 449.20 C 470.53 455.37 491.62 460.52 512.77 465.14 C 512.28 465.46 511.30 466.10 510.81 466.41 C 489.62 461.69 468.47 456.67 447.70 450.28 Z$#a29997@M 313.25 454.11 C 312.62 452.71 312.46 450.89 313.86 449.90 C 314.39 451.31 314.43 453.00 313.25 454.11 Z$#d0c8c8@M 563.41 449.76 C 563.84 449.91 564.69 450.21 565.12 450.36 C 561.70 454.04 556.83 455.86 552.45 458.13 C 551.83 457.81 550.58 457.17 549.95 456.85 C 554.51 454.63 559.25 452.71 563.41 449.76 Z$#775b3f@M 215.62 466.67 C 217.03 462.07 215.40 454.70 220.28 452.51 C 219.77 467.70 216.68 483.38 223.07 497.86 C 222.50 497.72 221.35 497.45 220.77 497.32 C 216.31 487.74 212.85 477.47 215.62 466.67 Z$#24221e@M 220.28 452.51 C 222.45 456.98 223.05 461.95 224.42 466.70 C 221.95 469.57 222.78 462.25 221.25 460.64 C 218.38 474.80 220.41 489.94 227.28 502.68 C 228.69 504.05 230.42 505.05 232.11 506.04 C 232.16 498.48 226.82 491.15 228.77 483.70 C 231.38 491.53 232.30 499.82 234.92 507.65 C 233.66 507.58 232.41 507.43 231.16 507.32 C 227.14 504.65 223.14 501.61 220.77 497.32 C 221.35 497.45 222.50 497.72 223.07 497.86 C 216.68 483.38 219.77 467.70 220.28 452.51 Z$#b59882@M 291.98 468.19 C 292.03 463.24 293.74 458.50 294.76 453.72 L 295.69 453.84 C 295.51 454.91 295.34 456.00 295.16 457.09 C 293.88 460.56 294.78 465.65 291.98 468.19 Z$#574a41@M 307.31 454.18 L 308.08 454.11 C 307.85 457.72 307.49 461.38 306.89 464.97 C 305.05 470.79 304.06 477.60 298.91 481.57 C 294.03 483.15 298.08 479.55 299.28 477.39 C 294.21 478.43 299.71 470.31 300.95 467.76 C 300.83 470.27 300.36 472.73 300.13 475.23 C 301.79 472.67 302.58 469.70 303.90 466.98 C 306.49 463.24 306.55 458.52 307.31 454.18 Z$#d5b8ab@M 308.08 454.11 L 308.86 454.01 C 309.71 456.80 310.86 459.43 311.87 462.18 C 311.11 466.25 310.32 470.39 308.61 474.20 C 308.06 470.72 312.92 459.60 306.89 464.97 C 307.49 461.38 307.85 457.72 308.08 454.11 Z$#cec9c9@M 323.32 455.71 C 324.69 477.06 324.41 498.84 323.16 520.23 C 322.96 498.72 322.73 477.21 323.32 455.71 Z$#d5b3a1@M 296.09 457.07 L 296.96 457.03 C 296.13 460.49 299.12 456.29 301.01 457.89 C 300.63 460.65 300.02 463.37 299.18 466.03 C 297.79 465.56 296.39 465.13 294.99 464.75 C 295.51 462.21 295.92 459.65 296.09 457.07 Z$#654c38@M 204.04 464.97 C 203.40 463.59 204.95 461.16 206.33 462.76 C 206.20 463.26 205.96 464.25 205.84 464.75 C 205.39 464.81 204.49 464.92 204.04 464.97 Z$#38342e@M 206.33 462.76 L 206.93 463.20 C 206.96 463.86 207.02 465.17 207.04 465.83 C 206.27 474.70 209.92 482.84 211.95 491.20 C 206.60 483.60 206.40 473.69 205.84 464.75 C 205.96 464.25 206.20 463.26 206.33 462.76 Z$#ad8e75@M 306.89 464.97 C 312.92 459.60 308.06 470.72 308.61 474.20 C 307.90 476.13 306.82 477.90 305.75 479.65 C 305.16 480.46 304.57 481.27 303.98 482.08 C 302.29 481.94 300.60 481.77 298.91 481.57 C 304.06 477.60 305.05 470.79 306.89 464.97 Z$#67513c@M 213.17 464.02 C 215.84 464.99 212.28 471.41 214.08 473.04 C 214.76 487.68 212.24 467.31 211.61 477.22 C 211.26 475.93 211.17 474.60 211.14 473.28 C 212.50 470.40 213.32 467.24 213.17 464.02 Z$#c7c3c0@M 204.04 464.97 C 204.49 464.92 205.39 464.81 205.84 464.75 C 206.40 473.69 206.60 483.60 211.95 491.20 C 212.64 493.19 213.35 495.18 213.93 497.21 C 213.48 496.89 212.58 496.26 212.14 495.94 C 207.27 486.31 204.12 475.83 204.04 464.97 Z$#ac8b72@M 294.99 464.75 C 296.39 465.13 297.79 465.56 299.18 466.03 C 297.14 471.66 295.33 480.00 288.01 480.19 C 291.70 475.75 293.46 470.21 294.99 464.75 Z$#957e52@M 207.04 465.83 C 208.33 466.94 209.63 468.03 210.91 469.15 C 210.99 470.52 211.07 471.90 211.14 473.28 C 211.17 474.60 211.26 475.93 211.61 477.22 C 214.01 484.21 215.20 491.92 220.77 497.32 C 223.14 501.61 227.14 504.65 231.16 507.32 C 230.83 507.51 230.18 507.88 229.85 508.07 C 227.27 506.75 224.79 505.24 222.35 503.68 C 221.38 502.83 220.43 501.96 219.38 501.23 C 218.17 505.27 214.99 498.57 213.93 497.21 C 213.35 495.18 212.64 493.19 211.95 491.20 C 209.92 482.84 206.27 474.70 207.04 465.83 M 215.18 496.33 C 214.32 501.00 219.58 496.79 215.18 496.33 Z$#a96b5c@M 224.91 467.20 C 232.66 479.58 238.71 493.20 247.25 505.19 C 246.70 505.48 245.60 506.06 245.05 506.35 C 241.85 507.69 238.34 507.88 234.92 507.65 C 232.30 499.82 231.38 491.53 228.77 483.70 C 227.28 478.25 225.89 472.76 224.91 467.20 Z$#ecd4cb@M 338.13 467.88 C 340.75 477.57 338.08 488.05 338.99 497.99 L 338.01 498.01 C 337.92 487.96 338.04 477.92 338.13 467.88 Z$#312b26@M 247.83 470.34 L 248.88 469.96 C 249.64 505.46 247.41 541.06 242.58 576.22 C 243.19 565.31 242.76 554.42 240.46 543.86 C 241.47 546.33 242.40 548.86 243.72 551.19 C 245.47 541.25 245.96 531.13 246.63 521.09 C 243.06 520.52 239.52 519.77 235.96 519.24 C 236.29 522.14 236.88 524.93 237.32 527.84 C 234.53 534.86 236.94 518.68 233.61 518.39 C 229.48 515.81 215.95 508.97 222.35 503.68 C 224.79 505.24 227.27 506.75 229.85 508.07 C 231.62 509.00 233.41 509.89 235.10 510.98 C 236.06 512.32 237.04 513.67 238.05 514.99 C 234.96 513.42 232.42 510.44 228.86 510.03 C 225.92 510.99 240.51 521.01 238.05 514.99 C 241.66 515.75 250.12 520.59 247.03 512.01 C 247.92 509.06 244.88 510.35 243.18 510.34 C 239.46 508.61 250.96 508.62 245.05 506.35 C 245.60 506.06 246.70 505.48 247.25 505.19 C 249.73 494.29 247.12 481.71 247.83 470.34 Z$#625853@M 268.80 477.23 C 269.94 482.26 271.16 468.97 274.08 469.89 C 264.86 505.21 255.26 540.56 249.67 576.68 C 245.95 599.74 247.11 625.33 261.30 644.90 C 259.88 649.95 256.01 638.78 254.15 636.88 C 250.52 630.78 248.57 623.85 246.97 616.99 C 242.66 585.88 251.43 555.37 257.80 525.23 C 259.84 508.63 269.70 492.78 267.13 475.82 C 267.55 476.17 268.39 476.88 268.80 477.23 Z$#2c2c28@M 274.08 469.89 C 275.69 470.92 275.25 473.44 275.90 475.10 C 275.49 474.86 274.66 474.38 274.24 474.13 C 264.89 517.69 248.36 560.81 250.10 605.98 C 249.93 625.53 260.33 643.04 272.45 657.60 C 280.12 665.86 282.25 677.05 285.59 687.39 C 285.54 675.24 289.15 663.55 292.29 651.95 C 292.54 652.29 293.04 652.97 293.29 653.31 C 287.83 674.36 285.39 696.28 286.97 717.99 C 286.84 753.11 287.38 788.26 286.74 823.38 C 286.09 823.32 284.80 823.18 284.15 823.11 C 286.03 789.91 284.63 756.51 284.87 723.23 C 284.89 707.79 285.62 691.93 280.96 677.00 C 278.20 664.40 268.28 655.24 261.30 644.90 C 247.11 625.33 245.95 599.74 249.67 576.68 C 255.26 540.56 264.86 505.21 274.08 469.89 Z$#8b6b59@M 290.34 471.36 C 292.10 471.02 290.16 476.68 287.92 477.12 C 288.32 475.05 289.22 473.11 290.34 471.36 Z$#514942@M 274.24 474.13 C 274.66 474.38 275.49 474.86 275.90 475.10 C 277.48 480.61 283.29 481.63 288.26 481.90 C 293.10 483.26 300.46 486.65 303.98 482.08 C 304.57 481.27 305.16 480.46 305.75 479.65 C 313.41 476.13 314.46 487.20 316.96 492.00 C 321.16 523.60 315.36 555.55 313.25 587.16 C 309.83 609.81 298.57 630.11 292.29 651.95 C 289.15 663.55 285.54 675.24 285.59 687.39 C 282.25 677.05 280.12 665.86 272.45 657.60 C 260.33 643.04 249.93 625.53 250.10 605.98 C 248.36 560.81 264.89 517.69 274.24 474.13 Z$#6f6565@M 179.46 476.76 C 179.97 494.91 176.79 513.01 177.85 531.23 C 176.35 529.07 175.84 525.82 173.24 524.74 C 173.37 529.49 172.26 534.14 172.02 538.85 C 171.83 545.01 171.16 551.12 170.38 557.24 C 170.05 556.04 169.71 554.86 169.36 553.69 C 171.21 534.87 171.88 515.57 175.50 496.95 C 176.91 490.24 178.04 483.47 179.46 476.76 Z$\",\"#5d4942@M 188.03 549.00 C 188.39 526.92 187.10 504.78 188.74 482.76 C 189.42 504.82 188.79 526.92 188.99 549.00 L 188.03 549.00 Z$#8b8180@M 568.24 503.13 C 573.45 496.43 578.37 489.25 585.24 484.13 C 583.50 487.38 581.75 490.62 579.88 493.80 C 576.08 498.90 574.11 505.11 570.32 510.20 C 562.38 512.68 558.65 520.59 553.01 525.99 C 543.15 536.12 532.77 545.85 521.32 554.19 C 521.74 551.97 523.80 547.40 517.47 551.61 C 496.12 554.29 477.46 565.48 457.48 572.58 C 434.54 583.93 409.68 590.10 385.70 598.72 C 369.53 604.68 353.24 611.29 335.95 613.03 C 333.53 613.48 331.34 612.38 329.52 610.90 C 329.87 609.52 330.24 608.16 330.61 606.80 C 332.58 612.27 342.13 607.37 346.65 607.58 C 377.32 598.12 408.05 588.58 438.00 576.99 C 461.55 567.64 484.12 554.73 509.66 551.60 C 526.48 547.05 538.26 532.96 551.00 521.99 C 557.46 516.43 563.65 510.36 568.24 503.13 Z$#8b8180@M 626.19 630.78 C 626.47 632.26 627.03 635.24 627.31 636.72 C 627.85 668.44 626.40 700.22 627.00 732.00 C 627.61 779.34 621.44 826.38 618.42 873.56 C 618.18 874.87 618.72 876.11 619.13 877.35 C 618.02 877.96 616.92 878.56 615.83 879.20 C 616.82 837.55 623.08 795.78 623.79 753.96 C 623.49 712.86 625.00 671.84 626.19 630.78 Z$#cb7e73@M 329.20 508.23 C 328.87 503.07 329.00 497.86 329.80 492.76 C 330.14 497.92 330.05 503.11 329.20 508.23 Z$#32302c@M 570.32 510.20 C 574.11 505.11 576.08 498.90 579.88 493.80 L 580.42 494.59 C 579.89 496.80 578.86 498.82 577.73 500.77 C 561.37 527.90 546.79 556.86 524.89 579.97 C 529.80 572.06 535.57 564.70 541.03 557.16 C 545.09 552.61 548.68 547.51 551.01 541.85 C 557.94 531.62 564.43 521.07 570.32 510.20 Z$#615855@M 580.42 494.59 C 581.54 495.95 582.58 497.39 583.64 498.81 C 583.33 500.42 583.08 502.05 582.70 503.66 C 580.00 507.48 583.39 515.39 584.08 520.77 C 588.16 559.50 597.93 597.45 602.98 636.07 C 603.33 638.73 605.16 640.89 606.19 643.33 C 603.23 641.39 600.50 639.13 598.16 636.49 C 597.52 633.35 595.34 630.71 596.74 627.13 C 590.31 592.92 586.40 558.33 579.79 524.15 C 578.77 516.39 578.04 508.58 577.73 500.77 C 578.86 498.82 579.89 496.80 580.42 494.59 Z$#312a25@M 215.18 496.33 C 219.58 496.79 214.32 501.00 215.18 496.33 Z$#d2cbcb@M 456.33 495.71 C 457.91 503.40 456.62 511.40 456.80 519.20 C 454.37 511.81 456.80 503.39 456.33 495.71 Z$#da9e92@M 338.01 498.01 L 338.99 497.99 C 338.96 507.74 339.50 517.53 338.21 527.24 C 337.88 517.49 337.97 507.74 338.01 498.01 Z$#544e49@M 524.89 579.97 C 546.79 556.86 561.37 527.90 577.73 500.77 C 578.04 508.58 578.77 516.39 579.79 524.15 C 586.40 558.33 590.31 592.92 596.74 627.13 C 595.34 630.71 597.52 633.35 598.16 636.49 C 590.08 630.23 581.65 624.39 574.01 617.60 C 569.60 613.94 564.93 610.63 560.24 607.36 C 558.48 605.91 556.82 604.36 555.14 602.84 L 555.16 601.85 C 564.20 607.68 572.52 614.52 581.01 621.11 C 580.64 590.38 579.09 559.56 575.86 529.01 C 571.03 531.12 572.45 540.24 569.02 544.89 C 561.51 554.76 559.02 567.29 553.02 578.01 C 550.73 584.04 545.29 589.43 546.20 596.29 C 545.89 596.03 545.27 595.49 544.96 595.22 C 541.20 590.62 535.84 587.72 529.95 587.00 C 527.67 587.06 524.80 590.31 523.10 587.77 C 523.13 585.07 524.27 582.55 524.89 579.97 Z$#d9d3d3@M 517.87 506.73 C 519.54 505.36 521.25 504.03 522.88 502.61 C 523.38 502.76 524.38 503.07 524.88 503.23 C 521.93 516.70 513.87 529.39 502.18 537.04 C 481.99 548.60 460.35 557.26 438.70 565.72 C 405.57 580.88 370.75 594.08 334.14 596.95 C 334.04 596.42 333.84 595.34 333.75 594.80 C 358.18 590.50 383.34 587.40 406.30 577.28 C 428.43 567.92 450.76 559.08 473.03 550.06 C 489.87 541.98 510.04 534.43 518.06 516.03 C 519.38 513.27 524.05 506.06 517.87 506.73 Z$#928988@M 547.25 522.25 C 555.07 516.73 560.98 509.19 568.24 503.13 C 563.65 510.36 557.46 516.43 551.00 521.99 C 538.26 532.96 526.48 547.05 509.66 551.60 C 484.12 554.73 461.55 567.64 438.00 576.99 C 408.05 588.58 377.32 598.12 346.65 607.58 C 342.13 607.37 332.58 612.27 330.61 606.80 C 330.73 605.55 330.85 604.31 330.95 603.07 L 331.82 602.97 C 331.92 603.72 332.11 605.21 332.21 605.95 C 340.00 606.40 347.50 603.61 355.01 602.03 C 381.31 593.57 408.14 586.49 433.62 575.59 C 450.30 568.75 466.82 561.47 483.40 554.44 C 492.67 552.57 502.01 551.04 511.29 549.20 C 525.71 544.06 535.96 531.95 547.25 522.25 Z$#928988@M 514.99 557.82 C 516.61 556.75 518.27 555.74 520.07 554.98 C 511.96 561.60 512.80 573.40 504.78 579.80 C 497.93 585.95 492.29 593.98 483.83 598.05 C 483.67 595.73 488.18 589.34 483.05 593.11 C 428.87 630.41 373.69 666.51 321.25 706.24 C 312.26 714.07 310.00 726.51 306.22 737.25 C 306.12 732.42 305.96 727.65 305.88 722.85 C 312.34 706.03 324.64 691.97 340.87 683.82 C 376.37 660.89 410.60 636.06 446.03 613.01 C 457.78 604.89 469.60 596.77 480.40 587.39 C 492.82 578.70 508.04 572.27 514.99 557.82 Z$#786f6d@M 584.08 520.77 C 583.39 515.39 580.00 507.48 582.70 503.66 C 586.54 519.77 592.18 537.50 598.01 553.91 C 601.10 564.36 605.30 575.46 612.05 584.02 C 612.28 584.50 612.73 585.46 612.95 585.94 C 613.80 589.92 615.24 593.97 618.08 597.00 C 621.94 603.19 625.29 609.97 627.94 616.72 C 627.61 617.20 626.94 618.15 626.61 618.63 L 625.94 619.10 C 621.80 621.26 626.42 627.51 625.00 630.99 C 624.29 662.33 620.45 693.60 621.02 725.00 C 621.16 776.77 615.13 828.23 612.13 879.82 C 612.66 879.98 613.72 880.28 614.25 880.43 C 611.25 882.14 608.26 883.86 605.14 885.34 C 610.25 847.02 614.01 808.21 613.60 769.55 C 609.45 751.05 616.21 732.95 617.35 714.53 C 618.15 686.29 622.59 658.26 622.94 630.02 C 623.01 620.62 617.42 613.12 611.87 606.15 C 606.99 596.41 600.29 587.57 596.90 577.10 C 589.70 559.08 590.14 538.85 584.08 520.77 Z$#604a3a@M 234.92 507.65 C 238.34 507.88 241.85 507.69 245.05 506.35 C 250.96 508.62 239.46 508.61 243.18 510.34 C 240.47 510.56 237.81 510.92 235.10 510.98 C 233.41 509.89 231.62 509.00 229.85 508.07 C 230.18 507.88 230.83 507.51 231.16 507.32 C 232.41 507.43 233.66 507.58 234.92 507.65 Z$#edeaea@M 512.85 510.84 C 514.50 509.44 516.18 508.07 517.87 506.73 C 524.05 506.06 519.38 513.27 518.06 516.03 C 510.04 534.43 489.87 541.98 473.03 550.06 C 450.76 559.08 428.43 567.92 406.30 577.28 C 383.34 587.40 358.18 590.50 333.75 594.80 L 333.58 593.78 C 333.92 592.42 334.28 591.07 334.68 589.74 C 348.30 586.09 362.44 585.00 376.01 581.07 C 406.46 576.16 433.51 560.62 462.69 551.55 C 479.77 544.61 497.96 537.28 511.00 524.01 C 512.95 520.95 522.05 507.70 512.85 510.84 Z$#735a3e@M 238.05 514.99 C 240.51 521.01 225.92 510.99 228.86 510.03 C 232.42 510.44 234.96 513.42 238.05 514.99 Z$#a86b5b@M 243.18 510.34 C 244.88 510.35 247.92 509.06 247.03 512.01 C 250.12 520.59 241.66 515.75 238.05 514.99 C 237.04 513.67 236.06 512.32 235.10 510.98 C 237.81 510.92 240.47 510.56 243.18 510.34 Z$#9a8f91@M 553.01 525.99 C 558.65 520.59 562.38 512.68 570.32 510.20 C 564.43 521.07 557.94 531.62 551.01 541.85 C 546.74 546.17 542.86 551.29 541.03 557.16 C 535.57 564.70 529.80 572.06 524.89 579.97 C 523.05 581.52 521.13 583.05 519.75 585.05 C 519.53 585.49 519.09 586.37 518.88 586.81 C 498.98 607.48 479.62 628.72 459.63 649.29 C 459.00 650.11 458.47 651.00 457.94 651.89 C 450.75 658.42 443.89 665.33 437.88 672.98 C 434.89 675.66 431.99 678.46 429.10 681.25 C 431.38 669.87 442.45 662.09 450.13 654.15 C 465.78 635.17 482.20 616.83 497.81 597.81 C 507.88 585.54 520.52 574.97 528.00 560.78 C 519.09 566.54 512.56 575.57 505.28 583.28 C 487.85 599.85 469.85 615.86 453.75 633.75 C 411.19 681.72 372.12 732.67 329.99 781.00 C 326.41 787.18 315.91 791.81 316.85 799.45 C 314.82 801.63 312.63 803.70 310.89 806.14 C 321.12 798.94 329.42 788.52 339.11 780.49 C 338.78 783.27 337.13 785.47 334.99 787.16 C 339.17 788.33 341.18 783.71 339.11 780.49 C 344.22 774.91 349.44 766.26 356.40 763.78 C 331.98 801.97 311.58 842.72 284.48 879.19 C 271.08 856.31 261.72 831.26 246.55 809.40 C 244.52 807.01 242.71 809.61 241.16 811.07 C 240.46 809.00 239.77 806.94 239.12 804.87 C 249.74 804.24 249.12 790.01 255.29 783.31 C 263.56 769.97 271.48 756.32 280.84 743.73 C 280.89 747.34 280.91 751.08 281.29 754.72 C 281.52 768.18 279.72 781.93 281.69 795.29 C 282.15 804.25 281.81 813.23 282.34 822.21 C 282.79 822.43 283.70 822.89 284.15 823.11 C 284.80 823.18 286.09 823.32 286.74 823.38 C 287.09 823.46 287.79 823.62 288.14 823.70 C 289.03 823.53 289.91 823.31 290.78 823.03 C 292.27 822.44 293.65 821.58 294.84 820.51 C 298.59 817.44 302.65 814.72 306.13 811.35 C 308.43 809.31 310.18 807.26 305.91 808.68 C 305.87 804.49 305.92 800.36 305.97 796.20 C 308.28 797.12 310.04 794.93 311.79 793.79 C 329.86 777.14 344.54 757.19 360.63 738.68 C 391.85 700.30 424.19 662.83 455.89 624.85 C 457.93 622.03 459.62 618.96 460.98 615.77 C 438.88 629.74 417.21 644.72 396.04 660.09 C 382.71 667.27 372.79 679.10 359.69 686.70 C 347.59 697.68 332.94 705.83 321.52 717.55 C 308.66 731.20 311.01 751.54 306.20 768.27 C 306.09 757.93 305.63 747.58 306.22 737.25 C 310.00 726.51 312.26 714.07 321.25 706.24 C 373.69 666.51 428.87 630.41 483.05 593.11 C 488.18 589.34 483.67 595.73 483.83 598.05 C 492.29 593.98 497.93 585.95 504.78 579.80 C 512.80 573.40 511.96 561.60 520.07 554.98 C 520.38 554.78 521.01 554.39 521.32 554.19 C 532.77 545.85 543.15 536.12 553.01 525.99 M 310.23 818.12 C 308.68 819.87 307.66 822.28 304.96 822.33 C 306.73 824.75 310.45 827.37 313.30 825.31 C 317.04 823.21 314.32 816.77 310.23 818.12 Z$#9a8f91@M 629.21 646.77 C 634.54 670.47 637.29 694.91 644.93 718.05 C 651.05 759.20 664.88 798.92 670.71 840.18 C 670.89 841.87 671.73 843.29 673.13 844.29 C 656.49 854.63 640.04 865.30 623.19 875.29 C 623.04 864.80 624.24 854.33 624.71 843.87 C 631.28 778.38 631.21 712.48 629.21 646.77 Z$#e8cbc1@M 327.99 530.01 C 327.94 523.92 327.81 517.79 328.80 511.78 C 328.90 517.84 329.04 523.91 329.01 529.99 L 327.99 530.01 Z$#ad6f5e@M 235.96 519.24 C 239.52 519.77 243.06 520.52 246.63 521.09 C 245.96 531.13 245.47 541.25 243.72 551.19 C 242.40 548.86 241.47 546.33 240.46 543.86 C 239.25 538.55 237.89 533.26 237.32 527.84 C 236.88 524.93 236.29 522.14 235.96 519.24 Z$#726a68@M 584.08 520.77 C 590.14 538.85 589.70 559.08 596.90 577.10 C 600.29 587.57 606.99 596.41 611.87 606.15 C 617.42 613.12 623.01 620.62 622.94 630.02 C 622.59 658.26 618.15 686.29 617.35 714.53 C 616.21 732.95 609.45 751.05 613.60 769.55 C 614.01 808.21 610.25 847.02 605.14 885.34 C 598.74 888.86 591.79 891.14 585.22 894.31 C 588.71 857.33 594.21 820.55 597.39 783.54 C 598.45 769.55 602.26 755.46 601.02 741.46 C 607.47 714.92 612.88 687.90 613.60 660.54 C 612.55 657.10 614.12 652.52 611.23 649.80 C 611.02 649.51 610.60 648.94 610.39 648.65 C 609.11 646.78 607.64 645.06 606.19 643.33 C 605.16 640.89 603.33 638.73 602.98 636.07 C 597.93 597.45 588.16 559.50 584.08 520.77 Z$#877d7d@M 173.24 524.74 C 175.84 525.82 176.35 529.07 177.85 531.23 C 178.03 534.78 178.10 538.29 178.23 541.88 L 178.09 543.08 C 175.65 542.35 173.84 540.52 172.02 538.85 C 172.26 534.14 173.37 529.49 173.24 524.74 Z$#716968@M 569.02 544.89 C 572.45 540.24 571.03 531.12 575.86 529.01 C 579.09 559.56 580.64 590.38 581.01 621.11 C 572.52 614.52 564.20 607.68 555.16 601.85 C 553.68 600.61 550.72 598.14 549.24 596.90 C 556.52 579.88 564.74 562.98 569.02 544.89 Z$#c86f64@M 327.99 530.01 L 329.01 529.99 C 329.08 536.07 329.08 542.18 328.22 548.23 C 328.06 542.15 327.94 536.07 327.99 530.01 Z$#c5bdbd@M 438.70 565.72 C 460.35 557.26 481.99 548.60 502.18 537.04 C 488.49 547.83 471.62 553.86 455.70 560.72 C 432.89 569.34 411.27 580.96 387.73 587.59 C 369.60 592.21 351.27 599.87 332.47 599.00 C 332.59 598.23 332.84 596.70 332.97 595.93 C 333.12 595.39 333.43 594.32 333.58 593.78 L 333.75 594.80 C 333.84 595.34 334.04 596.42 334.14 596.95 C 370.75 594.08 405.57 580.88 438.70 565.72 Z$#826862@M 178.23 541.88 C 178.64 543.48 178.99 545.10 179.31 546.73 C 179.11 549.87 178.93 553.12 178.65 556.31 C 177.63 551.98 178.12 547.45 178.09 543.08 L 178.23 541.88 Z$#6e6360@M 541.03 557.16 C 542.86 551.29 546.74 546.17 551.01 541.85 C 548.68 547.51 545.09 552.61 541.03 557.16 Z$#605855@M 553.02 578.01 C 559.02 567.29 561.51 554.76 569.02 544.89 C 564.74 562.98 556.52 579.88 549.24 596.90 C 550.72 598.14 553.68 600.61 555.16 601.85 L 555.14 602.84 C 552.11 600.70 549.02 598.67 546.20 596.29 C 545.29 589.43 550.73 584.04 553.02 578.01 Z$#56201e@M 179.31 546.73 C 182.50 550.79 190.62 563.12 188.03 549.00 L 188.99 549.00 C 188.99 556.41 188.78 563.85 189.68 571.24 C 190.06 577.42 190.63 583.60 191.24 589.77 C 191.03 596.91 190.66 604.12 191.76 611.24 C 191.69 647.39 193.71 683.51 197.53 719.46 C 199.80 737.47 202.49 755.50 202.25 773.70 C 202.29 778.18 201.55 782.86 202.65 787.30 C 203.01 797.17 203.91 807.08 206.25 816.71 C 203.12 813.71 202.76 805.78 199.33 801.68 C 198.00 797.16 192.89 794.33 192.21 789.86 C 194.20 791.45 197.93 795.76 195.00 787.05 C 193.27 740.19 182.32 694.23 181.79 647.25 C 181.88 638.07 182.62 628.83 181.31 619.72 C 181.00 616.60 180.84 613.39 180.63 610.30 C 180.72 604.12 181.77 597.78 180.31 591.71 C 180.01 588.91 179.85 586.04 179.64 583.29 C 179.62 576.80 180.97 570.09 179.32 563.71 C 179.07 561.23 178.85 558.76 178.65 556.31 C 178.93 553.12 179.11 549.87 179.31 546.73 Z$#9b9493@M 321.33 554.01 C 319.98 551.78 320.10 549.45 321.69 547.00 C 323.00 549.19 322.88 551.52 321.33 554.01 Z$#cb7e72@M 337.23 566.21 C 337.05 560.39 336.77 554.53 337.79 548.77 C 337.95 554.58 338.22 560.43 337.23 566.21 Z$#837978@M 517.47 551.61 C 523.80 547.40 521.74 551.97 521.32 554.19 C 521.01 554.39 520.38 554.78 520.07 554.98 C 518.27 555.74 516.61 556.75 514.99 557.82 C 499.53 574.21 477.85 582.45 460.21 596.20 C 420.71 620.69 382.85 647.60 344.01 673.03 C 334.95 675.55 329.66 683.36 321.81 687.81 C 315.04 695.42 310.76 704.80 305.15 713.24 C 300.86 676.88 320.48 644.72 329.52 610.90 C 331.34 612.38 333.53 613.48 335.95 613.03 C 353.24 611.29 369.53 604.68 385.70 598.72 C 409.68 590.10 434.54 583.93 457.48 572.58 C 477.46 565.48 496.12 554.29 517.47 551.61 Z$#595451@M 598.01 553.91 C 603.35 563.24 607.79 573.89 612.05 584.02 C 605.30 575.46 601.10 564.36 598.01 553.91 Z$#8a807f@M 460.21 596.20 C 477.85 582.45 499.53 574.21 514.99 557.82 C 508.04 572.27 492.82 578.70 480.40 587.39 C 469.60 596.77 457.78 604.89 446.03 613.01 C 410.60 636.06 376.37 660.89 340.87 683.82 C 324.64 691.97 312.34 706.03 305.88 722.85 L 304.99 723.12 C 304.97 719.77 304.99 716.54 305.15 713.24 C 310.76 704.80 315.04 695.42 321.81 687.81 C 329.66 683.36 334.95 675.55 344.01 673.03 C 382.85 647.60 420.71 620.69 460.21 596.20 Z$#b0a9a9@M 320.18 564.08 C 319.62 562.36 319.47 560.36 320.75 558.92 C 321.37 560.62 321.58 562.68 320.18 564.08 Z$#968c8d@M 190.23 559.63 C 194.07 564.93 195.08 571.98 196.91 578.20 C 197.95 603.19 199.19 628.17 199.10 653.20 C 199.07 670.36 200.44 687.55 203.42 704.45 C 205.21 731.95 207.94 759.43 208.02 787.00 C 207.77 798.41 208.34 809.83 207.89 821.24 C 206.91 819.91 206.70 818.23 206.25 816.71 C 203.91 807.08 203.01 797.17 202.65 787.30 C 202.56 782.78 203.70 778.07 202.25 773.70 C 202.49 755.50 199.80 737.47 197.53 719.46 C 193.71 683.51 191.69 647.39 191.76 611.24 C 191.97 604.07 192.36 596.86 191.24 589.77 C 190.63 583.60 190.06 577.42 189.68 571.24 C 189.82 568.34 190.09 562.53 190.23 559.63 Z$#a09798@M 505.28 583.28 C 512.56 575.57 519.09 566.54 528.00 560.78 C 520.52 574.97 507.88 585.54 497.81 597.81 C 482.20 616.83 465.78 635.17 450.13 654.15 C 442.45 662.09 431.38 669.87 429.10 681.25 C 426.96 684.76 423.74 687.42 421.35 690.74 C 413.29 699.15 405.40 707.71 397.98 716.68 C 395.26 719.71 392.66 722.87 389.81 725.78 C 388.16 727.33 386.55 728.92 385.00 730.58 C 383.61 731.92 382.24 733.28 380.92 734.70 C 373.15 742.64 365.69 750.87 357.94 758.83 C 343.94 772.06 330.80 786.17 316.85 799.45 C 315.91 791.81 326.41 787.18 329.99 781.00 C 372.12 732.67 411.19 681.72 453.75 633.75 C 469.85 615.86 487.85 599.85 505.28 583.28 Z$#836861@M 179.32 563.71 C 180.97 570.09 179.62 576.80 179.64 583.29 C 178.13 576.88 179.33 570.19 179.32 563.71 Z$#c9766a@M 327.20 571.11 C 327.36 569.56 327.69 566.46 327.86 564.90 C 327.69 566.46 327.36 569.56 327.20 571.11 Z$#c98275@M 336.37 578.03 C 334.98 575.80 335.09 573.45 336.68 570.98 C 337.97 573.17 337.87 575.52 336.37 578.03 Z$#ada7a6@M 319.21 578.12 C 319.37 576.57 319.68 573.46 319.84 571.90 C 319.68 573.46 319.37 576.57 319.21 578.12 Z$#d28d80@M 326.37 582.06 C 325.00 579.83 325.10 577.47 326.66 574.98 C 327.98 577.18 327.88 579.54 326.37 582.06 Z$#716666@M 241.42 586.20 C 241.21 582.87 242.64 576.85 244.48 582.18 C 242.58 597.15 239.38 611.81 234.98 626.21 C 240.04 619.43 239.88 610.30 243.73 602.92 C 244.61 607.62 245.26 612.34 246.07 617.06 C 240.83 634.34 227.75 648.12 223.72 665.84 C 223.24 668.94 222.98 672.16 222.36 675.26 C 224.26 665.28 220.79 670.79 217.06 673.23 C 216.01 657.62 226.47 645.31 232.07 631.82 C 217.71 648.31 213.79 670.97 213.46 692.17 C 211.57 690.16 210.80 691.50 211.15 696.20 C 210.64 684.50 211.48 672.61 214.28 661.23 C 216.81 649.17 224.49 639.28 229.67 628.34 C 237.31 615.61 238.92 600.53 241.42 586.20 Z$#33312e@M 519.75 585.05 C 521.13 583.05 523.05 581.52 524.89 579.97 C 524.27 582.55 523.13 585.07 523.10 587.77 C 524.80 590.31 527.67 587.06 529.95 587.00 C 535.84 587.72 541.20 590.62 544.96 595.22 C 541.57 593.48 538.30 591.52 534.98 589.67 C 530.80 588.23 526.34 589.37 522.20 590.20 C 519.33 596.23 517.82 602.82 514.98 608.87 C 512.01 613.77 509.73 619.05 506.99 624.07 C 507.53 625.33 508.77 626.09 509.79 626.96 C 510.07 627.18 510.62 627.62 510.90 627.83 L 510.05 628.05 C 503.82 623.05 503.08 634.56 500.03 638.01 C 497.47 643.65 493.30 648.44 491.11 654.27 C 488.50 657.29 486.47 660.75 484.80 664.37 C 484.05 660.14 487.97 656.76 489.54 653.05 C 496.53 640.61 506.40 628.23 507.96 613.91 C 508.36 614.39 509.16 615.37 509.56 615.85 C 514.98 606.51 517.77 595.99 521.81 586.05 C 522.42 584.90 520.31 585.43 519.75 585.05 Z$#ce8075@M 335.27 586.10 C 334.62 584.38 334.44 582.35 335.74 580.89 C 336.37 582.59 336.55 584.62 335.27 586.10 Z$#2a2c27@M 239.54 588.56 C 239.55 583.30 240.17 582.51 241.42 586.20 C 238.92 600.53 237.31 615.61 229.67 628.34 C 233.22 615.23 238.76 602.41 239.54 588.56 Z$#dba397@M 325.27 588.13 C 324.63 586.71 324.51 584.91 325.81 583.84 C 326.38 585.25 326.45 586.98 325.27 588.13 Z$#544c48@M 518.88 586.81 C 519.09 586.37 519.53 585.49 519.75 585.05 C 520.31 585.43 522.42 584.90 521.81 586.05 C 517.77 595.99 514.98 606.51 509.56 615.85 C 509.16 615.37 508.36 614.39 507.96 613.91 C 503.63 613.67 502.19 618.99 498.89 620.94 C 501.08 617.61 501.96 612.00 507.01 612.80 C 502.54 607.12 501.26 615.31 498.18 618.03 C 494.33 612.35 501.06 608.40 504.78 604.95 C 504.91 605.75 505.18 607.35 505.31 608.15 C 508.52 600.20 514.89 594.13 518.88 586.81 Z$#48433f@M 612.95 585.94 C 615.62 588.72 617.49 593.04 618.08 597.00 C 615.24 593.97 613.80 589.92 612.95 585.94 Z$#302f2b@M 459.63 649.29 C 479.62 628.72 498.98 607.48 518.88 586.81 C 514.89 594.13 508.52 600.20 505.31 608.15 C 505.18 607.35 504.91 605.75 504.78 604.95 C 501.06 608.40 494.33 612.35 498.18 618.03 C 501.26 615.31 502.54 607.12 507.01 612.80 C 501.96 612.00 501.08 617.61 498.89 620.94 C 491.90 631.68 482.41 640.36 472.87 648.76 C 471.49 650.04 470.18 651.40 468.95 652.83 C 459.17 660.33 449.32 668.16 437.88 672.98 C 443.89 665.33 450.75 658.42 457.94 651.89 C 454.81 658.48 448.04 662.25 443.90 668.14 C 463.53 656.67 481.18 641.13 495.46 623.43 C 497.89 621.07 497.02 616.89 494.94 614.73 C 483.98 626.15 473.15 637.74 461.75 648.74 C 461.15 649.33 460.45 649.51 459.63 649.29 Z$#736b68@M 522.20 590.20 C 526.34 589.37 530.80 588.23 534.98 589.67 C 524.88 597.67 521.55 611.89 514.31 622.34 C 511.87 624.93 515.40 625.42 517.23 626.63 C 515.09 626.90 512.98 627.31 510.90 627.83 C 510.62 627.62 510.07 627.18 509.79 626.96 C 510.17 620.59 514.20 615.16 514.98 608.87 C 517.82 602.82 519.33 596.23 522.20 590.20 Z$#7c5f57@M 191.24 589.77 C 192.36 596.86 191.97 604.07 191.76 611.24 C 190.66 604.12 191.03 596.91 191.24 589.77 Z$#a49a9c@M 514.31 622.34 C 521.55 611.89 524.88 597.67 534.98 589.67 C 538.30 591.52 541.57 593.48 544.96 595.22 C 545.27 595.49 545.89 596.03 546.20 596.29 C 549.02 598.67 552.11 600.70 555.14 602.84 C 556.82 604.36 558.48 605.91 560.24 607.36 C 552.15 608.05 546.02 598.30 537.34 600.08 C 531.19 608.77 526.30 618.18 521.77 627.77 C 520.81 630.17 518.74 626.97 517.23 626.63 C 515.40 625.42 511.87 624.93 514.31 622.34 Z$#80615a@M 180.31 591.71 C 181.77 597.78 180.72 604.12 180.63 610.30 C 179.36 604.18 180.21 597.86 180.31 591.71 Z$#605a58@M 781.97 607.02 C 781.99 602.58 782.07 598.12 782.75 593.74 C 781.69 597.24 785.21 605.24 781.97 607.02 Z$#c3bbbb@M 314.56 603.00 C 315.27 600.30 315.93 597.54 316.61 594.86 C 317.06 597.86 320.64 597.12 322.95 597.94 C 322.61 599.67 322.28 601.41 322.02 603.16 C 319.52 603.37 316.71 604.73 314.56 603.00 Z$#c3bbbb@M 540.16 662.05 C 542.35 659.16 544.65 656.35 547.01 653.60 C 547.27 653.86 547.80 654.39 548.06 654.65 C 546.71 656.71 545.41 658.81 543.99 660.83 C 533.53 677.41 521.54 693.01 509.86 708.81 C 507.71 711.37 505.84 714.15 503.91 716.88 C 499.76 721.29 499.62 727.92 500.46 733.58 C 510.85 789.98 522.30 846.48 534.81 902.25 C 534.16 903.76 533.51 905.28 532.80 906.77 C 530.79 905.10 530.19 901.96 528.72 899.75 L 528.78 898.98 C 529.89 895.49 529.36 891.82 528.68 888.32 C 519.66 845.41 510.51 802.53 502.53 759.43 C 500.88 747.60 496.13 735.87 497.80 723.84 C 501.96 716.19 507.31 709.30 512.27 702.18 C 521.97 689.12 532.63 676.55 540.16 662.05 Z$#7d2022@M 322.95 597.94 C 326.10 596.53 329.53 596.10 332.97 595.93 C 332.84 596.70 332.59 598.23 332.47 599.00 C 332.22 600.31 332.02 601.63 331.82 602.97 L 330.95 603.07 C 327.92 603.32 324.92 603.83 321.89 604.04 L 322.02 603.16 C 322.28 601.41 322.61 599.67 322.95 597.94 Z$#908685@M 311.60 613.07 C 312.85 609.79 313.66 606.37 314.56 603.00 C 316.71 604.73 319.52 603.37 322.02 603.16 L 321.89 604.04 C 320.80 606.98 319.96 610.01 319.14 613.04 C 316.66 613.30 313.92 614.58 311.60 613.07 Z$#491e1b@M 321.89 604.04 C 324.92 603.83 327.92 603.32 330.95 603.07 C 330.85 604.31 330.73 605.55 330.61 606.80 C 330.24 608.16 329.87 609.52 329.52 610.90 C 320.48 644.72 300.86 676.88 305.15 713.24 C 304.99 716.54 304.97 719.77 304.99 723.12 C 305.81 752.47 303.42 782.26 306.13 811.35 C 302.65 814.72 298.59 817.44 294.84 820.51 C 296.72 815.27 297.70 809.21 296.73 803.28 C 297.12 792.11 297.09 780.93 296.80 769.77 C 297.55 758.41 295.78 747.11 295.87 735.76 C 295.99 708.70 294.23 680.79 303.98 654.99 C 309.28 641.11 315.52 627.49 319.14 613.04 C 319.96 610.01 320.80 606.98 321.89 604.04 Z$#55504d@M 770.29 607.72 C 771.25 612.84 771.21 618.12 770.31 623.27 C 770.02 618.08 769.64 612.88 770.29 607.72 Z$#756c6b@M 162.10 608.98 L 162.97 609.09 C 163.16 610.09 163.36 611.10 163.57 612.11 C 161.10 634.03 159.30 655.95 158.97 677.99 L 158.04 678.01 C 157.60 654.92 160.17 631.95 162.10 608.98 Z$#534c48@M 506.99 624.07 C 509.73 619.05 512.01 613.77 514.98 608.87 C 514.20 615.16 510.17 620.59 509.79 626.96 C 508.77 626.09 507.53 625.33 506.99 624.07 Z$#756b69@M 299.95 641.99 C 305.36 633.13 307.65 622.65 311.60 613.07 C 313.92 614.58 316.66 613.30 319.14 613.04 C 315.52 627.49 309.28 641.11 303.98 654.99 C 294.23 680.79 295.99 708.70 295.87 735.76 C 289.25 742.65 294.33 753.88 290.24 762.27 C 291.31 727.00 285.55 690.61 296.31 656.33 C 297.41 651.51 299.79 646.99 299.95 641.99 Z$#695e5a@M 498.89 620.94 C 502.19 618.99 503.63 613.67 507.96 613.91 C 506.40 628.23 496.53 640.61 489.54 653.05 C 484.99 650.53 483.25 660.54 479.87 662.88 C 466.64 678.91 461.45 699.26 455.61 718.70 C 451.16 730.74 444.32 741.69 438.61 753.13 C 437.62 751.48 436.59 749.87 435.59 748.26 C 444.64 727.15 457.71 707.82 463.51 685.38 C 466.10 679.40 465.06 672.65 467.55 666.67 C 469.05 660.64 473.70 655.27 472.87 648.76 C 482.41 640.36 491.90 631.68 498.89 620.94 Z$#4f4843@M 461.75 648.74 C 473.15 637.74 483.98 626.15 494.94 614.73 C 497.02 616.89 497.89 621.07 495.46 623.43 C 481.18 641.13 463.53 656.67 443.90 668.14 C 448.04 662.25 454.81 658.48 457.94 651.89 C 458.47 651.00 459.00 650.11 459.63 649.29 C 460.45 649.51 461.15 649.33 461.75 648.74 Z$#a19999@M 396.04 660.09 C 417.21 644.72 438.88 629.74 460.98 615.77 C 459.62 618.96 457.93 622.03 455.89 624.85 C 424.19 662.83 391.85 700.30 360.63 738.68 C 344.54 757.19 329.86 777.14 311.79 793.79 C 310.04 794.93 308.28 797.12 305.97 796.20 C 305.99 786.88 305.86 777.57 306.20 768.27 C 311.01 751.54 308.66 731.20 321.52 717.55 C 332.94 705.83 347.59 697.68 359.69 686.70 C 372.79 679.10 382.71 667.27 396.04 660.09 Z$#42201d@M 246.07 617.06 L 246.97 616.99 C 248.57 623.85 250.52 630.78 254.15 636.88 C 253.91 637.18 253.44 637.79 253.20 638.10 C 252.18 636.23 251.22 634.32 249.96 632.61 C 247.01 639.32 242.69 645.37 239.88 652.15 C 237.82 655.46 236.11 659.01 234.88 662.72 C 231.09 662.88 224.77 671.14 223.72 665.84 C 227.75 648.12 240.83 634.34 246.07 617.06 Z$#c2b9b9@M 626.61 618.63 C 626.94 618.15 627.61 617.20 627.94 616.72 C 628.11 617.19 628.45 618.12 628.61 618.59 C 632.09 652.89 642.41 686.67 647.04 720.98 C 646.33 719.99 645.63 719.02 644.93 718.05 C 640.27 684.70 630.29 652.20 626.61 618.63 Z$#faf9f9@M 553.93 644.84 C 560.21 635.56 565.93 625.07 574.01 617.60 C 581.65 624.39 590.08 630.23 598.16 636.49 C 600.50 639.13 603.23 641.39 606.19 643.33 C 607.64 645.06 609.11 646.78 610.39 648.65 C 607.17 666.36 606.51 684.33 604.71 702.20 C 585.39 687.33 567.95 670.28 549.75 654.11 C 551.18 651.03 552.67 647.98 553.93 644.84 Z$#817875@M 625.00 630.99 C 626.42 627.51 621.80 621.26 625.94 619.10 C 625.97 622.98 626.06 626.87 626.19 630.78 C 625.00 671.84 623.49 712.86 623.79 753.96 C 623.08 795.78 616.82 837.55 615.83 879.20 L 616.04 879.90 C 615.59 880.04 614.70 880.30 614.25 880.43 C 613.72 880.28 612.66 879.98 612.13 879.82 C 615.13 828.23 621.16 776.77 621.02 725.00 C 620.45 693.60 624.29 662.33 625.00 630.99 Z$#a79d9e@M 625.94 619.10 L 626.61 618.63 C 630.29 652.20 640.27 684.70 644.93 718.05 C 637.29 694.91 634.54 670.47 629.21 646.77 C 628.56 643.42 628.03 640.04 627.31 636.72 C 627.03 635.24 626.47 632.26 626.19 630.78 C 626.06 626.87 625.97 622.98 625.94 619.10 Z$#d9d4d4@M 647.04 720.98 C 642.41 686.67 632.09 652.89 628.61 618.59 C 633.77 624.69 637.18 632.71 639.85 640.15 L 639.85 641.14 C 637.45 637.06 635.61 632.70 633.12 628.69 C 640.11 700.63 666.51 768.69 680.02 839.41 C 679.79 839.65 679.33 840.12 679.10 840.36 C 675.58 839.73 676.91 834.50 675.55 832.40 C 668.40 794.71 658.29 757.58 647.04 720.98 Z$#7f635c@M 181.31 619.72 C 182.62 628.83 181.88 638.07 181.79 647.25 C 181.60 646.66 181.22 645.48 181.03 644.89 C 180.82 636.50 181.05 628.09 181.31 619.72 Z$#5f5652@M 500.03 638.01 C 503.08 634.56 503.82 623.05 510.05 628.05 C 508.25 631.59 506.95 635.37 505.03 638.87 C 499.68 643.34 496.52 649.91 491.11 654.27 C 493.30 648.44 497.47 643.65 500.03 638.01 Z$#706865@M 293.29 653.31 C 296.24 644.70 299.23 636.11 302.71 627.71 C 302.98 628.05 303.52 628.73 303.78 629.07 C 302.61 633.41 300.25 637.43 299.95 641.99 C 284.98 674.05 288.50 710.63 288.00 745.00 C 288.54 764.07 286.95 783.31 288.72 802.29 C 288.75 809.37 290.01 816.72 288.14 823.70 C 287.79 823.62 287.09 823.46 286.74 823.38 C 287.38 788.26 286.84 753.11 286.97 717.99 C 285.39 696.28 287.83 674.36 293.29 653.31 Z$#44403d@M 213.46 692.17 C 213.79 670.97 217.71 648.31 232.07 631.82 C 226.47 645.31 216.01 657.62 217.06 673.23 C 210.86 714.95 219.74 757.10 217.90 799.02 L 217.82 799.84 C 216.45 806.22 217.83 812.89 216.34 819.25 C 215.50 789.16 216.83 759.00 214.27 728.97 C 214.02 716.72 211.80 704.39 213.46 692.17 Z$#6b615d@M 239.88 652.15 C 242.69 645.37 247.01 639.32 249.96 632.61 C 251.22 634.32 252.18 636.23 253.20 638.10 C 257.77 648.15 266.00 655.83 271.66 665.18 C 271.04 670.83 268.33 675.88 266.35 681.12 C 262.35 671.65 258.22 662.20 255.79 652.14 C 255.23 648.68 252.22 646.45 248.96 645.74 C 245.56 647.34 243.49 650.89 239.88 652.15 Z$#67625f@M 523.93 632.94 C 532.59 638.29 540.42 645.04 547.71 652.15 C 548.37 652.81 549.05 653.46 549.75 654.11 C 567.95 670.28 585.39 687.33 604.71 702.20 C 605.04 702.67 605.68 703.61 606.01 704.08 L 605.06 704.21 C 585.25 689.57 568.12 671.73 549.34 655.90 C 549.02 655.59 548.38 654.96 548.06 654.65 C 547.80 654.39 547.27 653.86 547.01 653.60 C 539.65 646.34 530.85 640.63 523.93 632.94 Z$#433f3b@M 254.15 636.88 C 256.01 638.78 259.88 649.95 261.30 644.90 C 268.28 655.24 278.20 664.40 280.96 677.00 C 285.62 691.93 284.89 707.79 284.87 723.23 C 284.34 721.68 283.81 720.13 283.20 718.62 C 282.22 753.12 284.10 787.80 282.34 822.21 C 281.81 813.23 282.15 804.25 281.69 795.29 C 281.48 781.81 283.30 768.06 281.29 754.72 C 280.91 751.08 280.89 747.34 280.84 743.73 C 280.91 741.74 280.91 739.75 280.89 737.78 C 281.11 729.58 280.74 721.39 281.23 713.23 C 282.63 699.65 283.30 684.16 275.92 672.04 C 274.89 670.44 274.16 668.67 273.44 666.94 C 269.09 678.07 265.47 689.73 258.75 699.85 C 255.85 705.40 252.02 710.63 250.88 716.93 C 244.31 741.20 240.27 766.16 235.16 790.75 C 235.14 792.05 235.15 793.36 235.18 794.68 C 234.91 795.00 234.37 795.63 234.10 795.95 C 229.34 801.68 229.21 810.24 225.02 816.10 C 226.01 809.33 229.38 803.13 230.39 796.34 C 230.91 795.32 231.55 794.35 231.78 793.24 C 237.31 770.59 242.01 747.75 247.06 725.01 C 249.46 710.76 258.02 698.99 264.23 686.30 C 264.98 684.58 265.68 682.86 266.35 681.12 C 268.33 675.88 271.04 670.83 271.66 665.18 C 266.00 655.83 257.77 648.15 253.20 638.10 C 253.44 637.79 253.91 637.18 254.15 636.88 Z$#433f3b@M 288.00 745.00 C 288.50 710.63 284.98 674.05 299.95 641.99 C 299.79 646.99 297.41 651.51 296.31 656.33 C 285.55 690.61 291.31 727.00 290.24 762.27 C 290.02 768.09 289.99 773.94 289.80 779.79 C 288.77 787.23 288.99 794.77 288.72 802.29 C 286.95 783.31 288.54 764.07 288.00 745.00 Z$#938a89@M 627.31 636.72 C 628.03 640.04 628.56 643.42 629.21 646.77 C 631.21 712.48 631.28 778.38 624.71 843.87 C 624.24 854.33 623.04 864.80 623.19 875.29 C 621.86 876.02 620.49 876.69 619.13 877.35 C 618.72 876.11 618.18 874.87 618.42 873.56 C 621.44 826.38 627.61 779.34 627.00 732.00 C 626.40 700.22 627.85 668.44 627.31 636.72 Z$#7e7472@M 491.11 654.27 C 496.52 649.91 499.68 643.34 505.03 638.87 C 502.69 646.68 496.80 652.75 492.98 659.82 C 481.18 676.75 463.65 692.69 463.71 714.86 C 459.66 730.28 463.54 746.12 467.99 760.98 C 471.10 779.55 477.72 797.48 479.90 816.15 C 477.43 812.24 475.00 808.29 472.74 804.26 C 471.28 789.36 466.60 774.68 462.57 760.38 C 455.86 749.65 454.17 735.76 458.83 723.89 C 460.42 711.23 462.91 698.38 469.08 687.06 C 474.16 679.41 480.59 672.56 484.80 664.37 C 486.47 660.75 488.50 657.29 491.11 654.27 Z$#6b6563@M 639.85 640.15 C 642.59 641.16 644.35 645.96 644.83 649.20 C 643.06 646.57 641.39 643.89 639.85 641.14 L 639.85 640.15 Z$#93898a@M 200.03 641.85 C 200.95 642.99 201.91 644.11 202.88 645.23 C 203.16 662.94 204.45 680.63 206.68 698.22 C 208.45 709.86 208.40 721.67 210.30 733.29 C 212.37 767.94 212.29 802.66 211.83 837.37 C 205.72 821.97 210.51 803.48 208.99 786.99 C 210.48 741.61 202.45 696.84 200.24 651.70 C 200.04 648.43 200.03 645.08 200.03 641.85 Z$#65605d@M 764.95 648.13 C 765.47 646.22 765.04 642.75 767.02 642.01 C 767.15 642.55 767.42 643.64 767.56 644.18 C 767.76 645.79 766.37 647.44 764.95 648.13 Z$#9f9495@M 177.06 651.01 C 176.66 648.42 177.09 642.02 181.03 644.89 C 181.22 645.48 181.60 646.66 181.79 647.25 C 182.32 694.23 193.27 740.19 195.00 787.05 C 197.93 795.76 194.20 791.45 192.21 789.86 C 187.45 781.74 181.10 774.65 176.66 766.34 C 177.26 766.47 178.46 766.74 179.06 766.87 C 177.87 728.24 177.13 689.65 177.06 651.01 Z$#d7d2d2@M 547.71 652.15 C 549.49 649.48 551.45 646.90 553.93 644.84 C 552.67 647.98 551.18 651.03 549.75 654.11 C 549.05 653.46 548.37 652.81 547.71 652.15 Z$#998e90@M 239.88 652.15 C 243.49 650.89 245.56 647.34 248.96 645.74 C 254.15 659.17 258.43 673.20 264.23 686.30 C 258.02 698.99 249.46 710.76 247.06 725.01 C 242.01 747.75 237.31 770.59 231.78 793.24 C 230.35 784.44 231.69 775.48 230.31 766.71 C 230.10 765.56 229.89 764.42 229.69 763.29 C 230.12 741.12 230.27 718.92 229.74 696.76 C 229.78 685.20 232.08 673.87 234.88 662.72 C 236.11 659.01 237.82 655.46 239.88 652.15 Z$#7c726e@M 248.96 645.74 C 252.22 646.45 255.23 648.68 255.79 652.14 C 258.22 662.20 262.35 671.65 266.35 681.12 C 265.68 682.86 264.98 684.58 264.23 686.30 C 258.43 673.20 254.15 659.17 248.96 645.74 Z$#a19899@M 516.36 646.36 L 517.08 645.89 C 506.20 668.73 492.52 690.38 482.87 713.90 C 479.32 720.41 478.14 730.88 471.07 734.08 C 466.19 722.15 469.06 708.78 477.10 699.09 C 490.30 681.63 501.64 662.54 516.36 646.36 Z$#5c534f@M 468.95 652.83 C 470.18 651.40 471.49 650.04 472.87 648.76 C 473.70 655.27 469.05 660.64 467.55 666.67 C 465.06 672.65 466.10 679.40 463.51 685.38 C 457.71 707.82 444.64 727.15 435.59 748.26 C 434.54 746.96 433.49 745.66 432.56 744.29 C 439.75 726.84 449.99 710.86 457.68 693.69 C 460.10 679.68 463.93 666.07 468.95 652.83 Z$#e5e2e1@M 610.39 648.65 C 610.60 648.94 611.02 649.51 611.23 649.80 C 611.22 651.11 611.22 652.44 611.25 653.77 C 611.03 660.58 610.81 667.43 611.26 674.24 C 611.04 684.18 608.83 693.93 607.78 703.79 C 607.34 703.86 606.45 704.01 606.01 704.08 C 605.68 703.61 605.04 702.67 604.71 702.20 C 606.51 684.33 607.17 666.36 610.39 648.65 Z$#4f4a47@M 611.23 649.80 C 614.12 652.52 612.55 657.10 613.60 660.54 C 612.88 687.90 607.47 714.92 601.02 741.46 C 598.47 747.98 597.17 754.96 594.23 761.32 L 593.14 761.05 C 597.56 746.17 602.24 731.32 605.03 716.02 C 605.58 712.05 608.65 707.43 605.06 704.21 L 606.01 704.08 C 606.45 704.01 607.34 703.86 607.78 703.79 C 608.83 693.93 611.04 684.18 611.26 674.24 C 612.28 667.45 612.28 660.54 611.25 653.77 C 611.22 652.44 611.22 651.11 611.23 649.80 Z$#6e6a67@M 645.89 651.03 C 648.60 651.83 649.21 655.77 649.72 658.26 C 648.29 655.92 647.01 653.50 645.89 651.03 Z$#726966@M 479.87 662.88 C 483.25 660.54 484.99 650.53 489.54 653.05 C 487.97 656.76 484.05 660.14 484.80 664.37 C 480.59 672.56 474.16 679.41 469.08 687.06 C 462.91 698.38 460.42 711.23 458.83 723.89 C 454.17 735.76 455.86 749.65 462.57 760.38 C 466.60 774.68 471.28 789.36 472.74 804.26 C 461.88 786.88 449.24 770.65 438.61 753.13 C 444.32 741.69 451.16 730.74 455.61 718.70 C 461.45 699.26 466.64 678.91 479.87 662.88 Z$#504943@M 437.88 672.98 C 449.32 668.16 459.17 660.33 468.95 652.83 C 463.93 666.07 460.10 679.68 457.68 693.69 C 449.99 710.86 439.75 726.84 432.56 744.29 C 424.39 732.13 416.21 720.00 408.01 707.88 C 410.90 701.18 420.10 697.77 421.35 690.74 C 423.74 687.42 426.96 684.76 429.10 681.25 C 431.99 678.46 434.89 675.66 437.88 672.98 Z$#f0eeee@M 543.99 660.83 C 545.41 658.81 546.71 656.71 548.06 654.65 C 548.38 654.96 549.02 655.59 549.34 655.90 C 542.45 671.39 531.46 684.95 521.98 698.99 C 510.28 712.82 520.40 730.92 520.39 746.81 C 529.11 789.71 536.88 832.90 546.99 875.51 C 545.63 878.77 544.27 882.06 542.75 885.26 C 534.68 852.95 528.63 820.00 521.66 787.38 C 517.79 763.31 511.14 739.51 510.13 715.12 C 518.44 695.45 536.45 680.76 543.99 660.83 Z$#2d2e2a@M 209.08 697.04 C 210.95 684.02 209.17 670.14 213.83 657.74 C 213.94 658.61 214.17 660.36 214.28 661.23 C 211.48 672.61 210.64 684.50 211.15 696.20 C 211.04 697.56 210.93 698.92 210.83 700.29 C 210.20 699.26 208.70 698.42 209.08 697.04 Z$#6e6966@M 649.72 658.26 C 652.61 658.28 653.19 663.05 653.79 665.35 C 652.37 663.00 651.01 660.64 649.72 658.26 Z$#8d8383@M 463.71 714.86 C 463.65 692.69 481.18 676.75 492.98 659.82 C 490.70 669.75 482.93 677.34 478.02 686.00 C 466.68 701.18 463.71 721.54 467.20 739.86 C 473.43 749.24 473.00 760.80 475.65 771.38 C 479.51 787.15 482.60 803.13 487.32 818.68 C 488.17 821.74 489.59 825.15 488.00 828.23 C 485.23 824.22 482.42 820.29 479.90 816.15 C 477.72 797.48 471.10 779.55 467.99 760.98 C 463.54 746.12 459.66 730.28 463.71 714.86 Z$#e4e0df@M 509.86 708.81 C 521.54 693.01 533.53 677.41 543.99 660.83 C 536.45 680.76 518.44 695.45 510.13 715.12 C 511.14 739.51 517.79 763.31 521.66 787.38 C 528.63 820.00 534.68 852.95 542.75 885.26 C 541.88 887.35 541.01 889.44 540.09 891.52 C 534.50 877.49 533.43 861.43 529.43 846.61 C 521.30 807.35 513.04 768.10 506.52 728.55 C 504.54 721.59 507.30 715.08 509.86 708.81 Z$#a59b9b@M 525.87 679.81 C 530.50 673.80 534.00 666.72 540.16 662.05 C 532.63 676.55 521.97 689.12 512.27 702.18 C 501.50 712.65 489.83 727.33 492.42 743.48 C 497.79 769.95 502.17 796.61 507.95 823.00 C 511.01 842.18 517.64 860.80 518.80 880.24 C 515.74 875.06 512.69 869.89 509.88 864.58 C 510.15 863.94 510.70 862.64 510.97 861.99 C 504.15 835.52 499.79 808.46 494.51 781.63 C 492.69 763.75 482.82 744.19 492.00 727.00 C 501.08 709.80 514.33 695.33 525.87 679.81 Z$#61211f@M 223.72 665.84 C 224.77 671.14 231.09 662.88 234.88 662.72 C 232.08 673.87 229.78 685.20 229.74 696.76 C 228.53 718.86 228.51 741.19 229.69 763.29 C 229.89 764.42 230.10 765.56 230.31 766.71 C 230.02 775.38 229.84 784.08 230.06 792.77 C 227.62 792.48 225.32 793.56 222.96 793.95 C 222.96 789.34 223.02 784.79 222.81 780.23 C 222.90 774.72 223.11 769.20 222.24 763.76 C 222.04 758.56 222.12 753.40 221.78 748.23 C 221.96 739.40 222.48 730.53 221.24 721.76 C 220.99 715.90 220.96 710.06 221.18 704.22 C 222.42 696.45 222.08 688.58 221.76 680.77 C 221.93 678.92 222.11 677.09 222.36 675.26 C 222.98 672.16 223.24 668.94 223.72 665.84 Z$#676461@M 653.79 665.35 C 655.29 664.35 656.95 666.95 655.66 668.09 C 654.73 667.40 653.98 666.50 653.79 665.35 Z$#5d5551@M 258.75 699.85 C 265.47 689.73 269.09 678.07 273.44 666.94 C 274.16 668.67 274.89 670.44 275.92 672.04 C 276.84 675.93 277.69 679.89 278.67 683.79 C 272.22 689.35 267.11 696.69 258.75 699.85 Z$#998e8f@M 217.06 673.23 C 220.79 670.79 224.26 665.28 222.36 675.26 C 222.11 677.09 221.93 678.92 221.76 680.77 C 220.61 688.53 220.96 696.39 221.18 704.22 C 220.96 710.06 220.99 715.90 221.24 721.76 C 221.03 730.57 220.49 739.45 221.78 748.23 C 222.12 753.40 222.04 758.56 222.24 763.76 C 222.09 769.23 221.82 774.78 222.81 780.23 C 223.02 784.79 222.96 789.34 222.96 793.95 C 221.10 795.46 219.41 797.16 217.90 799.02 C 219.74 757.10 210.86 714.95 217.06 673.23 Z$#272724@M 275.92 672.04 C 283.30 684.16 282.63 699.65 281.23 713.23 C 281.19 706.01 281.04 698.82 279.96 691.68 C 280.00 688.98 279.43 686.35 278.67 683.79 C 277.69 679.89 276.84 675.93 275.92 672.04 Z$#706c6b@M 658.89 673.24 C 660.41 672.38 661.88 674.99 660.67 676.08 C 659.69 675.40 658.96 674.44 658.89 673.24 Z$#494440@M 158.04 678.01 L 158.97 677.99 C 159.01 682.89 159.08 687.76 159.29 692.67 C 156.62 690.88 158.32 682.65 158.04 678.01 Z$#744a40@M 221.18 704.22 C 220.96 696.39 220.61 688.53 221.76 680.77 C 222.08 688.58 222.42 696.45 221.18 704.22 Z$#411c19@M 421.35 690.74 C 420.10 697.77 410.90 701.18 408.01 707.88 C 416.21 720.00 424.39 732.13 432.56 744.29 C 433.49 745.66 434.54 746.96 435.59 748.26 C 436.59 749.87 437.62 751.48 438.61 753.13 C 449.24 770.65 461.88 786.88 472.74 804.26 C 475.00 808.29 477.43 812.24 479.90 816.15 C 482.42 820.29 485.23 824.22 488.00 828.23 C 488.77 829.77 489.50 831.34 490.23 832.92 C 487.67 831.77 486.87 828.25 483.98 827.89 C 484.38 834.46 486.10 840.89 487.78 847.24 C 471.80 822.86 457.19 797.57 440.01 773.99 C 428.46 757.92 419.06 740.34 406.34 725.10 C 406.02 725.60 405.39 726.60 405.07 727.10 C 403.13 723.35 400.43 720.07 397.98 716.68 C 405.40 707.71 413.29 699.15 421.35 690.74 Z$#776b6d@M 250.88 716.93 C 263.82 712.75 271.38 701.16 279.96 691.68 C 281.04 698.82 281.19 706.01 281.23 713.23 C 280.74 721.39 281.11 729.58 280.89 737.78 C 266.46 756.15 254.89 776.52 244.21 797.22 C 240.59 802.49 237.99 793.12 235.16 790.75 C 240.27 766.16 244.31 741.20 250.88 716.93 Z$#6a6261@M 159.29 692.67 C 161.40 717.81 164.33 743.80 176.66 766.34 C 181.10 774.65 187.45 781.74 192.21 789.86 C 167.36 765.01 158.55 727.10 159.29 692.67 Z$#21211e@M 206.68 698.22 C 206.56 697.05 207.17 693.12 207.99 696.07 C 208.70 703.15 210.04 710.15 210.80 717.22 C 211.02 720.07 211.17 722.83 211.44 725.73 C 211.07 728.23 210.69 730.75 210.30 733.29 C 208.40 721.67 208.45 709.86 206.68 698.22 Z$#7a5348@M 229.69 763.29 C 228.51 741.19 228.53 718.86 229.74 696.76 C 230.27 718.92 230.12 741.12 229.69 763.29 Z$#6c6766@M 678.90 705.23 C 680.41 704.39 681.88 706.98 680.67 708.07 C 679.70 707.39 678.94 706.44 678.90 705.23 Z$#d8d3d3@M 503.91 716.88 C 505.84 714.15 507.71 711.37 509.86 708.81 C 507.30 715.08 504.54 721.59 506.52 728.55 C 513.04 768.10 521.30 807.35 529.43 846.61 C 533.43 861.43 534.50 877.49 540.09 891.52 C 539.24 893.59 538.17 895.57 537.08 897.54 C 524.60 842.95 513.69 787.75 503.49 732.59 C 502.58 727.35 502.85 722.04 503.91 716.88 Z$#827d7b@M 681.96 709.95 C 701.48 738.36 717.76 770.75 724.05 805.00 L 723.18 805.10 C 717.48 783.72 710.31 762.63 700.02 743.00 C 694.66 731.61 686.36 721.80 681.96 709.95 Z$#191917@M 389.81 725.78 C 392.66 722.87 395.26 719.71 397.98 716.68 C 400.43 720.07 403.13 723.35 405.07 727.10 C 433.73 767.43 461.42 808.57 487.12 850.95 C 490.04 859.05 498.26 864.89 499.10 873.72 C 482.17 888.08 466.53 904.07 450.73 919.73 C 440.68 930.27 430.16 943.29 431.36 958.68 C 426.65 993.84 422.44 1029.09 416.14 1064.04 C 417.22 1072.76 428.76 1073.93 435.66 1075.35 C 445.77 1078.08 457.62 1074.16 466.97 1079.23 C 466.11 1100.22 459.29 1120.77 450.93 1139.95 C 440.66 1147.53 435.69 1160.07 428.24 1170.28 C 417.28 1187.73 404.73 1204.41 396.31 1223.32 C 390.61 1247.95 385.88 1272.98 381.11 1297.74 C 388.28 1302.39 398.24 1293.99 405.64 1299.40 C 415.31 1305.90 426.20 1310.47 435.33 1317.76 C 418.08 1316.70 401.29 1320.92 384.07 1320.07 C 380.43 1321.04 381.17 1326.39 378.01 1328.22 C 378.32 1324.35 380.97 1317.19 373.00 1319.93 C 369.40 1318.65 365.31 1321.52 361.89 1319.86 C 359.62 1318.03 356.97 1320.00 354.66 1320.69 C 353.21 1320.88 351.76 1321.04 350.31 1321.24 C 331.14 1321.10 311.76 1321.77 293.03 1316.92 C 293.82 1321.50 290.42 1331.45 297.33 1332.70 C 306.06 1334.67 315.02 1335.66 323.88 1337.01 C 333.39 1336.46 343.71 1340.51 352.74 1336.72 C 353.43 1331.68 353.70 1326.62 354.54 1321.63 C 354.44 1325.27 355.32 1327.05 357.90 1323.71 C 360.79 1329.87 366.73 1333.53 372.67 1336.37 C 376.50 1338.49 376.22 1331.88 377.71 1329.64 C 378.66 1333.00 376.03 1339.75 381.31 1340.68 C 404.68 1348.31 429.48 1351.70 453.99 1349.94 C 457.31 1348.18 464.03 1352.64 462.70 1346.80 C 465.79 1351.96 463.34 1358.24 462.36 1363.72 C 462.25 1366.51 462.19 1369.34 462.18 1372.20 C 454.67 1375.70 445.41 1375.27 437.21 1376.27 C 436.57 1379.88 436.06 1383.53 435.68 1387.21 C 434.82 1383.75 435.37 1380.48 435.95 1377.12 C 414.83 1377.08 393.37 1373.89 374.03 1365.09 C 373.52 1364.83 372.50 1364.31 371.99 1364.05 C 366.77 1361.50 361.79 1358.50 357.14 1355.05 C 359.17 1360.22 354.47 1361.85 352.18 1365.03 C 352.06 1364.58 351.83 1363.68 351.72 1363.23 C 333.76 1363.75 315.49 1362.50 298.14 1357.64 C 294.80 1355.83 294.11 1358.29 294.38 1362.04 C 291.15 1359.74 286.67 1358.25 282.89 1359.74 C 282.05 1359.03 281.22 1358.25 280.11 1358.04 C 270.44 1356.04 281.76 1342.47 276.99 1338.02 C 273.75 1337.50 270.45 1337.30 267.22 1336.81 C 264.82 1332.62 261.86 1325.53 266.97 1322.86 C 266.37 1317.79 257.75 1316.98 257.05 1312.09 C 269.48 1285.75 280.62 1258.64 286.48 1230.01 C 287.10 1228.81 287.21 1227.45 287.00 1226.17 C 286.83 1224.71 286.99 1223.31 287.47 1221.96 C 288.14 1220.44 288.19 1218.77 287.98 1217.18 C 288.00 1212.38 288.98 1207.43 291.13 1203.15 C 292.43 1200.42 292.14 1197.43 291.38 1194.67 C 290.88 1192.76 290.86 1190.76 291.01 1188.83 C 291.23 1187.49 291.08 1186.14 290.43 1184.99 C 290.32 1184.46 290.12 1183.40 290.01 1182.87 C 290.18 1181.53 290.10 1180.17 289.47 1178.99 C 287.63 1171.89 287.26 1164.32 287.01 1156.99 C 287.02 1153.78 287.20 1150.73 286.39 1147.67 C 286.13 1146.45 285.99 1145.23 286.00 1144.00 C 286.01 1140.19 285.76 1136.43 285.23 1132.71 C 285.17 1132.23 285.07 1131.27 285.02 1130.79 C 284.99 1129.14 284.94 1125.84 284.92 1124.19 C 289.17 1116.30 282.95 1109.42 283.31 1101.32 C 283.01 1096.28 289.79 1099.69 289.98 1094.93 C 288.48 1087.67 277.32 1078.74 288.22 1073.26 C 289.54 1069.30 289.37 1064.66 288.33 1060.60 L 288.14 1059.76 C 288.19 1058.45 288.04 1057.15 287.44 1056.01 C 287.00 1054.68 286.81 1053.32 286.89 1051.93 C 286.16 1048.99 290.01 1045.88 288.55 1053.56 C 291.03 1063.28 291.51 1073.60 294.96 1082.99 C 299.23 1090.05 297.93 1077.52 297.74 1075.16 C 294.21 1048.30 294.35 1021.07 290.63 994.24 C 278.86 960.71 272.16 925.82 264.80 891.14 C 262.67 876.18 259.51 860.74 250.93 848.03 C 249.54 843.87 248.36 839.46 247.98 835.05 C 248.18 834.77 248.57 834.20 248.77 833.92 C 255.60 853.83 265.00 872.79 275.18 891.19 C 276.85 894.20 278.41 897.28 280.04 900.34 C 283.57 896.66 286.43 892.40 289.38 888.27 C 319.91 846.62 343.36 800.41 370.59 756.63 C 372.94 749.05 381.06 742.43 380.92 734.70 C 382.24 733.28 383.61 731.92 385.00 730.58 C 387.28 741.49 386.58 753.49 392.85 763.17 C 387.30 764.90 389.16 771.50 387.88 775.98 C 386.03 839.62 381.77 903.25 381.81 966.97 C 381.16 991.98 378.85 1017.00 380.00 1042.00 C 379.75 1043.44 381.08 1045.76 382.75 1044.85 C 387.38 1031.53 380.05 1015.70 385.72 1002.80 C 389.37 1037.50 400.84 1075.61 383.29 1108.20 C 380.32 1091.29 382.69 1074.04 383.00 1057.03 C 379.11 1059.90 381.79 1069.66 379.26 1075.27 C 379.18 1065.81 379.65 1056.35 381.03 1047.00 C 367.86 1049.70 354.77 1055.32 343.24 1062.25 C 333.71 1076.89 343.44 1093.53 347.84 1108.12 C 350.13 1114.69 353.17 1121.06 353.97 1128.07 C 348.79 1129.10 348.09 1116.69 342.27 1123.29 C 336.63 1154.35 330.14 1185.54 327.79 1216.95 C 327.44 1223.46 324.45 1231.13 329.22 1236.78 C 333.95 1241.46 340.52 1244.33 344.05 1250.14 C 345.71 1259.26 336.67 1263.83 331.29 1269.25 C 323.68 1277.25 328.69 1290.03 328.70 1299.36 C 338.76 1300.31 349.06 1294.71 359.38 1293.39 C 362.28 1292.74 367.89 1290.35 365.35 1286.68 C 359.22 1285.41 351.07 1291.94 345.15 1288.85 C 354.78 1278.32 372.37 1271.19 373.68 1254.63 C 381.49 1223.70 384.13 1192.15 390.16 1160.90 C 394.47 1167.56 393.10 1155.36 392.21 1152.72 C 389.03 1138.32 380.87 1122.04 388.90 1107.96 C 398.01 1086.61 396.84 1062.79 395.76 1040.12 C 389.85 1002.21 383.19 964.07 386.44 925.54 C 387.47 885.03 389.32 844.61 391.33 804.14 C 392.33 797.42 389.64 790.46 392.19 783.95 C 395.41 786.12 392.49 793.34 397.03 794.24 C 403.08 828.62 407.60 863.71 420.64 896.30 C 423.26 900.62 421.09 893.66 420.82 891.69 C 421.37 892.03 422.46 892.71 423.01 893.05 C 423.43 887.71 424.93 882.21 423.06 876.98 C 412.83 840.27 406.23 802.62 396.79 765.70 C 397.17 762.48 395.78 759.50 394.22 756.80 C 390.07 747.39 396.05 734.34 389.81 725.78 Z$#a99fa0@M 644.93 718.05 C 645.63 719.02 646.33 719.99 647.04 720.98 C 653.37 756.40 666.13 790.41 672.01 826.00 C 673.44 831.40 673.30 837.28 675.89 842.35 C 675.24 842.81 674.59 843.28 673.95 843.76 L 673.13 844.29 C 671.73 843.29 670.89 841.87 670.71 840.18 C 664.88 798.92 651.05 759.20 644.93 718.05 Z$#c3bbba@M 647.04 720.98 C 658.29 757.58 668.40 794.71 675.55 832.40 C 676.91 834.50 675.58 839.73 679.10 840.36 L 678.72 840.78 C 677.77 841.28 676.82 841.80 675.89 842.35 C 673.30 837.28 673.44 831.40 672.01 826.00 C 666.13 790.41 653.37 756.40 647.04 720.98 Z$#7c564c@M 221.24 721.76 C 222.48 730.53 221.96 739.40 221.78 748.23 C 220.49 739.45 221.03 730.57 221.24 721.76 Z$#5f4038@M 304.99 723.12 L 305.88 722.85 C 305.96 727.65 306.12 732.42 306.22 737.25 C 305.63 747.58 306.09 757.93 306.20 768.27 C 305.86 777.57 305.99 786.88 305.97 796.20 C 305.92 800.36 305.87 804.49 305.91 808.68 C 310.18 807.26 308.43 809.31 306.13 811.35 C 303.42 782.26 305.81 752.47 304.99 723.12 Z$#b8b0af@M 496.35 744.68 C 495.19 737.84 493.52 729.93 497.80 723.84 C 496.13 735.87 500.88 747.60 502.53 759.43 C 510.51 802.53 519.66 845.41 528.68 888.32 C 529.36 891.82 529.89 895.49 528.78 898.98 C 527.92 897.91 527.03 896.90 526.14 895.90 C 525.39 894.11 524.66 892.33 523.98 890.53 C 524.55 872.42 517.46 854.42 514.52 836.43 C 507.90 805.95 502.50 775.25 496.35 744.68 Z$#271614@M 406.34 725.10 C 419.06 740.34 428.46 757.92 440.01 773.99 C 457.19 797.57 471.80 822.86 487.78 847.24 C 491.57 853.22 494.44 859.85 498.90 865.38 C 500.45 867.83 501.76 870.42 503.24 872.92 C 502.50 873.55 501.76 874.19 501.03 874.84 C 500.55 874.56 499.59 874.00 499.10 873.72 C 498.26 864.89 490.04 859.05 487.12 850.95 C 461.42 808.57 433.73 767.43 405.07 727.10 C 405.39 726.60 406.02 725.60 406.34 725.10 Z$#3c3936@M 211.44 725.73 C 214.81 762.38 213.96 799.23 214.04 836.01 C 218.92 834.93 214.42 824.74 216.30 820.82 C 218.01 823.90 214.39 831.14 218.92 832.25 C 219.12 838.04 211.84 840.22 208.23 836.72 C 208.66 829.93 205.75 823.41 206.25 816.71 C 206.70 818.23 206.91 819.91 207.89 821.24 C 208.34 809.83 207.77 798.41 208.02 787.00 L 208.99 786.99 C 210.51 803.48 205.72 821.97 211.83 837.37 C 212.29 802.66 212.37 767.94 210.30 733.29 C 210.69 730.75 211.07 728.23 211.44 725.73 Z$#2f1715@M 385.00 730.58 C 386.55 728.92 388.16 727.33 389.81 725.78 C 396.05 734.34 390.07 747.39 394.22 756.80 C 395.78 759.50 397.17 762.48 396.79 765.70 C 397.17 787.36 402.83 809.12 406.32 830.63 C 409.78 851.28 414.94 871.65 420.82 891.69 C 421.09 893.66 423.26 900.62 420.64 896.30 C 407.60 863.71 403.08 828.62 397.03 794.24 C 396.56 783.78 393.71 773.60 392.85 763.17 C 386.58 753.49 387.28 741.49 385.00 730.58 Z$#411d1a@M 357.94 758.83 C 365.69 750.87 373.15 742.64 380.92 734.70 C 381.06 742.43 372.94 749.05 370.59 756.63 C 343.36 800.41 319.91 846.62 289.38 888.27 C 287.58 885.28 285.74 880.33 281.67 883.35 C 282.62 881.96 283.57 880.59 284.48 879.19 C 311.58 842.72 331.98 801.97 356.40 763.78 C 357.54 762.37 357.82 760.58 357.94 758.83 Z$#7e7572@M 290.24 762.27 C 294.33 753.88 289.25 742.65 295.87 735.76 C 295.78 747.11 297.55 758.41 296.80 769.77 C 295.97 780.83 294.92 792.28 296.73 803.28 C 297.70 809.21 296.72 815.27 294.84 820.51 C 293.65 821.58 292.27 822.44 290.78 823.03 C 289.09 808.67 290.52 794.19 289.80 779.79 C 289.99 773.94 290.02 768.09 290.24 762.27 Z$#867b7c@M 244.21 797.22 C 254.89 776.52 266.46 756.15 280.89 737.78 C 280.91 739.75 280.91 741.74 280.84 743.73 C 271.48 756.32 263.56 769.97 255.29 783.31 C 249.12 790.01 249.74 804.24 239.12 804.87 C 237.99 801.40 236.97 797.88 235.18 794.68 C 235.15 793.36 235.14 792.05 235.16 790.75 C 237.99 793.12 240.59 802.49 244.21 797.22 Z$#665d5a@M 594.23 761.32 C 597.17 754.96 598.47 747.98 601.02 741.46 C 602.26 755.46 598.45 769.55 597.39 783.54 C 594.21 820.55 588.71 857.33 585.22 894.31 C 584.70 894.54 583.67 895.00 583.15 895.24 C 579.73 895.57 578.68 893.81 580.00 889.96 C 583.41 859.63 588.80 829.15 588.92 798.67 C 590.30 786.18 591.88 773.67 594.23 761.32 Z$#4c4643@M 316.85 799.45 C 330.80 786.17 343.94 772.06 357.94 758.83 C 357.82 760.58 357.54 762.37 356.40 763.78 C 349.44 766.26 344.22 774.91 339.11 780.49 C 329.42 788.52 321.12 798.94 310.89 806.14 C 312.63 803.70 314.82 801.63 316.85 799.45 Z$#252421@M 593.14 761.05 L 594.23 761.32 C 591.88 773.67 590.30 786.18 588.92 798.67 C 583.43 832.16 574.29 864.89 567.13 898.02 C 566.05 900.48 568.31 899.86 569.93 899.70 C 574.45 903.78 568.76 909.19 568.91 914.11 C 561.32 914.54 561.27 922.22 560.07 928.04 C 564.79 928.15 569.52 927.23 574.25 927.54 C 568.63 931.54 558.12 926.30 556.97 935.03 C 545.77 974.59 536.48 1014.75 525.58 1054.46 C 520.33 1068.24 521.28 1084.88 510.90 1096.27 C 507.17 1093.03 508.91 1087.14 507.73 1082.75 C 504.97 1087.51 506.50 1093.43 506.64 1098.63 C 504.62 1101.94 501.25 1104.18 499.27 1107.53 C 503.80 1109.10 500.74 1114.28 501.17 1117.68 C 503.40 1118.82 506.23 1119.14 507.84 1121.26 C 508.21 1129.42 503.64 1136.74 500.79 1144.01 C 502.65 1143.14 505.39 1139.12 505.99 1143.09 C 504.42 1151.27 501.20 1159.31 502.61 1167.84 C 502.43 1168.80 502.27 1169.76 502.12 1170.74 C 495.60 1202.15 490.01 1233.74 483.46 1265.15 C 479.22 1263.49 483.35 1279.52 475.99 1278.01 C 476.91 1265.77 481.68 1254.06 481.95 1241.75 C 475.79 1253.45 477.45 1268.23 472.29 1280.32 C 461.27 1286.51 449.12 1290.90 437.89 1296.88 C 435.40 1298.79 428.92 1298.36 430.05 1302.80 C 434.48 1308.14 439.56 1313.10 443.16 1319.06 C 434.63 1331.49 419.12 1334.15 404.98 1332.99 C 404.44 1332.98 392.86 1332.50 397.33 1335.75 C 414.42 1338.10 431.49 1341.01 448.68 1342.33 C 451.53 1342.04 454.92 1348.38 455.52 1343.39 C 457.31 1340.96 459.40 1343.85 461.12 1344.85 C 461.69 1345.45 462.21 1346.10 462.70 1346.80 C 464.03 1352.64 457.31 1348.18 453.99 1349.94 C 429.48 1351.70 404.68 1348.31 381.31 1340.68 C 376.03 1339.75 378.66 1333.00 377.71 1329.64 C 376.22 1331.88 376.50 1338.49 372.67 1336.37 C 366.73 1333.53 360.79 1329.87 357.90 1323.71 C 359.18 1322.37 360.50 1321.07 361.89 1319.86 C 365.31 1321.52 369.40 1318.65 373.00 1319.93 C 380.97 1317.19 378.32 1324.35 378.01 1328.22 C 381.17 1326.39 380.43 1321.04 384.07 1320.07 C 401.29 1320.92 418.08 1316.70 435.33 1317.76 C 426.20 1310.47 415.31 1305.90 405.64 1299.40 C 398.24 1293.99 388.28 1302.39 381.11 1297.74 C 385.88 1272.98 390.61 1247.95 396.31 1223.32 C 404.73 1204.41 417.28 1187.73 428.24 1170.28 C 435.69 1160.07 440.66 1147.53 450.93 1139.95 C 459.29 1120.77 466.11 1100.22 466.97 1079.23 C 457.62 1074.16 445.77 1078.08 435.66 1075.35 C 428.76 1073.93 417.22 1072.76 416.14 1064.04 C 422.44 1029.09 426.65 993.84 431.36 958.68 C 430.16 943.29 440.68 930.27 450.73 919.73 C 466.53 904.07 482.17 888.08 499.10 873.72 C 499.59 874.00 500.55 874.56 501.03 874.84 C 509.73 887.98 515.83 902.66 523.81 916.23 C 524.81 917.83 526.26 918.49 526.89 916.27 C 532.05 911.33 530.64 905.58 528.72 899.75 C 530.19 901.96 530.79 905.10 532.80 906.77 C 533.51 905.28 534.16 903.76 534.81 902.25 C 535.57 900.68 536.36 899.12 537.08 897.54 C 538.17 895.57 539.24 893.59 540.09 891.52 C 541.01 889.44 541.88 887.35 542.75 885.26 C 544.27 882.06 545.63 878.77 546.99 875.51 C 563.50 837.84 580.72 800.33 593.14 761.05 Z$#141513@M 387.88 775.98 C 389.16 771.50 387.30 764.90 392.85 763.17 C 393.71 773.60 396.56 783.78 397.03 794.24 C 392.49 793.34 395.41 786.12 392.19 783.95 C 389.64 790.46 392.33 797.42 391.33 804.14 C 389.32 844.61 387.47 885.03 386.44 925.54 C 383.19 964.07 389.85 1002.21 395.76 1040.12 C 396.84 1062.79 398.01 1086.61 388.90 1107.96 C 380.87 1122.04 389.03 1138.32 392.21 1152.72 C 393.10 1155.36 394.47 1167.56 390.16 1160.90 C 384.23 1132.76 376.32 1104.30 379.26 1075.27 C 381.79 1069.66 379.11 1059.90 383.00 1057.03 C 382.69 1074.04 380.32 1091.29 383.29 1108.20 C 400.84 1075.61 389.37 1037.50 385.72 1002.80 C 380.05 1015.70 387.38 1031.53 382.75 1044.85 C 381.08 1045.76 379.75 1043.44 380.00 1042.00 C 378.85 1017.00 381.16 991.98 381.81 966.97 C 381.77 903.25 386.03 839.62 387.88 775.98 Z$#7e5a51@M 222.24 763.76 C 223.11 769.20 222.90 774.72 222.81 780.23 C 221.82 774.78 222.09 769.23 222.24 763.76 Z$#421b18@M 406.32 830.63 C 402.83 809.12 397.17 787.36 396.79 765.70 C 406.23 802.62 412.83 840.27 423.06 876.98 C 424.93 882.21 423.43 887.71 423.01 893.05 C 422.46 892.71 421.37 892.03 420.82 891.69 C 414.94 871.65 409.78 851.28 406.32 830.63 Z$#815f56@M 230.31 766.71 C 231.69 775.48 230.35 784.44 231.78 793.24 C 231.55 794.35 230.91 795.32 230.39 796.34 C 230.31 795.45 230.14 793.66 230.06 792.77 C 229.84 784.08 230.02 775.38 230.31 766.71 Z$#6d554c@M 296.73 803.28 C 294.92 792.28 295.97 780.83 296.80 769.77 C 297.09 780.93 297.12 792.11 296.73 803.28 Z$#7e5e56@M 202.25 773.70 C 203.70 778.07 202.56 782.78 202.65 787.30 C 201.55 782.86 202.29 778.18 202.25 773.70 Z$#262522@M 288.72 802.29 C 288.99 794.77 288.77 787.23 289.80 779.79 C 290.52 794.19 289.09 808.67 290.78 823.03 C 289.91 823.31 289.03 823.53 288.14 823.70 C 290.01 816.72 288.75 809.37 288.72 802.29 Z$#4d433b@M 339.11 780.49 C 341.18 783.71 339.17 788.33 334.99 787.16 C 337.13 785.47 338.78 783.27 339.11 780.49 Z$#931c20@M 222.96 793.95 C 225.32 793.56 227.62 792.48 230.06 792.77 C 230.14 793.66 230.31 795.45 230.39 796.34 C 229.38 803.13 226.01 809.33 225.02 816.10 C 224.76 817.82 224.75 820.15 223.05 821.13 C 223.00 812.06 222.97 803.00 222.96 793.95 Z$#f5f3f2@M 217.90 799.02 C 219.41 797.16 221.10 795.46 222.96 793.95 C 222.97 803.00 223.00 812.06 223.05 821.13 C 223.17 823.33 222.14 825.44 220.60 826.97 C 219.37 827.96 218.57 829.40 218.79 831.03 C 217.33 820.69 218.23 810.22 217.82 799.84 L 217.90 799.02 Z$#595452@M 235.18 794.68 C 236.97 797.88 237.99 801.40 239.12 804.87 C 239.77 806.94 240.46 809.00 241.16 811.07 C 243.81 818.64 246.35 826.26 248.77 833.92 C 248.57 834.20 248.18 834.77 247.98 835.05 C 243.14 822.81 238.61 808.95 234.10 795.95 C 234.37 795.63 234.91 795.00 235.18 794.68 Z$#59514d@M 567.13 898.02 C 574.29 864.89 583.43 832.16 588.92 798.67 C 588.80 829.15 583.41 859.63 580.00 889.96 C 578.68 893.81 579.73 895.57 583.15 895.24 C 578.72 896.66 574.34 898.21 569.93 899.70 C 568.31 899.86 566.05 900.48 567.13 898.02 Z$#736d6c@M 216.34 819.25 C 217.83 812.89 216.45 806.22 217.82 799.84 C 218.23 810.22 217.33 820.69 218.79 831.03 L 218.92 832.25 C 214.39 831.14 218.01 823.90 216.30 820.82 C 216.31 820.42 216.33 819.64 216.34 819.25 Z$#a91c22@M 723.18 805.10 L 724.05 805.00 C 726.07 804.54 724.60 807.99 724.99 809.17 C 724.76 810.46 724.90 811.82 725.56 812.99 C 725.67 813.48 725.87 814.44 725.98 814.92 C 725.97 816.55 725.95 818.20 725.93 819.86 C 713.04 833.28 696.93 842.86 682.21 854.05 C 681.28 849.56 680.62 844.97 678.72 840.78 L 679.10 840.36 C 679.33 840.12 679.79 839.65 680.02 839.41 C 695.75 829.85 710.92 818.96 723.18 805.10 Z$#afa6a6@M 241.16 811.07 C 242.71 809.61 244.52 807.01 246.55 809.40 C 261.72 831.26 271.08 856.31 284.48 879.19 C 283.57 880.59 282.62 881.96 281.67 883.35 C 279.46 885.91 277.39 888.61 275.18 891.19 C 265.00 872.79 255.60 853.83 248.77 833.92 C 246.35 826.26 243.81 818.64 241.16 811.07 Z$#a09c9a@M 724.99 809.17 C 726.81 809.00 726.62 812.12 725.56 812.99 C 724.90 811.82 724.76 810.46 724.99 809.17 Z$#87807e@M 725.98 814.92 C 726.25 819.49 731.23 829.88 726.19 834.13 C 726.72 829.37 726.30 824.59 725.93 819.86 C 725.95 818.20 725.97 816.55 725.98 814.92 Z$#826c55@M 310.23 818.12 C 314.32 816.77 317.04 823.21 313.30 825.31 C 310.45 827.37 306.73 824.75 304.96 822.33 C 307.66 822.28 308.68 819.87 310.23 818.12 Z$#f6f4f3@M 682.21 854.05 C 696.93 842.86 713.04 833.28 725.93 819.86 C 726.30 824.59 726.72 829.37 726.19 834.13 C 723.41 840.03 718.13 844.90 713.02 848.96 C 703.06 855.71 694.48 864.38 683.92 870.32 C 683.33 865.15 682.50 860.03 681.13 855.01 C 681.40 854.77 681.94 854.29 682.21 854.05 Z$#706968@M 218.79 831.03 C 218.57 829.40 219.37 827.96 220.60 826.97 C 221.46 828.30 220.42 830.93 218.79 831.03 Z$#582725@M 483.98 827.89 C 486.87 828.25 487.67 831.77 490.23 832.92 C 497.79 842.77 503.40 854.00 509.88 864.58 C 512.69 869.89 515.74 875.06 518.80 880.24 C 520.33 883.76 522.10 887.17 523.98 890.53 C 524.66 892.33 525.39 894.11 526.14 895.90 C 515.75 879.82 507.76 862.02 496.94 846.08 C 496.26 844.93 495.51 843.57 494.33 845.00 C 495.15 848.26 497.30 851.29 497.17 854.66 C 494.92 856.56 499.35 855.45 498.57 857.78 C 498.07 860.44 502.70 864.82 498.90 865.38 C 494.44 859.85 491.57 853.22 487.78 847.24 C 486.10 840.89 484.38 834.46 483.98 827.89 Z$#822023@M 675.89 842.35 C 676.82 841.80 677.77 841.28 678.72 840.78 C 680.62 844.97 681.28 849.56 682.21 854.05 C 681.94 854.29 681.40 854.77 681.13 855.01 C 680.57 855.26 679.47 855.75 678.91 855.99 L 678.19 856.29 C 676.72 852.16 677.35 846.87 673.95 843.76 C 674.59 843.28 675.24 842.81 675.89 842.35 Z$#9c2d30@M 494.33 845.00 C 495.51 843.57 496.26 844.93 496.94 846.08 C 507.76 862.02 515.75 879.82 526.14 895.90 C 527.03 896.90 527.92 897.91 528.78 898.98 L 528.72 899.75 C 530.64 905.58 532.05 911.33 526.89 916.27 C 518.31 902.23 511.73 887.03 503.24 872.92 C 501.76 870.42 500.45 867.83 498.90 865.38 C 502.70 864.82 498.07 860.44 498.57 857.78 C 499.35 855.45 494.92 856.56 497.17 854.66 C 497.30 851.29 495.15 848.26 494.33 845.00 Z$#55201d@M 673.13 844.29 L 673.95 843.76 C 677.35 846.87 676.72 852.16 678.19 856.29 C 677.11 857.22 676.04 858.16 674.92 859.06 C 655.05 872.06 635.11 885.15 613.95 895.99 C 616.35 891.05 616.66 885.24 616.04 879.90 L 615.83 879.20 C 616.92 878.56 618.02 877.96 619.13 877.35 C 620.49 876.69 621.86 876.02 623.19 875.29 C 640.04 865.30 656.49 854.63 673.13 844.29 Z$#8a8583@M 683.92 870.32 C 694.48 864.38 703.06 855.71 713.02 848.96 C 704.66 858.13 693.83 867.12 683.29 872.80 C 682.94 872.53 682.24 872.00 681.89 871.73 C 682.56 871.25 683.24 870.78 683.92 870.32 Z$\",\"#d2cbca@M 678.91 855.99 C 679.47 855.75 680.57 855.26 681.13 855.01 C 682.50 860.03 683.33 865.15 683.92 870.32 C 683.24 870.78 682.56 871.25 681.89 871.73 L 681.22 872.15 C 680.95 866.68 679.30 861.43 678.91 855.99 Z$#ada3a3@M 678.19 856.29 L 678.91 855.99 C 679.30 861.43 680.95 866.68 681.22 872.15 C 680.13 872.87 679.04 873.59 677.96 874.31 C 677.12 869.18 675.82 864.16 674.92 859.06 C 676.04 858.16 677.11 857.22 678.19 856.29 Z$#6a6462@M 681.22 872.15 L 681.89 871.73 C 682.24 872.00 682.94 872.53 683.29 872.80 C 665.20 886.33 644.79 897.91 623.95 907.05 C 641.56 895.91 660.89 886.69 677.96 874.31 C 679.04 873.59 680.13 872.87 681.22 872.15 Z$#4f1e1b@M 503.24 872.92 C 511.73 887.03 518.31 902.23 526.89 916.27 C 526.26 918.49 524.81 917.83 523.81 916.23 C 515.83 902.66 509.73 887.98 501.03 874.84 C 501.76 874.19 502.50 873.55 503.24 872.92 Z$#401e1b@M 614.25 880.43 C 614.70 880.30 615.59 880.04 616.04 879.90 C 616.66 885.24 616.35 891.05 613.95 895.99 C 602.59 901.63 591.03 907.06 578.97 911.04 C 575.63 912.11 572.39 913.54 568.91 914.11 C 568.76 909.19 574.45 903.78 569.93 899.70 C 574.34 898.21 578.72 896.66 583.15 895.24 C 583.67 895.00 584.70 894.54 585.22 894.31 C 591.79 891.14 598.74 888.86 605.14 885.34 C 608.26 883.86 611.25 882.14 614.25 880.43 Z$#5e2422@M 281.67 883.35 C 285.74 880.33 287.58 885.28 289.38 888.27 C 286.43 892.40 283.57 896.66 280.04 900.34 C 278.41 897.28 276.85 894.20 275.18 891.19 C 277.39 888.61 279.46 885.91 281.67 883.35 Z$#746b69@M 578.97 911.04 C 591.03 907.06 602.59 901.63 613.95 895.99 C 613.96 900.97 613.99 905.92 613.99 910.93 C 601.83 915.97 589.75 921.72 577.03 925.12 C 576.45 920.31 577.14 915.48 578.97 911.04 Z$#554e4a@M 613.99 910.93 C 615.90 909.96 617.91 909.15 620.08 908.95 C 606.08 917.04 589.89 923.16 574.25 927.54 C 569.52 927.23 564.79 928.15 560.07 928.04 C 561.27 922.22 561.32 914.54 568.91 914.11 C 572.39 913.54 575.63 912.11 578.97 911.04 C 577.14 915.48 576.45 920.31 577.03 925.12 C 589.75 921.72 601.83 915.97 613.99 910.93 Z$#191918@M 525.58 1054.46 C 536.48 1014.75 545.77 974.59 556.97 935.03 C 554.55 940.90 563.03 940.96 562.09 946.19 C 561.94 948.05 561.93 949.92 562.07 951.80 C 560.89 964.81 557.20 979.01 565.09 990.81 C 568.30 989.85 572.07 992.28 573.02 995.24 C 572.99 996.46 573.05 997.68 573.20 998.92 C 571.26 1005.64 573.26 991.64 569.80 997.78 C 564.51 1016.16 561.33 1035.42 555.78 1053.84 C 549.47 1066.83 546.67 1082.30 552.14 1096.01 C 554.19 1096.52 554.34 1094.28 554.90 1092.91 C 559.74 1073.98 564.00 1054.91 569.22 1036.08 C 571.30 1028.50 573.98 1020.96 574.04 1013.02 C 574.89 1019.55 578.11 1027.84 582.20 1033.95 C 577.08 1055.72 571.91 1077.60 563.46 1098.39 C 561.29 1106.51 553.32 1114.73 556.11 1123.03 C 563.15 1117.29 565.03 1106.79 571.88 1100.95 C 573.07 1129.69 560.03 1158.47 561.30 1187.69 C 563.51 1200.99 563.73 1214.29 564.22 1227.75 C 565.11 1228.60 566.17 1230.54 567.66 1229.66 C 576.45 1225.02 585.75 1221.41 594.30 1216.30 C 596.40 1214.94 601.62 1213.55 599.78 1217.74 C 588.90 1226.47 579.08 1236.36 569.20 1246.18 C 563.00 1250.02 566.91 1260.46 571.04 1263.96 C 585.32 1258.01 597.16 1246.76 606.50 1234.56 C 612.99 1226.61 610.14 1216.15 611.64 1206.67 C 613.48 1224.93 610.16 1244.11 615.02 1261.90 C 603.80 1260.36 592.69 1266.29 581.31 1266.32 C 573.81 1264.98 572.22 1271.88 575.25 1276.89 C 589.89 1277.57 604.41 1275.06 619.03 1274.80 C 618.66 1271.70 617.79 1268.86 617.46 1265.81 C 619.17 1268.20 621.16 1270.86 621.02 1273.98 C 620.96 1276.88 621.00 1280.01 621.03 1283.01 C 621.78 1291.23 611.40 1301.28 618.76 1308.37 C 618.31 1315.18 618.32 1321.98 618.83 1328.77 C 613.35 1334.17 601.07 1329.09 596.76 1335.07 C 596.53 1334.73 596.07 1334.03 595.84 1333.68 C 577.57 1332.10 557.79 1336.23 539.08 1333.03 C 538.93 1337.99 539.02 1343.06 538.90 1348.07 L 537.98 1347.89 C 537.92 1342.92 538.29 1338.02 537.87 1333.11 C 533.98 1332.96 530.10 1332.84 526.23 1332.77 C 520.84 1331.98 515.39 1331.95 509.98 1331.95 C 508.05 1326.04 513.99 1320.32 509.93 1315.03 C 508.81 1311.67 505.95 1308.74 505.99 1305.09 C 508.26 1301.19 512.68 1298.81 515.03 1294.88 C 517.57 1287.05 504.46 1286.00 507.30 1278.15 C 510.83 1243.89 509.07 1209.25 503.89 1175.25 C 504.04 1172.68 503.70 1170.16 502.61 1167.84 C 501.20 1159.31 504.42 1151.27 505.99 1143.09 C 505.39 1139.12 502.65 1143.14 500.79 1144.01 C 503.64 1136.74 508.21 1129.42 507.84 1121.26 C 506.23 1119.14 503.40 1118.82 501.17 1117.68 C 500.74 1114.28 503.80 1109.10 499.27 1107.53 C 501.25 1104.18 504.62 1101.94 506.64 1098.63 C 506.50 1093.43 504.97 1087.51 507.73 1082.75 C 508.91 1087.14 507.17 1093.03 510.90 1096.27 C 521.28 1084.88 520.33 1068.24 525.58 1054.46 M 546.17 1083.10 C 540.43 1098.35 541.00 1115.42 537.37 1131.31 C 536.23 1143.11 530.12 1154.21 531.05 1166.22 C 540.86 1154.87 548.31 1140.89 553.99 1127.05 C 548.71 1121.04 548.54 1137.02 543.14 1138.17 C 544.73 1129.85 547.92 1121.96 549.67 1113.69 C 552.24 1103.53 549.38 1093.12 547.81 1083.04 C 547.40 1083.06 546.58 1083.08 546.17 1083.10 M 557.23 1186.06 C 553.40 1205.78 544.97 1224.49 540.99 1244.04 C 548.63 1241.29 557.34 1236.72 562.71 1230.72 C 562.54 1216.32 560.45 1201.74 559.77 1187.26 C 559.22 1186.22 558.37 1185.82 557.23 1186.06 M 561.29 1252.26 C 551.25 1260.74 539.83 1268.30 531.92 1279.07 C 538.08 1277.60 542.70 1272.89 548.34 1270.30 C 557.11 1269.07 563.49 1277.32 572.00 1277.00 C 573.65 1272.50 571.19 1270.03 567.84 1268.18 C 564.99 1263.79 567.46 1252.37 561.29 1252.26 Z$#5d5754@M 562.09 946.19 C 563.84 946.72 563.84 951.27 562.07 951.80 C 561.93 949.92 561.94 948.05 562.09 946.19 Z$#aaa6a6@M 573.02 995.24 C 574.66 995.09 574.70 997.96 573.81 998.89 L 573.20 998.92 C 573.05 997.68 572.99 996.46 573.02 995.24 Z$#23231f@M 569.80 997.78 C 573.26 991.64 571.26 1005.64 573.20 998.92 L 573.81 998.89 C 574.00 1003.55 574.13 1008.30 574.04 1013.02 C 573.98 1020.96 571.30 1028.50 569.22 1036.08 C 564.00 1054.91 559.74 1073.98 554.90 1092.91 C 554.34 1094.28 554.19 1096.52 552.14 1096.01 C 546.67 1082.30 549.47 1066.83 555.78 1053.84 C 561.33 1035.42 564.51 1016.16 569.80 997.78 Z$#252420@M 582.20 1033.95 C 597.35 1089.82 609.95 1148.31 611.64 1206.67 C 610.14 1216.15 612.99 1226.61 606.50 1234.56 C 597.16 1246.76 585.32 1258.01 571.04 1263.96 C 566.91 1260.46 563.00 1250.02 569.20 1246.18 C 579.08 1236.36 588.90 1226.47 599.78 1217.74 C 601.62 1213.55 596.40 1214.94 594.30 1216.30 C 585.75 1221.41 576.45 1225.02 567.66 1229.66 C 566.17 1230.54 565.11 1228.60 564.22 1227.75 C 563.73 1214.29 563.51 1200.99 561.30 1187.69 C 560.03 1158.47 573.07 1129.69 571.88 1100.95 C 565.03 1106.79 563.15 1117.29 556.11 1123.03 C 553.32 1114.73 561.29 1106.51 563.46 1098.39 C 571.91 1077.60 577.08 1055.72 582.20 1033.95 Z$#1a231e@M 343.24 1062.25 C 354.77 1055.32 367.86 1049.70 381.03 1047.00 C 379.65 1056.35 379.18 1065.81 379.26 1075.27 C 376.32 1104.30 384.23 1132.76 390.16 1160.90 C 384.13 1192.15 381.49 1223.70 373.68 1254.63 C 372.37 1271.19 354.78 1278.32 345.15 1288.85 C 351.07 1291.94 359.22 1285.41 365.35 1286.68 C 367.89 1290.35 362.28 1292.74 359.38 1293.39 C 349.06 1294.71 338.76 1300.31 328.70 1299.36 C 328.69 1290.03 323.68 1277.25 331.29 1269.25 C 336.67 1263.83 345.71 1259.26 344.05 1250.14 C 340.52 1244.33 333.95 1241.46 329.22 1236.78 C 324.45 1231.13 327.44 1223.46 327.79 1216.95 C 330.14 1185.54 336.63 1154.35 342.27 1123.29 C 348.09 1116.69 348.79 1129.10 353.97 1128.07 C 353.17 1121.06 350.13 1114.69 347.84 1108.12 C 343.44 1093.53 333.71 1076.89 343.24 1062.25 Z$#aca8a7@M 287.44 1056.01 C 288.04 1057.15 288.19 1058.45 288.14 1059.76 C 286.22 1060.08 286.28 1056.83 287.44 1056.01 Z$#aca8a7@M 400.22 1479.97 C 401.85 1482.07 403.24 1484.36 405.00 1486.38 C 410.15 1493.21 399.19 1498.09 397.17 1504.09 C 396.05 1504.68 394.91 1505.40 393.59 1505.32 C 397.37 1500.23 401.45 1495.34 404.89 1490.01 C 402.99 1486.78 401.00 1483.74 398.81 1480.75 C 399.16 1480.56 399.87 1480.17 400.22 1479.97 Z$#534f4b@M 288.33 1060.60 C 289.37 1064.66 289.54 1069.30 288.22 1073.26 C 287.93 1069.01 287.96 1064.79 288.33 1060.60 Z$#b3aead@M 285.02 1130.79 C 283.06 1130.01 283.13 1125.07 284.92 1124.19 C 284.94 1125.84 284.99 1129.14 285.02 1130.79 Z$#a09999@M 285.23 1132.71 C 285.76 1136.43 286.01 1140.19 286.00 1144.00 C 284.70 1141.13 284.44 1137.36 285.23 1132.71 Z$#857f7d@M 286.39 1147.67 C 287.20 1150.73 287.02 1153.78 287.01 1156.99 C 283.71 1156.77 286.69 1150.14 286.39 1147.67 Z$#746f6c@M 502.12 1170.74 C 502.27 1169.76 502.43 1168.80 502.61 1167.84 C 503.70 1170.16 504.04 1172.68 503.89 1175.25 C 503.29 1173.74 502.71 1172.23 502.12 1170.74 Z$#928f8d@M 290.43 1184.99 C 291.08 1186.14 291.23 1187.49 291.01 1188.83 C 289.19 1188.95 289.37 1185.83 290.43 1184.99 Z$#232320@M 557.23 1186.06 C 558.37 1185.82 559.22 1186.22 559.77 1187.26 C 560.45 1201.74 562.54 1216.32 562.71 1230.72 C 557.34 1236.72 548.63 1241.29 540.99 1244.04 C 544.97 1224.49 553.40 1205.78 557.23 1186.06 Z$#232320@M 581.31 1266.32 C 592.69 1266.29 603.80 1260.36 615.02 1261.90 C 616.26 1262.75 617.12 1264.33 617.46 1265.81 C 617.79 1268.86 618.66 1271.70 619.03 1274.80 C 604.41 1275.06 589.89 1277.57 575.25 1276.89 C 572.22 1271.88 573.81 1264.98 581.31 1266.32 Z$#686460@M 291.38 1194.67 C 292.14 1197.43 292.43 1200.42 291.13 1203.15 C 290.92 1200.32 290.87 1197.46 291.38 1194.67 Z$#ada8a7@M 287.47 1221.96 C 286.46 1220.79 286.02 1217.35 287.98 1217.18 C 288.19 1218.77 288.14 1220.44 287.47 1221.96 Z$#696261@M 286.48 1230.01 C 285.38 1229.15 285.15 1226.00 287.00 1226.17 C 287.21 1227.45 287.10 1228.81 286.48 1230.01 Z$#1a1a19@M 472.29 1280.32 C 477.45 1268.23 475.79 1253.45 481.95 1241.75 C 481.68 1254.06 476.91 1265.77 475.99 1278.01 C 483.35 1279.52 479.22 1263.49 483.46 1265.15 C 478.20 1287.95 476.33 1312.67 462.50 1332.39 C 459.69 1335.93 459.65 1340.71 461.12 1344.85 C 459.40 1343.85 457.31 1340.96 455.52 1343.39 C 454.92 1348.38 451.53 1342.04 448.68 1342.33 C 431.49 1341.01 414.42 1338.10 397.33 1335.75 C 392.86 1332.50 404.44 1332.98 404.98 1332.99 C 419.12 1334.15 434.63 1331.49 443.16 1319.06 C 439.56 1313.10 434.48 1308.14 430.05 1302.80 C 428.92 1298.36 435.40 1298.79 437.89 1296.88 C 449.12 1290.90 461.27 1286.51 472.29 1280.32 Z$#23221f@M 561.29 1252.26 C 567.46 1252.37 564.99 1263.79 567.84 1268.18 C 571.19 1270.03 573.65 1272.50 572.00 1277.00 C 563.49 1277.32 557.11 1269.07 548.34 1270.30 C 542.70 1272.89 538.08 1277.60 531.92 1279.07 C 539.83 1268.30 551.25 1260.74 561.29 1252.26 Z$#6d6865@M 621.02 1273.98 C 622.82 1273.54 622.76 1282.54 621.03 1283.01 C 621.00 1280.01 620.96 1276.88 621.02 1273.98 Z$#885146@M 293.03 1316.92 C 311.76 1321.77 331.14 1321.10 350.31 1321.24 C 342.08 1326.25 333.02 1329.88 324.54 1334.49 C 323.00 1334.77 323.46 1335.94 323.88 1337.01 C 315.02 1335.66 306.06 1334.67 297.33 1332.70 C 290.42 1331.45 293.82 1321.50 293.03 1316.92 Z$#c3bebe@M 509.98 1331.95 C 515.39 1331.95 520.84 1331.98 526.23 1332.77 C 521.45 1331.90 513.14 1334.77 509.98 1331.95 Z$#8a5649@M 539.08 1333.03 C 557.79 1336.23 577.57 1332.10 595.84 1333.68 C 592.25 1336.30 591.33 1346.09 594.82 1348.20 C 577.72 1349.58 557.16 1349.60 538.90 1348.07 C 539.02 1343.06 538.93 1337.99 539.08 1333.03 Z$#9f786a@M 594.82 1348.20 C 591.33 1346.09 592.25 1336.30 595.84 1333.68 C 596.07 1334.03 596.53 1334.73 596.76 1335.07 C 597.27 1339.25 597.01 1343.58 597.10 1347.85 C 595.12 1345.63 595.07 1343.82 594.82 1348.20 Z$#111411@M 594.82 1348.20 C 595.07 1343.82 595.12 1345.63 597.10 1347.85 C 600.30 1347.57 601.27 1349.29 600.02 1353.01 C 601.93 1368.28 594.47 1382.37 600.07 1397.18 C 599.96 1398.70 599.95 1400.24 600.07 1401.80 C 600.18 1403.23 600.01 1404.64 599.57 1406.02 C 599.13 1406.92 598.85 1407.88 598.74 1408.91 C 595.84 1407.09 593.71 1412.43 594.20 1414.84 C 597.01 1426.41 591.74 1437.30 589.84 1448.48 C 592.68 1448.40 595.52 1448.53 598.36 1448.78 L 598.00 1449.66 C 593.95 1452.43 590.28 1455.55 586.19 1458.22 C 578.43 1474.11 571.71 1490.93 570.56 1508.81 C 570.83 1510.35 571.07 1512.95 573.09 1513.02 C 576.11 1514.01 576.78 1509.25 579.82 1510.84 C 579.87 1511.61 579.97 1513.15 580.02 1513.92 C 568.71 1514.72 555.46 1518.41 546.21 1509.82 C 537.00 1505.78 544.90 1493.22 543.00 1485.90 C 527.61 1498.56 514.92 1518.91 492.82 1518.93 C 491.39 1519.07 488.52 1519.36 487.09 1519.50 C 482.39 1519.96 477.55 1520.55 472.90 1519.56 C 470.68 1518.82 468.45 1518.63 466.23 1518.97 C 464.48 1519.05 462.64 1519.23 460.99 1518.55 C 459.81 1517.89 458.46 1517.77 457.16 1518.00 C 447.72 1516.47 438.81 1511.66 429.14 1511.00 C 420.60 1521.54 415.31 1533.97 412.55 1547.10 C 411.93 1549.18 411.72 1551.37 411.92 1553.65 C 404.38 1558.66 393.54 1562.95 385.11 1557.24 C 379.47 1562.86 376.18 1570.99 369.70 1575.69 C 354.69 1581.39 339.14 1587.33 323.00 1588.02 C 318.65 1587.92 314.33 1587.92 310.00 1588.02 C 308.00 1587.94 305.90 1588.23 304.00 1587.55 C 302.81 1586.89 301.46 1586.76 300.16 1587.00 C 289.52 1586.17 275.33 1582.87 271.00 1572.03 C 270.98 1569.30 270.97 1566.62 270.98 1563.98 C 271.90 1557.50 271.50 1549.54 277.23 1545.23 C 286.31 1535.95 294.60 1525.94 303.75 1516.73 C 304.73 1514.15 300.60 1514.96 299.20 1513.78 C 298.65 1510.86 300.38 1503.33 295.13 1503.78 C 290.73 1502.72 281.84 1504.11 284.00 1497.00 C 284.00 1493.75 284.17 1490.74 283.42 1487.67 C 283.28 1476.02 277.84 1465.64 274.99 1454.84 C 275.19 1453.47 275.07 1452.10 274.40 1450.92 L 274.08 1449.92 C 274.16 1448.50 273.97 1447.09 273.28 1445.87 C 273.19 1444.15 272.95 1442.46 272.34 1440.89 C 272.24 1439.52 272.01 1438.19 271.41 1437.00 C 271.29 1436.45 271.06 1435.37 270.94 1434.83 C 271.01 1433.59 271.02 1432.37 270.95 1431.17 C 270.96 1426.39 271.04 1421.71 271.00 1416.99 C 270.99 1413.86 271.00 1410.99 270.99 1407.97 C 270.91 1405.86 271.80 1403.92 272.47 1402.00 C 273.08 1400.77 273.20 1399.39 273.17 1398.08 L 273.39 1397.00 C 274.03 1394.73 274.25 1392.48 274.06 1390.27 C 274.30 1388.89 274.98 1387.39 276.17 1386.63 C 277.87 1393.59 284.18 1398.21 287.93 1404.02 C 288.30 1403.79 289.03 1403.33 289.39 1403.11 C 289.69 1405.13 290.14 1407.17 290.74 1409.21 C 292.26 1412.98 293.73 1416.82 295.92 1420.28 C 299.24 1425.40 301.99 1431.27 306.90 1435.08 C 312.33 1431.05 318.64 1428.53 323.91 1424.22 C 331.78 1418.21 341.24 1414.64 350.86 1412.58 C 351.61 1413.27 352.34 1414.01 353.04 1414.79 C 343.90 1418.29 334.01 1420.40 325.93 1426.22 C 328.13 1431.86 331.67 1436.85 335.02 1441.87 C 342.65 1440.90 351.22 1430.21 357.29 1435.03 C 356.49 1436.27 355.72 1437.55 354.95 1438.83 C 346.93 1440.07 340.69 1445.78 334.23 1450.20 C 332.58 1450.97 333.89 1452.71 333.97 1454.02 C 326.79 1457.07 333.27 1461.49 337.82 1464.01 C 339.62 1460.58 340.97 1456.58 345.02 1455.38 C 345.46 1455.24 346.35 1454.95 346.79 1454.81 C 361.41 1453.77 375.49 1458.88 386.73 1468.16 C 389.79 1470.74 392.80 1473.39 395.83 1476.03 C 396.25 1476.44 397.07 1477.26 397.48 1477.67 C 396.70 1478.53 395.91 1479.40 395.13 1480.28 C 391.62 1477.52 388.21 1472.79 383.26 1473.12 C 380.46 1476.43 377.78 1479.89 374.22 1482.45 C 372.54 1488.65 379.72 1491.21 383.27 1494.99 C 381.81 1497.25 380.09 1499.35 378.72 1501.68 C 378.69 1504.17 382.04 1506.38 383.24 1508.91 C 379.59 1506.58 375.79 1503.81 377.68 1499.15 C 367.26 1490.23 355.20 1482.21 341.60 1479.37 C 337.57 1477.69 333.23 1479.47 330.84 1482.76 C 328.18 1486.71 326.25 1491.14 323.57 1495.11 C 318.69 1498.96 328.70 1496.31 331.23 1496.84 C 340.98 1498.14 347.00 1506.98 353.78 1513.18 C 359.95 1519.08 364.80 1526.36 372.03 1531.16 C 376.23 1525.96 380.12 1520.39 383.20 1514.47 C 384.31 1512.74 383.47 1510.73 383.24 1508.91 C 385.08 1510.96 386.94 1513.03 388.83 1515.11 C 384.62 1521.13 380.57 1527.30 376.14 1533.17 C 374.16 1536.01 370.82 1533.78 368.85 1532.15 C 364.91 1527.44 359.88 1523.78 356.00 1519.03 C 354.78 1517.52 352.47 1516.07 350.78 1517.76 C 332.82 1531.14 311.01 1539.01 295.20 1555.27 C 295.03 1556.48 294.36 1558.51 295.72 1559.26 C 305.20 1564.38 316.22 1565.93 326.87 1564.80 C 342.57 1563.02 359.38 1562.28 372.71 1552.74 C 376.89 1548.97 383.69 1548.75 386.00 1542.98 C 396.55 1528.70 398.71 1509.25 411.58 1496.52 C 418.77 1492.25 426.93 1489.68 433.76 1484.77 C 435.61 1481.92 433.21 1477.61 435.22 1474.66 C 436.79 1477.88 437.54 1481.41 438.34 1484.89 C 441.27 1485.71 443.64 1483.43 445.62 1481.63 C 452.07 1474.60 461.49 1471.06 467.70 1463.77 C 468.14 1462.40 467.01 1461.11 466.77 1459.83 C 479.16 1455.68 485.37 1442.80 493.83 1433.80 C 495.31 1436.79 497.32 1435.67 499.17 1433.67 L 499.65 1434.15 C 499.92 1434.60 500.45 1435.50 500.72 1435.95 C 507.11 1444.41 505.19 1459.55 517.13 1462.95 C 525.67 1464.00 533.97 1460.21 541.25 1456.21 C 541.65 1455.87 542.45 1455.19 542.85 1454.85 C 537.10 1441.97 527.12 1431.51 516.36 1422.65 C 514.74 1421.47 513.91 1419.64 513.19 1417.87 C 513.21 1417.45 513.24 1416.61 513.25 1416.20 C 514.68 1416.12 515.78 1415.09 516.15 1413.75 C 521.64 1411.64 526.15 1407.31 529.36 1402.48 C 529.76 1402.61 530.55 1402.87 530.95 1403.00 C 543.42 1411.20 552.32 1423.12 560.96 1435.03 C 561.71 1435.64 562.50 1437.86 563.69 1436.78 C 575.57 1428.52 583.44 1415.95 593.89 1406.28 C 600.12 1402.85 594.53 1395.40 593.81 1390.23 C 593.78 1388.87 593.76 1387.54 593.74 1386.22 C 592.08 1382.35 597.74 1371.34 591.01 1371.90 C 586.87 1371.76 582.79 1372.14 578.72 1372.63 C 567.23 1372.93 555.58 1373.99 544.23 1371.76 C 542.66 1371.60 539.54 1371.28 537.98 1371.12 C 536.62 1370.89 534.55 1371.26 535.16 1369.21 C 535.83 1363.79 536.89 1358.03 535.19 1352.75 C 533.18 1350.08 535.75 1348.90 537.98 1347.89 L 538.90 1348.07 C 557.16 1349.60 577.72 1349.58 594.82 1348.20 M 313.10 1432.08 C 312.08 1435.08 319.22 1439.50 322.05 1441.05 C 321.40 1436.66 316.05 1434.69 313.10 1432.08 M 301.83 1441.03 C 306.47 1449.25 313.44 1456.32 319.92 1463.19 C 324.53 1460.93 327.58 1456.49 331.90 1453.78 C 332.36 1448.89 327.09 1445.74 323.91 1443.00 C 323.47 1447.34 328.87 1448.84 329.82 1452.78 C 326.88 1456.03 323.24 1458.51 319.93 1461.36 C 314.23 1454.37 309.19 1446.39 301.83 1441.03 M 318.72 1444.87 C 316.72 1447.84 321.74 1449.33 322.08 1445.83 L 322.35 1444.89 C 325.85 1443.80 318.23 1440.91 318.72 1444.87 Z$#57524e@M 535.19 1352.75 C 536.89 1358.03 535.83 1363.79 535.16 1369.21 C 534.83 1363.73 535.15 1358.19 535.19 1352.75 Z$#52362e@M 294.38 1362.04 C 294.11 1358.29 294.80 1355.83 298.14 1357.64 C 293.51 1359.56 296.30 1367.63 296.50 1372.26 C 296.89 1375.35 297.43 1378.65 298.26 1381.74 C 297.01 1385.41 300.07 1392.59 297.08 1395.08 C 296.68 1388.97 296.51 1382.89 295.87 1376.83 C 292.64 1386.98 291.43 1398.43 290.74 1409.21 C 290.14 1407.17 289.69 1405.13 289.39 1403.11 C 291.14 1389.41 293.56 1375.85 294.38 1362.04 Z$#4e3a36@M 280.11 1358.04 C 281.22 1358.25 282.05 1359.03 282.89 1359.74 C 282.36 1366.43 283.06 1374.28 280.12 1380.07 C 280.05 1379.54 279.93 1378.47 279.86 1377.94 C 280.10 1371.33 282.55 1364.43 280.11 1358.04 Z$#865045@M 296.50 1372.26 C 296.30 1367.63 293.51 1359.56 298.14 1357.64 C 315.49 1362.50 333.76 1363.75 351.72 1363.23 C 351.83 1363.68 352.06 1364.58 352.18 1365.03 C 352.08 1368.40 351.61 1371.63 351.07 1375.00 C 352.47 1371.02 351.83 1369.04 349.15 1369.07 C 332.13 1368.66 315.30 1364.45 298.26 1365.18 C 297.50 1367.48 296.97 1369.86 296.50 1372.26 Z$#855045@M 282.89 1359.74 C 286.67 1358.25 291.15 1359.74 294.38 1362.04 C 293.56 1375.85 291.14 1389.41 289.39 1403.11 C 289.03 1403.33 288.30 1403.79 287.93 1404.02 C 284.18 1398.21 277.87 1393.59 276.17 1386.63 C 277.09 1383.70 277.89 1380.31 279.86 1377.94 C 279.93 1378.47 280.05 1379.54 280.12 1380.07 C 283.06 1374.28 282.36 1366.43 282.89 1359.74 Z$#473731@M 371.99 1364.05 C 372.50 1364.31 373.52 1364.83 374.03 1365.09 C 373.41 1370.44 373.53 1375.94 371.94 1381.15 L 370.97 1380.70 C 371.03 1380.04 371.17 1378.74 371.24 1378.08 C 372.51 1376.63 372.37 1374.63 371.85 1372.93 C 371.95 1369.98 371.94 1366.87 371.99 1364.05 Z$#575452@M 462.36 1363.72 C 462.81 1366.40 464.18 1369.84 462.18 1372.20 C 462.19 1369.34 462.25 1366.51 462.36 1363.72 Z$#a86a5b@M 298.26 1365.18 C 315.30 1364.45 332.13 1368.66 349.15 1369.07 C 339.61 1375.23 331.15 1383.06 322.88 1390.79 C 319.93 1394.16 318.91 1398.72 317.86 1402.96 C 314.62 1406.05 314.76 1412.85 317.69 1416.35 C 319.61 1419.01 320.58 1423.04 323.91 1424.22 C 318.64 1428.53 312.33 1431.05 306.90 1435.08 C 301.99 1431.27 299.24 1425.40 295.92 1420.28 C 298.74 1414.32 293.26 1407.57 295.67 1401.67 C 300.28 1396.18 300.77 1388.29 298.26 1381.74 C 297.43 1378.65 296.89 1375.35 296.50 1372.26 C 296.97 1369.86 297.50 1367.48 298.26 1365.18 M 298.93 1404.89 C 300.40 1409.45 301.45 1415.46 304.04 1419.09 C 304.31 1414.08 302.32 1408.40 298.93 1404.89 Z$#8b564a@M 374.03 1365.09 C 393.37 1373.89 414.83 1377.08 435.95 1377.12 C 435.37 1380.48 434.82 1383.75 435.68 1387.21 C 435.81 1388.43 435.98 1389.65 436.19 1390.89 C 435.60 1390.18 435.02 1389.48 434.46 1388.79 C 434.24 1388.41 433.82 1387.65 433.60 1387.27 C 422.74 1388.06 411.83 1388.09 400.94 1387.97 C 397.02 1387.75 395.01 1391.83 392.55 1394.24 C 385.83 1391.42 370.01 1392.11 371.94 1381.15 C 373.53 1375.94 373.41 1370.44 374.03 1365.09 Z$#fbece7@M 349.15 1369.07 C 351.83 1369.04 352.47 1371.02 351.07 1375.00 C 350.54 1377.45 350.02 1380.18 349.69 1382.78 C 349.85 1389.21 346.38 1397.43 350.95 1403.02 C 351.25 1403.45 351.85 1404.31 352.15 1404.75 C 352.56 1407.15 353.42 1409.50 355.21 1411.26 C 353.77 1411.73 352.31 1412.14 350.86 1412.58 C 341.24 1414.64 331.78 1418.21 323.91 1424.22 C 320.58 1423.04 319.61 1419.01 317.69 1416.35 C 317.56 1411.86 316.44 1407.32 317.86 1402.96 C 321.50 1400.15 321.48 1394.84 322.88 1390.79 C 331.15 1383.06 339.61 1375.23 349.15 1369.07 Z$#4f3c35@M 537.98 1371.12 C 539.54 1371.28 542.66 1371.60 544.23 1371.76 C 535.88 1369.93 541.21 1379.33 539.19 1384.20 C 539.46 1386.63 539.04 1388.89 537.92 1390.96 C 538.17 1384.34 537.93 1377.70 537.98 1371.12 Z$#8c584b@M 539.19 1384.20 C 541.21 1379.33 535.88 1369.93 544.23 1371.76 C 555.58 1373.99 567.23 1372.93 578.72 1372.63 C 584.08 1371.78 589.14 1372.25 588.88 1378.28 C 572.46 1380.68 553.66 1374.27 539.19 1384.20 Z$#523830@M 578.72 1372.63 C 582.79 1372.14 586.87 1371.76 591.01 1371.90 C 590.26 1373.98 589.55 1376.11 588.88 1378.28 C 589.14 1372.25 584.08 1371.78 578.72 1372.63 Z$#8c6356@M 591.01 1371.90 C 597.74 1371.34 592.08 1382.35 593.74 1386.22 C 593.26 1381.76 593.19 1377.38 592.93 1372.97 C 590.24 1373.41 592.69 1383.08 588.88 1378.28 C 589.55 1376.11 590.26 1373.98 591.01 1371.90 Z$#ada9a8@M 371.24 1378.08 C 370.62 1376.35 370.40 1374.28 371.85 1372.93 C 372.37 1374.63 372.51 1376.63 371.24 1378.08 Z$#bf8f7a@M 588.88 1378.28 C 592.69 1383.08 590.24 1373.41 592.93 1372.97 C 593.19 1377.38 593.26 1381.76 593.74 1386.22 C 593.76 1387.54 593.78 1388.87 593.81 1390.23 C 593.28 1389.01 592.73 1387.81 592.15 1386.65 C 591.86 1393.20 591.27 1400.04 593.89 1406.28 C 583.44 1415.95 575.57 1428.52 563.69 1436.78 C 562.50 1437.86 561.71 1435.64 560.96 1435.03 C 552.32 1423.12 543.42 1411.20 530.95 1403.00 C 531.71 1401.68 532.43 1400.35 533.10 1399.01 C 534.50 1396.16 536.23 1393.57 537.92 1390.96 C 539.04 1388.89 539.46 1386.63 539.19 1384.20 C 553.66 1374.27 572.46 1380.68 588.88 1378.28 M 577.27 1407.71 C 578.61 1414.54 588.47 1412.25 587.63 1405.69 C 591.01 1404.27 591.12 1393.91 590.06 1392.08 C 590.13 1389.31 590.08 1386.57 589.92 1383.85 C 580.11 1386.99 577.46 1398.74 577.27 1407.71 M 562.93 1400.88 C 563.97 1405.52 568.61 1408.60 568.27 1413.86 C 572.50 1412.75 566.18 1403.19 562.93 1400.88 Z$#5f5855@M 349.69 1382.78 C 350.02 1380.18 350.54 1377.45 351.07 1375.00 C 350.87 1381.73 350.98 1388.45 350.77 1395.22 C 350.32 1391.03 349.93 1386.91 349.69 1382.78 Z$#8f5649@M 290.74 1409.21 C 291.43 1398.43 292.64 1386.98 295.87 1376.83 C 296.51 1382.89 296.68 1388.97 297.08 1395.08 C 300.07 1392.59 297.01 1385.41 298.26 1381.74 C 300.77 1388.29 300.28 1396.18 295.67 1401.67 C 293.26 1407.57 298.74 1414.32 295.92 1420.28 C 293.73 1416.82 292.26 1412.98 290.74 1409.21 Z$#161816@M 364.58 1406.91 C 366.29 1398.48 363.65 1386.87 370.97 1380.70 L 371.94 1381.15 C 370.01 1392.11 385.83 1391.42 392.55 1394.24 C 405.22 1396.45 419.04 1397.90 431.35 1393.37 C 433.50 1392.85 434.20 1390.72 434.46 1388.79 C 435.02 1389.48 435.60 1390.18 436.19 1390.89 C 440.70 1402.57 427.52 1412.70 430.31 1423.72 C 426.87 1426.89 427.77 1422.12 427.89 1419.07 C 411.51 1425.79 391.89 1426.51 376.03 1417.93 C 373.13 1416.98 369.42 1413.16 366.92 1416.73 C 367.12 1414.75 365.93 1413.29 364.61 1412.02 C 365.79 1410.52 365.71 1408.37 364.58 1406.91 M 434.22 1393.07 C 430.56 1396.83 439.05 1393.29 434.22 1393.07 M 429.16 1412.16 C 428.15 1416.79 433.80 1411.15 429.16 1412.16 Z$#938a88@M 350.95 1403.02 C 346.38 1397.43 349.85 1389.21 349.69 1382.78 C 349.93 1386.91 350.32 1391.03 350.77 1395.22 C 350.84 1397.78 350.89 1400.38 350.95 1403.02 Z$#be8c77@M 400.94 1387.97 C 411.83 1388.09 422.74 1388.06 433.60 1387.27 C 433.82 1387.65 434.24 1388.41 434.46 1388.79 C 434.20 1390.72 433.50 1392.85 431.35 1393.37 C 419.04 1397.90 405.22 1396.45 392.55 1394.24 C 395.01 1391.83 397.02 1387.75 400.94 1387.97 Z$#eed8d0@M 592.15 1386.65 C 592.73 1387.81 593.28 1389.01 593.81 1390.23 C 594.53 1395.40 600.12 1402.85 593.89 1406.28 C 591.27 1400.04 591.86 1393.20 592.15 1386.65 Z$#948c8b@M 273.39 1397.00 C 272.54 1395.18 271.68 1390.91 274.06 1390.27 C 274.25 1392.48 274.03 1394.73 273.39 1397.00 Z$#d2a393@M 317.86 1402.96 C 318.91 1398.72 319.93 1394.16 322.88 1390.79 C 321.48 1394.84 321.50 1400.15 317.86 1402.96 Z$#83685f@M 590.06 1392.08 C 591.12 1393.91 591.01 1404.27 587.63 1405.69 C 588.30 1401.10 589.29 1396.62 590.06 1392.08 Z$#a5a19f@M 434.22 1393.07 C 439.05 1393.29 430.56 1396.83 434.22 1393.07 Z$#64625e@M 600.07 1397.18 C 601.85 1397.31 601.84 1401.65 600.07 1401.80 C 599.95 1400.24 599.96 1398.70 600.07 1397.18 Z$#918b89@M 272.47 1402.00 C 271.37 1401.05 271.27 1397.93 273.17 1398.08 C 273.20 1399.39 273.08 1400.77 272.47 1402.00 Z$#67615e@M 515.83 1413.01 C 520.62 1407.18 526.05 1401.87 533.10 1399.01 C 532.43 1400.35 531.71 1401.68 530.95 1403.00 C 530.55 1402.87 529.76 1402.61 529.36 1402.48 C 526.15 1407.31 521.64 1411.64 516.15 1413.75 L 515.83 1413.01 Z$#936b5c@M 562.93 1400.88 C 566.18 1403.19 572.50 1412.75 568.27 1413.86 C 568.61 1408.60 563.97 1405.52 562.93 1400.88 Z$#d3a292@M 317.69 1416.35 C 314.76 1412.85 314.62 1406.05 317.86 1402.96 C 316.44 1407.32 317.56 1411.86 317.69 1416.35 Z$#6e483d@M 298.93 1404.89 C 302.32 1408.40 304.31 1414.08 304.04 1419.09 C 301.45 1415.46 300.40 1409.45 298.93 1404.89 Z$#5e5450@M 352.15 1404.75 C 353.73 1406.64 354.96 1408.79 356.18 1410.95 L 355.21 1411.26 C 353.42 1409.50 352.56 1407.15 352.15 1404.75 Z$#777471@M 598.74 1408.91 C 598.85 1407.88 599.13 1406.92 599.57 1406.02 C 600.61 1407.25 600.68 1408.52 599.77 1409.83 C 599.51 1409.60 599.00 1409.14 598.74 1408.91 Z$#605e59@M 364.61 1412.02 C 364.60 1410.74 364.59 1408.19 364.58 1406.91 C 365.71 1408.37 365.79 1410.52 364.61 1412.02 Z$#979391@M 270.04 1417.01 C 270.79 1414.48 268.51 1409.08 270.99 1407.97 C 271.00 1410.99 270.99 1413.86 271.00 1416.99 L 270.04 1417.01 Z$#1f211e@M 594.20 1414.84 C 593.71 1412.43 595.84 1407.09 598.74 1408.91 C 599.00 1409.14 599.51 1409.60 599.77 1409.83 C 599.96 1412.54 600.11 1415.52 600.60 1418.32 C 601.54 1428.15 601.13 1440.10 598.36 1448.78 C 595.52 1448.53 592.68 1448.40 589.84 1448.48 C 591.74 1437.30 597.01 1426.41 594.20 1414.84 Z$#bcb9b8@M 599.77 1409.83 C 602.37 1410.91 600.57 1415.77 600.60 1418.32 C 600.11 1415.52 599.96 1412.54 599.77 1409.83 Z$#16201a@M 355.21 1411.26 L 356.18 1410.95 C 359.99 1413.90 362.30 1418.27 364.96 1422.23 C 364.67 1423.51 364.38 1424.80 364.08 1426.11 C 361.72 1429.00 359.46 1431.96 357.29 1435.03 C 351.22 1430.21 342.65 1440.90 335.02 1441.87 C 331.67 1436.85 328.13 1431.86 325.93 1426.22 C 334.01 1420.40 343.90 1418.29 353.04 1414.79 C 352.34 1414.01 351.61 1413.27 350.86 1412.58 C 352.31 1412.14 353.77 1411.73 355.21 1411.26 Z$#7f7674@M 429.16 1412.16 C 433.80 1411.15 428.15 1416.79 429.16 1412.16 Z$#c2c1c1@M 513.25 1416.20 C 513.03 1414.54 514.49 1413.51 515.83 1413.01 L 516.15 1413.75 C 515.78 1415.09 514.68 1416.12 513.25 1416.20 Z$#875a4e@M 366.92 1416.73 C 369.42 1413.16 373.13 1416.98 376.03 1417.93 C 391.89 1426.51 411.51 1425.79 427.89 1419.07 C 427.77 1422.12 426.87 1426.89 430.31 1423.72 C 432.11 1430.00 433.94 1436.40 433.96 1443.00 L 433.95 1444.09 C 432.13 1438.33 431.50 1432.30 429.38 1426.65 C 428.84 1431.07 428.89 1435.74 427.69 1440.13 C 427.46 1439.54 426.99 1438.37 426.76 1437.78 C 427.69 1433.16 430.72 1422.84 423.23 1427.17 C 406.70 1428.63 389.08 1429.02 374.00 1421.01 C 369.83 1417.92 367.15 1423.97 364.08 1426.11 C 364.38 1424.80 364.67 1423.51 364.96 1422.23 C 365.58 1420.37 366.20 1418.53 366.92 1416.73 Z$#514f4c@M 270.04 1417.01 L 271.00 1416.99 C 271.04 1421.71 270.96 1426.39 270.95 1431.17 L 270.30 1431.12 C 269.89 1426.38 269.81 1421.70 270.04 1417.01 Z$#82554a@M 513.19 1417.87 C 513.91 1419.64 514.74 1421.47 516.36 1422.65 C 527.12 1431.51 537.10 1441.97 542.85 1454.85 C 542.45 1455.19 541.65 1455.87 541.25 1456.21 C 534.22 1444.19 524.61 1433.93 514.31 1424.67 C 513.30 1423.77 511.50 1421.95 510.70 1424.69 C 507.39 1428.41 502.89 1431.33 500.72 1435.95 C 500.45 1435.50 499.92 1434.60 499.65 1434.15 C 503.83 1428.43 511.22 1424.92 513.19 1417.87 Z$#c18f7b@M 364.08 1426.11 C 367.15 1423.97 369.83 1417.92 374.00 1421.01 C 389.08 1429.02 406.70 1428.63 423.23 1427.17 C 420.06 1429.68 415.33 1429.06 412.26 1431.30 C 409.84 1440.00 408.41 1450.78 415.04 1458.08 C 412.54 1462.81 405.84 1458.93 402.14 1457.49 C 400.62 1453.55 399.32 1448.36 397.02 1444.77 C 397.29 1448.19 398.19 1451.49 398.76 1454.90 C 393.81 1458.33 390.50 1463.56 386.73 1468.16 C 375.49 1458.88 361.41 1453.77 346.79 1454.81 C 349.21 1449.32 352.24 1444.15 354.95 1438.83 C 355.72 1437.55 356.49 1436.27 357.29 1435.03 C 359.46 1431.96 361.72 1429.00 364.08 1426.11 Z$#be8e79@M 510.70 1424.69 C 511.50 1421.95 513.30 1423.77 514.31 1424.67 C 524.61 1433.93 534.22 1444.19 541.25 1456.21 C 533.97 1460.21 525.67 1464.00 517.13 1462.95 C 505.19 1459.55 507.11 1444.41 500.72 1435.95 C 502.89 1431.33 507.39 1428.41 510.70 1424.69 Z$#f8e2dc@M 423.23 1427.17 C 430.72 1422.84 427.69 1433.16 426.76 1437.78 C 425.44 1442.67 423.50 1447.36 421.98 1452.19 C 425.42 1449.18 426.17 1444.24 427.69 1440.13 C 428.89 1435.74 428.84 1431.07 429.38 1426.65 C 431.50 1432.30 432.13 1438.33 433.95 1444.09 C 436.74 1463.61 416.49 1472.84 405.84 1485.29 C 402.55 1482.13 401.22 1475.55 395.83 1476.03 C 392.80 1473.39 389.79 1470.74 386.73 1468.16 C 390.50 1463.56 393.81 1458.33 398.76 1454.90 C 399.70 1455.96 400.74 1456.98 402.14 1457.49 C 405.84 1458.93 412.54 1462.81 415.04 1458.08 C 408.41 1450.78 409.84 1440.00 412.26 1431.30 C 415.33 1429.06 420.06 1429.68 423.23 1427.17 Z$#c7c2c2@M 270.30 1431.12 L 270.95 1431.17 C 271.02 1432.37 271.01 1433.59 270.94 1434.83 C 269.34 1434.81 269.35 1431.98 270.30 1431.12 Z$#575551@M 493.83 1433.80 C 495.20 1430.86 497.60 1430.94 499.17 1433.67 C 497.32 1435.67 495.31 1436.79 493.83 1433.80 Z$#595652@M 313.10 1432.08 C 316.05 1434.69 321.40 1436.66 322.05 1441.05 C 319.22 1439.50 312.08 1435.08 313.10 1432.08 Z$#dad7d6@M 271.41 1437.00 C 272.01 1438.19 272.24 1439.52 272.34 1440.89 C 270.42 1441.08 270.28 1437.96 271.41 1437.00 Z$#92827c@M 421.98 1452.19 C 423.50 1447.36 425.44 1442.67 426.76 1437.78 C 426.99 1438.37 427.46 1439.54 427.69 1440.13 C 426.17 1444.24 425.42 1449.18 421.98 1452.19 Z$#7f5248@M 334.23 1450.20 C 340.69 1445.78 346.93 1440.07 354.95 1438.83 C 352.24 1444.15 349.21 1449.32 346.79 1454.81 C 346.35 1454.95 345.46 1455.24 345.02 1455.38 C 346.49 1452.26 347.90 1449.09 349.05 1445.87 C 345.54 1446.75 342.77 1449.19 339.82 1451.15 C 337.90 1452.16 335.98 1453.18 333.97 1454.02 C 333.89 1452.71 332.58 1450.97 334.23 1450.20 Z$#c8c5c3@M 272.34 1440.89 C 272.95 1442.46 273.19 1444.15 273.28 1445.87 C 271.13 1445.70 271.44 1442.22 272.34 1440.89 Z$#878381@M 301.83 1441.03 C 309.19 1446.39 314.23 1454.37 319.93 1461.36 C 319.93 1461.82 319.92 1462.73 319.92 1463.19 C 313.44 1456.32 306.47 1449.25 301.83 1441.03 Z$#524f4c@M 318.72 1444.87 C 318.23 1440.91 325.85 1443.80 322.35 1444.89 C 320.18 1441.75 318.55 1447.24 322.08 1445.83 C 321.74 1449.33 316.72 1447.84 318.72 1444.87 Z$#5c5754@M 323.91 1443.00 C 327.09 1445.74 332.36 1448.89 331.90 1453.78 C 327.58 1456.49 324.53 1460.93 319.92 1463.19 C 319.92 1462.73 319.93 1461.82 319.93 1461.36 C 323.24 1458.51 326.88 1456.03 329.82 1452.78 C 328.87 1448.84 323.47 1447.34 323.91 1443.00 Z$#1b1d1b@M 433.96 1443.00 C 435.06 1443.60 436.18 1444.21 437.27 1444.88 C 437.42 1446.43 437.73 1449.53 437.89 1451.09 C 438.34 1459.74 437.64 1468.40 436.97 1477.05 C 446.27 1470.32 455.95 1463.88 466.77 1459.83 C 467.01 1461.11 468.14 1462.40 467.70 1463.77 C 461.49 1471.06 452.07 1474.60 445.62 1481.63 C 443.64 1483.43 441.27 1485.71 438.34 1484.89 C 437.54 1481.41 436.79 1477.88 435.22 1474.66 C 433.21 1477.61 435.61 1481.92 433.76 1484.77 C 426.93 1489.68 418.77 1492.25 411.58 1496.52 C 398.71 1509.25 396.55 1528.70 386.00 1542.98 C 383.69 1548.75 376.89 1548.97 372.71 1552.74 C 359.38 1562.28 342.57 1563.02 326.87 1564.80 C 316.22 1565.93 305.20 1564.38 295.72 1559.26 C 294.36 1558.51 295.03 1556.48 295.20 1555.27 C 311.01 1539.01 332.82 1531.14 350.78 1517.76 C 352.47 1516.07 354.78 1517.52 356.00 1519.03 C 359.88 1523.78 364.91 1527.44 368.85 1532.15 C 370.82 1533.78 374.16 1536.01 376.14 1533.17 C 380.57 1527.30 384.62 1521.13 388.83 1515.11 C 391.39 1511.26 395.03 1508.21 397.17 1504.09 C 399.19 1498.09 410.15 1493.21 405.00 1486.38 C 405.21 1486.11 405.63 1485.56 405.84 1485.29 C 416.49 1472.84 436.74 1463.61 433.95 1444.09 L 433.96 1443.00 M 434.19 1456.34 C 431.91 1457.75 434.43 1460.95 434.26 1463.13 C 436.49 1461.62 436.35 1456.51 434.19 1456.34 M 307.99 1558.01 C 306.88 1563.54 316.25 1560.90 319.00 1562.05 C 324.88 1566.89 325.39 1559.10 321.94 1559.10 C 317.30 1558.50 312.67 1557.89 307.99 1558.01 Z$#aba8a8@M 322.08 1445.83 C 318.55 1447.24 320.18 1441.75 322.35 1444.89 L 322.08 1445.83 Z$#8d695d@M 397.02 1444.77 C 399.32 1448.36 400.62 1453.55 402.14 1457.49 C 400.74 1456.98 399.70 1455.96 398.76 1454.90 C 398.19 1451.49 397.29 1448.19 397.02 1444.77 Z$#c3c0c0@M 437.27 1444.88 C 437.42 1446.43 437.73 1449.53 437.89 1451.09 C 437.73 1449.53 437.42 1446.43 437.27 1444.88 Z$#aca9a9@M 273.28 1445.87 C 273.97 1447.09 274.16 1448.50 274.08 1449.92 C 272.23 1449.93 272.36 1446.89 273.28 1445.87 Z$#f0ddd7@M 339.82 1451.15 C 342.77 1449.19 345.54 1446.75 349.05 1445.87 C 347.90 1449.09 346.49 1452.26 345.02 1455.38 C 342.91 1454.47 341.28 1452.86 339.82 1451.15 Z$#1e1f1d@M 586.19 1458.22 C 590.28 1455.55 593.95 1452.43 598.00 1449.66 C 596.07 1465.50 585.38 1479.01 582.83 1494.89 C 581.27 1500.09 581.42 1505.64 579.82 1510.84 C 576.78 1509.25 576.11 1514.01 573.09 1513.02 C 571.07 1512.95 570.83 1510.35 570.56 1508.81 C 571.71 1490.93 578.43 1474.11 586.19 1458.22 Z$#a8a2a2@M 274.40 1450.92 C 275.07 1452.10 275.19 1453.47 274.99 1454.84 C 273.17 1454.91 273.39 1451.80 274.40 1450.92 Z$#a3695a@M 333.97 1454.02 C 335.98 1453.18 337.90 1452.16 339.82 1451.15 C 341.28 1452.86 342.91 1454.47 345.02 1455.38 C 340.97 1456.58 339.62 1460.58 337.82 1464.01 C 333.27 1461.49 326.79 1457.07 333.97 1454.02 Z$#69625e@M 434.19 1456.34 C 436.35 1456.51 436.49 1461.62 434.26 1463.13 C 434.43 1460.95 431.91 1457.75 434.19 1456.34 Z$#1b1d1a@M 383.26 1473.12 C 388.21 1472.79 391.62 1477.52 395.13 1480.28 C 393.37 1482.53 391.49 1484.68 389.82 1487.00 C 389.32 1489.25 388.04 1490.71 385.97 1491.60 C 384.95 1492.62 384.11 1493.81 383.27 1494.99 C 379.72 1491.21 372.54 1488.65 374.22 1482.45 C 377.78 1479.89 380.46 1476.43 383.26 1473.12 Z$#5f5854@M 395.83 1476.03 C 401.22 1475.55 402.55 1482.13 405.84 1485.29 C 405.63 1485.56 405.21 1486.11 405.00 1486.38 C 403.24 1484.36 401.85 1482.07 400.22 1479.97 C 399.41 1479.06 398.43 1478.37 397.48 1477.67 C 397.07 1477.26 396.25 1476.44 395.83 1476.03 Z$#d4d4d2@M 397.48 1477.67 C 398.43 1478.37 399.41 1479.06 400.22 1479.97 C 399.87 1480.17 399.16 1480.56 398.81 1480.75 C 395.40 1482.05 393.70 1485.42 391.71 1488.23 C 391.24 1487.92 390.29 1487.31 389.82 1487.00 C 391.49 1484.68 393.37 1482.53 395.13 1480.28 C 395.91 1479.40 396.70 1478.53 397.48 1477.67 Z$#8f5d4f@M 330.84 1482.76 C 333.23 1479.47 337.57 1477.69 341.60 1479.37 C 355.20 1482.21 367.26 1490.23 377.68 1499.15 C 375.79 1503.81 379.59 1506.58 383.24 1508.91 C 383.47 1510.73 384.31 1512.74 383.20 1514.47 C 378.41 1507.69 373.30 1501.06 367.05 1495.56 C 357.09 1486.84 344.05 1482.38 330.84 1482.76 Z$#1b1e1a@M 391.71 1488.23 C 393.70 1485.42 395.40 1482.05 398.81 1480.75 C 401.00 1483.74 402.99 1486.78 404.89 1490.01 C 401.45 1495.34 397.37 1500.23 393.59 1505.32 C 389.09 1515.93 385.02 1506.42 380.68 1502.00 C 382.78 1499.27 384.92 1496.58 387.15 1493.97 C 388.75 1490.76 391.59 1493.52 394.01 1494.07 C 393.86 1492.44 394.71 1489.76 392.23 1489.88 C 392.10 1489.47 391.84 1488.64 391.71 1488.23 M 398.14 1486.33 C 396.50 1491.51 402.99 1486.78 398.14 1486.33 Z$#bf8e7a@M 323.57 1495.11 C 326.25 1491.14 328.18 1486.71 330.84 1482.76 C 344.05 1482.38 357.09 1486.84 367.05 1495.56 C 360.77 1499.64 357.34 1506.76 353.78 1513.18 C 347.00 1506.98 340.98 1498.14 331.23 1496.84 C 328.64 1496.16 326.07 1495.95 323.57 1495.11 Z$#776e6d@M 398.14 1486.33 C 402.99 1486.78 396.50 1491.51 398.14 1486.33 Z$#726f6d@M 385.97 1491.60 C 388.04 1490.71 389.32 1489.25 389.82 1487.00 C 390.29 1487.31 391.24 1487.92 391.71 1488.23 C 391.84 1488.64 392.10 1489.47 392.23 1489.88 C 387.95 1487.23 391.58 1494.81 392.23 1489.88 C 394.71 1489.76 393.86 1492.44 394.01 1494.07 C 391.59 1493.52 388.75 1490.76 387.15 1493.97 C 386.85 1493.38 386.26 1492.19 385.97 1491.60 Z$#9c9896@M 283.42 1487.67 C 284.17 1490.74 284.00 1493.75 284.00 1497.00 C 280.71 1496.74 283.67 1490.14 283.42 1487.67 Z$#e2e0de@M 392.23 1489.88 C 387.95 1487.23 391.58 1494.81 392.23 1489.88 Z$#c8c6c5@M 383.27 1494.99 C 384.11 1493.81 384.95 1492.62 385.97 1491.60 C 386.26 1492.19 386.85 1493.38 387.15 1493.97 C 384.92 1496.58 382.78 1499.27 380.68 1502.00 C 380.19 1501.92 379.21 1501.76 378.72 1501.68 C 380.09 1499.35 381.81 1497.25 383.27 1494.99 Z$#6f5349@M 331.23 1496.84 C 328.70 1496.31 318.69 1498.96 323.57 1495.11 C 326.07 1495.95 328.64 1496.16 331.23 1496.84 Z$#f7e2db@M 353.78 1513.18 C 357.34 1506.76 360.77 1499.64 367.05 1495.56 C 373.30 1501.06 378.41 1507.69 383.20 1514.47 C 380.12 1520.39 376.23 1525.96 372.03 1531.16 C 364.80 1526.36 359.95 1519.08 353.78 1513.18 Z$#7a7674@M 383.24 1508.91 C 382.04 1506.38 378.69 1504.17 378.72 1501.68 C 379.21 1501.76 380.19 1501.92 380.68 1502.00 C 385.02 1506.42 389.09 1515.93 393.59 1505.32 C 394.91 1505.40 396.05 1504.68 397.17 1504.09 C 395.03 1508.21 391.39 1511.26 388.83 1515.11 C 386.94 1513.03 385.08 1510.96 383.24 1508.91 Z$#5f5d5a@M 457.16 1518.00 C 458.46 1517.77 459.81 1517.89 460.99 1518.55 C 460.14 1519.61 457.00 1519.81 457.16 1518.00 Z$#837e7c@M 466.23 1518.97 C 468.45 1518.63 470.68 1518.82 472.90 1519.56 C 471.13 1520.47 466.93 1521.25 466.23 1518.97 Z$#817a78@M 487.09 1519.50 C 488.52 1519.36 491.39 1519.07 492.82 1518.93 C 492.52 1521.20 488.44 1520.74 487.09 1519.50 Z$#8d8988@M 411.92 1553.65 C 411.72 1551.37 411.93 1549.18 412.55 1547.10 C 413.48 1548.78 414.25 1553.09 411.92 1553.65 Z$#4c4743@M 307.99 1558.01 C 312.67 1557.89 317.30 1558.50 321.94 1559.10 C 325.39 1559.10 324.88 1566.89 319.00 1562.05 C 316.25 1560.90 306.88 1563.54 307.99 1558.01 Z$#7d7675@M 271.00 1572.03 C 269.30 1571.29 269.30 1564.70 270.98 1563.98 C 270.97 1566.62 270.98 1569.30 271.00 1572.03 Z$#635f5c@M 300.16 1587.00 C 301.46 1586.76 302.81 1586.89 304.00 1587.55 C 303.15 1588.61 300.01 1588.81 300.16 1587.00 Z$#544f4b@M 310.00 1588.02 C 314.33 1587.92 318.65 1587.92 323.00 1588.02 C 321.41 1589.31 311.86 1590.42 310.00 1588.02 Z$\"};\n\n public static final String[] circle = {\"#ff00ff@M 550 550 C 605.228474983 550 650 594.771525017 650 650 C 650 705.228474983 605.228474983 750 550 750 C 494.771525017 750 450 705.228474983 450 650 C 450 594.771525017 494.771525017 550 550 550 Z$#00ff00@M 450 700 C 505.228474983 700 550 744.771525017 550 800 C 550 855.228474983 505.228474983 900 450 900 C 394.771525017 900 350 855.228474983 350 800 C 350 744.771525017 394.771525017 700 450 700 Z$#849934@M 300 250 C 327.614237492 250 350 272.385762508 350 300 C 350 327.614237492 327.614237492 350 300 350 C 272.385762508 350 250 327.614237492 250 300 C 250 272.385762508 272.385762508 250 300 250 Z$#000099@M 300 0 C 382.842712475 0 450 67.1572875254 450 150 C 450 232.842712475 382.842712475 300 300 300 C 217.157287525 300 150 232.842712475 150 150 C 150 67.1572875254 217.157287525 0 300 0 Z$#0f9204@M 600 170 C 671.797017478 170 730 228.202982522 730 300 C 730 371.797017478 671.797017478 430 600 430 C 528.202982522 430 470 371.797017478 470 300 C 470 228.202982522 528.202982522 170 600 170 Z$#449320@M 300 520 C 344.182779986 520 380 555.817220014 380 600 C 380 644.182779986 344.182779986 680 300 680 C 255.817220014 680 220 644.182779986 220 600 C 220 555.817220014 255.817220014 520 300 520 Z$#f290ff@M 750 1030 C 777.614237492 1030 800 1052.38576251 800 1080 C 800 1107.61423749 777.614237492 1130 750 1130 C 722.385762508 1130 700 1107.61423749 700 1080 C 700 1052.38576251 722.385762508 1030 750 1030 Z$#60ff00@M 980 1400 C 1035.22847498 1400 1080 1444.77152502 1080 1500 C 1080 1555.22847498 1035.22847498 1600 980 1600 C 924.771525017 1600 880 1555.22847498 880 1500 C 880 1444.77152502 924.771525017 1400 980 1400 Z$#02f9f3@M 500 1750 C 527.614237492 1750 550 1772.38576251 550 1800 C 550 1827.61423749 527.614237492 1850 500 1850 C 472.385762508 1850 450 1827.61423749 450 1800 C 450 1772.38576251 472.385762508 1750 500 1750 Z$#08f099@M 800 850 C 882.842712475 850 950 917.157287525 950 1000 C 950 1082.84271247 882.842712475 1150 800 1150 C 717.157287525 1150 650 1082.84271247 650 1000 C 650 917.157287525 717.157287525 850 800 850 Z$#0f9204@M 660 1300 C 770.456949966 1300 860 1389.54305003 860 1500 C 860 1610.45694997 770.456949966 1700 660 1700 C 549.543050034 1700 460 1610.45694997 460 1500 C 460 1389.54305003 549.543050034 1300 660 1300 Z$#419260@M 430 1520 C 474.182779986 1520 510 1555.81722001 510 1600 C 510 1644.18277999 474.182779986 1680 430 1680 C 385.817220014 1680 350 1644.18277999 350 1600 C 350 1555.81722001 385.817220014 1520 430 1520 Z$#f2860f@M 800 60 C 822.091389993 60 840 77.9086100068 840 100 C 840 122.091389993 822.091389993 140 800 140 C 777.908610007 140 760 122.091389993 760 100 C 760 77.9086100068 777.908610007 60 800 60 Z$#038500@M 100 1660 C 155.228474983 1660 200 1704.77152502 200 1760 C 200 1815.22847498 155.228474983 1860 100 1860 C 44.7715250169 1860 0 1815.22847498 0 1760 C 0 1704.77152502 44.7715250169 1660 100 1660 Z$#093103@M 900 650 C 927.614237492 650 950 672.385762508 950 700 C 950 727.614237492 927.614237492 750 900 750 C 872.385762508 750 850 727.614237492 850 700 C 850 672.385762508 872.385762508 650 900 650 Z$#056099@M 300 1200 C 355.228474983 1200 400 1244.77152502 400 1300 C 400 1355.22847498 355.228474983 1400 300 1400 C 244.771525017 1400 200 1355.22847498 200 1300 C 200 1244.77152502 244.771525017 1200 300 1200 Z$#109954@M 400 760 C 477.319864976 760 540 822.680135024 540 900 C 540 977.319864976 477.319864976 1040 400 1040 C 322.680135024 1040 260 977.319864976 260 900 C 260 822.680135024 322.680135024 760 400 760 Z$#449320@M 950 280 C 994.182779986 280 1030 315.817220014 1030 360 C 1030 404.182779986 994.182779986 440 950 440 C 905.817220014 440 870 404.182779986 870 360 C 870 315.817220014 905.817220014 280 950 280 Z$#14f914@M 400 660 C 422.091389993 660 440 677.908610007 440 700 C 440 722.091389993 422.091389993 740 400 740 C 377.908610007 740 360 722.091389993 360 700 C 360 677.908610007 377.908610007 660 400 660 Z$#4a39a0@M 850 670 C 883.13708499 670 910 696.86291501 910 730 C 910 763.13708499 883.13708499 790 850 790 C 816.86291501 790 790 763.13708499 790 730 C 790 696.86291501 816.86291501 670 850 670 Z\"};\n\n public static final String[] circle_in_circle = {\"#ff00ff 550 650 100@#00ff00 450 800 100@#849934 300 300 50@#000099 300 150 150@#0f9204 600 300 130@#449320 300 600 80@#f290ff 750 1080 50@#60ff00 980 1500 100@#02f9f3 500 1800 50@#08f099 800 1000 150@#0f9204 660 1500 200@#419260 430 1600 80@#f2860f 800 100 40@#038500 100 1760 100@#093103 900 700 50@#056099 300 1300 100@#109954 400 900 140@#449320 950 360 80@#14f914 400 700 40@#4a39a0 850 730 60\"};\n}", "title": "" }, { "docid": "856e6a3cfc73017e95373d74f120629c", "score": "0.4657992", "text": "public void writeToFileGPX () {\n FileOutputStream fos = null;\n try {\n // Open file coordinates.csv with mode append to append new data\n FILE_NAME = UUID.randomUUID().toString() + \".gpx\";\n fos = openFileOutput(FILE_NAME, MODE_PRIVATE);\n String beg =\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?>\\n\"\n + \"<gpx version=\\\"1.1\\\" creator=\\\"noone\\\">\\n\"\n + \"<name>Trackname1</name>\\n\"\n + \" <desc>Trackbeschreibung</desc> \\n\"\n + \" <trkseg> \\n\";\n String end = \" </trkseg>\\n\"\n + \" </trk>\\n\"\n + \"</gpx>\";\n fos.write(beg.getBytes());\n // write content string with coordinates as Bytes\n for (String content: contents) {\n String middle = \" <trkpt lat=\\\"\" + content.split(\" \")[1] + \"\\\" lon=\\\"\" + content.split(\" \")[2] + \"\\\">\\n\"\n + \" <ele>\" + content.split(\" \")[3] + \"</ele>\\n\"\n + \" <time>\" + content.split(\" \")[0] + \"</time>\\n \"\n + \" </trkpt>\\n\";\n fos.write(middle.getBytes());\n }\n fos.write(end.getBytes());\n // show where the file is saved as a toast text\n Toast.makeText(this, \"Saved to \" + getFilesDir() + \"/\" + FILE_NAME,\n Toast.LENGTH_LONG).show();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n if (fos != null) {\n try {\n fos.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }", "title": "" }, { "docid": "dfc001be55d3815a7d4f06253612b4eb", "score": "0.46415925", "text": "public void clicked(InputEvent event, float x, float y) {\n if (item.skinInfo instanceof ScaledSvg) {\n ScaledSvg svg = (ScaledSvg) item.skinInfo;\n FileHandle fileHandle = new FileHandle(\"projects/\" + game.screenMain.getcurrentProject() + \"/\" + svg.path);\n importDrawable(fileHandle, false);\n }\n\n }", "title": "" }, { "docid": "8a72f6614ccee3557ce63c856cc55a7d", "score": "0.46352184", "text": "void saveFile(String path);", "title": "" }, { "docid": "da55c6d062b7e15c95ba82a39b9660d2", "score": "0.46235073", "text": "public void menuExport(ExportAction ea);", "title": "" }, { "docid": "e06609d3da4a5e67f97256361c309f76", "score": "0.46199697", "text": "public void SaveEdges()\r\n\t\t{\r\n\t\t\tFileDialog dialog = new FileDialog(MainClass.mainFrame, \"Save Nodes\", FileDialog.SAVE);\r\n\t\t\tdialog.show();\r\n\t\t\tString filename = dialog.getFile();\r\n\t\t\tif( (filename != null) && (proprietaryEdgeInfo!=null))\r\n\t\t\t{\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tFileOutputStream fos = new FileOutputStream(filename);\r\n\t\t\t\t\tGZIPOutputStream gos = new GZIPOutputStream(fos);\r\n\t\t\t\t\tObjectOutputStream out = new ObjectOutputStream(gos);\r\n\t\t\t\t\tout.writeObject(proprietaryEdgeInfo);\r\n\t\t\t\t\tout.flush();\r\n\t\t\t\t\tout.close();\r\n\t\t\t\t}\r\n\t\t\t\tcatch(Exception e){e.printStackTrace();}\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "5eb91c352c0194643d38f84dcd802d96", "score": "0.4616258", "text": "private static ImageIcon createImageIcon(String path) {\n java.net.URL imgURL = GraphPanel.class.getResource(path);\n if (imgURL != null)\n return new ImageIcon(imgURL);\n else {\n throw new RuntimeException(\"Couldn't find file: \" + path);\n //log.error(\"Couldn't find file: \" + path);\n //return null;\n }\n }", "title": "" }, { "docid": "0a23ea102ba8802d7c7162620da9f955", "score": "0.46038237", "text": "@Override\n protected void export(File file, SketchDocument document) throws Exception {\n }", "title": "" }, { "docid": "3b65f4f85b76d363dcf760d7a0a9ea9b", "score": "0.4602412", "text": "@Test\n public void toStringSVGShapeOval() {\n assertEquals(\n \"<ellipse id=\\\"B\\\" cx=\\\"2\\\" cy=\\\"2\\\" rx=\\\"6\\\" ry=\\\"5\\\"\"\n + \" fill=\\\"rgb(0.0%,1.0%,0.0%)\\\" visibility=\\\"hidden\\\" >\\n\"\n + \" <set attributeName=\\\"visibility\\\" attributeType=\\\"CSS\\\" to=\\\"visible\\\"\"\n + \" begin=\\\"2000.0ms\\\" duration=\\\"8000.0ms\\\" fill=\\\"freeze\\\" />\\n\",\n oval.toStringSVG(2000, 10000));\n }", "title": "" }, { "docid": "564f998d0b6f2a5e00e22a68f964e2ab", "score": "0.45919785", "text": "private static void showFileMenu(Point point)\n {\n final JPopupMenu menu = new JPopupMenu();\n\n menu.add(new AbstractAction(\"Load Constraint Space\") {\n public void actionPerformed(ActionEvent e) {\n final int returnVal = fc.showOpenDialog(frame);\n if (returnVal == JFileChooser.APPROVE_OPTION)\n {\n File file = fc.getSelectedFile();\n loadGraph(file);\n }\n }\n });\n\n menu.add(new AbstractAction(\"Save Constraint Space\") {\n public void actionPerformed(ActionEvent e) {\n final int returnVal = fc.showSaveDialog(frame);\n if (returnVal == JFileChooser.APPROVE_OPTION)\n {\n File file = fc.getSelectedFile();\n saveGraph(file);\n }\n }\n });\n menu.show(graph, point.x, point.y);\n }", "title": "" }, { "docid": "af44d72c6b5788a5b44d80cad1b18dec", "score": "0.45901945", "text": "public static void transformSVGIntoPNG (InputStream inputStream, OutputStream outputStream) {\n\t\tPNGTranscoder t = new PNGTranscoder();\r\n\t\t\r\n\t\t// set the transcoding hints\r\n\t\tt.addTranscodingHint(PNGTranscoder.KEY_WIDTH, new Float(1000));\r\n\t\tt.addTranscodingHint(PNGTranscoder.KEY_ALLOWED_SCRIPT_TYPES, \"*\");\r\n\t\tt.addTranscodingHint(PNGTranscoder.KEY_CONSTRAIN_SCRIPT_ORIGIN, new Boolean(true));\r\n\t\tt.addTranscodingHint(PNGTranscoder.KEY_EXECUTE_ONLOAD, new Boolean(true));\r\n\t\t\r\n\t\t// create the transcoder input\r\n\t\tReader reader = new InputStreamReader(inputStream);\r\n\t\tTranscoderInput input = new TranscoderInput(reader);\r\n\t\t\r\n\t\t// create the transcoder output\r\n\t\tTranscoderOutput output = new TranscoderOutput(outputStream);\r\n\t\t\r\n\t\t// save the image\r\n\t\ttry {\r\n\t\t\tt.transcode(input, output);\r\n\t\t} catch (TranscoderException e) {\r\n\t\t\tlogger.error(\"Impossible to convert svg to png: \" + e.getCause(), e);\r\n\t\t\tthrow new SpagoBIEngineRuntimeException(\"Impossible to convert svg to png: \" + e.getCause(), e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "872e0f7b7c386cf08fc32cb108a15ce4", "score": "0.4589135", "text": "public void generateXml(ViewDelegate view, Model model) {\n try {\n JFileChooser chooser =\n new JFileChooser(Model.getSingleton().getOptionsParam().getUserDirectory());\n chooser.setFileFilter(\n new FileFilter() {\n\n @Override\n public boolean accept(File file) {\n if (file.isDirectory()) {\n return true;\n } else if (file.isFile()\n && file.getName().toLowerCase().endsWith(\".xml\")) {\n return true;\n }\n return false;\n }\n\n @Override\n public String getDescription() {\n return Constant.messages.getString(\"file.format.xml\");\n }\n });\n\n File file = null;\n int rc = chooser.showSaveDialog(View.getSingleton().getMainFrame());\n if (rc == JFileChooser.APPROVE_OPTION) {\n file = chooser.getSelectedFile();\n if (file != null) {\n Model.getSingleton()\n .getOptionsParam()\n .setUserDirectory(chooser.getCurrentDirectory());\n String fileNameLc = file.getAbsolutePath().toLowerCase();\n if (!fileNameLc.endsWith(\".xml\")) {\n file = new File(file.getAbsolutePath() + \".xml\");\n }\n }\n\n if (!file.getParentFile().canWrite()) {\n view.showMessageDialog(\n Constant.messages.getString(\n \"report.write.error\", new Object[] {file.getAbsolutePath()}));\n return;\n }\n\n File report = generate(file.getAbsolutePath(), model);\n if (report == null) {\n view.showMessageDialog(\n Constant.messages.getString(\n \"report.unknown.error\", new Object[] {file.getAbsolutePath()}));\n return;\n }\n\n try {\n if (Desktop.isDesktopSupported()) {\n Desktop.getDesktop().open(report);\n }\n } catch (Exception e) {\n logger.error(e.getMessage(), e);\n view.showMessageDialog(\n Constant.messages.getString(\n \"report.complete.warning\",\n new Object[] {report.getAbsolutePath()}));\n }\n }\n } catch (Exception e) {\n logger.error(e.getMessage(), e);\n view.showWarningDialog(Constant.messages.getString(\"report.unexpected.warning\"));\n }\n }", "title": "" }, { "docid": "0b294ab302b6fbac57fcd47fce94d94f", "score": "0.4584642", "text": "private void importDrawable(final FileHandle selectedFile, final boolean copy) {\n String selectedFileName = selectedFile.name().substring(0, selectedFile.name().lastIndexOf(\".\"));\n final TextField nameTextField = new TextField(selectedFileName, game.skin);\n Dialog dlg0 = new Dialog(\"Set resource name\", game.skin) {\n\n @Override\n protected void result(Object object) {\n if ((Boolean) object == false) {\n return;\n }\n\n final String finalResourceName = nameTextField.getText();\n final TextField scaleValueTextField = new TextField(String.valueOf(1.0f), game.skin);\n Dialog dlg = new Dialog(\"Set Scale Value\", game.skin) {\n\n @Override\n protected void result(Object object) {\n if ((Boolean) object == false) {\n return;\n }\n\n float scalfactor = 0;\n String text = scaleValueTextField.getText();\n if (text.isEmpty() == false) {\n scalfactor = Float.valueOf(text);\n }\n String originalName = null;\n FileHandle orig = selectedFile;\n originalName = orig.name();\n if (copy) {\n // Copy the file\n FileHandle dest = new FileHandle(\"projects/\" + game.screenMain.getcurrentProject() + \"/svg/\" + originalName);\n orig.copyTo(dest);\n }\n\n // write scaled svg section\n ScaledSvg scaledSvg = new ScaledSvg();\n scaledSvg.path = \"svg/\" + originalName;\n scaledSvg.scale = scalfactor;\n scaledSvg.setRegisterName(finalResourceName);\n game.skinProject.add(finalResourceName, scaledSvg);\n\n FileHandle projectFolder = new FileHandle(\"projects/\" + game.screenMain.getcurrentProject());\n FileHandle projectFile = projectFolder.child(\"skin.json\");\n game.skinProject.save(projectFile);\n\n game.screenMain.refreshResources();\n refresh();\n game.showMsgDlg(\"File successfully added to your project.\", getStage());\n }\n };\n\n dlg.pad(20);\n dlg.getContentTable().add(\"Float Value:\");\n dlg.getContentTable().add(scaleValueTextField).pad(20);\n dlg.button(\"OK\", true);\n dlg.button(\"Cancel\", false);\n dlg.key(Input.Keys.ENTER, true);\n dlg.key(Input.Keys.ESCAPE, false);\n dlg.show(getStage());\n getStage().setKeyboardFocus(scaleValueTextField);\n }\n };\n\n dlg0.pad(20);\n dlg0.getContentTable().add(\"Resource name:\");\n dlg0.getContentTable().add(nameTextField).pad(20);\n dlg0.button(\"OK\", true);\n dlg0.button(\"Cancel\", false);\n dlg0.key(Input.Keys.ENTER, true);\n dlg0.key(Input.Keys.ESCAPE, false);\n dlg0.show(getStage());\n getStage().setKeyboardFocus(nameTextField);\n }", "title": "" }, { "docid": "24ab6cbb68f315deca320a6cd7a7992b", "score": "0.4575118", "text": "@Override\n public void actionPerformed(final ActionEvent action) {\n FileDialog chooser = new FileDialog(frame, \"Select path and name to save file\", FileDialog.SAVE);\n\n chooser.setVisible(true);\n if (chooser.getFile() != null) {\n try {\n // Verify file name: name should include file name and extension.\n String fileName;\n String fileFormat;\n\n if (chooser.getFile().lastIndexOf('.') >= 0) {\n fileName =\n chooser.getFile().substring(chooser.getFile().lastIndexOf(File.separatorChar) + 1,\n chooser.getFile().lastIndexOf('.'));\n fileFormat = chooser.getFile().substring(chooser.getFile().lastIndexOf('.') + 1).toLowerCase();\n } else {\n fileName = chooser.getFile();\n // File format is not specified -- PNG is default.\n fileFormat = \"png\";\n System.out.println(\"You not specified file format. By default, will be use PNG format.\");\n }\n\n // Set new name title of window according to file name to saving image.\n frame.setTitle(fileName);\n\n // Write image to file.\n final String fullFilePath = chooser.getDirectory() + File.separator + fileName + \".\" + fileFormat;\n ImageRW.write(image, fullFilePath);\n } catch (Exception e) {\n e.printStackTrace();\n System.err.println(\"Can not save image: \" + e.getMessage());\n }\n }\n }", "title": "" }, { "docid": "72dbcf10ebc19286162c58e75402d936", "score": "0.45642367", "text": "public String writeInfoToFile() {\n return \"Circle \" + x + \" \" + y + \" \" + r + \" \" + fillColor + \" \" + lineColor +\n \" \" + lineThickness+ \" \" + dashType[0] + \"\\n\";\n\n }", "title": "" }, { "docid": "bd9df3db07300d5935f3f2b5d58254e6", "score": "0.45632768", "text": "public void setExportPath(final String value)\n\t{\n\t\t_exportPath = getPersistenceContext().setValue(EXPORTPATH, value);\n\t}", "title": "" }, { "docid": "4914d95c6e480547ee15d1bcb88d5087", "score": "0.45632482", "text": "private void savePicture(){\n // get prompts.xml view\n LayoutInflater li = LayoutInflater.from(this);\n // Found this great article explaining why \"null\" is acceptable here\n // https://possiblemobile.com/2013/05/layout-inflation-as-intended/\n View promptsView = li.inflate(R.layout.file_name_prompt, null);\n final EditText userInput = (EditText) promptsView\n .findViewById(R.id.editTextDialogUserInput);\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(this);\n\n // set prompts.xml to alertdialog builder\n alertDialogBuilder.setView(promptsView);\n\n // set dialog message\n alertDialogBuilder\n .setCancelable(false)\n .setPositiveButton(\"OK\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog,int id) {\n // get user input and give it to save() method of CustomView class\n String fileName = userInput.getText().toString()+\".txt\";\n fileName = fileName.trim();\n //touchArea.save(fileName.replaceAll(\"^\\\\s+\", \"\")+\".txt\");\n touchArea.save(fileName);\n }\n })\n .setNegativeButton(\"Cancel\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog,int id) {\n dialog.cancel();\n }\n });\n\n // create alert dialog\n AlertDialog alertDialog = alertDialogBuilder.create();\n\n // show it\n alertDialog.show();\n }", "title": "" }, { "docid": "bded2d63ca976683d8b9222e7d1154ad", "score": "0.45617527", "text": "private void doExport(List<String> params) throws XmldbException {\r\n if (params.size() < 1) {\r\n System.err.println(\"ERROR: Missing resource URI\");\r\n System.exit(1);\r\n }\r\n if (params.size() < 2) {\r\n System.err.println(\"ERROR: Missing path\");\r\n System.exit(1);\r\n }\r\n String uri = params.get(0);\r\n String path = params.get(1);\r\n connector.exportResource(uri, new File(path));\r\n }", "title": "" }, { "docid": "45feb27d5c0269e04abff48b45664e50", "score": "0.4557054", "text": "public ExportarView() {\n initComponents();\n\n try {\n InputStream imgStream = getClass()\n .getResourceAsStream(\"/gerador/de/provas/aleatorias/view/imgs/Elegant_circle-icons-78.png\");\n setIconImage(ImageIO.read(imgStream));\n } catch (IOException ex) {\n Logger.getLogger(MainView.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n }", "title": "" }, { "docid": "7a155225c5b1ea78bbf29ba7427f8506", "score": "0.45440137", "text": "private void setPath() {\n String pasta;\n switch (naipe) {\n case Naipes.COPAS:\n pasta = \"copas\";\n break;\n case Naipes.ESPADAS:\n pasta = \"espadas\";\n break;\n case Naipes.OUROS:\n pasta = \"ouros\";\n break;\n case Naipes.PAUS:\n pasta = \"paus\";\n break;\n default:\n pasta = \"\";\n break;\n }\n\n path = \"cartas/\"+pasta+\"/\"+valor+\".png\";\n }", "title": "" }, { "docid": "32567277e51eb3ab23eab601ee92e4d5", "score": "0.45438153", "text": "private View createImageview() {\n SVGImageView imageview = null;\n\n //get FIle from external storage by uri\n File imagefile = new File(context.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS), uri);\n if (imagefile.exists()) {\n //if image exist initialize SVGImageview\n imageview = new SVGImageView(context);\n\n //if image type is svg set image uri\n if (MimeTypeMap.getFileExtensionFromUrl(Uri.fromFile(imagefile).toString()).equals(\"svg\")) {\n imageview.setImageURI(Uri.fromFile(imagefile));\n } else {\n //if image is other than uri (.gif ,.jpg,.png) load image into SVGImageview with help of Glide\n //Glide is mainly needed for gif images\n\n Glide.with(context).load(imagefile).into(imageview);\n }\n\n\n\n //rotate image\n if (angle != null)\n imageview.setRotation(angle);\n\n // System.out.println(\"imageview initialised\");\n } else {\n /*try {\n imagefile.createNewFile();\n } catch (IOException e) {\n e.printStackTrace();\n }*/\n\n //if imageis not available in storage call downloadResource() of ResourceMissing class and pass id of component\n ResourceMissing.downloadResource(id);\n }\n\n return imageview;\n }", "title": "" }, { "docid": "2920fbe423e9d11f37cdeec9d99126fb", "score": "0.45365542", "text": "public void onClickSave(MenuItem mi) {\n // Setup the EditText view for our save dialog\n final EditText input = new EditText(this);\n input.setSingleLine();\n \n AlertDialog.Builder alert = new AlertDialog.Builder(this);\n alert.setTitle(\"Save Image\");\n alert.setMessage(\"Name\");\n \n alert.setView(input);\n alert.setPositiveButton(\"Save\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n final String fileName = input.getText().toString();\n Log.d(PaintPaint.NAME,\"saving: \"+fileName);\n mCanvas.getSurfaceView().queueEvent(new Runnable() {public void run() {\n mCanvas.saveCanvas(mSavePath, fileName);\n }});\n }\n });\n \n alert.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n // Canceled\n }\n });\n \n alert.show();\n \n }", "title": "" }, { "docid": "0b342521ceb2e7a427a3d5d6cd5e7404", "score": "0.45321193", "text": "public static native boolean pencil4path(String in_path, String out_path, int out_width, int out_height,\n double amount, double length, double details, int fade, boolean interruptable, int instanceID);", "title": "" }, { "docid": "5b9c86c2191a796a8ce209f23cccf1c7", "score": "0.45317745", "text": "public void save() {\r\n \r\n String filename;\r\n \r\n filename = JOptionPane.showInputDialog(\"Dateiname: \");\r\n filename = filename + \".png\";\r\n \r\n File file = new File(filename);\r\n \r\n try {\r\n ImageIO.write(image, \"PNG\", file);\r\n } catch (IOException ex) {\r\n System.out.println(\"Saving doesn't work.\");\r\n }\r\n }", "title": "" }, { "docid": "813f3e61998ccc6d0b6d58eaac589850", "score": "0.45301035", "text": "private void displayShapefile() throws Exception {\n sourceFile = JFileDataStoreChooser.showOpenFile(\"shp\", null);\n if (sourceFile == null) {\n return;\n }\n FileDataStore store = FileDataStoreFinder.getDataStore(sourceFile);\n featureSource = store.getFeatureSource();\n\n // Create a map context and add our shapefile to it\n map = new MapContent();\n Style style = SLD.createSimpleStyle(featureSource.getSchema());\n Layer layer = new FeatureLayer(featureSource, style);\n map.layers().add(layer);\n\n // Create a JMapFrame with custom toolbar buttons\n JMapFrame mapFrame = new JMapFrame(map);\n mapFrame.enableToolBar(true);\n mapFrame.enableStatusBar(true);\n\n JToolBar toolbar = mapFrame.getToolBar();\n toolbar.addSeparator();\n toolbar.add(new JButton(new ValidateGeometryAction()));\n toolbar.add(new JButton(new ExportShapefileAction()));\n\n // Display the map frame. When it is closed the application will exit\n mapFrame.setSize(800, 600);\n mapFrame.setVisible(true);\n }", "title": "" }, { "docid": "7a8140bbac852ca6c5d6f9c7eeaa5b57", "score": "0.45205855", "text": "public void write(String path) {\n\t\tIXMLizer xml = new XMLizer();\n\t\txml.transformToXml(search.getSheet(),path);\n\t}", "title": "" }, { "docid": "e39be546403cea1213774b90f67fe396", "score": "0.45154944", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n System.out.println(e.getActionCommand());\n JFileChooser jfc = new JFileChooser(\".\");\n\n // int returnValue = jfc.showOpenDialog(null);\n int returnValue = jfc.showSaveDialog(null);\n\n if (returnValue == JFileChooser.APPROVE_OPTION) {\n File selectedFile = jfc.getSelectedFile();\n System.out.println(selectedFile.getAbsolutePath());\n try {\n scene.saveToFile(selectedFile.getAbsolutePath());\n } catch (IOException ex) {\n throw new RuntimeException(ex);\n }\n }\n }", "title": "" }, { "docid": "315f1743c70b0208f7229ae418b11631", "score": "0.4513454", "text": "@Override\n\tpublic void performAction() {\n\t\tJFileChooser fileChooser = new JFileChooser();\n\t\tfileChooser.setDialogTitle(\"Specify a file to save\");\n\t\tint userSelection = fileChooser.showSaveDialog(panel);\n\t\t\n\t\tString filePath;\n\t\tif (userSelection == JFileChooser.APPROVE_OPTION) {\n\t\t File fileToSave = fileChooser.getSelectedFile();\n\t\t filePath = fileToSave.getAbsolutePath();\n\t\t} else {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tFileSaveAsGlobalAction associatedAction \n\t\t= (FileSaveAsGlobalAction) ActionName.FILE_SAVE_AS_GLOBAL_ACTION\n\t\t\t\t.getAssociatedAction();\n\t\tassociatedAction.setFilePath(filePath);\n\t\tGlobalPaintActionExecuter.getSharedInstance().execute(associatedAction, panel);\n\t}", "title": "" }, { "docid": "a67a3e557940ba94e5f73efc26255e31", "score": "0.45056057", "text": "@Test\n public void toStringSVGCloseShapeRect() {\n assertEquals(\"</rect>\\n\", rectangle.toStringSVGClose());\n }", "title": "" }, { "docid": "4b1e8aa80aa979541729be9c21daa6a1", "score": "0.44948572", "text": "@FXML\n protected void export(ActionEvent event) throws IOException{\n InvoicePDF invoicePDF = new InvoicePDF();\n invoicePDF.invoiceID = this.invoiceIDTextField.getText();\n invoicePDF.projectName = this.projectNameTextField.getText();\n invoicePDF.clientName = this.clientNameComboBox.getSelectionModel().getSelectedItem().toString();\n invoicePDF.invoiceType = \"Invoice\";\n invoicePDF.projectType = this.projectTypeComboBox.getSelectionModel().getSelectedItem().toString();\n invoicePDF.invoiceTableView = this.invoiceTableView;\n invoicePDF.createPDF();\n }", "title": "" }, { "docid": "26312178c0b5df4dd4fe7dabd258b0e0", "score": "0.44912678", "text": "private void saveAsActionListener(ActionEvent e) {\n try {\n checkIfImageLoaded();\n } catch (IllegalStateException err) {\n return;\n }\n int choseFile = fileChooser.showOpenDialog(this);\n if (choseFile == JFileChooser.APPROVE_OPTION) {\n String rootDir = fileChooser.getSelectedFile().getAbsolutePath();\n String name = JOptionPane.showInputDialog(\"Select a name\");\n replaceOrAddToCommandArgs(\"filename\", rootDir + \"/\" + name);\n }\n }", "title": "" }, { "docid": "a27f51a1e33167c936aeec8fe27a8bd8", "score": "0.44866204", "text": "Path createPath();", "title": "" }, { "docid": "634c2341848dfdd97a8a3dc04da94125", "score": "0.44794798", "text": "public void setPath(String path) {\n\n this.path = path;\n if (path != null) {\n file = new File(path);\n if (!file.isAbsolute()) file = null;\n }\n if (file == null) {\n throw new RuntimeException(\"Something went wrong creating an output file for the Ilda renderer.\");\n }\n\n }", "title": "" }, { "docid": "73704e92ecb60cdb72494cdad5075506", "score": "0.44695905", "text": "private void showHeader(IAnimation animation) {\n //the overall svg width is w and height is h.\n //By default anything drawn between (0,0) and (width,height) will be visible\n int w = animation.getBounds()[2] + animation.getBounds()[0];\n int h = animation.getBounds()[3] + animation.getBounds()[1];\n int vb1 = animation.getBounds()[0];\n int vb2 = animation.getBounds()[1];\n int vb3 = animation.getBounds()[2];\n int vb4 = animation.getBounds()[3];\n out.append(\"<svg width=\\\"\").append(String.valueOf(w)).append(\"\\\" height=\\\"\")\n .append(String.valueOf(h)).append(\"\\\" version=\\\"1.1\\\" viewBox=\\\"\")\n .append(String.valueOf(vb1)).append(\", \").append(String.valueOf(vb2)).append(\", \")\n .append(String.valueOf(vb3)).append(\", \").append(String.valueOf(vb4)).append(\"\\\" \")\n .append(\"xmlns=\\\"http://www.w3.org/2000/svg\\\">\");\n out.append(\"\\n\");\n }", "title": "" }, { "docid": "a9f1a6624bc9725389c39231b71925a9", "score": "0.44498926", "text": "private void save() {\r\n System.out.println(\"Enter the filename\");\r\n var filename = scanner.nextLine();\r\n try {\r\n var export = maze.export();\r\n Files.write(Paths.get(filename), export.getBytes());\r\n System.out.println(\"The maze is saved\");\r\n } catch (IOException e) {\r\n System.out.println(\"Cannot write to file \" + filename);\r\n }\r\n }", "title": "" }, { "docid": "2cff632b7257f09e8542bea80e033654", "score": "0.44341826", "text": "private void exportAsActionListener(ActionEvent e) {\n try {\n checkIfImageLoaded();\n } catch (IllegalStateException err) {\n return;\n }\n int choseFile = fileChooser.showOpenDialog(this);\n if (choseFile == JFileChooser.APPROVE_OPTION) {\n String rootDir = fileChooser.getSelectedFile().getAbsolutePath();\n String name = JOptionPane.showInputDialog(\"Name your file\");\n Object blendType = JOptionPane.showInputDialog(\n this, \"Choose Blending Type\", \"Blend\", JOptionPane.PLAIN_MESSAGE, null, BLEND_TYPES, BLEND_TYPES[0]);\n replaceOrAddToCommandArgs(\"filename\", rootDir + \"/\" + name);\n replaceOrAddToCommandArgs(\"blend\", blendType.toString());\n } else {\n replaceOrAddToCommandArgs(\"cancelled\", \"true\");\n }\n }", "title": "" }, { "docid": "96f21e743160af31bdc7ad09ad8759ef", "score": "0.443233", "text": "public String constructXMLReportArtifactPath() {\n if (isRepportCustomPath()) {\n return PluginUtils.removeWorkspaceOrRelativePoint(xmlReport);\n }\n return \"/neoload-report/report.xml\";\n }", "title": "" }, { "docid": "2b335b2004fd7e8a8a3c3bbf8c8611d8", "score": "0.44322026", "text": "public void saveToFile(String path)\n\t{\n\t}", "title": "" }, { "docid": "9d82e18c9191046924d6280ce219f3ae", "score": "0.4432179", "text": "@Descriptor(\"Exports the specified observation as an XML file to the exports folder.\")\n public void exportObs(final CommandSession commandSession,\n @Descriptor(\"The observation to be exported.\")\n final Observation observation)\n {\n if (observation == null)\n {\n commandSession.getConsole().println(\"Please specify an observation to be exported.\");\n return;\n }\n \n if (convertAndWrite(observation))\n {\n commandSession.getConsole().format(EXPORT_SUCCESSFUL, observation.getUuid());\n }\n }", "title": "" }, { "docid": "3f71831be4b0c82e3c3cb18bada1061f", "score": "0.44258317", "text": "@FXML \n private void saveFileAs(ActionEvent event) throws FileNotFoundException, IOException, InvalidFormatException{\n saveAs();\n }", "title": "" }, { "docid": "193e753f9969ec716d90e154ef8490ec", "score": "0.4418451", "text": "void closePath();", "title": "" }, { "docid": "a8087ee508591e39108c5d14e4956b95", "score": "0.44181368", "text": "private void openSaveAs(){\r\n // open save dialog & ask a file\r\n if (fileChooser.showSaveDialog(window) == JFileChooser.APPROVE_OPTION) {\r\n File file = fileChooser.getSelectedFile();\r\n // try to save the file\r\n if(window.getMarkdownFile().save(file)){\r\n // if success, we send a signal to refresh view\r\n window.input.updateObserver();\r\n System.out.println(\"File save with success.\");\r\n }else{\r\n // else we display a warning\r\n JOptionPane.showMessageDialog(\r\n window, \r\n \"Your file can't be saved. Check that filename not contains any special character or opened in another application\", \r\n \"Error\", JOptionPane.ERROR_MESSAGE\r\n );\r\n }\r\n } else { // if user close the file dialog\r\n System.out.println(\"Open command cancelled by user.\");\r\n }\r\n }", "title": "" }, { "docid": "1965fc010d9add25660921109033e3ba", "score": "0.4414786", "text": "@Override\n\tpublic String generatePath() {\n\t\treturn this.getClass().getSimpleName() + \"/\" + (String.valueOf(getNombreEntree()))+Integer.toString(direction)+\".png\";\n\t}", "title": "" }, { "docid": "99fb9be8adc72bc7c7745acfe4c89d8a", "score": "0.44071165", "text": "private void dotCreator(ParseTreeNode node){\r\n String output = dotFormatter(node);\r\n StringBuilder buildFormat = new StringBuilder();\r\n buildFormat.append(\"digraph G { \\n\");\r\n buildFormat.append(output);\r\n buildFormat.append(\"}\");\r\n try {\r\n File file = new File(\"Tree_Visualiser.gv\");\r\n FileWriter writer = new FileWriter(file);\r\n writer.write(String.valueOf(buildFormat));\r\n writer.close();\r\n }catch (IOException e){\r\n System.out.println(\"An error occurred whilst saving the .dot file.\");\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "472070be96da111da53ab3979d201f1b", "score": "0.4400753", "text": "@Test\n public void toStringSVGCloseShapeOval() {\n assertEquals(\"</ellipse>\\n\",\n oval.toStringSVGClose());\n }", "title": "" }, { "docid": "cb322989015c8f564cf48462f9327914", "score": "0.43944234", "text": "public void saveToTGF(String fileName) {\n \n try {\n \n File f = new File(fileName);\n PrintWriter write = new PrintWriter(f);\n \n //add vertices\n for(int i=0; i<vertices.size(); i++) {\n write.println(\"\" + (i+1) + \" \" + vertices.get(i));\n }\n \n write.println(\"#\");\n \n //add edges\n for(int i=0; i<arcs.size(); i++) {\n for(int j=0; j<arcs.get(i).size(); j++) {\n write.println(\"\" + (i+1) + \" \" + (j+1));\n }\n }\n \n write.close();\n \n } catch (IOException e) {\n System.out.println(e);\n }\n }", "title": "" }, { "docid": "d7f5eb7e8d271181603d6aa4faac4dbe", "score": "0.4392594", "text": "public void saveToFile(String fname) {\n\t\tthis.pv.setDrawingCacheEnabled(true);\n\t\tthis.pv.invalidate();\n\t\tString path = Environment.getExternalStorageDirectory().toString();\n\t\tOutputStream fOut = null;\n\t\tfinal File file = new File(path, \"drawing/\" + fname + \".jpg\");\n\t\tfile.getParentFile().mkdirs();\n\n\t\ttry {\n\t\t\tfile.createNewFile();\n\t\t} catch (Exception e) {\n\t\t\tLog.e(\"draw_save\", e.toString());\n\t\t}\n\n\t\ttry {\n\t\t\tfOut = new FileOutputStream(file);\n\t\t} catch (Exception e) {\n\t\t\tLog.e(\"draw_save1\", e.toString());\n\t\t}\n\n\t\tif (this.pv.getDrawingCache() == null) {\n\t\t\tLog.e(\"lal\", \"tis null\");\n\t\t}\n\n\t\tthis.pv.getDrawingCache()\n\t\t\t\t.compress(Bitmap.CompressFormat.JPEG, 80, fOut);\n\n\t\ttry {\n\t\t\tfOut.flush();\n\t\t\tfOut.close();\n\t\t} catch (IOException e) {\n\t\t\tLog.e(\"draw_save1\", e.toString());\n\t\t}\n\t\tToast.makeText(DrawActivity.this, \"Saved as \\\"\"+fname+\"\\\"\", Toast.LENGTH_SHORT).show();\n\t\t\n\t}", "title": "" }, { "docid": "1602354def696f4de40520a06796c882", "score": "0.4392457", "text": "private void botonXmlMouseClicked(MouseEvent e) {\n\t\tCreadorXML miXml = new CreadorXML();\n\t\ttry {\n\t\t\ttry {\n\t\t\t\tValores.ruta = miXml.crearXML(jerarquia);\n\t\t\t\tValores.mensaje = \"El archivo XML se creó existosamente en:\";\n\t\t\t} catch (IOException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t} catch (ParserConfigurationException\n\t\t\t\t| TransformerException e1) {\n\t\t\tValores.ruta = \" \";\n\t\t\tValores.mensaje = \"No se pudo crear el archivo\";\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tMensajeArchivo mensaje = new MensajeArchivo();\n\t\tmensaje.setVisible(true);\n\t}", "title": "" }, { "docid": "386d8b634d8296f9e370c866893ff182", "score": "0.4389493", "text": "private void setupSaveAsButton() {\n JButton saveAs = createButtonWithListener(\"Save As\", \"SAVEAS\", this::saveAsActionListener);\n headerPanel.add(saveAs);\n }", "title": "" }, { "docid": "c714ef091eb598c6becd12cec4af46ec", "score": "0.4387092", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n String newFileName;\n //This will create a new pop-up that will allow the user to specify a file name\n chooseFile = null;\n chooseFile = new JFileChooser();\n\n //The filechooser doesn't allow you to leave it blank and save, but I put this in just in case\n //chooseFile.showSaveDialog(null);\n int returnVal = chooseFile.showSaveDialog(null);\n if(returnVal == JFileChooser.CANCEL_OPTION){}\n else{\n if(chooseFile.getSelectedFile().toString().equals(\"\")){\n newFileName = \"DiscourseAnalysisTempFile.xml\";\n }\n else\n //This will now check to see if the file name the user chose contains .xml tag, if not then it will add it\n newFileName = chooseFile.getSelectedFile().toString();\n if(!newFileName.contains(\".xml\"))\n newFileName += \".xml\";\n //Calls the save class passing it the new filepath and the tree as it is.\n XMLConverter xml = new XMLConverter(newFileName, tree);\n }\n }", "title": "" }, { "docid": "a405aa24cbff59bf68ad5a83b46cb825", "score": "0.43839175", "text": "public static void export(Path exportPath, DrawingModel model) throws Exception {\n\t\tGeometricalObjectBBCalculator bbcalc = new GeometricalObjectBBCalculator();\n\t\tfor(int i = 0; i < model.getSize(); i++) {\n\t\t\tmodel.getObject(i).accept(bbcalc);\n\t\t}\n\t\t\n\t\tRectangle boundingBox = bbcalc.getBoundingBox();\n\t\tBufferedImage image = new BufferedImage(boundingBox.width, boundingBox.height, BufferedImage.TYPE_3BYTE_BGR);\n\t\tGraphics2D g = image.createGraphics();\n\t\tg.translate(-boundingBox.x, -boundingBox.y);\n\t\t\n\t\tg.setColor(Color.WHITE);\n\t\tg.fillRect(boundingBox.x, boundingBox.y, boundingBox.width, boundingBox.height);\n\t\t\n\t\tGeometricalObjectPainter painter = new GeometricalObjectPainter(g);\n\t\tfor(int i = 0; i < model.getSize(); i++) {\n\t\t\tmodel.getObject(i).accept(painter);\n\t\t}\n\t\t\n\t\tg.dispose();\n\t\tFile file = exportPath.toFile();\n\t\tString fileName = file.getName();\n\t\ttry {\n\t\t\tImageIO.write(image, fileName.substring(fileName.lastIndexOf(\".\") + 1), file);\n\t\t} catch (IOException e) {\n\t\t\tthrow new Exception(\"The image was not exported because of an IO error!\");\n\t\t}\n\t}", "title": "" }, { "docid": "f5edeb71498ba118b757753309484e2d", "score": "0.43492463", "text": "String getOutputFilePathURI();", "title": "" }, { "docid": "c871098186db42288165aa9cfc75fc8d", "score": "0.43443373", "text": "@Test\n public void toStringSVGCloseShapeCircle() {\n assertEquals(\"</circle>\\n\", circle.toStringSVGClose());\n }", "title": "" }, { "docid": "7faa4654286cc829bd745432aa2c5f62", "score": "0.43419042", "text": "public void menuSaveToFile();", "title": "" }, { "docid": "54d8e05f83efafd59a318c3ce5d2e991", "score": "0.434169", "text": "public static void generateImg(String fileName, String format) {\n try {\n String cmd = \"bin\\\\dot.exe\" + \" -T\" + format + \" \" + fileName + \".txt \"\n + \"-o \" + fileName + \".\" + format;\n Runtime.getRuntime().exec(cmd);\n } catch (IOException ioe) {\n System.out.println(ioe);\n }\n }", "title": "" }, { "docid": "73388aee34e1a22c4ac19e30de7528b2", "score": "0.4332531", "text": "public void actionPerformed(ActionEvent e) {\n JFileChooser fc = new JFileChooser();//window that lets you choose the file\n fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);\n fc.showSaveDialog(null);\n File file = fc.getSelectedFile();\n System.out.println(file.getPath());\n try {\n File fileax = new File(file.getPath() + \"\\\\axial.png\");\n File filesag = new File(file.getPath() + \"\\\\sagittal.png\");\n File filecor = new File(file.getPath() + \"\\\\coronal.png\");\n System.out.println(fileax.getPath());\n if(ax.isSelected()) ImageIO.write(axialImage[currentY], \"png\", fileax);//tick boxes\n if(sag.isSelected()) ImageIO.write(sagittalImage[currentZ], \"png\", filesag);\n if(cor.isSelected()) ImageIO.write(coronalImage[currentX], \"png\", filecor);\n } catch(IOException ex) { ex.printStackTrace(); }\n }", "title": "" }, { "docid": "0e1b0b153b236e85c01b6593920cb151", "score": "0.4332194", "text": "public void onSave() {\n\t\tview.finishDrawing();\n\t\tFile file = this.getSaveFileName(extension, fileDescription);\n\t\tif (file == null)\n\t\t\treturn;\n\t\ttry {\n\t\t\tif (file.exists())\n\t\t\t\tfile.delete();\n\n\t\t\tfile.createNewFile();\n\n\t\t\tFileWriter writer = new FileWriter(file);\n\t\t\tserializer.write(canvas, writer);\n\t\t\twriter.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tJOptionPane.showMessageDialog(this, e.getMessage(), \"Exception\",\n\t\t\t\t\tJOptionPane.ERROR_MESSAGE, new ImageIcon(getClass()\n\t\t\t\t\t\t\t.getResource(\"resources/Error.gif\")));\n\t\t}\n\t}", "title": "" }, { "docid": "184fde0c277fb903de2c6a8a2ba7362a", "score": "0.4332128", "text": "public synchronized void clickOnExporttoExcelIcon() {\n\t\ttry {\n\t\t\tWebActionUtil.waitForElement(icnExporttoexcel, \"Export to Excel icon\");\n\t\t\tWebActionUtil.clickOnElement(icnExporttoexcel, \"Export to Excel icon\",\n\t\t\t\t\t\"Unable to click on Export to Excel icon\");\n\t\t} catch (Exception e) {\n\t\t\tWebActionUtil.error(e.getMessage());\n\t\t\tWebActionUtil.fail(\"Unable to click on Export to Excel icon\");\n\t\t\tAssert.fail(\"Unable to click on Export to Excel icon\");\n\t\t}\n\t}", "title": "" } ]
7f421e5f0732bba074cdb87da4b8a562
Unlock levels in order to match the profiles data
[ { "docid": "98083ee07605c713757d8dde8b094666", "score": "0.721267", "text": "public void updateLevels(Profile p){\n for(int i = 0; i < p.getWordLevelsCompleted().size(); i++){\n if(p.getWordLevelsCompleted().get(i).getLevelID() == wordLevels.get(i).getLevelID()){\n wordLevels.get(i).setUnlocked(true);\n wordLevels.get(i+1).setUnlocked(true);\n\n }\n }\n for(int i = 0; i < p.getAnimalLevelsCompleted().size(); i++){\n if(p.getAnimalLevelsCompleted().get(i).getLevelID() == animalLevels.get(i).getLevelID()){\n animalLevels.get(i).setUnlocked(true);\n animalLevels.get(i+1).setUnlocked(true);\n }\n }\n for(int i = 0; i < p.getPeopleLevelsCompleted().size(); i++){\n if(p.getPeopleLevelsCompleted().get(i).getLevelID() == peopleLevels.get(i).getLevelID()){\n peopleLevels.get(i).setUnlocked(true);\n peopleLevels.get(i+1).setUnlocked(true);\n }\n }\n }", "title": "" } ]
[ { "docid": "b40cfce1cc8ef991f6702dbeb0ee2f3d", "score": "0.6479139", "text": "void unsetUnlock();", "title": "" }, { "docid": "e518bc17705d5230b7cb80e1e71a5b05", "score": "0.6119954", "text": "public static void modifyUnlock() {\n MODIFY_LOCK.unlock();\n }", "title": "" }, { "docid": "cbabc14ad337af393cc055d7c93face2", "score": "0.6114025", "text": "protected void unlock() {\n assertMutable();\n configurationProtectionMode = ProtectionMode.Unlocked;\n }", "title": "" }, { "docid": "9e64afd21e659f0ecd845d82a46d307d", "score": "0.5981928", "text": "public void unlockTech(){\n unlocked = true;\n }", "title": "" }, { "docid": "652d9dfb1e0124a0786204530548a9a4", "score": "0.5945278", "text": "public static void stopUnlock() {\n\t\tunlockSound.stop();\n\t}", "title": "" }, { "docid": "d5975e486bac2c74f69583434b7e4a21", "score": "0.58874774", "text": "private void clearUnlock() {\n unlock_ = emptyBooleanList();\n }", "title": "" }, { "docid": "02e16934c1ed39565482ad48be14782c", "score": "0.5861346", "text": "public void unlock(){\n\t\tfor(int i=0; i<5; i++){\n\t\t\tnopat[i].unlock();\n\t\t}\n\t}", "title": "" }, { "docid": "c7d6e85f9a4af27eb03836370bf80c80", "score": "0.58311987", "text": "public void setSavedLevelData(int unlocked, boolean levelUnlocked, boolean levelFinished){\n\t\tunlockedKeys = (unlockedKeys >= unlocked)?unlockedKeys:unlocked;\n\t\tisUnlocked = isUnlocked || levelUnlocked;\n\t\tisFinished = isFinished || levelFinished;\n\t}", "title": "" }, { "docid": "6ad7ac62b6d28e43127defbfa51b3b67", "score": "0.5824961", "text": "public void unlock()\n {\n \n }", "title": "" }, { "docid": "5734e505ef3edf0708ddbf29f6df61b6", "score": "0.5816664", "text": "void unlock() {\n callbackLock.readLock().unlock();\n registrationLock.readLock().unlock();\n }", "title": "" }, { "docid": "27f9a7b53ed50cda7337549019a69caa", "score": "0.5750301", "text": "public void setSavedLevelDataFromSave(int unlocked, boolean levelUnlocked, boolean levelFinished){\n\t\tunlockedKeys = unlocked;\n\t\tisUnlocked = levelUnlocked;\n\t\tisFinished = levelFinished;\n\t}", "title": "" }, { "docid": "7cf1bcdc72db102bbcd389874589de13", "score": "0.5738071", "text": "@Override\r\n\tpublic void unlock() {\n\t\t\r\n\t}", "title": "" }, { "docid": "719c17ddd9bd91b81f9046eb6121d9c0", "score": "0.5715534", "text": "void unlockUserDeviceLists();", "title": "" }, { "docid": "441a2e811c3218c59ad8fba76da62225", "score": "0.5712806", "text": "public void unlock() {\n\r\n\t\tlockLogique = false;\r\n\t\t//Donnees.printMyData();\r\n\t}", "title": "" }, { "docid": "5699a612fc31878ea693d354318ea36b", "score": "0.5696591", "text": "public void decLevel() {\n this.level--;\n }", "title": "" }, { "docid": "9476474e95af852f9105567b5ba40e5a", "score": "0.56524456", "text": "private void unlockMode() {\n Mode.removeModeChangeListener(lockModeToClearingHand);\n \n }", "title": "" }, { "docid": "f1191d7a49601d0f2340ba04ccf9b9ed", "score": "0.5600476", "text": "public void levelDown() {\n\t\tlevel--;\n\t}", "title": "" }, { "docid": "5ae4becbbb383f243708825f6c482575", "score": "0.54837674", "text": "public synchronized void unlock() {\r\n\t\tswitch (lock) {\r\n\t\tcase NL:\r\n\t\t\tbreak;\r\n\t\tcase RLT: \t\t\r\n\t\t\tlock = Etat.RLC;\r\n\t\t\tnotifyAll();\r\n\t\t\tbreak;\r\n\t\tcase RLC:\r\n\t\t\tbreak;\r\n\t\tcase WLT: \t\t\r\n\t\t\tlock = Etat.WLC; \t\r\n\t\t\tnotifyAll();\r\n\t\t\tbreak;\r\n\t\tcase WLC:\r\n\t\t\tbreak;\r\n\t\tcase RLT_WLC:\t\t\t\r\n\t\t\tlock = Etat.WLC;\r\n\t\t\tnotifyAll();\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tSystem.out.println(\"sharedobject unlock id \"+id +\" state \" + lock);\r\n\t}", "title": "" }, { "docid": "7620bd7024a067b2300f826de79d7ab9", "score": "0.5465046", "text": "public void unlockAllTimeCrate()\n {\n Games.Achievements.unlock(mGoogleApiClient,\n getResources().getString(R.string.achievement_all_time_crate));\n }", "title": "" }, { "docid": "00911a941b3175b791295c9743737bda", "score": "0.54349875", "text": "public void updateCompleted(ArrayList<Level> levels){\n for(int i = 0; i < levels.size() - 1; i++){\n if(levels.get(i) == BuzzGUI.stateController.getGameState().getCurrentLevel()){\n System.out.println(\"Level \" + i + \"Is the same as current level\");\n }\n if(levels.get(i).checkCompletion()){\n levels.get(i + 1).setUnlocked(true);\n levels.get(i+1).updateDisabled();\n levels.get(i).updateDisabled();\n }\n }\n }", "title": "" }, { "docid": "a5c26527591bbd493a8aa8f9ae562279", "score": "0.5416731", "text": "protected void unlock() {\n logger.trace(\"unlock()\");\n\n lock.unlock();\n }", "title": "" }, { "docid": "5535e1682a8cb5acfbdd9daa9a43a1ce", "score": "0.54162735", "text": "public final void unlock(){\n getMarla().lockToActivator(null);\n }", "title": "" }, { "docid": "6cddce3924dbd6c48cf5679fa9a171e1", "score": "0.54030275", "text": "public void levelDown() {\n\t\tswitch (getLevel()) {\n\t\tcase Hard:\n\t\t\tsetLevel(diffLevel.Medium);\n\t\t\tbreak;\n\t\tcase Medium:\n\t\t\tsetLevel(diffLevel.Easy);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "c9e6404b4fd7cccb85800c8375627f03", "score": "0.5399198", "text": "@Override\n public void onUnlockPropertiesDone(byte arg0) {\n\n }", "title": "" }, { "docid": "28f02c6d99a0414971c1b4dfa94fc2d0", "score": "0.53838485", "text": "public void unlockSessionPlans() {\n HashSet<Integer> lockedPlans = new HashSet<Integer>(sessionPlans);\n for (Integer planPropertiesId : lockedPlans) {\n unlockPlan(planPropertiesId);\n }\n }", "title": "" }, { "docid": "653c93246889785dbe8c08eee3f56a75", "score": "0.5380005", "text": "public void testLockout2(){\n\t\t\tLogin fixture = new Login(lv);\n\t\t\tmember.setFailedAttempts(0);\n\t\t\tmember.incFailedAttempts();\n\t\t\tmember.incFailedAttempts();\n\t\t\tBoolean result = fixture.lockOut(member);\n\t\t\tassertTrue(!result);\n\t\t}", "title": "" }, { "docid": "8c7cadc3b4e16c375e54ed4c66005fef", "score": "0.5376149", "text": "@Override\n public void onUnlock(Myo myo, long timestamp) {\n\n }", "title": "" }, { "docid": "3b35e1105aa96a1b3275e7369e40dc04", "score": "0.53368163", "text": "void\n lockup()\n {\n for(String key : dictionary.keySet()) {\n Name name = dictionary.get(key);\n name.locked = true;\n }\n }", "title": "" }, { "docid": "5cef7c592f3c152e895392d1b5e8cb43", "score": "0.5336001", "text": "public void unlock() {\n\n\t\t// Remove entry from distributed map\n\t\tmap.remove(name);\n\n\t\t// Unlock distributed map's entry\n\t\tmap.unlock(name);\n\n\t\t// Log locking time\n\t\tlong lockingTime = System.currentTimeMillis() - startTime;\n\t\tlog(Level.DEBUG, \"FREED\\t\" + name + \" \" + lockingTime + \"ms\");\n\t}", "title": "" }, { "docid": "b95782cbd6d769b47d5c45a64e43f8c5", "score": "0.53200763", "text": "void setUnlock(boolean unlock);", "title": "" }, { "docid": "75601ca3bd373f0aa87b1b3e7ed711a8", "score": "0.53190696", "text": "private static void loseLevel(int number_level) {\n\t\tGameManager.getCurrentPlayer().leveleUp(-number_level);\n\t}", "title": "" }, { "docid": "6572987a879f9e80473cedd51a8fc589", "score": "0.53175694", "text": "public void unlockItem(){\n locked = false;\n }", "title": "" }, { "docid": "08e75a270325973a4df8ed5b5f2b4542", "score": "0.5311503", "text": "void levelLost();", "title": "" }, { "docid": "26ddc0d207e36323b8b792e1a93206b4", "score": "0.5303339", "text": "@Override\n\tpublic void onUnlockPropertiesDone(byte arg0) {\n\t}", "title": "" }, { "docid": "8bea571bc6d284da8aa93c52f8f296da", "score": "0.5265362", "text": "public abstract void resetLevel();", "title": "" }, { "docid": "a5137e4e319e50fa3b81732493d1afa1", "score": "0.52641064", "text": "void unsetIsLocked();", "title": "" }, { "docid": "174abde21c3216d93e72194002bcae28", "score": "0.5255423", "text": "public void writeUnlockUser() {\n userLock.writeLock().unlock();\n }", "title": "" }, { "docid": "135b99716c5d1579689ea83ab4477e9d", "score": "0.5239635", "text": "public void testLockout0(){\n\t\t\tLogin fixture = new Login(lv);\n\t\t\tBoolean result = fixture.lockOut(member);\n\t\t\tassertTrue(!result);\n\t\t}", "title": "" }, { "docid": "43e3e5d1b00ee65c589c8868f50197f3", "score": "0.5234705", "text": "public void UpdateLevelSelector()\n\t{\n\t\tmouseXL = Mouse.getX();\n\t\tmouseYL = Mouse.getY();\n\t\t\n\t\tif(Mouse.isButtonDown(0))\n\t\t{\n\t\t\tclickedL = true;\n\t\t}\n\t\t\n\t\tif(mouseXL >= 81 && mouseXL <= 521 && mouseYL <= 386 && mouseYL >= 318)\n\t\t{\n\t\t\t// Load one\n\t\t\tonLoadOne = true;\n\t\t\tonLoadTwo = false;\n\t\t\tonLoadThree = false;\n\t\t\t\n\t\t\tif(clickedL)\n\t\t\t{\n\t\t\t\tif(wentOut)\n\t\t\t\t{\n\t\t\t\t\tsave.WhatLoad(1);\n\t\t\t\t\ttookLoadOne = true;\n\t\t\t\t\tsave.ReadLevel(1);\n\t\t\t\t\tWhatLevel();\n\t\t\t\t\tstate = screenState.GAME;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\telse if(mouseXL >= 81 && mouseXL <= 521 && mouseYL <= 285 && mouseYL >= 219)\n\t\t{\n\t\t\t// load two\n\t\t\tonLoadOne = false;\n\t\t\tonLoadTwo = true;\n\t\t\tonLoadThree = false;\n\t\t\t\n\t\t\tif(clickedL)\n\t\t\t{\n\t\t\t\tsave.WhatLoad(2);\n\t\t\t\tsave.ReadLevel(2);\n\t\t\t\tWhatLevel();\n\t\t\t\tstate = screenState.GAME;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\telse if(mouseXL >= 45 && mouseXL <= 550 && mouseYL <= 189 && mouseYL >= 121)\n\t\t{\n\t\t\t// load three\n\t\t\tonLoadOne = false;\n\t\t\tonLoadTwo = false;\n\t\t\tonLoadThree = true;\n\t\t\t\n\t\t\tif(clickedL)\n\t\t\t{\n\t\t\t\tsave.WhatLoad(3);\n\t\t\t\ttookLoadThree = true;\n\t\t\t\tsave.ReadLevel(3);\n\t\t\t\tWhatLevel();\n\t\t\t\tstate = screenState.GAME;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\telse if(mouseXL >= 580 && mouseXL <= 720 && mouseYL <= 379 && mouseYL >= 337)\n\t\t{\n\t\t\t// First erase button\n\t\t\tonFirstErase = true;\n\t\t\tonSecondErase = false;\n\t\t\tonThirdErase = false;\n\t\t\t\n\t\t\tif(clickedL)\n\t\t\t{\n\t\t\t\tsave.Erase(1);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\telse if(mouseXL >= 580 && mouseXL <= 720 && mouseYL <= 272 && mouseYL >= 232)\n\t\t{\n\t\t\t// second erase button\n\t\t\tonFirstErase = false;\n\t\t\tonSecondErase = true;\n\t\t\tonThirdErase = false;\n\t\t\t\n\t\t\tif(clickedL)\n\t\t\t{\n\t\t\t\tsave.Erase(2);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\telse if(mouseXL >= 580 && mouseXL <= 720 && mouseYL <= 167 && mouseYL >= 127)\n\t\t{\n\t\t\t// third erase button\n\t\t\tonFirstErase = false;\n\t\t\tonSecondErase = false;\n\t\t\tonThirdErase = true;\n\t\t\t\n\t\t\tif(clickedL)\n\t\t\t{\n\t\t\t\tsave.Erase(3);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\telse\n\t\t{\n\t\t\tonLoadOne = false;\n\t\t\tonLoadTwo = false;\n\t\t\tonLoadThree = false;\n\t\t\tonFirstErase = false;\n\t\t\tonSecondErase = false;\n\t\t\tonThirdErase = false;\n\t\t\tclickedL = false;\n\t\t\twentOut = true;\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "4409510d0913a6a2a62debc5d7d8c5ab", "score": "0.5231965", "text": "public void testLockout1(){\n\t\t\tLogin fixture = new Login(lv);\n\t\t\tmember.setFailedAttempts(0);\n\t\t\tmember.incFailedAttempts();\n\t\t\tBoolean result = fixture.lockOut(member);\n\t\t\tassertTrue(!result);\n\t\t}", "title": "" }, { "docid": "0e112b4028631ba9dac71658bade493a", "score": "0.52314377", "text": "public void levelReset() {\n\t\tlevel = 1;\n\t}", "title": "" }, { "docid": "cdda8dc65d2a4058be5d39f8697b2cd9", "score": "0.52114666", "text": "public void fullyUnlock() {\n this.takeLock.unlock();\n this.putLock.unlock();\n }", "title": "" }, { "docid": "61f4755056d2cdab96b20bb2554aed8a", "score": "0.5192133", "text": "public void unlockWriteAccess() {\n\t\tthis.lock.writeLock().unlock();\t\t\n\t}", "title": "" }, { "docid": "5496e9ece325aec4a6c101001715cf1d", "score": "0.5178911", "text": "protected void unlockRecordActivity() {\n BSPermissionHelper.requestPermissions(this, new BSPermissionCallback() {\n @Override\n public void onPermissionGranted() {\n unlockActivity();\n }\n }, permissions);\n }", "title": "" }, { "docid": "2c4d1cb7b7407b62451f6d272fdc9a35", "score": "0.5166812", "text": "private void unlockButton() {\n\t\tconversionPdf_Txt.setEnabled(true);\n\t\tavisJury.setEnabled(true);\n\t\tstatistique.setEnabled(true);\t\n\t}", "title": "" }, { "docid": "d36712e7fa53cdf4f58af391dbbd617e", "score": "0.51401085", "text": "public void restartLevel(int level)\n {\n gameObjects = levelLoader.getLevel(level);\n }", "title": "" }, { "docid": "5d171328df76ac3c18c50353c3abb3b9", "score": "0.51264644", "text": "public void testLockout3(){\n\t\t\tLogin login = new Login(lv);\n\t\t\tmember.setFailedAttempts(0);\n\t\t\tmember.incFailedAttempts();\n\t\t\tmember.incFailedAttempts();\n\t\t\tmember.incFailedAttempts();\n\t\t\tBoolean result = login.lockOut(member);\n\t\t\tassertTrue(result);\n\t\t}", "title": "" }, { "docid": "656db82e095029cd3da84bbeefee8e50", "score": "0.5120161", "text": "private void unlockNext() {\n if (Lol.getGameFact(mConfig, \"unlocked\", 1) <= mModeStates[PLAY])\n Lol.putGameFact(mConfig, \"unlocked\", mModeStates[PLAY] + 1);\n }", "title": "" }, { "docid": "a7c40aa1ebf02a05232c140e6886e364", "score": "0.5116853", "text": "public static void playUnlock() {\n\t\tunlockSound.play(3.5f);\n\t}", "title": "" }, { "docid": "0a91773deb08e1009f5b2dea5451c173", "score": "0.5114685", "text": "public void levelChanger() {\n\n int levelTotal = mTotal - temporary;//present level total point\n\n if (levelTotal >= 50 && level.equals(\"1\")) {\n status = \"beginner\";\n gameOver();\n } else if (levelTotal >= 70 && level.equals(\"2\")) {\n\n status = \"intermediate\";\n gameOver();\n } else if (levelTotal >= 90 && level.equals(\"2\")) {\n\n status = \"expert\";\n gameOver();\n } else if (levelTotal >= 150) {\n status = \"extraordinary\";\n gameOver();\n } else\n status = \"unComplete\";\n\n }", "title": "" }, { "docid": "1a579d908e49c0cd294871b2072b0f0b", "score": "0.51107776", "text": "public void unpause() {\n\t\tgame.setState(levelState);\n\t}", "title": "" }, { "docid": "1e0adc1db9385195901bef6b31b9132e", "score": "0.5092241", "text": "public void testLockout4(){\n\t\t\tLogin login = new Login(lv);\n\t\t\tmember.setFailedAttempts(0);\n\t\t\tmember.incFailedAttempts();\n\t\t\tmember.incFailedAttempts();\n\t\t\tmember.incFailedAttempts();\n\t\t\tmember.incFailedAttempts();\n\t\t\tBoolean result = login.lockOut(member);\n\t\t\tassertTrue(!result);\n\t\t}", "title": "" }, { "docid": "a39c6798515586944aedf5d59d249a80", "score": "0.50883615", "text": "@Deactivate\n public void tearDown()\n {\n m_CountingLock.deleteWakeLock();\n }", "title": "" }, { "docid": "16849b9b575980b06755fdd1077dc630", "score": "0.50757444", "text": "public void revert_and_exit() {\n File backup_file = new File(backup_file_name);\n if (backup_file.canWrite()) {\n File data_file = new File(data_file_name);\n data_file.delete();\n backup_file.renameTo(data_file);\n }\n \n // unlock database\n File lock_file = new File(lock_file_name);\n if (lock_file.delete() != true) {\n logDebug(\"Local data base: '\" + data_file_name + \"'\" + \"can't be UNLOCKED!\");\n }\n System.exit(0);\n }", "title": "" }, { "docid": "b25e4eec446e80136ea1e662c6bebcdc", "score": "0.5075446", "text": "@Test\n\tpublic void testUnlock_withIncorrectKey() {\n\t\tfor (int i = -999; i <= 999; i++) {\n\t\t\tif (i == 100) continue;\n\t\t\t\n\t\t\tassertFalse(lock.unlock(i));\n\t\t}\n\t}", "title": "" }, { "docid": "45da85cf246a16505ee331fb2248239d", "score": "0.50740486", "text": "protected final void unlockStorage()\n {\n FileLock lock = m_lockFile;\n if (lock != null)\n {\n FileHelper.unlockFile(lock);\n m_lockFile = null;\n }\n }", "title": "" }, { "docid": "5aac5a0b94bff0dd67540542726edb01", "score": "0.50738305", "text": "public boolean unlockAccount(UnlockAccount ua) {\n\t\t\n\t\t StudentEntity entity = registrationRepo.findByAndPwzzd( ua.getEmail(), ua.getTempPwd());\n\t\t if(entity != null) {\n\t\t\t entity.setStatus(\"unlock\");\n\t\t\t entity.setPazzword(ua.getNewPwd());\n\t\t\tregistrationRepo.save(entity);\n\t\t\treturn true;\n\t\t }\n\t\t \n\t\treturn false;\n\n\t}", "title": "" }, { "docid": "4be911cd0f9c5f37ebd3bb72d04ed0be", "score": "0.50711095", "text": "public void deleteLevel()\r\n\t{\r\n\t\tif (levels.contains(selectedLevel))\r\n\t\t\tlevels.remove(selectedLevel);\r\n\t\tselectedLevel = null;\r\n\t}", "title": "" }, { "docid": "634800958b934351a115bbb8cd2a5a19", "score": "0.50679505", "text": "public static void resetLevel()\n\t{\n\t\tlevel = 1;\n\t\tenemyRows = 2;\n\t\tenemyCols = 5;\n\t}", "title": "" }, { "docid": "0e130626a97776307c021e7b53e6040c", "score": "0.5066518", "text": "public void unlockMachine() throws IOException;", "title": "" }, { "docid": "d42de8fbac2dbb14ec4a4a0afc769027", "score": "0.5066269", "text": "public synchronized void levelTimedOut()\n {\n levelChanged(MIN_LEVEL, lastLevelChangedTime);\n }", "title": "" }, { "docid": "e084d2d173dbf01e8c8528321872093f", "score": "0.5062528", "text": "public void testUnLockFeatures() throws IOException {\n }", "title": "" }, { "docid": "1c158183094094adc2f8f25af8fa6ae9", "score": "0.5058129", "text": "private void unlocked() {\n if (isLive()) {\n release();\n isLive = false;\n }\n }", "title": "" }, { "docid": "afa24cab6d53a96c8c2567e5eee5cdf0", "score": "0.50557244", "text": "@Test\n\tpublic void testUnlock_withCorrectKey() {\n\t\tassertTrue(lock.unlock(100));\n\t}", "title": "" }, { "docid": "cf290e91e67ae2b6b320f5b264f2e539", "score": "0.50467575", "text": "@Override\n public void readUnlock() {\n }", "title": "" }, { "docid": "4e619b2634b4ed0267a88f360844ca4c", "score": "0.50461787", "text": "public void writeUnlock() {\n\t\tlock.writeLock().unlock();\n\t}", "title": "" }, { "docid": "952c2d07dcecf62fce81fa6df418b0d3", "score": "0.5046026", "text": "public boolean checkUnlock(){\n return unlocked;\n }", "title": "" }, { "docid": "cb79a2e4c8e24367416ec2c58a115618", "score": "0.50432116", "text": "public void PutDown() {\n reentrantLock.unlock();\n }", "title": "" }, { "docid": "c6f3de73ea65bf6aed0ca384f14998bb", "score": "0.50334376", "text": "public void unlock() {\r\n Editable model = getGrid().getModel();\r\n model.clearRemovedRows();\r\n if (model.getTotalPagesNumber() <= model.getCurrentPageNumber()) {\r\n int currentPageNumber = model.getTotalPagesNumber() - 1;\r\n if (currentPageNumber >= 0)\r\n model.setCurrentPageNumber(currentPageNumber);\r\n else\r\n model.setCurrentPageNumber(0);\r\n if (isTopPagerVisible())\r\n getTopPager().display();\r\n if (isBottomPagerVisible())\r\n getBottomPager().display();\r\n }\r\n getGrid().drawContent();\r\n getLockingPanel().unlock();\r\n getGrid().setLocked(false);\r\n }", "title": "" }, { "docid": "3b19efa8a259f4b3390f98b9659ad9ab", "score": "0.50252104", "text": "public void readUnlockUser() {\n userLock.readLock().unlock();\n }", "title": "" }, { "docid": "e62a9662fe444c75cdc8c59a4a2e32bc", "score": "0.5019032", "text": "private void unlockDevice() {\n lockService.unlock();\n reset();\n// finish(); // TODO: should I call finish() here or in the service?\n }", "title": "" }, { "docid": "61945f2d6cb5f5fd6abb685d5d04ed92", "score": "0.5009016", "text": "@Override\n public void onDeactivate(Level level) {\n Level.setProjectileSpeed(Level.PROJECTILE_START_SPEED);\n }", "title": "" }, { "docid": "3fe1e44c506675af56e1b5a8ff57e22b", "score": "0.50076914", "text": "public static void levelUp()\n\t{\n\t\tPowerUp.clearPowerUps();\n\t\t\n\t\tlevel++;\n\t\tStates.enemySpeed *= 1.1;\n\t\tStates.enemyBulletSpeed *= 1.1;\n\t\tStates.enemyDamage *= 1.2;\n\t\tStates.enemyShootDelay *= 0.9;\n\t\tStates.enemyHealth *= 1.1;\n\t\t\n\t\tGameTimer.updateTimers();\n\t\t\n\t\tif(level % 3 == 0)\n\t\t\tenemyRows++;\n\t\t\n\t\tif(level % 4 == 0)\n\t\t\tenemyCols++;\n\t\t\n\t\tif(States.debug)\n\t\t\tSystem.out.println(\"LEVEL UP!\");\n\t}", "title": "" }, { "docid": "0ad932244c107a7fe88fc05231aa4767", "score": "0.50027376", "text": "private void clearCurrLevel() {\n \n currLevel_ = 0;\n }", "title": "" }, { "docid": "24ce3811c16fba206cfa6e0bd1b6a43c", "score": "0.50004107", "text": "public void levelClear() {\r\n this.currentScore.increase(100);\r\n }", "title": "" }, { "docid": "6cc724024cd4c7d738c5bdd26c1b596d", "score": "0.49939242", "text": "@Transaction(name=cPXAPS450FncOPunlock.LOGICAL_NAME, primaryTable=\"FAPIBH\") \r\n public void transaction_APS450FncOPunlock() {\r\n // Perform the operation\r\n // =========================================\r\n // Chain batch invoice\r\n APIBH.setCONO(currentCONO);\r\n APIBH.setDIVI().move(pUnlock.DIVI.get());\r\n APIBH.setINBN(pUnlock.INBN.get());\r\n // Lock FAPIBH for update\r\n unlock(pUnlock.messages);\r\n }", "title": "" }, { "docid": "01e4b116ba7c96b0aea0c686f713ab5b", "score": "0.4993752", "text": "public void endLevelHudRender(){\n endLevelSound(isFirstTimeSound);\n hudForEndLevel.setGameStatus(gameStatus);\n hudForEndLevel.setScore(Hud.getScore());\n hudForEndLevel.setTimeLeftBonus(Hud.getTimeLeft());\n hudForEndLevel.setTotalScore(Hud.getScore()+Hud.getTimeLeft());\n hudForEndLevel.setAmountOfStars(Hud.getTimeLeft(),gameStatus);\n game.batch.setProjectionMatrix(hudForEndLevel.stage.getCamera().combined);\n hudForEndLevel.stage.draw();\n }", "title": "" }, { "docid": "8b25939e2d2f47a6547ecf3b385c2544", "score": "0.4992417", "text": "private void setLevelsCompleted() {\n if (profileData != null) {\n levels_played.setText(profileData.get(constants.STAT_LEVELS_DONE));\n }\n else {\n levels_played.setText(\"-\");\n }\n }", "title": "" }, { "docid": "aea5ba0c1b9bcc3f3f8431fae06baded", "score": "0.49876404", "text": "private void swapWithNextLevel( int level )\n {\n List<DataApprovalLevel> dataApprovalLevels = getAllDataApprovalLevels();\n\n int index = level - 1;\n\n DataApprovalLevel d2 = dataApprovalLevels.get( index );\n DataApprovalLevel d1 = dataApprovalLevels.get( index + 1 );\n\n dataApprovalLevels.set( index, d1 );\n dataApprovalLevels.set( index + 1, d2 );\n\n update( d1, index );\n update( d2, index + 1 );\n }", "title": "" }, { "docid": "4d946878987a8fc208e21cfe00cc4200", "score": "0.4977713", "text": "boolean getUnlock();", "title": "" }, { "docid": "289bc1f596e9ca5c694ecc9ccbaea406", "score": "0.49725854", "text": "public void setLevel(int level)\n {\n int i;\n\n r = 0;\n b = 0;\n t = 0;\n k = null;\n S = null;\n\n secLevel = level;\n r = Security[0][level];\n b = Security[1][level];\n\n k = new byte[b];\n for(i = 0; i < b; i++)\n k[i] = 0x00;\n\n t = 2 * (r + 1);\n\n S = new int[t];\n for(i = 0; i < t; i++)\n S[i] = 0;\n }", "title": "" }, { "docid": "5d27162e3976e7aaa7c2a306e4d0eaba", "score": "0.4959021", "text": "public boolean deactivateAccessProfile(Long id);", "title": "" }, { "docid": "b1c4175f5e93646e5cc90a9ceec1f812", "score": "0.49522442", "text": "public void unlockAll() {\n this.unlockQuery(-1);\n }", "title": "" }, { "docid": "473b5e8bc8b0ea9477dbcae546dac722", "score": "0.49453315", "text": "public void nextLevel()\n\t{\n\t\tlevel++;\n\t\tif (level > 2) level = 1;\n\t\t\n\t\tfor (GameObject gameObject : placedGameObjects)\n\t\t{\n\t\t\tdeleteGameObject(gameObject);\n\t\t}\n\t\t\n\t\tcreateTileEnvironment();\n\t\taddPacman(100, 260);\n\t\taddGhosts();\n\t\taddPointsAndPowerUps();\n\t}", "title": "" }, { "docid": "072a015054dbb4780799c20815c5811f", "score": "0.49312055", "text": "public Collection<DatabaseObject> unlockBatch() {\n\t\tArrayList<DatabaseObject> failed_unlocks = new ArrayList<DatabaseObject>();\n\n\t\tfor (DatabaseObject dbo : this.dbos_) {\n\t\t\ttry {\n\t\t\t\tif (!dbo.unlock())\n\t\t\t\t\tfailed_unlocks.add(dbo);\n\t\t\t} catch (LoggedInException e) {\n\t\t\t\tfailed_unlocks.add(dbo);\n\t\t\t} catch (SQLException e) {\n\t\t\t\tfailed_unlocks.add(dbo);\n\t\t\t}\n\t\t}\n\n\t\treturn failed_unlocks;\n\t}", "title": "" }, { "docid": "275f989d952d83a312b4008167cda2b0", "score": "0.4927084", "text": "public void readUnlock() {\n\t\tlock.readLock().unlock();\n\t}", "title": "" }, { "docid": "ebf1b49a88a9e0f95810ef0ec8873f7f", "score": "0.4924345", "text": "public void switchLevels(){\n\t\t\t\n\t\t\t\tSystem.out.println(\"level 4 entered\");\n\t\t\t\tBeta.currentGame.exitGame();\n\t\t\t\tBeta.atLevelThree = true;\n\t\t\t\tBeta.atLevelTwo = false;\n\t\t\t\tGame game = new LevelFour(\"Level Four\", 1200, 800);\n\t\t\t\t//Game game = new Beta();\n\t\t\t\tBeta.currentGame = game;\n\t\t\t\tBeta.currentGame.start();\n\t\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "19eecc16ecdaae20976ee017fce60175", "score": "0.49175534", "text": "private void clearLevels(String alias, OrderByOrderBook orderByOrderBook, List<RawOrderbookEntry> entries, RawOrderbookConfiguration orderbookConfig) {\n OrderBook orderBook = orderByOrderBook.getOrderBook();\n\n Integer[] oldBidLevels = orderBook.levels(true);\n Integer[] oldAskLevels = orderBook.levels(false);\n\n Arrays.sort(oldBidLevels);\n Arrays.sort(oldAskLevels, Comparator.reverseOrder());\n\n HashSet<Integer> newBidLevels = new HashSet<>();\n HashSet<Integer> newAskLevels = new HashSet<>();\n\n for (RawOrderbookEntry entry : entries) {\n boolean isBid = entry.getAmount().signum() > 0;\n int price = PriceConverter.roundToInteger(orderbookConfig.getCurrencyPair(), DEFAULT_RAW_ORDER_BOOK_PRICE_PRECISION, entry.getPrice(), isBid);\n if (price != 0) {\n if (isBid) newBidLevels.add(price);\n else newAskLevels.add(price);\n }\n }\n\n\n for (int i = 0; i < oldBidLevels.length; i++) {\n if (!newBidLevels.contains(oldBidLevels[i])) {\n int idx = i;\n dataListeners.forEach(l -> l.onDepth(alias, true, oldBidLevels[idx], 0));\n }\n }\n\n for (int i = 0; i < oldAskLevels.length; i++) {\n if (!newAskLevels.contains(oldAskLevels[i])) {\n int idx = i;\n dataListeners.forEach(l -> l.onDepth(alias, false, oldAskLevels[idx], 0));\n }\n }\n\n orderByOrderBook.getAllIds().forEach(orderByOrderBook::removeOrder);\n\n }", "title": "" }, { "docid": "b2d7638e270fb900f63b9237296a06e0", "score": "0.49157184", "text": "public void UpdateLevels()\n\t{\n\t\tif(firstLevel)\n\t\t{\n\t\t\tmoon.Update(map);\n\t\t\tplayer.Update(map);\n\t\t\tplayer.restart();\n\t\t\tpause.UpdateInGame();\n\t\t\tintro.Update(map);\n\t\t\tContinue(map);\n\t\t}\n\t\tif(secondLevel)\n\t\t{\n\t\t\tmoon.Update(map2);\n\t\t\tplayer.Update(map2);\n\t\t\tplayer.restart();\n\t\t\tpause.UpdateInGame();\n\t\t\tContinue(map2);\n\t\t}\n\t\t\n\t\tif(thirdLevel)\n\t\t{\n\t\t\tmoon.Update(map3);\n\t\t\tplayer.Update(map3);\n\t\t\tplayer.restart();\n\t\t\tpause.UpdateInGame();\n\t\t\tContinue(map3);\n\t\t}\n\t\tif(fourthLevel)\n\t\t{\n\t\t\tmoon.Update(map4);\n\t\t\tplayer.Update(map4);\n\t\t\tplayer.restart();\n\t\t\tpause.UpdateInGame();\n\t\t\tContinue(map4);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "307e8b87b7f44363144bf34aaeb086dc", "score": "0.49120933", "text": "public void clear() {\n\t\tthis.levels = new ArrayList<Level>(15);\n\t}", "title": "" }, { "docid": "84f3b0ef608df42ac3d6fefafed3d2a7", "score": "0.48911235", "text": "public void levelUp() {\r\n setMaxHealth(getMaxHealth() + 25);\r\n setHealth(getMaxHealth());\r\n }", "title": "" }, { "docid": "0f7d63602c8fcb9b9d8e03aadf318b5b", "score": "0.4889965", "text": "public String unlock() {\n\t\treturn \"锁门了\";\n\t}", "title": "" }, { "docid": "9a09a50ccbfec2e887c174826521c945", "score": "0.487688", "text": "private void switchProfile() {\n this.checkDisable();\n this.fillFields();\n }", "title": "" }, { "docid": "0249af779d692b85beed036b1d408575", "score": "0.4872473", "text": "public void unlockWrite();", "title": "" }, { "docid": "4be5c5f71d0d12430a7d23bb2b4544a8", "score": "0.48673284", "text": "public void stopElevators();", "title": "" }, { "docid": "594782f34992565b7e25afeda975d544", "score": "0.4865567", "text": "public void logOff(){\n status = status.SignedOff;\n System.out.println(\"You are now logged off.\");\n }", "title": "" }, { "docid": "bcc9b6e6167c4a9ba7588fe08559dfe6", "score": "0.48588994", "text": "private void checkInactiveGroup()\n/* */ {\n/* 400 */ int i = 0;\n/* 401 */ synchronized (this) {\n/* 402 */ if ((this.active.size() == 0) && (this.lockedIDs.size() == 0) && (!this.groupInactive))\n/* */ {\n/* */ \n/* 405 */ this.groupInactive = true;\n/* 406 */ i = 1;\n/* */ }\n/* */ }\n/* */ \n/* 410 */ if (i != 0) {\n/* */ try {\n/* 412 */ super.inactiveGroup();\n/* */ }\n/* */ catch (Exception localException) {}\n/* */ try\n/* */ {\n/* 417 */ UnicastRemoteObject.unexportObject(this, true);\n/* */ }\n/* */ catch (NoSuchObjectException localNoSuchObjectException) {}\n/* */ }\n/* */ }", "title": "" }, { "docid": "89092a4bfd10af0276ce56bf183a1943", "score": "0.4850176", "text": "public void levelFailed() {\r\n\t\t\r\n\t\tfor(int i = 0; i < level2.length; i++) {\r\n\t\t\tfor(int j = 0; j < level2[i].length; j++) {\r\n\t\t\t\tif(level2[i][j].getyAxis() > 800){\r\n\t\t\t\t\twindow.dispose();\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"GAMEOVER !!!, Your score: \" +(Fire2.score + Fire2.scoreboss));\r\n\t\t\t\t\tdropper.stop();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor(int i = 0; i < Boss.length; i++) {\r\n\t\t\tfor(int j = 0; j < Boss[i].length; j++) {\r\n\t\t\t\tif(Boss[ i][j].getyAxis() > 1100){\r\n\t\t\t\t\twindow.dispose();\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"GAMEOVER !!!, Your score: \" +(Fire2.score + Fire2.scoreboss));\r\n\t\t\t\t\tdropper.stop();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n}", "title": "" }, { "docid": "0eb2577a2e9d7418b9b5cdcfc2d112bb", "score": "0.4838382", "text": "void unlockButton() {\n super.unlockButton(mainGameButton,personalBoard,buttonPlaceFamiliar);\n submit.setOnAction(event -> doHarvester());\n }", "title": "" }, { "docid": "f9cc5194483c46d5a1bd2512e17e7b1f", "score": "0.48374093", "text": "public static void restoreThreadLevelAllow() {\n threadLevelAllowCache.remove();\n }", "title": "" } ]
9451c7945f6e097e9e80d7d38dcb3d68
ArrayList is a class in Java that is used to store multiple sets of data like array. 1) It keeps index ordering 2) It allows duplicated values
[ { "docid": "6c2daf5277c01f83ad9c90616decd908", "score": "0.0", "text": "public static void main(String[] args) {\n ArrayList list1 = new ArrayList();\n List list2 = new ArrayList();//polymorphic way\n\n //IQ: What is the default capacity of ArrayList? it is 10! - java declares arraylist with 10 null data\n //add values\n\n list1.add(\"java\");\n list1.add(\"happy\");\n list1.add(1234);\n list1.add(true);\n list1.add(542.213);\n list1.add(\"Wooden Spoon\");\n list1.add('A');\n System.out.println(list1);\n //because it is raw type list it is allowing to add mixed data type: accepts int, double, boolean, String, char in one list\n\n System.out.println(\"size = \"+list1.size());\n\n //Raw ArrayList -> is arraylist that can store objects of ANY TYPE. It is not recommended to use like this, unless in certain cases.\n //Instead we need to use Restricted Type - only allows certain type of data.\n ArrayList<Integer> nums = new ArrayList<>(); //Restricted\n\n\n }", "title": "" } ]
[ { "docid": "8ab2f19f00c862512be32a96037fe771", "score": "0.6622788", "text": "public static void main(String args[]) {\r\n\t ArrayList<String> obj = new ArrayList<String>(200);\r\n \r\n\t /*This is how elements should be added to the array list*/\r\n\t obj.add(\"Ajeet\");\r\n\t obj.add(\"Harry\");\r\n\t obj.add(\"Chaitanya\");\r\n\t obj.add(\"Steve\");\r\n\t obj.add(\"Anuj\");\r\n System.out.println(obj.size());\r\n\r\n\t /* Displaying array list elements */\r\n\t System.out.println(\"Currently the array list has following elements:\"+obj);\r\n\r\n\t /*Add element at the given index*/\r\n\t obj.add(0, \"Rahul\");\r\n\t obj.add(1, \"Justin\");\r\n\r\n\t /*Remove elements from array list like this*/\r\n\t obj.remove(\"Chaitanya\");\r\n\t obj.remove(\"Harry\");\r\n\r\n\t System.out.println(\"Current array list is:\"+obj);\r\n \r\n\t /*Remove element from the given index*/\r\n\t obj.remove(1);\r\n obj.set(0,\"Varun\");\r\n obj.add(1,\"Varun\");\r\n ArrayList<String> a2=new ArrayList<String>();\r\n// if(obj.contains(\"Varun\"))\r\n a2.add(0,\"Harsh\");\r\n a2.add(1,\"vaa\");\r\n a2.add(2,\"Hac\");\r\n // Integer a=a2.get(1);\r\n obj.addAll(a2);\r\n Collections.sort(a2);\r\n System.out.println(obj.size());\r\n System.out.println(a2);\r\n //duplicate();\r\n arrays_to_arraylist();\r\n }", "title": "" }, { "docid": "f19ecb148ef3fb743f73904d1e8518bc", "score": "0.63636035", "text": "public static void main(String[] args) {\n\t\tArrayList<Object> alObject = new ArrayList<>();\r\n\t\tArrayList<Object> alObj1 = new ArrayList<>();\r\n\t\tSystem.out.println(alObject.add(\"ashok\"));\r\n\t\tSystem.out.println(alObject.add(null));\r\n\t\tSystem.out.println(alObject.add(\"\"));\r\n\t\talObject.add(\"reddy\");\r\n\t\talObject.add(\"java\");\r\n\t\talObject.add(\"ashok\");\r\n\t\talObject.add(\"reddy\");\r\n\t\talObject.add(\"java\");\r\n\t\tSystem.out.println(alObject);\r\n\t\talObject.add(1, \"ashok\");// -->add(index,element);\r\n\t\tSystem.out.println(alObject);\r\n\t\talObject.addAll(alObject);\r\n\t\tSystem.out.println(alObject);// collection+collection\r\n\t\talObject.addAll(1, alObject);\r\n\t\tSystem.out.println(alObject);\r\n\t\tSystem.out.println(alObject.size());\r\n\t\tSystem.out.println(alObject.contains(\"reddy\"));// if Object is have in\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// ArrayList it return\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// true other wise it\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// return false\r\n\t\tSystem.out.println(\"32 line ::\"+alObject.containsAll(alObj1));\r\n\t\tObject[] object1 = alObject.toArray();\r\n\t\tSystem.out.println(object1[0]);\r\n\t\tSystem.out.println(alObject.get(1));\r\n\t\t// System.out.println(alObject.indexOf());\r\n\t\tSpliterator<Object> s = alObject.spliterator();\r\n\t\tSystem.out.println(s.characteristics());\r\n\t\tSystem.out.println(alObject.isEmpty());\r\n\t\tSystem.out.println(alObj1.isEmpty());\r\n\t\tSystem.out.println(alObject.remove(1));\r\n\t\tSystem.out.println(alObject);\r\n\t\t// System.out.println(alObject.lastIndexOf(alObject));\r\n\t\tSystem.out.println(alObject.getClass());\r\n\t\tSystem.out.println(alObject.set(1, \"ashok\"));\r\n\r\n\t}", "title": "" }, { "docid": "f5d0af2e6d30fcb52bbcce7c3d3bd4d8", "score": "0.6146278", "text": "public MyArrayList() {\n this.array = new int[DEFAULT_CAPACITY];\n this.counter = 0;\n }", "title": "" }, { "docid": "ac65728913383107c9dfb97108e26d5f", "score": "0.6092206", "text": "public OrderedArrayList()\n {\n _data = new ArrayList<Comparable>(); \n }", "title": "" }, { "docid": "1cd8254dba33090afb994fb2c5687b8c", "score": "0.6036805", "text": "private ArrayList<Integer> getIndexArray() {\n\t\treturn indecies;\n\t}", "title": "" }, { "docid": "c44cc9179617e7cdb8ce7d0e5b6fdf61", "score": "0.59799397", "text": "public static void main(String[] args) {\n\n\t\tArrayList<Integer> arr1 = new ArrayList<>();\n\n\t\t// 1. add(value) - This will keep on adding value in last of array list.\n\t\tarr1.add(2);\n\t\tarr1.add(7);\n\t\tarr1.add(3);\n\t\tarr1.add(1);\n\t\tarr1.add(7);\n\t\tarr1.add(5);\n\t\tSystem.out.println(arr1); // [2, 7, 3, 1, 7, 5]\n\n\t\t// 2. size() - return no. of elements added in AL\n\t\tSystem.out.println(arr1.size());// 6\n\n\t\t// 3. get(index) - return value at particular index\n\t\tSystem.out.println(arr1.get(2));// 3\n\n\t\t// 4. set(index,value) - change value at particular index\n\t\tarr1.set(2, 8);\n\t\tSystem.out.println(arr1);// [2, 7, 8, 1, 7, 5]\n\n\t\t// 5. indexOf(value) - return first occurrence index of the particular value if\n\t\t// present, else return -1\n\t\tSystem.out.println(arr1.indexOf(7)); // 1\n\t\tSystem.out.println(arr1.indexOf(9)); // -1\n\n\t\t// 6. lastIndexOf(value) - return last occurrence index of the particular value\n\t\t// if present, else return -1\n\t\tSystem.out.println(arr1.lastIndexOf(7)); // 4\n\t\tSystem.out.println(arr1.lastIndexOf(9)); // -1\n\n\t\t// 7. remove(index) - remove value at particular index and return the removed\n\t\t// value\n\t\tSystem.out.println(arr1.remove(2)); // 8\n\t\tSystem.out.println(arr1); // [2, 7, 1, 7, 5]\n\n\t\t// 8. add(index,value) - add value at particular index. NOTE: Index should lie\n\t\t// in range [0 to arr.size()]\n\t\tSystem.out.println(arr1); // before : [2, 7, 1, 7, 5]\n\t\tarr1.add(2, 3);\n\t\tSystem.out.println(arr1); // after : [2, 7, 3, 1, 7, 5]\n\n\t\t// 9. addAll(AL) - appends arr1 into new AL and returns true if successfully\n\t\t// appended\n\t\tArrayList<Integer> arr2 = new ArrayList<>();\n\t\tarr2.add(777);\n\t\tarr2.add(888);\n\t\tarr2.add(999);\n\n\t\tSystem.out.println(arr1); // [2, 7, 3, 1, 7, 5]\n\t\tSystem.out.println(arr2); // Before : [777, 888, 999]\n\n\t\tSystem.out.println(arr2.addAll(arr1)); // true\n\n\t\tSystem.out.println(arr2); // After: [777, 888, 999, 2, 7, 3, 1, 7, 5]\n\n\t\t// 10. addAll(index,AL) - appends arr1 into new AL at particular index and\n\t\t// returns true if successfully appended\n\t\tArrayList<Integer> arr3 = new ArrayList<>();\n\t\tarr3.add(444);\n\t\tarr3.add(555);\n\t\tarr3.add(666);\n\n\t\tSystem.out.println(arr1); // [2, 7, 3, 1, 7, 5]\n\t\tSystem.out.println(arr3); // Before : [444, 555, 666]\n\n\t\tSystem.out.println(arr3.addAll(2, arr1)); // true\n\n\t\tSystem.out.println(arr3); // After: [444, 555, 2, 7, 3, 1, 7, 5, 666]\n\n\t\t// 11. for loop iteration in ArrayList\n\t\tfor (int i = 0; i < arr1.size(); i++) {\n\t\t\tSystem.out.print(arr1.get(i) + \" \"); // 2 7 3 1 7 5\n\t\t}\n\t\tSystem.out.println(); // new line\n\t\t// for each loop\n\t\tfor (int val : arr1) {\n\t\t\tSystem.out.print(val + \" \"); // 2 7 3 1 7 5\n\t\t}\n\t\tSystem.out.println(); // new line\n\n\t\t// 12. clear() - remove all elements from AL\n\t\tarr1.clear();\n\t\tarr2.clear();\n\t\tarr3.clear();\n\t\tSystem.out.println(arr1); // []\n\t\tSystem.out.println(arr2); // []\n\t\tSystem.out.println(arr3); // []\n\n\t\t// 13. Initialization of new ArrayList with defaultValues.\n\t\tArrayList<Long> arr4 = new ArrayList<>(Arrays.asList(3l, 4l, 1l, 9l, 56l, 7l, 9l, 12l));\n\t}", "title": "" }, { "docid": "5be234124f0313124000d36e84dbfe17", "score": "0.59288704", "text": "@Test\n\tpublic void testMultiPurposeList() {\n\t\tArrayBasedList<String> list = new ArrayBasedList<String>();\n\t\tassertEquals(0, list.size());\n\t\t\n\t\tlist.add(0, \"ad\");\n\t\tlist.add(1, \"bgr\");\n\t\tlist.add(2, \"cg\");\n\t\tlist.add(3, \"dd\");\n\t\tlist.add(4, \"ee\");\n\t\tlist.add(5, \"fsd\");\n\t\tlist.add(6, \"ggf\");\n\t\tlist.add(7, \"hhr\");\n\t\tlist.add(8, \"ifr\");\n\t\tlist.add(9, \"jkj\");\n\t\tassertEquals(10, list.size());\n\t\t\n\t\tlist.add(10, \"kfr\");\n\t\tassertEquals(11, list.size());\n\t\t\n\t\ttry {\n\t\t\tlist.add(-1, list.set(-1, \"lj\"));\n\t\t\tfail();\n\t\t} catch (IndexOutOfBoundsException e) {\n\t\t\t//catches exception\n\t\t}\t\n\t}", "title": "" }, { "docid": "9660e37e0cfaf3b18a705b6e44b8c10a", "score": "0.59077173", "text": "public static void main(String[] args) {\n\t\t\n\t\tArrayList lis = new ArrayList();\n\t\tlis.add(10);\n\t\tlis.add(13);\n\t\tlis.add(\"Sai\");\n\t\tlis.add(3, \"Ram\");\n\t\tSystem.out.println(lis.contains(\"Sai\"));\n\t\tSystem.out.println(lis.get(2));\n\t\tSystem.out.println(lis.size());\n\t\tSystem.out.println(lis.isEmpty());\n\t\t\n\t\tArrayList lis2 = new ArrayList();\n\t\tlis2.add(\"Sai\");\n\t\tlis2.add(20);\n\t\tlis.retainAll(lis2);\n\t\tSystem.out.println(lis);\n\t\tArrayList lis3 = new ArrayList(2);\n\t\tlis3.add(\"xyz\");\n\t\tlis3.add(20);\n\t\tlis3.add(\"xyz\");\n\t\tlis3.add(20);\n\t\tSystem.out.println(lis3.size());\n\t\tlis3.set(2, \"Ram\");\n\t\tSystem.out.println(lis3.get(2));\n\t\tObject ch []= lis3.toArray();\n\t\tSystem.out.println(ch[1]);\n\t\tObject ch1 []= lis2.toArray(ch);\n\t\tSystem.out.println(ch1.length);\n\t\tlis.add(1,null);\n\t\tlis.add(2,null);\n\t\tlis.addAll(lis3);\n\t\tSystem.out.println(lis);\n\t\tSystem.out.println(lis.get(2));\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "2de775594399618e52e33fc9cae8170a", "score": "0.5898994", "text": "private static List<Integer> arrayListDemo() {\n\t\t// Basic operations\n\t\tSystem.out.println(\"########################## Basic Operations ########################################\");\n\t\tList<Integer> list1 = new ArrayList<>();\n\t\tlist1.add(1);\n\t\tlist1.add(2);\n\t\tlist1.add(3);\n\t\tlist1.add(3); // ArrayList can store duplicates\n\t\tlist1.add(null); // ArrayList can store null values\n\t\tSystem.out.println(\"list1: add() demo \" + list1);\n\t\t\n\t\tlist1.remove(3); // removes at a particular index.\n\t\tSystem.out.println(\"list1: \" + list1);\n\t\tlist1.remove(3);\n\t\tSystem.out.println(\"list1: remove(3)\" + list1);\n\t\t\n\t\tlist1.add(0, 10);\n\t\tSystem.out.println(\"list1: add 10 at 0th position \" + list1);\n\t\tlist1.set(0, 9); // sets 9 at 0th position\n\t\tSystem.out.println(\"list1: set(0,9)\" + list1);\n\t\t\t\t\n\t\t// Bulk Operations\n\t\tSystem.out.println(\"########################## Bulk Operations ########################################\");\n\t\tCollection<Integer> list2 = new ArrayList<>();\n\t\tlist2.add(9);\n\t\tlist2.add(3);\n\t\t\n\t\tlist1.removeAll(list2); // it removes 3,9 from list1\n\t\tSystem.out.println(\"list1: \" + list1);\n\t\t\n\t\tlist2.add(1); // at this point, list 2 has 9,3,1 and list1 has 1,2\n\t\t\n\t\tlist1.retainAll(list2); // retains the elements present in list2 and removes the rest from list1.\n\t\tSystem.out.println(\"list1: using reatianAll method \" + list1);\n\t\t\n\t\tlist1.addAll(list2); // add list2 elements to list1\n\t\tSystem.out.println(\"list1: \" + list1);\n\t\t\n\t\t// set(2,8) -> sets the value 8 at index position 2 and returns the previous value which was at position 2 which is 3, in this case.\n\t\tSystem.out.println(\"list1.set(2, 8): \" + list1.set(2, 8)); \n\t\t\n\t\t\n\t\t// Search\n\t\tSystem.out.println(\"########################## Search ########################################\");\n\t\tSystem.out.println(\"list1.contains(1): \" + list1.contains(1)); // return boolean if it contains value\n\t\tSystem.out.println(\"list1.indexOf(1): \" + list1.indexOf(1)); // returns index position of the first occurance\n\t\tSystem.out.println(\"list1.lastIndexOf(1): \" + list1.lastIndexOf(1)); // returns index position of the first occurance from last\t\n\t\tSystem.out.println(\"list1: \" + list1);\n\t\t\n\t\t\n\t\t// Range-view: subList (new list is backed by original)\n\t\tSystem.out.println(\"########################## Range - view ########################################\");\n\t\tList<Integer> list3 = list1.subList(2, 3); // element at 2 is inclusive and element at 3 is exclusive so it returns only one element, in this case.\n\t\tSystem.out.println(\"list3: \" + list3);\n\t\t/* Any changes made to sublist(list3) are also reflected in the main list(list1) and vice versa is also true */\n\t\tlist3.set(0, 6);\n\t\tSystem.out.println(\"list1: \" + list1);\n\t\tlist3.add(0, 7);\n\t\tSystem.out.println(\"list1: \" + list1);\n\t\tlist1.set(2, 8);\n\t\tSystem.out.println(\"list3: \" + list3);\n\t\t/* When we make any structural changes in the original array like adding a element, then when accessing the sublist(list3) \n\t\t * will throw an exception called ConcurrentModificationException. But while replacing elements there is no problem. Only when structure\n\t\t * gets changed then it is an issue.\n\t\t * To see this in action uncomment the below 2 lines of code.\n\t\t * */\n\t\t//list1.add(0, 8); \n\t\t//System.out.println(\"list3: \" + list3);\n\t\tSystem.out.println(\"list1: \" + list1);\n\t\t/*\n\t\t * We cannot remove an item or an element from a forEach statement. It will throw an exception `ConcurrentModificationException`.\n\t\t * If we want to remove an element in a loop then we need to use an Iterator method but not forEach.\t\t\n\t\t * To view this in action uncomment the below foEach loop\n\t\t * */\n\t\t/*\n\t\tfor (int element : list1) {\n\t\t\tSystem.out.println(\"element: \" + element);\n\t\t\t\n\t\t\t// Generates ConcurrentModificationException\n\t\t\tif (element == 9) {\n\t\t\t\tlist1.remove(Integer.valueOf(element)); // valueOf is used due to its caching\n\t\t\t}\n\t\t}\t\t\n\t\t*/\n\t\treturn list1;\n\t\t\n\t}", "title": "" }, { "docid": "d2d8e28c0ad3fd1209cbb820db45d455", "score": "0.58632654", "text": "public static void arrayList() {\n\t\tint a = 3;// primitive version of an integer\n\t\tInteger b = 3; // non-primitive version of an integer, belongs to a class so can call methods\n\t\t\t\t\t\t// on it\n\n\t\t// will have to import the ArrayList class -> click import\n\t\tArrayList<Integer> arr1 = new ArrayList<>();\n\t\tSystem.out.println(\"before add: \" + arr1);\n\t\t// add() - adds to the array\n\t\tarr1.add(23);// 0\n\t\tarr1.add(24);// 1\n\t\tarr1.add(25);// 2\n\t\tSystem.out.println(\"size of arrayList: \" + arr1.size());\n\t\tSystem.out.println(\"after add: \" + arr1);\n\t\t// remove(index) - removes the value at the index from the array\n\t\tarr1.remove(1);\n\t\tSystem.out.println(\"remove index 1: \" + arr1);\n\t\tSystem.out.println(\"new value at index 1: \" + arr1.get(1));\n//\t\t(23);//0\n//\t\t(25);//1\n\t\tarr1.remove(1);\n\t\tSystem.out.println(\"remove index 1: \" + arr1);\n\t\tarr1.clear();// removes everything in the arrayList - wipes all data\n\t\t// Scanner sc = new Scanner();\n\t}", "title": "" }, { "docid": "c48191fa20358452eaf6c05b2d34fb82", "score": "0.58236027", "text": "public ArrayList() {\n \t\n \tarray = new Object[ INITIAL_CAPACITY ];\n \t\n }", "title": "" }, { "docid": "b21bb2df99597238793469c37fc7c7eb", "score": "0.5817466", "text": "public static void main(String[] args) {\n ArrayList<ArrayList<Integer>> m = new ArrayList<ArrayList<Integer>>();\r\n System.out.println( m );\r\n ArrayList<Integer> row = new ArrayList<Integer>(); \r\n row.add(1);\r\n row.add(2); \r\n m.add(row);\r\n System.out.println( m ); \r\n row = new ArrayList<Integer>(); \r\n row.add(3); \r\n row.add(4);\r\n row.add(5);\r\n row.add(6);\r\n row.add(7);\r\n m.add(row); \r\n System.out.println( m ); \r\n row = new ArrayList<Integer>(); \r\n row.add(8); \r\n row.add(9);\r\n row.add(10);\r\n m.add(row); \r\n System.out.println( m ); \r\n }", "title": "" }, { "docid": "eeff1ec5603639f836d7d44769d7f6ec", "score": "0.58127", "text": "public void arrayListTest() {\n\t\tList<Integer> myL1 = new ArrayList<Integer>();\n\t\t\n\t\t//int[] arr = new int[4];\n\t\t\n\t\tmyL1.add(4);\n\t\tmyL1.add(5);\n\t\tmyL1.add(5);\n\t\tmyL1.add(6);\n\t\tmyL1.add(9);\n\t\t\n\t\t//[4, 5, 5, 6, 9]\n\t\t\n\t\tSystem.out.println(myL1);\n\t\tSystem.out.println(myL1.size());\n\t\t\n\t\tSystem.out.println(myL1.get(0));\n\t\t\n\t\tif(myL1.contains(5)) {\n\t\t\tSystem.out.println(\"Going to add element dynamically\");\n\t\t\t\n\t\t\tmyL1.add(1111);\n\t\t\tSystem.out.println(myL1.size());\n\t\t}\n\t\t\n\t\tSystem.out.println(\"================\");\n\t\tSystem.out.println(myL1);\n\t\t\n\t\tmyL1.add(1, 3322);\n\t\tmyL1.remove(0);\n\t\tSystem.out.println(myL1);\n\t}", "title": "" }, { "docid": "4241812dbf6c1b2c00e00b31f427262d", "score": "0.57890904", "text": "public void arrayListImplementation(){\n System.out.println(\"--- ArrayList implementation ---\");\n ArrayList<Integer> arrayList = new ArrayList<>();\n arrayList.add(1);\n arrayList.add(2);\n arrayList.add(null);\n System.out.println(arrayList);\n }", "title": "" }, { "docid": "4662370e09c3c243c50e4f84253bd77f", "score": "0.5776044", "text": "@Override\r\n public NumericArrayList copy() {\r\n\tNumericArrayList copyList = new NumericArrayList();\r\n\tfor (int i = 0; i < count; i++) {\r\n\t try {\r\n\t\tcopyList.add(i, this.getValue(i).copy());\r\n\t } catch (IndexException ie) {\r\n\t\tSystem.out.println(ie.getMessage());\r\n\t }\r\n\t}\r\n\treturn copyList;\r\n }", "title": "" }, { "docid": "329bf8a9d4c144c1b329889aa21df163", "score": "0.5771146", "text": "public NumericArrayList() {\r\n\tlist = new Copiable[10];\r\n\tcount = 0;\r\n }", "title": "" }, { "docid": "0ca7893e2d23dbf0aff43884bb47af14", "score": "0.5756269", "text": "public static void main(String[] args) {ArrayList<StudentArrayList> eg3 = new ArrayList<StudentArrayList>();\r\n\t\r\n\t\teg3.add(new StudentArrayList(\"supraja\"));\r\n\t\teg3.add(new StudentArrayList(\"mamatha\"));\r\n\t\teg3.add(new StudentArrayList(\"nirmala\"));\r\n\t\teg3.add(new StudentArrayList(\"vivek\"));\r\n\t\teg3.add(new StudentArrayList(\"yashodhar\"));\r\n\t\teg3.add(new StudentArrayList(\"ahamed\"));\r\n\t\tSystem.out.println(eg3);\r\n\t\t\r\n\t\t//In order to sort collecton the object must be comparable\r\n\t\t//Collections.sort(eg3);\r\n\t\t\r\n\t\t\r\n\t\tArrayList<StudentArrayList> test = new ArrayList<StudentArrayList>(5);\r\n\t\ttest.add(new StudentArrayList(\"supraja\"));\r\n\t\ttest.add(new StudentArrayList(\"mamatha \"));\r\n\t\t\r\n\t\t//# serching \r\n\t\tSystem.out.println(eg3.contains(new StudentArrayList(\"ahamed\"))); //searching sile objet in collection\r\n\t\tSystem.out.println(eg3.containsAll(test)); //to check presence of multiple elements in arrayList\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(eg3.indexOf(new StudentArrayList(\"ahamed\"))); // index is 5\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t//Converting to Array\r\n\t\t\r\n\t\tString[] eg3element = (String[]) eg3.toArray();\r\n\t\t//System.out.println(eg3element.toString());\r\n\t\tSystem.out.println(Arrays.toString(eg3element));\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3a6d9cce0100b1f68fd8725fc10eee32", "score": "0.57055473", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n\tpublic static void main(String[] args) {\n\t\t ArrayList obj = new ArrayList();\n\n\t\t /*This is how elements should be added to the array list*/\n\t\t obj.add(\"A\");\n\t\t obj.add(\"B\");\n\t\t obj.add(1);\n\t\t obj.add(\"C\");\n\t\t obj.add(\"D\");\n\t\t obj.add(2);\n\t\t obj.add(\"E\");\n\n\t\t /* Displaying array list elements */\n\t\t System.out.println(\"Currently the array list has following elements:\"+obj);\n\n\t\t /*Add element at the given index*/\n\t\t obj.add(0, \"F\");\n\t\t obj.add(1, \"G\");\n\t\t \n\t\t /* Displaying array list elements after adding element with index */\n\t\t System.out.println(\"Elements after adding element with index:\"+obj);\n\t\t \n\t\t /*Remove elements from array list like this*/\n\t\t obj.remove(\"C\");\n\t\t obj.remove(\"E\");\n\n\t\t /* Displaying array list elements after removing element */\n\t\t System.out.println(\"Elements after removing element:\"+obj);\n\t\t \n\t\t /*Remove element from the given index*/\n\t\t obj.remove(1);\n\t\t \n\t\t \n\t\t boolean a=obj.contains(\"D\");\n\t\t \n\t\t System.out.println(a);\n\n\t\t /* Displaying array list elements after removing element with index */\n\t\t System.out.println(\"Elements after removing element with index:\"+obj);\n\t\t \n\t\t /*set element from the given index*/\n\t\t obj.set(2, \"E\");\n\t\t \n\t\t /* Displaying array list elements after adding element with index */\n\t\t System.out.println(\"Elements after setting element with index:\"+obj);\n\t\t \n\t }", "title": "" }, { "docid": "d51e1cf6b734b60f664adedd472d4a97", "score": "0.56828415", "text": "@Test\r\n public void ArrayListTest() {\r\n ArrayList<String> x = new ArrayList<>();\r\n x.add(\"Brian\");\r\n x.add(\"John\");\r\n\r\n assertEquals(2, x.size());\r\n assertEquals(\"Brian\", x.get(0));\r\n\r\n x.set(0, \"Paul\");\r\n assertEquals(\"Paul\", x.get(0));\r\n }", "title": "" }, { "docid": "a4c9b9b29a7997e506b6fba46571104e", "score": "0.5664186", "text": "public void arraylistExamples() {\n\n\t\tList<String> arrayList = new ArrayList<String>();\n\n\t\tarrayList.add(\"Benz\");\n\t\tarrayList.add(\"Bmw\");\n\t\tarrayList.add(\"Bugatti\");\n\t\tarrayList.add(\"Lamborgini\");\n\t\tarrayList.add(\"Bentli\");\n\t\tarrayList.add(\"Bentli\");\n\t\t// can be add duplicate values too.\n\t\tSystem.out.println(arrayList);\n\t\tSystem.out.println(arrayList.get(3));\n\t\tSystem.out.println(arrayList.indexOf(\"Bugatti\"));\n\t\tSystem.out.println(arrayList.lastIndexOf(\"maruti\"));\n//\t\t\n\n\t\tList<String> anotherList = new ArrayList<String>();\n\t\tanotherList.addAll(arrayList);\n\t\tSystem.out.println(anotherList);\n\t\tanotherList.clear();\n\t\tSystem.out.println(anotherList);\n\t\tarrayList.remove(0);\n\t\tSystem.out.println(arrayList);\n\t\tarrayList.remove(\"Bugatti\");\n\t\tSystem.out.println(arrayList);\n\t\tarrayList.add(\"null\");\n\t\tSystem.out.println(arrayList);\n\n\t\tarrayList.set(0, \"Jaquar\");\n\t\tSystem.out.println(arrayList);\n\t\tSystem.out.println(arrayList.isEmpty());\n\n//\t\tIterate:\n\n\t\tfor (String string : arrayList) {\n\n\t\t\tSystem.out.println(\"Using for Each : \" + string);\n\n\t\t}\n\n\t\tfor (int i = 0; i < arrayList.size(); i++) {\n\n\t\t\tSystem.out.println(\"Using for loop : \" + arrayList.get(i));\n\n\t\t}\n\n\t\tjava.util.ListIterator<String> myIterator = arrayList.listIterator();\n\n\t\twhile (myIterator.hasNext()) {\n\t\t\tSystem.out.println(myIterator.next());\n\t\t\tSystem.out.println(myIterator.previous());\n\t\t}\n\n\t\tIterator<String> hIterator = arrayList.iterator();\n\n\t\twhile (hIterator.hasNext()) {\n\t\t\tSystem.out.println(hIterator.next());\n\n\t\t}\n\n\t\tSystem.out.println(myIterator.next());\n\t}", "title": "" }, { "docid": "0cdafec708f7186ba5f9f44ca02569de", "score": "0.5662288", "text": "public static boolean checkArrayListHasDuplicate(ArrayList<String> al)\r\n\t{\r\n\t\tHashSet<String> clone = new HashSet<String>(al);\r\n\t\tSystem.out.println(clone.size());\r\n\t\tSystem.out.println(al.size());\r\n\t\t\r\n\t\tHashSet<String> clone1 = new HashSet<String>();\r\n\t\tfor (String s : al)\r\n\t\t{\r\n\t\t\tboolean v = clone1.add(s);\r\n\t\t\tif (v == false)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Duplicate Value: \"+ s);\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Not Duplicate: \"+ s);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0b4d84219c601054511c539d363d2eee", "score": "0.5626508", "text": "public static void test6() {\n CircleArrayList<Integer> list = new CircleArrayList<>();\r\n for (int i = 0; i < 20; i++) {\r\n list.add(i);\r\n }\r\n System.err.println(list);\r\n list.remove(19);\r\n System.err.println(list);\r\n list.remove(0);\r\n System.err.println(list);\r\n for (int i = 0; i < 18; i++) {\r\n list.remove(0);\r\n }\r\n System.err.println(list);\r\n for (int i = 0; i < 20; i++) {\r\n list.add(i);\r\n // System.err.println(list);\r\n }\r\n System.err.println(list);\r\n list.add(20, 40);\r\n System.err.println(list);\r\n list.add(19, 30);\r\n System.err.println(list);\r\n list.add(0, 111);\r\n System.err.println(list);\r\n list.add(1, 222);\r\n System.err.println(list);\r\n list.remove(2);\r\n System.err.println(list);\r\n list.remove(0);\r\n System.err.println(list);\r\n list.set(0, 10);\r\n System.err.println(list);\r\n\r\n }", "title": "" }, { "docid": "9cd6af00562ceb7ec983b5aa713e60de", "score": "0.560763", "text": "public IntArrayList(IntSet list) {\n this(list.size());\n addAll(list);\n }", "title": "" }, { "docid": "796932f96dba419bab4c351b4bf5dbfa", "score": "0.5602032", "text": "public IntArrayList(int size) {\n this.elements = new int[size];\n this.size = 0;\n }", "title": "" }, { "docid": "de6120385541a29ee0cb2e28e6536370", "score": "0.5582428", "text": "public ReferenceArrayList(K[] a, int offset, int length) {\n/* 160 */ this(length);\n/* 161 */ System.arraycopy(a, offset, this.a, 0, length);\n/* 162 */ this.size = length;\n/* */ }", "title": "" }, { "docid": "7ae24f60994423559298d13854f32410", "score": "0.55822855", "text": "private void storeData(String[] arr) {\n \tfor (int j=0; j<arr.length; j++) {\n \t\tint val = Integer.parseInt(arr[j]);\n \t\tArrayList<Integer> list = map.get(val);\n \t\tif (null == list) {\n \t\t\tInteger[] initial_array = new Integer[arr.length];\n \t\t\tArrays.fill(initial_array, 0); // initialize to 0\n \t\t\tlist = new ArrayList<Integer>(Arrays.asList(initial_array));\n \t\t}\n \t\tlist.set(j, list.get(j)+1); //increment counter\n \t\tmap.put(val,list);\n \t}\n }", "title": "" }, { "docid": "4f18b3c949f65464ad8bdf84f0c02e6e", "score": "0.5581357", "text": "public ArrayListQuickSort(){\n \n //set the initial size to 0\n this.size = 0;\n \n //create the ArrayList that will hold the data\n intArray = new ArrayList<Integer>();\n \n }", "title": "" }, { "docid": "f1b0011d5297f16771b489fb91801b2d", "score": "0.5575365", "text": "public ArrayList<Integer> getArrayList() {\n return keyLog;\n }", "title": "" }, { "docid": "1cbad61eb9d5d40b8c45da527a5d8d0b", "score": "0.5555886", "text": "public Arraylist() {\n\t\tthis(10);\n\t}", "title": "" }, { "docid": "5cca16286976b829900eae9e3f681c2f", "score": "0.553498", "text": "@Override\n\tpublic int hashCode()\n\t{\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + Arrays.hashCode(mData);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "d528809d82d29fb0be216498da9ec0f4", "score": "0.55159944", "text": "@Test\n public void testSummationWithDuplicates() {\n int[] arr = {1,2, 3, 3};\n IntegerList list = new IntegerList(arr);\n int oneIndex = list.search(1);\n int threeIndex = list.search(3);\n assertEquals(4, list.add(oneIndex, threeIndex));\n }", "title": "" }, { "docid": "15c3d18d2b78d285e04561609c00c83f", "score": "0.55134755", "text": "public BBDRowArrayList() {\n super();\n }", "title": "" }, { "docid": "aefa19c8a09e084081d75e7b3b3b6e01", "score": "0.5512139", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic ArrayList(int num) {\n\t\tthis.arr = (E[]) new Comparable[num];\n\t\tthis.size = 0;\n\t}", "title": "" }, { "docid": "5046c7405948076340f853e364189448", "score": "0.550551", "text": "List<Integer> CreateIndexList(int length){\n List<Integer> temp = new ArrayList<Integer>();\n\n for (int i = 0; i < length; i++){\n temp.add(i);\n }\n\n return temp;\n }", "title": "" }, { "docid": "73cf0abe9b876722bad2985820827ad5", "score": "0.5486192", "text": "public MyArrayList(){\n\t\tthis.arr = (T[]) new Object[10];\n\t}", "title": "" }, { "docid": "db4ef7f3a9226593a63ba6de9cf7fd9e", "score": "0.54826266", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic ArrayList() {\n\t\tthis.arr = (E[]) new Object[10];\n\t\tthis.size = 0;\n\t}", "title": "" }, { "docid": "5959b4b5182f2bef972568d11a2b48dc", "score": "0.5480445", "text": "private ArrayList<int[]> CloneData(ArrayList<int[]> data) {\n\t\tArrayList<int[]> clone = new ArrayList<int[]>(data.size());\n\t\tint M = data.get(0).length;\n\t\tfor (int i = 0; i < data.size(); i++) {\n\t\t\tint[] arr = data.get(i);\n\t\t\tint[] arrClone = new int[M];\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tarrClone[j] = arr[j];\n\t\t\t}\n\t\t\tclone.add(arrClone);\n\t\t}\n\t\treturn clone;\n\t}", "title": "" }, { "docid": "583c35a2572ab5c53a51b5bbb4ec6e11", "score": "0.5476544", "text": "public ArrayList<T> GetData() {\r\n\t\treturn copy;\r\n\t}", "title": "" }, { "docid": "825d4d906000f2ced6ad614ec4ceecbf", "score": "0.54713434", "text": "public ArrayList() {\n a = (T[]) new Object[10]; //a defined as a list of 10 Objects T\n size = 0;\n }", "title": "" }, { "docid": "fb9ac7fcbcf0bea5eae038a9e4eb1e2a", "score": "0.54657173", "text": "public void SetData(ArrayList<T> data) {\r\n\t\t// copy.clear();\r\n\t\tfor (int i = 0; i < data.size(); i++) {\r\n\t\t\tT y = data.get(i);\r\n\t\t\tcopy.add(y);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0ed840d510a1d2b7a7773fe400c219e1", "score": "0.5464478", "text": "public ArrayList(){\n SIZE = 0;\n arr = (T[]) new Object[10];\n }", "title": "" }, { "docid": "7dab7f9ecd395c50a86d2bc0289a0af6", "score": "0.5460203", "text": "public ReferenceArrayList(K[] a) {\n/* 147 */ this(a, 0, a.length);\n/* */ }", "title": "" }, { "docid": "99b605b41a98576f72a78416e80224d6", "score": "0.5453715", "text": "private ArrayList<Type> toArrayHelper(int index, ArrayList<Type> arrayList) {\n\t\t\tarrayList.add(index, data);\n\n\t\t\tif(left != null) {\n\t\t\t\tleft.toArrayHelper(arrayList.indexOf(data), arrayList);\n\t\t\t}\n\n\t\t\tif(right != null) {\n\t\t\t\tright.toArrayHelper(arrayList.indexOf(data)+1, arrayList);\n\t\t\t}\n\t\t\t\n\t\t\treturn arrayList;\n\t\t}", "title": "" }, { "docid": "ae8a6531f06e375dd51cc64f2a1ca31b", "score": "0.5423379", "text": "public static void main(String[] args) {\n\t\t\n\t\tArrayList list=new ArrayList();\n\t\t\n\t\tArrayList list1=new ArrayList(10);\n\t\t// capacity\n\t\t\n\t\tArrayList list2=new ArrayList(list1);\n\t\t//list2 will take value and capacity of list1\n\t\t\n\t\tArrayList <Integer> list3=new ArrayList<>();\n\t\t\n\t\t\n\t\tArrayList <Integer> list4=new ArrayList<Integer>();\n\t\t\n\t\t\n\t\tList list5=new ArrayList();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tList animal=new ArrayList();\n\t\t\n\t\t//add() method\n\t\tanimal.add(\"Dog\");\n\t\tanimal.add(\"Cat\");\n\t\tanimal.add(\"Chicken\");\n\t\tanimal.add(1, \"Parrot\");\n\t\tanimal.add(3, \"Cow\");\n\t\tanimal.add(0, \"Bird\");\n\t\t\n\t\tSystem.out.println(animal);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tanimal.add(true);// autoboxing\n\t\tanimal.add(123); // cause of the autoboxing we can store the value. it will automatically converted \n\t\t//to the object\n\t\t\n\t\tanimal.add(Boolean.TRUE);// Wrapper Class Boolean object\n\t\t\n\t\tSystem.out.println(animal);\n\t\t\n\t\t\n\t\t//get() method\n\t\t\n\t\tSystem.out.println(animal.get(3));\n\t\t\n\t\t // we also can use animal.size()\n\t\tfor(int i=0; i<9; i++) {\n\t\t\tSystem.out.println(\"Animal kind is: \" +animal.get(i));\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t//remove() method\n\t\t\n\t\tanimal.remove(\"Dog\"); //key sensitive, it will remove from ArrayList\n\t\tanimal.remove(\"Dog\"); //after removing first time it will run and not throw element \n\t\tanimal.remove(5); // cause 10 is bigger than the size of ArrayList.\n\t\t//will give the runtime IndexOutOfBoundException\n\t\t\n\t\tanimal.remove(2);\n\t\t\n\t\tSystem.out.println(animal);\n\t\t\n\t\t\n\t\t//set() method\n\t\tanimal.set(1, \"Cat\");\n\t\t//will replace the element of thw arrayList on the specified location\n\t\tSystem.out.println(animal);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t//isEmpty() method\n\t\tSystem.out.println(animal.isEmpty());\n\t\t\n\t\t\n\t\t//size() method\n\t\tSystem.out.println(animal.size());\n\t\t\n\t\t\n\t\t//clear() method\n\t\t//animal.clear();\n\t\t\n\t\t\n\t\t//contains() method\n\t\tSystem.out.println(animal.contains(\"Cow\"));\n\t\tSystem.out.println(animal.contains(\"O\"));\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n List <String> animal1=new ArrayList();\n\t\t\n\t\t//add() method\n\t\tanimal1.add(\"Dog\");\n\t\tanimal1.add(\"Cat\");\n\t\tanimal1.add(\"Chicken\");\n\t\tanimal1.add(1, \"Parrot\");\n\t\tanimal1.add(3, \"Cow\");\n\t\tanimal1.add(0, \"Bird\");\n\t\t\n\t\t\n\t\tString[] str=animal1.toArray(new String[1]);\n\t\t\n\t\tSystem.out.println(str[0]);\n\t\t\n\t\t\n\t\t\n String [] app= {\"Instagram\", \"Twitter\", \"Facebook\"};\n\n\tList<String> appl=Arrays.asList(app);\n\t//Arrays.asList() method will convert from array to ArrayList\n\tSystem.out.println(appl.get(0));\n\t\t\n\t\t\n\t\t\n\t//IMPORTANT NOTE:\n\t//When we will convert from Array to ArrayList the size of the ArrayList is fixed.\n\t//We can not add value to ArrayList\n\t\n\n\t\t\n\t\tappl.set(0, \"Snapchat\");\n\t\tSystem.out.println(appl);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tList <Integer> nm=new ArrayList<>();\n\t\tnm.add(10);\n\t\tnm.add(4);\n\t\tnm.add(6);\n\t\tnm.add(8);\n\t\tSystem.out.println(nm);\n\t\t\n\t Collections.sort(nm);//Will sort the ArrayList\n\t\t\n\t\t\n\t\tSystem.out.println(nm);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "216dd21bcd522465550d6995b67b4fc7", "score": "0.5422959", "text": "public ArrayList() {\n\t\tthis(1);\n\t}", "title": "" }, { "docid": "2aad6a2d3dd667443c2d0ba27499f0b7", "score": "0.541875", "text": "public IntArrayList() {\n this(INITIAL_SIZE);\n }", "title": "" }, { "docid": "0c473d95eecce3ec58198e9626f08dff", "score": "0.54178804", "text": "public static void main(String[] args) {\n\n //arrays -> 2,3,1,6,4,11\n List list = new ArrayList();\n //Object[] arr = new Object[]\n\n list.add(11);\n list.add(20);\n list.add(15);\n list.add(18);\n list.add(31);\n list.add(\"String1\");\n\n list.add(2, \"new Element\"); //\n\n\n System.out.println(list);\n\n /*\n * 1. ArrayList is stored exactly like arrays\n * 2. Arrays are kind of static in length.\n *\n * Remember the previousAccountNumbers -> I need to say how many accounts I will have\n *\n * int[] previousAccountNumbers = new int[10];\n *\n * what happens if my entire array is full? Then I can manually create new array of bigger length, copy entire\n * contents from old array to new array\n * and then discard old array and continue to use new array\n *\n * If we use arrayList this is automatically done for us.\n *\n * 1. For arrays you need to store information in contagious memory location\n *\n * if length of arrayList is 3\n * 1000 100\n * 1001 10,'new Element'\n * 1002 12, 10\n * 1003 12\n * ...\n * 1000000000 200, replaced by whats at 99999999\n * 1000000001 200\n * 20000000000\n *\n * -----------------------\n *\n * 2000000000 100\n * 2000000001 \"new Element\"\n * 2000000002 10\n * 2000000003 12\n *\n * 3000000001 200\n *\n * */\n System.out.println(list.get(3)); //Running time for this call is 'constant'\n\n\n //I am changing to what it refers. SO earlier it was refering to ArrayList now it Refers to LinkedList object\n list = new LinkedList();\n //What we can access, depends on the reference variable type.\n //SO besically what vraibles, methods etc we can access depends on List in our example.\n list.add(12);\n list.add(100);\n list.add(\"String\");\n list.add(15);\n list.add(120);\n\n System.out.println(list);\n System.out.println(list.get(3)); //running time for this call is 'n', where n = 3 here\n\n //But what gets executed depends on type of Object the variable is referncing.\n //class implements a interface -> that class is also a child of that interface\n //Polymorphism can be achieved, whenever there is Inheritance. Whenever the reference variable is of type parent, and Object is itself or one of its sublcass\n\n\n //Penalty paid for getting billionth element in ArrayList is say 3 ms, then same penatly is for gettign 1st element\n //Penalty paid for getting billionth element in LinkedList is say 3*Billion ms, then same penatly is for gettign 1st element is 1*3 ms\n\n //ArrayList is fa more effficient for 'get()' wuery than linkedList\n\n /*\n * 12 -> 100 -> String -> 15 -> 120\n *\n * You dont need contagious memory location for linkedList\n *\n * 1000 12 6000 index0\n *\n * 3000 100 4000 index1\n *\n * 4000 String 5000 index2\n *\n * 5000 15 2000 index3\n *\n * 2000 120 -> null index4\n *\n * 6000 90 -> 3000\n *\n * */\n\n //Say I want to add at index 1\n //Penalty paid for inserting an element at any index in a billion element in ArrayList is say 3 * index ms\n //Penalty paid for inserting an element at any index in a billion element LinkedList is say 3 ms\n\n\n //Whenever you want to pick datastructure : Make sure you know time complexity of those operation and weight pros and cons.\n //Say I have application where I am reading all the accountNumbers -> and then I will lookup those accountNumbers to check if they are duplicate or not\n //ArrayList -> perfect since we are mostly doing 'get()'\n\n //But say if my requirement changes tomorrow, and Now I also have to update and delete accounts which are added and deleeted to this list\n //Linkedlist would be perfect here.\n\n //Data-structures should be optimized for the operations we are going to use.\n\n //big O of : O() -> time complexity is always messuared with respect to number of eleemnts inside that datastructure\n\n //Map is equivalnt of ArrayList with difference that 'keys' or 'index' can be Objects instead of numbers\n// list.get(23);\n\n Map map = new HashMap();\n\n map.put(\"strin1\", 12);\n map.put(\"strin2\", 12);\n map.put(\"strin3\", 12);\n map.put(\"strin4\", 12);\n map.put(\"strin4\", 13);//key,value\n\n\n System.out.println(map); //O(1) -> means constant time operation\n System.out.println(map.get(\"strin3\")); //O(1) -> means constant time operation\n\n map = new HashMap();\n Account o1 = new Account(12);\n Account o2 = new Account(12);\n map.put(o1, 200);\n map.put(o2, 400);\n\n// o1.equals(o2);\n\n System.out.println(map);\n\n Comparator comparator = new Comparator() {\n public int compare(Object o1, Object o2) {\n Account a1 = (Account) o1;\n Account a2 = (Account) o2;\n if (a1.accountNumber > a2.accountNumber) return -1;\n if (a1.accountNumber < a2.accountNumber) return 1;\n return 0;\n }\n };\n\n map = new TreeMap(comparator); //we need comparators or comparable because treemap needs a notion of how to sort elements\n\n\n Account o3 = new Account(121);\n map.put(o1, 200);\n map.put(o3, 400);\n\n System.out.println(\"TreeMap\");\n System.out.println(map);\n\n\n //Set -> unordered -> bag of objects -> contains query is O(1) -> prevousAccountSet.contains(newAccountNumber)\n\n }", "title": "" }, { "docid": "12600c8d09c26ed4d4dc6a975cc5c51c", "score": "0.5390278", "text": "public static void main(String[] args) {\n\t\tint a[]= {1,3,2,3,4,5,3,3,4,6,5,1,2};\n\t\tArrayList al=new ArrayList();\n\tfor(int i=0;i<a.length;i++)\n\t{\n\t\tint k=0;\n\t\tif(!al.contains(a[i]))\n\t\t{\n\t\t\tal.add(a[i]);\n\t\t\tk++;\n\t\t\tfor(int j=i+1;j<a.length;j++)\n\t\t\t{\n\t\t\t\tif(a[i]==a[j])\n\t\t\t\t{\n\t\t\t\t\tk++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(a[i]+\"\"+k);\n\t\t\tif(k==1)\n\t\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n\t\t\n\t}", "title": "" }, { "docid": "9e1994d1080e858328233570f621fdbb", "score": "0.5379369", "text": "public MyArrayList(int c) {\n\t\tthis.arr = (T[]) new Object[c];\n\t}", "title": "" }, { "docid": "c371d6c1e91c5e1e5a83a181a1efca7d", "score": "0.53717417", "text": "MyArrayList(){\r\n capacity=100;\r\n size=0;\r\n arr=(E[])new Object[capacity];\r\n\r\n }", "title": "" }, { "docid": "a7c6c7ca30159e3f9a6d5acc4d80a27d", "score": "0.53695667", "text": "public OpenHashSet(java.lang.String[] data) {\r\n super();\r\n this.array = new Wrapper[INITIAL_CAPACITY];\r\n this.size = INITIAL_SIZE;\r\n for (String item : data) {\r\n add(item);\r\n }\r\n }", "title": "" }, { "docid": "af3653efb239c7174b0c4bf0a272020f", "score": "0.53573775", "text": "public interface ArrayList extends Array{\n void ensureCapacity(int index);\n}", "title": "" }, { "docid": "92bbcb069d76206e2e2cb399a149ea98", "score": "0.53477854", "text": "public static void main(String [] args) {\n\n int[] x = {5, 8, 3, 2};\n System.out.println(Arrays.toString(x));\n x[0] = 23;\n System.out.println(Arrays.toString(x));\n\n\n // using ArrayList\n\n ArrayList<Integer> y = new ArrayList<Integer>();\n y.add(23);\n y.add(20);\n y.add(77);\n y.remove(y.size()-1);\n System.out.println(y);\n\n // creaing an array list with the values all at once.\n\n ArrayList<Integer> anothaOne = new ArrayList<Integer>(Arrays.asList(23,5,7,81,45));\n System.out.println(anothaOne);\n\n // multiple data types\n\n ArrayList<Object> mixedBag = new ArrayList<Object>(Arrays.asList(23,\"Jordan\",true,'a', 32.9));\n System.out.println(mixedBag);\n }", "title": "" }, { "docid": "49954548ff0b958d33540e4b0802d2fc", "score": "0.53399855", "text": "public MyHashSet(String[] data){\n\t\tthis.capacity = DEFAULT_CAPACITY;\n\t\tthis.upperLoadFactor = DEFAULT_UPPER_LOAD_FACTOR;;\n\t\tthis.lowerLoadFactor = DEFAULT_LOWER_LOAD_FACTOR;\n\t\tbuckets = new LinkedList[this.capacity];\n\t\t// adds to the set the values in the array\n\t\tfor(int i=0; i<data.length; i++){\n\t\t\tadd(data[i]);\n\t\t}\n\t}", "title": "" }, { "docid": "e65089e4929c8e471f889363a419cca6", "score": "0.5334463", "text": "public static void main(String args[]) {\n\t\tArrayList<String> al = new ArrayList<String>();\n\t\tSystem.out.println(\"Size ban dau cua ArrayList la: \\n\" + al.size());\n\n\t\t// them cac phan tu toi array list\n\t\tal.add(\"C\");\n\t\tal.add(\"A\");\n\t\tal.add(\"C\");\n\t\tal.add(\"B\");\n\t\tal.add(\"D\");\n\t\tal.add(\"F\");\n\t\tal.add(1, \"A2\");\n\n\t\tSystem.out.println(\"Size cua ArrayList sau khi them la: \\n\" + al.size());\n\n\t\t// display the array list\n\t\tSystem.out.println(\"Noi dung cua ArrayList la: \\n\" + al);\n\t\t// xoa cac phan tu tu array list\n\t\tal.remove(\"F\");\n\t\tal.remove(2);\n\t\tal.set(1, \"XX\");\n\t\tSystem.out.println(\"Size cua ArrayList sau khi xoa la: \\n\" + al.size());\n\t\tSystem.out.println(\"Noi dung cua ArrayList la: \" + al);\n\n\t\tSystem.out.println();\n\n\t\tIterator<String> i = al.iterator();\n\t\twhile (i.hasNext()) {\n\t\t\tSystem.out.print(i.next() + \" \");\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t\t\n\t\tList<Integer> al2 = new ArrayList<>();\n al2.add(3);\n al2.add(2);\n al2.add(null);\n al2.add(4);\n al2.add(1);\n\t\t\n System.out.println(\"\\nMảng 2: \\n\" + al2);\n \n System.out.println(\"\\nMảng 2 foreach: \\n\");\n \n for (Integer b : al2) {\n System.out.print(b + \" \");\n }\n \n System.out.println(\"\\n\");\n \n ListIterator<Integer> a = al2.listIterator();\n while (a.hasNext()) {\n System.out.println(a.nextIndex() + \" -> \" + a.next());\n }\n System.out.println();\n \n while (a.hasPrevious()) {\n System.out.println(a.previousIndex()+ \" -> \" + a.previous());\n }\n System.out.println();\n\n\t}", "title": "" }, { "docid": "2d962f096f7ada3627edb581b868c673", "score": "0.5333749", "text": "public CustomArrayList()\r\n\t{\r\n\t\tSystem.out.println(\"Constructor call creates an array object of 10 elements\\n\");\r\n\t\tarrayObject = new Object[10]; // Default ArraySize is 10 elements\r\n\t}", "title": "" }, { "docid": "da2f0c18c73500b1bb0bf95dd1ab8867", "score": "0.53263026", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t\tArrayList<String> a = new ArrayList<String>();\r\n\t\ta.add(\"abc\");\r\n\t\ta.add(\"abc\");\r\n\t\ta.add(\"zxc\");\r\n\t\tSystem.out.println(a);\r\n\t\ta.add(0,\"student\");\r\n\t\tSystem.out.println(a);\r\n\t\tSystem.out.println(a.contains(\"abc\"));\r\n\t\tSystem.out.println(a.indexOf(\"zxc\"));\r\n\t\tSystem.out.println(a.get(0));\r\n\t\tSystem.out.println(a.size());\r\n\t\tSystem.out.println(a.set(2, \"ddd\"));\r\n\t\tSystem.out.println(a.isEmpty());\r\n\t\tSystem.out.println(a);\r\n\t\t\r\n\t\t Iterator<String> it = a.iterator();\r\n\t\t while (it.hasNext()) {\r\n\t\t\t System.out.println(it.next());\r\n\t\t }\r\n\t\t\r\n\t\t\t\t\r\n\t}", "title": "" }, { "docid": "b435a85743de354679c64c4be705f64e", "score": "0.5321573", "text": "protected boolean doesCollectionSupportDuplicateElements() {\n return true;\n }", "title": "" }, { "docid": "698bda18508405cc8571304105c8bb86", "score": "0.53135675", "text": "public static void main(String[] args) {\n List<String> animals = new ArrayList<>();\n\n // Adding new elements to the ArrayList\n animals.add(\"Lion\");\n animals.add(\"Tiger\");\n animals.add(\"Cat\");\n animals.add(\"Dog\");\n\n System.out.println(animals);\n\n // Adding an element at a particular index in an ArrayList\n animals.add(2, \"Elephant\");\n\n System.out.println(animals);\n\n List<Integer> firstFivePrimeNumbers = new ArrayList<>();\n firstFivePrimeNumbers.add(2);\n firstFivePrimeNumbers.add(3);\n firstFivePrimeNumbers.add(5);\n firstFivePrimeNumbers.add(7);\n firstFivePrimeNumbers.add(11);\n\n System.out.println(\"five prime number arrayList:\" + firstFivePrimeNumbers);\n\n // Creating an ArrayList from another collection\n List<Integer> firstTenPrimeNumbers = new ArrayList<>(firstFivePrimeNumbers);\n\n\n List<Integer> nextFivePrimeNumbers = new ArrayList<>();\n nextFivePrimeNumbers.add(13);\n nextFivePrimeNumbers.add(17);\n nextFivePrimeNumbers.add(19);\n nextFivePrimeNumbers.add(23);\n nextFivePrimeNumbers.add(29);\n\n // Adding an entire collection to an ArrayList\n firstTenPrimeNumbers.addAll(nextFivePrimeNumbers);\n\n System.out.println(\"Creating an ArrayList from another collection:\" + firstTenPrimeNumbers);\n\n }", "title": "" }, { "docid": "15b4cbc1bc7997d4e75b3a1015013090", "score": "0.5302221", "text": "public static void main(String[] args){\n List<Integer> integers = new ArrayList<Integer>();\n //below allowed because of auto boxing\n integers.add(5);//new Integer (5)\n\n int i;\n int a[] = {1,2,3,4,5};\n //Arrays\n\n //ArrayList\n List<String> batsmen = new ArrayList<String>();\n\n //adds at the end of list\n batsmen.add(\"Sachin\");//[Sachin]\n batsmen.add(\"Ramesh\");//[Sachin, Ramesh]\n batsmen.add(0, \"Sudha\");//[Sudha,Sachin,Ramesh]\n //list allows duplicates\n batsmen.add(\"Sachin\");//[Sudha,Sachin,Ramesh,Sachin]\n\n System.out.println(batsmen.indexOf(\"Sachin\"));//1, only first occurent\n System.out.println(batsmen.size());//4\n System.out.println(batsmen.contains(\"Sudha\"));//true\n\n //Iterating around a list only when you want to modify a list\n //otherwise use foreach()\n Iterator<String> arraylistIterator = batsmen.iterator();\n while(arraylistIterator.hasNext()){\n String str = arraylistIterator.next();\n if (str.equals(\"Sachin\")){\n System.out.println(\"Found him\");//prints twice\n }\n }\n System.out.println(batsmen);//[Sudha, Sachin, Ramesh, Sachin]\n batsmen.remove(\"Sachin\");//[Sudha, Ramesh, Sachin] - removes only first occurrence\n System.out.println(batsmen);\n batsmen.remove(0);//[Ramesh, Sachin]\n System.out.println(batsmen);\n\n //Sorting Colloections\n List<String> numbers = new ArrayList<String>();\n numbers.add(\"one\");\n numbers.add(\"two\");\n numbers.add(\"three\");\n numbers.add(\"four\");\n numbers.add(\"five\");\n System.out.println(numbers);//[one,two,three,four]\n\n //Sorting by default sorts alphabetically\n Collections.sort(numbers);\n System.out.println(numbers);//[five, four, one, three, two]\n\n List<Cricketer> cricketers = new ArrayList<Cricketer>();\n cricketers.add(new Cricketer(\"Bradman\", 9996));\n cricketers.add(new Cricketer(\"Sachin\", 14000));\n cricketers.add(new Cricketer(\"Dravid\", 12000));\n cricketers.add(new Cricketer(\"Ponting\", 11000));\n System.out.println(cricketers);\n //Cricketer class must implement Comparable Interface to use sort(cricketers)\n Collections.sort(cricketers);\n System.out.println(cricketers);\n\n //sets\n //Sets do not allow duplicates\n //HashSet doesn't support ordering\n Set<String> hashset = new HashSet<String>();\n\n hashset.add(\"Sachin\");\n System.out.println(hashset);//[Sachin]\n hashset.add(\"Dravid\");\n System.out.println(hashset);//[Sachin,Dravid]\n hashset.add(\"Sachin\");//returns false, since sachin is a duplicate\n System.out.println(hashset);//[Sachin,Dravid]\n\n //TreeSet stores objects in Sorted Order\n Set<String> treeSet = new TreeSet<String>();\n treeSet.add(\"Sachin\");\n System.out.println(treeSet);//[Sachin]\n treeSet.add(\"Dravid\");\n System.out.println(treeSet);//[Dravid, Sachin]\n treeSet.add(\"Ganguly\");\n System.out.println(treeSet);//[Dravid,Ganguly, Sachin]\n treeSet.add(\"Sachin\");//duplicate doesn't get added\n System.out.println(treeSet);//[Dravid,Ganguly, Sachin]\n }", "title": "" }, { "docid": "58c88b5083e5c3c79895114e4bbb764b", "score": "0.530132", "text": "public MyArrayList(int value) {\n arrayLenght(value);\n }", "title": "" }, { "docid": "b7c1871e78b7f49c136c5b88c22239b9", "score": "0.5295234", "text": "public CopyOnWriteArraySet() {\n al = new CopyOnWriteArrayList<E>();\n }", "title": "" }, { "docid": "3d5c769cf75aa2ed0bffab6e5727909b", "score": "0.5288663", "text": "public static <T> ArrayList<T> m2111eH() {\n return new ArrayList<>();\n }", "title": "" }, { "docid": "6f3a6fb58094d31222ec96693e8930a0", "score": "0.52879345", "text": "@SuppressWarnings(\"unchecked\")\n public ListMap(){\n entries = new ListMapEntry[4];\n backingMap = new HashMap<K, V>(4);\n// entries = new ArrayList<ListMapEntry<K,V>>();\n }", "title": "" }, { "docid": "f833ac926d77444cfb147b891a23dcec", "score": "0.52830005", "text": "public ArrayIndexedCollection() {\n\t\tthis(defaultCapacity);\n\t}", "title": "" }, { "docid": "e17b97fa8b6a87a144529027acee6ded", "score": "0.52825034", "text": "public ReferenceArrayList(int capacity) {\n/* 95 */ if (capacity < 0)\n/* 96 */ throw new IllegalArgumentException(\"Initial capacity (\" + capacity + \") is negative\"); \n/* 97 */ if (capacity == 0) {\n/* 98 */ this.a = (K[])ObjectArrays.EMPTY_ARRAY;\n/* */ } else {\n/* 100 */ this.a = (K[])new Object[capacity];\n/* 101 */ } this.wrapped = false;\n/* */ }", "title": "" }, { "docid": "8d6df035f0de3e91659ef5a29d088e19", "score": "0.5271122", "text": "public PaintableArray copyDifferentArray(ArrayList<Integer> list)\n\t\t\t{\n\t\t\t\treturn new PaintableArray(list, x, y, width, height, 1, null);\n\t\t\t}", "title": "" }, { "docid": "e282bb3f6e509e4c21dc5fe31031a56d", "score": "0.5270965", "text": "public static void main(String[] args) {\n ArrayList<Integer> list1 = new ArrayList<>(); \n ArrayList<Integer> list2 = new ArrayList<>(); \n ArrayList<Integer> list3 = new ArrayList<>(); \n System.out.print(\"ArrayList size before adding element >> \"+list1.size()+\"\\t\"+list2.size()+\"\\t\"+list3.size());\n \n /**\n * Adding elements\n */\n \n //* add(Integer e)\n list1.add(10);\n list1.add(20);\n list1.add(40);\n list1.add(30);\n list1.add(50);\n\n //* add(Index i, Integer e)\n list2.add(0,10);\n list2.add(1,20);\n list2.add(2,40);\n list2.add(3,30);\n list2.add(4,50);\n list2.add(60);\n list2.add(70);\n list2.add(80);\n list2.add(90);\n list2.add(100);\n\n\n list3.add(10);\n list3.add(20);\n list3.add(2,40);\n list3.add(3,30);\n list3.add(4,50);\n\n\n /**\n * Printing list\n */\n \n // Novice method\n System.out.println(\"\\n\\nArrayList 1: \");\n System.out.print(list1+\"\\t\");\n System.out.println(\"\\nArrayList size after adding elements >> \"+list1.size());\n \n // Using For-Each Loop\n System.out.println(\"\\nArrayList 2: \");\n for (int i : list2){\n System.out.print(i+\"\\t\");\n }\n System.out.println(\"\\nArrayList size after adding elements >> \"+list2.size());\n \n\n // Using Iterator\n System.out.println(\"\\nArrayList 3: \");\n Iterator itr = list3.iterator();\n while(itr.hasNext()){\n System.out.print(itr.next()+\"\\t\");\n }\n System.out.println(\"\\nArrayList size after adding elements >> \"+list3.size());\n\n /**\n * Removing Elements\n */\n list1.remove(0);\n list2.remove(4);\n list3.remove(2);\n\n System.out.print(\"\\n\\n\"+list1+\"\\t\");\n System.out.println(\"\\nArrayList size after removing elements >> \"+list1.size());\n \n // Using For-Each Loop\n System.out.println(\"\\nArrayList 2: \");\n for (int i : list2){\n System.out.print(i+\"\\t\");\n }\n System.out.println(\"\\nArrayList size after removing elements >> \"+list2.size());\n \n\n // Using Iterator\n System.out.println(\"\\nArrayList 3: \");\n Iterator itr2 = list3.iterator();\n while(itr2.hasNext()){\n System.out.print(itr2.next()+\"\\t\");\n }\n \n /**\n * Clear method\n */\n list1.clear();\n System.out.println(\"\\n\\nArrayList 1: \");\n System.out.println(\"ArrayList size after clearing elements >> \"+list1.size());\n \n\n /**\n * Check whether empty or not\n * returns a booelean value\n * isEmpty\n */\n System.out.println(\"\\nChecking whether ArrayList is empty or not: \");\n boolean b = list1.isEmpty();\n System.out.print(\"List1 > \"+b);\n System.out.println(\"\\nList2 > \"+list2.isEmpty());\n System.out.println(\"List3 > \"+list3.isEmpty());\n\n\n /**\n * Checking whether certain value is present in the list \n * returns a boolean value\n * contains\n */\n System.out.println(\"\\nChecking whether 100 is in the ArrayList:\");\n System.out.println(\"100 in List1 > \"+list1.contains(100));\n System.out.println(\"100 in List2 > \"+list2.contains(100));\n System.out.println(\"100 in List3 > \"+list3.contains(100));\n\n\n /**\n * Index of elements\n * indexOf\n */\n System.out.println(\"\\nChecking index of 30 in the ArrayList:\");\n System.out.println(\"Index of 30 in List1 > \"+list1.indexOf(30));\n System.out.println(\"Index of 30 in List2 > \"+list2.indexOf(30));\n System.out.println(\"Index of 30 in List3 > \"+list3.indexOf(30));\n\n /**\n * Set & Get\n * name.set(Index i, Integer e)\n * name.get(Index i)\n * Set is used for replacing an *existing element in any arraylist.\n * Get is used for getting the element of certain arrays\n */\n\n /**\n * Adding elements from an ArrayList to another ArrayList\n * addAll\n */\n ArrayList<String> list4 = new ArrayList<>();\n ArrayList<String> list5 = new ArrayList<>();\n ArrayList<String> list6 = new ArrayList<>();\n\n // Adding elements\n list4.add(\"Fahim\");\n list4.add(\"Abrar\");\n list4.add(\"Saikat\");\n\n list5.add(0,\"Junaeed\");\n list5.add(1,\"Muhammad\");\n list5.add(2,\"Turin\");\n\n // Printing\n System.out.println(\"\\nList4 >> \"+list4);\n System.out.println(\"List5 >> \"+list5);\n \n // Adding elements to another arraylist\n list6.addAll(list4);\n System.out.println(\"\\nList6 >> \"+list6);\n\n /**\n * Checking whether an ArrayList is equals to another ArrayList\n * equals\n */\n System.out.println(\"\\nList4 = List5 >> \"+list4.equals(list5));\n System.out.println(\"List4 = List6 >> \"+list4.equals(list6));\n\n }", "title": "" }, { "docid": "228c2a200944beff5a419953f0972c73", "score": "0.5262981", "text": "public NaviSet(ArrayList<T> data) {\n this.data = data;\n data.sort(null);\n }", "title": "" }, { "docid": "5cabbb707306cd812db41e1f4f2022ff", "score": "0.5257067", "text": "@Override\r\n\tpublic int hashCode(){\n\t\treturn this.toString().hashCode();\r\n\t\t// hashcode for loop to make sure each array gets multiplied by a unique number to\r\n\t}", "title": "" }, { "docid": "95d69e3f6092d98d87fddc2daf8b625c", "score": "0.5248811", "text": "public ArrayList(int length) {\n\t\tthis.length = length;\n\t\tthis.array = createArray(this.length);\n\t\tthis.size = 0;\n\t}", "title": "" }, { "docid": "5e962b3f0de8ed96edcd38cb549b8747", "score": "0.52420056", "text": "public void add(T element) throws DuplicateEntryException {\n if (null == element) {\n throw new NullNotAllowedException(\"Adding null value to the set is not allowed\");\n }\n\n if (this.contains(element)) {\n\n throw new DuplicateEntryException(\"DuplicateEntryException :\" \n + \" Duplicate elements are not allowed!\");\n }\n\n if (size == capacity) {\n tempArr = new Object[2 * capacity];\n System.arraycopy(listObj, 0, tempArr, 0, size);\n listObj = null;\n listObj = tempArr;\n capacity = 2 * capacity;\n }\n\n listObj[size] = element;\n size += 1;\n }", "title": "" }, { "docid": "75956af9a3660d8fd09cdbb6e22fb639", "score": "0.5241989", "text": "public ArraySet(int capacity) {\n this.capacity = capacity;\n listObj = new Object[capacity];\n size = 0;\n }", "title": "" }, { "docid": "0645ac3aaefa38eea1c8b1828e697646", "score": "0.5241953", "text": "public int[] simple(HashSet<Pair> data) {\n // first we figure out how big of an array we need based on \n // the max value in pairs\n // This is an extra iteration\n // we incur :(\n int N = getN(data);\n \n // Next we create an array of ints\n // with unique values\n int[] items = null;\n try {\n items = new int[N];\n }catch(OutOfMemoryError e) {\n System.out.println(e.getCause());\n return null;\n }\n for(int i=0; i < N; i++) {\n items[i] = i;\n }\n \n // Now we iterate through each pair\n \n for(Pair o: data) {\n int p = o.getP();\n int q = o.getQ();\n // cache the current value at p\n int t = items[p];\n if (items[p] == items[q]) {\n System.out.println(\"same\");\n continue;\n }\n \n for (int i=0; i < N; i++) {\n if (items[i] == t) {\n System.out.println(\"Replacing \" + items[i] + \" with \" + items[q]);\n items[i] = items[q];\n }\n }\n \n System.out.println(o);\n \n }\n System.out.println(Arrays.toString(items));\n return items;\n \n }", "title": "" }, { "docid": "3265b8cdd60df0db43b56143115f5c43", "score": "0.52383125", "text": "public IntegerArrayList(int initiallength)//Taking in inital array size from user\n\t{\n\t\tlist_array= new int[initiallength];\n\t}", "title": "" }, { "docid": "ed1ba0f18e762ad14568ec2e8f6d0cba", "score": "0.52372", "text": "public static void main(String[] args) {\n ArrayList ar = new ArrayList();\n\n ar.add(12);\n ar.add(1213);\n ar.add(12324);\n System.out.println(ar.size());\n ar.add(138);\n ar.add(8982);\n System.out.println(ar.size());\n ar.add(\"fad\");\n ar.add(\"fasdkjfh\");\n ar.add(\"kfhs\");\n ar.add(212.12);\n ar.add('a');\n System.out.println(ar.size());//size of arraylist\n ar.remove(5);\n System.out.println(ar.get(5));//print a value based on index\n //to print all the values of ArrayList\n //1. for loop\n //2. Iterator\n\n for (int i =0;i<ar.size();i++){\n System.out.println(ar.get(i));\n }\n\n\n //Generic\n ArrayList<Integer> arrayListInt = new ArrayList<>();\n arrayListInt.add(213);\n arrayListInt.add(6514);\n\n ArrayList<String> arrayListString = new ArrayList<>();\n arrayListString.add(\"asfjs\");\n arrayListString.add(\"dfjsn\");\n\n ArrayList<Object> arrayListObject = new ArrayList<>();\n arrayListObject.add(12);\n arrayListObject.add(\"safd\");\n arrayListObject.add('s');\n arrayListObject.add(12.21);\n\n //Employee class Objects:\n Employee e1 = new Employee(\"Logan\",22,\"QA\");\n Employee e2 = new Employee(\"James Howlett\",22,\"QA\");\n Employee e3 = new Employee(\"Yokesh\", 22,\"QA\");\n\n //creating ArrayList\n ArrayList<Employee> arrayListEmp = new ArrayList<>();\n arrayListEmp.add(e1);\n arrayListEmp.add(e2);\n arrayListEmp.add(e3);\n\n //Iterator to traverse the values\n Iterator<Employee> it = arrayListEmp.iterator();\n while (it.hasNext()){\n Employee emp = it.next();\n System.out.println(emp.name+\",\"+emp.age+\",\"+emp.dept);\n }\n //addAll\n ArrayList<String> arrayList1 = new ArrayList<>();\n arrayList1.add(\"test\");\n arrayList1.add(\"selenium\");\n arrayList1.add(\"QTP\");\n\n ArrayList<String> arrayList2 = new ArrayList<>();\n arrayList2.add(\"test\");\n arrayList2.add(\"JAVA\");\n arrayList2.add(\"JavaScript\");\n\n //adding 2nd list to 1st\n arrayList1.addAll(arrayList2);\n for (Object o :\n arrayList1) {\n System.out.println(o);\n }\n\n //removeAll\n arrayList1.removeAll(arrayList2);\n for (Object o :\n arrayList1) {\n System.out.println(o);\n }\n ArrayList<String> arrayList3 = new ArrayList<>();\n arrayList3.add(\"test\");\n arrayList3.add(\"selenium\");\n arrayList3.add(\"QTP\");\n\n ArrayList<String> arrayList4 = new ArrayList<>();\n arrayList4.add(\"test\");\n arrayList4.add(\"JAVA\");\n arrayList4.add(\"JavaScript\");\n\n\n\n //retainAll\n arrayList3.retainAll(arrayList4);\n for(int x=0;x<arrayList3.size();x++){\n System.out.println(arrayList3.get(x));\n }\n }", "title": "" }, { "docid": "ab2293802e30cbc3d46d0d8176c6ee63", "score": "0.5236342", "text": "public static void main(String[] args)\n\t{\n\n\t\tint[] Something = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };\n\t\tmyIntArrayList myList1 = new myIntArrayList();\n\t\tmyIntArrayList myList2 = new myIntArrayList(Something);\n\t\tmyIntArrayList myList3 = new myIntArrayList(myList2);\n\n\t\tSystem.out.println(\"Size of myList1: \" + myList1.size());\n\t\tmyList1.print();\n\n\t\tSystem.out.println(\"\\nSize of myList2: \" + myList2.size()+\"\\n\");\n\t\tmyList2.print();\n\n\t\tSystem.out.println(\"\\nSize of myList3: \" + myList3.size());\n\t\tmyList3.print();\n\n\t\t//myIntArrayList myList1 = new myIntArrayList();\n\n\t\tmyList1.add(0, 1);\n\t\tSystem.out.println(\"Size is: \" + myList1.size());\n\t\tSystem.out.println(\"Elements:\");\n\t\tmyList1.print();\n\n\t\tmyList1.add(0, 3);\n\t\tSystem.out.println(\"Size is: \" + myList1.size());\n\t\tSystem.out.println(\"Elements:\");\n\t\tmyList1.print();\n\n\t\tmyList1.add(0, 5);\n\t\tSystem.out.println(\"Size is: \" + myList1.size());\n\t\tSystem.out.println(\"Elements:\");\n\t\tmyList1.print();\n\n\t\tmyList1.add(0, 7);\n\t\tSystem.out.println(\"Size is: \" + myList1.size());\n\t\tSystem.out.println(\"Elements:\");\n\n\t\tmyList1.remove(7);\n\t\tSystem.out.println(\"Size is: \" + myList1.size());\n\t\tSystem.out.println(\"Elements:\");\n\t\tmyList1.print();\n\n\t\tmyList1.remove(7);\n\t\tSystem.out.println(\"Size is: \" + myList1.size());\n\t\tSystem.out.println(\"Elements:\");\n\t\tmyList1.print();\n\t}", "title": "" }, { "docid": "b90ccd9448a556821a4ec320308b4dea", "score": "0.5234921", "text": "@Override\n public ArrayList<T> toArrayList() {\n Collection<T> values = collectionStore.values();\n return new ArrayList<T>(values);\n }", "title": "" }, { "docid": "0e35cc548aa5573299d48cbd84221aa8", "score": "0.5231631", "text": "private void reHash() {\n\t\tPositionList<Entry<K,V>> [] viejo= array;\n\t\tinitialSize=ProximoPrimo(initialSize*2);\n\t\tarray=(ListaDobleEnlace<Entry<K,V>> [])new ListaDobleEnlace [initialSize];\n\t\tfor(int i=0; i<array.length; i++) {//Inicializo todos los buckets con listas vacias\n\t\t\tarray[i]= new ListaDobleEnlace<Entry<K,V>>();\n\t\t}\n\t\tint hKey=-1;\n\t\t\n\t\tfor(int i=0; i<viejo.length; i++) {//Recorro la tabla hash \n\t\t\tfor(Entry<K,V> e: viejo[i]) {//Recorro la lista\n\t\t\t\thKey= hash(e.getKey());\n\t\t\t\tarray[hKey].addLast(e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "070c57c2f4f638875aaee37bd0211d5f", "score": "0.5230874", "text": "public static boolean checkArrayListForDublicates(QuadPatternPosition pos, ArrayList<QuadPatternPosition> array){\n Iterator itr = array.iterator();\n int union=pos.getQuadPatternID().getUnionNo();\n int join = pos.getQuadPatternID().getJoinNo();\n QuadPatternPosition id;\n while(itr.hasNext()){\n id = (QuadPatternPosition) itr.next();\n if(union == id.getQuadPatternID().getUnionNo() && join == id.getQuadPatternID().getJoinNo()){\n return true;\n }\n }\n\n return false;\n}", "title": "" }, { "docid": "6c845abd4133ab92b3bdc98f1d5a672d", "score": "0.52291155", "text": "OrderedIntList()\n\t{\n\t\tlistArray = new int[10];\n\t}", "title": "" }, { "docid": "0d665235bd9b055cf3191e24df79e13b", "score": "0.52244294", "text": "public MyHashSet() {\n numList = new ArrayList<Integer>();\n }", "title": "" }, { "docid": "0f446257e59e12f2781267ab43141c23", "score": "0.52241564", "text": "public static void main(String[] args) {\n int arr[]=new int[10];\n //storing 2 elements\n arr[0]=10;\n arr[1]=12;\n //printing length of array\n System.out.println(arr.length);//10\n\n //Creating ArrayList\n ArrayList<String> list=new ArrayList<String>();\n //storing 2 elements\n list.add(\"ankit\");\n list.add(\"nippun\");\n //printing size of ArrayList\n System.out.println(list.size());//2\n }", "title": "" }, { "docid": "421ed19b41f2937ca79a2a448c011a8b", "score": "0.5222613", "text": "public static void main(String[] args) {\n\n ArrayList<String> a = new ArrayList<String>();\n a.add(\"1\");\n a.add(\"2\");\n a.add(\"3\");\n ArrayList<String> b = (ArrayList<String>) a.clone();\n\n System.out.println(a.hashCode());\n System.out.println(b.hashCode());\n System.out.println(a == b);\n System.out.println(a.equals(b));\n\n System.out.println(System.identityHashCode(a));\n System.out.println(System.identityHashCode(b));\n\n System.out.println(a.get(0).hashCode());\n System.out.println(b.get(0).hashCode());\n System.out.println(a.get(0) == b.get(0));\n\n System.out.println(System.identityHashCode(a.get(0)));\n System.out.println(System.identityHashCode(b.get(0)));\n\n a.remove(1);\n System.out.println(a);\n System.out.println(b);\n }", "title": "" }, { "docid": "245407699fca9efe2aecb86a0e8acce8", "score": "0.5216632", "text": "public List<E> getNonDuplicatedList(){\n return new ArrayList<E>(new HashSet<E>(list));\n }", "title": "" }, { "docid": "5d1b639d327ef7eada7aaf69192612ab", "score": "0.5214852", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tArrayList<String> p1=new ArrayList <String>() ;\r\n\t\t//ADD ELEMENTS\r\n\t\tp1.add(\"JAVA\");\r\n\t\tp1.add(\"C++\");\r\n\t\tp1.add(\"PERL\");\r\n\t\tp1.add(\"PHP\");\r\n\t\tSystem.out.println(p1);\r\n\t\t\r\n\t\t// get elements by index\r\n\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"Element At Index 1 :\" + p1.get(1));\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"Does List Contains JAVA ? \" + p1.contains(\"JAVA\"));\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\t// add element at a specific index\r\n\t\t\r\n\t\tp1.add(2,\"PLAY\");\r\n\t\tSystem.out.println(p1);\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"Is Array List empty ? \" + p1.isEmpty());\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"Index Of PERL Is : \" + p1.indexOf(\"PERL\"));\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"Size Of The ArrayList Is : \" + p1.size());\r\n\t\tSystem.out.println();\r\n\t\tCollections.sort(p1);\r\n\t\tSystem.out.println(p1);\t\t\r\n\t}", "title": "" }, { "docid": "9da9188d910233613b44740cd0b4b899", "score": "0.5212197", "text": "@Nonnull\n public List<IndexWithSize> getDuplicatedIndexes() {\n return indexes;\n }", "title": "" }, { "docid": "09e143758c0e3f5a1390931fc058ba11", "score": "0.5211242", "text": "static ArrayList addobject(ArrayList list, int i) {\n list.add(new Integer(i));\n\n return (list);\n }", "title": "" }, { "docid": "79875457bbf312523ae9c02e576da047", "score": "0.521052", "text": "private ArrayList<Integer> createArray() {\n ArrayList<Integer> array = new ArrayList<>();\n for (int i = 1; i <= 9; i++) {\n array.add(i);\n }\n Collections.shuffle(array);\n return array;\n }", "title": "" }, { "docid": "0b2c077c0d566df5fb65391d146c4da1", "score": "0.520913", "text": "public static void main(String[] args)\r\n\t{\n\t\tArrayList<Integer>arrlist=new ArrayList<Integer>();\r\n\t\tarrlist.add(10);\r\n\t\tarrlist.add(20);\r\n\t\tarrlist.add(60);\r\n\t\tarrlist.add(10);\r\n\t\tint x=0;\r\n\t\tint a=0;\r\n\t\tint b=0;\r\n\t\t\r\n\t\t\r\n\t\tfor(int i=0;i<(arrlist.size()-1);i++)\r\n\t\t{\r\n\t\t\ta=arrlist.get(i);\r\n\t\t\tfor(int z=1;z<(arrlist.size()-1);z++)\r\n\t\t\t{\r\n\t\t\t\tb=arrlist.get(z);\r\n\t\t\t\t\r\n\t\t\t\tif(b==a)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.out.println(\"a\"+a+\"b\"+b);\r\n\t\t\t\t\tx++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(b+\" \"+x);\r\n\r\n\t}", "title": "" }, { "docid": "ebb5ec9dbc867ffa396b9f39962c3d4e", "score": "0.5205787", "text": "public void add(int index, E element)\r\n/* 41: */ {\r\n/* 42: 95 */ this.backingList.add(index, element);\r\n/* 43: */ }", "title": "" }, { "docid": "f24bfb30dea8d5a5678b0cdacfcf15b8", "score": "0.5205394", "text": "public static void main(String[] args) {\n ArrayList<VersionAntigua>androidAntiguos=new ArrayList<VersionAntigua>();\n // VersionAntigua(boolean enPromocion, String camaraFrontal, boolean memoriaExterna, float versionAndorid, int numeroDeSalidas, boolean audifonos, float pantalla, boolean espacialesParaLectura, String referencia) \n VersionAntigua Motorola3g=new VersionAntigua(true,\"de 4 megapixeles\",true, 6.7f,2,true,6.4f,false,\"motorola genuine\",\"negro\",\"Motorola\",120000);\n VersionAntigua Motorolad=new VersionAntigua(false,\"no\",true, 5.2f,2,true,6.4f,false,\"motorola D\",\"rojo\",\"Motorola\",100000);\n VersionAntigua Motorolat=new VersionAntigua(false,\"baja calidad\",false, 6.9f,3,true,5.4f,false,\"motorola T\",\"negro\",\"Motorola\",89000);\n VersionAntigua Huawei=new VersionAntigua(true,\"4 mpx\",true, 5.2f,2,true,6.4f,false,\"hwawei pinrce D\",\"negro\",\"hwahwei\",90000);\n VersionAntigua lenovoLegion=new VersionAntigua(true,\"6 mpx\",true, 6.9f,2,true,6.4f,true,\"lenovo Legion\",\"blanco\",\"lenovo\",130000); \n androidAntiguos.add(Motorola3g);\n androidAntiguos.add(Motorolad);\n androidAntiguos.add(Motorolat);\n androidAntiguos.add(Huawei);\n androidAntiguos.add(lenovoLegion);\n \n // Creacion del hashSet\n HashSet<VersionNueva> androidNuevos=new HashSet<VersionNueva>();\n //public VersionNueva(boolean dobleCamara, String accesorios, boolean recibeBono, float versionAndorid, int numeroDeSalidas, boolean audifonos, float pantalla, boolean espacialesParaLectura, String referencia, String color, String marca, float precio) {\n VersionNueva samsungJ5 =new VersionNueva(true,\"viene con cargador y con estuche\",true,8.1f,3,true,6.5f,true,\"samsung J5\",\"negro\",\"sansung\",1200000f);\n VersionNueva motorolaG3 =new VersionNueva(true,\"parlante\",true,7.1f,3,true,5.5f,false,\"G5\",\"negro\",\"Mortorola\",800000f);\n VersionNueva kalleyInfinx =new VersionNueva(true,\"protector de pantalla y estuche\",true,8.1f,3,true,6.5f,false,\"infinix\",\"blanco\",\"Kaley\",600000f);\n VersionNueva lenovoShark =new VersionNueva(true,\"sin accesorios extra\",true,7.3f,3,true,6.5f,true,\"Shark\",\"blanco\",\"lenovo\",750000f);\n androidNuevos.add(samsungJ5); \n androidNuevos.add(motorolaG3); \n androidNuevos.add(kalleyInfinx); \n androidNuevos.add(lenovoShark); \n \n //Creacion del hashmap \n HashMap<String,IosGAlta> GamaAltaIOS=new HashMap<String ,IosGAlta>();\n //public IosGAlta(String tipoDeSeguro, String adicionales, String colorEstuche, String nombreComercial, float version, int anioLanzamiento, float pantalla, boolean espacialesParaLectura, String referencia, String color, String marca, float precio) {\n IosGAlta ipadPro=new IosGAlta(\"seguro completo, hurto, perdida\",\"nada adicional\",\"rojo o blanco\",\"IPAD PRO\",6.2f,2018,12.0f,true,\"IPAD\",\"blanco\",\"APPLE\",1500000);\n IosGAlta pencil=new IosGAlta(\"seguro solo por pérdita total\",\"bono de descuento en audifonos\",\"blanco\",\"IPAD Pencil\",8.2f,2017,15.0f,true,\"IPAD\",\"blanco , o gris\",\"APPLE\",1300000);\n IosGAlta ios12=new IosGAlta(\"seguro completo, hurto, perdida y bono para cambio en dos años\",\"protector de rayones\",\"negro\",\"IOS 12\",7.5f,2018,8.0f,false,\"IPAD\",\"rojo\",\"APPLE\",1000000);\n GamaAltaIOS.put(\"1. Ipad Pro\",ipadPro);\n GamaAltaIOS.put(\"2. Ipad Pencil\",pencil);\n GamaAltaIOS.put(\"3. Ios12\",ios12);\n GamaAltaIOS.keySet();\n \n \n //By: Juan\n \n //Array List IOSGAMAMEDIA POR QUE ES QUE NO HAY BAJA ...JAJJA :D\n ArrayList<IosGMedia>iosGamaMedia=new ArrayList<IosGMedia>();\n //(String bateria, String camara, boolean vidrioTemplado, String nombreComercial, float version, int anioLanzamiento, float pantalla, boolean espacialesParaLectura, String referencia, String color, String marca, float precio)\n IosGMedia ipadAir= new IosGMedia(\"1560 mAh\",\"12 MP\",true,\"iPad Air\",5.0f,2014,9.7f,true,\"IPAD\",\"gris\",\"APPLE\",842000);\n IosGMedia ipad2= new IosGMedia(\"1300 mAh\",\"5 MP\",false,\"iPad 2\",3.1f,2011,8.5f,true,\"IPAD\",\"negro\",\"APPLE\",532000);\n IosGMedia ipad= new IosGMedia(\"1200 mAh\",\"5 MP\",true,\"iPad\",7.2f,2011,1.0f,false,\"IPAD\",\"azul\",\"APPLE\",489000);\n IosGMedia ipad3= new IosGMedia(\"1300 mAh\",\"8 MP\",false,\"iPad 3\",8.1f,2012,1.0f,false,\"IPAD\",\"blanco\",\"APPLE\",634000);\n iosGamaMedia.add(ipadAir);\n iosGamaMedia.add(ipad);\n iosGamaMedia.add(ipad2);\n iosGamaMedia.add(ipad3);\n \n //HasSet Portatil Basico\n HashSet<PortatilBasico> portatilesBasicos=new HashSet<PortatilBasico>();\n //int salidasUSB, boolean salidaHDMI, boolean salidaVGA, String sOperativo, String peso, boolean unidadCD, String procesador, String ram, int discoDuro, String tipo, String color, String marca, float precio)\n PortatilBasico portatilAsus= new PortatilBasico(2,true,true,\"Windows 10\",\"1500 gr\",false,\"Intel Core i3\",\"4 GB\",1024,\"ASUS X540L\",\"Dorado\",\"ASUS\",1098000.0f);\n PortatilBasico portatilLenovo = new PortatilBasico(3,true,false,\"Windows 10 Home\",\"1100 gr\",true,\"Intel Pentium J4205\",\"8 GB\",1024,\"All In One\",\"Negro\",\"Lenovo\",958000.0f);\n PortatilBasico portatilHp= new PortatilBasico(3,true,false,\"FreeDos 2.0\",\"1650 gr\",false,\"APU AMD E2\",\"4 GB\",500,\"HP 245 G6\",\"Blanco\",\"HP\",719000f);\n PortatilBasico portatilDell= new PortatilBasico(2,false,false,\"Windows 8\",\"2100 gr\",false,\"Intel Core i3\",\"4 GB\",1024,\"Inspion 14\",\"ROJO\",\"DELL\",1384000.0f);\n portatilesBasicos.add(portatilAsus);\n portatilesBasicos.add(portatilLenovo);\n portatilesBasicos.add(portatilHp);\n portatilesBasicos.add(portatilDell);\n \n //TreeMap Portatil Gamer\n TreeMap<String,PortatilGamer> portatilesGamers=new TreeMap<String,PortatilGamer>();\n // (String targetaGrafica, int gigasdeVideo, String tipodeSonido, String sOperativo, String peso, boolean unidadCD, String procesador, String ram, int discoDuro, String tipo, String color, String marca, float precio)\n PortatilGamer portatilAcer=new PortatilGamer(\"Nvidia GeForce GTX 1050 \",4,\"No definido\",\"Windows 10\",\"2100gr\",true, \"Intel Core i5 7300HQ\",\"12 GB\",1024,\"VX-591G\",\"Rojo y Negro\",\"ACER\",3560000.0f);\n PortatilGamer portatilHP=new PortatilGamer(\"NVIDIA GeForce MX110\",4,\"No definido\",\"Windaws 10\",\"2000gr\",false, \" Intel Core i5\",\"8 GB \",1024,\"HP 15-da0011la\",\"Negro\",\"HP\",1749000.0f);\n PortatilGamer portatilLenovo2=new PortatilGamer(\"NVIDIA GeForce GTX 1050\",4,\"No definido\",\"Windows 10\",\"2050gr\",true, \"Intel i7-7700HQ\",\"16 GB\",2048,\"Legion Y520 Gaming\",\"Rojo\",\"LENOVO\",4497000.0f);\n PortatilGamer portatilAsus2=new PortatilGamer(\"NVIDIA GeForce GTX 1050 \",4,\"No definido\",\"Windows 10\",\"1900gr\",true,\"Intel Core i5\",\"8 GB\",1024,\"ASUS TUF Gaming FX504\",\"Negro\",\"ASUS\",3190000.0f);\n portatilesGamers.put(portatilAcer.getMarca(),portatilAcer);\n portatilesGamers.put(portatilHP.getMarca(),portatilHP);\n portatilesGamers.put(portatilLenovo2.getMarca(),portatilLenovo2);\n portatilesGamers.put(portatilAsus2.getMarca(),portatilAsus2);\n portatilesGamers.keySet();\n \n //By: Carlos\n // Computadores de Oficina\n HashSet<ComputadoresOficina> pcOficina=new HashSet<ComputadoresOficina>();\n \n ComputadoresOficina lenovov310z = new ComputadoresOficina (true, true, true, true, \"19.5 Pulgadas\", false, \"Intel Core i5-7400\", \"4GB\", 1000, \"Lenovo V310z\", \"negro\", \"Lenovo\", 2790000);\n ComputadoresOficina vostro3267 = new ComputadoresOficina (false, true, false, false, \"18 Pulgadas\", false, \"Intel Core i3-6100\", \"4GB\", 1000, \"Vostro 3267\", \"negro\", \"Dell\", 1820000);\n ComputadoresOficina lg082 = new ComputadoresOficina (true, true, true, false, \"20 Pulgadas\", true, \"Intel pentium dual core G-2360\", \"4GB\", 1000, \"LG082EL12AK16LCO\", \"negro\", \"LG\", 1129900);\n pcOficina.add(lg082);\n pcOficina.add(lenovov310z);\n pcOficina.add(vostro3267);\n \n // Computadores para el hogar\n HashMap<String,ComputadoresHogar> pcHogar=new HashMap<String ,ComputadoresHogar>();\n //boolean promocionConImpresora, boolean forro, boolean parlantesIncluidos, boolean integrado, String pantalla, boolean tecladoEspecial, String procesador, String ram, int discoDuro, String tipo, String color, String marca, float precio\n ComputadoresHogar hp20c=new ComputadoresHogar (false, false, true, true, \"20 Pulgadas\", false, \"Intel Core i5 7200U\", \"4GB\", 1000, \"HP 20-c405la\", \"Negro\", \"HP\", 1399000);\n ComputadoresHogar acersr11=new ComputadoresHogar (false, true, false, true, \"21.5 Pulgadas\", false, \"Intel Core i3 8130U\", \"4GB\", 1000, \"ACER - SR11\", \"Plata\", \"Acer\", 1700000);\n ComputadoresHogar lenovo520=new ComputadoresHogar (true, false, false, true, \"2.5 Pulgadas\", true, \"Intel Pentium 4415U 2.3G 2C\", \"4GB\", 1000, \"Lenovo - 520 22IKU\", \"Plata\", \"Lenovo\", 1459000);\n pcHogar.put(\"Opcion 1\",hp20c);\n pcHogar.put(\"Opcion 2\",acersr11);\n pcHogar.put(\"Opcion 3\",lenovo520);\n \n \n Imprimir.saludo();\n \n \n int u, q,p,f,h,j;\n\n do{\n \n Imprimir.menu(); \n p=Imprimir.leerPantalla();\n switch(p){\n \n case 1: \n do{ u=1;\n Imprimir.menu2();\n q=Imprimir.leerPantalla(); \n \n switch(q){\n case 1:\n do{j=1;\n Imprimir.menu7();\n h=Imprimir.leerPantalla();\n switch(h){\n case 1:System.out.println(\"\\nComputadores para el hogar:\");\n \n System.out.println(\"----------\");\n System.out.println(pcHogar);\n System.out.println(\"---------\\n\");\n break;\n case 2:System.out.println(\"\\nComputadores para oficinas:\");\n System.out.println(\"----------\");\n System.out.println(pcOficina);\n System.out.println(\"---------\\n\");\n break;\n case 3:j=0; break;\n case 0:System.exit(0);\n default:System.out.println(\"Opcion Invalida\");break; \n } \n }while(j!=0);\n break;\n case 2:\n do{\n j=1;\n Imprimir.menu6();\n h=Imprimir.leerPantalla();\n switch(h){\n case 1:System.out.println(\"\\nComputadores Gamer:\");\n System.out.println(portatilesGamers.keySet());\n System.out.println(\" 1 2 3 4\"); \n System.out.println(\"5. opcion para salir\");\n System.out.println(\"---------\\n\"); \n \n f=Imprimir.leerPantalla(); \n switch(f){\n case 1:System.out.println(portatilesGamers.get(\"ACER\")); break;\n case 2:System.out.println(portatilesGamers.get(\"HP\"));break;\n case 3:System.out.println(portatilesGamers.get(\"LENOVO\"));break;\n case 4:System.out.println(portatilesGamers.get(\"ASUS\"));\n default:System.out.println(\"opcion incorrecta\");\n \n } \n break;\n case 2:System.out.println(\"\\nComputadores Basico:\");\n System.out.println(\"----------\");\n System.out.println(portatilesBasicos);\n System.out.println(\"---------\\n\");\n break;\n case 3: j=0;break;\n case 0:System.exit(0);\n default:System.out.println(\"Opcion Invalida\");break; \n } \n }while(j!=0);\n break;\n case 3: u=0; break;\n case 0: System.exit(0);\n default:System.out.println(\"Opcion Invalida\");break;\n }}while(u!=0);\n break; \n case 2: \n do{ u=1;\n Imprimir.menu3();\n q=Imprimir.leerPantalla(); \n \n switch(q){\n case 1:\n do{j=1;\n Imprimir.menu4();\n h=Imprimir.leerPantalla();\n switch(h){\n case 1:System.out.println(\"\\nAndroid Antiguos:\");\n System.out.println(\"----------\");\n Imprimir.menu9();\n f=Imprimir.leerPantalla();\n for (int i = 0; i < androidAntiguos.size(); i++) {\n\t\t\t if(f==i){\n System.out.println(androidAntiguos.get(i));\n i=androidAntiguos.size();\n }else if(f==6){\n System.out.println(iosGamaMedia);\n i=androidAntiguos.size();\n\t\t }\n }break; \n case 2:System.out.println(\"\\nAndroid Nuevos:\");\n System.out.println(\"----------\");\n System.out.println(androidNuevos);\n System.out.println(\"---------\\n\");\n break;\n case 3:j=0;break;\n case 0: System.exit(0);\n default:System.out.println(\"Opcion Invalida\");break; \n } \n }while(j!=0);\n case 2:\n do{j=1;\n Imprimir.menu5();\n h=Imprimir.leerPantalla();\n switch(h){\n case 1: \n System.out.println(\"\\nIOS gama alta, opciones disponibles:\\n\\n\"); \n System.out.println(GamaAltaIOS.keySet()); \n System.out.println(\"4. opcion para salir\");\n System.out.println(\"---------\\n\"); \n \n f=Imprimir.leerPantalla(); \n switch(f){\n case 1:System.out.println(GamaAltaIOS.get(\"1. Ipad Pro\")); break;\n case 2:System.out.println(GamaAltaIOS.get(\"2. Ipad Pencil\"));break;\n case 3:System.out.println(GamaAltaIOS.get(\"3. Ios12\"));break;\n default:System.out.println(\"opcion incorrecta\");\n \n } \n break;\n case 2:\n System.out.println(\"\\nIOS gama Media:\");\n System.out.println(\"----------\");\n Imprimir.menu8();\n f=Imprimir.leerPantalla();\n for (int i = 0; i < iosGamaMedia.size(); i++) {\n\t\t\t if(f==i){\n System.out.println(iosGamaMedia.get(i));\n i=iosGamaMedia.size();\n }else if(f==5){\n System.out.println(iosGamaMedia);\n i=iosGamaMedia.size();\n\t\t }\n }break; \n case 3:j=0;break;\n case 0:System.exit(0);\n default:System.out.println(\"Opcion Invalida\");break; \n } \n }while(j!=0); break;\n case 3:u=0;break;\n case 0:System.exit(0);\n default:System.out.println(\"Opcion Invalida\");break;\n } \n }while(u!=0);\n break;\n default:\n System.out.println(\"Opción Invalida\");\n break;\n }\n }while(p!=0);\n }", "title": "" }, { "docid": "02f5576579ef8c175aff08c03d2199c8", "score": "0.51885647", "text": "OrderedIntList ()\n\t{\n\t\tarray = new int[10];\n\t}", "title": "" }, { "docid": "aa3ab8711944edc4a51bd44574d91378", "score": "0.51801723", "text": "private void aumentaData(){\n\t\tInteger aux[]= new Integer[data.length*2]; \n\t\tfor(int i=0; i<data.length; i++){\n\t\t\taux[i] = data[i];\n\t\t}\n\t\tdata = aux;\n\t}", "title": "" }, { "docid": "b3e7e05549a52b3ab870bee333057107", "score": "0.51792073", "text": "@Override\r\n\tpublic void add(int index, Object element) {\n\t\t\r\n\t}", "title": "" }, { "docid": "7adb9b127e29cc7f5c4b3d3dc10232f1", "score": "0.5176379", "text": "public static void main(String[] args) {\n\t\tArrayList list = new ArrayList();\n\t\tlist.add(55);\n\t\tlist.add(45);\n\t\tlist.add(\"Ashish\");\n\t\tlist.set(2, 66);\n\t\tDemo d = new Demo(5);\n\t\tDemo d1 = new Demo(5);\n\t\tDemo d2 = null;\n\t\tHashSet<Demo> hs = new HashSet<>();\n\t\ths.add(d);\n\t\ths.add(d1);\n\t\t\n\t\tSystem.out.println(\"Hashset\"+hs);\n\t\t\n\t\t\n\t\tSystem.out.println(list.get(2).equals(list.get(1)));\n\t\tlist.add(d);\n\t\tfor (Object object : list) {\n\t\t\tSystem.out.println(object);\n\t\t\t\n\t\t}\n\t\tIterator it = list.iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tObject object = it.next();\n\t\t\tSystem.out.println(\"iterator :\"+object);\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(list);\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tSystem.err.println(list.get(i));\n\t\t}\n\n\t}", "title": "" }, { "docid": "e12724d6a0b998e7bd72515d09c76379", "score": "0.5174875", "text": "public static void main(String[] args) {\n\n\n ArrayList<String> a = new ArrayList<String>();\n\n\n a.add(\"JAVA\");\n a.add(\"Selenium\");\n a.add(\"Selenium\");\n //System.out.println(a);\n\n\n a.add(1, \"Divya\");\n System.out.println(a);\n\n a.remove(1);\n a.remove(a.indexOf(\"JAVA\"));\n //a.remove(a.get(1));\n\n //System.out.println(a);\n\n System.out.println(a.get(1));\n\n System.out.println(a.contains(\"DIVYA\"));\n\n System.out.println(a.contains(\"Divya\"));\n\n System.out.println(a.indexOf(\"Divya\"));\n System.out.println(a.isEmpty());\n\n System.out.println(a.size());\n\n //ArrayList implements List Interface which accepts duplicate values\n\n a.add(1, \"Divya\"); //we have already Divya at index 1 which will move further\n\n //a.remove(arg0)\n\n //ArrayList<Character> al=new ArrayList<Character>();\n //ArrayList<Integer> al=new ArrayList<Chara>();\n\n System.out.println(a);\n System.out.println(a.size());\n\n //a.add(7,\"Anumanthu\");//You will get exception\n\n //System.out.println(a);\n //System.out.println(a.size());\n\n //a.contains(\"Java\");//It will check Java string present or not in ArrayList\n\n }", "title": "" }, { "docid": "1a1ace1a659db5fd2ded2842f553da61", "score": "0.5168741", "text": "public static void main(String[] args) {\n Array<Integer> arr = new Array<>(20);\n for (int i=0; i<10; i++){\n arr.addLast(i);\n }\n arr.add(1,100);\n System.out.println(arr);\n\n arr.addFirst(-1);\n System.out.println(arr);\n\n arr.remove(1);\n System.out.println(arr);\n\n arr.addLast(5);\n arr.add(8,5);\n System.out.println(arr);\n\n arr.removeAllElement(5);\n System.out.println(arr);\n }", "title": "" }, { "docid": "038f7c19213e75c0c89e2f05074eda0f", "score": "0.51680934", "text": "public ArraySet(){\r\n\t\r\n \t \r\n\r\n\t\tcount = 0;\r\n\t\tcontents = (T[])(new Object [DEFAULT_CAPACITY]);\r\n\r\n\t}", "title": "" }, { "docid": "6b7bda4ca67c273429bf56957df1b7a8", "score": "0.5166616", "text": "public static ArrayList<Tuple>[] Searching(ArrayList<Tuple> array) throws IndexOutOfBoundsException {\n Comparator<Tuple> comparator = new Comparator<Tuple>() {\r\n public int compare(Tuple tupleA, Tuple tupleB) {\r\n return Integer.compare(tupleA.a, tupleB.a);\r\n }\r\n };\r\n Collections.sort(array, comparator);// to sort the unsorted array\r\n\r\n ArrayList<Tuple> outputarray1 = new ArrayList();\r\n ArrayList<Tuple> outputarray2 = new ArrayList();\r\n int j = 0;\r\n int k=9;\r\n \r\n int beg1 = array.get(0).a;//To start the array with first element\r\n int beg2 = array.get(0).b;\r\n\r\n for (int i = 0; i < array.size() - 1; i++) {\r\n\r\n int d1 = array.get(i + 1).a - array.get(i).a; //Difference between two consecutive tuple\r\n int d2 = array.get(i + 1).b - array.get(i).b; //Difference between two consecutive tuple\r\n \r\n if (d1 == d2) {\r\n j += d1;\r\n }\r\n else {\r\n outputarray1.add(new Tuple(beg1, j + k)); //Adding k because we have taken k = 10 in Similarity.java\r\n outputarray2.add(new Tuple(beg2, j + k));\r\n\r\n j = 0;\r\n\r\n beg1 = array.get(i + 1).a + 1;\r\n beg2 = array.get(i + 1).b + 1;\r\n }\r\n }\r\n outputarray1.add(new Tuple(beg1, j + k));\r\n outputarray2.add(new Tuple(beg2, j + k));\r\n\r\n ArrayList<Tuple>[] ar = new ArrayList[2];// Sorted index array\r\n ar[0] = outputarray1;//for file 1\r\n ar[1] = outputarray2;//for file 2\r\n //System.out.println(\"outputarr1 \"+outputarray1);\r\n //System.out.println(\"outputarr2 \"+outputarray2);\r\n\r\n return ar;\r\n }", "title": "" }, { "docid": "61c89fb60a4c54673ae0df5002f226c8", "score": "0.51566035", "text": "private static IntList[][] create_cache(Piece[] array) {\r\n\t\t// 6 sizes * 20 colors\r\n\t\tIntList[] list_all = new IntList[6 * 20];\r\n\t\tIntList[] list_either = new IntList[6 * 20];\r\n\t\t\r\n\t\tfor(Piece piece : array) {\r\n\t\t\tif(piece == null) continue;\r\n\t\t\t\r\n\t\t\tint color = piece.blob.getColorIndex();\r\n\t\t\tint size = piece.blob.getSizeIndex();\r\n\t\t\t\r\n\t\t\t/* all */ {\r\n\t\t\t\tIntList list = list_all[size + color * 6];\r\n\t\t\t\tif(list == null) {\r\n\t\t\t\t\tlist_all[size + color * 6] = (list = new IntList());\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tlist.add(piece.index);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t/* either */ {\r\n\t\t\t\tfor(int i = 0; i < BlobList.COLORS.length; i++) {\r\n\t\t\t\t\t// Colors is the X axis and has the upper value\r\n\t\t\t\t\t// Sizes is the Y axis and has the lowest value\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(i == color) {\r\n\t\t\t\t\t\t// Add all the colors\r\n\t\t\t\t\t\tfor(int j = 0; j < BlobList.SIZES.length; j++) {\r\n\t\t\t\t\t\t\tif(j == size) continue;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tIntList list = list_either[j + color * 6];\r\n\t\t\t\t\t\t\tif(list == null) {\r\n\t\t\t\t\t\t\t\tlist_either[j + color * 6] = (list = new IntList());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tlist.add(piece.index);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tIntList list = list_either[size + i * 6];\r\n\t\t\t\t\t\tif(list == null) {\r\n\t\t\t\t\t\t\tlist_either[size + i * 6] = (list = new IntList());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tlist.add(piece.index);\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\t\r\n\t\t// Make sure we do not have any null values\r\n\t\tfor(int i = 0; i < list_all.length; i++) {\r\n\t\t\tif(list_all[i] == null) list_all[i] = IntList.emptyList();\r\n\t\t\tif(list_either[i] == null) list_either[i] = IntList.emptyList();\r\n\t\t}\r\n\t\t\r\n\t\treturn new IntList[][] { list_all, list_either };\r\n\t}", "title": "" } ]
45a20c3db058511d7a66eeac6cbf70ab
Instantiates a new gets the parameter value.
[ { "docid": "290ffe599ac530c8bddb79c663400b4d", "score": "0.0", "text": "public GetParameterValue(ACSUnit acsUnit){\n\t\t\tthis.acsUnit = acsUnit;\n\t\t}", "title": "" } ]
[ { "docid": "982ceba0442965b7bf6d47d9c9dc943d", "score": "0.7379291", "text": "Parameter createParameter();", "title": "" }, { "docid": "982ceba0442965b7bf6d47d9c9dc943d", "score": "0.7379291", "text": "Parameter createParameter();", "title": "" }, { "docid": "982ceba0442965b7bf6d47d9c9dc943d", "score": "0.7379291", "text": "Parameter createParameter();", "title": "" }, { "docid": "7c9405e3e3c6b262f76fec9604b1d5f0", "score": "0.7172126", "text": "actualParameter createactualParameter();", "title": "" }, { "docid": "613027d61f054454e19160c7a2af791b", "score": "0.68142617", "text": "public IValue createValue();", "title": "" }, { "docid": "875f14b8a7b8a3847e3cbf376a52a5d0", "score": "0.6727366", "text": "Parm createParm();", "title": "" }, { "docid": "f42cfdb87aed92b5fbe223f3256c3f53", "score": "0.65240175", "text": "public final TriggerParameter createParameter () {\n\t\treturn new TriggerParameter();\n\t}", "title": "" }, { "docid": "68ec57b1569d6a1948517bbfc9b82096", "score": "0.6383192", "text": "VarParameter createVarParameter();", "title": "" }, { "docid": "522680439ec3fbd28b093cd95dce1d08", "score": "0.6197096", "text": "public Parameter() {\r\n\r\n\t}", "title": "" }, { "docid": "6a49be7e01de59524fcb1c987e150587", "score": "0.6103113", "text": "public ParameterValue() {\n // empty constructor (p.e. for reflection)\n }", "title": "" }, { "docid": "62fbad465184436c2c27b2b972224546", "score": "0.60783035", "text": "public ParameterValue(Object value) {\n this.value = value;\n }", "title": "" }, { "docid": "09f44971a0dded9b56e1cd0d1f9eb897", "score": "0.6071798", "text": "ModelParameter createModelParameter();", "title": "" }, { "docid": "b1b60e9c77dc9b75c0709b301de5ec2a", "score": "0.6016512", "text": "public ActivityParam createParam(String name);", "title": "" }, { "docid": "f84ad777b24b6001f67b71daaf768d91", "score": "0.6009914", "text": "Variable createVariable();", "title": "" }, { "docid": "f84ad777b24b6001f67b71daaf768d91", "score": "0.6009914", "text": "Variable createVariable();", "title": "" }, { "docid": "f84ad777b24b6001f67b71daaf768d91", "score": "0.6009914", "text": "Variable createVariable();", "title": "" }, { "docid": "f84ad777b24b6001f67b71daaf768d91", "score": "0.6009914", "text": "Variable createVariable();", "title": "" }, { "docid": "ecac44c32fa355e4a3a15b06896c2d67", "score": "0.5916898", "text": "variable createvariable();", "title": "" }, { "docid": "0c9775ffeffe2aa6467ba7f83a306936", "score": "0.5859183", "text": "public DisciplineParamsEntity createInstance() {\n\t\t// Primary Key values\n\n\t\treturn createInstance( mockValues.nextInteger() );\n\t}", "title": "" }, { "docid": "ff51f4cf0e4136311be4a28088557e94", "score": "0.58301646", "text": "ConcreteValue createConcreteValue();", "title": "" }, { "docid": "71e8409b051e0e908b10c277f16d851e", "score": "0.57711387", "text": "Argument createArgument();", "title": "" }, { "docid": "fe0ae17aa925dd27baee51a8d33a671e", "score": "0.5759705", "text": "ActivityParameterNode createActivityParameterNode();", "title": "" }, { "docid": "35bd87bcac84fb4a449edf5effb39bf2", "score": "0.5759564", "text": "public Param value(Object value) {\n this.value = value.toString();\n return this;\n }", "title": "" }, { "docid": "42eb57896df1041215a121aaad2713e7", "score": "0.5749241", "text": "public org.globus.swift.language.ActualParameter addNewInput()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.globus.swift.language.ActualParameter target = null;\n target = (org.globus.swift.language.ActualParameter)get_store().add_element_user(INPUT$2);\n return target;\n }\n }", "title": "" }, { "docid": "515fb321d29ad00bac0f2245d7a3b278", "score": "0.5723358", "text": "private ParameterFactory() {\n }", "title": "" }, { "docid": "154800824c979f723b52b2a60fc3c76b", "score": "0.5720526", "text": "Field newInstance();", "title": "" }, { "docid": "52f8e10b8a51b76c4884aaf63c41effa", "score": "0.5707997", "text": "public ByValue() {}", "title": "" }, { "docid": "52f8e10b8a51b76c4884aaf63c41effa", "score": "0.5707997", "text": "public ByValue() {}", "title": "" }, { "docid": "52f8e10b8a51b76c4884aaf63c41effa", "score": "0.5707997", "text": "public ByValue() {}", "title": "" }, { "docid": "6e4df2d2b8c65476a57548b8f98369ff", "score": "0.5600704", "text": "protected Parameter(Parameter<?> toCopy, T value) {\n\t\t\tkey = toCopy.key;\n\t\t\tgoogleName = toCopy.googleName;\n\t\t\talwaysAdd = toCopy.alwaysAdd;\n\t\t\tneverAdd = toCopy.neverAdd;\n\t\t\tthis.value = value;\n\t\t\t\n\t\t}", "title": "" }, { "docid": "f19eb2cd5dcd50bfc2841f919571c3be", "score": "0.5596519", "text": "ModelicaFunctionParameter createModelicaFunctionParameter();", "title": "" }, { "docid": "62d313ae8677b86d4ae5e1e7e66f3941", "score": "0.55929685", "text": "Referenceable getParam();", "title": "" }, { "docid": "5ddafb37a74c0ad79571d3c797f1f9ae", "score": "0.5590356", "text": "Values createValues();", "title": "" }, { "docid": "3420a94d05c70f8e7adebf45effc877e", "score": "0.5576393", "text": "QueryParameter createQueryParameter();", "title": "" }, { "docid": "4225706318e31a93fbdb58217a2db6cc", "score": "0.55618393", "text": "public gov.nih.nlm.ncbi.www.Blast4ParameterDocument.Blast4Parameter.Value addNewValue()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.Blast4ParameterDocument.Blast4Parameter.Value target = null;\r\n target = (gov.nih.nlm.ncbi.www.Blast4ParameterDocument.Blast4Parameter.Value)get_store().add_element_user(VALUE$2);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "b2893c9f358ff855a873d2f66cb259fd", "score": "0.5536543", "text": "ParameterType1 getParameter();", "title": "" }, { "docid": "f44814c267e8e4715d02903ada314ca0", "score": "0.5527946", "text": "Object getParameter(String param);", "title": "" }, { "docid": "9b5bdd8f8fcf3ed445d4da8bf4f26654", "score": "0.5523237", "text": "@Override\n public T get() {\n T newInstance = instance;\n\n if (newInstance == null) {\n // First, try getting the object from the root factory\n try {\n newInstance = FactoryManager.getRootFactory().getObject(type, tag);\n } catch (final FactoryException e) {\n logger.info(\"Type \" + type.getName() + \" not found in factory.\");\n }\n\n // If that didn't work, try creating the type directly.\n if (newInstance == null) {\n newInstance = FactoryUtil.createNewObject(type, getConstructorValues());\n }\n }\n\n // If this is supposed to be a singleton instance, store the singleton\n // for next invocation.\n if (singleton) {\n instance = newInstance;\n }\n\n return newInstance;\n }", "title": "" }, { "docid": "0d7ecec21999ff0c448120660026eebf", "score": "0.5514648", "text": "ValueFactory<?> getValueFactory( Object prototype );", "title": "" }, { "docid": "ebf06eeb6d32826ea58e36cfc8ba35bf", "score": "0.5514412", "text": "public Parameter(DaalContext context) {\n super(context);\n }", "title": "" }, { "docid": "868810efb80d7c7506110973bc0c251b", "score": "0.55127126", "text": "public Object newInstance() {\n return newInstance(null);\n }", "title": "" }, { "docid": "7164ffad9605ce73e97dda049c934373", "score": "0.5507392", "text": "FuncParameter createFuncParameter();", "title": "" }, { "docid": "2b30d14d19bfaa5beee095614bf8829a", "score": "0.549006", "text": "public void createValue() {\n value = new ZsqtcInvoices();\n }", "title": "" }, { "docid": "7ebf1a0b474df5e835013f80ca4b2399", "score": "0.5482561", "text": "public ParameterValue(Object value, PrimitiveType type, PrimitiveFormat format) {\n this.value = value;\n this.type = type;\n this.format = format;\n }", "title": "" }, { "docid": "1519f0baa6a9735c2b3b89ff28eeb89c", "score": "0.5475208", "text": "public T newInstance();", "title": "" }, { "docid": "cab6ec73e7211afeda98b9d0c37cb501", "score": "0.54655683", "text": "public interface ValueFactory<T> {\n\n /**\n * Create the attribute value from the given source\n * @throws IllegalArgumentException if value cannot be create from the given source\n */\n T createFrom(Object source);\n }", "title": "" }, { "docid": "b3da5745da900d52769f9a2779b95ac0", "score": "0.54576695", "text": "public void init (String name, String val);", "title": "" }, { "docid": "3f1baeddf267241c564c95f4d12151d4", "score": "0.54572135", "text": "public DefaultParameter() {\n\t}", "title": "" }, { "docid": "e20b957b40fcac9ea666a5cd5091342f", "score": "0.54446703", "text": "public ParameterValue(Object value, PrimitiveType type) {\n this.value = value;\n this.type = type;\n switch (type) {\n case NUMBER:\n this.format = PrimitiveFormat.DOUBLE;\n LOG.warn(\"missing format for type {}, set format {}\", type, format);\n break;\n case INTEGER:\n this.format = PrimitiveFormat.INT64;\n LOG.warn(\"missing format for type {}, set format {}\", type, format);\n break;\n case OBJECT:\n case ARRAY:\n LOG.error(\"item/properties definition currently not supporter for type {}\", type);\n break;\n default: break;\n }\n }", "title": "" }, { "docid": "aa50661ed59505744129e31a6da85687", "score": "0.5443624", "text": "public T createNew();", "title": "" }, { "docid": "43e7e6d03d22d55ae4d395a2452bb4f9", "score": "0.54113406", "text": "constant createconstant();", "title": "" }, { "docid": "514f8d6e8b65bd0721dad961a017774b", "score": "0.53980756", "text": "public Value(String name) {\r\n\t\tsuper();\r\n\t\tthis.name = name;\r\n\t}", "title": "" }, { "docid": "2b94bd69788ca20e325a750b973c2065", "score": "0.53914285", "text": "public ValueOfMethodModel() throws TermWareException\n {\n super(JavaTermEnumModel.this);\n try {\n parameter_=new JavaTermFormalParameterModel(TermUtils.createTerm(\"Modifiers\",TermUtils.createInt(0),TermUtils.createNil()),\n \"name\", \n JavaResolver.resolveTypeModelFromPackage(\"String\",\"java.lang\"), this, 0);\n }catch(EntityNotFoundException ex){\n throw new TermWareRuntimeException(ex);\n }\n }", "title": "" }, { "docid": "346cd950f689b47d152e2c431ef05621", "score": "0.53901684", "text": "protected ProgramParameter produceStringParameter(String value, int length) throws Exception {\r\n\r\n byte[] tBytes = new byte[length];\r\n Arrays.fill(tBytes, 0, tBytes.length, (byte)0x40);\r\n getCharConverter().stringToByteArray(value, tBytes);\r\n\r\n ProgramParameter tParameter = new ProgramParameter(length);\r\n tParameter.setParameterType(ProgramParameter.PASS_BY_REFERENCE);\r\n tParameter.setInputData(tBytes);\r\n\r\n return tParameter;\r\n }", "title": "" }, { "docid": "64817a5820cc288ed5953db4f2d81f58", "score": "0.5390134", "text": "public AbsObject newInstance() throws OntologyException {\n return new AbsVariable();\n }", "title": "" }, { "docid": "1debafc916ab658519d2a6142ad1e8e9", "score": "0.53874874", "text": "@Override\n\t@SuppressWarnings(\"unchecked\")\n\tpublic Object clone() {\n\t\tGUIDropdownParameter ep = new GUIDropdownParameter();\n\t\tep.editor = null;\n\t\tep.f_extra = f_extra;\n\t\tep.choice_list = choice_list.clone();\n\t\tep.constraint = (IntegerConstraint)(constraint.clone());\n\t\tep.defaultValue = defaultValue;\n\t\tep.value = value;\n\t\tep.name = name;\n\t\treturn ep;\n\t}", "title": "" }, { "docid": "f355db4e6f595e3019929efc14aa6b97", "score": "0.53610766", "text": "CD withValue();", "title": "" }, { "docid": "462c7fb2075a1c551de498942deba7eb", "score": "0.53550345", "text": "protected ProgramParameter produceIntegerParameter(int aValue) {\r\n byte[] bytes = new byte[4];\r\n getIntConverter().toBytes(new Integer(aValue), bytes);\r\n return new ProgramParameter(ProgramParameter.PASS_BY_REFERENCE, bytes, bytes.length);\r\n }", "title": "" }, { "docid": "7e8a53d16c95e03ad26b144ce70baa50", "score": "0.5343215", "text": "public instanceVariableExample (String empName){\r\n\t name = empName;\r\n\t }", "title": "" }, { "docid": "bae29f03a311bb50dfaac655ae4dfd12", "score": "0.53405195", "text": "public gov.nih.nlm.ncbi.www.Blast4ParameterDocument.Blast4Parameter addNewBlast4Parameter()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.Blast4ParameterDocument.Blast4Parameter target = null;\r\n target = (gov.nih.nlm.ncbi.www.Blast4ParameterDocument.Blast4Parameter)get_store().add_element_user(BLAST4PARAMETER$0);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "471d566089062642d362c65cdbe84c59", "score": "0.53308314", "text": "Property createProperty();", "title": "" }, { "docid": "471d566089062642d362c65cdbe84c59", "score": "0.53308314", "text": "Property createProperty();", "title": "" }, { "docid": "36be0ba06b0927f419f0245470e76061", "score": "0.53297406", "text": "parameterList createparameterList();", "title": "" }, { "docid": "82b934691283bca396ea09c45983b037", "score": "0.5327506", "text": "private ItemMeasurementParameter() {\n }", "title": "" }, { "docid": "5f3e47a728e575a5935a9271b3719352", "score": "0.53157943", "text": "public static OperatorParameter newParameter(Operator operator,String parameterName,ParameterDataType dataType){\n\t\treturn new OperatorParameterImpl(operator,parameterName,dataType);\n\t}", "title": "" }, { "docid": "73f8e41b411771294492bad760ce903b", "score": "0.5312656", "text": "protected Get(String name) {\n\t\tsuper(name);\n\t}", "title": "" }, { "docid": "1172a7b7fce4f6ac7d16e55fd74985ea", "score": "0.5308226", "text": "private RandomValue() {\n super();\n }", "title": "" }, { "docid": "216e285165f66e80d94c188997e20b00", "score": "0.53052706", "text": "@SuppressWarnings(\"unchecked\")\n public static <T> T getParameter() {\n return (T) assertContext(null).parameter;\n }", "title": "" }, { "docid": "49120d3a43ff933b8524da34f125902e", "score": "0.5304329", "text": "public Object get(int param1) {\n }", "title": "" }, { "docid": "09b83bfd6e192caa8a08392baea2010a", "score": "0.52876693", "text": "public Params() { }", "title": "" }, { "docid": "27ab4ce82c2225d1b24b4f4282005288", "score": "0.5281072", "text": "public static CommonValue newInstance(String value) {\r\n if (value.matches(\"\\\\d+\"))\r\n return newInstance(Integer.parseInt(value));\r\n else\r\n return UNDEFINED;\r\n }", "title": "" }, { "docid": "6c61ea40974974915e2d213cc7a3f950", "score": "0.5279015", "text": "public Builder setParameter(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n parameter_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "0dc6d58b74486ae8f76394133e902c4a", "score": "0.5267021", "text": "@Override\n\t\tpublic SetValue createFromParcel(Parcel source) {\n\t\t\treturn new SetValue(source.readInt(), source.readInt(), source.readInt(), source.readString(), source.readString());\n\t\t}", "title": "" }, { "docid": "5351d3e59e4bf009b390b643669725e7", "score": "0.5261065", "text": "public TempExample(T t) \r\n {\r\n tValue = t;\r\n }", "title": "" }, { "docid": "ab23b9d7f1136e74c9a7b0911580cc76", "score": "0.5240132", "text": "public static Param name(String name) {\n return new Param(name);\n }", "title": "" }, { "docid": "a0abfd1829095e8efd13bc3cb2eefc68", "score": "0.5238843", "text": "protected ProgramParameter produceNullParameter() throws PropertyVetoException {\r\n ProgramParameter tParameter = new ProgramParameter();\r\n tParameter.setNullParameter(true);\r\n tParameter.setParameterType(ProgramParameter.PASS_BY_REFERENCE);\r\n return tParameter;\r\n }", "title": "" }, { "docid": "90b71d74d644189115b2c1fa28552b98", "score": "0.52370644", "text": "public GetdataNew() {\n\t\tsuper(\"GETDATA_NEW\", Wetrn.WETRN, RepDlyBilngDtld.REP_DLY_BILNG_DTLD);\n\n\t\taddInParameter(P_CLUSTER_ID);\n\t\taddInParameter(P_MRKT_ID);\n\t\taddInParameter(P_COS_PERD_ID);\n\t\taddInParameter(P_COO_PERD_IDS);\n\t\taddInParameter(P_AUTO_STATUS);\n\t\taddInParameter(P_MANUAL_STATUS);\n\t\taddInParameter(P_FSC_CD);\n\t\taddInOutParameter(RESULT_NEW);\n\t}", "title": "" }, { "docid": "a1daf33af5a5022af6f9b8fb7fc8bd7b", "score": "0.5236739", "text": "public abstract Object getNewValue() throws APIException;", "title": "" }, { "docid": "cb3a7c49c0fb0e49922b9f14f2ffe457", "score": "0.52359635", "text": "public static GetOperation create(Variable variable){\n\t\tlong sourceToolID = variable.getSourceToolID();\n\t\tlong variableID = variable.getVariableID();\n\n\t\tInetSocketAddress targetHostAdress = null;\n\t\ttry{\n\t\t\ttargetHostAdress = new InetSocketAddress(InetAddress.getLocalHost(), Config.getUsingPort());\n\t\t}catch(UnknownHostException uhex){\n\t\t\tLogger.getInstance().log(\"Unable to obtain the ip adress of the local host\", Logger.ERROR, uhex);\n\t\t\tthrow new RuntimeException(uhex);\n\t\t}\n\n\t\treturn new GetOperation(sourceToolID, variableID, targetHostAdress);\n\t}", "title": "" }, { "docid": "c3c66d258ce24eed1c03480ff2a19ae0", "score": "0.52354914", "text": "@Test\r\n public void testGetValue() {\r\n try {\r\n Constructor<DefaultMP> constructeur = DefaultMP.class.getDeclaredConstructor();\r\n constructeur.setAccessible(true);\r\n DefaultMP defaultMP = constructeur.newInstance();\r\n\r\n assertNotNull(defaultMP);\r\n } catch (NoSuchMethodException | SecurityException | InstantiationException\r\n | IllegalAccessException | IllegalArgumentException | InvocationTargetException ex) {\r\n Logger.getLogger(DefaultMPTest.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }", "title": "" }, { "docid": "0fc52453b9d6071bc580165f8157e6bf", "score": "0.52312934", "text": "public Parameter(String name, String value) {\n this._name = Objects.requireNonNull(name, \"Parameter name must not be null\");\n this._value = Objects.requireNonNull(value, \"Parameter value must not be null\");\n }", "title": "" }, { "docid": "f9c495b3f57f9dcc0c1931619dbf0991", "score": "0.5226256", "text": "public static <T> Function<Process, T> getParameter(RelationType<T> rType)\n\t{\n\t\treturn new GetParameter<T>(rType);\n\t}", "title": "" }, { "docid": "a7806eeaca150172776028a500b61f91", "score": "0.5216718", "text": "public T create();", "title": "" }, { "docid": "2c4f8e75bc88de4fcf4214d0cfe94c84", "score": "0.52124405", "text": "Object getCurrentValue();", "title": "" }, { "docid": "cc46a179a1e693ba62a759d24dd2d321", "score": "0.5206671", "text": "String getParameter(String name, String def);", "title": "" }, { "docid": "fb75e671c3c6689aa9262dfad489ce15", "score": "0.51966625", "text": "public TaskValue( Task primary ) \r\n {\r\n\t super( primary );\r\n }", "title": "" }, { "docid": "fd65e4f410a7652d87cce2e7f0e0ef0e", "score": "0.51933336", "text": "@Override\n public T newInstance() {\n try {\n return access.newInstance();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "480e220e5f60e8522ed55fc70b4bd2e6", "score": "0.51853764", "text": "String getInitValue();", "title": "" }, { "docid": "fa28d745d77d5aa9c4a067dcea79d30b", "score": "0.5159806", "text": "private ServiceConstants(String input) {\n this.value = input;\n }", "title": "" }, { "docid": "8ac3466d3bbf08a4b3c8c129cea4fa3b", "score": "0.51572025", "text": "T createNew();", "title": "" }, { "docid": "8ac3466d3bbf08a4b3c8c129cea4fa3b", "score": "0.51572025", "text": "T createNew();", "title": "" }, { "docid": "3cbdbb1580be8f19f950491511fc3c5e", "score": "0.51553667", "text": "protected GPVariables createVariables() { \n return new TradeVariables(); \n }", "title": "" }, { "docid": "a585c5cc10250473ea4adf12379b2942", "score": "0.5152935", "text": "public Variable(String nom, IActeur createur) {\r\n\t\tthis(nom, createur, 0.0);\r\n\t}", "title": "" }, { "docid": "a3c43899e3f99d1d0a915a75087f1c9b", "score": "0.51488304", "text": "public ValueStrategy() {\n }", "title": "" }, { "docid": "6e078998755c959da8e33f0806635048", "score": "0.51423985", "text": "public StringRefParameter() {\n }", "title": "" }, { "docid": "cde5fb101c70cc26b5baf6371005a7ff", "score": "0.5133945", "text": "T create(T t);", "title": "" }, { "docid": "ca215b50f7d08faa9a69ffeda9cfa3e7", "score": "0.51250124", "text": "String getParameter();", "title": "" }, { "docid": "953fc71b90bca23e1dcdb1685fb086c1", "score": "0.51235217", "text": "VariableExp createVariableExp();", "title": "" }, { "docid": "5ea0d37019bd33af97e028ce4712abc4", "score": "0.5123253", "text": "private Stat(String value){\r\n this.value = value;\r\n }", "title": "" }, { "docid": "0e42f33fb8ab1a69105fc2bdc6c26c47", "score": "0.5120482", "text": "@Nonnull\n\tdefault DfaValue createValue(@Nonnull DfaValueFactory factory, @Nullable DfaValue qualifier)\n\t{\n\t\treturn createValue(factory, qualifier, false);\n\t}", "title": "" }, { "docid": "fdffc36bddf3560668cb41c0e1b28dba", "score": "0.5104652", "text": "Instance createInstance();", "title": "" } ]
08b3e43428cda2ed1f8f49ebf6553be3
Creates the main page for the application.
[ { "docid": "ef5841395eb696a894f4df2464dab429", "score": "0.0", "text": "public Site(IControlContainer container) {\n super(container);\n Label lbUsername = new Label(this, \"lbUsername\");\n IUser user = DAOSystem.getSecurityManager().getCurrentUser();\n\n if (user != null) {\n \tString text = user.getName() + \" \";\n\n// \tif (user.getLanguage() != null && user.getLanguage().length() > 0) {\n// \t\ttext += user.getLanguage().toUpperCase();\n// \t} \n lbUsername.setText(text);\n \t\n } else {\n \tlbUsername.setText(\"no user found!\");\n }\n\n\n \n Label lbRole = new Label(this, \"lbRole\");\n lbRole.setText(\"\");\n\n controlStack = new StackedContainerWithEvent(this, \"content\");\n \n dialogContainer = new ControlContainer(this, \"dialogs\"){\n \t@Override\n \tpublic Iterator<Control> getControls() {\n \t\tfinal Iterator<Control> controls = super.getControls();\n \t\tList<Control> ctrls = new ArrayList<Control>();\n \t\twhile(controls.hasNext()){\n \t\t\tctrls.add(controls.next());\n \t\t}\n\t\t\t\treturn ctrls.iterator();\n \t}\n };\n\n breadCrumb = new BreadCrumbControl(this, \"breadCrumb\");\n breadCrumb.setControlStack(controlStack);\n\n btLogout = new LogoutControl(this, \"btLogout\");\n btLogout.setTitle(\"Logout\");\n \n globalErrorControl = new ErrorWarning(this, \"errorWarning\");\n globalErrorControl.setAutoClose(true);\n globalErrorControl.setShowStackTrace(false);\n \n }", "title": "" } ]
[ { "docid": "49a7a3920188b54105cd8ff6b02bd809", "score": "0.7068269", "text": "public void setupMainPage(){\n\n\n\n\t}", "title": "" }, { "docid": "38f37dc2b116f1bf6ca5d81323ae5bcc", "score": "0.6957535", "text": "Page createPage();", "title": "" }, { "docid": "f0b95c092ea5333d5f2aeb2b1e5ec8d7", "score": "0.6677028", "text": "public void buildPage() {\n buildMenu();\n init();\n JComponent content = buildContent();\n JComponent header = buildHeader();\n JComponent footer = buildFooter();\n\n double ratio = HEIGHT / D_HEIGHT;\n\n getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.PAGE_AXIS));\n\n if (header != null) {\n getContentPane().add(header);\n }\n\n getContentPane().add(content);\n\n if (footer != null) {\n getContentPane().add(footer);\n }\n\n pack();\n setSize((int) (WIDTH / ratio), (int) (HEIGHT / ratio));\n setResizable(false);\n }", "title": "" }, { "docid": "5f42810f12e5b53d8280b1be77185ae7", "score": "0.66612697", "text": "@Override\n public void addPages() {\n\tmainPage = new NewProjectWizardPage(\"NewContinuuityFlowProjectPage1\", \"New Continuuity Flow Project\",\n\t \"Create a new Continuuity Flow project.\", templateConfigMap);\n\taddPage(mainPage);\n }", "title": "" }, { "docid": "ae514bd89a5209d96ce4be2749204b90", "score": "0.6515628", "text": "public final void showMain() {\r\n\r\n if (mainPage == null) {\r\n\r\n return;\r\n }\r\n switchPages(mainPage);\r\n }", "title": "" }, { "docid": "7fb0d953e9a265d11a7262323862d1b7", "score": "0.6441786", "text": "protected abstract void createPages();", "title": "" }, { "docid": "06470e1b2391cb3160261d16d44c574b", "score": "0.64398134", "text": "public ApplicationHomePage() {\n initComponents();\n this.setLocationRelativeTo(null);\n mSchema = new SchemaHelper (this);\n \n // show the home page panel\n changeActionPage (ACTION_CONTROLLER.HOME_PAGE);\n }", "title": "" }, { "docid": "0149200d3abd9ef981241724b7bb365c", "score": "0.6381158", "text": "@Override\n\tpublic void addPages() {\n\t\tpage = new WizardNewProjectCreationPage(\"Create a demo project\");\n\t\taddPage(page);\n\t}", "title": "" }, { "docid": "eedc6e386a910c1fd9d85faea651a0e3", "score": "0.63715744", "text": "protected void createPages() {\n \t\ttry {\n \t\t\t// source page MUST be created before design page, now\n \t\t\tcreateSourcePage();\n \n \t\t\tcreateAndAddDesignPage();\n \t\t\taddSourcePage();\n \t\t\tconnectDesignPage();\n \n \t\t\t// set the active editor in the action bar contributor first\n \t\t\t// before setactivepage calls action bar contributor's\n \t\t\t// setactivepage (bug141013 - remove when bug151488 is fixed)\n \t\t\tIEditorActionBarContributor contributor = getEditorSite().getActionBarContributor();\n \t\t\tif (contributor instanceof MultiPageEditorActionBarContributor) {\n \t\t\t\t((MultiPageEditorActionBarContributor) contributor).setActiveEditor(this);\n \t\t\t}\n \n \t\t\tint activePageIndex = getPreferenceStore().getInt(IXMLPreferenceNames.LAST_ACTIVE_PAGE);\n \t\t\tif ((activePageIndex >= 0) && (activePageIndex < getPageCount())) {\n \t\t\t\tsetActivePage(activePageIndex);\n \t\t\t}\n \t\t\telse {\n \t\t\t\tsetActivePage(fSourcePageIndex);\n \t\t\t}\n \t\t}\n \t\tcatch (PartInitException e) {\n \t\t\tLogger.logException(e);\n \t\t\tthrow new RuntimeException(e);\n \t\t}\n \t}", "title": "" }, { "docid": "0607759f22e87c511e195f39db70f627", "score": "0.6340221", "text": "@Override\r\n\tprotected void createWebsite() {\n\t\tpages.add(new Cartpage());\r\n\t\tpages.add(new ItemPage());\r\n\t\tpages.add(new ContactPage());\r\n\r\n\t}", "title": "" }, { "docid": "6c35e869fd72371a1c085627fac484b3", "score": "0.6310593", "text": "public void index() {\n\n\t\trender(\"index.html\");\n\t}", "title": "" }, { "docid": "5a272c9edc95c976da9164692f858b5c", "score": "0.62862575", "text": "WebPage makeWebPage(HTTPRequest req, ToadletContext context) {\n \t\t\treturn new HomePage(this, req, context, l10n());\n \t\t}", "title": "" }, { "docid": "a23657a5266abd0d420031f9284fbf65", "score": "0.6264552", "text": "public static void main(String[] args) throws Exception {\n\tViewPageFactory factory = new TestSite2();\n//\tViewPageFactory factory = new HomePage();\n\tPageViewComponent page = factory.produce();\n\tpage.fixLayoutTypeNames();\n\tdumpPage(page);\n }", "title": "" }, { "docid": "b54a83e0d95c7d7ac292139c73e643fa", "score": "0.62485003", "text": "@Override\r\n\tpublic void createpages() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tpages.add(new intropages());\r\n\t\tpages.add(new middlepages());\r\n\t\tpages.add(new endpages());\t\r\n\t}", "title": "" }, { "docid": "8f696d8e83eac11bde6679fce35b2ab0", "score": "0.6244519", "text": "public HomePage() {\n\t\tSystem.out.println(\"Prog : HomePage and contructor : HomePage\");\n\t\tPageFactory.initElements(driver, this);\n\n\t}", "title": "" }, { "docid": "4fc495b3f71ad4b1be2fe05eae4856ff", "score": "0.62251353", "text": "public SVHomePage() {\n super();\n PageFactory.initElements(getDriver(), this);\n }", "title": "" }, { "docid": "248905453412f8168d7f8fcc2d73ff3c", "score": "0.6215658", "text": "RegularContentPage createRegularContentPage();", "title": "" }, { "docid": "1c48dc15c5c25dfda41ebf7f991d9671", "score": "0.61978996", "text": "public void createStart(){\n startPageString\n .append(\"<html>\")\n .append(\"\\n\")\n .append(\"<body>\");\n\n System.out.println(startPageString.toString());\n }", "title": "" }, { "docid": "904393ebac4044f944a6347a9022b162", "score": "0.61930305", "text": "public HomePage() {\n\t\t\tPageFactory.initElements(driver, this);\n\t\t}", "title": "" }, { "docid": "93dcba8eaf42d80152bbcfe2f55451e8", "score": "0.6189556", "text": "public HomePage() {\r\n\t\tPageFactory.initElements(driver, this);\r\n\t}", "title": "" }, { "docid": "39a183ef9e4d81ae342955e1f84b64ba", "score": "0.61719805", "text": "public HomePage(){\t\t\n\t\tPageFactory.initElements(driver, this);\t\t\n\t}", "title": "" }, { "docid": "69d7a570e4386ae25ecb0d458d07db92", "score": "0.61026484", "text": "public Homepage() {\n initComponents();\n }", "title": "" }, { "docid": "630c051259b3abbd7be2cdfafe3c5a67", "score": "0.60946953", "text": "public void newPage(){\n\t}", "title": "" }, { "docid": "60808959f9ab3a303693d45cb7ebeff8", "score": "0.608781", "text": "public MainPage() {\n initComponents();\n }", "title": "" }, { "docid": "60808959f9ab3a303693d45cb7ebeff8", "score": "0.608781", "text": "public MainPage() {\n initComponents();\n }", "title": "" }, { "docid": "599d358fcbdc395f13f92165acaa26b5", "score": "0.6078353", "text": "public HomePage() {\n PageFactory.initElements(driver, this);\n }", "title": "" }, { "docid": "cbd53d6ee849fc27f1f6771dd03a8cdd", "score": "0.6074655", "text": "public HomePage() {\n initComponents();\n conn = db.java_db();\n \n Toolkit toolkit = getToolkit();\n Dimension size = toolkit.getScreenSize();\n setLocation(size.width/2 - getWidth()/2, size.height/2 - getHeight()/2);\n \n Update_table();\n }", "title": "" }, { "docid": "8106da046d554f916f5738306a9d2528", "score": "0.605247", "text": "public LandingPage() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "206de5122f2997194d798ec1a5fd4a72", "score": "0.60405844", "text": "public void createpages() {\n\t\tpages.add(new intropages());\t\t\t\t\r\n\t}", "title": "" }, { "docid": "6375f2de5019debf583680fd434f09ad", "score": "0.60282964", "text": "public MainPage(Graphics2D MP) {\t\r\n\t\tdrawMainPage(MP);\r\n\t}", "title": "" }, { "docid": "6719d0cbc2c08142088b9be740b2a4ce", "score": "0.6025484", "text": "public HomePage()\n\t{\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "59a2ca948d285ba53a8f7d486feeae94", "score": "0.5997495", "text": "public HomePage()\r\n\t{\r\n\t\tsuper();\r\n\t\tPageFactory.initElements(driver, this);\r\n\t}", "title": "" }, { "docid": "6ca5c37c8a326e73fa636e452ff2c24a", "score": "0.59716403", "text": "public MAINPAGE() {\n initComponents();\n }", "title": "" }, { "docid": "2715e45a861aa020dce77b595dc2af6f", "score": "0.59689903", "text": "public void createView() {\n printView();\n System.exit(0);\n }", "title": "" }, { "docid": "23f286a5ee122bb5ea7ae9f0a8d5f53d", "score": "0.59689695", "text": "public void addPages() { Create a page, set the title, and the initial model file name.\n\t\t//\n\t\tnewFileCreationPage = new ExportWizardNewFileCreationPage(\"Whatever\", selection);\n\t\tnewFileCreationPage.setTitle(\"Registrierung Text Tabelle\");\n\t\tnewFileCreationPage.setDescription(\"Registrierung Text Tabelle\");\n\t\tnewFileCreationPage.setFileName(\"register\" + \".txt\");\n\t\taddPage(newFileCreationPage);\n\n\t\t// Try and get the resource selection to determine a current directory for the file dialog.\n\t\t//\n\t\tif (selection != null && !selection.isEmpty()) {\n\t\t\t// Get the resource...\n\t\t\t//\n\t\t\tObject selectedElement = selection.iterator().next();\n\t\t\tif (selectedElement instanceof IResource) {\n\t\t\t\t// Get the resource parent, if its a file.\n\t\t\t\t//\n\t\t\t\tIResource selectedResource = (IResource)selectedElement;\n\t\t\t\tif (selectedResource.getType() == IResource.FILE) {\n\t\t\t\t\tselectedResource = selectedResource.getParent();\n\t\t\t\t}\n\n\t\t\t\t// This gives us a directory...\n\t\t\t\t//\n\t\t\t\tif (selectedResource instanceof IFolder || selectedResource instanceof IProject) {\n\t\t\t\t\t// Set this for the container.\n\t\t\t\t\t//\n\t\t\t\t\tnewFileCreationPage.setContainerFullPath(selectedResource.getFullPath());\n\n\t\t\t\t\t// Make up a unique new name here.\n\t\t\t\t\t//\n\t\t\t\t\tString defaultModelBaseFilename = \"register\";\n\t\t\t\t\tString defaultModelFilenameExtension = \"txt\";\n\t\t\t\t\tString modelFilename = defaultModelBaseFilename + \".\" + defaultModelFilenameExtension;\n\t\t\t\t\tfor (int i = 1; ((IContainer)selectedResource).findMember(modelFilename) != null; ++i) {\n\t\t\t\t\t\tmodelFilename = defaultModelBaseFilename + i + \".\" + defaultModelFilenameExtension;\n\t\t\t\t\t}\n\t\t\t\t\tnewFileCreationPage.setFileName(modelFilename);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "b6202cafff6e99cb6bd7518b971c2466", "score": "0.5968544", "text": "public home_page() {\n initComponents();\n showDate();\n showTime();\n }", "title": "" }, { "docid": "ac38d65e4eb1408a0c65fd4cd70814b9", "score": "0.5948839", "text": "public HomePage(final PageParameters parameters) {\r\n\r\n // Add the simplest type of label\r\n add(new BookmarkablePageLink(\"event\", EventPage.class));\r\n \r\n \r\n }", "title": "" }, { "docid": "28c59f22b25c82aaabe478c777df41d2", "score": "0.5948616", "text": "public StartPage()\n { \n // Create a new world for front start page with 800x600 cells with a cell size of 1x1 pixels.\n super(800, 600, 1); \n \n prepare();\n \n addObject(new MenuBoy(), getWidth()-350, getHeight()-80);\n addObject(new Start(), getWidth()/2, 260);\n addObject(new HowTo(), getWidth()/2, 390);\n \n\n }", "title": "" }, { "docid": "239c08544f9472f8bc9ba7587c6f99cd", "score": "0.5940574", "text": "public Result index() {\n return ok(\"Your new application is ready.\");\n }", "title": "" }, { "docid": "26117a98570035516bb92a992046c592", "score": "0.59303", "text": "public WelcomePage() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "c122f36bfc6ea41ff6c408eab6e5c8b0", "score": "0.5911333", "text": "private JPanel getMainPage() {\r\n\t\tif (MainPage == null) {\r\n\t\t\tMainPage = new JPanel();\r\n\t\t\tMainPage.setBounds(new Rectangle(40, 20, 1008, 729));\r\n\t\t\tMainPage.setLayout(null);\r\n\t\t\tMainPage.setBackground(Color.white);\r\n\t\t\tMainPage.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));\r\n\t\t\tMainPage.add(getMem_name_search(), null);\r\n\t\t\tMainPage.add(getName_search_button(), null);\r\n\t\t\tMainPage.add(getMember_result(), null);\r\n\t\t\tMainPage.add(getAll_name_button(), null);\r\n\t\t\tMainPage.add(getMem_lastname_search(), null);\r\n\t\t\tMainPage.add(getClear_All_Button(), null);\r\n\t\t\tMainPage.add(getLastname_search_button(), null);\r\n\t\t\tMainPage.add(Member_Title, null);\r\n\t\t\tMainPage.add(getMem_id_search(), null);\r\n\t\t\tMainPage.add(getId_search_button(), null);\r\n\t\t}\r\n\t\treturn MainPage;\r\n\t}", "title": "" }, { "docid": "7746558d226a705580dc404993831d07", "score": "0.5888132", "text": "void createPage0() {\n\t\ttry {\n\t\t\tFormPage composite = new ImportRPMsPage(this, project);\n\t\t\taddPage(composite);\n\t\t} catch (PartInitException e) {\n\t\t\tActivator.logError(Messages.RepoFormEditor_errorInitializingForm, e);\n\t\t}\n\t}", "title": "" }, { "docid": "45b53611e96b31296989c2aaea138b40", "score": "0.58826554", "text": "void createPage1() {\n\t\ttry {\n\t\t\tFormPage composite = new MetadataPage(this, project);\n\t\t\taddPage(composite);\n\t\t} catch (PartInitException e) {\n\t\t\tActivator.logError(Messages.RepoFormEditor_errorInitializingForm, e);\n\t\t}\n\t}", "title": "" }, { "docid": "e711b9361b15fd90ed495386f4d04b70", "score": "0.58807874", "text": "public static EditorHarness createTestPage() {\n EditorHarness harness = new EditorHarness();\n RootPanel.get().add(harness, 0, 0);\n return harness;\n }", "title": "" }, { "docid": "52f0088941d0b4153fcde655826c2b83", "score": "0.58393973", "text": "@RequestMapping(\"/\")\n\tpublic String showPage() {\n\t\t/* This is not a complete name of the page. DispatcherServlet, in Spring, will \n\t\t * make use of the ViewResolver for finding the exact path. */\n\t\treturn \"main-menu\";\n\t}", "title": "" }, { "docid": "b34f9e6792cc5e68800ddcde9e7006e9", "score": "0.5837957", "text": "@Override\n public WApplication createApplication(WEnvironment env) {\n return new MainApp(env);\n }", "title": "" }, { "docid": "0897cefb883fe412d2e59a9eab2dadcb", "score": "0.5832999", "text": "@GetMapping\n public String getHomePage(Model model) {\n\n model.addAttribute(\"bodyContent\", \"home\");\n return \"master-template\";\n }", "title": "" }, { "docid": "754eedfcd5a3cbc90304dd4d8b58c330", "score": "0.5828984", "text": "public static void main(String[] args) {\n\t\tnew MainMenueView();\n\t}", "title": "" }, { "docid": "ca1e1e373ec53fd9d0671e81a58a9832", "score": "0.58255076", "text": "public MainEntryPoint() {\r\n mainUi = new MainUI();\r\n }", "title": "" }, { "docid": "a5b42ddc7986650b60829a688a3f9594", "score": "0.5819279", "text": "public PageComponent createPageComponent();", "title": "" }, { "docid": "44a04975d2f59d9a42d0a3903c716554", "score": "0.5816308", "text": "public void createMainScene() {\n\n createTopArea();\n createCenterArea();\n createLeftArea();\n createRightArea();\n createBottomArea();\n\n //bottomArea.setFillWidth(true);\n overallRoot.setLeft(leftArea);\n overallRoot.setRight(rightArea);\n overallRoot.setTop(topArea);\n overallRoot.setBottom(bottomArea);\n overallRoot.setCenter(centerArea);\n\n setBorders();\n }", "title": "" }, { "docid": "12dd01cc5db8227138f1c964fc18b5f1", "score": "0.5808154", "text": "@Override\n\tpublic IMainPanel createMainPanel() {\n\t\treturn new MacMainPanel();\n\t}", "title": "" }, { "docid": "e1fd4d1645f0a56cd1835a5b95a6cf65", "score": "0.5769345", "text": "public MainPageTest()\n\t{ super();\n\t\n\t}", "title": "" }, { "docid": "8cc4c10b1d76c69e3489574c2e04ea8d", "score": "0.57634145", "text": "public NewWindowPage() {\n visit(getUrl());\n }", "title": "" }, { "docid": "fd7b49180e1c680e444a7cd400a39d42", "score": "0.575745", "text": "public static void main(String[] args) {\r\n\t\tGuiWelcome welcomePage = new GuiWelcome();\r\n\t\twelcomePage.setVisible(true);\r\n\t}", "title": "" }, { "docid": "5dbd1edd8a67717f548fb946f2fcd28c", "score": "0.5755539", "text": "public static void main(String[] args) {\n\t\tWelcomeAndLoginUI WelcomeAndLoginUI = new WelcomeAndLoginUI();\n\n\t\tWelcomeAndLoginUI.displayWelcomePage();\n\t\tWelcomeAndLoginUI.displayLoginPage();\n\t\n\n\t}", "title": "" }, { "docid": "57e2d0b51b9cfc72398765b8307d6408", "score": "0.5746242", "text": "protected void createContents() {\n\t\tsetText(\"Tạo Công việc (Đợt Bảo dưỡng)\");\n\t\tsetSize(777, 480);\n\t\tnew FormTemplate().setCenterScreen(getShell());\n\t}", "title": "" }, { "docid": "01f4eda4e1d3028d745f4a12430c091f", "score": "0.5745217", "text": "@Override\n\tpublic void displayPage() {\n\t\twhile (true) {\n\t\t\tSystem.out.println(\"welcome to Vatrina.\");\n\t\t\tSystem.out.println(\"..........................\");\n\t\t\tSystem.out.println(\"1. login as Admin.\");\n\t\t\tSystem.out.println(\"2. login as buyer.\");\n\t\t\tSystem.out.println(\"3. login as standard owner..\");\n\t\t\tSystem.out.println(\"4. login as Premium owner.\");\n\t\t\tSystem.out.println(\"5. Register as buyer.\");\n\t\t\tSystem.out.println(\"6. Register as standard owner.\");\n\t\t\tSystem.out.println(\"7. Register as Premium owner.\");\n\t\t\tSystem.out.println(\"8. Exit System.\");\n\t\t\tswitch (Input.takeIntInput()) {\n\t\t\tcase 1:\n\t\t\t\tnew LoginHomePage().login(new LoginAsAdminControl());\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tnew LoginHomePage().login(new LoginAsBuyerControl());\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tnew LoginHomePage().login(new LoginAsStandardOwnerControl());\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tnew LoginHomePage().login(new LoginAsPremiumOwnerControl());\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tnew RegisterAsBuyer().RegisterForm();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tnew RegisterAsStandardOwner().RegisterForm();\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tnew RegisterAsPremiumOwner().RegisterForm();\n\t\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\tSystem.exit(0);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"invalid input!\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "20792723e9b51d265c965f834c4815ed", "score": "0.5743561", "text": "public BasePage() throws UIException {\n\t\ttry {\n\t\t\tif (ControlCenter.getInstance().getComponentManager().getWebDriver() == null) {\n\t\t\t\tthrow new UIException(\"You need to instantiate web driver first\");\n\t\t\t}\n\t\t\tthis.driver = ControlCenter.getInstance().getComponentManager().getWebDriver();\n\t\t\t// set main window handle\n\t\t\twindowHandle = BasicBrowserHelper.getCurrentWindowHandle(this.driver);\n\n\t\t\t// for logging purpose\n\t\t\tfootprint = getNavigation(this.getClass(), \"\");\n\t\t\tBasePageFactory.initPage(this.driver, this);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new UIException(\"initialize page object failed with an exception: \", e);\n\t\t}\n\t}", "title": "" }, { "docid": "2bce019a89633dfc64d486dafb999791", "score": "0.57167673", "text": "public HomePage() {\n initComponents();\n }", "title": "" }, { "docid": "2bce019a89633dfc64d486dafb999791", "score": "0.57167673", "text": "public HomePage() {\n initComponents();\n }", "title": "" }, { "docid": "2bce019a89633dfc64d486dafb999791", "score": "0.57167673", "text": "public HomePage() {\n initComponents();\n }", "title": "" }, { "docid": "0c027e0ea7c82aacb8943195a695bc4a", "score": "0.57113373", "text": "@Override\r\n \tpublic void addPages() {\r\n \t\ttestDetailsPage = new TestDetailsPage(selection, \"test\");\r\n \t\ttestDetailsPage.setProjectHasExtensionPoint(!extensionPointMap.isEmpty());\r\n \t\taddPage(testDetailsPage);\r\n \t\tstartPointTypeSelectionPage = new StartPointTypeSelectionPage();\r\n \t\taddPage(startPointTypeSelectionPage);\r\n \t\tnewUrlStartPointPage = new NewUrlStartPointPage(startPointTypeSelectionPage);\r\n \t\taddPage(newUrlStartPointPage);\r\n \t\textentionStartPointSelectorPage = new ExtentionStartPointSelectorPage(extensionPointMap, project);\r\n \t\taddPage(extentionStartPointSelectorPage);\r\n \t}", "title": "" }, { "docid": "45f4fe954a051906fde2388910805fe5", "score": "0.5699269", "text": "@AutoGenerated\n\tprivate void buildMainLayout() {\n\t\tmainLayout = new VerticalLayout();\n\t\tmainLayout.setImmediate(false);\n\t\tmainLayout.setWidth(\"100%\");\n\t\tmainLayout.setHeight(\"100%\");\n\t\tmainLayout.setMargin(false);\n\t\t\n\t\t// top-level component properties\n\t\tsetWidth(\"100.0%\");\n\t\tsetHeight(\"100.0%\");\n\t\t\n\t\tLabel label = new Label(\"Práctica de Commons- Vaadin\");\n\t\tlabel.addStyleName(\"title\");\n\t\t\n\t}", "title": "" }, { "docid": "93488de42765a29bf422fd84a46300d8", "score": "0.5697064", "text": "private void createAndShowGUI()\n\t{\n JFrame.setDefaultLookAndFeelDecorated(true);\n \n //Create and set up the window.\n frame = new JFrame(\"Voting Software\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n Component mainScreen = MainScreen.createComponents(controller);\n frame.getContentPane().add(mainScreen, BorderLayout.CENTER);\n menuName = \"main\";\n \n //Display the window.\n frame.pack();\n frame.setVisible(true);\n\t}", "title": "" }, { "docid": "73082bef48e24e33257914f3fc1b6223", "score": "0.56811863", "text": "public Action getIndexApiAction() {\r\n Thing object = new Thing.Builder()\r\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\r\n // TODO: Make sure this auto-generated URL is correct.\r\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\r\n .build();\r\n return new Action.Builder(Action.TYPE_VIEW)\r\n .setObject(object)\r\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\r\n .build();\r\n }", "title": "" }, { "docid": "d557c8e8390bee9197fcfb2c1ed102ed", "score": "0.56772673", "text": "public String startPage()\r\n {\r\n StringBuffer stPage = new StringBuffer();\r\n\r\n //imports\r\n stPage.append(\"\\n<%@ page import=\\\"com.ai.htmlgen.*\\\" %>\");\r\n stPage.append(\"\\n<%@ page import=\\\"com.ai.application.utils.*\\\" %>\");\r\n \r\n //Getting access to the page data object\r\n stPage.append(\"\\n<% \");\r\n stPage.append(\r\n \"\\nIFormHandler pageData = (IFormHandler)request.getAttribute(\\\"Aspire.formHandler\\\");\" );\r\n\r\n // jsp code to validate the data object \r\n stPage.append(\"\\nif (pageData == null)\");\r\n stPage.append(\"\\n{\");\r\n stPage.append(\"\\n out.println(\\\"<html><head></head><body><h2 class=error>No data available for this screen</h2></body></html>\\\");\");\r\n stPage.append(\"\\n return; \");\r\n stPage.append(\"\\n} \");\r\n \r\n stPage.append(\"\\n%>\\n\");\r\n return stPage.toString();\r\n }", "title": "" }, { "docid": "25c5205bab1c98a9ebaecd105565f0e3", "score": "0.56708723", "text": "protected Page newPage(final HttpServletRequest req, final HttpServletResponse resp,\n final String template) {\n final Page page = new Page(req, resp, getApplication().getVelocityEngine(), template);\n page.add(\"version\", jarVersion);\n page.add(\"azkaban_name\", this.name);\n page.add(\"azkaban_label\", this.label);\n page.add(\"azkaban_color\", this.color);\n //page.add(\"note_type\", NoteServlet.type);\n //page.add(\"note_message\", NoteServlet.message);\n //page.add(\"note_url\", NoteServlet.url);\n page.add(\"timezone\", TimeZone.getDefault().getID());\n page.add(\"currentTime\", (new DateTime()).getMillis());\n page.add(\"context\", req.getContextPath());\n\n // @TODO, allow more than one type of viewer. For time sake, I only install\n // the first one\n /*if (this.viewerPlugins != null && !this.viewerPlugins.isEmpty()) {\n page.add(\"viewers\", this.viewerPlugins);\n final ViewerPlugin plugin = this.viewerPlugins.get(0);\n page.add(\"viewerName\", plugin.getPluginName());\n page.add(\"viewerPath\", plugin.getPluginPath());\n }\n\n if (this.triggerPlugins != null && !this.triggerPlugins.isEmpty()) {\n page.add(\"triggers\", this.triggerPlugins);\n }*/\n\n return page;\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "e6bdb1e95e5e208d067608d665f5212b", "score": "0.56639045", "text": "public Action getIndexApiAction() {\n Thing object = new Thing.Builder()\n .setName(\"Main Page\") // TODO: Define a title for the content shown.\n // TODO: Make sure this auto-generated URL is correct.\n .setUrl(Uri.parse(\"http://[ENTER-YOUR-URL-HERE]\"))\n .build();\n return new Action.Builder(Action.TYPE_VIEW)\n .setObject(object)\n .setActionStatus(Action.STATUS_TYPE_COMPLETED)\n .build();\n }", "title": "" }, { "docid": "8200826c75fd973b4a7d7c1cae61c3ef", "score": "0.56480414", "text": "public Result welcomePage(){\r\n return ok(welcomePage.render());\r\n }", "title": "" }, { "docid": "483326b918abcbebee9a1a610dbf0ea8", "score": "0.5644131", "text": "@Test\n\tpublic void homepageRendersSuccessfully()\n\t{\n\t\ttester.startPage(HomePage.class);\n\n\t\t//assert rendered page class\n\t\ttester.assertRenderedPage(HomePage.class);\n\t}", "title": "" }, { "docid": "ed5d417a6f94925f38239dd2648f4b69", "score": "0.5638706", "text": "@AutoGenerated\r\n\tprivate VerticalLayout buildMainLayout() {\n\t\tmainLayout = new VerticalLayout();\r\n\t\tmainLayout.setImmediate(false);\r\n\t\tmainLayout.setWidth(\"100%\");\r\n\t\tmainLayout.setHeight(\"100%\");\r\n\t\tmainLayout.setMargin(false);\r\n\t\t\r\n\t\t// top-level component properties\r\n\t\tsetWidth(\"100.0%\");\r\n\t\tsetHeight(\"100.0%\");\r\n\t\t\r\n\t\t// pnlPrincipal\r\n\t\tpnlPrincipal = buildPnlPrincipal();\r\n\t\tmainLayout.addComponent(pnlPrincipal);\r\n\t\t\r\n\t\treturn mainLayout;\r\n\t}", "title": "" }, { "docid": "29c5328b1f4510d6f0eac93a5f61db1b", "score": "0.56167674", "text": "public OutputPage()\n {\n initComponents();\n \n }", "title": "" }, { "docid": "78509cb7d89a870b186708277eecd156", "score": "0.5606772", "text": "public static void index() {\n\n\t\t//clears any open sessions \n\t\tsession.clear();\n\t\t\n\t\t//checks if any user logged in\n\t\tLandlord landlord = Landlords.getCurrentLandlord();\n\t\tTenant tenant = Tenants.getCurrentTenant();\n\t\tAdministrator administrator = Administrators.getCurrentAdministrator();\n\t\t\n\t\tLogger.info(\"Current landlord: \" + landlord);\n\t\tLogger.info(\"Current tenant: \" + tenant);\n\t\tLogger.info(\"Current administrator: \" + administrator);\n\t\t\n\t\trender();\n\t}", "title": "" }, { "docid": "b54f0d41f41f73865107c44d6044fb03", "score": "0.56018895", "text": "public MainPage getMainPage() {\n return mainPage;\n }", "title": "" }, { "docid": "18ccc376886373d0bd5312f2b0f6e13d", "score": "0.55962455", "text": "protected void newPage( IContainerArea page )\n \t{\n \t\tpageHeight = getHeight( page );\n \t\tpageWidth = getWidth( page );\n \n \t\tColor backgroundColor = PropertyUtil.getColor( page.getStyle( )\n \t\t\t\t.getProperty( StyleConstants.STYLE_BACKGROUND_COLOR ) );\n \t\tpageGraphic = pageDevice.newPage( pageWidth, pageHeight,\n \t\t\t\tbackgroundColor );\n \n \t\t// Draws background image for the new page. if the background image is\n \t\t// NOT set, draw nothing.\n \t\tdrawBackgroundImage( page.getStyle( ), 0, 0, pageWidth, pageHeight );\n \t}", "title": "" }, { "docid": "69b4f515600163ea5e210ebb9303fe29", "score": "0.5595437", "text": "public void renderMainLayout() {\n\t\tYuiContext Y = getY();\n\t\tNode parent = Y.one(\"body\");\n\t\tparent.addClass(\"yui3-skin-sam\");\n\t\t// create a GWT Widget Panel that wraps our yui widget parent.\n\t\tHTMLPanel gwtParent = parent.asHTMLPanel();\n\n\t\tMainLayout1 ml = new MainLayout1(Y);\n\t\tgwtParent.add(ml);\n\n\t\tthis.setMainLayout(ml);\n\t}", "title": "" }, { "docid": "5554d7b44b023a729e303f88943754f9", "score": "0.55933553", "text": "@RequestMapping(\"/\")\n\tpublic ModelAndView indexPage() {\n\t\tModelAndView mv = new ModelAndView(\"index\");\n\t\treturn mv;\n\t}", "title": "" }, { "docid": "5d638bb9f7db2f9a55375505029df7cc", "score": "0.5589724", "text": "protected void createContents() {\n\t\tshell = new Shell();\n\t\tshell.setTouchEnabled(true);\n\t\tshell.setSize(450, 300);\n\t\tshell.setText(\"SWT Application\");\n\t\tshell.setLayout(null);\n\t\t\n\t\tCLabel lblNewLabel_1 = new CLabel(shell, SWT.NONE);\n\t\tlblNewLabel_1.setFont(SWTResourceManager.getFont(\"Segoe UI\", 9, SWT.BOLD));\n\t\tlblNewLabel_1.setBounds(145, 10, 139, 21);\n\t\tlblNewLabel_1.setText(\"Address Book\");\n\t\t\n\t\tCLabel lblUsername = new CLabel(shell, SWT.NONE);\n\t\tlblUsername.setBounds(55, 46, 67, 21);\n\t\tlblUsername.setText(\"Username:\");\n\t\t\n\t\tCLabel lblPassword = new CLabel(shell, SWT.NONE);\n\t\tlblPassword.setBounds(61, 92, 61, 21);\n\t\tlblPassword.setText(\"Password:\");\n\t\t\n\t\ttext = new Text(shell, SWT.BORDER);\n\t\ttext.setBounds(123, 46, 185, 21);\n\t\t\n\t\ttext_1 = new Text(shell, SWT.BORDER);\n\t\ttext_1.setBounds(123, 92, 185, 21);\n\t\t\n\t\tButton btnLogin = new Button(shell, SWT.NONE);\n\t\tbtnLogin.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t}\n\t\t});\n\t\tbtnLogin.setBounds(116, 147, 75, 25);\n\t\tbtnLogin.setText(\"LogIn\");\n\t\t\n\t\tButton btnExit = new Button(shell, SWT.NONE);\n\t\tbtnExit.setBounds(233, 147, 75, 25);\n\t\tbtnExit.setText(\"Exit\");\n\n\tbtnLogin.addListener(SWT.Selection,new Listener()){\n\t\tpublic void handleEvent(Event event) {\n\t\t\tuserName = userNameTxt.getText();\n\t\t\tpassword = passwordTxt.getText();\n\t\t\t\n\t\t\tif (event.getSource()== LogIn) {\n\t\t\t\tab.statusToLaunch();\n\t\t\t\t\n\t\t\t\t\n }\n\t\t\t\n\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "9182ec77aade043210b7f71ce56f09e1", "score": "0.55863553", "text": "protected void createContents() {\r\n\t\tshell = new Shell();\r\n\t\tshell.setSize(801, 427);\r\n\t\tshell.setText(\"SWT Application\");\r\n\t\tshell.setLayout(null);\r\n\t\t\r\n\t\tLabel Uname = new Label(shell, SWT.NONE);\r\n\t\tUname.setBounds(132, 62, 55, 15);\r\n\t\tUname.setText(\"Name\");\r\n\t\t\r\n\t\tLabel Sname = new Label(shell, SWT.NONE);\r\n\t\tSname.setBounds(426, 62, 55, 15);\r\n\t\tSname.setText(\"Surname\");\r\n\t\t\r\n\t\ttext = new Text(shell, SWT.BORDER);\r\n\t\ttext.setBounds(215, 56, 76, 21);\r\n\t\t\r\n\t\ttext_1 = new Text(shell, SWT.BORDER);\r\n\t\ttext_1.setBounds(525, 56, 76, 21);\r\n\t\t\r\n\t\tButton submit = new Button(shell, SWT.NONE);\r\n\t\tsubmit.addSelectionListener(new SelectionAdapter() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\r\n\t\t\t}\r\n\t\t});\r\n\t\tsubmit.setBounds(309, 137, 99, 25);\r\n\t\tsubmit.setText(\"Add to excel\");\r\n\r\n\t}", "title": "" }, { "docid": "2c51c2fc069dd81d96a77440356d65a8", "score": "0.5582441", "text": "@GetMapping(\"/\")\n public String welcome() {\n return \"MainPage\";\n }", "title": "" }, { "docid": "f3c083443dac629a03748e121cd56cf4", "score": "0.5581661", "text": "protected void loadPage() {\n openComponent(\"Modal Panel\");\n }", "title": "" }, { "docid": "b50210411bff308f14d269ba89237149", "score": "0.5580902", "text": "protected final void initMainPage(PageView page) {\r\n\r\n if (page == null) {\r\n\r\n throw new NullPointerException(\"ERROR: The page specified cannot be null\");\r\n }\r\n\r\n // Sets up the page to be visually displayed\r\n pageSetUp(page);\r\n\r\n // Adds the page to all valid registers\r\n addRegister(page);\r\n\r\n this.mainPage = page;\r\n }", "title": "" }, { "docid": "50f7e26dedc9bd393c65af3b3d855918", "score": "0.5580868", "text": "Page() {\n }", "title": "" }, { "docid": "36e357b388c7f5aeec88310ca783fba6", "score": "0.5576838", "text": "public BootPage() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "69c36c68c2f0f5b1c20301fd3f06caae", "score": "0.5575849", "text": "public HTMLPage() {\n\t\tsuper(PAGE_ID, PAGE_TAB_TITLE, PAGE_TITLE);\n\t\tastConverter = new Ast2HtmlConverter();\n\t}", "title": "" }, { "docid": "5334c230f2f074666aad370870e46423", "score": "0.5574616", "text": "protected void createContents() {\n shell = new Shell();\n shell.setMinimumSize(new Point(800, 600));\n shell.setSize(450, 300);\n shell.setText(\"SWT Application\");\n shell.setLayout(new BorderLayout(6, 0));\n\n\n createMenu();\n\n createToolBar();\n\n createContent();\n\n fileTree = new FileTree(shell, SWT.BORDER, imageViewer);\n fileTree.setHeaderVisible(true);\n fileTree.setLinesVisible(true);\n }", "title": "" }, { "docid": "83b8946b21c99c32bcb0ee20f2662135", "score": "0.55692136", "text": "protected void createPageXML() {\n\t\ttry {\n\t\t\txmlEditor = new XMLEditor(jrContext);\n\t\t\tint index = addPage(xmlEditor, getEditorInput());\n\t\t\tsetPageText(index, Messages.common_source);\n\t\t\txmlEditor.getDocumentProvider().getDocument(xmlEditor.getEditorInput())\n\t\t\t\t\t.addDocumentListener(new IDocumentListener() {\n\n\t\t\t\t\t\tpublic void documentChanged(DocumentEvent event) {\n\t\t\t\t\t\t\txmlFresh = false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tpublic void documentAboutToBeChanged(DocumentEvent event) {\n\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\txmlEditor.getDocumentProvider().addElementStateListener(new StateListener());\n\t\t} catch (PartInitException e) {\n\t\t\tUIUtils.showError(e);\n\t\t}\n\t}", "title": "" }, { "docid": "53a03786074f78c55bb82bc95c833299", "score": "0.5560255", "text": "@AutoGenerated\r\n\tprivate HorizontalLayout buildMainLayout() {\n\t\tmainLayout = new HorizontalLayout();\r\n\t\tmainLayout.setStyleName(\"footertext\");\r\n\t\tmainLayout.setImmediate(false);\r\n\t\tmainLayout.setWidth(\"100%\");\r\n\t\tmainLayout.setHeight(\"25px\");\r\n\t\tmainLayout.setMargin(false);\r\n\t\tmainLayout.setSpacing(true);\r\n\r\n\t\t// top-level component properties\r\n\t\tsetWidth(\"100.0%\");\r\n\t\tsetHeight(\"25px\");\r\n\r\n\t\t// madeBy\r\n\t\tmadeBy = new Label();\r\n\t\tmadeBy.setImmediate(false);\r\n\t\tmadeBy.setWidth(\"-1px\");\r\n\t\tmadeBy.setHeight(\"-1px\");\r\n\t\tmadeBy.setValue(\"Designed and developed by: \");\r\n\t\tmainLayout.addComponent(madeBy);\r\n\t\tmainLayout.setComponentAlignment(madeBy, new Alignment(34));\r\n\r\n\t\t// mailto\r\n\t\tmailto = new Link();\r\n\t\tmailto.setCaption(\"Roman Krysinski\");\r\n\t\tmailto.setImmediate(false);\r\n\t\tmailto.setWidth(\"-1px\");\r\n\t\tmailto.setHeight(\"-1px\");\r\n\t\tmainLayout.addComponent(mailto);\r\n\t\tmainLayout.setComponentAlignment(mailto, new Alignment(33));\r\n\r\n\t\treturn mainLayout;\r\n\t}", "title": "" }, { "docid": "6030d3070f98ac1d52f7539aa9efbc9d", "score": "0.55588305", "text": "protected void addPages() {\n // createPageOverView();\n createPageXML();\n // createPagePreview();\n }", "title": "" } ]
a3ec5202194e6bd35203c2cf4d70341a
using bash command to find the names of the categories in the category folder each category is added to the list
[ { "docid": "4a53680b2d265788c7018295cb1d8e03", "score": "0.6283056", "text": "private void initialiseCategories() {\n\t\t_nzCategories = BashCmdUtil.bashCmdHasOutput(\"ls categories/nz\");\n\t\t_intCategories = BashCmdUtil.bashCmdHasOutput(\"ls categories/international\");\n\t}", "title": "" } ]
[ { "docid": "f11bb2b95a549e3a703365df632b4853", "score": "0.62352705", "text": "public List<String> getCategories();", "title": "" }, { "docid": "12bb53d9f60a7f81d8dd543cf2f663aa", "score": "0.6049592", "text": "public static ArrayList<String> catToCateg(String categ) throws Exception {\n\n\t\tArrayList<String> list = new ArrayList<String>();\n\n\t\tif (categOffsetIndex == null) {\n\t\t\tSystem.out.println(\"categ loading index...\");\n\t\t\tloadCategIndex();\n\t\t\tSystem.out.println(\"categ index loaded !!!\");\n\t\t}\n\n\t\tif (categOffsetIndex.get(categ) != null) {\n\t\t\tFile file = new File(basedir + \"categHierarchy\");\n\t\t\tRandomAccessFile rFile = new RandomAccessFile(file, \"r\");\n\t\t\t// System.out.println(categOffsetIndex.get(categ));\n\t\t\trFile.seek(categOffsetIndex.get(categ));\n\t\t\tString temp = rFile.readLine();\n\t\t\trFile.close();\n\t\t\tString arr[] = temp.split(\"\\t\");\n\n\t\t\tString temp1 = arr[1].substring(1, arr[1].length() - 1);\n\t\t\tString arr1[] = temp1.split(\",\");\n\n\t\t\tfor (String key : arr1) {\n\t\t\t\tlist.add(key.trim());\n\t\t\t}\n\t\t\trFile.close();\n\t\t\treturn list;\n\n\t\t}\n\n\t\telse {\n\n\t\t\treturn null;\n\t\t}\n\n\t}", "title": "" }, { "docid": "c227781628b6a90d233a6138789d0d7f", "score": "0.59780836", "text": "public List<String> getCategoryList(String cat) {\n ArrayList<String> ls = new ArrayList<String>();\n String[] keys = sortedStringKeys();\n\n for (String s : keys) {\n if (s.startsWith(cat)) { ls.add(getProperty(s)); }\n }\n return ls;\n }", "title": "" }, { "docid": "7ebc5d30ee25fd610d733e7a7fdf10b2", "score": "0.5945379", "text": "void updateUsedCategoriesContent() {\n try{\n InputStream inputStream = DMOZCrawler.class.getResourceAsStream(\"Used_categories.txt\");\n InputStreamReader inputStreamReader = new InputStreamReader(inputStream);\n BufferedReader bufferedReader = new BufferedReader(inputStreamReader);\n HashSet<String> usedCategories = new HashSet<>();\n\n String currentLine;\n while ((currentLine = bufferedReader.readLine()) != null){\n usedCategories.add(currentLine.toLowerCase());\n System.out.println(\"Used category added :: \" + currentLine);\n }\n\n System.out.println(usedCategories);\n\n for(String id : usedCategories){\n categoryContent(Integer.parseInt(id));\n }\n } catch (Exception exception){\n exception.printStackTrace();\n }\n }", "title": "" }, { "docid": "59124a198d072ba1a054eebfa97804ab", "score": "0.5943151", "text": "public List<Categorie> getAllCategories();", "title": "" }, { "docid": "741b08837e228ff41227552f9c103dea", "score": "0.5940328", "text": "private List<Category> extractTargets() {\n List<String> names = getNames(\"category\");\n CategorySelectAsyncTask task = new CategorySelectAsyncTask();\n CategoryMapper mapper = new CategoryMapper();\n task.setNames(names);\n List<Category> list = new ArrayList<>();\n try {\n list.addAll(mapper.to(task.execute().get()));\n } catch (ExecutionException | InterruptedException e) {\n Log.e(TAG, \"extractTargets: \" + e.getMessage(), e);\n }\n return list;\n }", "title": "" }, { "docid": "9a22a4b675d588ee92cb7818ef0358f9", "score": "0.5935036", "text": "List<Category> getAllCategories();", "title": "" }, { "docid": "fd776709eea335ddce6e66e9303d1371", "score": "0.5875071", "text": "public String categoryList(CategoryDetails c);", "title": "" }, { "docid": "eefda6393d31eac568e27565e7f754a2", "score": "0.58485407", "text": "default List<String> getCategory(String category) {\n return new ArrayList<>(getCategories().get(category.toLowerCase()).values());\n }", "title": "" }, { "docid": "f8654fb85f8c7fe2c5955f6337df7001", "score": "0.5833109", "text": "private static void catList() {\n\t\tSystem.out.println(\"List of preset Categories\");\n\t\tSystem.out.println(\"=========================\");\n\t\tSystem.out.println(\n\t\t\t\t\"Family\\nTeen\\nThriller\\nAnimated\\nSupernatural\\nComedy\\nDrama\\nQuirky\\nAction\\nComing of age\\nHorror\\nRomantic Comedy\\n\\n\");\n\t}", "title": "" }, { "docid": "1692af5938d4d688ecc03fcd28ce7278", "score": "0.57778764", "text": "public static List<String> getAllCategoryName() {\n List<String> list = new ArrayList<>();\n List<Category> catList=getAllCategory();\n if(catList!=null && catList.size()>0) {\n for (Category category : catList)\n {\n list.add(category.getCategoryName());\n }\n }\n\n return list;\n\n }", "title": "" }, { "docid": "5405ecbb8a89c6432921de5c3262c19e", "score": "0.57481414", "text": "public void getCategorory(){\n\t\tDynamicQuery dynamicQuery = DynamicQueryFactoryUtil.forClass(AssetCategory.class, \"category\", PortalClassLoaderUtil.getClassLoader());\n\t\ttry {\n\t\t\tList<AssetCategory> assetCategories = AssetCategoryLocalServiceUtil.dynamicQuery(dynamicQuery);\n\t\t\tfor(AssetCategory category : assetCategories){\n\t\t\t\tlog.info(category.getName());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}", "title": "" }, { "docid": "e2d15f372522898c1af736142d192ae6", "score": "0.573418", "text": "public List<String> findAllCategories() {\r\n\t\tList<String> result = new ArrayList<>();\r\n\r\n\t\t// 1) get a Connection from the DataSource\r\n\t\tConnection con = DB.gInstance().getConnection();\r\n\r\n\t\ttry {\r\n\r\n\t\t\t// 2) create a PreparedStatement from a SQL string\r\n\t\t\tPreparedStatement ps = con.prepareStatement(GET_CATEGORIES_SQL);\r\n\r\n\t\t\t// 3) execute the SQL\r\n\t\t\tResultSet resultSet = ps.executeQuery();\r\n\t\t\twhile (resultSet.next()) {\r\n\r\n\t\t\t\tString cat = resultSet.getString(1);\r\n\t\t\t\tresult.add(cat);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException se) {\r\n\t\t\tse.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tDB.gInstance().returnConnection(con);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "98d97aebc9e77f03605f8dfcf64f2a75", "score": "0.5731366", "text": "List getCategoriesOfType(String typeConstant);", "title": "" }, { "docid": "d17fdfbb912a2f373710a70d7dba6f98", "score": "0.5724943", "text": "private static void addPathToCategories() throws JSONException {\n StringBuilder path = new StringBuilder();\n String leafNodeDisplayName = null;\n for (HashMap<String, String> elements : elementStack) {\n if (path.length() > 0) {\n path.append(\"/\");\n }\n for (Map.Entry<String, String> entry : elements.entrySet()) {\n path.append(entry.getKey());\n if (entry.getValue() != null) {\n leafNodeDisplayName = entry.getValue();\n } else {\n leafNodeDisplayName = path.toString();\n }\n }\n\n }\n\n jsonPaths.put(path.toString(), leafNodeDisplayName);\n }", "title": "" }, { "docid": "5c100b685c2c8002dc248560965f6d4e", "score": "0.5720205", "text": "public static ArrayList<String> getCategories() {\n String query;\n ArrayList<String> categories = new ArrayList<String>();\n\n try {\n Connection con = Database.createDBconnection();\n Statement stmt = con.createStatement();\n query = \"SELECT category FROM category;\";\n ResultSet rs = stmt.executeQuery(query);\n\n while(rs.next()) {\n categories.add(rs.getString(\"category\"));\n }\n\n Database.closeDBconnection(con);\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n return categories;\n }", "title": "" }, { "docid": "d14c2e7cf879ad6a04565daf64cc2194", "score": "0.5705516", "text": "public List<Cvcategory> findAllCvcategories();", "title": "" }, { "docid": "cf6470ccff23badbb9425f124b824314", "score": "0.5690719", "text": "@Override\n\tpublic List<Category> findcategory() {\n\t\t\n\t\tConnection conn=null;\n\t\tPreparedStatement pst=null;\n\t\tResultSet rs=null;\n\t\t\n\t\tList<Category> list=new ArrayList<Category>();\n\t\ttry {\n\t\t\tconn=DBUtils.getConnection();\n\t\t\tpst=conn.prepareStatement(\"select id,parent_id,name,status,sort_order,create_time,update_time from category\");\n\t\t\t\n\t\t\trs=pst.executeQuery();\n\t\t\t\n\t\t\twhile (rs.next()) {\n\t\t\t\tCategory category=new Category(rs.getInt(\"id\"),rs.getInt(\"parent_id\"),rs.getString(\"name\"),rs.getInt(\"status\"),rs.getInt(\"sort_order\"),rs.getDate(\"create_time\"),rs.getDate(\"update_time\"));\n\t\t\t\tlist.add(category);\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\tDBUtils.Close(conn, pst, rs);\n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "20e598c38d6455274f5f03b3efd016e4", "score": "0.5686872", "text": "String category();", "title": "" }, { "docid": "170da206e07dd7cc273e9d6c33433499", "score": "0.5640051", "text": "protected abstract String[] getFolderList() throws IOException;", "title": "" }, { "docid": "cd16d6004008fe44300cdf0f5502d7b7", "score": "0.5595951", "text": "public static void loopCategories() throws IOException {\n //If all of the categories haven't been checked yet check the response at the current index (count).\n if (count < CATEGORY_ARRAY_SIZE) {\n //If that response if equal to TRUE (1).\n if (currentUser.getSingleCategory(count) == TRUE) {\n //Adjust the start index.\n startIndex = count * LOCATIONS_PER_CATEGORY;\n //Call the locaitons view.\n Main.FxmlLoader(LOCATIONS_PATH);\n }\n //Otherwise increment count and check the next index recursively.\n else {\n count++;\n loopCategories();\n }\n }\n }", "title": "" }, { "docid": "d450f8601d2d9fcc484bf5fa08288dda", "score": "0.55943394", "text": "public void readInCategories() {\n // read CSV file for Categories\n allCategories = new ArrayList<Category>();\n InputStream inputStream = getResources().openRawResource(R.raw.categories);\n CSVFile csvFile = new CSVFile(inputStream);\n List scoreList = csvFile.read();\n // ignore first row because it is the title row\n for (int i = 1; i < scoreList.size(); i++) {\n String[] categoryInfo = (String[]) scoreList.get(i);\n\n // inputs to Category constructor:\n // String name, int smallPhotoID, int bannerPhotoID\n\n // get all image IDs according to the names\n int smallPhotoID = context.getResources().getIdentifier(categoryInfo[1], \"drawable\", context.getPackageName());\n int bannerPhotoID = context.getResources().getIdentifier(categoryInfo[2], \"drawable\", context.getPackageName());\n allCategories.add(new Category(categoryInfo[0],smallPhotoID, bannerPhotoID));\n\n //System.out.println(\"categoryInfo: \" + categoryInfo[0] + \" \" + categoryInfo[1] + \" \" + categoryInfo[2]);\n }\n }", "title": "" }, { "docid": "9813d755ae0be76534bc6eba047efe6e", "score": "0.55446714", "text": "public static List<Category> findAll() {\n List<Category> categories = categoryFinder.findList();\n if(categories.isEmpty()){\n categories = new ArrayList<>();\n }\n return categories;\n }", "title": "" }, { "docid": "d7fac28feada0fbe4939dc06d82a65bc", "score": "0.5534265", "text": "public List<DVDCategorie> listDVDCategorie();", "title": "" }, { "docid": "d81d68efac89351f8361fb0a65677440", "score": "0.55154747", "text": "@Override\n\tpublic List<AnimalCategory> findCategory() {\n\t\tList<AnimalCategory> list = animaldao.findCategory();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "3609475d1ecde3955f2decfb41409286", "score": "0.55116975", "text": "@GetMapping(\"category\")\n\t\tpublic List<String> getCategory(){\n\t\t\tList<String> list = repo.findByCat();\n\t\t\treturn list;\n\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "b30a1a9ac612536912cd35f0b2a8ff86", "score": "0.5459705", "text": "public static ArrayList<AdminCategory> fetchCategoryList() {\r\n\r\n\t\tArrayList<AdminCategory> categoryList = new ArrayList<AdminCategory>();\r\n\r\n\t\tsqlQuery = \"SELECT categoryName, status, B.level,\" +\r\n\t\t\t\t\"(SELECT categoryName FROM flipkart_category A WHERE A.categoryID=C.parentID) AS parentCategory, \" +\r\n\t\t\t\t\"B.categoryID \" +\r\n\t\t\t\t\"FROM flipkart_category B, flipkart_path C \" +\r\n\t\t\t\t\"WHERE B.categoryID=C.categoryID ORDER BY B.level;\";\r\n\r\n\t\ttry{\r\n\t\t\tconn=DbConnection.getConnection();\r\n\t\t\tps=conn.prepareStatement(sqlQuery);\r\n\t\t\trs=ps.executeQuery();\r\n\r\n\t\t\twhile(rs.next()){\r\n\t\t\t\tAdminCategory category = new AdminCategory();\r\n\t\t\t\tcategory.setCategoryName(rs.getString(1));\r\n\t\t\t\tcategory.setStatus(rs.getInt(2));\r\n\t\t\t\tcategory.setLevel(rs.getInt(3));\r\n\t\t\t\tcategory.setParentCategory(rs.getString(4));\r\n\t\t\t\tcategory.setCategoryID(rs.getInt(5));\r\n\t\t\t\tcategoryList.add(category);\r\n\t\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\r\n\t\treturn categoryList;\r\n\t}", "title": "" }, { "docid": "6d85d549042be189a791dcde6bed8ba6", "score": "0.54554796", "text": "private static Stream<String> parseCategory(ClassificationCategory category) {\n return Stream.of(category.getName().substring(1).split(\"/| & \"));\n }", "title": "" }, { "docid": "3a2a929bd285c915b4d4faf40ee2a815", "score": "0.5428923", "text": "public ArrayList<Categoria> listarCategorias();", "title": "" }, { "docid": "aeb9bcbe2afe10026a1f84e29659fc74", "score": "0.5417313", "text": "private void readCategories() throws Exception {\n\t\t//reads files in nz category\n\t\tif (_nzCategories.size() > 0) {\n\t\t\tfor (String category: _nzCategories) {\n\t\t\t\t// read each individual line from the category files and store it\n\t\t\t\ttry {\n\t\t\t\t\tFile file = new File(\"categories/nz/\", category);\n\t\t\t\t\tScanner myReader = new Scanner(file);\n\t\t\t\t\tList<String> allLines = new ArrayList<String>();\n\t\t\t\t\twhile(myReader.hasNextLine()) {\n\t\t\t\t\t\tString fileLine = myReader.nextLine();\n\t\t\t\t\t\tallLines.add(fileLine);\n\t\t\t\t\t}\n\t\t\t\t\tList<String> copy = new ArrayList<String>(allLines);\n\t\t\t\t\t_nzData.put(category, copy);\n\t\t\t\t\tallLines.clear();\n\t\t\t\t\tmyReader.close();\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//reads file in international categories\n\t\tif (_intCategories.size() > 0) {\n\t\t\tfor (String category: _intCategories) {\n\t\t\t\t// read each individual line from the category files and store it\n\t\t\t\ttry {\n\t\t\t\t\tFile file = new File(\"categories/international/\", category);\n\t\t\t\t\tScanner myReader = new Scanner(file);\n\t\t\t\t\tList<String> allLines = new ArrayList<String>();\n\t\t\t\t\twhile(myReader.hasNextLine()) {\n\t\t\t\t\t\tString fileLine = myReader.nextLine();\n\t\t\t\t\t\tallLines.add(fileLine);\n\t\t\t\t\t}\n\t\t\t\t\tList<String> copy = new ArrayList<String>(allLines);\n\t\t\t\t\t_intData.put(category, copy);\n\t\t\t\t\tallLines.clear();\n\t\t\t\t\tmyReader.close();\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ecc4d32ec4c444bf0bc8135f099e796d", "score": "0.541351", "text": "public static List<Category> getAllCategory() {\n\n List<Category> categoryList = new ArrayList<>();\n try {\n categoryList = Category.listAll(Category.class);\n } catch (Exception e) {\n\n }\n return categoryList;\n\n }", "title": "" }, { "docid": "46b8a89d8569742683b0dd8968b8ee3c", "score": "0.5389535", "text": "ListCategoryResponse listCategories(ListCategoryRequest request);", "title": "" }, { "docid": "da66dec65cfe0daa6416a6deba55e1d1", "score": "0.53694534", "text": "@Override\n\tpublic List<Category> findAllCategory() {\n\t\treturn categoryRepository.findAllCategory();\n\t}", "title": "" }, { "docid": "5a46aa522c1075718f9cf1196a12172e", "score": "0.53688323", "text": "List<ConfigCategory> getCategoryOfTypeAndDisplayName(String typeConstant, String catDisplayName);", "title": "" }, { "docid": "cc09497842e094859911d6551bb4f94a", "score": "0.53564996", "text": "public @NotNull Set<Category> findAllCategories() throws BazaarException;", "title": "" }, { "docid": "261438426d01c40bac8838d30e6ab62f", "score": "0.53559905", "text": "public java.lang.String HR_GetSubServiceCategories(java.lang.String accessToken, java.lang.String serviceCategory) throws java.rmi.RemoteException;", "title": "" }, { "docid": "5beb78b7276a1f06034687ab544e4732", "score": "0.5347606", "text": "@Override\n\tpublic List<Category> getAllCategory() {\n\t\treturn category.selectAllCategory();\n\t}", "title": "" }, { "docid": "94e4fc67d9327323c36f50716eeb2422", "score": "0.5346816", "text": "public List<ProductCatagory> getAllCategory() throws BusinessException;", "title": "" }, { "docid": "3e838e94622021d6776d04177f7abffb", "score": "0.5336582", "text": "List<? extends HasListBox> getCodeListsForCategory(String category);", "title": "" }, { "docid": "fd63b3e7def667e0c76724caf79b3ec4", "score": "0.5333865", "text": "private Collection<IInstallableUnit>queryCategories(final IProgressMonitor monitor, IProvisioningAgent agent)\r\n\t{\t\t\r\n\t\tCollection<IInstallableUnit>iuSet = new LinkedList<IInstallableUnit>();\r\n\t\tIQueryable<IInstallableUnit> queryable = ((IProfileRegistry) agent\r\n\t\t\t\t.getService(IProfileRegistry.SERVICE_NAME))\r\n\t\t\t\t.getProfile(PROFILE_ID);\r\n\r\n\t\tif (queryable != null)\r\n\t\t{\r\n\t\t\t// Kategorien abfragen\r\n\t\t\tIQueryResult<IInstallableUnit> resultCategory = queryable.query(\r\n\t\t\t\t\tQueryUtil.createIUCategoryQuery(), monitor);\r\n\t\t\t\r\n\t\t\tIterator<IInstallableUnit> itMembers = resultCategory.iterator();\r\n\t\t\twhile (itMembers.hasNext())\r\n\t\t\t{\r\n\t\t\t\tIInstallableUnit uiMember = itMembers.next();\r\n\t\t\t\tiuSet.add(uiMember);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn iuSet;\r\n\t}", "title": "" }, { "docid": "2b069f0f4ed7a8040ffe3f60b5800a71", "score": "0.53281933", "text": "private static void seachCats(String maybeCat) {\n\t\tSystem.out.println(\"List of \" + maybeCat + \" movies\");\n\t\tSystem.out.println(\"===============================\");\n\t\tint i;\n\t\tint x = 0;\n\t\tfor (i = 0; i < movList.size(); i++) {\n\t\t\tif (movList.get(i).isCat(maybeCat)) {\n\t\t\t\tSystem.out.println(movList.get(i));\n\t\t\t\tx++;\n\t\t\t}\n\t\t}\n\t\tif (x == 0) {\n\t\t\tSystem.out.println(\"Sorry, there are no movies in that category.\");\n\t\t}\n\t}", "title": "" }, { "docid": "0c1ae40efc18ac77ea8b204623389464", "score": "0.5326922", "text": "public List<Category> findAll();", "title": "" }, { "docid": "23052dbfefbe270f5bb3b8bbac116de5", "score": "0.5324805", "text": "public List<ZCategory> SelectAll() {\r\n\t\tList<ZCategory> Categories = new ArrayList<>();\r\n\t\tString lines[];\r\n\t\tlines = fm.getArray();\r\n\t\tfor (String string : lines) {\r\n\t\t\tCategories.add(stringToCategory(string));\r\n\t\t}\r\n\t\treturn Categories;\r\n\t}", "title": "" }, { "docid": "694800a1da8d7dbdd177feb46d6b548d", "score": "0.5323733", "text": "public abstract List<String> getDirs( );", "title": "" }, { "docid": "e2b61161615965438279b0a59ba65a08", "score": "0.5318609", "text": "public List<CategoryDTO> getCategories(String bbbChannel, String siteId, List<String> relatedCategories) ;", "title": "" }, { "docid": "7d57e69a0e69ce0364a5ca160371966a", "score": "0.5315913", "text": "private void listCategory() {\r\n \r\n cmbCategoryFilter.removeAllItems();\r\n cmbCategory.removeAllItems();\r\n \r\n cmbCategoryFilter.addItem(\"All\");\r\n for (Category cat : Category.listCategory()) {\r\n cmbCategoryFilter.addItem(cat.getName());\r\n cmbCategory.addItem(cat.getName());\r\n }\r\n \r\n }", "title": "" }, { "docid": "e2563984db26f6d123a34a3d022f53be", "score": "0.53108674", "text": "@Override\n\tpublic Iterable<Category> findAllCategory() {\n\t\treturn categoryRepository.findAll();\n\t}", "title": "" }, { "docid": "c61b3ed1ef7b8f12c9885e9c1150af77", "score": "0.5309816", "text": "public List<Category> queryExistingCategory(){\n\t\tArrayList<Category> cs = new ArrayList<Category>(); \n\t\tCursor c = queryTheCursorCategory(); \n\t\twhile(c.moveToNext()){\n\t\t\tCategory category = new Category();\n\t\t\tcategory._id = c.getInt(c.getColumnIndex(\"_id\"));\n\t\t\tcategory.title = c.getString(c.getColumnIndex(DBEntryContract.CategoryEntry.COLUMN_NAME_TITLE));\n\t\t\tcategory.numberOfEntries = this.queryLocationEntryNumberByCategory(category._id);\n\t\t\tcs.add(category);\n\t\t}\n\t\t// close the cursor\n\t\tc.close();\n\t\treturn cs;\n\t\t\n\t}", "title": "" }, { "docid": "38c087aae836ea2022a93e0f9de8740b", "score": "0.5306189", "text": "public List<Category> getAllCategories() {\n\t dbUtil = new DBUtil();\n\t StringBuffer sbQuery = dbUtil.getQueryBuffer();\n\t ArrayList<String> args = dbUtil.getArgs();\n\t ResultSet rs = null;\n\t List<Category> listCategory = null;\n\t \n\t /*** Get the details of a particular Category ***/\n\t /*** QUERY ***/\n\t sbQuery.setLength(0);\n\t sbQuery.append(\" SELECT \");\n\t sbQuery.append(\" id, \");\n\t sbQuery.append(\" name, \");\n\t sbQuery.append(\" userid \");\n\t sbQuery.append(\" FROM lookup.category \");\n\t \n\t /*** Prepare parameters for query ***/\n\t args.clear();\n\t \n\t \n\t /*** Pass the appropriate arguments to DBUtil class ***/\n\t rs = dbUtil.executeSelect(sbQuery.toString(), args);\n\t \n\t /*** Convert the result set into a User object ***/\n\t if(rs!=null)\n\t listCategory = TransformUtil.convertToListCategory(rs);\n\t \n\t dbUtil.closeConnection();\n\t dbUtil = null;\n\t \n\t return listCategory;\n\t}", "title": "" }, { "docid": "67d8adb225e2896ced7481316ba9e74a", "score": "0.5302733", "text": "public List<Concept> populateConceptSection(String category){\n\t\tConceptService cs = Context.getConceptService();\n\t\tDeIdentifiedExportService d = Context.getService(DeIdentifiedExportService.class);\n\t\tList<String> list = d.getConceptByCategory(category);\n\t\tInteger temp;\n\t\tList<Concept> conceptList = new Vector<Concept>();\n\t\tfor(int i=0; i<list.size();i++){\n\t\t\tfor (String retval: list.get(i).split(\",\")){\n\t\t\t\ttemp = Integer.parseInt(retval);\n\t\t\t\tconceptList.add(cs.getConcept(temp));\n\t\t\t}\n\t\t}\n\t\tSet set = new HashSet(conceptList);\n\t\tList list1 = new ArrayList(set);\n\t\treturn list1;\n\t}", "title": "" }, { "docid": "7b59362197a032390b17fa5863d0cf75", "score": "0.52990896", "text": "private List<String> createCategoryNames(List<CategoryDb> instances) {\n List<String> list = new ArrayList<>(0);\n for (CategoryDb categoryDb : instances) {\n list.add(categoryDb.getCategoryNameEn());\n }\n return list;\n }", "title": "" }, { "docid": "438609016e9175901ffbd64a6579ba11", "score": "0.52988386", "text": "List<Category> selectCategoryList();", "title": "" }, { "docid": "8cff2fc3b7a82e736518105b94ca139b", "score": "0.52817225", "text": "public List<Category> getListCategory() {\n List<Category> list = new ArrayList<>();\n SQLiteDatabase sqLiteDatabase = dbHelper.getWritableDatabase();\n\n Cursor cursor = sqLiteDatabase.rawQuery(\"SELECT * FROM Category\", null);\n while (cursor.moveToNext()) {\n int id =cursor.getInt(0);\n\n Category category = new Category(id, cursor.getString(cursor.getColumnIndex(\"Name\")), cursor.getString(cursor.getColumnIndex(\"Image\")));\n Log.d(\"TAG\", \"getListCategory: \" + category.getId());\n list.add(category);\n }\n cursor.close();\n dbHelper.close();\n return list;\n }", "title": "" }, { "docid": "9cf4dc0b5965be10c067a6cea258120f", "score": "0.5278155", "text": "String getCategory();", "title": "" }, { "docid": "9cf4dc0b5965be10c067a6cea258120f", "score": "0.5278155", "text": "String getCategory();", "title": "" }, { "docid": "20a27696e3199f184e254b6f735bb8e5", "score": "0.5266636", "text": "public ArrayList<String[]> getCategoriesByParentID(int categoryId) {\n ArrayList<String[]> categories = new ArrayList<String[]>();\n try {\n if (connection != null) {\n String query = \"SELECT a.[CatID], a.[Category], COUNT(b.[CatID])\\n\"\n + \"FROM [capstone].[dbo].[tblCategoryID] a, [capstone].[dbo].[tblCategoryID] b\\n\"\n + \"WHERE a.[ParentID] \" + ((categoryId > 0) ? \"= \" + categoryId : \"IS NULL\") + \"\\n\"\n + \"AND b.[ParentID] = a.[CatID]\\n\"\n + \"GROUP BY a.[CatID], a.[Category], b.[ParentID]\\n\"\n + \"UNION\\n\"\n + \"SELECT [CatID], [Category], 0\\n\"\n + \"FROM [capstone].[dbo].[tblCategoryID]\\n\"\n + \"WHERE [ParentID] \" + ((categoryId > 0) ? \"= \" + categoryId : \"IS NULL\") + \"\\n\"\n + \"AND [CatID] NOT IN (\\n\"\n + \"\tSELECT DISTINCT [ParentID]\\n\"\n + \"\tFROM [capstone].[dbo].[tblCategoryID]\\n\"\n + \"\tWHERE [ParentID] IS NOT NULL)\\n\"\n + \"AND [CatID] <> 687\\n\" //TODO ugly override, cat 687 and art 13623 cause problems\n + \"ORDER BY a.[Category];\";\n Statement statement = connection.createStatement();\n ResultSet rs = statement.executeQuery(query);\n while (rs.next()) {\n String[] category = {rs.getString(1), rs.getString(2), rs.getString(3)};\n categories.add(category);\n }\n rs.close();\n } else {\n System.out.print(\"No database connection\");\n }\n } catch (SQLException e) {\n System.out.print(e.getMessage());\n } catch (NullPointerException e) {\n System.out.print(e.getMessage());\n }\n return categories;\n }", "title": "" }, { "docid": "172d221e8cc0b74c51fe10023da84964", "score": "0.5261794", "text": "private void buildCategories() {\n List<Category> categories = categoryService.getCategories();\n if (categories == null || categories.size() == 0) {\n throw new UnrecoverableApplicationException(\n \"no item types found in database\");\n }\n\n Map<Category, List<Category>> categoriesMap = new HashMap<Category, List<Category>>();\n for (Category subCategory : categories) {\n Category parent = subCategory.getParentCategory();\n if (categoriesMap.get(parent) == null) {\n categoriesMap.put(parent, new ArrayList<Category>());\n categoriesMap.get(parent).add(subCategory);\n } else {\n categoriesMap.get(parent).add(subCategory);\n }\n }\n\n this.allCategories = categories;\n this.sortedCategories = categoriesMap;\n }", "title": "" }, { "docid": "2abb15406919e107afd67de0ee8091a5", "score": "0.52592534", "text": "public List<CategoryPath> classify(AodnTerm term) {\n CategoryPath termPath = new CategoryPath(getCategoryLabel(term)); // Category path for this term\n List<CategoryPath> categoryPaths = getPathsForVocabularyTerm(term, termPath);\n\n if (categoryPaths.size() == 0) {\n logger.warn(String.format(\"No category paths found for uri='%s', prefLabel='%s', vocabulary='%s'\",\n term.getUri(), term.getPrefLabel(), vocabularyThesaurus.getThesaurusTitle()));\n }\n\n return categoryPaths;\n }", "title": "" }, { "docid": "4fd7796daf26d5cea1540528b40656eb", "score": "0.5244164", "text": "@GetMapping(\"/category\")\n\t public ResponseEntity<List<Category>> getcategorys() {\n\n\t List<Category> list = categoryService.getAllcategorys();\n\t if (list.size() <= 0) {\n\t return ResponseEntity.status(HttpStatus.NOT_FOUND).build();\n\t }\n\t return ResponseEntity.status(HttpStatus.CREATED).body(list);\n\t }", "title": "" }, { "docid": "ff877dd1628392ab02b18abe467b27a6", "score": "0.5243614", "text": "public interface Categories {\n List<String> all();\n List<String> getAdCategories(Ad ad);\n void linkCategories(long id, String[] categories);\n}", "title": "" }, { "docid": "cb68cdc5d9675118cb4e37747bd71d8c", "score": "0.52347803", "text": "public List<Categoria> listarCategorias(){\n //este metodo devuelve una lista.\n return categoriaRepo.findAll(); \n\n }", "title": "" }, { "docid": "fe1d8da4c52fc9c61e7ccc65caf2309d", "score": "0.523374", "text": "@SuppressWarnings(\"unused\")\n public @NotNull List<String> getRelativeCat(@NotNull List<String> otherCat) {\n List<String> same = new ArrayList<>(category());\n int sameCount = 0;\n for (int i = 0; i < same.size() && i < otherCat.size(); i++) {\n if (!otherCat.get(i).equals(same.get(i))) break;\n sameCount++;\n }\n\n // If there are no elements that are the same, the path must be\n // absolute\n if (sameCount == 0) {\n same.add(0, \"<<\");\n return same;\n }\n\n // Cut off the parts of the label that were the same\n same = same.subList(sameCount, same.size());\n\n // Add the up level symbols\n for (int i = 0; i < (category().size() - sameCount); i++) {\n same.add(0, \"<\");\n }\n\n return same;\n }", "title": "" }, { "docid": "25c0edf3b3d74220338f5ff3b7df6f1c", "score": "0.523236", "text": "public void displayCategories() {\n System.out.println(\"Categories:\");\n for(int i = 0; i < categories.size(); i++)\n System.out.println((i + 1) + \". \" + categories.get(i).getName());\n }", "title": "" }, { "docid": "8ffddb4f776e97f14bb6a242aa3f5c03", "score": "0.5231681", "text": "@Override\r\n\tpublic List<Category> list() {\n\t\treturn categories;\r\n\t}", "title": "" }, { "docid": "34e29d7d465ce17f7a15122199e16ac1", "score": "0.5227441", "text": "SortedSet<Recipe> findRecipesByCategory(MealCategory category) throws ServiceFailureException;", "title": "" }, { "docid": "342f7433c699cb06616c7984233b5ede", "score": "0.5215437", "text": "List<Category> findAll();", "title": "" }, { "docid": "66b99a578099a39a20264a84894302d1", "score": "0.52146256", "text": "List<ProductCategory> getAll();", "title": "" }, { "docid": "537aabfbf682c88e88cf6f764c705cd3", "score": "0.52130115", "text": "public List<Category> autocompleteCategory(String name) {\n List<Category> categories = null;\n try {\n DataBaseBroker dbb = new DataBaseBroker();\n dbb.loadDriver();\n dbb.establishConnection();\n categories = dbb.autocompleteCategory(name);\n dbb.commit();\n dbb.closeConnection();\n } catch (Exception ex) {\n Logger.getLogger(GameDBLogic.class.getName()).log(Level.SEVERE, null, ex);\n }\n return categories;\n }", "title": "" }, { "docid": "b64199acf97c198a15c21e048434277f", "score": "0.520615", "text": "public List<Question> getCategory(String category) {\n List<Question> questions = loadQuestions(\"quiz/\" + category + \".txt\");\n return questions;\n }", "title": "" }, { "docid": "a8a02f0fa423f72fbdfe31005c492b0f", "score": "0.5200829", "text": "List<Category> getAllCategories() throws DataBaseException;", "title": "" }, { "docid": "bc0325d96619c16aa66a254384038cf7", "score": "0.51960766", "text": "public String getCategories() {\n return getProperty(Property.CATEGORIES);\n }", "title": "" }, { "docid": "1091003adde25b9dda92b1b9e73b404c", "score": "0.5190973", "text": "List<Category> lisCat() {\n return dao.getAll(Category.class);\n }", "title": "" }, { "docid": "495e3d1b8b4a2168967aaf3590b8b825", "score": "0.51903933", "text": "private List<String> getTemplateList(String portletName, String category) throws Exception {\n List<String> templateOptionList = new ArrayList<String>();\n List<Node> templateNodeList = templateManagerService.getTemplatesByCategory(portletName, category, SessionProvider.createSystemProvider());\n for (Node templateNode : templateNodeList) {\n templateOptionList.add(templateNode.getPath());\n }\n return templateOptionList;\n }", "title": "" }, { "docid": "eecf1f8f29773208f1af14b00380d44e", "score": "0.51852113", "text": "List<SubCategory> getSubCategory(Category category) throws DataBaseException;", "title": "" }, { "docid": "2a1067112b08870a3858963da32ab723", "score": "0.51732516", "text": "public List<Category> getCategoriesLinkedTo(String link) { \n\t\tlogger.trace(\"getCategoriesLinkedTo\");\n\t\t//\t\tString sql = \"from Link where name Like '%:link%'\";\n\t\tString sql = \"SELECT * FROM Category \"\n\t\t\t\t+ \"WHERE id in (SELECT category FROM Link WHERE name LIKE ?)\";\n\t\tSession session = getCurrentSession(); \n\t\tsession.beginTransaction();\n\n\t\tSQLQuery query = session.createSQLQuery(sql)\n\t\t\t\t.addEntity(Category.class);\n\n\t\tString part = String.format(\"%%%s%%\", link); \n\t\tquery.setParameter(0, part);\n\n\t\tList<Category> categories = query.list();\n\n\t\t/* commit */ \n\t\tsession.getTransaction().commit();\n\n\t\treturn categories; \n\t}", "title": "" }, { "docid": "35546f2fbfaa9b80fb2f56036e83229b", "score": "0.5172168", "text": "WebBookNewsCateListResult listAllBookNewsCategories();", "title": "" }, { "docid": "564c42817be667ce410773595eb4e578", "score": "0.5163163", "text": "public ArrayList<TagCategory> loadTaglist() {\n\t\tFile src = new File(directory, FILENAME_TAGS);\n\t\treturn storageReader.loadTaglist(src);\n\t}", "title": "" }, { "docid": "5fe7bbd82efaebdad7b2837c4aff052b", "score": "0.5146182", "text": "public String getCategoryListing(){\n\t\tCategoryDAO daoObject = new CategoryDAO();\n\t\tString result = \"\";\n\t\t/*if(requestCall.equalsIgnoreCase(\"table\")){\n\t\t\t//System.out.println(\"in getCategoryListing service call table\");\n\t\t\tresult = daoObject.getCategoriesAndSubCategories();\n\t\t}else{\n\t\t\tresult = daoObject.getCategories(); \n\t\t}*/\n\t\t//result = daoObject.getCategoriesAndSubCategories();\n\t\tresult = daoObject.getCategories();\n\t\treturn result;\n\t}", "title": "" }, { "docid": "7966be548a29549165edb432ee027656", "score": "0.5145508", "text": "@Test\n public void getAllRecipeCategories_ReturnsList(){\n int returned = testDatabase.addRecipe(testRecipe);\n ArrayList<RecipeCategory> allCategories = testDatabase.getAllRecipeCategories(returned);\n assertNotEquals(\"getAllRecipeCategories - Non-empty List Returned\", 0, allCategories.size());\n }", "title": "" }, { "docid": "23a86562e2d01e2d003176fcc32314f9", "score": "0.51418567", "text": "public String[] getCategoryList(){\n return new String[]{\n \"Macros\",\n \"Instrument Type\",\n \"TOF_NSCD\",\n \"NEW_SNS\"\n };\n }", "title": "" }, { "docid": "dd4a27623d358987b7bf4970cb0be255", "score": "0.5138815", "text": "public static void classifyWithAllWords(String[] args) \r\n\t\t\tthrows IOException\r\n\t\t\t{\n\t\tFile dir_location = new File( args[0] ); \r\n\r\n\t\t// Listing of the directory (should contain 2 subdirectories: ham/ and spam/)\r\n\t\tFile[] dir_listing = new File[0];\r\n\r\n\t\t// Check if the cmd line arg is a directory and list it\r\n\t\tif ( dir_location.isDirectory() )\r\n\t\t{\r\n\t\t\tdir_listing = dir_location.listFiles();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println( \"- Error: cmd line arg not a directory.\\n\" );\r\n\t\t\tRuntime.getRuntime().exit(0);\r\n\t\t}\r\n\r\n\t\t// Listings of the two sub-directories (ham/ and spam/)\r\n\t\tFile[] listing_ham = new File[0];\r\n\t\tFile[] listing_spam = new File[0];\r\n\r\n\t\t// Check that there are 2 sub-directories\r\n\t\tboolean hamFound = false; boolean spamFound = false;\r\n\t\tfor (int i=0; i<dir_listing.length; i++) {\r\n\t\t\tif (dir_listing[i].getName().equals(\"ham\")) { listing_ham = dir_listing[i].listFiles(); hamFound = true;}\r\n\t\t\telse if (dir_listing[i].getName().equals(\"spam\")) { listing_spam = dir_listing[i].listFiles(); spamFound = true;}\r\n\t\t}\r\n\t\tif (!hamFound || !spamFound) {\r\n\t\t\tSystem.out.println( \"- Error: specified directory does not contain ham and spam subdirectories.\\n\" );\r\n\t\t\tRuntime.getRuntime().exit(0);\r\n\t\t}\r\n\r\n\t\t// Print out the number of messages in ham and in spam\r\n\t\t//System.out.println( \"\\t number of ham messages is: \" + listing_ham.length );\r\n\t\t//System.out.println( \"\\t number of spam messages is: \" + listing_spam.length );\r\n\r\n\t\t//******************************\r\n\t\t// Create a hash table for the vocabulary (word searching is very fast in a hash table)\r\n\t\tHashtable<String,Multiple_Counter> vocab = new Hashtable<String,Multiple_Counter>();\r\n\t\tMultiple_Counter old_cnt = new Multiple_Counter();\r\n\r\n\t\t//\t\tgw\r\n\t\tHashtable<String,WordStat> vocab_stat = new Hashtable<String,WordStat>();\r\n\r\n\t\tint nWordsHam = 0;\r\n\t\tint nWordsSpam = 0;\r\n\r\n\t\t// Read the e-mail messages\r\n\t\t// The ham mail\r\n\t\tfor ( int i = 0; i < listing_ham.length; i ++ )\r\n\t\t{\r\n\t\t\tFileInputStream i_s = new FileInputStream( listing_ham[i] );\r\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(i_s));\r\n\t\t\tString line;\r\n\t\t\tString word;\r\n\r\n\t\t\twhile ((line = in.readLine()) != null)\t\t\t\t\t// read a line\r\n\t\t\t{\r\n\t\t\t\tStringTokenizer st = new StringTokenizer(line);\t\t\t// parse it into words\r\n\r\n\t\t\t\twhile (st.hasMoreTokens())\r\n\t\t\t\t{\r\n\t\t\t\t\tword = st.nextToken().replaceAll(\"[^a-zA-Z]\",\"\");\r\n\r\n\t\t\t\t\tif ( !word.equals(\"\") ) { // if string isn't empty\r\n\t\t\t\t\t\tnWordsHam++;\r\n\t\t\t\t\t\tif ( vocab.containsKey(word) )\t\t\t\t// check if word exists already in the vocabulary\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\told_cnt = vocab.get(word);\t// get the counter from the hashtable\r\n\t\t\t\t\t\t\told_cnt.counterHam ++;\t\t\t// and increment it\r\n\r\n\t\t\t\t\t\t\tvocab.put(word, old_cnt);\r\n\r\n\t\t\t\t\t\t\t//gw\r\n\t\t\t\t\t\t\tWordStat ws = vocab_stat.get(word);\r\n\t\t\t\t\t\t\tws.counterHam++;\r\n\t\t\t\t\t\t\t//\t\t\t\t\t\t\tis this necessary?\r\n\t\t\t\t\t\t\tvocab_stat.put(word, ws);\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\tMultiple_Counter fresh_cnt = new Multiple_Counter();\r\n\t\t\t\t\t\t\tfresh_cnt.counterHam = 1;\r\n\t\t\t\t\t\t\tfresh_cnt.counterSpam = 0;\r\n\r\n\t\t\t\t\t\t\tvocab.put(word, fresh_cnt);\t\t\t// put the new word with its new counter into the hashtable\r\n\t\t\t\t\t\t\t//gw\r\n\t\t\t\t\t\t\tWordStat ws = new WordStat();\r\n\t\t\t\t\t\t\tws.counterHam = 1;\r\n\t\t\t\t\t\t\tws.counterSpam = 0;\r\n\t\t\t\t\t\t\tws.p_w_given_ham_log = 0.0 ; //init\r\n\t\t\t\t\t\t\tws.p_w_given_spam_log = 0.0; //init\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tvocab_stat.put(word, ws);\t\t\t\t\t\t\t\r\n\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\r\n\t\t\tin.close();\r\n\t\t}\r\n\t\t// The spam mail\r\n\t\tfor ( int i = 0; i < listing_spam.length; i ++ )\r\n\t\t{\r\n\t\t\tFileInputStream i_s = new FileInputStream( listing_spam[i] );\r\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(i_s));\r\n\t\t\tString line;\r\n\t\t\tString word;\r\n\r\n\t\t\twhile ((line = in.readLine()) != null)\t\t\t\t\t// read a line\r\n\t\t\t{\r\n\t\t\t\tStringTokenizer st = new StringTokenizer(line);\t\t\t// parse it into words\r\n\r\n\t\t\t\twhile (st.hasMoreTokens())\r\n\t\t\t\t{\r\n\t\t\t\t\tword = st.nextToken().replaceAll(\"[^a-zA-Z]\",\"\");\r\n\r\n\t\t\t\t\tif ( ! word.equals(\"\") ) {\t\r\n\t\t\t\t\t\tnWordsSpam ++;\r\n\t\t\t\t\t\tif ( vocab.containsKey(word) )\t\t\t\t// check if word exists already in the vocabulary\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\told_cnt = vocab.get(word);\t// get the counter from the hashtable\r\n\t\t\t\t\t\t\told_cnt.counterSpam ++;\t\t\t// and increment it\r\n\r\n\t\t\t\t\t\t\tvocab.put(word, old_cnt);\r\n\r\n\t\t\t\t\t\t\t//gw\r\n\t\t\t\t\t\t\tWordStat ws = vocab_stat.get(word);\r\n\t\t\t\t\t\t\tws.counterSpam++;\r\n\t\t\t\t\t\t\t//\t\t\t\t\t\t\tis this necessary?\r\n\t\t\t\t\t\t\tvocab_stat.put(word, ws);\r\n\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\tMultiple_Counter fresh_cnt = new Multiple_Counter();\r\n\t\t\t\t\t\t\tfresh_cnt.counterHam = 0;\r\n\t\t\t\t\t\t\tfresh_cnt.counterSpam = 1;\r\n\r\n\t\t\t\t\t\t\tvocab.put(word, fresh_cnt);\t\t\t// put the new word with its new counter into the hashtable\r\n\t\t\t\t\t\t\t//gw\r\n\t\t\t\t\t\t\tWordStat ws = new WordStat();\r\n\t\t\t\t\t\t\tws.counterHam = 0;\r\n\t\t\t\t\t\t\tws.counterSpam = 1;\r\n\t\t\t\t\t\t\tws.p_w_given_ham_log = 0.0 ; //init\r\n\t\t\t\t\t\t\tws.p_w_given_spam_log = 0.0; //init\r\n\t\t\t\t\t\t\tvocab_stat.put(word, ws);\t\t\t\t\t\t\t\r\n\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\r\n\t\t\tin.close();\r\n\t\t}\r\n\r\n\t\t// Print out the hash table\r\n\t\t//\t\tfor (Enumeration<String> e = vocab.keys() ; e.hasMoreElements() ;)\r\n\t\t//\t\t{\t\r\n\t\t//\t\t\tString word;\r\n\t\t//\r\n\t\t//\t\t\tword = e.nextElement();\r\n\t\t//\t\t\told_cnt = vocab.get(word);\r\n\t\t//\r\n\t\t//\t\t\tSystem.out.println( word + \" | in ham: \" + old_cnt.counterHam + \r\n\t\t//\t\t\t\t\t\" in spam: \" + old_cnt.counterSpam);\r\n\t\t//\t\t}\r\n\r\n\t\t// Now all students must continue from here\r\n\t\t// Prior probabilities must be computed from the number of ham and spam messages\r\n\t\t// Conditional probabilities must be computed for every unique word\r\n\t\t// add-1 smoothing must be implemented\r\n\t\t// Probabilities must be stored as log probabilities (log likelihoods).\r\n\t\t// Bayes rule must be applied on new messages, followed by argmax classification (using log probabilities)\r\n\t\t// Errors must be computed on the test set and a confusion matrix must be generated\r\n\r\n\t\t// prior prob\r\n\t\tint nMessagesHam = listing_ham.length;\r\n\r\n\t\tint nMessagesSpam = listing_spam.length;\r\n\r\n\t\tint nMessagesTotal = nMessagesHam + nMessagesSpam;\r\n\r\n\t\tif(nMessagesHam == 0 || nMessagesSpam ==0)\r\n\t\t\tSystem.out.println(\"Zero ham or spam messages\");\r\n\r\n\t\tdouble p_ham_log = Math.log((nMessagesHam* 1.0)/(nMessagesTotal));\r\n\t\tdouble p_spam_log = Math.log((nMessagesSpam* 1.0)/(nMessagesTotal));\r\n\r\n\t\tIterator it = vocab_stat.entrySet().iterator();\r\n\t\tWordStat ws = null;\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tMap.Entry pairs = (Map.Entry) it.next();\r\n\t\t\tString is = (String) pairs.getKey();\r\n\t\t\tws = (WordStat) pairs.getValue();\r\n\r\n\t\t\tws.counterHam ++;\r\n\t\t\tws.counterSpam ++;\r\n\t\t\tnWordsHam ++;\r\n\t\t\tnWordsSpam ++;\r\n\t\t}\r\n\r\n\t\t//System.out.println(\"nWordsHam = \" +nWordsHam);\r\n\t\t//System.out.println(\"nWordsSpam = \" + nWordsSpam);\r\n\r\n\t\t//\t\tgw:\r\n\t\tit = vocab_stat.entrySet().iterator();\r\n\t\tws = null; \r\n\t\twhile (it.hasNext()) {\r\n\t\t\tMap.Entry pairs = (Map.Entry) it.next();\r\n\t\t\tString is = (String) pairs.getKey();\r\n\t\t\tws = (WordStat) pairs.getValue();\r\n\r\n\t\t\tws.p_w_given_ham_log = Math.log(ws.counterHam *1.0 / nWordsHam);\r\n\t\t\tws.p_w_given_spam_log = Math.log(ws.counterSpam *1.0 / nWordsSpam);\r\n\t\t\t//vocab_stat.put(is,ws);\r\n\t\t}\r\n\t\t//\t\tTODO: further confirm arg index\r\n\t\t//test sets\r\n\t\tFile test_dir_location = new File( args[1] ); \r\n\r\n\t\t//\t\tTODO: verify below works\r\n\t\t// Listing of the directory (should contain 2 subdirectories: ham/ and spam/)\r\n\t\tFile[] test_dir_listing = new File[0];\r\n\r\n\r\n\t\t// Check if the cmd line arg is a directory and list it\r\n\t\tif ( test_dir_location.isDirectory() )\r\n\t\t{\r\n\t\t\ttest_dir_listing = test_dir_location.listFiles();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println( \"- Error: cmd line arg not a directory.\\n\" );\r\n\t\t\tRuntime.getRuntime().exit(0);\r\n\t\t}\r\n\r\n\t\t//\t\tTODO: verify File[0]\r\n\t\t// Listings of the two sub-directories (ham/ and spam/)\r\n\t\tFile[] test_listing_ham = new File[0];\r\n\t\tFile[] test_listing_spam = new File[0];\r\n\r\n\t\t// Check that there are 2 sub-directories\r\n\t\tboolean test_hamFound = false; boolean test_spamFound = false;\r\n\t\tfor (int i=0; i<test_dir_listing.length; i++) {\r\n\t\t\tif (test_dir_listing[i].getName().equals(\"ham\")) { test_listing_ham = test_dir_listing[i].listFiles(); test_hamFound = true;}\r\n\t\t\telse if (test_dir_listing[i].getName().equals(\"spam\")) { test_listing_spam = test_dir_listing[i].listFiles(); test_spamFound = true;}\r\n\t\t}\r\n\t\tif (!test_hamFound || !test_spamFound) {\r\n\t\t\tSystem.out.println( \"- Error: specified test directory does not contain ham and spam subdirectories.\\n\" );\r\n\t\t\tRuntime.getRuntime().exit(0);\r\n\t\t}\r\n\r\n\t\t//\t\t// Print out the number of messages in ham and in spam\r\n\t\t//\t\tSystem.out.println( \"\\t number of test ham messages is: \" + test_listing_ham.length );\r\n\t\t//\t\tSystem.out.println( \"\\t number of test spam messages is: \" + test_listing_spam.length );\r\n\r\n\r\n\t\t//\t\tmetrics\r\n\t\tint true_positives = 0; //spam classified as spam\r\n\t\tint true_negatives = 0; //ham classified as ham\r\n\t\tint false_positives = 0; //ham ... as spam\r\n\t\tint false_negatives = 0; //spam... as ham\r\n\r\n\t\t// Test starts\r\n\t\t// The ham mail\r\n\t\tfor ( int i = 0; i < test_listing_ham.length; i ++ )\r\n\t\t{\r\n\t\t\tFileInputStream i_s = new FileInputStream( test_listing_ham[i] );\r\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(i_s));\r\n\t\t\tString line;\r\n\t\t\tString word;\r\n\r\n\t\t\t//\t\t\tgw:\r\n\t\t\tdouble p_msg_ham_log = 0.0;\r\n\t\t\tdouble p_msg_spam_log = 0.0;\r\n\r\n\t\t\tp_msg_ham_log += p_ham_log;\r\n\t\t\tp_msg_spam_log += p_spam_log;\r\n\t\t\t//\t\t\tgw:\r\n\r\n\t\t\twhile ((line = in.readLine()) != null)\t\t\t\t\t// read a line\r\n\t\t\t{\r\n\t\t\t\tStringTokenizer st = new StringTokenizer(line);\t\t\t// parse it into words\r\n\r\n\t\t\t\twhile (st.hasMoreTokens())\r\n\t\t\t\t{\r\n\t\t\t\t\tword = st.nextToken().replaceAll(\"[^a-zA-Z]\",\"\");\r\n\r\n\t\t\t\t\tif ( !word.equals(\"\") ) { // if string isn't empty\r\n\t\t\t\t\t\t//\t\t\t\t\t\t\tgw:\r\n\t\t\t\t\t\tif(vocab_stat.containsKey(word)){\r\n\t\t\t\t\t\t\tWordStat iws = vocab_stat.get(word); \r\n\t\t\t\t\t\t\tdouble ip_w_given_ham_log = iws.p_w_given_ham_log;\r\n\t\t\t\t\t\t\tdouble ip_w_given_spam_log = iws.p_w_given_spam_log;\r\n\r\n\t\t\t\t\t\t\tp_msg_ham_log += ip_w_given_ham_log ;\r\n\t\t\t\t\t\t\tp_msg_spam_log += ip_w_given_spam_log ;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t//\t\t\t\t\t\t\tgw:\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tin.close();\r\n\r\n\t\t\tif (p_msg_spam_log > p_msg_ham_log) false_positives ++;\r\n\t\t\telse true_negatives ++;\r\n\t\t}\r\n\r\n\r\n\t\t// The spam mail\r\n\t\tfor ( int i = 0; i < test_listing_spam.length; i ++ )\r\n\t\t{\r\n\t\t\tFileInputStream i_s = new FileInputStream( test_listing_spam[i] );\r\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(i_s));\r\n\t\t\tString line;\r\n\t\t\tString word;\r\n\r\n\t\t\t//\t\t\tgw:\r\n\t\t\tdouble p_msg_ham_log = 0.0;\r\n\t\t\tdouble p_msg_spam_log = 0.0;\r\n\r\n\t\t\tp_msg_ham_log += p_ham_log;\r\n\t\t\tp_msg_spam_log += p_spam_log;\r\n\t\t\t//\t\t\tgw:\t\t\t\r\n\r\n\t\t\twhile ((line = in.readLine()) != null)\t\t\t\t\t// read a line\r\n\t\t\t{\r\n\t\t\t\tStringTokenizer st = new StringTokenizer(line);\t\t\t// parse it into words\r\n\r\n\t\t\t\twhile (st.hasMoreTokens())\r\n\t\t\t\t{\r\n\t\t\t\t\tword = st.nextToken().replaceAll(\"[^a-zA-Z]\",\"\");\r\n\r\n\t\t\t\t\tif ( ! word.equals(\"\") ) {\t\r\n\r\n\t\t\t\t\t\t//\t\t\t\t\t\t\tgw:\r\n\t\t\t\t\t\tif(vocab_stat.containsKey(word)){\r\n\t\t\t\t\t\t\tWordStat iws = vocab_stat.get(word); \r\n\t\t\t\t\t\t\tdouble ip_w_given_ham_log = iws.p_w_given_ham_log;\r\n\t\t\t\t\t\t\tdouble ip_w_given_spam_log = iws.p_w_given_spam_log;\r\n\r\n\t\t\t\t\t\t\tp_msg_ham_log += ip_w_given_ham_log ;\r\n\t\t\t\t\t\t\tp_msg_spam_log += ip_w_given_spam_log ;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t//\t\t\t\t\t\t\tgw:\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tin.close();\r\n\t\t\tif (p_msg_spam_log > p_msg_ham_log) true_positives ++;\r\n\t\t\telse false_negatives ++;\r\n\t\t}\r\n\r\n\t\tSystem.out.println(\"Result 1:\");\r\n\t\tSystem.out.println(\"All_Words\\t\\ttrue spam\\ttrue ham\");\r\n\t\tSystem.out.println(\"Classified spam:\\t\"+true_positives+\"\\t\\t\"+false_positives);\r\n\t\tSystem.out.println(\"Classified ham: \\t\"+false_negatives+\"\\t\\t\"+ true_negatives);\r\n\t\tSystem.out.println(\"\");\r\n\r\n\r\n\t\t\t}", "title": "" }, { "docid": "1c30dd1b588300b579d1d767d92e354b", "score": "0.51349604", "text": "private static void extractNamesAndLinks(\n final List<CategoryName> path,\n final Map<String, String> categoryNames,\n final Map<String, Set<String>> links\n ) {\n Set<String> children;\n String parent = null;\n\n for (final CategoryName category : path) {\n if (parent != null) {\n children = links.get(parent);\n if (children == null) {\n children = new LinkedHashSet<>();\n }\n children.add(category.getId());\n links.put(parent, children);\n }\n parent = category.getId();\n categoryNames.put(category.getId(), category.getName());\n }\n }", "title": "" }, { "docid": "be80230696708bdb69654fc6231d3307", "score": "0.5132244", "text": "@Override\n\tpublic List<Literature> searchCategory(String category) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "3b485ff3b4c3a8642651e14b811a60a8", "score": "0.51313514", "text": "public Vector<Vector<String>> getCategoryList()\r\n\t{\r\n\t\ttry \r\n\t\t{\r\n\t\t\tString sql = \"SELECT * FROM categories\";\r\n\t\t\t\r\n\t\t\t//ResultSet rs= this.statement.executeQuery(sql);\t\t\r\n\t\t\tDataAccess data = new DataAccess();\r\n\t\t\tResultSet rs=data.getResultSet(sql);\t\t\r\n\t\t\tVector<Vector<String>> list= new Vector<Vector<String>>();\r\n\t\t\twhile (rs.next())\r\n\t\t\t{\r\n\t\t\t\tVector <String> result = new Vector <String>();\r\n\t\t\t\tresult.add(rs.getString(1));\r\n\t\t\t\tresult.add(rs.getString(2));\r\n\t\t\t\tresult.add(rs.getString(3));\t\t\t\t\t\t\r\n\t\t\t\tlist.add(result);\r\n\t\t\t}\r\n\t\t\trs.close();\r\n\t\t\treturn list;\r\n\t\t\t\r\n\t\t}\r\n\t\tcatch (Exception ex)\r\n\t\t{\r\n\t\t\tex.printStackTrace();\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "215113cd83575eceaa6fe818940d2523", "score": "0.5128296", "text": "public static List<String> buscarCategoriaDoLivro(){\n List<String> categoriasLivros=new ArrayList<>();\n Connection connector=ConexaoDB.getConnection();\n String sql=\"Select category from bookCategory\";\n Statement statement=null;\n ResultSet rs=null;\n String nome;\n try {\n statement=connector.createStatement();\n rs=statement.executeQuery(sql);\n while (rs.next()) {\n nome=rs.getString(\"category\");\n categoriasLivros.add(nome);\n }\n \n } catch (Exception e) {\n \n }finally{\n ConexaoDB.closeConnection(connector, statement, rs);\n }\n return categoriasLivros;\n}", "title": "" }, { "docid": "96af0c3af9a670b1da5abb2c00a35be3", "score": "0.51189935", "text": "public static List<Category> getCategories(Context context) {\r\n DbManager dbManager = new DbManager(context);\r\n SQLiteDatabase db = dbManager.getReadableDatabase();\r\n\r\n Cursor cursor = db.query(\r\n CategoryTable.TABLE_NAME,\r\n new String[]{CategoryTable._ID, CategoryTable.COLUMN_NAME_CATEGORY_NAME},\r\n CategoryTable.COLUMN_NAME_IS_DELETED + \" = 0\",\r\n null,\r\n null,\r\n null,\r\n CategoryTable.COLUMN_NAME_CATEGORY_NAME + \" ASC\"\r\n );\r\n\r\n List<Category> categories = new ArrayList<>();\r\n while(cursor.moveToNext()) {\r\n Category category = new Category();\r\n category._id = cursor.getInt(cursor.getColumnIndexOrThrow(CategoryTable._ID));\r\n category.category = cursor.getString(cursor.getColumnIndexOrThrow(CategoryTable.COLUMN_NAME_CATEGORY_NAME));\r\n categories.add(category);\r\n }\r\n cursor.close();\r\n db.close();\r\n\r\n return categories;\r\n }", "title": "" }, { "docid": "5f191cd52c84fff3aad3738869d096b3", "score": "0.5118639", "text": "@Override\n\tpublic void verifyCategories() {\n\t\t\n\t\tBy loc_catNames=MobileBy.xpath(\"//android.widget.TextView[@resource-id='com.ionicframework.SaleshuddleApp:id/category_name_tv']\");\n\t\tPojo.getObjSeleniumFunctions().waitForElementDisplayed(loc_catNames, 15);\n\t\tList<AndroidElement> catNames=Pojo.getObjSeleniumFunctions().getWebElementListAndroidApp(loc_catNames);\n\t\tList<String> catNamesStr=new ArrayList<String>();\n\t\t\n\t\t\n\t\tfor(AndroidElement catName:catNames)\n\t\t{\n\t\t\tcatNamesStr.add(catName.getText().trim());\n\t\t}\n\t\t\n\t\tif(catNamesStr.size()==0)\n\t\t{\n\t\tPojo.getObjUtilitiesFunctions().logTestCaseStatus(\"Verify that catgory names are correct\", false);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tPojo.getObjUtilitiesFunctions().logTestCaseStatus(\"Verify that catgory names are correct\", BuildSpGamePage.expectedData.get(\"Categories\").containsAll(catNamesStr));\n\n\t\t}\n\t\t}", "title": "" }, { "docid": "9ed705e07fe84e7ac1455f2320fd9e81", "score": "0.5117091", "text": "public Set<String> getAllBooksCategories() {\n List<Book> books = bookRepository.findAll();\n Set<String> categories = new HashSet<>();\n for (Book book : books) {\n if (book.getCategories() != null) {\n categories.addAll(Arrays.asList(book.getCategories()));\n }\n }\n return categories;\n }", "title": "" }, { "docid": "54b9ce0ff5058ea131cb815a177062c7", "score": "0.51123405", "text": "List<Channel> getJXCategory();", "title": "" }, { "docid": "0a169ab9e031bb0c81bccecca428eb2b", "score": "0.51074636", "text": "public List<String> getSubCategoryLst()\n {\n List<String> subCategories = new ArrayList<String>();\n\n for (int i = 0; i < locationLst.size(); i++) {\n String subCategory = locationLst.get(i).getSubCategory();\n\n if(subCategory != \"\" && !subCategories.contains(subCategory))\n subCategories.add(subCategory);\n }\n\n return subCategories;\n }", "title": "" }, { "docid": "fd443e46a023dc109859bcd6610b4523", "score": "0.510731", "text": "List<Categorie> findAll();", "title": "" }, { "docid": "df8bbda6e8262b02fa0a7ba7913dd7c1", "score": "0.51006705", "text": "public List<ItemCategory> getByCat(int id) {\n return repository.findByCategoryId(id);\n }", "title": "" }, { "docid": "166d90ebf959d5b1e3b13e8bb42fe1bc", "score": "0.5099975", "text": "@Override\n\tpublic List<Categories> getListCat() {\n\t\treturn categoriesDAO.getListCat();\n\t}", "title": "" }, { "docid": "78370261ca47d3a5ad6e6b6e0265b0ee", "score": "0.509984", "text": "public void chooseCategory(String category) {\n for (Category c : categories) {\n if (c.getName().equals(category)) {\n if (c.isActive()) {\n c.setInActive();\n } else {\n c.setActive();\n }\n }\n }\n for (int i = 0; i < categories.size(); i++) {\n System.out.println(categories.get(i).getName());\n System.out.println(categories.get(i).isActive());\n }\n }", "title": "" }, { "docid": "ef1e2c7486655d31fdb286de3a33c40b", "score": "0.5097522", "text": "private static String getCategories(JSONObject volumeInfo) throws JSONException {\n JSONArray categories = volumeInfo.optJSONArray(\"categories\");\n if (categories == null) {\n Log.e(LOG_TAG, \"No categories for this book\");\n return null;\n }\n StringBuilder categoriesString = new StringBuilder();\n for (int i = 0; i < categories.length(); i++) {\n categoriesString.append(categories.getString(i));\n if (i + 1 < categories.length()) {\n categoriesString.append(\", \");\n }\n }\n return categoriesString.toString();\n }", "title": "" }, { "docid": "cf27f2dd2ef4a016a3fa3f75c6fe7326", "score": "0.50884163", "text": "@Override\r\n\tpublic List<Category> getAllCategory() {\n\t\treturn categoryDao.getAll();\r\n\t}", "title": "" }, { "docid": "b385dc26283e3ae44bb57e76468312ea", "score": "0.5087489", "text": "Map<Long, List<String>> retrieveCategoriesForTargetTable(TargetTable ttable);", "title": "" }, { "docid": "8b6bf19d49e36d3bda15626bfa516912", "score": "0.50861794", "text": "public List<String> categories() {\n return this.categories;\n }", "title": "" }, { "docid": "c19bad9fe9f176f00862fd38f82decd5", "score": "0.5085073", "text": "private void lanzarListadoCategorias() {\n\t\tIntent i = new Intent(this, ListCategorias.class);\n\t\tstartActivity(i);\n\t\t\n\t}", "title": "" }, { "docid": "2d446e01e9da880f13dacdfa25e7c3e4", "score": "0.5081908", "text": "public List<PkgCategory<AndroidVersion>> getFilteredApiCategories(List<PkgCategory<AndroidVersion>> cats) {\r\n\t\tif (!isFilterOn())\r\n\t\t\treturn cats;\r\n\t\tList<PkgCategory<AndroidVersion>> selectCategories = new ArrayList<>();\r\n\t\tfor (PkgCategory<AndroidVersion> cat: cats) {\r\n\t\t\tCategoryKeyType catKeyType = cat.getKeyType();\r\n\t\t\tswitch(catKeyType) {\r\n\t\t\tcase TOOLS:\r\n\t\t\tcase TOOLS_PREVIEW: \r\n\t\t\t\tif (selectTools)\r\n\t\t\t\t\tselectCategories.add(cat);\r\n\t\t\t\tbreak;\r\n\t\t\tcase API: \r\n\t\t\tcase EARLY_API: \r\n\t\t\t\tif (selectApi)\r\n\t\t\t\t\tselectCategories.add(cat);\r\n\t\t\t\tbreak;\r\n\t\t\tcase EXTRA: \r\n\t\t\t\tif (selectExtra)\r\n\t\t\t\t\tselectCategories.add(cat);\r\n\t\t\t\tbreak;\r\n\t\t\tcase GENERIC: \r\n\t\t\t\tif (selectGeneric)\r\n\t\t\t\t selectCategories.add(cat);\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn selectCategories;\r\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d798301ae2f8c1a2ce5506c6c26c78e3", "score": "0.0", "text": "public static void main(String[] args) throws InterruptedException {\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"D:\\\\SelWD\\\\Drvers\\\\geckodriver.exe\");\r\n\t\tWebDriver bo=new FirefoxDriver();\r\n\t\t//bo.get(\"file:///C:/Users/qaplanet/Desktop/QAP/DemoListfield.html\");\r\n\t bo.get(\"https://chandanachaitanya.github.io/selenium-practice-site/\");\r\n\t\tSelect lf= new Select(bo.findElement(By.name(\"languages\")));\r\n\t\t//Thread.sleep(3000);\r\n\t\t//lf.selectByIndex(1);\r\n\t\t//lf.selectByVisibleText(\"C++\");\r\n\t\tlf.selectByValue(\"C++\");\r\n\t\t/*//Thread.sleep(3000);\r\n\t\t//lf.selectByIndex(2);\r\n\t\t//lf.selectByValue(\"saab\");\r\n\t\t//lf.selectByVisibleText(\"JavaScript\");\r\n\t\t//Slf.selectByIndex(3);\r\n\t\t//lf.selectByValue(\"audi\");\r\n*/\r\n\t\t\r\n\t\t\r\n\t\r\n\t//\tMultilist\r\n\t\tSelect ml= new Select(bo.findElement(By.name(\"selenium_suite\")));\r\n\t\t\r\n\t\t//ml.selectByIndex(3);\r\n\t\tml.selectByVisibleText(\"Selenium RC\");\r\n\t\tThread.sleep(3000);\r\n\t\tml.selectByIndex(2);\r\n\t\tml.selectByIndex(1);\r\n\t\tThread.sleep(3000);\r\n\t\t//ml.selectByIndex(3);\r\n\t\tml.deselectByIndex(2);\r\n\t\t//ml.deselectByIndex(3);\r\n\t\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "title": "" }, { "docid": "63918b2e510c9040bbddcac00095b41a", "score": "0.6605982", "text": "private void recuperation() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "6a98c5d2724fce37914819c5694da3c3", "score": "0.6509783", "text": "@Override\r\n\tpublic void anular() {\n\r\n\t}", "title": "" }, { "docid": "dae8b602ea36995333bfb23acf8fc88d", "score": "0.6496443", "text": "@Override\n\tpublic void respire() {\n\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "f099266a753a2faacd6b8dfa57904378", "score": "0.64321727", "text": "@Override\r\n\tpublic void courrir() {\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.6425563", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1068dc3e7725abba37b41c9a52dee06b", "score": "0.6386121", "text": "@Override\r\n\tpublic void tatmak() {\n\r\n\t}", "title": "" }, { "docid": "6141981a3ecff744fc5ac85a76ccce98", "score": "0.63590497", "text": "@Override\r\n\tpublic void avlan() {\n\t\t\r\n\t}", "title": "" }, { "docid": "98fb55d46118273a6e8a6d23841c620d", "score": "0.6327681", "text": "@Override\n\tpublic void eati() {\n\t\t\n\t}", "title": "" }, { "docid": "0792d032a803e20f3b87637fd91001d5", "score": "0.62811846", "text": "@Override\n\tpublic void getSugary() {\n\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a8ee8a5581ce765ec4ab398c0459e014", "score": "0.61750215", "text": "@Override\r\n\tpublic void koklama() {\n\r\n\t}", "title": "" }, { "docid": "0e69410f7365f8e3379273ee4419fb49", "score": "0.6149904", "text": "@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "d65d6c17fb978c0d576ada2c03cd49fe", "score": "0.61387193", "text": "@Override\n\tpublic void apagar() {\n\t\t\n\t}", "title": "" }, { "docid": "8bae22ac805011d799a49bd7b5316540", "score": "0.612467", "text": "@Override\n public int describeContents() {\n // Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "8c5b7f2508d01c106c784ecca7153f46", "score": "0.6119395", "text": "@Override\n\tvoid comer() {\n\t\t\n\t}", "title": "" }, { "docid": "7bc643d9ac7542f10430da7f200395d4", "score": "0.610188", "text": "@Override\n\tpublic void fiyat() {\n\t\t\n\t}", "title": "" }, { "docid": "7dadb1a7e45c020b2193294044375a9d", "score": "0.60646844", "text": "@Override\r\n \tpublic void init() {\n \t\t\r\n \t}", "title": "" }, { "docid": "04771723ee2c07e5fa5fe8c322190beb", "score": "0.60607964", "text": "@Override\n\tpublic void affichage() {\n\t\t\n\t}", "title": "" }, { "docid": "b7f027eb6ff62218a28c15c608504db7", "score": "0.6055265", "text": "@Override\n\tpublic void cafeteria() {\n\t\t\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "9dd1bbd8c949b94d0e93b83bfc68c88a", "score": "0.6021345", "text": "@Override\n\tpublic void aeronoticalinfo() {\n\t\t\n\t}", "title": "" }, { "docid": "2762ca3c2d0df2e43c2974f74b6f5794", "score": "0.6013198", "text": "public void mo23507LF() {\n }", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "119b459aa82980ed18ed9f73e4c0c1f6", "score": "0.5970375", "text": "public void mo8248e() {\n }", "title": "" }, { "docid": "c7fe9cc2a6c42140d48d92c4796a998c", "score": "0.5924626", "text": "@Override\r\n\t\t\t\t\t\tpublic void visitEnd() {\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "092f51e9c99cd4188e1aae23e1830dfd", "score": "0.58991617", "text": "protected void func_70626_be() {}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5891585", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "4790ff4cb67532ccdfaae8968e73fbc3", "score": "0.58832747", "text": "@Override\n protected void initData() {\n\n\n }", "title": "" }, { "docid": "023182f0f855d46c66b41a6d83583efa", "score": "0.5871911", "text": "@Override\r\n\tpublic void singen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d96d27dfdf5b1a8cc8b8a7627c83bc1", "score": "0.5869012", "text": "@Override\n public void afficher() {\n\n }", "title": "" }, { "docid": "298aa14afe5846b172f76bcf90564013", "score": "0.58663046", "text": "@Override\n\tprotected void initAfterData() {\n\t\t\n\t}", "title": "" }, { "docid": "e065a728f99482f0172c0250b07109a9", "score": "0.58587575", "text": "public void MIENTRAS() {\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "6c15d2233a095a738527f0099df0e328", "score": "0.58534765", "text": "@Override\n\tprotected void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7da3b15ef60da758589933b21890a100", "score": "0.5835782", "text": "@Override\n\t\t\tpublic void buscar() {\n\n\t\t\t}", "title": "" }, { "docid": "d56c498b25d1ea77dc09f49efcf80f6c", "score": "0.58347356", "text": "@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.5810359", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "ac3fa8f374744c1d8419fb42b093eb87", "score": "0.58098364", "text": "@Override\n public void ATOM() {\n\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "17bf5dfb3822657f7beb964bbcaf351d", "score": "0.58010787", "text": "private void getdata() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c1cba83b623b4186565c3383ace251b9", "score": "0.5798524", "text": "@Override\n public void RES() {\n\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "04320a5131c4ec5a83b61f5170f3303b", "score": "0.578828", "text": "private void refreash() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "96aa62cb7c02dc761fce03adeea3bae6", "score": "0.5768868", "text": "public void consumidor() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f76cff0faf8f5cac2bb5c9fa073b3900", "score": "0.5732497", "text": "private static void ispisiRemi() {\n\t\t\n\t}", "title": "" }, { "docid": "0da844a8d21284fc890b9866b17625b3", "score": "0.5729389", "text": "public void auton() {\r\n\r\n\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "e0989255fd1af22841693489e1afa33b", "score": "0.57214063", "text": "public void mo24349a() {\n }", "title": "" }, { "docid": "b860b78be8e10589ee5bd58e2ab7be8e", "score": "0.57196456", "text": "@Override\r\n\tpublic void autonomous() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "08ff281f85800b58e0eb77195be25bfc", "score": "0.5708199", "text": "public void finito() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "24b649f4fd4e2e8f4e195b19c09f4c8b", "score": "0.56936413", "text": "@Override\n public void FUNMAYORQ() {\n\n }", "title": "" }, { "docid": "b3c7aad07c4af0cfec14c4b0f0f289ef", "score": "0.5692504", "text": "@Override\n\tpublic void arb() {\n\n\t}", "title": "" }, { "docid": "8657ef720f12b2480d4363be4e46781e", "score": "0.5691313", "text": "protected boolean method_4310() {\r\n return true;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "45fd99bd8793c6d67c4f276a27b4fdca", "score": "0.5685153", "text": "@Override public int getDefensa(){\n\n return 0;\n\n }", "title": "" } ]
6dbbcb6fa234776caa16c9fcb0a6a860
Take a node and an index. Places the node before the node located at the index specified.
[ { "docid": "e31b7c8f3739359d3545bf39b1b0ac92", "score": "0.67319924", "text": "private void addNodeBefore(SinglyLinkedList.Node<E> node, int idx) throws IndexOutOfBoundsException {\n if (idx == 0) {\n node.next = head;\n head = node;\n\n len += 1;\n return;\n }\n\n addNodeAfter(node, idx - 1);\n }", "title": "" } ]
[ { "docid": "f07737714d810d5eab052e3c3c56b048", "score": "0.75757843", "text": "public Node insertBefore(Node node);", "title": "" }, { "docid": "474fc23d6b26338415f0fd8c664c659d", "score": "0.69614124", "text": "Node insertBefore(Node newChild, Node refChild);", "title": "" }, { "docid": "4fe30e8c84e27a02effe87a048e5af2e", "score": "0.6788049", "text": "public void addBefore(E val, int idx) throws IndexOutOfBoundsException {\n addNodeBefore(new SinglyLinkedList.Node<>(val), idx);\n }", "title": "" }, { "docid": "6cf0c1329846395e0f92527218dd5c66", "score": "0.66612625", "text": "private Node insertBefore(E element, Node node) {\n \treturn new Node(node.pred, element);\n }", "title": "" }, { "docid": "8588e24734bb82feaa4fe7a22eb45e33", "score": "0.6450166", "text": "@Test\n\tpublic void addNodeBeforeGiveNode() {\n\t\tSystem.out.println(\"Given a node as prev_node, insert a new node Before the given node \");\n\t\tdll.push(4);\n\t\tdll.push(3);\n\t\tdll.push(1);\n\t\tdll.InsertBefore(dll.head.next, 2);\n\t\tdll.print();\n\t}", "title": "" }, { "docid": "1885be045d98254f6252a2571743994e", "score": "0.6441481", "text": "public native VertexList insertBefore(VertexNode target, VertexNode vertex);", "title": "" }, { "docid": "0b83efec3bbe4c461e5c413784e8288c", "score": "0.6353075", "text": "public void bringToFront(int index) {\n\t\tif (index<this.size()){\n\t\t\tNode front = this.head;\n\t\t\tNode oneBack = new Node(\"\");\n\t\t\tfor (int counter=0; counter < index; counter++){\n\t\t\t\toneBack = front;\n\t\t\t\tfront = front.next;\n\t\t\t}\n\t\t\toneBack.next=front.next;\n\t\t\tfront.next = head;\n\t\t\thead = front;\n\t\t}\n\t}", "title": "" }, { "docid": "c11d908b3ebf59d33b17c48a72512d12", "score": "0.63141024", "text": "public native String insertItemBefore(String newItem, Number index);", "title": "" }, { "docid": "aa104c016f252b68eea61d1492d2bd21", "score": "0.62984", "text": "public Node insertAfter(Node node);", "title": "" }, { "docid": "b8d1da35659ab35ae74246f89eea6693", "score": "0.6295545", "text": "public void insert(int index, char data)\n {\n if(index >= 0 && index <= numNodes){\n if(index == 0)\n {\n Node node = new Node(data);\n node.next = head;\n head = node;\n }\n else\n {\n //find your previous and your current\n Node curr = find(index);\n Node prev = find(index - 1);\n \n //add the new node with current as the successor and previous as the \n //predecessor\n Node node = new Node(data, curr);\n prev.next = node;\n }\n numNodes++;\n }\n else\n {\n throw new IndexOutOfBoundsException();\n }\n }", "title": "" }, { "docid": "81b762c49a9f2529d0cf4b9fe1c68b38", "score": "0.62392986", "text": "public void insertChildAt(WSLNode node, int index) {\n\t\tchildren.insertElementAt(node, index);\n\t}", "title": "" }, { "docid": "6e8f35ad308885ea9ae79cb683b834c1", "score": "0.62390363", "text": "public void insertAt(int index,int data){\n Node node =new Node();\n node.data=data;\n node.next=null;\n\n if (index == 0) {\n insertAtStart(data);\n }\n\n\nelse{\n Node n = head;\n for (int i=0; i < index-1;i++){\n n =n.next;\n }\n node.next =n.next;\n n.next = node;\n\n}}", "title": "" }, { "docid": "bff588fa9e6464f76a7ae0fc455bed83", "score": "0.6238816", "text": "private void addBefore(Node n, E x) {\n\n\t\tNode newNode = new Node(x, n);\n\n\t\tNode q = mHead;\n\n\t\tNode p = mHead.next;\n\n\t\twhile (p != n) {\n\t\t\tq = p;\n\t\t\tp = p.next;\n\t\t}\n\n\t\tq.next = newNode;\n\n\t}", "title": "" }, { "docid": "ef92cb11d7f5a691942d0b4c26e2500d", "score": "0.62014157", "text": "public static Node addBefore(final Node node, final String xPath, final Node newNode) throws Exception {\r\n Node after = selectSingleNode(node, xPath);\r\n assertNotNull(\"No node for xpath found [\" + xPath + \"]\", after);\r\n Node parent = after.getParentNode();\r\n parent.insertBefore(newNode, after);\r\n return node;\r\n }", "title": "" }, { "docid": "8692d6347d836e48544ff08385f5c1c0", "score": "0.6116229", "text": "public void insertNodeToTheGivenIndex(int index, int data){\n int size = size(); // for performance improvement!\n\n //Index validation\n checkIndex(index);\n\n if(index==0){\n addNodeToTheStart(data);\n }else if(index==size){\n addNodeToTheEnd(data);\n }\n //Important\n Node newNode = new Node(data);\n Node current = head;\n Node previous = null;\n int i = 0;\n while(i<index){\n previous = current; //Update previous Node in the loop!\n current = current.next;\n i++;\n }\n newNode.next = current;\n assert previous != null;\n previous.next = newNode;\n }", "title": "" }, { "docid": "f466614fd7472a16bdb6a94a9aec227e", "score": "0.60876566", "text": "Position<T> addBefore(Position<T> p, T data) throws IllegalStateException;", "title": "" }, { "docid": "72d20bb20ece152b4fa30b32f78d9b30", "score": "0.6059908", "text": "private void InsertAt(IntRepList.OpNode node, IntRepList.OpNode current) {\n current.prev.next = node;\n node.prev = current.prev;\n node.next = current;\n }", "title": "" }, { "docid": "73609aa5b827afd046798a38e1ebc7c9", "score": "0.6003983", "text": "void prepend(int element) {\n Node newHead = new Node(element,head);\n head = newHead;\n }", "title": "" }, { "docid": "dcb85140c62ac35119aaad2d64565b62", "score": "0.5992507", "text": "public void insertAtAnyPoint(int index, int data) {\n\t\tNode node = new Node(); // defining random node\n\t\tnode.data = data; // putting data on it\n\t\tnode.next = null;\n\t\tNode n = head; // initial node\n\t\tif(index == 0){\n\t\t\tinsertAtStart(data);\n\t\t}else{\n\t\tfor (int i = 0; i < index-1; i++) {\n\t\t\tn = n.next;\n\t\t}\n\t\tnode.next = n.next;\n\t\tn.next = node;\n\t\t}\n\t}", "title": "" }, { "docid": "2e44b161caf57e699169d31c3522d066", "score": "0.59899044", "text": "private static void addChildAt(\n ReactShadowNode parentNode,\n ReactShadowNode childNode,\n int index,\n int prevIndex) {\n if (index <= prevIndex) {\n throw new RuntimeException(\n \"Invariant failure, needs sorting! \" + index + \" <= \" + prevIndex);\n }\n\n parentNode.addChildAt(childNode, index);\n }", "title": "" }, { "docid": "8d393f1a646ddd19d330c08191b6ac7a", "score": "0.59697855", "text": "public Node<T> addBefore(Node<T> listNode, T t) \r\n {\r\n Node<T> beforeNewNode = listNode.prev;\r\n Node<T> newNode = new Node<T>(t, beforeNewNode, listNode);\r\n beforeNewNode.next = newNode;\r\n listNode.prev = newNode;\r\n size++;\r\n return newNode;\r\n }", "title": "" }, { "docid": "3253b26573aa27f6f3a97c1f730651ed", "score": "0.59467214", "text": "public void addBefore(Node node){\n node.next = head;\n head = node;\n count.incrementAndGet();\n }", "title": "" }, { "docid": "289780ac196bb6d4d746c41bd89ae3aa", "score": "0.5907516", "text": "private void prependNode(Node prependNode) {\n\t\tNode currentNode = head;\n\t\tif(currentNode==null) {\n\t\t\thead = prependNode;\n\t\t} else {\n\t\t\tprependNode.next = currentNode;\n\t\t\thead = prependNode;\n\t\t}\n\t}", "title": "" }, { "docid": "a8f42165e2cf251b7bf67e062832942a", "score": "0.58877516", "text": "public void insertAtBeginning(int element) {\n\t\thead = new Node(element, head);\n\t}", "title": "" }, { "docid": "4e8f165fabb3733820a2c7db882b95b8", "score": "0.5876481", "text": "private void setLeft(int index, Node n) {\n \t\t// TODO Complete this method!\n \t\tsetNode(getLeftOf(index), n);\n \t}", "title": "" }, { "docid": "78950faafc0038e683669331871043e1", "score": "0.58666784", "text": "void before(final Node currentNode);", "title": "" }, { "docid": "c82401cb896a7d4c83e8571dbe1e98bd", "score": "0.5864939", "text": "@Override\n\tpublic Position<E> addBefore(Position<E> p, E e) throws IllegalArgumentException {\n\t\tif (!validPosition(p)) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\t\n\t\tNode<E> reference = convert(p);\n\t\t\n\t\treturn addBetween(reference.prev, reference, e);\n\t}", "title": "" }, { "docid": "a34ddf34a213f4033789fb95957260b2", "score": "0.58515215", "text": "Position<T> before(Position<T> p) throws IllegalStateException;", "title": "" }, { "docid": "d6921b2ca3d0f91e7398cf96a26d63de", "score": "0.58506584", "text": "void insertBefore(Object data)\n\t{\n\t\tNode temp = new Node(data);\n\t\tif (length == 0) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call insertBefore() on empty List\");\n\t\t}\n\t\tif (cursor == null) \n\t\t{\n\t\t\tthrow new RuntimeException(\"List Error: cannot call insertBefore() on cursor that is off the list\");\n\t\t}\n\t\tif (cursor == front) \n\t\t{\n\t\t\tprepend(data); //if the cursor is at the front of the list, you can just call prepend since you will be inserting the element before the front element \n\t\t}\n\t\telse\n\t\t{\n\t\t\t\n\t\t\ttemp.prev = cursor.prev; //the new node temp's previous becomes the cursors previous\t\n temp.next = cursor; //the new node temp's next becomes the cursor\n cursor.prev.next = temp; //cursor's previous next element becomes temp\n cursor.prev = temp; //cursor's previous becomes temp\n length++;\n index++;\n\t\t}\n\t}", "title": "" }, { "docid": "eb428c25c29e84d8972315b816bc98c7", "score": "0.58454704", "text": "@Override\n public void insertAtAnyPosition(T value, int index) {\n Node<T> new_node = new Node<>(value);\n if(index < 0)\n throw new IndexOutOfBoundsException();\n else if(index == 0){\n new_node.next = start;\n start = new_node;\n }else{\n Node<T> previous = start;\n for(int i =0;i<index-1;i++)\n {\n previous = previous.next;\n }\n Node<T> curr = previous.next;\n new_node.next = curr;\n previous.next = new_node;\n }\n\n }", "title": "" }, { "docid": "88829ef227d8a54a0182d0046fc09fd8", "score": "0.58228195", "text": "public abstract Position<E> insertLeftSibling(Position<E> p, E e);", "title": "" }, { "docid": "c78760025adec19907df7bd115eb3003", "score": "0.5808625", "text": "void preOrderOperation(PortfolioNode parentNode, Position position);", "title": "" }, { "docid": "ddf9e9d6ba91754b82ca11917b8570be", "score": "0.58055806", "text": "private Node insert(Node x, int time, int req_index) {\n\t\tif (x == null) \n\t\t\treturn new Node(time, req_index);\n\t\tif (time < x.getTime()) {\n\t\t\tx.setLeft(insert(x.getLeft(), time, req_index));\n\t\t}\n\t\telse {\n\t\t\tx.setRight(insert(x.getRight(), time, req_index));\n\t\t}\n\t\treturn x;\n\t}", "title": "" }, { "docid": "587658ab7d453894898084c633158b64", "score": "0.58014905", "text": "public Node getNodeBeforeIndex(int idx) {\n if(!checkIndexBounds(idx)) {\n return null;\n }\n\n Node curr = this.head;\n Node pre = new Node();\n for (int i = 0; i < idx; i++) {\n pre = curr;\n curr = curr.next;\n };\n\n return pre;\n }", "title": "" }, { "docid": "8fca62a2b10d38f5914e1ad9ceb1d5e5", "score": "0.5757661", "text": "public Node setPrevNode(Node node);", "title": "" }, { "docid": "d1f742a9e10c107dd88ca9b6982eb010", "score": "0.5750584", "text": "@Kroll.method\n\tpublic void insertRowBefore(int index, Object rowObj, @Kroll.argument(optional = true) KrollDict animation)\n\t{\n\t\tfinal TableViewRowProxy existingRow = getRowByIndex(index);\n\n\t\tif (existingRow != null) {\n\t\t\tfinal TiViewProxy parent = existingRow.getParent();\n\n\t\t\tif (parent != null) {\n\t\t\t\tif (parent instanceof TableViewSectionProxy) {\n\t\t\t\t\tfinal TableViewSectionProxy section = (TableViewSectionProxy) parent;\n\t\t\t\t\tfinal TableViewRowProxy row = processRow(rowObj);\n\n\t\t\t\t\tif (row == null) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Row is in section, modify section rows.\n\t\t\t\t\tsection.add(existingRow.getIndexInSection(), row);\n\n\t\t\t\t\t// Notify TableView of update.\n\t\t\t\t\tupdate();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "70ee97d92655dbc71e3a830702bc22dd", "score": "0.5731512", "text": "@Override\r\n\t\tpublic Node insertBefore(Node newChild, Node refChild) throws DOMException\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "2c31e2a3d05fc432fa681a2d6b24d20c", "score": "0.5724599", "text": "public void insertBefore( int pos, T data ) \n {\n \tDLLIterator cycle = new DLLIterator();\n \t\n \t\n if(pos <= 0){\n \t \n \t insertFirst(data);\n }\n \n else if(pos >= capacity){\n \t insertLast(data);\n \t \n } \n \n else{\n \t \n \t int x = 0;\n \t \n \t DLLNode insert = cycle.currentNode;\n \t \n \t while(x != pos){\n \t\t x++;\n \t\t insert = cycle.nextNode();\n \t\t \n \t }\n \t \n \t DLLNode before = insert.prev;\n \t DLLNode newNode = new DLLNode(data, before, insert);\n \t \n \t before.next = newNode;\n \t insert.prev = newNode;\n \t \n }\n \n \t \n \t \n \n }", "title": "" }, { "docid": "69df5641d207d9b7299f5901e3806de5", "score": "0.57217073", "text": "void addBefore(T target, T element);", "title": "" }, { "docid": "d3fecd9d205e277cfdd8a1a8c948d840", "score": "0.5712126", "text": "public void insertAtBeginning(int data) {\r\n if(head==null) {\r\n head = new ListNode(data);\r\n return;\r\n }\r\n ListNode new_node = new ListNode(data);\r\n new_node.next=head;\r\n head=new_node;\r\n }", "title": "" }, { "docid": "a853604e1da2f5f7097cf6319cbd08bd", "score": "0.57024074", "text": "public void insert(Node n);", "title": "" }, { "docid": "cd2f0683321c9931ea881262ccee795b", "score": "0.57020646", "text": "public void insert(int index, T element);", "title": "" }, { "docid": "0f1b60ce9a533ac3847d7344262fe419", "score": "0.56931025", "text": "protected void insertbefore(String token, int index) {\n\n int stop = token.length() + index - 1;\n\n for(int i=0; i < token.length(); ++i) {\n message.insertAt(index+i, token.charAt(i));\n }\n\n // Generate and store inverse commands\n this.undoCommands += \"r \" + index + \" \" + stop + \"\\n\";\n }", "title": "" }, { "docid": "74ec97423367d8c03409fd7cca5f5e00", "score": "0.56920624", "text": "public static native Element insertBefore(Element elem, DomConfig config)/*-{\r\n\t\tvar configJS = config.@com.ait.toolkit.sencha.shared.client.dom.DomConfig::getJsObject()();\r\n\t\treturn $wnd.Ext.DomHelper.insertBefore(parent, configJS);\r\n\t}-*/;", "title": "" }, { "docid": "7002dcbba430d0c337dbb80b9066a47f", "score": "0.56876963", "text": "public void insertAtFront(T insertItem) {\n\t\tNode<T> node = new Node<T>(insertItem);\n\t\t\n\t\tif (isEmpty()) // firstNode and lastNode refer to same object\n\t\t\tfirstNode = lastNode = node;\n\t\telse { // firstNode refers to new node\n\t\t\tnode.nextNode = firstNode;\n\t\t\tfirstNode = node;\n\t\t\t// you can replace the two previous lines with this line: firstNode\n\t\t\t// = new ListNode( insertItem, firstNode );\n\t\t}\n\t\tsize++;\n\t}", "title": "" }, { "docid": "1acdc3a7c54fc621bc25c4ff6d8d407d", "score": "0.5677704", "text": "static ListNode insertAtBeginning(ListNode head, int data) {\n\n ListNode newNode = new ListNode(data);\n\n if (head == null) {\n return newNode;\n }\n\n newNode.next = head;\n head = newNode;\n\n return head;\n }", "title": "" }, { "docid": "d226b285902202161cb0d4793a455425", "score": "0.5668613", "text": "@Override\n public void addBefore(T target, T element){\n int index = getIndex(target);\n add(index, element);\n }", "title": "" }, { "docid": "30f602b556b3bb4407776bfdc5adef0c", "score": "0.56614715", "text": "void insert(int idx, int val);", "title": "" }, { "docid": "a2124f3d4c03f7ff065043aa071bb359", "score": "0.5661413", "text": "void coreInsertSiblingsBefore(CoreDocumentFragment fragment) throws HierarchyException, NodeMigrationException, DeferredBuildingException;", "title": "" }, { "docid": "49429dea393f2dc043fdfb13f1222f49", "score": "0.5658249", "text": "public void insertBefore(int value, int newVal) {\n try {\n ListNode nodeValue = new ListNode(value);\n ListNode newValue = new ListNode(newVal);\n ListNode current = this.root;\n\n while (current.data != value) {\n current = current.next;\n }\n newValue.next = current.next;\n current.next = newValue;\n } catch (NullPointerException e) {\n System.out.println(\"You have reached the end of the list.\");\n }\n }", "title": "" }, { "docid": "cbd17261ae791a95e9e45ed952787bb2", "score": "0.564208", "text": "public void insertAtBeginning(int data) {\r\n //creating node\r\n Node node = new Node(data);\r\n //setting the next reference of node to refer to head or start of list\r\n node.setNext(head);\r\n // setting the head to refer node\r\n head = node;\r\n }", "title": "" }, { "docid": "e3f6a73ad8e90024fb4d61c197b15b99", "score": "0.56291246", "text": "public void insertAtFirst(int data)\r\n\t{\r\n\t\tSystem.out.println(\"iam inserting at front :\");\r\n\t\tNode new_front = new Node(data);\r\n\t\tnew_front.right = root;\r\n\t\troot = new_front;\r\n\t}", "title": "" }, { "docid": "079bc11d396a911b280dda983d822771", "score": "0.562051", "text": "void prepend(Object data)\n\t{\n\t\tNode temp = new Node(data);\n\t\tif (front == null) \n\t\t{\n\t\t\tfront = back = temp; // if the list is empty the node will be the first node in the list making it the front and back node\n\t\t\tlength++;\n index = 0; //added because i failed the test scripts because i wasn't managing the indicies\n\t\t}\n\t\telse\n\t\t{\n\t\t\tfront.prev=temp; //the temp node is inserted before the front\n\t\t\ttemp.next=front; //the node after temp will be the front because temp was inserted before the front\n\t\t\tfront = temp; //the front is now the temp node\n\t\t\tlength++;\n index++;//added because i failed the test scripts because i wasn't managing the indicies\n\t\t}\n\t}", "title": "" }, { "docid": "37591555f5dd9b25f6741781e9427b42", "score": "0.5604094", "text": "public abstract Position<E> insertLeftChild(Position<E> p, E e);", "title": "" }, { "docid": "c582f0fa8dbd79751c7f5d1ba0920122", "score": "0.56006503", "text": "private String before(Stack<String> stack, AtomicInteger index) {\n\t\tint next = index.get() - 1;\n\t\tif (next > 0)\n\t\t\treturn stack.get(next);\n\t\telse\n\t\t\treturn null;\n\t}", "title": "" }, { "docid": "776a4fb94317d5cb36ec39ca165e629a", "score": "0.5596572", "text": "public void insert(int index, String fragment);", "title": "" }, { "docid": "bce76bf05b0b53fcc874732a9e85cd2a", "score": "0.5591539", "text": "public native VertexList insertAfter(VertexNode target, VertexNode vertex);", "title": "" }, { "docid": "11cb43f2416f22a8b44f700247350079", "score": "0.5588766", "text": "@Kroll.method\n\tpublic void insertSectionBefore(int index, Object sectionObj,\n\t\t\t\t\t\t\t\t\t@Kroll.argument(optional = true) KrollDict animation)\n\t{\n\t\tfinal TableViewSectionProxy section = processSection(sectionObj);\n\n\t\tif (index > -1 && index <= this.sections.size()) {\n\t\t\tsection.setParent(this);\n\t\t\tthis.sections.add(index, section);\n\n\t\t\t// Notify TableView of update.\n\t\t\tupdate();\n\t\t}\n\t}", "title": "" }, { "docid": "eae7a3b033ca709ea42dc6f033ca7fe8", "score": "0.5575098", "text": "public void prependNode(int data) {\n\t\tNode currentNode = headNode;\n\t\tif(currentNode == null) {\n\t\t\tNode newNode = new Node(data);\n\t\t\theadNode = newNode;\n\t\t} else {\n\t\t\tif(currentNode!=null) {\n\t\t\t\tNode newNode = new Node(data);\n\t\t\t\theadNode = newNode;\n\t\t\t\tnewNode.setNextNode(currentNode);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "9c84871f8756b8377a0229303aaa6e69", "score": "0.5573982", "text": "void reorderNode(LinkedEntries.LinkNode insert, LinkedEntries.LinkNode before) {\n removeNode(insert);\n if (before == null) {\n addNode(insert, getHeader());\n } else {\n addNode(insert, before);\n }\n }", "title": "" }, { "docid": "ed7974318aa0443f7b1628128e0674a5", "score": "0.55662096", "text": "public native void insertRowBefore(int index, TableViewRow row, TableViewAnimation animation) /*-{\n\t\tvar jso = this.@com.emitrom.ti4j.core.client.ProxyObject::getJsObj()();\n\t\tjso\n\t\t\t\t.insertRowBefore(\n\t\t\t\t\t\tindex,\n\t\t\t\t\t\trow.@com.emitrom.ti4j.core.client.ProxyObject::getJsObj()(),\n\t\t\t\t\t\tanimation.@com.emitrom.ti4j.core.client.ProxyObject::getJsObj()());\n }-*/;", "title": "" }, { "docid": "01db11581414d8a8dd26e22d628c9dce", "score": "0.55642873", "text": "void moveNode( int from, int to );", "title": "" }, { "docid": "8ae2bb1e661fe928485d96bdf15a80d5", "score": "0.55395645", "text": "public void insertAt(int index, Booking<?> data) {\n\t\t\t\n\t\tBookingNode node = new BookingNode(data);\n\t\tnode.setData(data);\n\t\tnode.next = null;\n\t\t\t\n\t\tif(index == 0) {\n\t\t\tinsertAtStart( data);\n\t\t}else {\n\t\t BookingNode n = head;\n\t\t\tfor(int i = 0; i < index-1; i++) {\n\t\t\t\t\n\t\t\t\tn = n.next;\n\t\t\t}\n\t\t node.next = n.next;\n\t\t n.next = node;\n\t\t}\n\t}", "title": "" }, { "docid": "e0f169a7b0a7fbf2cbd8e5f04318baa2", "score": "0.5526914", "text": "private Node prepend(E element) {\n \treturn new Node(sentinel, element);\n }", "title": "" }, { "docid": "44b6d1c052a1e2175e1300726c468fcc", "score": "0.55203265", "text": "public static native Element insertBefore(Element elem, Element sibling)/*-{\r\n\t\treturn $wnd.Ext.DomHelper.insertBefore(elem, sibling);\r\n\t}-*/;", "title": "" }, { "docid": "6afa1a4b5fd201e4d56a8a52f36148c3", "score": "0.54952013", "text": "public void insert(E data, int index) {\r\n\t\tcheckIndex(index);\r\n\t\t\r\n\t\t// If add the index is the tail of the LinkList, call add(data)\r\n\t\tif(index == size) {\r\n\t\t\tadd(data);\r\n\t\t}\r\n\t\t\r\n\t\telse {\r\n\t\tNode<E> newNode = new Node<E>(data, null);\r\n\t\t\r\n\t\t// Get the (index-1)th node\r\n\t\tNode<E> beforeNode = findNode(index);\r\n\t\tnewNode.link = beforeNode.link;\r\n\t\tbeforeNode.link = newNode;\r\n\t\tsize++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d487d84be387582e41d620f054ff63ce", "score": "0.54891026", "text": "@Override\n public void addBefore(E element) {\n Node<E> newNodeList = new Node<>(element, cursor);\n\n if (prev == null) {\n head = newNodeList;\n cursor = newNodeList;\n } else {\n prev.setNext(newNodeList);\n cursor = newNodeList;\n }\n\n size++;\n }", "title": "" }, { "docid": "2edb6edf5d0e03e49075be5dedd062b4", "score": "0.54779315", "text": "public static native Element insertBefore(Element elem, String rawHtml)/*-{\r\n\t\treturn $wnd.Ext.DomHelper.insertBefore(parent, rawHtml);\r\n\t}-*/;", "title": "" }, { "docid": "88fca0a4227fbe8155a586541f7d9136", "score": "0.5451641", "text": "public void insert(int index, int value) {\n\t\tSystem.out.println(\"Top here is : \" + top);\n\t\tif (index < top && index > -1) {\n\t\t\tint tmp = top;\n\t\t\twhile (tmp != index - 1) {\n\t\t\t\tarr[tmp + 1] = arr[tmp];\n\t\t\t\ttmp--;\n\n\t\t\t}\n\t\t\ttop++;\n\t\t\tarr[index] = value;\n\t\t}else{\n\t\t\tinsert(value);\n\t\t}\n\n\t}", "title": "" }, { "docid": "8609eee7e7692e2820bec1b4a9d20da6", "score": "0.54316366", "text": "private static void insertAtHead(int data) {\n\tNode newnode=new Node(data);\n\tnewnode.next=head;\n\tnewnode.prev=null;\n\tif(head!=null)\n\t\thead.prev=newnode;\n\thead=newnode;\n\t\n}", "title": "" }, { "docid": "912b00359c305c28d1c6d7cf29fcaf8e", "score": "0.54201305", "text": "public void add(int index, int data){\r\n if (index == 0){\r\n front = ned node(data, front){\r\n } else {\r\n node curr = front;\r\n for (int i = 0; i < index - 1; i++){\r\n curr = curr.next;\r\n }\r\n curr.next = new node(data, curr.next);\r\n }\r\n }\r\n \r\n}", "title": "" }, { "docid": "39e730c06bdde39e8ef10e825a064e60", "score": "0.5413371", "text": "@Override\n public void insertAt(T data, int index) {\n if(index > -1 && index <= getSize()) {\n\n if(index == 0){\n this.addToFront(data);\n return;\n }\n if(index == getSize() + 1) {\n this.addToEnd(data);\n return;\n }\n\n Node<T> dataNode = new Node<T>();\n dataNode.setData(data);\n\n int position= 0;\n Node<T> tempData = this.head;\n while(tempData.getNext() != null){\n tempData = tempData.getNext();\n if(position == index - 1 ) {\n //Pointing newly added node, to the one pointed to by element at position = index-1\n dataNode.setNext(tempData.getNext());\n\n tempData.setNext(dataNode);\n break;\n }\n position++;\n }\n }else {\n throw new IndexOutOfBoundException(\"Cannot add Node at provided location\");\n }\n }", "title": "" }, { "docid": "f5ff03b596e746842744d81f9e617d62", "score": "0.5404944", "text": "@Test\n\tpublic void addNodeAtFront() {\n\t\tSystem.out.println(\"Adding a node at the front of the list\");\n\t\tdll.push(3);\n\t\tdll.push(2);\n\t\tdll.push(1);\n\t\tdll.print();\n\t}", "title": "" }, { "docid": "e1acb1fc43f9e99b5dcc1c28173fa460", "score": "0.53985715", "text": "@Override\n\tpublic void insert(Object data, int index) throws IndexOutOfBoundsException {\n\n\t\tif (index >= size() || index < 0) {\n\t\t\tthrow new IndexOutOfBoundsException();\n\t\t}\n\n\t\tNode newNode = new Node(data);\n\t\tif (index == 0) {\n\t\t\tnewNode.setNext(head);\n\t\t\thead = newNode;\n\t\t} else {\n\t\t\tNode currentNode = head;\n\t\t\tint currentIndex = 0; // current index\n\t\t\twhile (currentNode != null && currentIndex < index - 1) {\n\t\t\t\tcurrentNode = currentNode.getNext();\n\t\t\t\tcurrentIndex++;\n\t\t\t}\n\t\t\tNode previousNode = currentNode; // set the previous node come before the node at the current index\n\t\t\tNode nextNode = currentNode.getNext(); // set the next node to go after the one we are adding\n\t\t\tpreviousNode.setNext(newNode);\n\t\t\tnewNode.setNext(nextNode);\n\t\t}\n\t\tsize++;\n\n\t}", "title": "" }, { "docid": "87b8b09a9d0e7dc50e9c193f020d2bd1", "score": "0.5388025", "text": "private void addNodeAtTheBeginning(int data) {\n ListNode newNode = new ListNode(data);\n if (head == null) {\n head = newNode;\n return;\n }\n newNode.next = head;\n head = newNode;\n }", "title": "" }, { "docid": "432d450d28c1523b915e892a2f7c756a", "score": "0.53706014", "text": "public void insertElementAt(Object obj, int index);", "title": "" }, { "docid": "3a6e24a9fd6d19303250420459b39c0d", "score": "0.5370515", "text": "private static String insert(String input, int index, String toInsert) {\n return input.substring(0, index) + toInsert + input.substring(index);\n }", "title": "" }, { "docid": "8e857f6e17f3c0da2995da52cdb13221", "score": "0.5367977", "text": "public JsStatement insertBefore(String expression)\n\t{\n\t\tchain(ManipulatingHelper.insertBefore(expression));\n\t\treturn this;\n\t}", "title": "" }, { "docid": "945f072c09845e95d441d649910f73f2", "score": "0.5367736", "text": "@Test\n\tpublic void addNodeAfterGiveNode() {\n\t\tSystem.out.println(\"Given a node as prev_node, insert a new node after the given node \");\n\t\tdll.push(4);\n\t\tdll.push(2);\n\t\tdll.push(1);\n\t\tdll.InsertAfter(dll.head.next, 3);\n\t\tdll.print();\n\t}", "title": "" }, { "docid": "ad96ad4f4280c1e8ea0447155b818981", "score": "0.5365684", "text": "public void insertAtBegin(int data){\n Node newNode = new Node(data);\n if (head == null){\n head = newNode;\n }else {\n Node node = head;\n head = newNode;\n newNode.next = node;\n node.prev = newNode;\n }\n\n }", "title": "" }, { "docid": "7ab1b2307f6056c895f0e18118f40128", "score": "0.53647417", "text": "public Position<E> insertLeft(Position<E> v, E e) throws InvalidPositionException;", "title": "" }, { "docid": "8e218f13d3bce50156e4441454bb0be3", "score": "0.5360562", "text": "public void insertAt(String insertData, int index) {\n\t\t// write you code for insertAt using the specification above\n\t\tif(index==0){\n\t\t\tadd(insertData);\n\t\t\treturn;\n\t\t}\n\t\tif(index<=size()){\n\t\t\tNode nodref = head;\n\t\t\tfor (int count = 0; count<index-1; count++){\n\t\t\t\tnodref=nodref.next;\n\t\t\t}\n\t\t\tNode adder = new Node(insertData);\n\t\t\tadder.next = nodref.next;\n\t\t\tnodref.next = adder; \n\t\t\tnumElements++;\n\t\t\treturn;\n\t\t}\n\t}", "title": "" }, { "docid": "69fd6a7ec4c40bb4d3bd925abdbc451f", "score": "0.53575784", "text": "private void setNode(int index, Node n) {\n \t\twhile (index + 1 >= contents.size()) {\n \t\t\tcontents.add(null);\n \t\t}\n \t\tcontents.set(index, n);\n \t}", "title": "" }, { "docid": "10d54333bdfb236c2ae854f8f97cc6c3", "score": "0.5356974", "text": "public ListNode insertNth(ListNode head, int index, int value){\n\t\tListNode current = head;\n\t\tListNode target = new ListNode(value);\n\t\t\n\t\tif(head == null){\n\t\t\tthrows new IllegalAugumentException(\"Empty List\");\n\t\t}\n\t\twhile(current != null){\n\t\t\tfor(int count = 0; count < index; count++){\n\t\t\t\tcurrent = current.next;\n\t\t\t}\t\n\t\t}\n\t\tif(current == null){\n\t\t\tthrows new IndexOutOfBoundException();\n\t\t}\n\t\ttarget.next = current.next;\n\t\tcurrent.next = node;\n\t\t\n\t\treturn head;\t\t\t\t\n\t}", "title": "" }, { "docid": "ccc88ab5af239a3ab32992cdcac7385f", "score": "0.53562284", "text": "void hackInsertWidget(Widget w, int beforeIndex) {\n panel.insert(w, beforeIndex);\n }", "title": "" }, { "docid": "abd1b8ecdb53dff1d69c4f5ad782b2ee", "score": "0.5355742", "text": "public void addToFront(T value) {\n\t\tstart = new Node<T>(value, start);\n\t}", "title": "" }, { "docid": "afc7191131d83c6c73d68aa39e6186bf", "score": "0.5346217", "text": "private void preOrderTraversal(int index) {\n if (array[index] == null) {\n return;\n }\n // print the node\n System.out.print(array[index] + \", \");\n //call recursively the method on left child\n preOrderTraversal(2 * index + 1);\n //call recursively the method on right child\n preOrderTraversal(2 * index + 2);\n }", "title": "" }, { "docid": "6b3f6da8678ce471f0af07bb5db299e8", "score": "0.53452677", "text": "private void addNode(int index, Node<AnyType> t) throws IndexOutOfBoundsException {\n \n /**\n * -------------------------------------------\n * TODO: You fully implement this method\n * \n */\n \n \n if ( index == 0 && !isEmpty() ) {\n \n t.setNextNode( headNode );\n headNode.setPreviousNode( t );\n headNode = t;\n size++;\n \n } else if ( index == 0 && isEmpty() ) { \n \n t.setNextNode( headNode );\n headNode = t;\n size++;\n \n } else if ( index == size ) {\n \n addNode( t );\n \n } else {\n \n Node<AnyType> node = getNode( index );\n \n node.getPreviousNode().setNextNode( t );\n t.setPreviousNode( node.getPreviousNode() );\n node.setPreviousNode( t );\n t.setNextNode( node );\n \n size++;\n \n }\n \n }", "title": "" }, { "docid": "fb7ca5c587da966ba46fdb095c3c4a0e", "score": "0.53320557", "text": "public void addFrontNode(T a) {\r\n head = new ListNode(a, head);\r\n }", "title": "" }, { "docid": "1ce52de24d75d6c5e692f27a7477a649", "score": "0.53311443", "text": "public void insert(int time, int req_index) {\n\t\troot = insert(root, time, req_index);\n\t}", "title": "" }, { "docid": "e69d5b4d38542b5fdf4ca05ce9dcbb01", "score": "0.53272253", "text": "void insert(T value, int position);", "title": "" }, { "docid": "1e75ad173b38b7731a453fd805eb38ee", "score": "0.53259826", "text": "public void insert(Node given){\n\t\tlength++;\n\t\tString retVar = \"\";\n\t\tNode curNode = root;\n\t\twhile (!curNode.isLeaf()){\n\t\t\tif (curNode.getData() > given.getData()){\n\t\t\t\tcurNode = curNode.getLeft();\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcurNode = curNode.getRight();\n\t\t\t}\n\t\t}\n\t\tif (curNode.getData() > given.getData()){ \n\t\t\tcurNode.setLeft(given);\n\t\t}\n\t\telse{\n\t\t\tcurNode.setRight(given);\n\t\t}\n\t\tmyLazySearchFunction = curNode;\n\t}", "title": "" }, { "docid": "c648e49771523e7613ef030580c07c59", "score": "0.5325006", "text": "@Override\n public void add(int index, T element){\n if(index < 0 || index > size()){\n throw new NullPointerException();\n }else if(isEmpty() || index == size()){\n add(element);\n } else if(index == 0){\n prepend(element);\n } else{\n DLLNode<T> newNode = new DLLNode<T>(element);\n DLLNode<T> rightNode = getCurrentNode(index);\n DLLNode<T> leftNode = rightNode.previous;\n leftNode.successor = newNode;\n newNode.previous = leftNode;\n newNode.successor = rightNode;\n rightNode.previous = newNode;\n }\n }", "title": "" }, { "docid": "30428b9f2a485a8904188e84f2531800", "score": "0.53220016", "text": "private KdTreeNode insert(Point point, KdTreeNode current, int idx) {\n if (current == null) {\n return new KdTreeNode(new Point(point.getX(), point.getY()));\n }\n\n // change 0 to 1 and vice versa, also can do i = 1 - i;\n if (KdTree.comparePoints(current.point, point, idx) > 0) {\n idx ^= 1;\n current.left = this.insert(point, current.left, idx);\n } else if (KdTree.comparePoints(current.point, point, idx) < 0) {\n idx ^= 1;\n current.right = this.insert(point, current.right, idx);\n }\n return current;\n }", "title": "" }, { "docid": "ff15669e5a2f98b799a411d8b7bbe0d9", "score": "0.53206253", "text": "public void insertNode(Item it) {\n this.currentPosition = new Node(this.currentPosition, it, this.currentPosition.next);\n }", "title": "" }, { "docid": "23b782e9a428fe67ec7679adbca60814", "score": "0.5312979", "text": "void insert(int index, T value) throws ListException;", "title": "" }, { "docid": "44dd75b174b1079191219a0c6b8d558d", "score": "0.53072435", "text": "private void prepend(T t) {\n Node<T> n = new Node<T>();\n n.data = t;\n n.next = head;\n head = n;\n }", "title": "" }, { "docid": "0a58f1294926b4fa03b77dacea82a226", "score": "0.5305311", "text": "public void insertAtStart(int data) {\n Node node = new Node();\n node.data =data;\n node.next=null;\n node.next=head;\n head=node;\n }", "title": "" }, { "docid": "7948ec4595b394417cd58a2a42435744", "score": "0.528212", "text": "public void preOrder(BinarySearchTreeNode<T> node)\r\n {\r\n if(node==null)\r\n {\r\n return;\r\n }\r\n System.out.println(node.getElement());\r\n preOrder(node.getLeft());\r\n preOrder(node.getRight());\r\n }", "title": "" }, { "docid": "ce23592be52244d81fe4300661037db0", "score": "0.52632976", "text": "public void insert(SplayNode n) {\n\t\t\t SplayNode y = null;\n\t\t\t SplayNode temp = this.root;\n\t\t while(temp != null) {\n\t\t y = temp;\n\t\t if(n.data < temp.data)\n\t\t temp = temp.left;\n\t\t else\n\t\t temp = temp.right;\n\t\t }\n\t\t n.parent = y;\n\n\t\t if(y == null) //newly added node is root\n\t\t this.root = n;\n\t\t else if(n.data < y.data)\n\t\t y.left = n;\n\t\t else\n\t\t y.right = n;\n\n\t\t this.splay(n);\n\t\t }", "title": "" } ]